Skip to content

fix: client crash when overloaded#122

Merged
azeloup merged 3 commits intodevfrom
121-client-crash-packets-overload
Dec 15, 2025
Merged

fix: client crash when overloaded#122
azeloup merged 3 commits intodevfrom
121-client-crash-packets-overload

Conversation

@BjrTom
Copy link
Copy Markdown
Collaborator

@BjrTom BjrTom commented Dec 13, 2025

Entity can now have a tick's cooldown before sending there updates, avoiding client overload with data update that could be delayed

CLOSES #121

Entity can now have a tick's cooldown before sending there updates, avoiding client overload with data update that could be delayed
@BjrTom BjrTom requested review from Vierre3 and azeloup December 13, 2025 17:19
@BjrTom BjrTom linked an issue Dec 13, 2025 that may be closed by this pull request
@github-project-automation github-project-automation Bot moved this to Todo in R-type Dec 13, 2025
@Vierre3 Vierre3 removed this from R-type Dec 13, 2025
Copy link
Copy Markdown
Owner

@Vierre3 Vierre3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Remove unused getSize method from ECS registery
  • Refactor main loop because tick rate was already handled in window.need_refresh call

@Vierre3 Vierre3 added this to R-type Dec 15, 2025
@github-project-automation github-project-automation Bot moved this to Todo in R-type Dec 15, 2025
@Vierre3 Vierre3 removed this from R-type Dec 15, 2025
azeyu and others added 2 commits December 15, 2025 18:40
- when there was a kill packet sent by the server got
lost, the client crashed when a new entity packet was send at the
position of the dead entity. The override freeing a std::queue caused
the crash
@azeloup azeloup merged commit f43e4fc into dev Dec 15, 2025
@azeloup azeloup deleted the 121-client-crash-packets-overload branch December 15, 2025 17:54
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

Successfully merging this pull request may close these issues.

Client crash packets overload

4 participants