06-28-2008, 03:58 PM
When startup my TF2 server, I'm hit immediately with an error that says KEYVALUES Error: LoadingFromBuffer: missing <in file tf2/gameinfo.txt
This error started to occur after I checked for updates with the HLDS updater. The shortcut was
I then removed the -verify_all and tried to re-update, but it still gave me the same error.
The gameinfo.txt file I'm using now. I edited a line so that it would boot with MetaMod:Source. I used that to install Mani Admin mod for map voting.
My server.cfg file in case it helps.
This error started to occur after I checked for updates with the HLDS updater. The shortcut was
Code:
C:\SRCDS\Updater\HldsUpdateTool.exe -command update -game tf -verify_all -dir c:\SRCDS
The gameinfo.txt file I'm using now. I edited a line so that it would boot with MetaMod:Source. I used that to install Mani Admin mod for map voting.
Code:
"GameInfo"
{
game "Team Fortress 2"
gamelogo 1
type multiplayer_only
nomodels 1
nohimodel 1
nocrosshair 0
hidden_maps
{
"test_speakers" 1
"test_hardware" 1
}
nodegraph 0
FileSystem
{
SteamAppId 440 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
//
// The code that loads this file automatically does a few things here:
//
// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
// For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
// 3. For the first "Game" search path, it adds a search path called "MOD".
// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
//
//
// Search paths are relative to the base directory, which is where hl2.exe is found.
//
// |gameinfo_path| points at the directory where gameinfo.txt is.
// We always want to mount that directory relative to gameinfo.txt, so
// people can mount stuff in c:\mymod, and the main game resources are in
// someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
//
SearchPaths
{
GameBin |gameinfo_path|addons/metamod/bin
Game |gameinfo_path|.
Game tf
Game |all_source_engine_paths|hl2
}
}
}
tf
Game |all_source_engine_paths|hl2
}
}
}
My server.cfg file in case it helps.
Code:
// this is your server name as shown in the server list
hostname "<server name>"
sv_password <password>
// your server password. a pair of double quotes means it is not set and anyone can join
// start rcon settings
rcon_password SPARTAN120
// your rcon password to log into the dev rcon console or HLSW rcon console
sv_rcon_banpenalty 5
// Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 10
// Max number of times a user can fail rcon authentication before being banned
// end rcon settings
// start cvars for balancing un-even teams
mp_autoteambalance 1
// 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance_delay 60
// Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_warning_delay 30
// Time (in seconds) after the teams become unbalanced to print a balance warning
mp_teams_unbalance_limit 1
// Teams are unbalanced when one team has this many more players than the other (0 disables)
// end cvars for balancing un-even teams
// start cvars for round and game times
mp_enableroundwaittime 1
// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_bonusroundtime 20
// Time after round win until round restarts (in seconds)
mp_restartround 20
// Time the current round will restart (in seconds)
mp_stalemate_timelimit 240
// Timelimit (in seconds) of the stalemate round
mp_timelimit 40
// game time per map in minutes
mp_stalemate_enable 1
// enables sudden death at the end of rounds
// end cvars for round and game times
// start cvars for win conditions
//FIXED
mp_maxrounds 6
// Max number of rounds to play before server changes maps
mp_winlimit 0
// Max number of rounds one team can win before a server changes maps
// end cvars for win conditions
// start client specific cvars
mp_forcecamera 1
// force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_allowspectators 1
// enable or disable spectators on the server. 0 is off 1 is on
mp_forcerespawn 1
// People auto-respawn after the cooldown time
mp_footsteps 1
// footsteps on or off. 0 is off and 1 is on
sv_cheats 0
// allow cheats to be used by the client. 0 is off 1 is on
sv_timeout 300
// the amount of time in seconds that a client is booted for no input
sv_consistency 1
// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
decalfrequency 30
// the pause in seconds between a decal being sprayed
// end client specific cvars
// start cvars for communication
sv_voiceenable 1
// allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0
// toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
mp_chattime 10
// players can chat for this amount of time (in seconds) after a game is over
// Set to 15 to fix BM map changes
// end cvars for communication
// start download cvars
sv_allowupload 0
// allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1
// allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 75
// Max download file size. Default is 15
// This is set to 75 because custom maps are HUGE!
sv_downloadurl ""
//redirect download location
// end download cvars
// start bandwidth rates/settings
sv_minrate 5000
// Min bandwidth rate allowed on server, 0 = unlimited. Default: 0
sv_maxrate 72000
// Max bandwidth rate allowed on server, 0 = unlimited. Default: 0
sv_minupdaterate 10
// Minimum updates per second that the server will allow. Default: 10
sv_maxupdaterate 100
// Maximum updates per second that the server will allow. Default: 60
sv_mincmdrate 66
sv_maxcmdrate 100
// end bandwidth rates/settings
// start server logging
log on
// enable or disable server logging. on is on / off is off
sv_logbans 1
// Log server bans in the server logs
sv_logecho 1
// Echo log information to the console. 0 is off 1 is on
sv_logfile 1
// Log server information in the log file. 0 is off 1 is on
sv_log_onefile 1
// log everything in one file
logaddress_add 140.192.244.120:27500
// For stats
// end server logging
// start cvars for general operation
sv_lan 0
// is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 1
// server location. -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_contact podtf2@gmail.com
// contact email for sysop
sv_pausable 0
// enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 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_kick_clients 0
// kicks clients that do not have content that matches what is on the server
// end cvars for general operation
// start execute ban files
exec banned_user.cfg
exec banned_ip.cfg
// end execute ban files
//respawn timers
mp_disable_respawn_times 1
mp_respawnwavetime 5
//end respawn timers