Show Posts
|
Pages: [1] 2 »
|
Made 2.46 bitcoin in total. I think I'm done gambling forever! The last I heard from him: "[11:31:16 PM] made a whole bitcoin tonight!!"
hopefully that's not "the last we hear from him" quit while you're ahead KJ!
|
|
|
So after running a martingale bot which is surprisingly not run my dry yet, I have 1500 confirmed transactions, and 0 unconfirmed. This has made my bitcoin-qt client lag for some reason and I cannot click the buttons at the top which say Transactions, etc. I still can minimize it though. I've restarted it a few times and nothing has worked. Note: It is in server mode and it needs to stay this way.
|
|
|
last days of my btc rig: 27 icarus on a tplink 730n here.Wow. How much is that worth in total and how much does it produce a month?
|
|
|
Using your script, localhost as allowed ip in conf. Running from command line. Still get that http error I don't think that will work as when I just run it for 30 seconds I get a repeat of this once it's done
Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\xampp\htdocs\jsonRPCClient.php on line 132
Run the script on the command line: php bot.php not from a web server. Try using my script and the json-rpc PHP file that's with it. It has better error handling. https://github.com/dooglus/sdbot
|
|
|
I don't think that will work as when I just run it for 30 seconds I get a repeat of this once it's done Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\xampp\htdocs\jsonRPCClient.php on line 132 Just ran the loop thing for about 5 minutes and no trades made. I'm gonna try your script as it looks 1000x better. Here is an error I get: Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\bot2.php on line 132 BTC2 received, thanks. Good luck! (you'll need it if you plan to use martingale betting for very long...) When you run PHP on a web server there is typically a 30s time limit. You can increase that in the PHP code with: set_time_limit(3600); Which will mean an hour from the time that was executed. Though if you put that in the correct loop (probably the innermost loop?) it will stop it from ever timing out.
|
|
|
I'm gonna try your script as it looks 1000x better. Here is an error I get: Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\bot2.php on line 132 BTC2 received, thanks. Good luck! (you'll need it if you plan to use martingale betting for very long...)
|
|
|
Okay so I'm still confused. This is what I currently have in my bitcoin.conf: rpcuser=KJTetc rpcpassword=(my pass lol) rpcallowip=* server=1 And this is my bot which is in htdocs which also has JSONrpcClient in it. <?php require_once('jsonRPCClient.php'); $b = new jsonRPCClient('http://KJTetc:MyRpcpass@localhost:8332/');
define('MIN_BET', 0.01); define('MAX_BET', 6); define('ADDRESS', '1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp');
$bet = MIN_BET; $total_fees = 0; $count = 0; $count_won = 0;
while (($bet <= MAX_BET) && ($count_won < 100)) { $count++;
$balance_a = $b->getbalance('*', 0); if (!isset($starting_balance)) $starting_balance = $balance_a; $b->sendtoaddress(ADDRESS, (float) $bet); $balance_b = $b->getbalance('*', 0);
$fee = $balance_a - $balance_b - $bet; $total_fees += $fee; $total_fees = number_format($total_fees,8,'.','')+0;
echo 'Game #'.$count."\n"; echo 'Balance: ' . $balance_a." "; echo 'Bet: '. $bet." "; echo 'Fee: '. (number_format($fee, 8, '.', '') +0) . " "; echo 'Total Fees: '. $total_fees. "\n"; echo 'Balance: ' . $balance_b . " ".'Waiting';
$balance_c = 0;
while ($balance_b >= $balance_c) { sleep(4); $balance_c = $b -> getbalance('*', 0); echo '.'; } echo "\nBalance: $balance_c ";
$diff = $balance_c - $balance_b;
if ($diff > $bet) { $bet = MIN_BET; $count_won++; echo "Win! ($count_won out of $count)\n"; } else { $bet *= 2; echo 'Lose!'."\n"; }
echo "\n"; }
echo 'Starting Balance: '.$starting_balance."\n"; echo 'Ending Balance : '. $balance_c."\n"; echo 'Total Fees: '. $total_fees."\n"; $amt_won = $balance_c - $starting_balance; echo 'Net Profit: '. (number_format($amt_won,8,'.','') + 0). "\n\n"; I get this error: Warning: fopen(http://...@localhost:8332/): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in C:\xampp\htdocs\jsonRPCClient.php on line 132
Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://KJTetc:*****@localhost:8332/' in C:\xampp\htdocs\jsonRPCClient.php:140 Stack trace: #0 C:\xampp\htdocs\bot2.php(20): jsonRPCClient->__call('sendtoaddress', Array) #1 C:\xampp\htdocs\bot2.php(20): jsonRPCClient->sendtoaddress('1dice8EMZmqKvrG...', 0.01) #2 {main} thrown in C:\xampp\htdocs\jsonRPCClient.php on line 140
BTC2 received, thanks. Good luck! (you'll need it if you plan to use martingale betting for very long...)
|
|
|
Hey Piachu aren't you the guy that made btc tip bot really popular?
|
|
|
What do I have near the top as the ip address? I get this error right now :
Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: No connection could be made because the target machine actively refused it. in C:\xampp\htdocs\jsonRPCClient.php on line 86
Your bitcoin client prob need to be in server mode and listening on 127.0.0.1 which is local loopback ip addy. How do I start it in server mode? I think I saw a script a while ago on it but I can't remember...
|
|
|
I believe BlockChain offers something which prevents them posting your transactions. That's all I have to contribute here. I'm not one to care for anonymity, as bitcoins are an investment to me, not a method of buying drugs
|
|
|
where are your funds held up? mtgox, dwolla, etc ?
Sent you a message.
|
|
|
That website is down so I downloaded a different version off of github... Guessing that will mess it up.. (Check post above) So I've got a good understanding of PHP but never heard of JSON. I've got everything you said. How do I make it work? Download jsonRPCClient.php, place it in same directory. But don't try martingale. I lost 100BTC
|
|
|
What do I have near the top as the ip address? I get this error right now :
Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: No connection could be made because the target machine actively refused it. in C:\xampp\htdocs\jsonRPCClient.php on line 86
|
|
|
I did a few bets on them and they actually did until that one :/
|
|
|
So I've got a good understanding of PHP but never heard of JSON. I've got everything you said. How do I make it work?
|
|
|
I can't do photo ID at the moment. I'll get back to you though.
|
|
|
I've got funds on hold so I can't buy any coin right now. I can pay it back on Febuary 4th when my funds get released. I know I have a low post count but if there's anyone out there??
|
|
|
Status: 111 confirmations, broadcast through 5 nodes Date: 02/02/2013 01:19 To: roulette-red 19QouqvFynCoe8i4nqurXGR8Kox3RzoXys Debit: -0.16 BTC Transaction fee: -0.0005 BTC Net amount: -0.1605 BTC Transaction ID: a17efe6497e14ed967e6cefd41e8e1e29a8b7cc9403667d5f8c3534ac4274106
Been 24 hours and absolutely nothing back...
|
|
|
What made them think that?
|
|
|
There is a site where you can find local vendors in your area. I'll link it in a sec.
|
|
|
|