SRCDS Steam group


low ping for lan high ping for internet
#1
I want to thank everyone in advance for thier help!

I am using a AMD x2 4200 at 2.7GHZ with 2g of ram as my server in my home.
Heres the situation.

When I host a 14 slot cs:source game I have several people from my lan and internet playing on the server. The players from my lan have a very low ping (5 to 35) while the internet players have a high ping (95 to 250). The server tickrate is set at 66 and never utilizes more than 50% of the cpu. I also run wmp in the back round and I am getting around 500 fps on my server.

I not sure why this is happening?! I would like everyone to have a low ping! Help!

I know I have plenty of bandwidth for the server. Here is a copy of my cfg file.


// *********** SERVER & PASSWORD INFO ***************
// Change it to 1 if you want a LAN only Server
sv_lan 0
// contact & geo 0=US East coast, 1=US West coast, 2= South America, 3=Europe, 4=Asia, 5=Australia, 6=Middle East, 7=Africa and 255=world.
// Change the number to the region you live in!!!
sv_region 0
// Give your server a name here
hostname "Somewhere In Africa"
// Rcon password is used to give your server orders by using console, so think of a good password
rcon_password "hos"
// If you want your server to be private, fill in a password and delete the // in front of sv_password
// sv_password "Putyourprivatepasswordhere"


// *********** GAME SETTINGS, YOU CAN CHANGE THESE THE WAY YOU LIKE IT ***************
// Sets the amount of minutes players are able to buy
mp_buytime 1
// Sets the amount of starting money, max=16000
mp_startmoney 16000
// Sets the amount of secs before C4 explodes
mp_c4timer 45
// 1 enables flashlight, 0 disables it
mp_flashlight 1
// 1 enables hearing footsteps, 0 disables it
mp_footsteps 1
// 1 enables falling damage, 0 disables it
mp_falldamage 1
// Sets the number of hostages a player can kill before they are booted from the server. 0 is disabled
mp_hostagepenalty 0

// TIME, WIN & ROUND SETTINGS
// Timelimit is how many minutes for a map.
mp_timelimit 60
// When a team reaches this amount of wins (before the timelimit or the roundlimit is
// reached), it has won the map. 0=disabled
mp_winlimit 0
// When two teams finish playing this amount of rounds (before the timelimit or the
// winlimit is reached) the map ends. 0=disabled
mp_maxrounds 0
// Round time, in minutes. After this amount of minutes has passed,
// a scenario win is awarded. Min 1, Max 9
mp_roundtime 5
// Sets the seconds before players can move in the beginning of a round
mp_freezetime 5

// TEAMBALANCING
// Toggles the forcing of clients to join teams to make it balanced. 1=on and 0=off
mp_autoteambalance 1
// Sets the maximum number of players that one team can have more than the
// other team. Use a setting of '0' to completely disable the team limiting.
mp_limitteams 1

// FF & TEAMKILL & IDLE
// Toggles friendly fire 1=on and 0=off
mp_friendlyfire 1
// Toggles the forcing of a player to sit out the next round if he
// has just killed a teammate. 1=on and 0=off
mp_tkpunish 1
// Kick idle/team-killing players. 1=on and 0=off
mp_autokick 1
// Kick players who team-kill within this many seconds of a round restart.
mp_spawnprotectiontime 0
// After this many seconds without a message from a client, the client is dropped
sv_timeout 300

// SPECTATORS
// Restricts spectator modes for dead players. 1=on and 0=off
mp_forcecamera 0
// toggles whether the server allows spectator mode or not. 1=on and 0=off
mp_allowspectators 1
// fade a player's screen to black when he dies. 1=on and 0=off
mp_fadetoblack 0


// ************ IF YOU HAVE LAG ISSUES YOU CAN CHANGE THESE SETTINGS, IF YOU KNOW WHAT YOU ARE DOING *****************
// SET RATES
// Max bandwidth rate allowed on server, 0=unlimited, max=20000
sv_maxrate 20000
// sv_maxrate 1500
// Min bandwidth rate allowed on server, default 1000 0=unlimited, 4000=good to keep dialup gamers off the server
// sv_minrate 1500
sv_minrate 0
// Maximum updates per second that the server will allow, default 30 increasing this will take more cpu power, 100 is max
sv_maxupdaterate 100
// sv_maxupdatrate 8
// Frame rate limiter, higher then 100 not needed, unless shots are not registered well
fps_max 600
// DOWNLOAD
// Allow clients to download files
sv_allowdownload 1
// Allow clients to upload customizations files
sv_allowupload 1

