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 09-22-2016, 09:34 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 67,949
Dinocanid is on a distinguished road
Default Pet shows/contests

I planned to have some sort of pet show/contest mechanic on my site, but how would I go about it? I wanted to have it so the show would be held on a certain date and the pet with the highest stats in that category would win and get a trophy. (For example, a cuteness contest would pick the pet with the highest cute stat as the winner). I already know how to do stats, but I don't know how to make it so users can enter the contest and the script would check the stats of each entered pet. I could just make the trophies key items that sit in the user's inventory, but I wanted it to show up on their profile.
Reply With Quote
  #2  
Old 09-25-2016, 12:49 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 117,525
Abronsyth is on a distinguished road
Default

It's doable (I've been planning on making something such as this), but it would be complicated. You would need to do some things with mysql, make a new table to create new shows that would store the show ID, show name?, date to run, show type (i.e.; cute show), and a section for entries. The entries section would store individual pet IDs, and you'd need to design the code to check and make sure each pet is only entered once, no pets can be entered after the date, and have it check each pet ID and draw, from the IDs, each pets stat information (and then pick whichever pet has the highest of the chosen stat). You'd also need to code it so that if the show type is "cute" that it is specifically looking at "cute" stats only.

So...it'd be complicated, as I said, and with my current skill set I'm not able to do all of this. It's mostly looking at the stats from the pets ID number that I'm not sure how to do. I'll be looking into this, though, and if I make any breakthroughs I'll be sure to share.
__________________
My Mods Site (1.3.4, 2020 Mods)
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


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

Currently Active Users: 871 (0 members and 871 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