RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[XP] Lottery System

0 Members and 1 Guest are viewing this topic.

****
Rep:
Level 87
In my own little world...
Well, this time, it's to big to go into detail about.
But I did provide a link for a project that you can download with several comments.

Basically, you buy a certain amount of tickets, once you do. You wait around for a set amount of time (Can be changed in common events), once the time is up, the player can match up his randomly generated ticket numbers with a randomly generated ticket winning number and earn the BIG BUCKS!
(Randomy generated money is not included)

This event tutorial is a little more advanced than usual,
it might give you a headache if you don't know what your doing.
It's definately anti-newbie (Sorry guys  :()
It was also designed to limit the amount of game variables and switchs needed.
It also uses a more unknown event command - loop.

You can change everything needed as instructed in the following:
-Change the timed needed to wait in the common event
-Change the price of tickets and how many you can buy on page 1
-Change the amount of numbers randomized on page 2 (default is 1-15)
-Change your winnings on page 2.

Also, this event would require:
-1 event, 3 pages
-1 common event
-1 switch
-5 variables

Linkage
« Last Edit: February 23, 2014, 04:17:58 PM by modern algebra »

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
more info?
features?
screenshots?

still, sounds good. and I can tell its no cheap system because you made it :D

Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Unknown? I certainly hope that's not the case in this forum  :police:. Loops are one of the most important things in eventing systems. If you provide a description and screenshots of what it does, I will move it into Event Systems Database

EDIT: Still add the description and screenshots, so people know what they're getting, please.
« Last Edit: August 24, 2007, 04:17:28 AM by modern algebra »

pokeball :)OfflineMale
********
Cheese
Rep:
Level 95
?
lol, whoops

xD
Watch out for: HaloOfTheSun

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I briefly looked through it, and it looks good. One thing that you might want to do is make it so that you can't have more than one winning ticket. I don't if that is intentional or just an oversight, but I figured I would mention it in case it was the latter.

Other than that, it looked good.

****
Rep:
Level 87
In my own little world...
more info?
features?
screenshots?

still, sounds good. and I can tell its no cheap system because you made it :D


Lol, thanks a lot buddy.  ;)
Features, buy some tickets, wait around for awhile, match them with the winning number.
Sorry, I meant to put more info, it slipped my mind. I was excited about something else.
(Not porn you perverts)

Unknown? I certainly hope that's not the case in this forum  :police:. Loops are one of the most important things in eventing systems. If you provide a description and screenshots of what it does, I will move it into Event Systems Database

EDIT: Still add the description and screenshots, so people know what they're getting, please.
'
True, loops are, but nobody ever uses them (to my knowledge).
Done deal sir, I'll have some more info and I guess a screenie.


I briefly looked through it, and it looks good. One thing that you might want to do is make it so that you can't have more than one winning ticket. I don't if that is intentional or just an oversight, but I figured I would mention it in case it was the latter.

Other than that, it looked good.

Thank you kindly.
No, it was intentional.
Why would you only want to win one ticket? That'd be a big rip-off if you payed 300 dollars for a ticket and only won 200 dollars back!

*
A Random Custom Title
Rep:
Level 96
wah
Lol yeah. It's like in real life: You buy many winning tickets, you win them all! Right? ;-; Anyways, this seems pretty cool. I haven't looked through it yet. XD I might try to make my own :\ This seems very user friendly, however.