Jump to content

Mungoid

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 New Car Smell
  1. Mungoid

    F1 2020 UDP Specification

    My array is zero based, so it is 5th index, but is still the sixth byte. Not sure what you mean about the 04 and 02 part? I'm using PC so idk if that is different? If you see my previous screenshot: the first two bytes [0](228) and [1](7) are associated with the Packet Format (2020), the next byte [2] is Game Major Version (1), the next one [3] is Game Minor Version (3), next is byte [4] is Packet Version (1) and byte [5] should be the PacketID Finally the last byte in my samples should be part of the SessionUID which only changes when i start a new session. As far as i have seen, the first 5 bytes never change, and the 7th byte only changes on a new session. So that means the sixth byte has to be the PacketID, right?
  2. Mungoid

    F1 2020 UDP Specification

    Sorry if i overlooked this or it was already covered, or im just being dumb and missed something, but im a bit confused with the header data. Particularly the PacketID. According to the docs for 2020 UDP, the PacketID should be the sixth byte, right? m_packetFormat is first two, major is third, minor is fourth, version is fifth, and packet id is sixth. My problem is that if i go off of that packetID value, it is almost always a 7 (CarStatus) and occationally i get a random other one. But if i compare the size of the packet, i get a more correct result. Looking through this thread it doesnt seem like anyone else has this problem. So what am i doing wrong?
×