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

[Bug] Setting RoundSettings OnTick bugs out TimeLeft #77

Open
fuzzbuck opened this issue Aug 28, 2023 · 0 comments
Open

[Bug] Setting RoundSettings OnTick bugs out TimeLeft #77

fuzzbuck opened this issue Aug 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@fuzzbuck
Copy link

Describe the bug
Changing various RoundSettings during OnTick (e. TeamATickets) results in desync of TimeLeft on the gameserver & on the API.

What exactly happens;

  • Gameserver sends RoundSettings packet to API, receives it like so; { timeleft = 23, tickets = 80 }
  • Changing the Tickets & Sending back the packet through the API like so; { timeleft = 23, tickets = 79 }
  • However, by the time the GameServer receives the updated RoundSettings packet, the TimeLeft on the GameServer is already different than on the API, Resulting in bugged out behaviour (time goes down very slowly, or not at all)

To Reproduce
Steps to reproduce the behavior:

  1. Perform the steps explained above.

Expected behavior
Time left not bugging out when unchanged.

Solution
Implement different packets for TimeLeft & RoundSettings

@fuzzbuck fuzzbuck added the bug Something isn't working label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant