Setting up my own server

Started by JonnyAppleSeed, June 02, 2003, 12:52:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JonnyAppleSeed

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:
It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shakes, the shakes become a warning. It is by caffeine alone I set my mind in motion


sheepy

u have to run scripts i think, why not pm doggers and ask for the mh one
[quote=smilodon;228785]
Sheepy appears and begins to stroke my head. According to his slurred drunken speech I am "lovely and like a fuzzy felt". Thankfully he soon leaves and passes out somewhere. [/quote]

OldBloke

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/
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

Anonymous

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) which is freely available but I don't like it :-(

JonnyAppleSeed

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
It is by caffeine alone I set my mind in motion. It is by the beans of Java that thoughts acquire speed, the hands acquire shakes, the shakes become a warning. It is by caffeine alone I set my mind in motion