Available data for SimHub

Discussion in 'Automobilista 2 - Help & Support' started by Mr. WeaZel, Jul 15, 2024.

  1. Mr. WeaZel

    Mr. WeaZel New Member

    Joined:
    Apr 3, 2024
    Messages:
    10
    Likes Received:
    3
    Hi,
    I've started playing around with SimHub and unfortunately I'm quickly reaching my limits because I'm not sure what data I can access from AMS2.
    Is it the information from the shared memory that was documented here?
    CREST2-AMS2/SharedMemory.h at master · viper4gh/CREST2-AMS2

    If this is the case, then I am missing some data from AMS2. Above all, I am currently interested in the penalties. I want the HUD to show me who and what penalty a player currently has.

    Does anyone have a hint for me?

    Thanks in advance!
     
  2. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    5,607
    Likes Received:
    1,943
    There’s a file in the AMS2 files which shows exactly what is shared using shared memory
     
  3. Mr. WeaZel

    Mr. WeaZel New Member

    Joined:
    Apr 3, 2024
    Messages:
    10
    Likes Received:
    3
    Thanks!

    I'm only aware of these two information (the first link is the file I've mentioned in the first post).
    I think there are only examples in the file which do not contain penalties.

    If you mean a different file, can you tell me which one it is?
     
  4. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    5,607
    Likes Received:
    1,943
    It’s in the same spot roughly and IIRC it’s called sharedmemory.h
     
    • Like Like x 1
  5. Mr. WeaZel

    Mr. WeaZel New Member

    Joined:
    Apr 3, 2024
    Messages:
    10
    Likes Received:
    3
    Thank you very much!

    That's the one being documented in the above link.

    So I guess there is currently no data shared for the penalties, track limit violations and so on... :(
     
  6. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    5,607
    Likes Received:
    1,943
    There is for invalid lap times
     
    • Like Like x 1
  7. Mr. WeaZel

    Mr. WeaZel New Member

    Joined:
    Apr 3, 2024
    Messages:
    10
    Likes Received:
    3
    Oh, indeed! Could be a good indicator for a track limit violation :)
    Thanks again!
     
    • Friendly Friendly x 1

Share This Page