I just noticed you are using "-clientport". To the best of my knowledge,
there is no such valid command argument, so that's possibly why it's not
working like how you think it should.
Lots of people get these options wrong. Don't trust what you've read
from other people out there, including me. Test it yourself.
You need to go read this:
https://developer.valvesoftware.com/wiki/Command_Line_Options
Some commands are - commands. Some commands are + commands. You need to
know which is which because they are not interchangeable.
- commands are interpreted as arguments to the server process itself
(srcds_linux), though some are just turned into environment variables by
the srcds_run wrapper script.
+ commands are just like commands you would find in autoexec.cfg and
server.cfg.
If this were a sane bit of software, it would generate a warning or
error when an invalid argument was passed to it on the command line, but
it doesn't. You can do "srcds_run -what -the -fark -ever" and it's
perfectly happy.
Here are the common startup command arguments I use:
-ip
-strictportbind
+clientport
+hostport
+tv_port
-steamport
That being said, CSGO does whatever it wants. It's totally out of control.
Here's a real-world example that I recorded previously from a CSGO
server running. This was a few years ago though, so things may have
gotten worse/better. Notice how it's not even binding to the right IP
address, in addition to the wrong ports.
Process command arguments:
./srcds_linux -game csgo -ip 1.2.3.4 -strictportbind +clientport 27031
+hostport 27131 +tv_port 27231 -steamport 26031 -pidfile
/srv/srcds/srcds-csgo-alpha/server.pid -console -usercon +game_type 0
+game_mode 0 +mapgroup mg_bomb +map de_dust
lsof says the following network sockets are in use by PID 10574:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
srcds_lin 10574 hlds 12u IPv4 2934288217 0t0 UDP 1.2.3.4:27131
srcds_lin 10574 hlds 13u IPv4 2934288218 0t0 UDP 1.2.3.4:27031
srcds_lin 10574 hlds 14u IPv4 2934288219 0t0 UDP 1.2.3.4:27231
srcds_lin 10574 hlds 15u IPv4 2934288220 0t0 TCP 1.2.3.4:27131
(LISTEN)
srcds_lin 10574 hlds 38u IPv4 2934297954 0t0 TCP *:33258 (LISTEN)
srcds_lin 10574 hlds 43u IPv4 2934297955 0t0 UDP *:27036
srcds_lin 10574 hlds 45u IPv4 2934297983 0t0 UDP 1.2.3.4:26032
The Eric S Cartman of server processes. Whateva. It does what it wants.
On 6/29/15 1:55, Usman Khan wrote:
-strictportbind -ip x.x.x.x -port 27036 -clientport 26110 -steamport
26220 -nohltv
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers