Someone know how to make a simple breeding system, because i want that you put a female character and a male character into like an "house" and wait some minute for get the new character....
btw i'm sorry it's taken so long but i've only had 4 hours to work on it total because of stupid homework but hopefully i can take a big chunk of Saturday and most of Sunday to work on this
and if you have an msn or yahoo or something we could chat and i could give you up to date information on how far i am
btw (your prefix) is written like: prefix
lets say my refix is adopts, then if i were searching for (your prefix)_adoptables i would put adopts_adoptables
1) follow the mySql instructions at the bottem
2) go edit adopt.php and search for
PHP:
<input type='submit' name='Submit' value='Create This Adoptable'>
mysql_query("INSERT INTO ".$prefix."adoptables VALUES ('', '$name',
'$description','$eggimage','$cba','$promocode', '$freqcond',
'$number','$datecond','$date','$adoptscond','$maxnumcond','$morethannum','$usergr
upcond','$usergroups','$alternates','$altoutlevel','$altchance')");
8) in between
PHP:
'$altchance'
and
PHP:
)");
put
PHP:
,'$breedid','$breedfactor'
9) upload the breed.php file at the bottem
mySql instructions
1) go to php admin and go to the database you made for your adoptable script
2) find (your prefix)_adoptables
3) press SQL, take out
PHP:
SELECT * FROM `(your prefix)_adoptables` WHERE 1
and put in
PHP:
TABLE `(your prefix)_adoptables` ADD `breedid` INT( 12 ) NOT NULL ,
ADD `breedfactor` INT( 12 ) NOT NULL ;