Jump to content

Home

Server able to change client cvars?


eyen

Recommended Posts

not without modding the client as well then setting servers to pure 1. but if you do want to do that, you could look at the code in cg_servercmds.c function CG_ParseServerInfo() which is how the server transmits global cvars to the client. alternatively you could add checks every frame in drawactiveframe or even using the CG_INCOMING_CONSOLE_COMMAND in vmMain in cgame to override client commands so you could bounds-check stuff like fps. every frame is probably a bit safer of course.

Link to comment
Share on other sites

There isn't without modding the client. Unless the cvar is already marked as CVAR_USERINFO which that one in particular is not, you cannot even modify the setting from the server. If it was the actual setting would be at what you want it even though when they go to check it in the console wont look any different. Rate and Snaps for example, can be changed.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...