SRCDS Steam group


[SOLVED]Fresh TF2 Server error - stuck in LAN mode only!
#1
Exclamation 
SEE RESOLUTION HERE: http://forums.srcds.com/viewpost/112682#pid112682
http://forums.steampowered.com/forums/showpost.php?p=32467100&postcount=7

Link to resolution provided by http://forums.srcds.com/viewpost/112688#pid112688
RESOLUTION Wrote:
(08-23-2012, 11:19 AM)fmoisan Wrote:  Well, found a solution over at the steam forums : http://forums.steampowered.com/forums/showthread.php?t=2896207.

Create the file orangebox/steam_appid.txt
(next to srcds_run).
Content of the file should be:
Code:
440



Problem:
Console during startup is spamming some errors that are associated with getting my server on the master list and are affecting its VAC status as secured. I need this server to work with online lobbies.

Full server log (Local IP address of my server was hidden via ****REMOVED****):
Spoiler: show
66.7 fps 0/24 on map ctf_2fort
Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 24
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "c:\server\tf2_1\orangebox\tf\replay\server\tmp\"
...no files removed.
Unknown command "r_decal_cullsize"
Network: IP ****REMOVED****, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Executing dedicated server config file server.cfg
material models/player/items/all_class/all_class_ring_setting has a normal map a
nd $basealphaenvmapmask. Must use $normalmapalphaenvmapmask to get specular.

Initializing Steam libraries for secure Internet server
Failed to load Steam Service
ServiceStart: failed to start
BOpenService failed
ServiceStart: failed to start
*********************************************************
*********************************************************
* Unable to load Steam support library.*
* Unable to load Steam support library.*
* This server will operate in LAN mode only.*
* This server will operate in LAN mode only.*
*********************************************************
*********************************************************
'ctf_2fort.cfg' not present; not executing.
Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTIC
IPATING)


Server OS: Windows Server 2008 R2 Service Pack 1 64-bit
Processor: AMD Phenom 9950BE 2.61Ghz
Ram: 6GB Physical, 5.5GB Usable
Game(s): Team Fortress 2
FULL INSTALL CMD: hldsupdatetool -command update -game tf -dir . -verify_all
GAME LAUNCH CMD: .\orangebox\srcds.exe -console -game tf -command update -hostport 27015 +map ctf_2fort
100% Vanilla server I just setup today. No mods, very basic server.cfg

Bandwidth: Speedtest result was 21Mb/s Downstream // 15.5 Mb/s Upstream
Windows Firewall is 100% disabled
Server box is DMZ hosted all inbound connections/ports forwarded to server.

I had the steam client installed and updated on the server to no avail. I later removed it as it was an unneeded item during startup and I like my servers lean.

Server.cfg:
Code:
// Team Fortress 2 Server Configuration File, To be used with TF2 only!

// Server Name
hostname "The Best Server Ever"

// Rcon Cvars
rcon_password "lolpassword" //Set's remote control password
sv_rcon_banpenalty 150 //Number of minutes to ban users who fail rcon authentication
sv_rcon_log 1 //Enable/disable rcon logging.
sv_rcon_maxfailures 3 //Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures 5 //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime 10 //Number of seconds to track failed rcon authentications

// Server Password
sv_password "" // Password protects server

// Lan or internet play, Server region cvars
sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_region 1 // Region Codes: 0 - US East coast, 1 - US West coast, 2 - South America, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa, 255 - world

//server Logging
sv_log_onefile 0 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logblocks 0 //If true when log when a query is blocked (can cause very large log files)
sv_logecho 0 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.
sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir "logs" //Folder in the game directory where server logs will be stored.

//Server Rates
sv_maxcmdrate 0 //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_maxrate 100000 //Max bandwidth rate allowed on server, 0 == unlimited
sv_maxreplay 2 //Maximum replay time in seconds
sv_maxupdaterate 110 //Maximum updates per second that the server will allow
sv_mincmdrate 65 //This sets the minimum value for cl_cmdrate. 0 == unlimited.
sv_minrate 10000 //Min bandwidth rate allowed on server, 0 == unlimited
sv_minupdaterate 30 //Minimum updates per second that the server will allow
sv_cacheencodedents 1 //If set to 1, does an optimization to prevent extra SendTable_Encode calls.

// Server Cvars

