I'm working on some kind of "school project", I'm trying to bring up a high availability cluster webpanel that automatically turns on services on different machines depending on the loads, server players in this case, etc....
The thing is that I was trying to automatically install and run a cs2d dedicated server on a Ubuntu Server when I found this problem:
- If I run the dedicated server with command line with an argument, it somehow resets other arguments that I don't wanna pass to the launcher.
I mean that I run "cs2d_dedicated -port 36963" per example and the console says:
Server Console has written
Starting server...
load map ''
LOAD MAP: 'maps/.map' does not exist
Trying to load map from mapcycle...
No map loaded! Check your configuration!
load map ''
LOAD MAP: 'maps/.map' does not exist
Trying to load map from mapcycle...
No map loaded! Check your configuration!
I want the server to run every single time on the port that my server specifies with a PHP variable from a database. The -port launch argument looked really nice until I saw it's forcing me to specify a map using arguments too...
I hope someone can help me with this.
Meanwhile, I'll be replacing sv_hostport with the port I want, using "sed" every single time someone "starts" the server.