----- Original Message -----
From: "Stan Hoeppner" <[EMAIL PROTECTED]>
> So, if he's running 2 CS servers, on his target lines he would have
> something like these:?
>
> c:\half-life\hlds.exe -game cstrike
> c:\half-life\hlds.exe -game cstrike -port 27016 -servercfgfile server1.cfg
> -mapcyclefile mapcycle1.txt
>
> The 1st would default to the standard file names of server.cfg and
> mapcycle.txt, and the default port of 27015.  The 2nd is self explanatory.

You're correct.  I just like to be more consistent with my servers and
files.

> What about other shared files, such as the motd.txt, etc?  Or would he
> handle those in the server1.cfg file accordingly?  I would think he'd want
a
> 2nd motd file with the server name of the 2nd server in it.

Well, if you look at my last example lines again, you'll notice that the
third param is "+motdfile motd_27015.txt".  I believe that the rule of thumb
with parameters is that actual HLDS parameters such as "port" and "game" use
the "-" prefix while all commands used in console are prefixed with a "+".
So, in your example above, just change the "-servercfgfile" and
"-mapcyclefile" to "+servercfgfile" and "+mapcyclefile" accordingly. Maybe
Valve can verify this confusion.  Or, better yet, allow either the "+" or
"-" to be used for all parameters.

Ok, here is the list of parameters we have used during this thread:

-game <mod directory name>
-noipx <disable the IPX protocol which will eliminate the IPX check and
error>
-port <port used if not the default 27015>
+exec <filename of file to execute located in the mod directory>
+map <name of the map to start with located in the mod\maps directory>
+mapcyclefile <filename of the mapcycle.txt file located in the mod
directory>
+maxplayers <number of players to set as the maximum>
+motdfile <filename of the motd.txt file located in the mod directory>
+servercfgfile <filename of the server.cfg file located in the mod
directory>

You can put maxplayers into the server.cfg file if you like.  Also, I
believe that if you want the "+servercfgfile" to be used during the first
load, you have to do the "+exec" parameter with the same filename used in
the "+servercfgfile".


HoundDawg
http://www.phpGamingSite.com
http://www.unitedadmins.com
http://www.unitedadmins.com/hlbp


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to