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. |
Looks very nice. :smile: It's nice to see such a wide range of mods. I think this mod will be particularly useful to prevent people from hogging. :wutno:
|
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'.
|
I requested this mod about a week ago. :veeee:
I like it. :pleased: As Kae said, it's good to prevent people from hogging adopts. |
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.
|
Well it depends how hard it is to get past the egg stage I assume O.o
Lolz I'd add it but I just realized my site has no egg stages XD Or it could be used to say above this level (lvl 5=15 clicks sounds good) Hm....*ponders* |
On the site I would use it on it takes 15 clicks to get out of the egg stages since all babies hatch at lvl 5 or in some rare cases lvl 4.
|
Quote:
|
Quote:
I know there is a 'decay' thing for php, no idea how to get it to go in reverse or sideways hahah ... |
Currently searching here for a way to delay egg/baby insertions!
http://us2.php.net/manual/en/function.strtotime.php |
All times are GMT -5. The time now is 12:59 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.