#31
|
|||
|
|||
RE: Giving pets a Gender
i run this in the sql,but dont work!
what i need to do? change the code? INSERT INTO adopts_owned_adoptables VALUES gender and sorry when you dont understand what im saying,but im italian and for me is so hard make english word...... |
#32
|
||||
|
||||
RE: Giving pets a Gender
Don't worry - is there any way that you can manually insert it, via phpmyadmin or the like? 'Cause if you just insert "gender" there's no way of having an int variable and stuff like that.
|
#33
|
|||
|
|||
RE: Giving pets a Gender
Uhm...i try......
|
#34
|
|||
|
|||
RE: Giving pets a Gender
SieghartZeke, I don't know if your problem has been solved yet or not, but if not you can try running the following code in sql:
Code:
ALTER TABLE `adopts_owned_adoptables` ADD `gender` varchar(40) NULL; I also had a question about the gender script. I'm using it on my test site and it works great. I have it so it randomly generates a pet's gender, but I'm wondering if there is a way to have some pets only be one gender, such as female, and not be male at all while still having other adoptables get random genders? |
#35
|
||||
|
||||
RE: Giving pets a Gender
It's nice that you asked. I was having a problem, as some pets had 'gender' alts. Basically, it meant that it was the alt image, it was female, if not, it was male. Just add a field called 'malefemale', and then it checks. If it's value is 'onlyfemale', automatically set 'gender' to 'Female'. If it is 'onlymale', set 'gender' to 'Male'. If it is blank, set 'gender' using the random code. Do you get it?
|
#36
|
|||
|
|||
RE: Giving pets a Gender
I got it. Thanks for the help, Arianna. :D
|
#37
|
||||
|
||||
RE: Giving pets a Gender
Yay! ;)
|
#38
|
|||
|
|||
RE: Giving pets a Gender
No...i have added in the table,but i don't show the pet when i go to adop(after i give a name) And i dont view his Id!
|
#39
|
||||
|
||||
RE: Giving pets a Gender
I... really don't get what you're saying. :( Could you give me a screenshot of the database in phpmyadmin and a screenshot of adopting, please?
|
#40
|
|||
|
|||
RE: Giving pets a Gender
Quote:
Why? |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mys v1.3.4 Know Gender of New Pets Before Naming | Kyttias | Mys v1.3.x Mods | 4 | 08-04-2018 01:13 AM |
Mys v1.3.x Giftbox Mod (Randomly appearing, currency giving~) | Kyttias | Mys v1.3.x Mods | 14 | 06-23-2017 07:08 AM |
Show Gender while Naming Pet & Name Promo Code Pets | Kyttias | Questions and Supports | 5 | 07-11-2014 02:12 PM |
Gender | superdude44 | Questions and Supports | 5 | 07-11-2013 01:17 AM |
Gender? [answered] | Arianna | Questions and Supports | 4 | 11-19-2009 06:33 AM |
What's New? |
What's Hot? |
What's Popular? |