Bitcoin Forum
December 05, 2016, 12:50:44 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   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 30827 times)
dooglus
Legendary
*
Offline Offline

Activity: 1988



View Profile
March 01, 2013, 09:35:33 PM
 #141

Lulz - funny Smiley
History doesn't affect the next bet Tongue

This, exactly.

Your number is determined entirely by:
  a) your transaction id (which is set by your client before your bet leaves your computer)
and
  b) the site's daily secret (which was set before the site started running)

It makes no difference who bets before you, or what number they got.

Your strategy is similar to waiting for three people to roll a 7 in craps before you start playing.  You can do it if you like, but it doesn't affect your chances of winning.

1480899044
Hero Member
*
Offline Offline

Posts: 1480899044

View Profile Personal Message (Offline)

Ignore
1480899044
Reply with quote  #2

1480899044
Report to moderator
1480899044
Hero Member
*
Offline Offline

Posts: 1480899044

View Profile Personal Message (Offline)

Ignore
1480899044
Reply with quote  #2

1480899044
Report to moderator
1480899044
Hero Member
*
Offline Offline

Posts: 1480899044

View Profile Personal Message (Offline)

Ignore
1480899044
Reply with quote  #2

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

Posts: 1480899044

View Profile Personal Message (Offline)

Ignore
1480899044
Reply with quote  #2

1480899044
Report to moderator
1480899044
Hero Member
*
Offline Offline

Posts: 1480899044

View Profile Personal Message (Offline)

Ignore
1480899044
Reply with quote  #2

1480899044
Report to moderator
1480899044
Hero Member
*
Offline Offline

Posts: 1480899044

View Profile Personal Message (Offline)

Ignore
1480899044
Reply with quote  #2

1480899044
Report to moderator
dextryn
Full Member
***
Offline Offline

Activity: 198



View Profile
March 05, 2013, 05:06:35 PM
 #142

I have a specific system that I'd like to get some help based upon a variant of the martingale system.  I'll pay a bounty of 2 btc if someone can help me develop it. (I have absolutely no skills at php/json or any of that) Just FYI manually inputting my system has given me 120btc profit in the last month.  PM me for details.
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
March 05, 2013, 07:58:00 PM
 #143

I have a specific system that I'd like to get some help based upon a variant of the martingale system.  I'll pay a bounty of 2 btc if someone can help me develop it. (I have absolutely no skills at php/json or any of that) Just FYI manually inputting my system has given me 120btc profit in the last month.  PM me for details.
You do realise that there is no 'system' to beat SD right?
Unless you can determine the lucky numbers in advance or guarantee double spending, it simply is impossible.

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
SRoulette
Sr. Member
****
Offline Offline

Activity: 364



View Profile WWW
March 06, 2013, 01:55:50 AM
 #144

I have a specific system that I'd like to get some help based upon a variant of the martingale system.  I'll pay a bounty of 2 btc if someone can help me develop it. (I have absolutely no skills at php/json or any of that) Just FYI manually inputting my system has given me 120btc profit in the last month.  PM me for details.

If you dont mind sharing your system we would be happy to incorporate it into our martingale bot.
Our bot currently targets our own games: http://satoshiroulette.com/ but we are in the process of enabling support for other casinos as well. You could even take advantage of one of the many alt currencies we support and test drive it with say terracoin first before moving up to bitcoin on satoshidice.

As Kano said though, a reliable way of beating a negative house edge does not exist or is currently unknown.
If you have turned probability on its head I cant wait to see it Cheesy

Please PM myself for details.

organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1946


Poor impulse control.


View Profile WWW
March 06, 2013, 06:39:17 AM
 #145

As Kano said though, a reliable way of beating a negative house edge does not exist or is currently unknown.

Perhaps a clearer minded thinker would interpret Kano's comment as "a reliable way of beating a negative expectation is to not bet against the house".

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
SRoulette
Sr. Member
****
Offline Offline

