SRCDS Steam group


Server wont run at 100tick. Help Needed
#1
Hi guys.

We have recently got a new dedicated server and wanted to run a 16man 100tick server off it. We are using SuSE 10.0.

This is the command line we use to start it

Quote:./srcds_run -console -game cstrike -tickrate 100 +fps_max 600 +maxplayers 16 -autoupdate &

However when the server runs it is only 33 tick.

Some of the other settings are

Quote://Bandwidth Rates
sv_minrate "600"
sv_maxrate "20000"
decalfrequency "10"
sv_maxupdaterate "100"
sv_minupdaterate "60"

Any suggestions what could be wrong ?
Reply
#2
take a look at this. this is how i start my server. First i made a file named server.sh by running the command (on fedora core 2):
vi server.sh

I dont know if your OS has vi but there is probably some equivilant text editor you can use. Google it if you need to figure out what to use Smile

After that you should probably paste this (omit the hyphens):

----------------------------------------------------------------------

#! /bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate -pidfile srcds.pid -tickrate 66 +fps_max 600

----------------------------------------------------------------------

The tricky thing about vi is its really hard to quit if you dont know how.

First press [Escape]

then press [Shift] [;] to make [:]

then type q.

If you do it right, the semicolon should come up when you press it at the bottom left on the console. Then just press wq and enter.

It should look like this before you press enter:

----------------------------------------------------------------------

:wq

----------------------------------------------------------------------


That will save and exit.
THIS FILE MUST BE IN THE SAME DIRECTORY AS THE SRCDS SERVER EXECUTABLE FILE!!

Instead of doing ./scrds and putting all the parameters every time you just save it all to server.sh which executes it for you.

Then you have to run the command:

----------------------------------------------------------------------

chmod +x server.sh

----------------------------------------------------------------------

This will make the file executable. After thats done and the content is pasted in you can run the command (YOU MUST BE IN THE RIGHT DIRECTORY):

----------------------------------------------------------------------

./server.sh

----------------------------------------------------------------------

./ means execute the file.

So ./filename execute "filename". It's pretty self explanitory.

With this i am able to acheive 100 tickrate, although I have decided to keep my server at 66 due to a thread i read that said 100 is only needed for servers with over 18 players.

OK so now you have the correct runtime prompt, ive also been told that the tickrate doesnt even matter if you set the variable correctly in the server.cfg file.

heres mine:

----------------------------------------------------------------------

// server name
hostname "CHANGE ME IN server.cfg" //Your servers name

//Rcon Password

rcon_password "YOURPASSWORD" //Set rcon passsword. Leave blank to disable rcon.


//Server Password

sv_password //Set server password. Leave blank to disable. For example use "password" to set the password to the word password.

