Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Mys v1.1.x Mods

Notices

Reply
 
Thread Tools Display Modes
  #11  
Old 01-31-2011, 09:51 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,867
fadillzzz is an unknown quantity at this point
Default

Quote:
Originally Posted by DragonTamerChris View Post
Maybe a code that makes people have to also wait a certain amount of time before their adopt can become an egg/hatchling/adult?
I'm working on it...
Wish me luck!
Reply With Quote
  #12  
Old 01-31-2011, 09:57 AM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 64,565
Missy Master is an unknown quantity at this point
Default

maybe?? checking that out too! :)



http://www.php.net/manual/en/function.sleep.php
Reply With Quote
  #13  
Old 01-31-2011, 09:03 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,867
fadillzzz is an unknown quantity at this point
Default

Quote:
Originally Posted by Annatar View Post
maybe?? checking that out too! :)



http://www.php.net/manual/en/function.sleep.php
No, that won't do..
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
Reply With Quote
  #14  
Old 02-10-2011, 11:34 AM
PokePets PokePets is offline
Premium Member
 
Join Date: Jun 2010
Posts: 228
Gender: Male
Credits: 22,554
PokePets
Default

Question; where to place this in your doadopt when i use this mod =S?
http://mysidiaadoptables.com/forum/s...ead.php?t=1783
Reply With Quote
  #15  
Old 02-11-2011, 05:59 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 57,721
RoconzaArt is an unknown quantity at this point
Default

I'd like to know as well.
__________________
Reply With Quote
  #16  
Old 02-13-2011, 03:41 AM
PokePets PokePets is offline
Premium Member
 
Join Date: Jun 2010
Posts: 228
Gender: Male
Credits: 22,554
PokePets
Default

I've send him a PM...
Reply With Quote
  #17  
Old 02-14-2011, 12:09 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,867
fadillzzz is an unknown quantity at this point
Default

Quote:
Originally Posted by RoconzaArt View Post
I'd like to know as well.
I don't see why it's hard to install this mod if you have the 'Secure Random Adoption' mod installed. I've looked at Pokepets's .php file and I can easily find where to place the necessary code to install this mod.

All you have to do is just find this code in doadopt.php & doadoptab.php

PHP Code:
if($aid == "" or !is_numeric($aid)){

$article_title $err_idnoexist;
$article_content $err_idnoexist_text;


Below that, add this code
PHP Code:
$result mysql_query("SELECT * FROM ".$prefix."owned_adoptables WHERE owner='".$loggedinname."' AND currentlevel='0'");
$num mysql_num_rows($result);

if(
$num >= 5){
$canadopt "no";
$article_title "Too many eggs!";
$article_content "You already have too many eggs!";

Send me a PM if you're still having some problems to install this mod. I'll be gladly to help you out.
Reply With Quote
  #18  
Old 04-03-2011, 07:37 PM
Slix's Avatar
Slix Slix is offline
Member
 
Join Date: Jun 2010
Posts: 14
Credits: 2,593
Slix
Default

Thanks for this mod! I added it to the breeding page as well.
__________________
Poliwager ~ Pokémon Forums ~ Adopt a Pokémon

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 08:27 PM.

Currently Active Users: 952 (0 members and 952 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636