Dead Men Walking

Forum Archive 2023 => Games of old that no longer float our boat........ => dMw Gaming => Gaming Archive => Counter Strike 1.5 => Topic started by: JonnyAppleSeed on June 02, 2003, 12:52:12 PM

Title: Setting up my own server
Post by: JonnyAppleSeed on June 02, 2003, 12:52:12 PM
i have found when setting up my own  server for practice that i have no way of getting a map rotation or setting up the server without doing by the manual method

Is there a way to set this up so i dont have to do it each time i make a server

Answers on a postcard plz  :lol:
Title: Setting up my own server
Post by: sheepy on June 02, 2003, 12:59:41 PM
u have to run scripts i think, why not pm doggers and ask for the mh one
Title: Setting up my own server
Post by: OldBloke on June 02, 2003, 01:01:38 PM
You need to run the dedicated server  - hlds.exe

This will look for a file called mapcycle.txt

Take a gander here:

http://server.counter-strike.net/ (http://server.counter-strike.net/)
Title: Setting up my own server
Post by: Anonymous on June 02, 2003, 01:16:44 PM
Assuming I have understood you correctly (no guarantees) you need to:

1. add "mapcyclefile mapcycle.txt" to your server.cfg.

2. Place map names you want in the rotation in this file, one per line.

My server.cfg has the following:

//================
// Server Config File
//================
//servercfgfile servernet.cfg
//mapcyclefile mapcycle.txt
//mapcyclefile lotr.txt
//mapcyclefile assault.txt
mapcyclefile testing.txt

and I can swap rotation maps by adding/removing the //'s followed by a quick reload :)

as an example, testing.txt contains the following entries:

de_cablecanyon
de_theatre
escher11

To generate a quick maplist of all maps do the following:

go to the maps folder using a command prompt and type:

dir *.bsp > maps.txt

However, if your command window supports it, it is better to type:

dir /b *.bsp > maps.txt

as that only gives filenames not the other junk.

You can edit maps.txt in a text editor. Then all you have to do is copy that file to your cstrike folder and refer to it in server.cfg as per above.

Don't forget that you MUST call one of the maps in the list or you server won't start properly so I add "+map de_cablecanyon" to the command line.

You may also be able to do some of the above with AMConfig (http://www.amconfig.com (http://www.amconfig.com)) which is freely available but I don't like it :-(
Title: Setting up my own server
Post by: JonnyAppleSeed on June 02, 2003, 02:08:44 PM
Ahh it looks like i can only do i then on a dedicated server....not a prob i need the typing practice anyway......i tend to prctice against bots alot and this would have saved me the hassle of autoteambalance ect ect

thx for the fast response