Bitcoin Forum
May 25, 2024, 12:17:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Adding Lottery to Faucetbox Faucet?  (Read 1112 times)
neogi (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
March 12, 2015, 11:26:38 PM
 #1

Just wondering if there's anyone who would know how to hook in a lottery system for a pretty standard Faucet?

You can view it here - http://leakyfaucet.uk/

Any help would be appreciated.
TriggerX
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


View Profile
March 13, 2015, 12:13:04 AM
 #2

If you find it please PM me. I have been wanting a way to increase my impressions on my page. Thanks!!

Hi!
ranlo
Legendary
*
Offline Offline

Activity: 1974
Merit: 1007



View Profile
March 13, 2015, 12:49:13 AM
 #3

What kind of lottery system are you guys looking for? Like "buy in for x and you can win y (prize pool)" or when you claim, you get a ticket? Or?

https://nanogames.io/i-bctalk-n/
Message for info on how to get kickbacks on sites like Nano (above) and CryptoPlay!
neogi (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
March 13, 2015, 09:17:52 AM
 #4

Hi Ranlo,

Yea sort of, basically when someone claims they're given the option to purchase a lottery ticket for say 100 sat per ticket. At the end of the day one person is given 10,000 sat.

You can see a good example on this site http://thefaucetrunner.com/faucet/lottery

If you play through it will give you the option of purchasing tickets for the lottery, if that makes sense?
ranlo
Legendary
*
Offline Offline

Activity: 1974
Merit: 1007



View Profile
March 13, 2015, 06:01:00 PM
 #5

Hi Ranlo,

Yea sort of, basically when someone claims they're given the option to purchase a lottery ticket for say 100 sat per ticket. At the end of the day one person is given 10,000 sat.

You can see a good example on this site http://thefaucetrunner.com/faucet/lottery

If you play through it will give you the option of purchasing tickets for the lottery, if that makes sense?

That's actually pretty easy...

if ($userWants = true)
{
$userBalance -= ($userBuys*100);
$userTickets += $userBuys;
}

This is pseudo-code, but the real thing wouldn't be much off.

https://nanogames.io/i-bctalk-n/
Message for info on how to get kickbacks on sites like Nano (above) and CryptoPlay!
speedy1987
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
March 14, 2015, 12:24:09 PM
 #6

I would also love to add some lottery to my faucet. How to?
ranlo
Legendary
*
Offline Offline

Activity: 1974
Merit: 1007



View Profile
March 15, 2015, 05:24:00 PM
 #7

I would also love to add some lottery to my faucet. How to?

Read my post. It's a very basic script.

https://nanogames.io/i-bctalk-n/
Message for info on how to get kickbacks on sites like Nano (above) and CryptoPlay!
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!