Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Addons and Modifications > Addons/Mods Requests

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2016, 07:12 PM
Corsair's Avatar
Corsair Corsair is offline
Member
 
Join Date: Jan 2012
Posts: 128
Gender: Female
Credits: 13,515
Corsair is on a distinguished road
Question Raffle or Action mod?

I thought I put in a request and maybe someone might be able to help. Does anyone know how to make a Raffle or a auction script. Ether would be fairly useful.
Reply With Quote
  #2  
Old 12-12-2016, 08:10 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 81,241
Dinocanid is on a distinguished road
Default

I think I may be able to do one of them, though I'm not exactly sure which would be easier to achieve. A raffle script might be, since users would buy tickets and, on a certain date, the user with the most tickets is picked correct?
__________________
Reply With Quote
  #3  
Old 12-12-2016, 08:33 PM
Corsair's Avatar
Corsair Corsair is offline
Member
 
Join Date: Jan 2012
Posts: 128
Gender: Female
Credits: 13,515
Corsair is on a distinguished road
Default

That would be wonderful.

If I remember correctly you buy more tickets it increases a person odds of winning. The money put into the raffle collects as a Jackpot. Most sites I've seen limit it to 50 tickets.

Maybe there should be a tax on so it also takes money out. It's not necessary just a idea.
Reply With Quote
  #4  
Old 12-15-2016, 04:52 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 81,241
Dinocanid is on a distinguished road
Default

To give you an update on what I have so far, I managed to make the base of the script so a user can buy a set number of tickets from a dropdown list and the tickets are added to the database. The script would pick a random user, but some users would have higher odds of winning since they have more tickets in the database. Right now I need to work on adding money to the jackpot and cleaning up the script. I'm trying to figure out how "for loops" can work with the mysidia script since it is getting pretty long with duplicate lines of code adding database entries depending on how many tickets the user buys. I should be able to finish it before long though.
__________________
Reply With Quote
  #5  
Old 12-15-2016, 05:14 PM
Corsair's Avatar
Corsair Corsair is offline
Member
 
Join Date: Jan 2012
Posts: 128
Gender: Female
Credits: 13,515
Corsair is on a distinguished road
Default

That's amazing! I wish there was something I could do for you in return.
Reply With Quote
  #6  
Old 12-15-2016, 05:20 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 81,241
Dinocanid is on a distinguished road
Default

You don't have too! Working on scripts like this help me figure out my way around the mysidia script.

How would you rather manage raffles? Like through the adminCP or buttons on the page that are only visible to admins?
__________________
Reply With Quote
  #7  
Old 12-20-2016, 06:06 PM
Corsair's Avatar
Corsair Corsair is offline
Member
 
Join Date: Jan 2012
Posts: 128
Gender: Female
Credits: 13,515
Corsair is on a distinguished road
Default

I assume admin panel if that's possible.
Reply With Quote
  #8  
Old 12-31-2016, 01:58 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 81,241
Dinocanid is on a distinguished road
Default

Just posting to say that I have the main part of the mod done, I just need to work on managing it from the adminCP.
__________________
Reply With Quote
  #9  
Old 01-20-2017, 07:13 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 81,241
Dinocanid is on a distinguished road
Default

Would you mind getting a version without adminCP control? It's taking much longer than I thought to finish that part of the script, though the rest of it is functioning.
__________________
Reply With Quote
  #10  
Old 01-20-2017, 08:20 PM
Silver_Brick Silver_Brick is offline
Designer || Coder
 
Join Date: Oct 2016
Location: In Earth
Posts: 205
Gender: Male
Credits: 31,919
Silver_Brick is on a distinguished road
Default

Maybe i am also interested without acp
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 01:00 AM.

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