Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2013, 05:40 AM
demoness demoness is offline
Member
 
Join Date: Mar 2013
Posts: 15
Gender: Female
Credits: 2,602
demoness is on a distinguished road
Default Breeding question

Why I can breed pets only with one male from all my pets? They all have same type but I can choose for breeding only one male -_-
Reply With Quote
  #2  
Old 03-15-2013, 06:02 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,505
Hall of Famer is on a distinguished road
Default

Well this is not possible at this point, you need a male and a female. It will need a bit of code revision to achieve asexual reproduction.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 03-15-2013, 06:07 AM
demoness demoness is offline
Member
 
Join Date: Mar 2013
Posts: 15
Gender: Female
Credits: 2,602
demoness is on a distinguished road
Default

No, I mean different thing xD I say that in breeding section I can choose all of my females but from males is available only the newest one
Reply With Quote
  #4  
Old 03-15-2013, 06:12 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,505
Hall of Famer is on a distinguished road
Default

Oh I see, sorry. Your adoptables need to be at or above the required breeding level, so chances are your other male pets do not meet this criteria. Also if you have already bred an adoptable, it wont be available for further reproduction until a certain amount of time elapses.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #5  
Old 03-15-2013, 06:35 AM
demoness demoness is offline
Member
 
Join Date: Mar 2013
Posts: 15
Gender: Female
Credits: 2,602
demoness is on a distinguished road
Default

Hm.. All adoptables is able to breed, I checked it twice) Maybe something wrong in code?

PHP Code:

   
// First let's show available female adoptables
   
$stmt $mysidia->db->select("owned_adoptables", array(), "owner = '{$mysidia->user->username}' AND gender = 'f' AND currentlevel >= {$mysidia->settings->breedinglevel} AND lastbred <= '{$lastweek}'");
   if(
$stmt->rowcount() == 0$mysidia->page->addcontent($lang->female);
   else{     
      
$femaleform "<p>Female: <select name='female'>";
      while(
$row $stmt->fetchObject()) {
         
$femaleform .= "<option value='{$row->aid}'>{$row->name} ({$row->type})</option>";
      }
      
$femaleform .= "</select></p>";
      
$mysidia->page->addcontent($femaleform);
   }
   
   
// Then show available male adoptables
   
$row $mysidia->db->select("owned_adoptables", array(), "owner = '{$mysidia->user->username}' AND gender = 'm' AND currentlevel >= {$mysidia->settings->breedinglevel} AND lastbred <= '{$lastweek}'")->fetchObject();
   if(!
is_object($row)) $mysidia->page->addcontent($lang->male);
   else{
      
$maleform "<p>Male: <select name='male'>
                  <option value='
{$row->aid}'>{$row->name} ({$row->type})</option>";                  
      while (
$row $stmt->fetchObject()) {
         
$maleform .= "<option value='{$row->aid}'>{$row->name} ({$row->type})</option>";
      }
      
$maleform .= "</select></p>";
      
$mysidia->page->addcontent($maleform);
   } 
Reply With Quote
  #6  
Old 03-15-2013, 06:38 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,505
Hall of Famer is on a distinguished road
Default

Nope theres nothing wrong with the code, especially if you have just installed a fresh copy. What is your minimum breeding level for adoptables? Did you check carefully that your other male adoptables are indeed capable of breeding?
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #7  
Old 03-15-2013, 09:32 AM
demoness demoness is offline
Member
 
Join Date: Mar 2013
Posts: 15
Gender: Female
Credits: 2,602
demoness is on a distinguished road
Default

Minimal level for breeding is 1(

For example I have 3 pets: 1 female and 2 males, all have same type, all have 1 level.



But for breeding available only 1 male:



I don't even know what to check more -_-
Reply With Quote
  #8  
Old 03-15-2013, 10:05 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,505
Hall of Famer is on a distinguished road
Default

umm this is weird, and you are sure that you have not bred Miami before? You can check this by going to database table prefix.owned_adoptables. Use phpmyadmin to check the last column 'lastbred', if there is a nonzero value for Miami you may have bred him before so you have to wait.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #9  
Old 03-15-2013, 11:02 AM
Kamalya's Avatar
Kamalya Kamalya is offline
Member
 
Join Date: Jan 2013
Posts: 48
Gender: Female
Credits: 5,542
Kamalya is on a distinguished road
Default

If the "type" is different then they cant breed also, like a rat type and a cat type can not breed.
__________________
Reply With Quote
  #10  
Old 03-15-2013, 12:54 PM
demoness demoness is offline
Member
 
Join Date: Mar 2013
Posts: 15
Gender: Female
Credits: 2,602
demoness is on a distinguished road
Default

There are 0 and type is same oh, Ill try to reinstall xD
Reply With Quote
Reply

Thread Tools
Display Modes

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
Breeding Feature Question ChocolateFate Questions and Supports 7 04-08-2012 12:54 AM
Random breeding outcome/ rare breeding SilverDragonTears Questions and Supports 0 03-25-2012 02:33 AM
Two adopts breeding question SilverDragonTears Questions and Supports 2 12-07-2011 05:31 PM
Question about breeding Abronsyth Questions and Supports 9 08-28-2011 12:06 AM
breeding Ruffsta Feedback and Suggestions 3 06-06-2011 04:09 PM


All times are GMT -5. The time now is 02:34 PM.

Currently Active Users: 453 (0 members and 453 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