|
#1
|
|||
|
|||
Limit Adopted Eggs
This mod will limit how many eggs the users can have before they can adopt more adoptables.
Open your doadopt.php find this code PHP Code:
PHP Code:
Note: I'm not sure if setting the $canadopt to no is necessary to make it more secure, but I put it there anyways just in case if things happen. Do the same thing with doadoptab.php so that they can't cheat by abandoning the adoptables and adopt more from the adopt.php then readopt the abandoned from the abandon.php If you encounter any problem with this mod, post it here. |
#2
|
||||
|
||||
Looks very nice. It's nice to see such a wide range of mods. I think this mod will be particularly useful to prevent people from hogging.
|
#3
|
||||
|
||||
Nice mod, sounds like a very nice fix for many users. For those who have egg levels above lv.0, simply change the part currentlevel='0' to anything you want, such as currentlevel<'3'.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#4
|
||||
|
||||
I requested this mod about a week ago.
I like it. As Kae said, it's good to prevent people from hogging adopts. |
#5
|
||||
|
||||
I'm debating adding this do to one problem good old Hydra. I'm worried people will hydra there animals or create a bunch of dummy accounts to get around it.
|
#6
|
||||
|
||||
Maybe a code that makes people have to also wait a certain amount of time before their adopt can become an egg/hatchling/adult?
|
#7
|
||||
|
||||
Quote:
I know there is a 'decay' thing for php, no idea how to get it to go in reverse or sideways hahah ... |
#8
|
|||
|
|||
Quote:
Wish me luck! |
#9
|
||||
|
||||
|
#10
|
|||
|
|||
Quote:
the sleep function will delay the execution of a PHP script which means the page will took more time to load making your site looks really slow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
limit adopted eggs | kristhasirah | Questions and Supports | 9 | 04-19-2015 10:13 AM |
Is there a Limit adopted eggs for 1.3.2? | Infernette | Questions and Supports | 6 | 02-08-2013 02:20 PM |
Last adopted? | Xius | Questions and Supports | 2 | 05-17-2009 04:14 PM |
Adopted by certain user levels... | densaugeo | Questions and Supports | 11 | 04-21-2009 04:33 PM |
change the "You just adopted a ..." code output | LilPixie | Questions and Supports | 2 | 02-14-2009 07:41 PM |
What's New? |
What's Hot? |
What's Popular? |