Jump to content

Home

lag on dedicated server!!!


Ripper45

Recommended Posts

I have my server setup on my win xp machine 1.6 gig pent 4, 768 ddr ram....I jion from my other machine threw my lan...when I jion it gets real laggy for everyone else!!!! How do I fix this??? I have the nexland soho router.....10/100 belkin nic set to 100 full duplex...any ideas I am a newbie so bear with me...thanks

Link to comment
Share on other sites

my upload is 384k max...what do you mean sv_maxrate set to?

you mean maximum client rate??? if so i don't set it I leave it at default??? if so can I set it in game instead of console commands what is the range to set it to??? and where do I set it??

Link to comment
Share on other sites

Ideally, you would have a server.cfg file which is executed by the dedicated server upon startup with all your settings in it. One of those settings would look like so:

 

seta sv_maxrate "8000"

 

The default maxrate is 25000, which is quite high and not necessary. A setting of 8000-10000 is very reasonable and you can generally even set it a bit lower and get away with it. I use 7000 personally on an 16 player server and never get complaints. The reason this may be contributing to your problem is because at 25000, just a few clients can suck up all your bandwidth and lag your server.

 

If you do not have access to the box the server is on and need to make all your settings via rcon, that's going to be a problem. The reason for that is because as soon as the server restarts, it'll probably go back to using the default settings. As long as there is no config file being executed, you can get away with the following rcon command:

 

/rcon yourrconpass seta sv_maxrate "8000"

 

That would archive the setting into the jk2mpconfig.cfg which is automatically executed by the server at startup. Just replace the yourrconpass with yours and you might change the 8000 to what you want. I recommend 8000-10000 as long as your server is set for 10 players or less. Lower it a bit if you want to fit a few more. You may still lag the connected players when you join the server from a LAN connection. That seems to be a recurring problem.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...