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
  #21  
Old 11-06-2009, 02:18 PM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 26,672
Arianna will become famous soon enough
Default RE: Breeding System - Complete!

I'm sorry, I've been busy. I can try and troubleshoot, though.
Maybe, try changing it back to breeding.php. There may be some file links, which could be disrupting it. :)
Have you installed the gender system/given existing pets genders? I had to do it manually, by making the default value 'female', then changing the rest to male.
Reply With Quote
  #22  
Old 11-06-2009, 02:38 PM
SieghartZeke SieghartZeke is offline
Member
 
Join Date: Oct 2009
Posts: 149
Credits: 12,349
SieghartZeke
Default RE: Breeding System - Complete!

err i dont have complted the gender system because in a part,when ichanged the code i can managae the new charatcer!
Reply With Quote
  #23  
Old 11-06-2009, 02:48 PM
Seapyramid Seapyramid is offline
Premium Member
 
Join Date: Feb 2009
Posts: 373
Gender: Female
Credits: 17,957
Seapyramid
Default RE: Breeding System - Complete!

Quote:
Originally Posted by SieghartZeke
err i dont have complted the gender system because in a part,when ichanged the code i can managae the new charatcer!
That is why you are getting the error then. the script is looking for the gender in the database & it's not there.
Reply With Quote
  #24  
Old 11-06-2009, 04:34 PM
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: 484,451
Hall of Famer is on a distinguished road
Default RE: Breeding System - Complete!

I installed this addon, and get the two warnings below:

Quote:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in public_html/adoption/breeding.php on line 81

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in public_html/adoption/breeding.php on line 99
Dunno if the breeding system will still work. XD
Reply With Quote
  #25  
Old 11-07-2009, 06:03 AM
SieghartZeke SieghartZeke is offline
Member
 
Join Date: Oct 2009
Posts: 149
Credits: 12,349
SieghartZeke
Default RE: Breeding System - Complete!

But when i add a code,4 the gender, i dont show the new adoptable!
And 4 the Sql ,i dont know where to put ...and what put.....
Reply With Quote
  #26  
Old 11-07-2009, 09:16 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 26,672
Arianna will become famous soon enough
Default RE: Breeding System - Complete!

I don't get what you're trying to say now... Are you saying you're having problems with this code, or with the gender code?
Why don't you just add the gender table, give the pets genders, and see if the breeding system works. Then we can work on the inserting into the table/
Reply With Quote
  #27  
Old 11-07-2009, 12:06 PM
SieghartZeke SieghartZeke is offline
Member
 
Join Date: Oct 2009
Posts: 149
Credits: 12,349
SieghartZeke
Default RE: Breeding System - Complete!

No with the breeding no....is the gender that give me problem!
When i add this code:

Code:
mysql_query("INSERT INTO ".$prefix."owned_adoptables VALUES ('', '$type', '$name','$loggedinname','0','0', '$code', '','$alts','notfortrade','no','$gender')");
The character that i adopt say that is not in the database...and sorry 4 the bad grammar but im italian and i have so many problme to traslate the word that i say.....

Then......i need to add a new table in owned adoptable...but i dont know what i need to put!
Reply With Quote
  #28  
Old 11-07-2009, 12:16 PM
Seapyramid Seapyramid is offline
Premium Member
 
Join Date: Feb 2009
Posts: 373
Gender: Female
Credits: 17,957
Seapyramid
Default RE: Breeding System - Complete!

Adding a row to a table is quite easy & in the Breeding system it is listed how to set it. Please, just try to read and learn a bit so that you can understand at least some of what you are told. http://www.w3schools.com/PHP/php_mysql_intro.asp

Sea
Reply With Quote
  #29  
Old 12-17-2009, 10:29 PM
Ashje Ashje is offline
Member
 
Join Date: Jan 2009
Posts: 179
Credits: 12,524
Ashje
Default RE: Breeding System - Complete!

Hi, Thank you for posting this. It's excellent. My problem is that once an egg is successfully bread ( is that the past tense of breed? Bread? Not the food bread T.T) it isn't transferred to the user's account. The only edit I've made is changing the required levels from 2 to 0. If you have time, could you please help? Oh and I'm using your gender system as well. Also very awesome.

Thanks,
Ashje =D
Reply With Quote
  #30  
Old 12-18-2009, 12:44 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 26,672
Arianna will become famous soon enough
Default RE: Breeding System - Complete!

Cool! I don't know why - why don't you try this. After where it's supposed to insert it, write:
PHP Code:
$article_content $article_content $query
This will allow you to see your query, and check if something is going wrong. Maybe you don't have the same number of columns as I do (I have a date column, too) so you might want to check that.
==
Lol, I just noticed that we don't do that in the query. If you put it in an external string, you can echo it. For now, try removing '$date', from the sting.
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 08:28 PM.

Currently Active Users: 1085 (0 members and 1085 guests)
Threads: 4,081, Posts: 32,029, 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