Ulysses Stuff > Suggestions

Loading a random map when the server starts up

<< < (2/2)

Aaron113:

--- Quote from: Timmy on May 08, 2015, 12:34:43 AM ---Would such system load the server on a default map, check if it crashed, then load the map it was originally on?

Edit: I'm asking cause I think maps are loaded before Lua is. You wouldn't be able to manipulate this without loading the server twice. Correct me if I'm wrong though. :)

--- End quote ---
You are completely correct.  It is almost instant and hardly noticeable though.

JamminR:
Additionally, you could use a (batch cmd or shell depending on the OS your server is running on) script to read from a file created while server is running normally.

Megiddo:
Add a command to execute load_random_map.lua on your server shortcut/start-up script.

Tomzen:
This isn't quite what you want, but I've made this: http://forums.ulyssesmod.net/index.php/topic,8549.msg43938
You could easily convert it to do it on start up.

Navigation

[0] Message Index

[*] Previous page

Go to full version