ID:172691
![]() Apr 7 2004, 10:31 pm
|
|
Hi me and my friend was planning on makeing a RPG game and haveing a surver up like 24/7 I was wondering if there was a code for an auto boot everey 24 houres.
|
Well in programming terms, there is no such thing as anything being auto matic (as with "the code"). All I can say is 24 hours is aproximatly: 6840000 ticks.
|
Wanabe wrote:
Well in programming terms, there is no such thing as anything being auto matic Read this http://dictionary.reference.com/search?q=automatic and think about what you just wrote. |
the procedure will then wait for 24 hours (10ticks * 60sec * 60mins * 24hours) that will call world.Reboot()