Show Posts
|
Pages: « 1 2 [3] 4 »
|
since there are no other offers, I'll offer 0.2 lol.
Fine, I'll raise you to 0.3!
|
|
|
Bump! Come on guys give it a go!
|
|
|
since there are no other offers, I'll offer 0.2 lol.
|
|
|
Entered. Going to be real mad if I don't get my money back EDIT: How many confirmations does this require? One, but im about to go to sleep lol i am on my ipod an its all manual so dont be afraid if its not on the site rightaway Why do you do it all manually, just have a system to do it automatically...
|
|
|
Well, I threw a gambling part into an IRC bot, it works as follows: The bot is located in ##btcbot on freenode. You can play online at: http://webchat.freenode.net/?channels=##btcbotTHE BOT IS NOW OPEN SOURCE AND HAS A GITHUB AT https://github.com/bool-/btcbotCurrent Roulette Wager: 0.1Commands:+ident - Identifies you with the bot, you must be identifiedwith NickServ in order for it to identify you. +deposit - Supplies a bitcoin address where you can deposit funds. +withdraw <sendtoaddress> <amount=all> - Withdraws your funds to the address specified. +balance - Gives you your current balance. +roulette <chamber> - Bets whatever the wager is at the time on a simple game. You have five bullets in a six round revolver and specify which chamber is blank. If you get shot, the wager goes directly to the pot. If you don't get shot you take 85% of the current pot. The pot keeps 15% to keep it up! +raffle <tickets=1> - Buys tickets in a fast-paced raffle game. Each ticket is 0.05 BTC and when twenty tickets are purchased it selects a winner and pays them. YOU KEEP THE FULL 1 BTC! Winners:To be added...
|
|
|
Joined and deposited 0.95 BTC
|
|
|
So, is this just for fun? How do we fund our rolls?
There is a !btclotto newaddress and then you send money to the generated address (which is then linked to your hostname). Once there is one confirmation it will show up in !btclotto balance, then you can do !btclotto roll <wager>. Once you are done playing you can do !btclotto withdraw <sendtoaddress> [amount], amount being optional, if left blank it will send all of your money to you.
|
|
|
Oops, meant to edit code. Bump anyways...
|
|
|
LulzSec is nothing more than a bunch of dumb teenagers using entry-level penetration testing tools.
|
|
|
How do we verify the bot? Will it list all transactions so we can see if it matches what is expected?
Uhm, right now you can't, I'd be able to add it in the future though if it's needed.
|
|
|
Well, I threw a gambling part into my IRC bot, it works as follows: You get a random number from 1-100 and where: 1-50 loses to the bank 51-89 wins 150% of the wager 90-99 wins 220% of the wager 100 wins the jackpot, you get 90% of it, the system gets 5% and 5% stays. Every bid, jackpot gets 10% and system gets 5% of the wager. Minimum bid is is 0.05, although in order to be eligible to win the jackpot, you have to wager 0.1 or more, otherwise if you roll 100 it will just do the standard 220%. Anyways, if you wanted to give it a shot you can find him in #btcbot on irc.freenode.net. It is host based, as long as your host doesn't change your balance will remain yours. If you don't know how to use IRC, use this http://webchat.freenode.net/?channels=#btcbot case "roll": if(!$args[2]) { $bot->message($chan, $who[0] . ", use !btclotto roll <wager>"); return 0; } if(!is_numeric($args[2])) { $bot->message($chan, $who[0] . ", number values only!"); return 0; } $wager = floatval($args[2]); if($bitcoin->getbalance($who[2], 1) < $wager || $wager < 0.05) { $bot->message($chan, $who[0] . ", you cannot wager that amount!!! it must be lower than your balance and at least 0.05"); return 0; } $num = rand(1,100); $amount_won = 0.0; $jackpot = false; $winner = false; $system_fee = $wager * 0.05; if($num > 50 && $num < 90) { $amount_won = $wager * 1.5; $winner = true; } elseif($num >= 90 && $num < 100) { $amount_won = $wager * 2.2; $winner = true; } elseif($num == 100) { if($wager > 0.1) { $amount_won = $pot_balance * 0.90; $system_fee = $system_fee + ($pot_balance * 0.05); $jackpot = true; } else { $amount_won = $wager * 2.2; $winner = true; } } if($amount_won > $balance && $jackpot == false) { $bot->message($chan, $who[0] . ", You rolled a " . $num . " and won more than the bank can pay out, bet lower or have bool_ transfer some spare funds."); return 0; } if($winner) { $bot->message($chan, $who[0] . ", You rolled a " . $num . " and won, " . $amount_won . " BTC has been sent to your balance."); $bitcoin->move("bank", $who[2], $amount_won, 0); } elseif($jackpot) { $bot->message($chan, $who[0] . ", You rolled a 100 and won the jackpot, " . $amount_won . " BTC has been sent to your balance."); $bitcoin->move("pot", $who[2], $amount_won, 0); } else { $bot->message($chan, $who[0] . ", You rolled a " . $num . " and lost, " . $wager . " BTC has been sent to the bank."); } $bitcoin->move($who[2], "bank", $wager, 0); $jackpot_fee = $wager * 0.1; $bitcoin->move("bank", "donations", $system_fee, 0); $bitcoin->move("bank", "pot", $jackpot_fee, 0); break;
|
|
|
Anyways, basically I have been working on my bitcoin bot all night, it does this right now like !btcstats and !mktstats <market_symbol>. It's unique feature at the moment is it's gambling feature, it follows a very similar design to the bitcoinlotto posted earlier where: 1-50 loses to the pot 51-89 wins 170% of the wager 90-100 wins 220% of the wager If you submit over 0.1 BTC as a wager, you have a chance to win 75% of the pot, the other 25% is reserved for fees and such. Anyways, if you wanted to give it a shot you can find him in #btcbot on irc.freenode.net. Here is the source for the gambling feature: $bitcoin = new jsonRPCClient(''); $balance = floatval($bitcoin->getbalance("pot", 1));
switch($args[1]) { case "pot_balance": $bot->message($chan, $who[0] . ", Pot balance is: " . $balance); break; case "balance": $bot->message($chan, $who[0] . ", Your balance is: " . $bitcoin->getbalance($who[0], 1)); break; case "newaddress": $bot->message($chan, $who[0] . ", Your new address is: " . $bitcoin->getnewaddress($who[0])); break; case "withdraw": if(!$args[2]) { $bot->message($chan, $who[0] . ", use !btcdouble withdraw <sendtoaddress>"); return 0; } $balance_you = $bitcoin->getbalance($who[0], 1); $bot->message($chan, $who[0] . ", You have been sent: " . $balance_you); $bitcoin->sendfrom("pot", $args[2], $balance_you, 1); break; case "roll": if(!$args[2]) { $bot->message($chan, $who[0] . ", use !btcdouble roll <wager>"); return 0; } $wager = floatval($args[2]); if($bitcoin->getbalance($who[0], 1) < $wager || $wager < 0) { $bot->message($chan, $who[0] . ", you cannot wager that amount!!!"); return 0; } $num = rand(1,100); if ($num <= 50) { $bitcoin->move($who[0], "pot", $wager, 0); $bot->message($chan, $who[0] . ", You rolled a " . $num . ", " . $wager . " BTC has been sent to the pot"); } elseif($num > 50 && $num < 90) { $bitcoin->move($who[0], "pot", $wager, 0); if(($balance + 0.0005) < $wager*1.7) { $myFile = "debt"; $fh = fopen($myFile, 'a'); $stringData = "Owe " .$wager*1.7. " to " . $who[0] . "\n"; fwrite($fh, $stringData); fclose($fh); $bot->message($chan, $who[0] . ", You rolled a " . $num . " but the pot is unable to pay you off at the moment, contact bool_ and tell him to send you your winnings."); return 0; } $bitcoin->move("pot", $who[0], $wager*1.7, 0); $bot->message($chan, $who[0] . ", You rolled a " . $num . ", " . ($wager*1.7) . " BTC has been sent to your balance"); } else { $bitcoin->move($who[0], "pot", $wager, 0); if(($balance + 0.0005) < $wager*2.2) { $myFile = "debt"; $fh = fopen($myFile, 'a'); $stringData = "Owe " .$wager*2.2. " to " . $who[0] . "\n"; fwrite($fh, $stringData); fclose($fh); $bot->message($chan, $who[0] . ", You rolled a " . $num . " but the pot is unable to pay you off at the moment, contact bool_ and tell him to send you your winnings."); return 0; } $bitcoin->move("pot", $who[0], $wager*2.2, 0); $bot->message($chan, $who[0] . ", You rolled a " . $num . ", " . ($wager*2.2) . " BTC has been sent to your balance"); } break; default: $bot->message($chan, $who[0] . ", use !btcdouble <roll|withdraw|newaddress|balance|pot_balance>"); break; }
|
|
|
Yeah, I've been trying to win the jackpot but no luck so far
|
|
|
<?php while(1) { $bitcoind_path = '"%ProgramFiles(x86)%\Bitcoin\daemon\bitcoind"'; $sendtoaddress = 'fdasfad'; $tax = 0.0005; $betamount = 0.1; $minimumbalance = 0.0; $strbalance = exec($bitcoind_path.' getbalance'); $balance = floatval($strbalance); if($balance >= $betamount + $tax && $balance - ($betamount + $tax) > $minimumbalance) { echo exec($bitcoind_path.' sendtoaddress '. $sendtoaddress . ' ' . $betamount) . '\n'; echo 'sent!'; } else { die(); } } ?> Changed your sleep() to die(). I can't see any point in retrying the loop if there isn't enough money. It loops over and over again until there is money then it sends it.
|
|
|
I am addicted! I just keep losing.
|
|
|
<?php while(1) { $bitcoind_path = '"%ProgramFiles(x86)%\Bitcoin\daemon\bitcoind"'; $sendtoaddress = 'fdasfad'; $tax = 0.0005; $betamount = 0.1; $minimumbalance = 0.0; $strbalance = exec($bitcoind_path.' getbalance'); $balance = floatval($strbalance); if($balance >= $betamount + $tax && $balance - ($betamount + $tax) > $minimumbalance) { echo exec($bitcoind_path.' sendtoaddress '. $sendtoaddress . ' ' . $betamount) . '\n'; echo 'sent!'; } else { sleep(10); } } ?> I use it for sites like bitcoin lottery and such so I can continue to waste my mining earnings I will add JSON-RPC support in the future, this was just a test script. If you like it consider donating a small amount to 17kKVg1NP8ciHG3qKoZirc7UP3NE1AFQC6
|
|
|
I've been on for over 14 hours and have over 5 posts and I am still a Newbie, anyways...
I'm Anthony a now Junior in high-school and I enjoy programming. Currently, I know a fair bit of Haskell, Scala, Common Lisp, Clojure, Java, PHP, Python, C, and x86 assembly (specifically masm). I spent most of my time finding/writing game hacks before I stumbled upon bitcoin, now I spend most of my time betting them and mining them.
|
|
|
i am hoping it jumps back up to $30-40 each
At least. Yeah, I would be happy with $30-40 but like $50+ would be ideal.
|
|
|
|