// *********** IF YOU KNOW WHAT YOU ARE DOING YOU CAN CHANGE THESE SETTINGS AS WELL *************
// SERVER LOGGING
// log 1
// mp_logfile 1
// mp_logecho 0
// Specifies a logging level 0 to 15. Using 15 is max logging
// log_level 0

// VOICE disabled, if you want VOICE enabled then change 0 into 1
sv_voiceenable 1

// CHEATS & autoaim off
sv_cheats 0
// disable clients' ability to pause the server
sv_pausable 0

// OTHER SETTINGS
// amount of seconds players can chat after the game is over
rcon mp_chattime 10
// if not 0 then game will restart in the specified number of seconds

sv_downloadurl ""
cl_cmdrate 30
cl_updaterate 30
sv_gravity 800
Reply
#2
What are the specs of your connection and can you please post your startupline.

also:
sv_minrate should be somewhere like 2000-10000, don't use 0
you should add // before sv_downloadurl
cl_cmdrate and cl_updaterate should be deleted since these are client vars and therefor have nothing to do with the server.
rcon mp_chattime should just be mp_chattime, remove rcon from it.

Note: you will never get pings as low as on LAN, LAN should be around 10 ping and WAN should be from 20-80 depending on the location clients connect from and if they are downloading/uploading stuff
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#3
Thanks for the help!

C:\srcds\srcds.exe -console -game cstrike +map glass_war +maxplayers 14 -tickrate 66

My connection is a cable connection with comcast cable.

Download speed is 4486 kbps and upload speed is 368 kbps.

I know players on my lan will always have lower ping but most internet players have ping around 100. I am going to go ahead and try your suggestions. Any more suggestions would be appriciated.
Reply
#4
Ah I see the problem here, your internet connection is not fast enough. 368kbps will host approx 6 players on 33 tick.

thats the max..

settings for this are somewhere like this:
-tickrate 33

sv_minrate 2000
sv_maxrate 7000
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#5
Oh I see.. I can believe my upload speed isnt that fast. I thought servers with a tickrate of 33 are not as playable as servers with a tickrate of 66 or 100? So switching to a tickrate of 33 will require less brandwidth?
I will try these new settings and see how they work.
Reply
#6
yes 33 tick will require ALOT less bandwidth. tickrate stands for the amount of updates per second the server sends to its clients, the more updates, the more bandwidth.

You will notice the difference between different tickrates, higher tickrate usually runs smoother, but if your connection cant handle, it starts to lag.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#7
Let me ask you this. Can I set the tickrate between 66 and 33? I would like my server to have good or smooth gameplay. I am paying $60 + for my internet connection. I still can't believe I don't have enough upload bandwidth for my server! Is there any other settings that I can change to decrease my lag? Thanks for your help.
Reply
#8
Not really, you have 386kbit/sec which is only 48.25KByte/sec I think each player will use about 5-10KByte/sec if not more.

You pay $60 for 4.4mbit/386kbit? Damn, comcast is ripping you off seriously, as mentioned in another thread for $55/mo I get 15mbit/2mbit from Cox communications.
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#9
Yeah I know. I live in the boonies and don't have much of a choice. It's either comcast or dialup. I did set the tick rate to 33 and sv rates metioned in this post.

The server runs much better.

Thanks for the help! Anymore suggestions would be appriciated.
Reply
#10
The rates are just examples, they are pretty accurate but depending on your connection you can set them a bit higher or lower.

What you ahve to do is fine tune them a bit. Try to set them a bit higher untill it starts to lag, then put them just a little down. Do this untill you get the best preformance. Smile
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#11
Also, If you haven't done this. Make sure that your server is atleast at a "Above Normal" priority assigned by the kernal. Otherwise, you may have people experiencing lag.
Reply
#12
cryotek Wrote:Not really, you have 386kbit/sec which is only 48.25KByte/sec I think each player will use about 5-10KByte/sec if not more.

You pay $60 for 4.4mbit/386kbit? Damn, comcast is ripping you off seriously, as mentioned in another thread for $55/mo I get 15mbit/2mbit from Cox communications.

sheesh.. i want that internet Big Grin too bad cox communications doesn't even list Illinois on there list at all. Sad
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)