Search content
Sort by

Showing 20 of 24 results by KJTetc
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 08/02/2013, 05:20:11 UTC
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" Cheesy

quit while you're ahead KJ!

Post
Topic
Board Bitcoin Technical Support
Topic OP
Bitcoin-qt freezes?
by
KJTetc
on 07/02/2013, 23:25:00 UTC
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.
Post
Topic
Board Archival
Re: Pictures of your mining rigs!
by
KJTetc
on 07/02/2013, 06:35:51 UTC
last days of my btc rig:

27 icarus on a tplink 730n

http://bitcleta.com/pub/ica.jpg
 
here.

Wow. How much is that worth in total and how much does it produce a month?
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 06/02/2013, 20:01:56 UTC
Using your script, localhost as allowed ip in conf. Running from command line. Still get that http error Sad



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
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 06/02/2013, 07:55:33 UTC
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. Sad

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.
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 06/02/2013, 05:14:45 UTC
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...)
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 06/02/2013, 01:58:27 UTC
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.

 
Code:
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($fee8'.''') +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:


Code:
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...)
Post
Topic
Board Project Development
Re: Any game developers out there? Developing next step of online gambling
by
KJTetc
on 03/02/2013, 23:35:58 UTC
Hey Piachu aren't you the guy that made btc tip bot really popular?
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 03/02/2013, 23:34:03 UTC
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...
Post
Topic
Board Bitcoin Discussion
Re: Anonymity & Bitcoin - do we really need it?
by
KJTetc
on 03/02/2013, 07:27:34 UTC
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  Wink
Post
Topic
Board Lending
Re: 1.30 BTC needed!
by
KJTetc
on 03/02/2013, 05:19:46 UTC
where are your funds held up? mtgox, dwolla, etc ?

Sent you a message.
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 03/02/2013, 04:19:13 UTC
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?  Roll Eyes



http://bitcoin.org -> install bitcoin
http://www.apachefriends.org/en/xampp.html -> install xampp (which includes php)

have a read of https://en.bitcoin.it/wiki/PHP_developer_intro

http://jsonrpcphp.org -> get jsonRPCClient.php


the OP was aimed at coders who already have the basic dev environment set up.
Download jsonRPCClient.php, place it in same directory.

But don't try martingale. I lost 100BTC  Embarrassed
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 03/02/2013, 04:16:28 UTC
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
Post
Topic
Board Gambling
Re: Satoshi Roullette didn't send anything back?
by
KJTetc
on 03/02/2013, 04:09:11 UTC
I did a few bets on them and they actually did until that one :/
Post
Topic
Board Trading Discussion
Re: PHP martingale bot for satoshiDICE
by
KJTetc
on 03/02/2013, 03:58:21 UTC
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?  Roll Eyes



http://bitcoin.org -> install bitcoin
http://www.apachefriends.org/en/xampp.html -> install xampp (which includes php)

have a read of https://en.bitcoin.it/wiki/PHP_developer_intro

http://jsonrpcphp.org -> get jsonRPCClient.php


the OP was aimed at coders who already have the basic dev environment set up.
Post
Topic
Board Lending
Re: 1.30 BTC needed!
by
KJTetc
on 03/02/2013, 03:24:11 UTC
I can't do photo ID at the moment. I'll get back to you though.
Post
Topic
Board Lending
Topic OP
1.30 BTC needed!
by
KJTetc
on 03/02/2013, 03:04:17 UTC
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??  Huh
Post
Topic
Board Gambling
Topic OP
[RESOLVED-THANKS]Satoshi Roullette didn't send anything back?
by
KJTetc
on 03/02/2013, 02:56:43 UTC
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...
Post
Topic
Board Beginners & Help
Re: For those on reddit who think the forums comprimised
by
KJTetc
on 01/02/2013, 05:47:39 UTC
What made them think that?
Post
Topic
Board Beginners & Help
Re: Bitcoins- Offline Purchasing?
by
KJTetc
on 01/02/2013, 05:46:19 UTC
There is a site where you can find local vendors in your area. I'll link it in a sec.