View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 05-16-2014 , 09:20   Re: Dota 2 Dedicated Servers
Reply With Quote #71

Quote:
Originally Posted by CyberStars View Post
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.

Last edited by psychonic; 05-16-2014 at 09:21.
psychonic is offline