SMS_UDP_Definitions Latest?

Discussion in 'Automobilista 2 - Help & Support' started by lozarcher, Aug 27, 2024.

  1. lozarcher

    lozarcher New Member

    Joined:
    Mar 5, 2022
    Messages:
    23
    Likes Received:
    6
    Howdy, I've been building some cool little tools lately using SharedMemory via Crest: GitHub - viper4gh/CREST2-AMS2: Automobilista 2 REST API - provides Shared Memory data via JSON over HTTP

    I'd like to get my work usable for the director/broadcaster modes in the game but those modes don't provide sharedmemory data. Apparently they do provide data via the UDP protocol so that's what I've been doing, building a parser. All well and good and I'm getting data out of it just fine apart from the sParticipantStatsInfo struct.
    I believe the problem I have is that the SMS_UDP_Definitions.hpp file I'm using is clearly out of date and/or broken.

    SMS_UDP_Definitions_v2_Patch5: SMS_UDP_Definitions.hpp from SMS_UDP_Definitions_v2_Patch5 - Pastebin.com
    e.g. Line 292 should have the sPacketSize variable defined as 1040 not 1024.

    Is the v2_Patch5 above actually the unedited latest? If not, has anyone (Reiza) got the latest they can provide?

    I have looked around the internet/forum/github for an answer to this already but everything keeps pointing back to old pcars2 packages from 6 years ago.

    Many thanks in advance :)
     
    • Like Like x 1
  2. Nobkins

    Nobkins Well-Known Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    343
    Likes Received:
    298
    @RnageyRover as the creator of the AutoDirector that uses UDP protocol is this something you have knowledge of?
     
  3. RnageyRover

    RnageyRover Member AMS2 Club Member

    Joined:
    Aug 8, 2022
    Messages:
    60
    Likes Received:
    68
    Last edited: Sep 1, 2024
    • Like Like x 1
  4. RnageyRover

    RnageyRover Member AMS2 Club Member

    Joined:
    Aug 8, 2022
    Messages:
    60
    Likes Received:
    68

    Attached Files:

    • Like Like x 2
  5. Nobkins

    Nobkins Well-Known Member AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    343
    Likes Received:
    298
  6. lozarcher

    lozarcher New Member

    Joined:
    Mar 5, 2022
    Messages:
    23
    Likes Received:
    6
    Brill. Thanks very much Rover.
     

Share This Page