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,306 / 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:
    +1 / 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:
    +99 / 0 / -0
    Bug:
    Fuel is always 0 for electric cars now. (r3e_float32 fuel_left)

    Was working previously.