|
#1
|
||||
|
||||
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.
|
#2
|
||||
|
||||
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?
__________________
|
#3
|
||||
|
||||
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. |
#4
|
||||
|
||||
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.
__________________
|
#5
|
||||
|
||||
That's amazing! I wish there was something I could do for you in return.
|
#6
|
||||
|
||||
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?
__________________
|
#7
|
||||
|
||||
I assume admin panel if that's possible.
|
#8
|
||||
|
||||
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.
__________________
|
#9
|
||||
|
||||
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.
__________________
|
#10
|
|||
|
|||
Maybe i am also interested without acp
|
|
|
What's New? |
What's Hot? |
What's Popular? |