ioquake3 Server Performance


#1

Hi,

I’m trying to make “sv_lanforceRate” work for NOT only LAN players.
This would be really nice forcing this cvar work for Internet players too.
I hope it’s possible. Need help.
Thanks!

sv_client.c

in the SV_UserinfoChanged

if ( Sys_IsLANAddress( cl->netchan.remoteAddress ) && com_dedicated->integer != 2 && sv_lanForceRate->integer == 1) {
	cl->rate = 99999;	// lans should not rate limit