mp_allowspectators 1 //Toggles whether the server allows spectator mode or not
mp_autocrosshair 0
mp_autoteambalance 1 //Toggles server autoteambalance
mp_bonusroundtime 5 //Time in seconds after round win until round restarts
mp_chattime 5 //amount of time in seconds players can chat after the game is over
mp_flashlight 0 //Toggles flashlight on or off

mp_idledealmethod 1 //Deals with Idle Players. 1 = Sends them into Spectator mode then kicks them if they're still idle, 2 = Kicks them out of the game
mp_idlemaxtime 3 //Maximum time a player is allowed to be idle (in minutes)

sv_cheats 0 //Allow cheats on server
sv_pausable 0 //Is the server pausable.

sv_consistency 0 //Whether the server enforces file consistency for critical files
sv_contact "lol@lolemails.spam" //Contact email for server sysop
sv_downloadurl "" //Location from which clients can download missing files

I tried forcing an update via -verify_all
Tried re-installing again (like this would do anything anyway, I JUST installed it)
Tried forcing a different steamclient.dll
added steamclient64.dll from my gaming desktop

And still can't figure this out.

Any help is greatly appreciated!
Reply
#2
Hi,

my suggestion...

did you try this?

GAME LAUNCH CMD: .\orangebox\srcds.exe -game tf -command update -hostport 27015 +map ctf_2fort

try without "-console".
whats the console-tab saying... ?

Reply
#3
(08-22-2012, 07:40 PM)gffcom.de Wrote:  Hi,

my suggestion...

did you try this?

GAME LAUNCH CMD: .\orangebox\srcds.exe -game tf -command update -hostport 27015 +map ctf_2fort

try without "-console".
whats the console-tab saying... ?

Starting without the console command launches the GUI which I do not want

Does not fix the problem though, it still launched as insecure LAN server.
Reply
#4
i have installed tf2 too, because i want to reproduce and fix the error, but the same error like ever and ever - but no solution found after 5 hours hard work with it Wink

it's perhaps a windows-problem, ich have a win 2008 r2-root too ^^
Reply
#5
(08-23-2012, 08:39 AM)gffcom.de Wrote:  i have installed tf2 too, because i want to reproduce and fix the error, but the same error like ever and ever - but no solution found after 5 hours hard work with it Wink

it's perhaps a windows-problem, ich have a win 2008 r2-root too ^^
Sorry but I'm having a little bit of a hard time deciphering that...

You just installed TF2 also to reproduce the issue, get the same error over and over, and can't figure it out?

I've tried everything I know how to do, still researching for others' answer but so far I've got nothing.
Reply
#6
Simple question are all your ports forwarded correctly?

What my forwarded ports look like

Try this server config its pretty basic and might have some more options
Code:
/ Server Name
hostname "r"

// Rcon Cvars
rcon_password "" //Set's remote control password
sv_rcon_banpenalty 15 //Number of minutes to ban users who fail rcon authentication
sv_rcon_log 1 //Enable/disable rcon logging.
sv_rcon_maxfailures 3 //Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures 5 //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime 10 //Number of seconds to track failed rcon authentications

// Server Password
sv_password "" // Password protects server

// Server Cvars
mp_allowspectators 1 //Toggles whether the server allows spectator mode or not
mp_autocrosshair 0
mp_autoteambalance 1 //Toggles server autoteambalance
mp_bonusroundtime 5 //Time in seconds after round win until round restarts
mp_chattime 5 //amount of time in seconds players can chat after the game is over
mp_respawnwavetime 5
mp_decals 1
mp_defaultteam 1
mp_disable_autokick 1 //Prevents a userid from being auto-kicked
mp_enableroundwaittime 1 //Enable timers to wait between rounds.
mp_fadetoblack 0 //fade a player's screen to black when he dies
mp_falldamage 5 //Amount of damage players sustains from a fall
mp_flashlight 0 //Toggles flashlight on or off
mp_footsteps 1 //Toggles footsteps on or off
mp_forcecamera 0 //Restricts spectator modes for dead players
mp_forcerespawn 0
mp_forcerespawnplayers 1 //Force all players to respawn.
mp_forcewin 1 //Forces team to win
mp_fraglimit 0
mp_idledealmethod 2 //Deals with Idle Players. 1 = Sends them into Spectator mode then kicks them if they're still idle, 2 = Kicks them out of the game
mp_idlemaxtime 1 //Maximum time a player is allowed to be idle (in minutes)
mp_maxrounds 10 //max number of rounds to play before server changes maps
mp_teams_unbalance_limit 2 //Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teststalemate 0 //Test the stalemate mode. Parameter: <0/1>. If 1, the map will reset at the end.
mp_time_between_capscoring 5 //Delay between scoring of owned capture points.
mp_timelimit 20 //game time per map in minutes
mp_winlimit 10 //Max number of rounds one team can win before server changes maps
sv_allow_color_correction 1 //Allow or disallow clients to use color correction on this server.
sv_allow_wait_command 0 //Allow or disallow the wait command on clients connected to this server.
sv_allowdownload 1 //Allow clients to download files
sv_allowupload 1 //Allow clients to upload customizations files
sv_alltalk 0 //Players can hear all other players, no team restrictions
sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks.
sv_autosave 0 //Set to 1 to autosave game on level transition. Does not affect autosave triggers.
sv_bonus_challenge 0 //Set to values other than 0 to select a bonus map challenge type.
sv_cacheencodedents 1 //If set to 1, does an optimization to prevent extra SendTable_Encode calls.
sv_cheats 0 //Allow cheats on server
sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.
sv_consistency 1 //Whether the server enforces file consistency for critical files
sv_contact "" //Contact email for server sysop
sv_downloadurl "" //Location from which clients can download missing files
sv_enableoldqueries 1 //Enable support for old style (HL1) server queries
sv_pausable 0 //Is the server pausable.

