SRCDS Steam group


Port is changing..?!
#1
Hi all.

Server works fine, and I developed my own statistic script in Perl with SourceMod-Ingameplugin.
But, since some days, something really mysterious happens: Sometimes if I start the server, the port is changing from 27015 (what I want and is default) to 27016... And I dunno why. It isn't MetaMod or Sourcemod or a plugin of them because it happend before I installed them.
That's the console output:
Quote:Network: IP 192.168.1.2, mode MP, dedicated Yes, ports 27016 SV / 27006 CL
My .bat file contains this:

Quote:srcds.exe -console -game tf +port 27015 +maxplayers 6 -autoupdate +map cp_well
The port argument is here since this happens. It's bad for my script because I can't know the port of the server (it doesn't say it to me as variable in logs - or does he?) and so it's a 50:50 chance that the rcon-connection fails.
How can I force that the port is always 27015? I tried -hostport 27015 too. No chance.

Another question, why does TF2 says the server Client.dll is not the same like the client Client.dll? My fault? Too new serverversion?

Thanks for help.
Reply
#2
try -port 27015 instead of +port 27015
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#3
Still 27016...
Reply
#4
Do you have another server running?
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#5
Not that I would know. It doesn't say that he can't bind at port 27015, he just says then that he's using 27016. But I'm going to try to bind to port 27015 (with another program) if the server is getting 27016 again. I don't know which program would bind to 27015 (the tf2 game client? But, if I don't run a server it shouldn't).

Started the dedicated server twice yet. 27015.

Edit: Maybe it's really tf2 that blocks that port? O_o Anyway, my tool says that TCP and UDP 27015 is still available, that can't be it. Why does it use 27016 then..?
Reply
#6
I have TF2 running on 27015.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#7
Yepp but does TF2 client bind the port 27015?
Reply
#8
Are you playing on the same computer that you are hosting?
If so, that WOULD make sense TF2 probably uses that port out-bound.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#9
Yes I do. But, that's weird then.
Reply
#10
Wait so you are hosting and playing?
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#11
Yes, but I thought that incoming udp port and outgoing is not the same..?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)