d2jsp
Log InRegister
d2jsp Forums > d2jsp > General Help > Site Suggestions > Hourly Raffle/Lottery
Prev1323334353671Next
Add Reply New Topic New Poll
Admin
Posts: 24,869
Joined: Sep 24 2002
Gold: 34,472.77
Trader: Trusted
Mar 23 2006 06:44am
Quote (Konrad G @ Thu, 23 Mar 2006, 05:43)
Hm. Is there any chance to add a history of winning numbers with date/time?
I know that reading it from database would be much load for the serwer but my idea is (i'm not saying it's best of possible but well, it's just idea):
- when number are picked, script will add a new line with the numbers to some text file
- every user can view this text file (without need for php script to read it, it would be just link to .txt file).

For decreasing file length, history may be limited to last week or month or even day.


I can pull back all tickets bought since it opened, and all numbers drawn. I will eventually make a way to view this info.
Member
Posts: 1,647
Joined: Nov 26 2003
Gold: 0.05
Warn: 30%
Mar 23 2006 08:06am
Quote (njaguar @ Thu, Mar 23 2006, 02:44am)
Quote (Konrad G @ Thu, 23 Mar 2006, 05:43)
Hm. Is there any chance to add a history of winning numbers with date/time?
I know that reading it from database would be much load for the serwer but my idea is (i'm not saying it's best of possible but well, it's just idea):
- when number are picked, script will add a new line with the numbers to some text file
- every user can view this text file (without need for php script to read it, it would be just link to .txt file).

For decreasing file length, history may be limited to last week or month or even day.


I can pull back all tickets bought since it opened, and all numbers drawn. I will eventually make a way to view this info.


nice idea....i would prolly base my tickets on it somehow..as would everyone else probably....even if tis random
Member
Posts: 16,271
Joined: Sep 19 2005
Gold: 4,420.32
Mar 23 2006 10:58am
This lottery needs a cart system.

You add different tickets to the cart, then press an ok button and buy them all (after some confirmation: "you are going to spend 514145fg, are you nuts?").

Would be much better for users who want to have higher chances of winning.
Admin
Posts: 24,869
Joined: Sep 24 2002
Gold: 34,472.77
Trader: Trusted
Mar 23 2006 10:59am
Yeah, I plan to add a cart.

BTW, rewrote the winner drawing a bit, so this hours may fire off slightly late (couple seconds).

Fine tuning some stuff. wink.gif

I added partial winner payouts, if you match the first two numbers (IN ORDER), you get 25fg.
Member
Posts: 16,271
Joined: Sep 19 2005
Gold: 4,420.32
Mar 23 2006 11:01am
Quote (njaguar @ Thu, Mar 23 2006, 05:59pm)


BTW, rewrote the winner drawing a bit, so this hours may fire off slightly late (couple seconds).


It's taking something more ^.^

This post was edited by AlPi on Mar 23 2006 11:01am
Member
Posts: 9,036
Joined: Oct 22 2005
Gold: 4.01
Trader: Trusted
Mar 23 2006 11:03am
it says the last 3 #'s were blank...

EDIT: nvm i see your edit now..

This post was edited by Derektenones on Mar 23 2006 11:04am
Admin
Posts: 24,869
Joined: Sep 24 2002
Gold: 34,472.77
Trader: Trusted
Mar 23 2006 11:17am
Sorry about that, should be good to go now smile.gif

I added partial winner payouts. wink.gif
Member
Posts: 9,036
Joined: Oct 22 2005
Gold: 4.01
Trader: Trusted
Mar 23 2006 11:18am
Quote (njaguar @ Thu, Mar 23 2006, 11:17am)
Sorry about that, should be good to go now smile.gif

I added partial winner payouts. wink.gif


just curious what the partial payouts are?

Quote (njaguar @ Thu, Mar 23 2006, 11:19am)
Clearly stated in my post above. wink.gif

25fg for matching the first 2 digits exactly.


sorry didnt see that up there

This post was edited by Derektenones on Mar 23 2006 11:23am
Admin
Posts: 24,869
Joined: Sep 24 2002
Gold: 34,472.77
Trader: Trusted
Mar 23 2006 11:19am
Clearly stated in my post above. wink.gif

25fg for matching the first 2 digits exactly.
Member
Posts: 16,191
Joined: Aug 3 2005
Gold: 9,417.13
Mar 23 2006 11:28am
Quote (njaguar @ Thu, Mar 23 2006, 12:19pm)
Clearly stated in my post above. wink.gif

25fg for matching the first 2 digits exactly.


what if you match 1 and 3 or 2 and 3? no payout for those?
Go Back To Site Suggestions Topic List
Prev1323334353671Next
Add Reply New Topic New Poll