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

Cvar migration: server #1626

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

slipher
Copy link
Member

@slipher slipher commented Mar 28, 2025

Migrate all server cvars (sv_), other than sv_killserver. (That one I want to NUKE later.)

slipher added 9 commits March 27, 2025 19:42
The sv_maxclients migration commit got rid of that exception.
This was an extremely primitive mechanism which, if enabled,
limited clients to one command per 800 milliseconds (hardcoded value).
Get rid of it it so that no one will confuse it with the actually
usable flood limiting in the sgame.
No functional change except for 2 numbers that shouldn't ever be used:
bot initial rate (only until userinfo is parsed), and default rate for
client with missing "rate" in userinfo.
Also make negative rate limit behave the same as 0 (i.e. unlimited)
Log cvar is logs.level.server.bandwidth
We need to be careful with this one: I changed the type to bool, but the
string representation must still be "0"/"1" for gamelogic compat.
@slipher slipher force-pushed the cvarmigrate-server branch from 816e6a6 to d59478f Compare March 29, 2025 01:15
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.

1 participant