Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
November 06, 2012, 05:26:28 AM |
|
Is the bot supposed to run continuously? After a loss the bot doesn't do anything. It also only submits a second bet if there's a win. I have 5 BTC in my wallet so that might be to low?
It's supposed to run continuously. But sometimes, especially when a new block is found, Satoshi's client doesn't respond. Perhaps it's a bug in my bot, but there are only a few lines of code and most of times the bot sends hundreds bets before it stops, so I suspect that something wrong in the client. Also the bot is supposed to be launched with a fresh wallet with 1 account only.
|
|
|
|
nokru
Newbie
Offline
Activity: 50
Merit: 0
|
|
November 06, 2012, 06:39:49 PM |
|
java.net.ProtocolException: Server redirected too many times (20) something i can tweak, or do i have to wait and drink a cup of tea?
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
November 06, 2012, 07:22:03 PM |
|
java.net.ProtocolException: Server redirected too many times (20) something i can tweak, or do i have to wait and drink a cup of tea? Check that username, password and url are correct.
|
|
|
|
Gyrsur
Legendary
Offline
Activity: 2856
Merit: 1520
Bitcoin Legal Tender Countries: 2 of 206
|
|
November 13, 2012, 02:30:16 PM |
|
almost everything lost?
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
November 13, 2012, 03:56:03 PM |
|
almost everything lost? Me? No. Won 50 BTC during last 2 days playing without bot, but got bored. I'm waiting for a gambling game with co-operative gameplay, it's in betatesting stage now.
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
November 15, 2012, 02:00:49 PM |
|
Here is my preset for this bot. Works much better than mining. About 0.5 BTC per hour with minimal risk. java -cp MartinBot.jar MartinBot http://127.0.0.1:9876 LOGIN PASSWORD 1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp 0.003 3.3 I decided to try ur tactics: more losses in a row, higher a reward at the end. As a result I won more than 100 BTC after a couple of hours. Thx for the idea.
|
|
|
|
Gyrsur
Legendary
Offline
Activity: 2856
Merit: 1520
Bitcoin Legal Tender Countries: 2 of 206
|
|
November 15, 2012, 02:24:01 PM |
|
you must be rich now!
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
November 15, 2012, 02:35:08 PM |
|
you must be rich now! Aye! Unfortunately, SatoshiDice has hard limit of 250 BTC per bet, so I can't become insanely rich...
|
|
|
|
aadje93
|
|
November 20, 2012, 03:26:26 PM Last edit: November 20, 2012, 03:43:05 PM by aadje93 |
|
Hi,
i tryed your bot. But i keep getting the error
connection refused: connect
i made a config file with
server=1 rpcport=9876 user=(not going to tell) password=(not going to tell) allowip=127.0.0.1
but it will not allow me to use the java bot.. Tryed to disable antivirus and firewall and still not working..
Although i can read the RPC part with another program.. (can get balance in php script)
EDIT:
or is it possible because my wallet is password protected?
EDIT2
tryed with an blockchain.info wallet
getting nullpointer exception (download the 2nd post .java file)
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
November 20, 2012, 04:07:32 PM |
|
i made a config file with
server=1 rpcport=9876 user=(not going to tell) password=(not going to tell) allowip=127.0.0.1
Try to use command line parameters, not config file. Something like bitcoin-qt.exe -server -rpcport=9876 -rpcuser=(not going to tell) -rpcpassword=(not going to tell) -rpcallowip=127.0.0.1 or is it possible because my wallet is password protected?
Never tried with password protected wallet. tryed with an blockchain.info wallet
MartinBot was designed to be used with Satoshi's client.
|
|
|
|
aadje93
|
|
November 20, 2012, 05:56:59 PM Last edit: November 20, 2012, 06:09:26 PM by aadje93 |
|
i made a config file with
server=1 rpcport=9876 user=(not going to tell) password=(not going to tell) allowip=127.0.0.1
Try to use command line parameters, not config file. Something like bitcoin-qt.exe -server -rpcport=9876 -rpcuser=(not going to tell) -rpcpassword=(not going to tell) -rpcallowip=127.0.0.1 or is it possible because my wallet is password protected?
Never tried with password protected wallet. tryed with an blockchain.info wallet
MartinBot was designed to be used with Satoshi's client. hello thanks for your help what is the satoshi's client? Does that have RPC interface? EDIT: we are getting somewhere . With a bat script with the commands you suggested Error writing to server Any fix for that? EDIT2: didn't realize, the "error writing to server" only occurs when i use the static IP for my pc (***.***.*.14) when i use 127.0.0.1 its still http error 500 (the standard no acces error)
|
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
November 20, 2012, 08:51:24 PM |
|
what is the satoshi's client? Does that have RPC interface?
It can be downloaded from http://bitcoin.org/. It does have JSON-RPC interface. didn't realize, the "error writing to server" only occurs when i use the static IP for my pc (***.***.*.14)
when i use 127.0.0.1 its still http error 500 (the standard no acces error)
Usually, I see this error if I try to spend more BTC than I have confirmed in a wallet. Satoshi's client gives very little info about errors, so it's hard to catch a bug.
|
|
|
|
aadje93
|
|
November 21, 2012, 06:29:08 AM |
|
what is the satoshi's client? Does that have RPC interface?
It can be downloaded from http://bitcoin.org/. It does have JSON-RPC interface. didn't realize, the "error writing to server" only occurs when i use the static IP for my pc (***.***.*.14)
when i use 127.0.0.1 its still http error 500 (the standard no acces error)
Usually, I see this error if I try to spend more BTC than I have confirmed in a wallet. Satoshi's client gives very little info about errors, so it's hard to catch a bug. You probarly haven't seen my previous martingale work (developped my own strategy on a lower bet %) My balance is way over 300 btc at the moment, so a 0.01 bet should be possible . EDIT: can't find satoshi's client on bitcoin.org. Only bitcoin-qt *what i use now* multibit, armory, electrum (and bitcoin wallet for android)
|
|
|
|
frozenkai
Member
Offline
Activity: 86
Merit: 10
|
|
January 28, 2013, 09:34:36 PM |
|
I get this: am I doing something wrong? C:\Program Files (x86)\Bitcoin>bitcoin-qt.exe -server -rpcport=9876 -rpcuser=asdfE -rpcpassword=sdaf-rpcallowip=127.0.0.1
C:\Program Files (x86)\Bitcoin>cd \
C:\>java -cp MartinBot.jar MartinBot http://127.0.0.1:9876 MYUSERNAME MYPASSWORD 1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp 0.1 2.0 java.net.ConnectException: Connection refused: connect
C:\>"C:\Program Files (x86)\Bitcoin '"C:\Program Files (x86)\Bitcoin' is not recognized as an internal or external c ommand, operable program or batch file.
C:\>cd "C:\Program Files (x86)\Bitcoin
C:\Program Files (x86)\Bitcoin>bitcoin-qt.exe -server -rpcport=9876 -rpcuser=MYU SERNAME -rpcpassword=MYPASSWORD -rpcallowip=127.0.0.1
C:\Program Files (x86)\Bitcoin>cd \
C:\>java -cp MartinBot.jar MartinBot http://127.0.0.1:9876 MYUSERNAME MYPASSWORD 1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp 0.003 3.3 ---------- {"method":"sendtoaddress","params":["1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp",0.003]} {"id":null,"result":"9ce841babde110db1360056cb863d4f2f876a6158a010653e7aa2797a3e f161d","error":null}
|
My hard drive died and I lost all my bitcoins, help me out? 19BsFvdjtVDPHhdcYqBUi1bZ9xRopzbRjC
|
|
|
frozenkai
Member
Offline
Activity: 86
Merit: 10
|
|
January 29, 2013, 02:18:12 AM |
|
NOTE: I don't think this is designed to be used by people with 10btc or less, I had 5btc and lost all of them
|
My hard drive died and I lost all my bitcoins, help me out? 19BsFvdjtVDPHhdcYqBUi1bZ9xRopzbRjC
|
|
|
Come-from-Beyond (OP)
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 30, 2013, 05:22:16 AM |
|
It was designed when min bet was 0.001 BTC. Now it's 0.01 BTC.
|
|
|
|
JoelKatz
Legendary
Offline
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
|
|
February 11, 2013, 11:45:07 AM |
|
NOTE: I don't think this is designed to be used by people with 10btc or less, I had 5btc and lost all of them
The less you have, the more likely you are to lose everything. However, if you lose everything, you lose less. There's no such thing as a free lunch.
|
I am an employee of Ripple. Follow me on Twitter @JoelKatz 1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
|
|
|
|