F1 22 UDP Specification

by Hoobiechoobie
Reply

Original Post

Re: F1 22 UDP Specification

★★ Apprentice

LapHistoryData / LapData data package:

uint16 is a little bit too small for m_sector(X)TimeInMS data for slow drivers, when they need more than 65,535 seconds per sector? (e.g. safety car phases)

We have then an overflow value problem.

 

Please spend some more bits for that.

Message 11 of 380 (4,564 Views)

Re: F1 22 UDP Specification

★★★★★ Novice
@CanTQuiT at least lap history packet should have 32bit sector times
Message 12 of 380 (4,520 Views)

Re: F1 22 UDP Specification

★★★ Novice

Hi

 

Would it be possible to obtain the array of available (  new & used)  tyres at the beggining of the session? (agelaps & compound for each tyre)

 

 

Message 13 of 380 (4,418 Views)

Re: F1 22 UDP Specification

★ Guide

After analyzing the document, I have a potential suggestion.

Now, it's nice that we're getting SOME identification for drivers this year, however I feel like some of this is questionable - considering Cross-play should be arriving later, how would you differ between an Xbox driver and, let's say, a PS driver? Both would probably just show names... And not to mention that even PC will be releasing on multiple platforms this year (Steam, Origin, EGS) which brings the question of how would you identify between them.

 

My suggestion - implement a new platform identification field, potentially in "Participants" section, something like this:

uint8    m_platform;    // the platform driver is racing on: 0 - unknown, 1 - PC Origin, 2 - PC Steam, 3 - PC Epic, 4 - Xbox One, 5 - Xbox Series, 6 - PS4, 7 - PS5

// NOTE: if it's possible, maybe also differentiate different types of consoles, if it's worth it?

Hopefully this suggestion would not be difficult to implement and it would be useful. Also, I don't think it should be "Restricted".

Message 14 of 380 (4,365 Views)

Re: F1 22 UDP Specification

★★★★★ Newbie

Will we get an updated doc with Driver and Team ID's in the appendix?

Message 15 of 380 (4,345 Views)

Re: F1 22 UDP Specification

EA Codemasters Team

We'll update the doc with some of the suggested amendments and additional info ahead of release.

Message 16 of 380 (4,317 Views)

Re: F1 22 UDP Specification

★ Apprentice

For whoever prefers a better experience when viewing changes between versions, I've put up the diffs for packets that seemed to have changed on our GitHub https://github.com/hotlaps/f1-game-udp-specs/tree/main/diff_2021-2022

Message 17 of 380 (4,283 Views)

Re: F1 22 UDP Specification

Champion

@CanTQuiT wrote:

LapHistoryData / LapData data package:

uint16 is a little bit too small for m_sector(X)TimeInMS data for slow drivers, when they need more than 65,535 seconds per sector? (e.g. safety car phases)

We have then an overflow value problem.

 

Please spend some more bits for that.


65,535 seconds is over 18 hours?

______________________________________________________________
Want to quote a post but not spotted how to? Click here.

CCP Champion Banner - Red.png

Message 18 of 380 (4,204 Views)

Re: F1 22 UDP Specification

★★ Apprentice

same for Lap Data Packet

uint16 m_sector1TimeInMS; // Sector 1 time in milliseconds
uint16 m_sector2TimeInMS; // Sector 2 time in milliseconds

 

 

Message 19 of 380 (4,192 Views)

Re: F1 22 UDP Specification

[ Edited ]
Champion

@Ultrasonic_77 wrote:
65,535 seconds is over 18 hours?

Assuming your country uses commas to separate large numbers, he meant 65.535 seconds 🙂

 

https://en.wikipedia.org/wiki/Decimal_separator#Usage_worldwide


 

Codemasters Volunteer Moderator / EA Champion

Does not represent the opinions of EA.

 

EA Answers Community League - Season 8

Fridays @ 5PM UTC/GMT - More information

Message 20 of 380 (4,132 Views)

ea-play-promo-splash

What's EA Play?

New name, new look, same great benefits: EA Access and Origin Access are now EA Play.

Get more info on the change here.

ea-help-promo-3

Forget your EA Account ID or password?

Reset, update, or link your account information.

View more on EA Help