View Single Post
NeoMatrix99
New Member
Join Date: Feb 2008
Old 02-29-2008 , 01:15   Re: Random Map for server startup
Reply With Quote #6

I guess I can put in a define so if someone doesn't want to or can't change the command line it will issue a changelevel but otherwise will do it this way. I'll have to find a way of detecting whether this is the first map of the server or not but thats easy enough. Will have to wait till I get home for changes to be put in. Atm it simply reads the history file (unless set not to) and the randommap.txt every mapchange and writes the new random map to randommap.cfg

This will have to instead detect if this is the first map, choose a new map, and then change.

My original method was adopted because we have startup crash issues on 187combat which is on a linux box and I didn't want to add to the problem.

Will also make a change to the hardcoded paths.
NeoMatrix99 is offline