SRCDS Steam group


Multiple Map Cycles
#1
Question 
Im sorry if this has been posted before but I am unable to find it here...is there anyway to load a map cycle, so you can have a config file that when loaded sets the map cycle to dust/dust2 therefor having a dedicated dust server?

Is it possible in mani? Or in a config? Thanks Cool
Reply
#2
If you only want your server to run dust/dust2, only put those 2 map names in the mapcycle.txt file.
Reply
#3
But if you want a dust/dust2 map cycle for only some of the time, you cant switch between map cycles? As in loading through a config file?
Reply
#4
I think you will have to restart your server for a new mapcycle.
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
#5
I heard there was a way to have the server switch to another map cycle once the server has x amount of people. Such as one map list when the server is at 0-10 people, and then once the server reaches 11-20 people, go to this other map cycle.

I don't exactly know how, but if I find it I will tell you. I'm sure you can switch the conditions around to fit your needs.
Reply
#6
Well, I think that you would be able to create a script that would at noon copy maplist1.txt to mapcycle.txt, then at midnight copy maplist2.txt to mapcycle.txt. I believe that after you copy the files, you would have to server restart. If you use Mani, it has a crontablist.txt file that can be set to execute commands at specific times, or ServerChecker can restart server at given times. I hope this is helpful, even though I didn't write the script...I don't think it would be that hard.
Reply
#7
Ok, I did it on mine just to see if it would work....and it did. Do like I said above, create 2 maplist files, then create 2 bat files with commands to copy the maplist to mapcycle.txt. Then you can execute the bat files at specific times either by windows task scheudler, windows "at" command, or if on linux use your cron.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)