#1
|
||||
|
||||
Level up every 12 hours?
How can I change it so that adopts can be leveled up every 12 hours instead of 24?
|
#2
|
||||
|
||||
<3 I'm also interested in this. Age leveling would provide a lot of optional features that I like better than click leveling.
|
#3
|
||||
|
||||
Well the best way to accomplish this is to use cronjob. A mark will be placed on your adoptables once it is clicked, and it is removed after 12 hours. If you have PHP 5.3.x, then congratulations, you can manipulate date calculation functions such as "date add", which makes your life much easier. It is recommended only for advanced users with at least VPS hosting package.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#4
|
||||
|
||||
ummm... have a detailed way of doing this? :D
|
#5
|
|||
|
|||
one tutorial that I found was
http://net.tutsplus.com/tutorials/ph...bs-with-php-2/ I know the kitto script used them to check if the pets were hungry or not, you can look and see how that works and try and adapt it for pets levels. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PHP upgrade, site/forum may be down for hours | Hall of Famer | Mysidia Adoptables Official Announcement | 0 | 01-04-2013 07:46 AM |
Wait 4 hours to abandon? | SilverDragonTears | Questions and Supports | 2 | 10-30-2011 03:11 PM |
Max level? | kristhasirah | Questions and Supports | 2 | 09-14-2011 01:41 PM |
Max level? | RipJawWolfFang | Questions and Supports | 1 | 04-17-2009 09:13 AM |
max level | trainerluke | Questions and Supports | 11 | 04-16-2009 01:09 AM |
What's New? |
What's Hot? |
What's Popular? |