Bitcoin Forum
November 12, 2024, 10:04:04 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Interbit Lotto Thread] Round 5  (Read 1112 times)
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 26, 2011, 04:15:56 PM
Last edit: August 29, 2011, 09:30:55 PM by joeyjoe
 #1

Round 5 - Tickets only 0.1BTC.

This will possibly be the last daily round!

Its going to change to a weekly draw with tickets 0.25 to allow for larger jackpots and to encourage more ticket sales. I will also include some instant wins for random tickets and some other goodies!

Locking this thread due to new news thread.

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 27, 2011, 11:22:20 AM
 #2

Jackpot and small pot were both won by ticket #1, which was my ticket.

As i can tell it looks suspicious, I'm going to put the winnings on to round 3

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 27, 2011, 02:45:37 PM
 #3

0.1 Ticket, only 5 tickets sold, with 2.5BTC pot!

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
Cory
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250


View Profile
August 27, 2011, 08:16:54 PM
 #4

The site's down. :( Any news?
N.Olmos
Full Member
***
Offline Offline

Activity: 162
Merit: 100



View Profile
August 27, 2011, 08:47:50 PM
 #5

Its working now; I do have to reload now and then.

Ten tickets already sold.

Refer friends and earn 25%!

http://offers.coinad.com/?r=3
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 27, 2011, 10:02:39 PM
 #6

13 now Smiley.

sorry for 15 mins i was moving the server... home run at the moment. as soon as it gets more popular, i'll work out a way to get it to pay a VPS server. Im thinking I might sell the script?

2.4BTC total pot aswell

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 27, 2011, 10:14:37 PM
 #7

oh and also, can someone make a copy of the code i use to generate a winner, was thinking its best to have someone confirm the code is not changed if somthing comes up

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
Cory
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250


View Profile
August 28, 2011, 01:58:20 AM
 #8

Quote
The winners are selected when a round ends, and the New York Lottery "Take 5" has been drawn. Rounds end at 11:00PM (GMT-0500), and the "Take 5" lottery is drawn at 11:21PM (GMT-0500). Shortly after the results are published, a winner will be chosen based on a PHP algorithm which is 100% transparent and cheat proof. The PHP code used to pick the winners is below and we welcome you to test the code to verify the winners.

For example, if the winning "Take 5" numbers are 03,17,19,22,25 (low to high), the number would be entered as "0317192225" and the result will be the winning ticket number for the jackpot.

** Update ** - The smallpot winner will now be based on the code below and NOT the next ticket after jackpot. It is possible for a single ticket to win both pots

The code used: result.php

<?php
if (isset($_POST['submit'])){
$seed = $_POST['take5numbers'];
$ticketssold = $_POST['tickets'];
srand ($seed*13579); //generate jackpot winner
$Jackpot = rand(1,$ticketssold);
srand ($seed*25488); //enerate smallpot winner
$Smallpot = rand(1,$ticketssold);

echo "The Jackpot winner is ticket: $Jackpot </br>The Smallpot winner is ticket: $Smallpot";
}else{
?>

<form name="form1" method="post" action="result.php">
"Take 5" numbers from low to high (including leading 0's) <input type="text" name="take5numbers" id="end" size="20" /><br>
Total tickets sold for round <input type="text" name="tickets" id="end" size="20" /><br>
<input type="submit" name="submit" id="submit" value="Get Winning Ticket Number!">
</form>

<?
}
?>

The result will be a number from 1 to the amount of tickets sold, which would indicate the ticket number of the winner.

The PHP code will be run with PHP v5.3.5

Only confirmed transactions of at least 3 confirms will be valid. Tickets that havn't been confirmed by 11:21PM (GMT-0500) will not be counted and will be refunded to the payout address.

In the case of a dispute regarding the way interbitlotto.com operates, we reserve the right to withhold all funds until the dispute is settled and the jackpot is paid out or the tickets refunded to the bit coins owners.
There we go. Smiley I won't edit this post.
Cory
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250


View Profile
August 28, 2011, 03:09:48 AM
 #9

I got a syndicate going amongst my friends, so tickets 20-29 are from us. :D
I really like this lottery since a winner is chosen each night. I'll make sure it gets some bets every day. Especially if you keep up the bonuses!  ;)

It would be awesome if you listed the winners for your lottery on the front page as soon as the NY lottery is drawn. And of course more consistency like starting the new round at a specific time each day would be great. Keep up the great work!
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 28, 2011, 03:14:42 AM
 #10

yep, I plan to make it more automated where the winners will be selected automatically, just wanted the ticket system to be working flawlessly first, appears its working 99% fine at the moment. I will have it list the winners and pay them out, then start the new round all automatically in the coming days, also with a 1BTC ticket weekly, and possibly weekly.

Problem for me is that it ends 4AM. and im usually in bed by now.


Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
Konzul
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
August 28, 2011, 05:28:26 AM
 #11

It would also be nice if the entries of last week would be visible after the draw.. As right now I have NO idea which ticket numbers I had ;(
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 28, 2011, 12:07:43 PM
 #12

The blank menu on the left will have all the round numbers and list all the previous tickets sold. I will add the payout addresses shortly too

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
August 29, 2011, 02:19:22 PM
 #13

This is the last daily draw, before it changes to weekly with some extra instant win prizes!

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
Konzul
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
August 29, 2011, 05:46:15 PM
 #14

Who won round 4??
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!