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 01-16-2011, 12:09 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 52,899
RoconzaArt is an unknown quantity at this point
Default Quick questions

Quick question how do I make it so the player can choose the gender of there pets?
Reply With Quote
  #2  
Old 01-16-2011, 12:14 PM
PokePets PokePets is offline
Premium Member
 
Join Date: Jun 2010
Posts: 228
Gender: Male
Credits: 21,538
PokePets
Default

It's possible
But i have no time to explain it now
Sorry D:
Reply With Quote
  #3  
Old 01-16-2011, 12:15 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: 448,782
Hall of Famer is on a distinguished road
Default

umm this is definitely possible. Arianna's gender system now generates pets genders randomly, but you can allow users to decide the gender of their pets too. Shouldnt be hard to do so.
Reply With Quote
  #4  
Old 01-16-2011, 12:17 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 52,899
RoconzaArt is an unknown quantity at this point
Default

What do I need to learn or add to do this. Can a php noob do it?
Reply With Quote
  #5  
Old 01-16-2011, 12:25 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: 448,782
Hall of Famer is on a distinguished road
Default

umm I am afraid it will require basic PHP skills, but you can definitely give a try. Just modify the script section in which Arianna defined gender generation, just like what I did when I made that Gender Ratio Mod.
Reply With Quote
  #6  
Old 01-16-2011, 12:37 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 37,042
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

To allow a user to CHOOSE gender wouldn't be too horribly difficult. You'd have to have some sufficient knowledge of PHP/MySQL/HTML in order to do so though.

To add a gender, you'd have to add another field to the adoptables table(and therefore edit doadopt.php) and then in the adopt.php and doadopt.php have a form that selected the option, then have the option selected saved into the database.
Reply With Quote
  #7  
Old 01-16-2011, 01: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: 448,782
Hall of Famer is on a distinguished road
Default

Well Kaeliah, I believe Gender mod is already available in our latest release. Since Roconza is using that one, I dont think its even necessary for her to manipulate database tables. All she needs to do is to add a few lines in adopt.php and doadopt.php for a new page that asks users to choose their pet's gender.
Reply With Quote
  #8  
Old 01-16-2011, 08:32 PM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 37,042
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

You could put it on the same page where it asks for the name of the adopt, although depending on where the random picker is for the genders you may have to remove those lines of codes and put in a chooser. If the random picker comes before the part where you pick a name, then you can override it by using the same variable and assigning a different variable to it. However if it's the last part of the code then the random picker will over ride the chosen option.
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
Quick question Aasixx Questions and Supports 12 08-25-2012 08:42 PM
Quick Question LilPixie Questions and Supports 3 09-04-2009 05:36 PM
Updait = Nothing? (HELP QUICK!) RipJawWolfFang Questions and Supports 5 04-17-2009 12:08 PM
Quick question. lollicat Questions and Supports 1 03-31-2009 08:38 AM
Quick help, and I mean QUICK! trollis76 Questions and Supports 4 02-19-2009 09:30 PM


All times are GMT -5. The time now is 04:07 PM.

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