X Days Before Evolution

Forum
Last Post
Threads / Messages
I'm developing a new mod to prevent adoptables from evolving before a certain time has been passed. I think I've managed to get it working, but I'm still not sure whether if it is bug free or not. I'll be doing more testing before releasing this as a mod. If you're interested to test it yourself or maybe you have a suggestion for the mod, send me a PM.

Currently the mod will check if the next level of an adoptable has a different image, if it does, then the mod will check the current time minus X days and compare it with the time stored within the owned_adoptables table. If the stored time is lower, do the evolution. If not or if the next level has the same image, the mod will just update the total clicks of the adoptable. And if the time stored in the database is set to 0, the mod will update it with the current time before updating the total clicks.

------ Mod Details ------
Database Changes: Yes
--- Added a new column (timeevolve)
File(s) Modified: 3
--- doadopt.php
--- doadoptab.php
--- levelup.php
Mod Status: Released!
Tester: Myself
Bugs found: None at the moment
------ /Mod Details -------

Comments

There are no comments to display.
  • Forum Contains New Posts
  • Forum Contains No New Posts

Blog entry information

Author
fadillzzz
Views
191
Last update

More entries in Mysidia

More entries from fadillzzz

Forum statistics

Threads
4,277
Messages
33,120
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top