Skip to content

Conversation

@anzz1
Copy link

@anzz1 anzz1 commented Sep 10, 2025

Revise the logic so the operation makes more sense and fixes ancient bugs

  • Remove the error-prone back-and-forth changing of the "mp_chattime" cvar, instead just deduct one second from it for the change task (with bounds checking, if mp_chattime is less than one including something stupid like a negative value, the map change will be immediate)

  • Add a list of mods known to not have a "mp_chattime" cvar but use a static time instead (Opposing Force, Ricochet, Gunman Chronicles each use 6 seconds) and set the chattime appropriately. If the mod doesn't have a "mp_chattime" cvar nor is one of the aforementioned mods, change immediately.

Also some QOL

  • Add "/nextmap", "/currentmap", "/ff" client say commands
  • Do not print the command itself to chat when someone uses it

Revise the logic so the operation makes more sense and fixes ancient bugs
- Remove the back-and-forth changing of the "mp_chattime" cvar, instead just
deduct one second from it for the change task (with bounds checking,
if mp_chattime is less than one including something stupid like a negative
value, the map change will be immediate)
- Add a list of mods known to not have a "mp_chattime" cvar but use a static
time instead (Opposing Force, Ricochet, Gunman Chronicles each use 6 seconds)
and set the chattime appropriately

Also some QOL
- Add "/nextmap", "/currentmap", "/ff" client say commands
- Do not print the command itself to chat when someone uses it
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