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
@RnageyRover as the creator of the AutoDirector that uses UDP protocol is this something you have knowledge of?
I found some errors in it, the 2.5 being the best of the docs. Edit: Documented below. My code for parsing UDP is at GitHub - RangeyRover/Automobilista-2-Auto-Director: An auto director for AMS2 in python using UDP or Shared memory
I thought I ought to document what I found. Linked is my amended version of the SMS_UDP_Definitions for AMS2 and the diff of what I found is also attached. Automobilista-2-Auto-Director/SMS_UDP_Definitions_AMS2_RR.hpp at main · RangeyRover/Automobilista-2-Auto-Director