Activity: 364



View Profile WWW
March 10, 2013, 03:48:55 AM
 #146

Code:
function get_result($mode, $bet_txid, $game_name)
{
unset($r);
$jsonurl = "http://satoshiroulette.com/log.api.php?txid=$bet_txid&mode=$mode";

while(! isset($r->{$game_name}) )
{
$json = file_get_contents($jsonurl);
$r = json_decode($json);
if(isset($r->{$game_name}))
{
$result = $r->{$game_name};
}
print ".";
$s = rand($GLOBALS['sleep'], $GLOBALS['sleep_max']);
sleep($s);
}
return $result;
}

 like the example above,can we  query to result directly from the satoshidice website.

$jsonurl = "http://www.satoshidice.com/lookup.php?tx=$bet_txid&limit=250&min_bet=0&status=ALL&format=json";

Unfortunately SatoshiDice do not not have such an API currently, we encourage them to add one like our own so blockspam can be reduced.

FTWbitcoinFTW
Sr. Member
****
Offline Offline

Activity: 476



View Profile
March 10, 2013, 05:22:15 PM
 #147

Martingale is nice !!

Code:
2013-03-10 06:41:26 lessthan 32000 3d61afe0 31c90c0a 1LuckyW CONFIRMED 340.00000000 LOSE 1.70000000 37037
2013-03-10 06:35:23 lessthan 32000 6d2a7d7a aa7a74c6 1LuckyW CONFIRMED 12.50000000 LOSE 0.06250000 36684
2013-03-10 05:57:16 lessthan 32000 36585c54 754cf1b4 1LuckyW CONFIRMED 160.00000000 LOSE 0.80000000 57053
2013-03-10 05:51:27 lessthan 32000 72bf3c36 10e9b860 1LuckyW CONFIRMED 70.00000000 LOSE 0.35000000 49794
2013-03-10 05:43:10 lessthan 32000 945a9f86 397f6c87 1LuckyW CONFIRMED 12.50000000 WIN 25.04810000 5526
2013-03-10 05:42:50 lessthan 32000 dec73088 8d4ee4d2 1LuckyW CONFIRMED 30.00000000 LOSE 0.15000000 51420
2013-03-10 05:36:21 lessthan 32000 30dd3084n 7f07f427 1LuckyW CONFIRMED 12.50000000 LOSE 0.06250000 60988
2013-03-10 04:54:46 lessthan 32000 5b74aa38 e9b0838e 1LuckyW CONFIRMED 70.00000000 WIN 140.26936000 20218
2013-03-10 04:53:09 lessthan 32000 8b8f4870 caf86389 1LuckyW CONFIRMED 30.00000000 LOSE 0.15000000 43175


12 / 30 / 70 / 160 / 340 = -28K$  just to try cover  a 12btc loss



edit : http://satoshidice.com/lookup.php?tx=1LuckyWwuK7CMF9PveFT4ZXbBcDz6xripS&limit=1000&min_bet=12&status=ALL

Lost coins only make everyone else's coins worth slightly more. Think of it as a donation to everyone.
it has lots of buttery taste..
fcmatt
Legendary
*
Offline Offline

Activity: 1106


View Profile
March 10, 2013, 07:05:21 PM
 #148

Martingale is nice !!

