SRCDS Steam group


TF2 Dedicated Linux Server: Game too quick
#1
Hi

BASIC INFO
Server OS: Linux 2.6.18-6-686 Debian 4.0
Processor: GenuineIntel, Intel® Core™2 Duo CPU E4500 @ 2.20GHz
Ram: 4GB
Game(s): Team Fortress 2
Start Up Command:
Code:
./srcds_run -game tf +map pl_badwater +maxplayers 24 -port 27015 -autoupdate
Admin Mods:
I just installed Metamod:Source v1.7.1, everything else is fresh from steam servers.

My config file:
Code:
// Define your ServerName, this is the name there'll be displayed in the Internet tab.
// Defualt: Counter-Strike: Source
hostname "..."


// Define your RCon(Remote Console) password, this is mostly used for match servers.
// I'll recommend you to set one, incase you suddenly needs it.
// Default: Just don't make it easy to quess! Use big and small letters and numbers!
// Look at the example I've set for this one. No one will quess that, only 1 out of ten billion times.
// Defualt: None.
rcon_password "..."

// Number of minutes to ban users who fail rcon authentication
sv_rcon_banpenalty 10

// Max number of times a user can fail rcon authentication before being banned
sv_rcon_maxfailures 3

// Define your Server password, so only people who knows it can connect.
// Defualt: None.
sv_password "..."

// Define your website for FastDownload.
// Extra: Are you looking for a free webhost to FastDownload?
// If so, goto this thread at http://forums.srcds.com/viewtopic/9366
// Or this is if the other one doesn't work: www.downloadurl.net
// Defualt: None.
sv_downloadurl ""


// Allow clients to upload their custom decals to the server.
// Default: 1
sv_allowupload 1


// Allow clients to downnload files.
// Default: 1
sv_allowdownload 1

// Define your servers MAX Frame Per Second(FPS).
// To recieve 1000FPS on Windows, try to use "fps_max 0".
// Defualt: ?
fps_max "300"

// This controls your server framerate.
// Default: 0
host_framerate 100


// Amount of time in seconds a player can spray their decal.
// Default: 10
decalfrequency 30


// If this CVAR is 0, both Internet and LAN players will be able to join.
// If this CVAR is 1, ONLY LAN PLAYERS ON YOUR OWN NETWORK WILL BE ABLE TO JOIN NOMATTER IF YOU HAVE DONE PORTFORWARING!
// Default: 0
sv_lan 0


// This will define your location in the world, if somebody as Europe ONLY in their filtes and you have USA - then wouldn't be able to find your server.
// Default: 3
// 0 - Us Eastcoast.
// 1 - US Westcoast.
// 2 - South America.
// 3 - Europe.
// 4 - Asia.
// 5 - Australia.
// 6 - Middle East.
// 7 - Africa.
// 255 - World
sv_region 3

// This could be your own email or another email who do business withing this server.
// Defualt: None.
sv_contact "sorry no contact yet"

// Enables or disables whether the server can be paused. 0 is off 1 is on
sv_pausable 0

// Forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure 1

// Kicks clients that do not have content that matches what is on the server
sv_pure_kick_clients 1

// Max download file size. Default is 15
net_maxfilesize 15

// Default: 0 (unlimited)
sv_maxrate 30000


// Minimum allowed brandwidth on your server.
// Default: 0 (unlimited)
sv_minrate 15000


// Maximum updates per second as the server will allow.
// Default: 60
// Note: If you're using less than 100Tick, change this CVAR to a lower value.
// For 100TICK: sv_maxupdaterate 100
// For 66TICK: sv_maxupdaterate 66
// For 33TICK: sv_maxupdaterate 33
sv_maxupdaterate 33


// Minimum updates per second as the server will allow.
// Default: 10
// Note: If you're using less than 100Tick, change this CVAR to a lower value than "sv_maxupdaterate xx"
// For 100TICK: sv_minupdaterate 75
// For 66TICK: sv_minupdaterate 45
// For 33TICK: sv_minupdaterate 15
sv_minupdaterate 15