//Rcon Advanced
sv_rcon_banpenalty 0 //Number of minutes to ban users who fail rcon authentication. Default: disabled
sv_rcon_maxfailures 10 //Max number of times a user can fail rcon authentication before being banned. Default: 10 tries
sv_rcon_minfailures 5 //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5 tries
sv_rcon_minfailuretime 30 //Number of seconds to track failed rcon authentications. Default: 30 seconds
//Server Cvars
mp_friendlyfire 0 //Turn on/off friendlyfire. Default: Off
mp_footsteps 1 //Turn on/off footsteps. Default: On
mp_autoteambalance 1 //Force clients to auto-join the opposite team if they are not balanced. Default: On
mp_autokick 0 // Kick idle/team-killing players. Default Off
mp_flashlight 0 //Turn on/off the ability for clients to use flashlight. Default: Off
mp_tkpunish 1 //Punish TK'ers on next round? Default: On
mp_forcecamera 0 //Force dead players to first person mode, effectively disabling freelook. Default: Off
sv_alltalk 0 //Players can hear all other players, no team restrictions. Default: Off
sv_pausable 0 //Can the server be paused? Default: Off
sv_consistency 1 //Force cleints to pass consistency check for critical files before joining server? Default: On
sv_cheats 0 //Allow cheats on server. Default: Off
sv_allowupload 1 //Allow clients to upload their custom decals to the server. Default: Yes
sv_allowdownload 1 //Allow clients to downnload files. Default: Yes
sv_maxspeed 320 //Maximum speed a player can move. Default: 320
mp_limitteams 2 //Max # of players 1 team can have over another. Default: 2
mp_hostagepenalty 5 //How many hostages a Terrorist can kill before being kicked, 0 to disable. Default: 5
sv_voiceenable 1 //Allow clients to use mic. Default: Yes
mp_allowspectators 25 //Allow spectators on the server. Default: Yes
mp_timelimit 10 //amount of time in minutes each map is played before switching to the next map. Default: 25
mp_chattime 10 //amount of time in seconds players can chat after the game is over. Lower value = faster map load change. Default: 10
sv_timeout 65 //After this many seconds without a message from a client, the client is dropped. Default: 65 seconds
//Round Cvars
mp_freezetime 6 //Time in seconds to keep players frozen when the round starts. Default: 6
mp_roundtime 5 //How much time in minutes does a round last. Default: 5
mp_startmoney 800 //Amount of money each player gets when they reset (16000 max) Default: 800
mp_c4timer 45 //The amount of time in seconds before bomb explodes after planted. Default: 45
mp_fraglimit 0 //Amount of frags a player can exceed before changing maps. Default: 0
mp_maxrounds 0 //Amount of round to play before server changes maps. Default: 0
mp_winlimit 0 //Max number of rounds one team can win before server changes maps. Default: 0
mp_playerid 0 //Controls what information player see in the status bar. Default: All(0) or: Team Names(1) or: No Names(2)
mp_spawnprotectiontime 5 //Time in seconds to Kick players who team-kill after round restart. Default: 5
//Bandwidth Rates
sv_minrate 0 //Min bandwidth rate allowed on server. Default: 0 (unlimited)
sv_maxrate 0 //Max bandwidth rate allowed on server. Default: 0 (unlimited)
decalfrequency 10 //Amount of time in seconds a player can spray their decal. Default: 10
sv_maxupdaterate 60 //Maximum updates per second that the server will allow. Default: 60 **MAKE IT CORRESPOND TO YOUR TICKRATE OR HIGHER**
sv_minupdaterate 10//Minimum updates per second that the server will allow. Default: 10
//Server logging
log 0 //Enable server logging? Default Off
sv_logbans 0 //Log server bans in the server logs. Default Off
sv_logecho 1 //Echo log information to the console. Default On
sv_logfile 1 //Log server information in the log file. Default On
sv_log_onefile 0 //Log server information to only one file. Default No
//Bots (1 of 2)
bot_add //REMOVE THIS AND THE REST OF THE BOTS SECTION IF YOU DONT WANT THEM, OR PUT // INFRONT OF EACH LINE!! SUCH AS IN THE LINE ABOVE
bot_quota 2 //Amount of bots to add. Adding many bots will use more cpu. Start with a few bots, then add more if needed.
bot_quota_mode fill //If 'Fill', the server will adjust bots to keep # players in the game, where # is bot_quota (from above) Default: Normal
bot_difficulty 0 //Skill of bots. Default: Easy(0) **Also: Normal(1) Hard(2) Expert(3)
bot_chatter normal //Control how bots talk. Default: Normal **Also: radio and minimal
bot_auto_follow 1 //Allow bots to automatically follow a human player. Default: Yes
bot_auto_vacate 1 //Kick bots to automatically make room for human players. Default: Yes
bot_join_after_player 1 //Bots must wait for a people to join before joining? If No, bots will play without people. Default: Yes
bot_defer_to_human 0 //Can bots complete objectives if there are humans on a team? Default: No
bot_prefix [BOT] //Prefix for bot names. A prefix is a tag that bots will have in front of their name. you can enter your clan tag or leave blank.
bot_allow_rogues 0 //bots may occasionally go 'rogue'. Rogue bots do not obey radio commands, nor pursue scenario goals.. Default: No
bot_walk 0 //The speed at which bots can move. Default: Run & Walk(0) (1) for walk only!
bot_join_team any //What teams are bots allowed to join? Default: Any(any) or terrorist(T) or CT(CT)
bot_eco_limit 2000 //Bots will not buy if their money falls below this amount. Default: 2000
//Bot Weapon Restriction (2 of 2)
//Bot Mode If you uncon(remove the //) these lines, the below weapon restrictions are ignored. Default: All Weapons
//bot_knives_only //bots can only use knives
//bot_pistols_only //bots can only use pistols
//bot_snipers_only //bots can only use snipers
bot_allow_grenades 1 //Allow bots to use grenades?
bot_allow_pistols 1 //Allow bots to use pistols?
bot_allow_sub_machine_guns 1 //Allow bots to use sub machine guns?
bot_allow_shotguns 1 //Allow bots to use shotguns?
bot_allow_rifles 1 //Allow bots to use rifles?
bot_allow_snipers 1 //Allow bots to use sniper rifles?
bot_allow_machine_guns 1 //Allow bots to use machine guns?
//Operation
sv_lan 0 //Will the server be public or Private LAN? Default: LAN & Internet(0) or: only lan not internet(1)
sv_region 0 //Geographic location of the server. Default: World(0) you have to look the rest up, theres alot. West coast though is 1 and east coast is probably 2.
sv_contact YOUREMAIL@YOURDOMAIN.COM //Contact email for server sysop

// execute ban files
exec banned_user.cfg //take a look at this file to see what it does
exec banned_ip.cfg //take a look at this file too to see what it does

--------------------------------------------------------------

Reply
#3
Email me if you need help Smile
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)