ID:158976
Jun 3 2009, 10:36 am
|
|
Would it be possible to have a time limit on a game (like a month) and then when it reached a certain date the server would shut itself down?
|
In response to ANiChowy
|
|
Hmm, thank you.
|
One way would be to set a variable on world start and count down from there, or record the world's time and compare it every so often with the closing date. Though there's probably a lot of better alternatives like reading a file from outside of the game, or something. I'm sure someone else will detail a really great method for this later in the thread.
I'm not really sure if things like this are suited in either Design Philosophy or Developer How-To. But I guess it could fit in both.