Shared Memory API

Discussion in 'Community Workshop' started by Mikael Hermansson, Jun 7, 2015.

  1. Disco1909

    Disco1909 Member

    Joined:
    Oct 30, 2016
    Ratings:
    +6 / 0
    Hi there, hi developer,

    i develop actually an new Overlay for Raceroom Spectator-Mode.
    I want to show the drsLeft integer, but it is always 0, see attachement.

    Can anybody help me? More infos, if you ask for any details :)
     

    Attached Files:

    • Like Like x 1
  2. J-F Chardon

    J-F Chardon Sector3 Producer Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +3,952 / 0
    I believe that's because you're on a spectator client, and drsLeft is probably not passed.

    Maybe this is something we can look into, do you have other wishes while we're at it?
     
  3. m.bohlken

    m.bohlken Well-Known Member

    Joined:
    Jan 29, 2015
    Ratings:
    +968 / 0
    when you are at DRS, maybe Tire-Compound could be an interessting-Value, too...
     
  4. Disco1909

    Disco1909 Member

    Joined:
    Oct 30, 2016
    Ratings:
    +6 / 0
    give me a couple of days please. i will take a look what for data i need.
     
  5. SerVik

    SerVik New Member

    Joined:
    May 16, 2017
    Ratings:
    +0 / 0
    Hello there!

    I'm currently developing a dashboard app, which supports R3E. I'd like to say, that R3E shared memory API is very well designed, contains a lot of data, easy to work with. Yet, in my opinion, adding a few things, would make it really outstanding.

    Here are some of them:

    - synchronization. Very important! Without it there's no guarantie, that data isn't rewritten by next frame while it's being processed. For example, iRacing uses Windows event to signal data is ready. VERY easy to synchronize!
    - ControlType field for opponent cars, Ghost item for Control enum. (speed data for ghost car would be great)
    - flags, signaling that ABS, TC are active.
    - ride heights, suspension movement and velocity
    - some user's car setup data (all of it, ideally): gear ratios, damping ratios
    - field, showing that session data was updated (update number, for example): new drivers appeared, etc.

    Thanks!
     
  6. J-F Chardon

    J-F Chardon Sector3 Producer Developer

    Joined:
    Jan 15, 2015
    Ratings:
    +3,952 / 0
    Hello everyone,


    One of the next patches will include a major update to the shared memory, bringing a lot more information.
    This unfortunately had to come at a price: we'll be breaking backward compatibility.

    In order to ensure a smooth update with minimum downtime for all your apps, if you are an app developer and would like to get early access to beta builds, please get in touch with @Kitsune Magyar in order to become a betatester.

    We're going to share a little preview of what's being added, so if you think of more that we should add, give us a shout.
     
    • Like Like x 4
    • Love it! Love it! x 3
    • Winner Winner x 1
    • Informative Informative x 1
  7. canF1

    canF1 New Member

    Joined:
    Aug 21, 2016
    Ratings:
    +1 / 0
    • Agree Agree x 1