Bitcoin Forum
December 05, 2016, 04:36:31 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
Author Topic: PHP martingale bot for satoshiDICE  (Read 30828 times)
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1344


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
June 06, 2012, 08:35:40 PM
 #41

I don't like the idea of an automated gambling bot as you're consuming others' bandwidth and disk resources in far in excess of the value of your gains.  I'd rather you mine off your landlord's power.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper wallets instead.
1480912591
Hero Member
*
Offline Offline

Posts: 1480912591

View Profile Personal Message (Offline)

Ignore
1480912591
Reply with quote  #2

1480912591
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480912591
Hero Member
*
Offline Offline

Posts: 1480912591

View Profile Personal Message (Offline)

Ignore
1480912591
Reply with quote  #2

1480912591
Report to moderator
1480912591
Hero Member
*
Offline Offline

Posts: 1480912591

View Profile Personal Message (Offline)

Ignore
1480912591
Reply with quote  #2

1480912591
Report to moderator
1480912591
Hero Member
*
Offline Offline

Posts: 1480912591

View Profile Personal Message (Offline)

Ignore
1480912591
Reply with quote  #2

1480912591
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
June 11, 2012, 01:35:44 PM
 #42

I don't like the idea of an automated gambling bot as you're consuming others' bandwidth and disk resources in far in excess of the value of your gains.  I'd rather you mine off your landlord's power.
You not gonna win too much agreement with that comment Smiley
Up to 4th June, Satoshi Dice was 61.7% of all block-chain transactions ...

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
D4CH
Member
**
Offline Offline

Activity: 68



View Profile
July 04, 2012, 07:32:25 PM
 #43

Could anyone make a guide on how to set this up on windows for a noob like I?

BTC: 1FPdKgBw2MKRUUwB6DtSKfP3JyrN5DMd2y LTC: LSHxgTHmYZzq2AyUL4WfQLA6YSzGH5qSrr BTE: 8FCuGmC39M86FoBh7WqNCacpabmQtHHbEa
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
July 04, 2012, 09:54:56 PM
 #44

Could anyone make a guide on how to set this up on windows for a noob like I?

on windows, you might need to make yourself familiar with xampp http://www.apachefriends.org/en/xampp.html
drakahn
Hero Member
*****
Offline Offline

Activity: 504



View Profile
July 26, 2012, 01:23:24 AM
 #45

Its pretty easy to get running on windows, install php, add the path to php to PATH, then in cmd 'php yourbotfile.php'

Problem i am having now is after a few transactions my bitcoin client freezes... anyone know a fix for this?

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
unclemantis
Member
**
Offline Offline

Activity: 98


(:firstbits => "1mantis")


View Profile
July 26, 2012, 02:11:15 AM
 #46

I wonder if this would work with a blockexplorer.info wallet.

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
luicon
Full Member
***
Offline Offline

Activity: 130


View Profile
July 26, 2012, 05:23:41 AM
 #47

any motivated php/python/perl expert ? i would like to explain him a combined method of progression and bet selection to see if it may work
pm me
unclemantis
Member
**
Offline Offline

Activity: 98


(:firstbits => "1mantis")


View Profile
July 27, 2012, 03:49:40 AM
 #48

Either way I still loose. I think I am done with my Satoshi Dice days LOL.

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
Fredyy
Full Member
***
Offline Offline

Activity: 140



View Profile
July 30, 2012, 07:13:32 PM
 #49

https://github.com/Fredyy90/satoshidice-matingalebot

Here is my version.
ccliu
Sr. Member
****
Offline Offline

Activity: 420



View Profile
July 31, 2012, 01:11:10 AM
 #50

is it possible to make a windows .exe out of the code?

It could benefit people like me (absolute web server noob)
drakahn
Hero Member
*****
Offline Offline

Activity: 504



View Profile
July 31, 2012, 02:03:26 AM
 #51

is it possible to make a windows .exe out of the code?

It could benefit people like me (absolute web server noob)

the python version somewhere in here compiles to an exe

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
ccliu
Sr. Member
****
Offline Offline

Activity: 420



View Profile
July 31, 2012, 06:32:48 AM
 #52

is it possible to make a windows .exe out of the code?

It could benefit people like me (absolute web server noob)

the python version somewhere in here compiles to an exe

