Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Suggestions and Feature Requests (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=21)
-   -   Level up every 12 hours? (http://www.mysidiaadoptables.com/forum/showthread.php?t=2307)

SilverDragonTears 08-16-2011 05:37 AM

Level up every 12 hours?
 
How can I change it so that adopts can be leveled up every 12 hours instead of 24?

Teshia 08-17-2011 01:09 AM

<3 I'm also interested in this. Age leveling would provide a lot of optional features that I like better than click leveling.

Hall of Famer 08-18-2011 09:31 AM

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.

SilverDragonTears 08-18-2011 02:55 PM

ummm... have a detailed way of doing this? :D

Chibi_Chicken 08-19-2011 03:27 AM

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.


All times are GMT -5. The time now is 06:38 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.