Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player not visible in API data on double connection #264

Closed
Renegade89 opened this issue Dec 21, 2023 · 3 comments
Closed

Player not visible in API data on double connection #264

Renegade89 opened this issue Dec 21, 2023 · 3 comments

Comments

@Renegade89
Copy link

Renegade89 commented Dec 21, 2023

As mentioned in the Discord 29th of november (15:39) by RS

When a player connects with the same Steam ID and same car model the player is not visible anymore in the API data

From server log :

New connection request: id 2092 Cody Gray S76561198050000000 on car model 23
New connection request: id 2119 Cody Gray S76561198050000000 on car model 23

Recognized reconnect: carId 1082, carModel 23, raceNumber #22

No issues when a player switches car model of course

@Renegade89
Copy link
Author

Renegade89 commented Feb 2, 2024

Got this bug again yesterday.

Note the #287 McLaren of K. Cherep**** missing in the API data, but showing up in the ACCRC tool.

It seems like this bug appears when Steam ID and car model don't change in the session. Although player gets a new car ID, 1004 becomes 1005, the player doesn't appear anymore in the API live data. (Rule 1201)

I've checked the raw JSON data output at the moment I witnessed the bug. With #287 in second place at that moment, the array went from player #7 (McQu***) to player #22 (The other Cherepa****)

With car model 30, this player gets a new car ID 1024. Haven't witnessed if this was working alright though, but I assume it did.

Rule 470: New connection request: id 5 Konstantin Cherep**** S7656119947******* on car model 22
Creating new car connection: carId 1004, carModel 32, raceNumber #22

Rule 1201: New connection request: id 8 Konstantin Cherep**** S7656119947******* on car model 22
Recognized reconnect: carId 1005, carModel 22, raceNumber #287

Rule 8421: New connection request: id 28 Konstantin Cherep**** S765611994******* on car model 30
Creating new car connection: carId 1024, carModel 30, raceNumber #288

IMG_20240201_175326
IMG_20240201_175334

Thanks

@pedrofaria
Copy link
Collaborator

this is hard to reproduce... but I guess I found the issue... I made some changes and will be in the next release...

@Renegade89
Copy link
Author

I can confirm this bug is fixed in the #271 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants