Raised This Month: $51 Target: $400
 12% 

[FIXED]TF2 running too fast


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dylstew
Senior Member
Join Date: Jul 2011
Old 09-09-2013 , 13:03   [FIXED]TF2 running too fast
Reply With Quote #1

We're hosting a server from france, but the serer runs too fast.All the animations look all messed up and go by very quickly. Even the timer goes down faster. Any ideas? It's a Linux server.
When we google we get something aboutRDTSC_FREQUENCY, but we're confused about how it works.
The server was fine at first, but when we added a CFG, sourcemod and started it up, the speed was messed up.

Last edited by dylstew; 09-11-2013 at 07:46.
dylstew is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 09-09-2013 , 13:17   Re: TF2 running too fast
Reply With Quote #2

Maybe you should post the content of that cfg file here.
What happens if you remove sourcemod and/or the cfg file, is it back to normal again?

Yours sincerely
Impact
__________________
Impact123 is offline
dylstew
Senior Member
Join Date: Jul 2011
Old 09-09-2013 , 13:26   Re: TF2 running too fast
Reply With Quote #3

Quote:
Originally Posted by Impact123 View Post
Maybe you should post the content of that cfg file here.
What happens if you remove sourcemod and/or the cfg file, is it back to normal again?

Yours sincerely
Impact
Sourcemod doesn't seem to effect it, but removing the entire CFG file does. We're wondering what cvar might be causing this.
This is our CFG file:

Code:
// General Settings //

// Hostname for server.
hostname Arctichost.no Custom Map Server.

// Overrides the max players reported to prospective clients
sv_visiblemaxplayers 24

// Maximum number of rounds to play before server changes maps
mp_maxrounds 99999999

// Set to lock per-frame time elapse
host_framerate 66

// Set the pause state of the server
setpause 0

// Control where the client gets content from 
// 0 = anywhere, 1 = anywhere listed in white list, 2 = steam official content only
sv_pure 0

// Is the server pausable
sv_pausable 0

// Type of server 0=internet 1=lan
sv_lan 0

// Collect CPU usage stats
sv_stats 1



// Execute Banned Users //
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip



// Contact & Region //

// Contact email for server sysop
sv_contact [email protected]

// The region of the world to report this server in.
// -1 is the world, 0 is USA east coast, 1 is USA west coast
// 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa
sv_region 3



// Rcon Settings //

// Password for rcon authentication
rcon_password xxxxxxxxxx

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

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



// Log Settings //

// Enables logging to file, console, and udp < on | off >.
log on

// Log server information to only one file.
sv_log_onefile 0

// Log server information in the log file.
sv_logfile 1

// Log server bans in the server logs.
sv_logbans 1

// Echo log information to the console.
sv_logecho 1



// Rate Settings //

// Frame rate limiter
fps_max 600

// Min bandwidth rate allowed on server, 0 == unlimited
sv_minrate 0

// Max bandwidth rate allowed on server, 0 == unlimited
sv_maxrate 25000

// Minimum updates per second that the server will allow
sv_minupdaterate 10

// Maximum updates per second that the server will allow
sv_maxupdaterate 66



// Download Settings //

// Allow clients to upload customizations files
sv_allowupload 1

// Allow clients to download files
sv_allowdownload 1

// Maximum allowed file size for uploading in MB
net_maxfilesize 15



// Team Balancing //

// Enable team balancing
mp_autoteambalance 1 

// Time after the teams become unbalanced to attempt to switch players.
mp_autoteambalance_delay 60

// Time 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 team. (0 disables check)
mp_teams_unbalance_limit 1



// Round and Game Times //

// Enable timers to wait between rounds. WARNING: Setting this to 0 has been known to cause a bug with setup times lasting 5:20 (5 minutes 20 seconds) on some servers!
mp_enableroundwaittime 1

// Time after round win until round restarts
mp_bonusroundtime 8

// If non-zero, the current round will restart in the specified number of seconds
mp_restartround 0

//Enable sudden death
mp_stalemate_enable 1

// Timelimit (in seconds) of the stalemate round.
mp_stalemate_timelimit 300

// game time per map in minutes
mp_timelimit 25



// Client CVARS //