// Lan or internet play, Server region cvars
sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_region 255 // Region Codes: 0 - US East coast, 1 - US West coast, 2 - South America, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa, 255 - world

//server Logging
sv_log_onefile 0 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logblocks 0 //If true when log when a query is blocked (can cause very large log files)
sv_logecho 0 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.
sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir "logs" //Folder in the game directory where server logs will be stored.

//Server Rates
sv_maxcmdrate 0 //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_maxrate 20000 //Max bandwidth rate allowed on server, 0 == unlimited
sv_maxreplay 2 //Maximum replay time in seconds
sv_maxupdaterate 100 //Maximum updates per second that the server will allow
sv_mincmdrate 0 //This sets the minimum value for cl_cmdrate. 0 == unlimited.
sv_minrate 0 //Min bandwidth rate allowed on server, 0 == unlimited
sv_minupdaterate 30 //Minimum updates per second that the server will allow
Reply
#7
(08-23-2012, 08:50 AM)Deathscythe Wrote:  Simple question are all your ports fowarded correctly?


Try this server config, its what I use to host tf2 for idle servers so some of the time limits are increased so edit as you wish.
Code:
/ Server Name
hostname "r"

// Rcon Cvars
rcon_password "" //Set's remote control password
sv_rcon_banpenalty 15 //Number of minutes to ban users who fail rcon authentication
sv_rcon_log 1 //Enable/disable rcon logging.
sv_rcon_maxfailures 3 //Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures 5 //Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime 10 //Number of seconds to track failed rcon authentications

// Server Password
sv_password "" // Password protects server

// Server Cvars
mp_allowspectators 1 //Toggles whether the server allows spectator mode or not
mp_autocrosshair 0
mp_autoteambalance 1 //Toggles server autoteambalance
mp_bonusroundtime 5 //Time in seconds after round win until round restarts
mp_chattime 5 //amount of time in seconds players can chat after the game is over
mp_respawnwavetime 5
mp_decals 1
mp_defaultteam 1
mp_disable_autokick 1 //Prevents a userid from being auto-kicked
mp_enableroundwaittime 1 //Enable timers to wait between rounds.
mp_fadetoblack 0 //fade a player's screen to black when he dies
mp_falldamage 5 //Amount of damage players sustains from a fall
mp_flashlight 0 //Toggles flashlight on or off
mp_footsteps 1 //Toggles footsteps on or off
mp_forcecamera 0 //Restricts spectator modes for dead players
mp_forcerespawn 0
mp_forcerespawnplayers 1 //Force all players to respawn.
mp_forcewin 1 //Forces team to win
mp_fraglimit 0
mp_idledealmethod 2 //Deals with Idle Players. 1 = Sends them into Spectator mode then kicks them if they're still idle, 2 = Kicks them out of the game
mp_idlemaxtime 1 //Maximum time a player is allowed to be idle (in minutes)
mp_maxrounds 10 //max number of rounds to play before server changes maps
mp_teams_unbalance_limit 2 //Teams are unbalanced when one team has this many more players than the other team. (0 disables check)
mp_teststalemate 0 //Test the stalemate mode. Parameter: <0/1>. If 1, the map will reset at the end.
mp_time_between_capscoring 5 //Delay between scoring of owned capture points.
mp_timelimit 20 //game time per map in minutes
mp_winlimit 10 //Max number of rounds one team can win before server changes maps
sv_allow_color_correction 1 //Allow or disallow clients to use color correction on this server.
sv_allow_wait_command 0 //Allow or disallow the wait command on clients connected to this server.
sv_allowdownload 1 //Allow clients to download files
sv_allowupload 1 //Allow clients to upload customizations files
sv_alltalk 0 //Players can hear all other players, no team restrictions
sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks.
sv_autosave 0 //Set to 1 to autosave game on level transition. Does not affect autosave triggers.
sv_bonus_challenge 0 //Set to values other than 0 to select a bonus map challenge type.
sv_cacheencodedents 1 //If set to 1, does an optimization to prevent extra SendTable_Encode calls.
sv_cheats 0 //Allow cheats on server
sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.
sv_consistency 1 //Whether the server enforces file consistency for critical files
sv_contact "" //Contact email for server sysop
sv_downloadurl "" //Location from which clients can download missing files
sv_enableoldqueries 1 //Enable support for old style (HL1) server queries
sv_pausable 0 //Is the server pausable.