Code:
2013-03-10 06:41:26 lessthan 32000 3d61afe0 31c90c0a 1LuckyW CONFIRMED 340.00000000 LOSE 1.70000000 37037
2013-03-10 06:35:23 lessthan 32000 6d2a7d7a aa7a74c6 1LuckyW CONFIRMED 12.50000000 LOSE 0.06250000 36684
2013-03-10 05:57:16 lessthan 32000 36585c54 754cf1b4 1LuckyW CONFIRMED 160.00000000 LOSE 0.80000000 57053
2013-03-10 05:51:27 lessthan 32000 72bf3c36 10e9b860 1LuckyW CONFIRMED 70.00000000 LOSE 0.35000000 49794
2013-03-10 05:43:10 lessthan 32000 945a9f86 397f6c87 1LuckyW CONFIRMED 12.50000000 WIN 25.04810000 5526
2013-03-10 05:42:50 lessthan 32000 dec73088 8d4ee4d2 1LuckyW CONFIRMED 30.00000000 LOSE 0.15000000 51420
2013-03-10 05:36:21 lessthan 32000 30dd3084n 7f07f427 1LuckyW CONFIRMED 12.50000000 LOSE 0.06250000 60988
2013-03-10 04:54:46 lessthan 32000 5b74aa38 e9b0838e 1LuckyW CONFIRMED 70.00000000 WIN 140.26936000 20218
2013-03-10 04:53:09 lessthan 32000 8b8f4870 caf86389 1LuckyW CONFIRMED 30.00000000 LOSE 0.15000000 43175


12 / 30 / 70 / 160 / 340 = -28K$  just to try cover  a 12btc loss



edit : http://satoshidice.com/lookup.php?tx=1LuckyWwuK7CMF9PveFT4ZXbBcDz6xripS&limit=1000&min_bet=12&status=ALL


Sd relies on suckers to profit. Poor math skills equals money for them. You know the old saying, there is one born every minute.
The funniest part is that they get no free drinks, food, hotel room, socialization in nice atmosphere, etc. At least some small token for their losses. They just sit in their underwear in front of pc and give their money away. Hilarious.
Rampion
Legendary
*
Offline Offline

Activity: 1078


View Profile
March 11, 2013, 05:50:02 PM
 #149

Martingale is nice !!

Code:
2013-03-10 06:41:26 lessthan 32000 3d61afe0 31c90c0a 1LuckyW CONFIRMED 340.00000000 LOSE 1.70000000 37037
2013-03-10 06:35:23 lessthan 32000 6d2a7d7a aa7a74c6 1LuckyW CONFIRMED 12.50000000 LOSE 0.06250000 36684
2013-03-10 05:57:16 lessthan 32000 36585c54 754cf1b4 1LuckyW CONFIRMED 160.00000000 LOSE 0.80000000 57053
2013-03-10 05:51:27 lessthan 32000 72bf3c36 10e9b860 1LuckyW CONFIRMED 70.00000000 LOSE 0.35000000 49794
2013-03-10 05:43:10 lessthan 32000 945a9f86 397f6c87 1LuckyW CONFIRMED 12.50000000 WIN 25.04810000 5526
2013-03-10 05:42:50 lessthan 32000 dec73088 8d4ee4d2 1LuckyW CONFIRMED 30.00000000 LOSE 0.15000000 51420
2013-03-10 05:36:21 lessthan 32000 30dd3084n 7f07f427 1LuckyW CONFIRMED 12.50000000 LOSE 0.06250000 60988
2013-03-10 04:54:46 lessthan 32000 5b74aa38 e9b0838e 1LuckyW CONFIRMED 70.00000000 WIN 140.26936000 20218
2013-03-10 04:53:09 lessthan 32000 8b8f4870 caf86389 1LuckyW CONFIRMED 30.00000000 LOSE 0.15000000 43175


12 / 30 / 70 / 160 / 340 = -28K$  just to try cover  a 12btc loss



edit : http://satoshidice.com/lookup.php?tx=1LuckyWwuK7CMF9PveFT4ZXbBcDz6xripS&limit=1000&min_bet=12&status=ALL


Well, eventually a consecutive strek of 20 losses will happen. And that will not only end up eating all the mini-wins previously made through martingale, but it's very likely to destroy even the biggest roll.

Martingale sucks big time... Not for Satoshidice owners, of course Wink

rayvellest
Member
**
Offline Offline

Activity: 89


View Profile WWW
March 21, 2013, 01:28:33 PM
 #150

Every time I run this script, it ends up creating a new Bitcoin wallet, what's wrong with it!?

payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
March 21, 2013, 09:32:27 PM
 #151

Every time I run this script, it ends up creating a new Bitcoin wallet, what's wrong with it!?

if you're referring to the script in the OP, you probably mean it's creating a new address, not a new wallet. in that case, that's what the normal bitcoin client was designed to do, and has nothing to do with the martingale script.
rayvellest
Member
**
Offline Offline

Activity: 89


View Profile WWW
March 21, 2013, 11:54:23 PM
 #152

Every time I run this script, it ends up creating a new Bitcoin wallet, what's wrong with it!?

if you're referring to the script in the OP, you probably mean it's creating a new address, not a new wallet. in that case, that's what the normal bitcoin client was designed to do, and has nothing to do with the martingale script.


Why the script does that? Is there a meaningful reason for that? And, I wonder, is it possible to modify the script in such way that it uses the same address every time? Excuse the sack of questions, I'm still learning my way around it, and any help means a lot. Thanks!

payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
March 22, 2013, 02:38:06 AM
 #153

Every time I run this script, it ends up creating a new Bitcoin wallet, what's wrong with it!?

if you're referring to the script in the OP, you probably mean it's creating a new address, not a new wallet. in that case, that's what the normal bitcoin client was designed to do, and has nothing to do with the martingale script.


Why the script does that? Is there a meaningful reason for that? And, I wonder, is it possible to modify the script in such way that it uses the same address every time? Excuse the sack of questions, I'm still learning my way around it, and any help means a lot. Thanks!

no, the script is simply telling bitcoin to send a transaction. beyond that, it doesn't have control over change addresses, etc.

what you're asking is related to how the bitcoin software works, not how the PHP script in the OP works.
dermo
Full Member
***
Offline Offline

Activity: 182



View Profile
May 31, 2013, 02:15:08 AM
 #154

A PowerShell Version:

Code:
Write-Host "Satoshidice"

$min_bet = 0.01
$max_bet = 0.1
$address = "1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp"


$bet = $min_bet
$total_fees = 0
$count = 0
$count_won = 0


$starting_balance = ./bitcoind getbalance

while ($bet -le $max_bet -AND $count_won -le 100) {

$count ++
$balance_a = ./bitcoind getbalance

$tx = ./bitcoind sendtoaddress "$address" $bet

$balance_b = ./bitcoind getbalance

$fee = $balance_a - $balance_b - $bet
$total_fees += $fee

Write-Host "Game: $count"
Write-Host "Balance: $balance_a"
Write-Host "Bet: $bet"
Write-Host "Fee: $fee"
Write-Host "Total Fees: $total_fees"
Write-Host –NoNewLine "Balance: $balance_b Waiting "

$balance_c = 0
$last_c = 0

while ($balance_b -ge $balance_c)
{
$balance_c = ./bitcoind getbalance

if(  ($balance_c -eq $last_c) -OR ($last_c -eq 0) )
{
Write-Host –NoNewLine "."
}else
{
Write-Host "Balance: $balance_c"
}

$last_c = $balance_c

}

$diff = $balance_c - $balance_b

if ($diff -gt $bet)
{
$bet = $min_bet
$count_won = $count_won + 1
Write-Host "Win! ($count_won out of $count)"
}else
{
$bet = $bet * 2
Write-Host "Lose!"
}

Write-Host ""
}


If someone thinks this is worth a donation... 1J66vZHf1oFPHFhjFBtbEqxkJahdF3vetu

Thanks payb.tc for your nice PHP Script :0) Donation on the way

How to run a powershell script ? thanks in advance
noobshow
Newbie
*
Offline Offline

Activity: 3


View Profile
July 12, 2015, 09:30:04 PM
 #155

Is it possible to convert these bots for blockchain.info wallet?

I Know This Topic Has Been Posted a long while ago(2012), but i think if its worthwhile i can have this script coded into working for blockchain.info wallet also.....

!!!If Requested!!!
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!