SRCDS Steam group


[resolved] TF2 "state=ServerMatchmakingState_NOT_PARTICIPATING" Error
#1
Server OS: Windows Server 2012 64-bit
Processor: Intel Core i7-2600K CPU @ 3.40 Ghz
Ram: 4 GB.
Game(s): Team Fortress 2
Start Up Command: "C:\HLServer\orangebox\srcds.exe -console -game tf +map ctf_2fort +maxplayers 16" with compatibility mode set for Windows XP SP3
Admin Mods: None

I decided to run a TF2 server on Windows Server 2012 (64bit)

1) Installed HldsUpdateTool and ran the following command:
Code:
C:\HLServer\HldsUpdateTool.exe -command update -game tf -dir "C:\HLServer" -verify_all -retry
pause

2) The installation finished with:
Code:
40:36 [209.197.6.232:27030] Disconnecting
HLDS installation up to date
C:\HLServer>pause
Press any key to continue . . .

3) I verify ports 27015 and 27005 are forwarded in my router correctly. I also make Inbound Rules to allow them in Windows Firewall. I verify that there is a "steam_appid.txt" file with "440" inside of it.
4) I launch TF2 with the following:
Code:
C:\HLServer\orangebox\srcds.exe -console -game tf +map ctf_2fort +maxplayers 16

4) The following is displayed:
Code:
Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 16
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:\HLServer\orangebox\tf\replay\server\tmp\" ...no files removed.
Unknown command "r_decal_cullsize"
maxplayers set to 16
Network: IP 192.168.1.205, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Executing dedicated server config file server.cfg
material models/weapons/c_items/c_ubersaw_xms has a normal map and $basealphaenvmapmask.  Must use
$normalmapalphaenvmapmask to get specular.
material models/weapons/c_items/c_frontierjustice_xmas has a normal map and $basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.
material models/player/items/all_class/all_class_ring_setting has a normal map and $basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.
Initializing Steam libraries for secure Internet server
Logging into anonymous gameserver account.
'server.cfg' not present; not executing.
'ctf_2fort.cfg' not present; not executing.
Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)
Connection to Steam servers successful.
   Public IP is XXX.XXX.XXX.XXX.
Assigned anonymous gameserver Steam ID [A-1:1947720705(3236)].
VAC secure mode is activated.
Connection to game coordinator established.
tf_server_identity_account_id not set; not logging into registered account
Received 1589100 bytes item schema version 52B24E9E direct data; update is queued.

5) The message "Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)" bothers me since it seemed like everything installed correctly.

6) I go to a command prompt and do a "netstat -a" which shows:
Code:
PS C:\Users\Administrator> netstat -a
Active Connections
  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:80             Win2012Server:0        LISTENING
  TCP    0.0.0.0:135            Win2012Server:0        LISTENING
  TCP    0.0.0.0:445            Win2012Server:0        LISTENING
  TCP    0.0.0.0:2008           Win2012Server:0        LISTENING
  TCP    0.0.0.0:3306           Win2012Server:0        LISTENING
  TCP    0.0.0.0:3389           Win2012Server:0        LISTENING
  TCP    0.0.0.0:5985           Win2012Server:0        LISTENING
  TCP    0.0.0.0:10011          Win2012Server:0        LISTENING
  TCP    0.0.0.0:25565          Win2012Server:0        LISTENING
  TCP    0.0.0.0:30033          Win2012Server:0        LISTENING
  TCP    0.0.0.0:47001          Win2012Server:0        LISTENING
  TCP    0.0.0.0:49152          Win2012Server:0        LISTENING
  TCP    0.0.0.0:49153          Win2012Server:0        LISTENING
  TCP    0.0.0.0:49154          Win2012Server:0        LISTENING
  TCP    0.0.0.0:49155          Win2012Server:0        LISTENING
  TCP    0.0.0.0:49156          Win2012Server:0        LISTENING
  TCP    192.168.1.205:139      Win2012Server:0        LISTENING
  TCP    192.168.1.205:3389     H2O:58628              ESTABLISHED
  TCP    192.168.1.205:25565    c-67-174-60-146:63293  ESTABLISHED
  TCP    192.168.1.205:27015    Win2012Server:0        LISTENING
  TCP    [::]:80                Win2012Server:0        LISTENING
  TCP    [::]:135               Win2012Server:0        LISTENING
  TCP    [::]:445               Win2012Server:0        LISTENING
  TCP    [::]:3389              Win2012Server:0        LISTENING
  TCP    [::]:5985              Win2012Server:0        LISTENING
  TCP    [::]:25565             Win2012Server:0        LISTENING
  TCP    [::]:47001             Win2012Server:0        LISTENING
  TCP    [::]:49152             Win2012Server:0        LISTENING
  TCP    [::]:49153             Win2012Server:0        LISTENING
  TCP    [::]:49154             Win2012Server:0        LISTENING
  TCP    [::]:49155             Win2012Server:0        LISTENING
  TCP    [::]:49156             Win2012Server:0        LISTENING
  UDP    0.0.0.0:3389           *:*
  UDP    0.0.0.0:5355           *:*
  UDP    0.0.0.0:9987           *:*
  UDP    0.0.0.0:26901          *:*
  UDP    0.0.0.0:27005          *:*
  UDP    0.0.0.0:27015          *:*
  UDP    0.0.0.0:27020          *:*
  UDP    0.0.0.0:49444          *:*
  UDP    192.168.1.205:137      *:*
  UDP    192.168.1.205:138      *:*
  UDP    [::]:3389              *:*
  UDP    [::]:5355              *:*