// Lan or internet play, Server region cvars
sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_region 255 // Region Codes: 0 - US East coast, 1 - US West coast, 2 - South America, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa, 255 - world

//server Logging
sv_log_onefile 0 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logblocks 0 //If true when log when a query is blocked (can cause very large log files)
sv_logecho 0 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.
sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir "logs" //Folder in the game directory where server logs will be stored.

//Server Rates
sv_maxcmdrate 0 //(If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate.
sv_maxrate 20000 //Max bandwidth rate allowed on server, 0 == unlimited
sv_maxreplay 2 //Maximum replay time in seconds
sv_maxupdaterate 100 //Maximum updates per second that the server will allow
sv_mincmdrate 0 //This sets the minimum value for cl_cmdrate. 0 == unlimited.
sv_minrate 0 //Min bandwidth rate allowed on server, 0 == unlimited
sv_minupdaterate 30 //Minimum updates per second that the server will allow

I mentioned in the first post that the server box is DMZ hosted
This means all ports are forwarded/open to that box.

Tried with your config, same errors occur. I'm going to try specifically forwarding the needed ports over but I'm quite certain this wont change anything as I'm sure this has worked in the past.
Reply
#8
ahh sorry didn't read that bit. I have not messed around with putting an IP in a DMZ. Good Luck.


Just a quick input I've never used the -command update in the server launching batch file, I doubt it but try launching without that command. Just trying to throw out options.
Reply
#9
(08-23-2012, 09:01 AM)Deathscythe Wrote:  ahh sorry didn't read that bit. I have not messed around with putting an IP in a DMZ. Good Luck.


Just a quick input I've never used the -command update in the server launching batch file, I doubt it but try launching without that command. Just trying to throw out options.

I figured I would entertain the option... Removed the -command update flag

No change, still errors out
Reply
#10
I have the exact same issue.
My server has ran fine until the update yesterday (or day before, forgot and getting incredibly frustrated with this). I've attempted to completely reinstall, simply restart, use -verify_all, launching using a .bat file, but nothing works. I think this recent update simply broke SRCDS for TF2. I REALLY hope that it is fixed soon.
Reply
#11
It's happening on a fresh Linux install, relevant thread:

http://forums.srcds.com/viewtopic/18494

Basically, check to see if the appid.txt file is in the orangebox folder. if not, try creating it and put "440" in the file (without quotes). Save and restart the server. Does that help?

Granted Windows and Linux are different OS (stating the obvious...) but for the same error to happen, it could be the same cause.
Reply
#12
Hi, thanks for info Wink
it works ...

[Image: 2012082312051161.png]
Reply
#13
(08-23-2012, 07:03 PM)BourneID Wrote:  It's happening on a fresh Linux install, relevant thread:

http://forums.srcds.com/viewtopic/18494

Basically, check to see if the appid.txt file is in the orangebox folder. if not, try creating it and put "440" in the file (without quotes). Save and restart the server. Does that help?

Granted Windows and Linux are different OS (stating the obvious...) but for the same error to happen, it could be the same cause.

Confirming this has resolved my issue as well

THANK YOU VERY MUCH! Big Grin
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)