// Restricts spectator modes for dead players
mp_forcecamera 0

// toggles whether the server allows spectator mode or not
mp_allowspectators 1

// toggles footstep sounds
mp_footsteps 1

// toggles game cheats
sv_cheats 0

// After this many seconds without a message from a client, the client is dropped
sv_timeout 900

// Maximum time a player is allowed to be idle (in minutes), made this and sv_timeout equal same time?
mp_idlemaxtime 15

// Deals with idle players 1=send to spectator 2=kick
mp_idledealmethod 2

// time (seconds) between decal sprays
decalfrequency 30



// Communications //

// enable voice communications
sv_voiceenable 1

// Players can hear all other players, no team restrictions 0=off 1=on
sv_alltalk 1

// amount of time players can chat after the game is over
mp_chattime 10

// enable party mode
// tf_birthday 1

Last edited by dylstew; 09-09-2013 at 13:38.
dylstew is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 09-09-2013 , 14:02   Re: TF2 running too fast
Reply With Quote #4

mp_maxrounds 0 to disable rounds, Im using it and no problems with it
host_framerate 66 should be set to 0 since server is tickrate 66 you will not get more fps so I think this can mess up with the speed dude

other cvars look normal to me
__________________

Last edited by luki1412; 09-09-2013 at 14:03.
luki1412 is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 09-09-2013 , 14:43   Re: TF2 running too fast
Reply With Quote #5

Its likely that the clock in your vds is inaccurate, or drifting (if it is a vds). You can patch the hypervisor to fix this if that is the case. If you are using HPET make sure that the kernel has the peroper modules for it.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 09-09-2013 , 15:47   Re: TF2 running too fast
Reply With Quote #6

Quote:
Originally Posted by friagram View Post
Its likely that the clock in your vds is inaccurate, or drifting (if it is a vds). You can patch the hypervisor to fix this if that is the case. If you are using HPET make sure that the kernel has the peroper modules for it.
try host_framerate 20 and then you will see that its this ;) especially with bots ;) I tried and its like fast forward gameplay
__________________
luki1412 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-09-2013 , 17:13   Re: TF2 running too fast
Reply With Quote #7

Setting the environment variable RDTSC_FREQUENCY to "disabled" disables the somewhat buggy clock check on server startup.

If you can change files in the server user's directory or the script that starts the server, you can put

Code:
export RDTSC_FREQUENCY "disabled"
in the startup script or .bashrc
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 09-09-2013 at 17:23.
Powerlord is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 09-10-2013 , 08:18   Re: TF2 running too fast
Reply With Quote #8

Quote:
Originally Posted by Powerlord View Post
Setting the environment variable RDTSC_FREQUENCY to "disabled" disables the somewhat buggy clock check on server startup.

If you can change files in the server user's directory or the script that starts the server, you can put

Code:
export RDTSC_FREQUENCY "disabled"
in the startup script or .bashrc
He said that when he renames/moves server.cfg it stops -_- btw why would be such files downloaded? Everyone downloads files from the same valve servers.

Have you ever even tried changing that cvar? Because I did and it does what hes talking about. Want a video about it?
__________________
luki1412 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 09-10-2013 , 09:17   Re: TF2 running too fast
Reply With Quote #9

Quote:
Originally Posted by luki1412 View Post
Have you ever even tried changing that cvar? Because I did and it does what hes talking about. Want a video about it?
The thing is that's not the only possible cause. And I've personally seen the RDTSC_FREQUENCY issue before.

I probably should have mentioned host_timescale in the last post because it can also change the game's apparent speed.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 09-10-2013 at 09:25.
Powerlord is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 09-10-2013 , 11:23   Re: TF2 running too fast
Reply With Quote #10

Quote:
Originally Posted by Powerlord View Post
The thing is that's not the only possible cause. And I've personally seen the RDTSC_FREQUENCY issue before.

I probably should have mentioned host_timescale in the last post because it can also change the game's apparent speed.
It can have more causes but what Im trying to say is that he's just a regular guy who downloaded and installed his own server. How big chances are that downloaded server files are somehow messed up? He did showed us his server.cfg and thats why I don't think that he would do that himself and ask here for help.
__________________
luki1412 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode