Forum

> > CS2D > Servers > Dedicated Server CL Arguments Error?
Forums overviewCS2D overview Servers overviewLog in to reply

English Dedicated Server CL Arguments Error?

2 replies
To the start Previous 1 Next To the start

old Dedicated Server CL Arguments Error?

xaviciscar
User Off Offline

Quote
Hello buddies!

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!


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.

old Re: Dedicated Server CL Arguments Error?

DC
Admin On Online

Quote
This is a bug apparently. Makes no sense that it behaves like that.
Will be fixed for the next release.

To deal with that issue manually you would have to read sys/server.cfg, find the line starting with "map " and pass the value behind that to the server as parameter.

Or you just specify another map manually.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview