PDA

View Full Version : Brutaly lagg!


Hunter
12-27-2004, 07:03 AM
HI. Did just get up my server. But it is laggy as hell(with 1on1). Then I did look around in the forum and I found this post:

http://forums.steampowered.com/forums/showthread.php?s=&threadid=98416

I followed it and did get my values like this:

sv_maxrate 9143
sv_minrate 0
sv_maxupdaterate 18

and my question is. Why dose it lagg? Is it all depending on the maxrate, minrate and maxupdaterate values? Or can it be anything ellse? (I have 1000 in upload)

btw: I am having the server at the same computer I am playing on. Is this wrong?
system: Pentium 4
2.2Ghz
1GB RAM

Black ZR-1
12-27-2004, 10:11 AM
What connection are you using to host your server? If you're using your cable/dsl connection, you are limited to no more than 4 - 5 players with some lag. Anything more than that you will encounter extreme lag. If you want anything over 10 players without lag, you'll need at least 512k upload.

Hunter
12-27-2004, 11:10 AM
I´m having 1000 in upload as I told= 1M upload. And lagging extreamly with only 1 player in game. Thats why I think its some setting for the server. Anyone know what could be wrong?

Lady Racquel
12-27-2004, 11:19 AM
Could be that because you're playing it on the same PC the server is running, that your processor is overloaded. Run your server, connect to it and open your task manager to see the cpu usage. If it's more then 80%, then you have your answer to your question.

Hunter
12-27-2004, 11:58 AM
good idea, looking it over right away

Hunter
12-27-2004, 12:49 PM
Its between 4-22% when I have both server and css running. I blaming setting in server.cfg. Anyone who can help plz?..

When I join the server the ping is low(around 30). But still it´s some kind of superlagg. After 2 min alone in the server the ping rises to around 300(and same kind of lagg). Anyone who mayby know this problem. A friend to me also tried to put up a server on his computer and he did get exactly the same problem.

Note: this is no normal lagg, for example when I am shooting 6 shoots with the pistol I can se on screen I have shoot the 6 shoots. But after some second it shows up I only have shoot 3 times. I know it sounds strange but do anyone know this problem and the soulution? I would be really greatfull!

Black ZR-1
12-27-2004, 01:26 PM
There should be no reason why you're pinging at 30. You should be pinging at 0 zero to no more than 5 since you are the server.

Also, like any os, you should stop background services that arent needed.

Hunter
12-27-2004, 01:29 PM
All background services are stoped.....

ziggo0
12-27-2004, 03:08 PM
Maybe its the 2.2ghz slowing you down...i mean if you ran a stand alone server for just that - 2.2ghz would be perfect, but since your playing from the same machine it might lag..alot in fact because your taking a ton of cpu time away from the dedicated server for your full screen application, i.e. source. Now something that everyone should do for srcds.exe is run it in realtime. You can try running it in realtime thread priority by hitting alt - ctrl - del, finding the process, right clicking on it, and changing the priority. I just do it in the startup of the server if that helps any.

start /realtime /wait /realtime srcds.exe -console -game hl2mp -port 27015 +maxplayers 6 +map dm_lockdown

Hunter
12-27-2004, 04:02 PM
DDDDAAAAMMMM! ! Worked perfectly when I changed the priority. Thx a lot man ! ! ! ! ! !

ziggo0
12-27-2004, 04:18 PM
Your welcome :)

kennycom
12-28-2004, 12:32 AM
Anther thing that you want to do is set the fps_max at 100 for both the server and the client,, that will unload the cpu a bit as well...

momocs
01-04-2005, 02:05 AM
Cool i have a P4 2.8ghz and a 300k connection, would that be suitable to run a server?