// This controls your cleints maximum cmdrate.
// Do the same with this one like: sv_maxupdaterate
// Default: 40
sv_maxcmdrate 100


// This controls your cleints minimum cmdrate.
// Do the same with this one like: sv_minupdaterate
// Default: 0
sv_mincmdrate 75


// Enables player lag compensation.
// Default: 1
sv_unlag 1


// Sets the maximum ammount of seconds that the netcode compensates for someone's ping.
// Default: 0.5
sv_maxunlag 1

mp_autoteambalance 1

// Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_delay 60

// Time (in seconds) after the teams become unbalanced to print a balance warning
mp_autoteambalance_warning_delay 30

// Teams are unbalanced when one team has this many more players than the other (0 disables)
mp_teams_unbalance_limit 2

//*Ending Team Auto Balancing*\\



//*Round & Game Times*\\

// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_enableroundwaittime 1

// Time after round win until round restarts (in seconds)
mp_bonusroundtime 20

// Time the current round will restart (in seconds)
mp_restartround 20

// Timelimit (in seconds) of the stalemate round
mp_stalemate_timelimit 120

// Game time per map in minutes
//Default is 0
//0=unlimited
mp_timelimit 30

// Max number of rounds to play before server changes maps
mp_maxrounds 1

// Max number of rounds one team can win before a server changes maps
mp_winlimit 3


//*Ending Round & Game Times*\\



//*Client Specific CVARS*\\

// Force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_forcecamera 0

// Enable or disable spectators on the server. 0 is off 1 is on
mp_allowspectators 1

// 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_friendlyfire 0

// Footsteps on or off. 0 is off and 1 is on
mp_footsteps 1

// Allow cheats to be used by the client. 0 is off 1 is on
sv_cheats 0

// The amount of time in seconds that a client is booted for no input
sv_timeout 300

// The maximun speed a client can move at
sv_maxspeed 320

// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
sv_consistency 1

// The pause in seconds between a decal being sprayed
decalfrequency 10

//*End Client Specific CVARS*\\


//*Communication*\\

// Allow players to use a microphone. 0 is off 1 is on
sv_voiceenable 1

// Toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
sv_alltalk 0

// Players can chat for this amount of time (in seconds) after a game is over
mp_chattime 15

//*End Communication*\\

//*************************************************************************\\
//*                                                                       *\\
//*                                                                       *\\
//*                             Log Settings                              *\\
//*                                                                       *\\
//*                                                                       *\\
//*************************************************************************\\

// Enable or disable server logging. on is on off is off
log on

// Log server bans in the server logs
sv_logbans 1

// Echo log information to the console. 0 is off 1 is on
sv_logecho 1

// Log server information in the log file. 0 is off 1 is on
sv_logfile 0

// Log everything in one file
sv_log_onefile 0

exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

Problem:

I just set up the server and started it.
i noticed, that it is extremely laggy, i barely could move straight forward, although my ping was 5-10, a friends ping 40-50, but normal for him. in serverbrowser the ping was 41 and okay.

i also noticed, that everying in the game occurs too quick. the time clock moves at double speed, engineer buildings are at double speed and all animations get cut off.

The log says nothing, as this doesnt seem to be recognized as any "occurence".
tell me if you need more logs or anything else

it probably has something to do with framerates/tickrate?
since i don't know which values i should use and what are the default values, i need your help.
Reply
#2
Code:
host_framerate 100
that is the problem. "host_framerate 0" is the only correct option!

Please tell us where you found the server config. you are not the first one with that problem (see e.g. http://forums.srcds.com/viewtopic/12162), and I have seen this style of config file there as well. The author should put some warning there.

host_framerate does *not* control the frame rate. it sets the engine to think it would run with a specific frame rate, regardless of the frame rate it actually runs with (which is only controlled by fps_max and the system/kernel).
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
i got this cfg from this forum ^^

http://forums.srcds.com/viewtopic/5264/5 look in post #64
(in this cfg, they used 60 as value, i apparently changed it to 100 without really knowing what i was doing there >_>)

danke für die Hilfe Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)