Hi
I have been racking my brain trying to figure this out. Here goes:
I have 2 tf2 servers on my box- one is working perfectly, vanilla install, no mods whatsoever. The other is a freshly reinstalled and I am having a problem with it showing the total player count in the server. There could be any number of people in the server, but the master server list always shows that there are no people on the server- even though they are clearly in there, fragging it up. Very frustrating to say the least.
I have gone through and reinstalled the server dedicated files several times with no change in the player count posting.
I am running windows server 2008x64. Firewall is not enabled at all, no ports being forwarded to my knowledge. This all seemes to have started after the big "Uber Update" for TF2, but My other server is working fine, which is why this issue is that much wierder.
I was wondering if this could be a problem with ports not being forwarded properly? If there is anything that anyone can do to help, that would be amazing. Thank you for your time and I hope to hear back soon with some advice!
Server listen ports problem?
-
- New to forums
- Posts: 11
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Oct 28, 2010 6:54 am
Re: Server listen ports problem?
What command line are you using for each server?
-
- New to forums
- Posts: 11
- Joined: Thu Oct 28, 2010 6:54 am
Re: Server listen ports problem?
C:\SERVER1\orangebox\srcds.exe -game tf -ip xx.xxx.xx.xx -port 27015 -maxplayers 36 +fps_max 600 +map ctf_2fort -console -nocrashdialog
C:\SERVER2\orangebox\srcds.exe -game tf -ip xx.xxx.xx.xx -port 27015 -maxplayers 24 +fps_max 600 +map ctf_2fort -console -nocrashdialog
The only thing different is the players and the IPs of course.
C:\SERVER2\orangebox\srcds.exe -game tf -ip xx.xxx.xx.xx -port 27015 -maxplayers 24 +fps_max 600 +map ctf_2fort -console -nocrashdialog
The only thing different is the players and the IPs of course.
Re: Server listen ports problem?
When the servers are running, what do you see in the "netstat -ano" output?
-
- New to forums
- Posts: 11
- Joined: Thu Oct 28, 2010 6:54 am
Re: Server listen ports problem?
I think I fixed it!
It was actually an internal, valve problem.
Ports and the server was doing fine, it was the actual server code that is borked up.
Anyone else who has this issue, add these lines to your config:
//TEMP FIX:
Since the uber update, they messed up the code. So you have to force the master servers to see and report your server properly by putting it in legacy in mode.
Thanks for all the help, and I will start spreading this fix around!
Also make sure you disable replays- it has been found that replays will mess things up as well.
It was actually an internal, valve problem.
Ports and the server was doing fine, it was the actual server code that is borked up.
Anyone else who has this issue, add these lines to your config:
//TEMP FIX:
Code: Select all
sv_master_legacy_mode 1
setmaster remove hl2master.steampowered.com:27011
setmaster remove hl2master.steampowered.com:27015
setmaster add hl2master.steampowered.com:27011
setmaster add hl2master.steampowered.com:27015
heartbeat
Thanks for all the help, and I will start spreading this fix around!
Also make sure you disable replays- it has been found that replays will mess things up as well.
Code: Select all
replay_enable 0