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 02-03-2013, 09:37 PM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 28,461
kristhasirah
Default Small problem with shops.php

is a small problem, probably no one will notice it, if they dont use the gender ratio mod made by HoF, but i use it, and i always make 2 adopts of the same pokepony in order to use the alternate as the shiny version, so the first one is always set to 100(female) and the second to 0(male)
but the shop don't care about that, it just gives them random genders, i noticed this with the 2 adopts i added to the shop: Nidoran M and Nidoran F and when i buy a Nidoran M it turns to be Female or Male, when i made it to be always male, same whit Nidoran F, i have to enter in the msql to fix the genders. I don't know if there's a way to include the Gender Ratio mod in the Shop.php or not, but for now i have created a separate "adoptmarket" using the code of the adopt.php page (it was a pain for me to edit it to meet what i wanted the page to look >_>).

i just wanted to point out that, in case someone else is using the Gender ratio mod, and uses a similar way of creating the adopts.

also another question: in the old script we where able to use this link: "doadopt.php?id=xxx&name=&promocode=none&Submit=Ad opt+Me" to create shops or special adopt pages. I know i can't use it, i only get a invalid id error message, that's why im asking if there's a way to edit it and use it in the new script??

sorry if i don't make sense, like i always say, english is not my native language >_>
__________________
Reply With Quote
  #2  
Old 02-04-2013, 09:07 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: 335,501
Hall of Famer is on a distinguished road
Default

Well this should be difficult to accomplish. Have you looked into how the gender ratio mod works? It generates gender based on gender ratio, you can copy/paste the gender determination lines into the file class_adoptshop.php(or class_stockadopt.php if you do not find the adopt insertion lines). Thats how its supposes to work.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 02-07-2013, 12:30 PM
kristhasirah's Avatar
kristhasirah kristhasirah is offline
Member
 
Join Date: Jan 2010
Location: In middle of the nothingness
Posts: 196
Gender: Female
Credits: 28,461
kristhasirah
Default

i always use the gender mode, to make pure female or male breeds, setting the ratio to "0" or "100" i tried to copy/paste the lines in class_stockadopt.php, but it ends giving me only male adopts, even when one of them is a female breed. now i have an army of a Nidoran female that have a male gender XD
But then a gain my coding skills remind in 0 =p
So dont worry, like i say i manage to recreate the look of the adoptsmarket using the adopts code and the rarity code =)
Thanks for your help, and for pointing me the pages that i should edit. Sadly im not a coder and dint manage to make progress with editing the code, but one day i will archive it XD
__________________

Last edited by kristhasirah; 02-07-2013 at 12:35 PM.
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
Shops voni Questions and Supports 3 04-22-2015 02:01 PM
Help with shops. Nieth Questions and Supports 5 11-26-2013 05:15 AM
Again Shops RoconzaArt Questions and Supports 10 01-17-2011 04:32 PM
small problem Roconza Questions and Supports 12 01-21-2010 03:20 PM
Small Problem SJC Questions and Supports 0 07-02-2009 09:40 AM


All times are GMT -5. The time now is 06:59 PM.

Currently Active Users: 9861 (0 members and 9861 guests)
Threads: 4,080, Posts: 32,024, 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