Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

MuCore reset check

Status
Not open for further replies.
Initiate Mage
Joined
Jul 5, 2014
Messages
60
Reaction score
0
Hello Guys !
I've got a question about Reset stop system, I mean i want to do that I can make reset every 40hours, so what i must to do, and where?
MuCore1.0.8
Thanks for any Help !
 
Initiate Mage
Joined
Jul 5, 2014
Messages
60
Reaction score
0
Because i want to make somethink like "stopper" to able make reset every 40hours
 
Upvote 0
Custom Title Activated
Member
Joined
Dec 5, 2009
Messages
2,657
Reaction score
1,178
Hello Guys !
I've got a question about Reset stop system, I mean i want to do that I can make reset every 40hours, so what i must to do, and where?
MuCore1.0.8
Thanks for any Help !

Make Reset_Date column to save time, every reset insert time() there, then add a check
PHP:
if ( (Last_Reset + 40 hours) > time() )
= Close code, show message/hint/error/or time left b4 next rr.

If you have no idea what i mean, u'll have to wait for Santa Claus or hire a coder.
 
Upvote 0
Status
Not open for further replies.
Back
Top