Forum Discussion

v0lta1c's avatar
1 year ago

[F1 2018]A technical question regarding the UDP packet structure

Hello,

I'm making a telemetry parser for myself for F1 2018. What i'm trying to do is record data (such as laptimes to calculate final race time) throughout the race and then do the final calculations when I receive the "Session End" in the Event Data Packet.

But there is one problem here, the session seems to end immediately when the client crosses the finish line. So, if im playing with bots then the bots that end up behind me wont have their final lap calculated at all in my parser and the final data will be inaccurate. This problem also exists in multiplayer, I was testing the script with some of my friends and the data is only calculated upto when the client's session ends regardless of whether the race actually finished. This results in incorrect race time results for other players that finish behind me or whoever is running the telemetry client.

Is there a way to get the final lap's data for ALL drivers in the race even after the client running the telemetry finishes their race?

Thanks

No RepliesBe the first to reply

Featured Places