SRCDS Steam group


Start multiple Servers with multiple mapcycles
#1
Hello,

im actually having a problem. On a windows box i cant start more then one CSS server with this commandline:
Server1:
srcds.exe -game cstrike +servercfgfile server1.cfg +mapcyclefile mapcycle2.txt +motdfile motd1.txt +map de_dust -maxplayers 15 +ip XXX.XXX.XXX.XXX -port 27065
Server2:
srcds.exe -game cstrike +servercfgfile server2.cfg +mapcyclefile mapcycle3.txt +motdfile motd2.txt +map de_dust -maxplayers 15 +ip XXX.XXX.XXX.XXX -port 27035

Cause the prgram always uses the orginal mapcycle.txt without a number, and also dont uses the port with im telling the problem. Thats a problem i cant understand cause under my Debian it works exactly the same way without any larger problems.

Da i have the wrong command or can windows dont start the servers that way?
Im also using the ->run->cmd and not doubleklicking through folders.

Woul.d be great if anybody can help me...
thx tobby
Reply
#2
You should try like this, maybe it helps:

srcds.exe -game cstrike +exec server1.cfg +mapcyclefile +map de_dust -maxplayers 15 +ip XXX.XXX.XXX.XXX -port 27065

enter
+mapcyclefile mapcycle2.txt
and
+motdfile motd1.txt

in server1.cfg
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#3
can u tell me in wich form i have to enter it into the server.cfg?

is it unimportant whre i put it in.. and in wich form ..

or do i have to make it like this?

example:

exec mapcycle.txt
exec motd.txt
Reply
#4
ok its not working... is there a way to not let the srcds.exe with the start server button let pop up.
I mean start the server over the command window and only over the command window without the classic green srcds.exe?

maybe that helps getting through this.
the problem is it takes a port wich it wants and not the one im giving it.

The mapcycle is working but not how it should. Maybe its really better to run em under linux but there i have the problem that im always getting memory errors at least after 3 days and all servers are down.

I was running 5 servers there. Its an athlon 64 3500+ with 2 GBs of ram.
Normally the servers were filled with bots.
Maybe me can be helped here..

P.S.: Sorry for my bad english Sad
Reply
#5
if you want the server to run on console mode, add "-console" to the cmd line. If you are still starting it with the gui, that may be why it isn't taking the cmd line switches.
Reply
#6
can u give me an example for the commandline?
Would be nice to know where in the command it have to be posted ^^

Would be great thx
Reply
#7
It doesn't really matter where it is at, you can put it pretty much anywhere. Just as long as its in there. I usually though put it up front behind the game, something like this

srcds.exe -game cstrike -console +exec server1.cfg +mapcyclefile +map de_dust -maxplayers 15 +ip XXX.XXX.XXX.XXX -port 27065

but I also at one time had it at the very end, so it really doesn't matter.
Reply
#8
commandline can be done in any order you like, they are all instant on startup, hence why they are called startupline commands every now and then.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#9
Drocona Wrote:commandline can be done in any order you like, they are all instant on startup, hence why they are called startupline commands every now and then.

true dat
Reply
#10
ok the server started but didn not tested mani and the correct motd.
Also i did not checked the maplist config.

But looks good .. thx so far
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)