Bitcoin Forum
April 26, 2024, 01:31:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: « 1 2 3 4 5 6 7 [8]  All
  Print  
Author Topic: PHP martingale bot for satoshiDICE  (Read 32860 times)
dextryn
Full Member
***
Offline Offline

Activity: 198
Merit: 100



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

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.
1714095071
Hero Member
*
Offline Offline

Posts: 1714095071

View Profile Personal Message (Offline)

Ignore
1714095071
Reply with quote  #2

1714095071
Report to moderator
1714095071
Hero Member
*
Offline Offline

Posts: 1714095071

View Profile Personal Message (Offline)

Ignore
1714095071
Reply with quote  #2

1714095071
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
March 05, 2013, 07:58:00 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.
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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
SRoulette
Sr. Member
****
Offline Offline

Activity: 364
Merit: 252



View Profile WWW
March 06, 2013, 01:55:50 AM
 #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.

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: 2058
Merit: 1007


Poor impulse control.


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

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
Merit: 252



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

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
Merit: 250



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

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: 2072
Merit: 1001


View Profile
March 10, 2013, 07:05:21 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


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: 1148
Merit: 1018


View Profile
March 11, 2013, 05:50:02 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


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: 90
Merit: 10


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

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

payb.tc (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



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

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: 90
Merit: 10


View Profile WWW
March 21, 2013, 11:54:23 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.


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 (OP)
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
March 22, 2013, 02:38:06 AM
 #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!

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

Activity: 336
Merit: 250



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

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
Pages: « 1 2 3 4 5 6 7 [8]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!