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
  #51  
Old 01-22-2010, 01:36 PM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,313
Arianna will become famous soon enough
Default RE: Breeding System - Complete!

Quote:
Originally Posted by mapleblade
maybe ill make in the future a nod on this mod to let the eggs breed once, im not sre if its gonna succeed but ill maybe gonna try :D
I have no idea what you mean.

Roconza, I guess you could. I don't have time to make it, maybe you can get someone else to try for you.
Reply With Quote
  #52  
Old 01-23-2010, 12:16 AM
Seapyramid Seapyramid is offline
Premium Member
 
Join Date: Feb 2009
Posts: 373
Gender: Female
Credits: 15,590
Seapyramid
Default RE: Breeding System - Complete!

Quote:
Originally Posted by Roconza
Ok, here is a question that has to do with the above asked question:

Can I in theory make a "group" if you will as a new attribute like "gender" or "species" and tell the script instead of species the parents from this "group" can breed despite species and produce a egg that's a random choice of the one of the parents species?

I want to try this out it should work in theory but my php skill are very limited.
basically you would have to make a new table with say 1-10 being possible for 1xb breeding ... 11-20 being possible for yxz breeding.. then set up limits on a random for each breeding pair possible... thne set those randoms to the ids in the table.. then when a randon is right have it insert into the owned_adoptables table...


Have Fun :)
Reply With Quote
  #53  
Old 01-29-2010, 12:26 PM
Quillink Quillink is offline
Member
 
Join Date: Dec 2008
Posts: 93
Credits: 11,296
Quillink
Default RE: Breeding System - Complete!

Quote:
Originally Posted by Seapyramid
Quote:
Originally Posted by Roconza
Ok, here is a question that has to do with the above asked question:

Can I in theory make a "group" if you will as a new attribute like "gender" or "species" and tell the script instead of species the parents from this "group" can breed despite species and produce a egg that's a random choice of the one of the parents species?

I want to try this out it should work in theory but my php skill are very limited.
basically you would have to make a new table with say 1-10 being possible for 1xb breeding ... 11-20 being possible for yxz breeding.. then set up limits on a random for each breeding pair possible... thne set those randoms to the ids in the table.. then when a randon is right have it insert into the owned_adoptables table...


Have Fun :)
Wouldn't adding a "group" column to the owned_adoptable table and a random number generator in the breeding script work just as well?

E.g.
  • if ($dadgroup == $momgroup){

    $pickspecies = rand(1,2);
    if $pickspecies = 1 { $babyspecies = $dadspecies }
    else { $babyspecies = $momspecies }

    }
    else{
    return die("What were you thinking?? A walrus and a DUCK??")
    }


Btw, do NOT copy/paste this. This is NOT real php, just an example. :P
Real php syntax would take me a lot longer to write - time I don't like to use at 2:30am. :S
Reply With Quote
  #54  
Old 02-06-2010, 02:22 PM
Szymon Szymon is offline
Member
 
Join Date: Feb 2010
Posts: 8
Credits: 183
Szymon
Default RE: Breeding System - Complete!

can anybody re-upload? please i've got problem with breeding.php and funstions.php :|
Reply With Quote
  #55  
Old 03-30-2010, 06:42 AM
SieghartZeke SieghartZeke is offline
Member
 
Join Date: Oct 2009
Posts: 149
Credits: 10,138
SieghartZeke
Default RE: Breeding System - Complete!

Why when i do the breeding,a nd i go to manage i dont show the new pet???
Reply With Quote
  #56  
Old 05-17-2010, 10:02 AM
Missy Master's Avatar
Missy Master Missy Master is offline
Pet-Sim.Online
 
Join Date: Jan 2010
Posts: 475
Gender: Unknown/Other
Credits: 45,283
Missy Master is an unknown quantity at this point
Default RE: Breeding System - Complete!

I'd like to do something where there is like a 2 day "pregnancy" that happens before the new egg goes to the hatchery.

I think its a matter of applying a timing to this, but I am not sure how to do it--- and everything I have read is making it more confusing for me.

So basically, the result would be the egg/baby still, but only after a certain time frame, and not instantly!

Possibly the pregnant pets would have a special designation too, or whatever, so you could mark them.

thanks for the help, I have an idea how to do it, just adding timing, but not sure at all how to do it.
Reply With Quote
  #57  
Old 07-26-2010, 09:57 AM
PokePets PokePets is offline
Premium Member
 
Join Date: Jun 2010
Posts: 228
Gender: Male
Credits: 19,360
PokePets
Default RE: Breeding System - Complete!

There is missing a part of the code.
Enter this;
PHP Code:
mysql_query("INSERT INTO ".$prefix."owned_adoptables VALUES ('', '$type', '$name','$loggedinname','0','0', '$code', '','$alts','notfortrade','no','$gender')"); 
After this;
PHP Code:
// Now we actually process the adoption and add it to the database...
// We need a unique code for the adoptable so we can show it to the user when we're done here...

$code rand(120000); 
;)
So works it fine for me.
Reply With Quote
  #58  
Old 08-06-2010, 11:45 AM
myadopts myadopts is offline
Member
 
Join Date: Aug 2010
Posts: 6
Credits: 427
myadopts
Default RE: Breeding System - Complete!

sorry...i have a question.....How do you make a pet male or female...or do you just fake it..or not add it?
Reply With Quote
  #59  
Old 08-06-2010, 12:18 PM
PokePets PokePets is offline
Premium Member
 
Join Date: Jun 2010
Posts: 228
Gender: Male
Credits: 19,360
PokePets
Default RE: Breeding System - Complete!

It's. set automatic.
Look at the post of tommyk1210;
http://www.rusnakweb.com/forum/showthread.php?tid=1367&highlight=gender

or do you mean that some adoptable only can be male/female/ etc. ?
Reply With Quote
  #60  
Old 08-07-2010, 09:21 AM
myadopts myadopts is offline
Member
 
Join Date: Aug 2010
Posts: 6
Credits: 427
myadopts
Default RE: Breeding System - Complete!

oh..ill insert the code I get it know thanks:D ill give credit if i use it
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
Installation Complete: Site is Completely Blank? Bhavani Questions and Supports 3 09-14-2014 06:43 PM
a more advanced breeding system needed maximillion Questions and Supports 11 06-28-2011 02:37 PM
Help me with the breeding system of Arianna Sensacionsk8 Questions and Supports 2 03-21-2011 11:54 AM
Breeding System Steelghost600 Questions and Supports 4 10-25-2009 02:38 PM
How to make a breeding System? SieghartZeke Questions and Supports 23 10-19-2009 06:11 PM


All times are GMT -5. The time now is 03:24 PM.

Currently Active Users: 9286 (0 members and 9286 guests)
Threads: 4,080, Posts: 32,024, 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