eyen Posted January 11, 2007 Share Posted January 11, 2007 Is there any way you can get the server to change client cvars, for example com_maxfps as that's used to lag through laser trip mines? If so would you please tell me what it is. Link to comment Share on other sites More sharing options...
dumbledore Posted January 11, 2007 Share Posted January 11, 2007 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 More sharing options...
eyen Posted January 11, 2007 Author Share Posted January 11, 2007 I'm definitely not wanting to mod the client, I was hoping there was just a server side way to do this. Thanks for your help. Link to comment Share on other sites More sharing options...
ensiform Posted January 11, 2007 Share Posted January 11, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.