Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#11
|
||||
|
||||
my doadopt.php looks like this:
Code:
$code = rand(1, 20000); $genders = array('f', 'm'); $rand = rand(0,1); $petgender = $genders[$rand]; switch($petgender){ case "f": $alts = "yes"; break; default: $alts = "no"; } |
#12
|
||||
|
||||
Well then, remove the alternate gender mod codes you've posted above, and replace with this:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#13
|
||||
|
||||
Thanks, is this just for alternate images or for the main adopt?
|
#14
|
||||
|
||||
For main adopt I think.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#15
|
||||
|
||||
That's perfect =D Exactly what I need!
|
#16
|
||||
|
||||
I some how did some thing wrong and it's not creating the adoptable. I can't tell if it this or a evolution mod.The adopt shows up in the adopt page but when I go to adopt it, it will not add the adopt to my account.
Last edited by RoconzaArt; 09-12-2011 at 07:33 PM. |
#17
|
||||
|
||||
Well are you like unable to create new adoptables through ACP, or that you cannot adopt new pets? Chances are your database structures in prefix.adoptables and prefix.owned_adoptables are messed up, please show me what you get from phpMyadmin. I do not believe the evolution system will cause any problem like that, since it does not really modify any existing tables or columns.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#18
|
||||
|
||||
|
#19
|
||||
|
||||
Well did you follow the instruction I provided? The tables look fine, you will need to go to nadopt.php and find this line:
PHP Code:
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#20
|
||||
|
||||
I did what you said and it's still not working.
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.4 Gender Ratio Mod for Mys v1.3.4 | Hall of Famer | Mys v1.3.x Mods | 14 | 06-17-2020 08:20 PM |
Mys v1.3.3 Gender Ratio Mod for Mys v1.3.3 | Hall of Famer | Mys v1.3.x Mods | 17 | 05-23-2019 04:34 PM |
Mys v1.3.2 Gender Ratio Mod for Mys v1.3.2 | Hall of Famer | Mys v1.3.x Mods | 6 | 01-08-2013 03:02 PM |
Mys v1.3.1 Gender Ratio Mod for v1.3.1 | Hall of Famer | Mys v1.3.x Mods | 15 | 08-17-2012 04:25 AM |
Hall of Famer's gender ratio system | Hall of Famer | Mys v1.1.x Mods | 34 | 01-25-2011 02:19 AM |
What's New? |
What's Hot? |
What's Popular? |