• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


29 Nov, 2024

Updated at 02 Dec, 2024

Player stats are reporting incorrectly, no idea why

Hi there,

I’ve got a bit of an issue with my player stat reporting. All seems good on the surface and the code works, but often it will return and save data which isn’t even mathematically possible. I have no idea what is causing this, the code looks totally fine (InitPlayer).

image
image

I reviewed the code and I do not see anything remotely wrong with it.

The code is not on GitHub but you can see it in the package here:

My only other idea is OnBuild is getting called more than once but that should not be possible, as least not from the same game server.

Also it seems like sometimes the publish thread dies, also don’t know why that happens so if anybody has an answer that would be nice but this topic is focusing on the weird player logic :melting_face:

Thank you to anybody who is able to look at the code.

1 post - 1 participant

Read full topic