Conversation
In matches with many players the server would run out of indexes for snapshot entities. This is internal to the server for delta updates. Adjust values so they don't go negative and delta updates still work. Based on change in Quake3e by Eugene C. in July 2016; Fix: no more "Restarting server due to numSnapshotEntities wrapping" ec-/Quake3e@ef47444 this might also fix issue #370
- fix SVF_NOSERVERINFO may be ignored on map start - do not send any delta updates for zombies / final packets - initialized playerState for each non-zombie frame - send packet entities changes only at >= CS_PRIMED from q3e b8cb8bc7aba53a7685f05cacee1a8dbf438c2a4f
Shortly, this is a HUGE memory usage reduction so hunk usage dependency from sv_maxclients (first number) now looks like: 4 - 7134KB -> 7390KB 6 - 10700KB -> 7757KB 8 - 14267KB -> 8124KB 16 - 28.5MB -> 9.5MB 32 - 57.0MB -> 12.5MB 64 - 114MB -> 18.3MB Some CPU usage increase was initially expected but actual reduction now observed :P ea6410918fcf4c41509c8405553080ce439625a1 from q3e
229a054fcd6cd87300713ca18e161380bbaf097e from q3e
229a054fcd6cd87300713ca18e161380bbaf097e from q3e
229a054fcd6cd87300713ca18e161380bbaf097e from q3e
thanks to Tobias Kühnhammer also see ioquake/ioq3#700
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.