How do I go about doing that?
drakahn
Hero Member
*****
Offline Offline

Activity: 504



View Profile
July 31, 2012, 08:58:56 AM
 #53

is it possible to make a windows .exe out of the code?

It could benefit people like me (absolute web server noob)

the python version somewhere in here compiles to an exe

How do I go about doing that?

well, download/install python, download/install py2exe, make needed changed to the source, copy the jsonrpc folder from dependencies, run setup.py, enjoy .exe's (it comes with some compiled, i guess they could work for straight martingale)

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
ccliu
Sr. Member
****
Offline Offline

Activity: 420



View Profile
July 31, 2012, 01:55:52 PM
 #54

is it possible to make a windows .exe out of the code?

It could benefit people like me (absolute web server noob)

the python version somewhere in here compiles to an exe

How do I go about doing that?

well, download/install python, download/install py2exe, make needed changed to the source, copy the jsonrpc folder from dependencies, run setup.py, enjoy .exe's (it comes with some compiled, i guess they could work for straight martingale)

I'm guesing the change I need to make is place my own wallet.json thingy in, correct?
drakahn
Hero Member
*****
Offline Offline

Activity: 504



View Profile
July 31, 2012, 02:21:04 PM
 #55

is it possible to make a windows .exe out of the code?

It could benefit people like me (absolute web server noob)

the python version somewhere in here compiles to an exe

How do I go about doing that?

well, download/install python, download/install py2exe, make needed changed to the source, copy the jsonrpc folder from dependencies, run setup.py, enjoy .exe's (it comes with some compiled, i guess they could work for straight martingale)

I'm guesing the change I need to make is place my own wallet.json thingy in, correct?

mainly just the min_bet, max_bet, any customations you want to make to the strategy (its setup for straight martingale on the 50/50 dice) you put your rpc ip, username, password and port into the .ini file - if you aren't customising the strategy the included binaries are probably fine to use

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
Sovereign108
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 03, 2012, 07:27:34 AM
 #56

Hi! I am trying to get started by loading Bitcoind on Windows, I added the necessary conf file and loaded it via the command line but the cmd line cursor is just been 'busy' all night and now! How long is this supposed to take to initialize?

All I see in the log file is loads of this:

askfor tx b971b5e4de15a8b480ad   0
sending getdata: tx b971b5e4de15a8b480ad
addUnchecked(): size 637
CTxMemPool::accept() : accepted b971b5e4de
askfor tx f536ffa4a2709b4484a2   0
sending getdata: tx f536ffa4a2709b4484a2
addUnchecked(): size 638
CTxMemPool::accept() : accepted f536ffa4a2
askfor tx e8ff573b917043c1ea13   0
sending getdata: tx e8ff573b917043c1ea13
askfor tx e8ff573b917043c1ea13   1346657209000000
addUnchecked(): size 639
CTxMemPool::accept() : accepted e8ff573b91
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
September 03, 2012, 08:26:57 AM
 #57

2 things:
1) Wrong thread
2) Wait until it downloads the full blockchain
Current block right now is 197000

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Sovereign108
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 04, 2012, 11:58:13 AM
 #58

Thanksa anyway, I got it working!

I am using that Powershell script which I modified and its going great, only thing is that waiting for a confirmation on the received balance takes ages for me so each game lasts a while...
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
September 04, 2012, 10:26:58 PM
 #59

Thanksa anyway, I got it working!

I am using that Powershell script which I modified and its going great, only thing is that waiting for a confirmation on the received balance takes ages for me so each game lasts a while...
If you do a ./bitcoind listtransactions '*' 1 it will show you the last transaction you received even if it is unconfirmed.
Thus you can see the results of your bets as soon as SD replies ... and lose money way faster Cheesy

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Sovereign108
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 05, 2012, 10:55:26 AM
 #60

I tried that command in powershell and I just get error type mismatch or nothing in square brackets! help?
Thanksa anyway, I got it working!

I am using that Powershell script which I modified and its going great, only thing is that waiting for a confirmation on the received balance takes ages for me so each game lasts a while...
If you do a ./bitcoind listtransactions '*' 1 it will show you the last transaction you received even if it is unconfirmed.
Thus you can see the results of your bets as soon as SD replies ... and lose money way faster Cheesy
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!