PS C:\Users\Administrator>

7) I notice "UDP 0.0.0.0:27020 *:*" and realize that's not forwarded in my router. I forward it in my router and create a rule for it in Windows Firewall.

8) I relaunch TF2 with the same command as earlier but still get the "Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)" message. I wonder if I'm missing another port so I shutdown the TF2 server and do another "netstat -a" and compare it to the one I did when TF2 server was running. One port is not accounted for: 26901

9) I add rules for 26901 in Windows Firewall and forward it in my router and relaunch TF2 server. I still get the "Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)" message.

10) I reboot my router and relaunch TF2 server. I still get the same error.

11) I try to launch TF2 server with:
Code:
C:\HLServer\orangebox\srcds.exe -console -game tf +ip 192.168.1.205 -port 27015 +map ctf_2fort +maxplayers 32
but I still get the same error.

12) I install and run TCPview (http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx). I notice that on occasion, srcds.exe will connect on ports 50030 and higher, but it appears to be an outbound connection that establishes itself and then disconnects.

13) Just for the hell of it I install Steam and update it. I log into my account and leave steam open. I relaunch TF2 server and still get the same error. Then I wonder if the "tf_server_identity_account_id not set; not logging into registered account" message is related and might be causing the problem. So I follow the directions on (https://support.steampowered.com/kb_article.php?ref=2825-AFGJ-3513).

14) Relaunch TF2 server with 16 max players and still get the same error message. This is now my output:
Code:
Console initialized.
Game.dll loaded for "Team Fortress"
Particles: Missing 'particles/error.pcf'
maxplayers set to 16
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:\HLServer\orangebox\tf\replay\server\tmp\" ...no files removed.
Unknown command "r_decal_cullsize"
maxplayers set to 16
Network: IP 192.168.1.205, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Executing dedicated server config file server.cfg
material models/weapons/c_items/c_ubersaw_xms has a normal map and $basealphaenvmapmask.  Must use $
normalmapalphaenvmapmask to get specular.
material models/weapons/c_items/c_frontierjustice_xmas has a normal map and $basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.
material models/player/items/all_class/all_class_ring_setting has a normal map and $basealphaenvmapmask.  Must use $normalmapalphaenvmapmask to get specular.
Initializing Steam libraries for secure Internet server
Logging into anonymous gameserver account.
'ctf_2fort.cfg' not present; not executing.
Sending CMsgGameServerMatchmakingStatus (state=ServerMatchmakingState_NOT_PARTICIPATING)
Connection to Steam servers successful.
   Public IP is XXX.XXX.XXX.XXX.
Assigned anonymous gameserver Steam ID [A-1:3334547460(3236)].
VAC secure mode is activated.
Connection to game coordinator established.
Received auth challenge; signing into gameserver account...
Game server authentication: SUCCESS! Standing: Good. Trend: Steady
Received 1589100 bytes item schema version 52B24E9E direct data; update is queued.

15) Read on a forum that I need to add "tf_mm_servermode 1" to my server.cfg so I give that a try. #$&)$&#@!!!, It finally works! No more error message. =D
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)