The RPG Maker Resource Kit

RMRK RPG Maker Creation => XP => XP Event Systems => Topic started by: Arkbennett on August 24, 2007, 04:03:20 AM

Title: [XP] Lottery System
Post by: Arkbennett on August 24, 2007, 04:03:20 AM
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 (http://www.megaupload.com/?d=PRCDID3E)
Title: Re: Lottery System
Post by: :) on August 24, 2007, 04:12:04 AM
more info?
features?
screenshots?

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

Title: Re: Lottery System
Post by: modern algebra on August 24, 2007, 04:13:41 AM
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.
Title: Re: Lottery System
Post by: :) on August 24, 2007, 04:14:07 AM
lol, whoops

xD
Title: Re: Lottery System
Post by: modern algebra on August 24, 2007, 04:20:36 AM
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.
Title: Re: Lottery System
Post by: Arkbennett on August 24, 2007, 04:22:05 AM
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!
Title: Re: Lottery System
Post by: Kokowam on August 24, 2007, 12:41:37 PM
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.