Shared Memory API

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

  1. mr_belowski

    mr_belowski Well-Known Member Beta tester

    Joined:
    Apr 23, 2015
    Ratings:
    +1,307 / 0 / -0
    It's a few weeks since I looked at it but I was pretty sure that suspension wasn't in there any more because of the newly inserted fix-body.

    It's a tricky problem - the array can't get any bigger without it being a breaking change (the elements that come later in the shared memory block will have different offsets). Removing the 'pit menu top' element will probably break some apps
     
  2. Vantskruv

    Vantskruv Member

    Joined:
    Oct 9, 2017
    Ratings:
    +23 / 0 / -0
    I am not sure though when MENU_TOP item is used ... but it is index is currently for FIX_SUSPENSION which is still exists and used in the pit-menu (hence we have have 4 fix-items now instead of 3).

    I am not sure how it worked earlier, as I recently started to develop my plugin, I will login on my computer to doublecheck, but it works for now though.
     
  3. SerVik

    SerVik New Member

    Joined:
    May 16, 2017
    Ratings:
    +2 / 0 / -0
    Bug report:
    usually userId field for AI drivers has -1 value, but after joining a multiplayer session, some AI drivers in single player have other values for userId, the kind human drivers have.
     
  4. Berno

    Berno Well-Known Member

    Joined:
    Jun 5, 2015
    Ratings:
    +103 / 0 / -0
    Bug:
    Fuel is always 0 for electric cars now. (r3e_float32 fuel_left)

    Was working previously.
     
  5. Muzarati

    Muzarati Member

    Joined:
    Jan 27, 2018
    Ratings:
    +20 / 0 / -0
    Air & track temps not shared, would be good if this was added?
     
    • Agree Agree x 1
  6. SerVik

    SerVik New Member

    Joined:
    May 16, 2017
    Ratings:
    +2 / 0 / -0
    Do developers pay attention to this thread at all? The bug with user IDs i reported 1.5 years ago is still there. It's a shame...

    Is there any point to ask for new data in Shared Memory API if such old bugs don't get attention?
     
  7. TheBigO

    TheBigO Well-Known Member

    Joined:
    Mar 29, 2021
    Ratings:
    +99 / 0 / -0
    Similar, I want to draw attention to the topic, that the pitMenuState in the API published on GitHub is outdated. Unfortunately, it brakes all apps, which try to control pit settings. I opened an issue on GitHub, but it is unheared...
     
  8. Maskerader

    Maskerader Well-Known Member

    Joined:
    Oct 6, 2019
    Ratings:
    +355 / 0 / -0
    Try to bring this up on Discord too. Or tag someone from the team, maybe @Andi Goodwin has a tip on what to do?
     
  9. TheBigO

    TheBigO Well-Known Member

    Joined:
    Mar 29, 2021
    Ratings:
    +99 / 0 / -0
    Thx, for the heads up. And you know what I am doing, so it is very important to have this information. Maybe a developer jumps in here...