Quote:
Originally Posted by CyberStars
On Linux server runs successful but the port is always 0.
Run command:
Code:
/home/user/steam-runtime/run.sh ./srcds_run -console -game dota +map dota +ip xxx.xx.xx.xx +port 27031 +maxplayers 10 +exec server.cfg
|
As in all other Source games it's, -ip, -port, and -maxplayers as they are first-class command-line params. The + is for executing concommand or setting convars on start.
There is confusion sometimes as I think HL1 used + for all, and there are compatibility shims in the engine that cause + to still work for some of them in some engine variants.