Bitcoin Forum
December 15, 2017, 07:38:02 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
  Print  
Author Topic: Seuntjie' Dice bot programmers mode discussion.  (Read 52311 times)
birdcat90
Hero Member
*****
Offline Offline

Activity: 602



View Profile
April 01, 2016, 03:37:06 PM
 #141

hello,,

can anyone help me with my betting sequence?

i have sequence like this..

payout 1.1 or chance 90%

pre-roll for 1 red, after that roll for 0.0001 sat if loss then back pre roll again until hit 1 red then the next bet will be 0.0011 (1000% from 0.0001) if the result is loss again

it will pre roll again until hit red then the next bet will be 0.0121 (1000% from 0.0011) and it will repeat until hit green.

in exp:
1.win(pre roll)
2.win(pre roll)
3.loss(pre roll)
4. 0.0001 (loss)
5.win(pre roll)
6.loss(pre roll)
7. 0.0011 (win)
8. start from the begining

case 2:

1.win (pre roll)
2.win(pre roll)
3.loss(pre roll)
4. 0.0001 (loss)
5. loss (pre roll)
6. (it will not bet using multiplier before green pre roll followed by red pre roll)

thanks in advance

<a href="http://www.freebiebitcoin.com">Earn free bitcoin</a>
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513323482
Hero Member
*
Offline Offline

Posts: 1513323482

View Profile Personal Message (Offline)

Ignore
1513323482
Reply with quote  #2

1513323482
Report to moderator
1513323482
Hero Member
*
Offline Offline

Posts: 1513323482

View Profile Personal Message (Offline)

Ignore
1513323482
Reply with quote  #2

1513323482
Report to moderator
1513323482
Hero Member
*
Offline Offline

Posts: 1513323482

View Profile Personal Message (Offline)

Ignore
1513323482
Reply with quote  #2

1513323482
Report to moderator
chilly2k
Legendary
*
Offline Offline

Activity: 963


View Profile
April 01, 2016, 04:29:53 PM
 #142

hello,,

can anyone help me with my betting sequence?

i have sequence like this..

payout 1.1 or chance 90%

pre-roll for 1 red, after that roll for 0.0001 sat if loss then back pre roll again until hit 1 red then the next bet will be 0.0011 (1000% from 0.0001) if the result is loss again

it will pre roll again until hit red then the next bet will be 0.0121 (1000% from 0.0011) and it will repeat until hit green.

in exp:
1.win(pre roll)
2.win(pre roll)
3.loss(pre roll)
4. 0.0001 (loss)
5.win(pre roll)
6.loss(pre roll)
7. 0.0011 (win)
8. start from the begining

case 2:

1.win (pre roll)
2.win(pre roll)
3.loss(pre roll)
4. 0.0001 (loss)
5. loss (pre roll)
6. (it will not bet using multiplier before green pre roll followed by red pre roll)

thanks in advance

   Does the site your using accept bets for 0?  Thats a condition for the pre-roll.  Also what is supposed to happen when you win on the increased bet amount? reset the bet to the base, or continue the higher bet till you lose?   

The_Prof
Sr. Member
****
Offline Offline

Activity: 327



View Profile
April 01, 2016, 08:28:12 PM
 #143

hello,,

can anyone help me with my betting sequence?

i have sequence like this..

payout 1.1 or chance 90%

pre-roll for 1 red, after that roll for 0.0001 sat if loss then back pre roll again until hit 1 red then the next bet will be 0.0011 (1000% from 0.0001) if the result is loss again

it will pre roll again until hit red then the next bet will be 0.0121 (1000% from 0.0011) and it will repeat until hit green.

in exp:
1.win(pre roll) - 0.0000001
2.win(pre roll) - 0.0000001
3.loss(pre roll) - 0.0000001
4. 0.0001 (loss) - 0.0001
5.win(pre roll) - 0.0000001
6.loss(pre roll) - 0.0000001
7. 0.0011 (win) - 0.0011
8. start from the begining

case 2:

1.win (pre roll) -  0.0000001
2.win(pre roll) -  0.0000001
3.loss(pre roll) -  0.0000001
4. 0.0001 (loss) - 0.0001
5. loss (pre roll) - 0.0000001
6. (it will not bet using multiplier before green pre roll followed by red pre roll)

thanks in advance

   Does the site your using accept bets for 0?  Thats a condition for the pre-roll.  Also what is supposed to happen when you win on the increased bet amount? reset the bet to the base, or continue the higher bet till you lose?    

I think what he is asking for is lets say a continuous roll of say 10 satoshi. Once it hits a a miss it makes bet of 0.0001 , if it misses it moves to pre roll again till there is another loss before a multiplier of the loss of the high bet. 11 times (1000%) once it hits it goes back to start. Similar to your table based betting 2 wins.

I have filled in the bets as I understand he wants next his roll types.

Look over there...
seuntjie
Legendary
*
Offline Offline

Activity: 1448



View Profile WWW
April 01, 2016, 09:42:44 PM
 #144

Help me fund a 3d printer: https://bitcointalk.org/index.php?topic=1422705

franklintdv
Newbie
*
Offline Offline

Activity: 10


View Profile
April 01, 2016, 10:32:33 PM
 #145

I have a strategy to try, but i don't know how to code, it's simple:

First You Need To Have a mininum bet, something like 100 bits.
The payout is always 1.5
When you lose your multiplier is 2x, but when you won it don't back to the 100 bits, you multiply for 0.60. So this way you recover any loss without changing the odds and increase the risk.

The script need to always check the betsize and never bet less than 100 bits. It's the problem with the autobot from the dice sites, when i use this strategy the bet go to 0 very fast.
Thanks
birdcat90
Hero Member
*****
Offline Offline

Activity: 602



View Profile
April 01, 2016, 10:39:22 PM
 #146

hello,,

can anyone help me with my betting sequence?

i have sequence like this..

payout 1.1 or chance 90%

pre-roll for 1 red, after that roll for 0.0001 sat if loss then back pre roll again until hit 1 red then the next bet will be 0.0011 (1000% from 0.0001) if the result is loss again

it will pre roll again until hit red then the next bet will be 0.0121 (1000% from 0.0011) and it will repeat until hit green.

in exp:
1.win(pre roll) - 0.0000001
2.win(pre roll) - 0.0000001
3.loss(pre roll) - 0.0000001
4. 0.0001 (loss) - 0.0001
5.win(pre roll) - 0.0000001
6.loss(pre roll) - 0.0000001
7. 0.0011 (win) - 0.0011
8. start from the begining

case 2:

1.win (pre roll) -  0.0000001
2.win(pre roll) -  0.0000001
3.loss(pre roll) -  0.0000001
4. 0.0001 (loss) - 0.0001
5. loss (pre roll) - 0.0000001
6. (it will not bet using multiplier before green pre roll followed by red pre roll)

thanks in advance

   Does the site your using accept bets for 0?  Thats a condition for the pre-roll.  Also what is supposed to happen when you win on the increased bet amount? reset the bet to the base, or continue the higher bet till you lose?    

I think what he is asking for is lets say a continuous roll of say 10 satoshi. Once it hits a a miss it makes bet of 0.0001 , if it misses it moves to pre roll again till there is another loss before a multiplier of the loss of the high bet. 11 times (1000%) once it hits it goes back to start. Similar to your table based betting 2 wins.

I have filled in the bets as I understand he wants next his roll types.

thiis is exactly what my betting sequence is...my minimum bet should be 1 satoshi....when i win the bet using multiplier, it will reset to the start again...

thanks in advance

<a href="http://www.freebiebitcoin.com">Earn free bitcoin</a>
birdcat90
Hero Member
*****
Offline Offline

Activity: 602



View Profile
April 03, 2016, 10:32:36 PM
 #147

so anyone could help me with my betting sequence?

is that possible to make it?

<a href="http://www.freebiebitcoin.com">Earn free bitcoin</a>
achodik
Jr. Member
*
Offline Offline

Activity: 43


View Profile
April 04, 2016, 09:22:49 AM
 #148

so anyone could help me with my betting sequence?

is that possible to make it?

This seems to work. Change the top 4 variables as you like

Let me know if there are any issues & how your system works out for you

Code:
chance=90
multi=10
minbet=0.0000001
minhigh=0.0001

nextbet=minbet
rawr=minhigh
highbet=false
fl=false

function dobet()

if win then fl=true end

if highbet and !win then
  rawr=rawr*multi
  highbet=false
  fl=false
end

if highbet and win then
  rawr=minhigh
  highbet=false
  fl=false
end

nextbet=minbet

if !win and fl then
  nextbet=rawr
  highbet=true
  fl=false
end

end
achodik
Jr. Member
*
Offline Offline

Activity: 43


View Profile
April 04, 2016, 10:11:14 AM
 #149

I have a strategy to try, but i don't know how to code, it's simple:

First You Need To Have a mininum bet, something like 100 bits.
The payout is always 1.5
When you lose your multiplier is 2x, but when you won it don't back to the 100 bits, you multiply for 0.60. So this way you recover any loss without changing the odds and increase the risk.

The script need to always check the betsize and never bet less than 100 bits. It's the problem with the autobot from the dice sites, when i use this strategy the bet go to 0 very fast.
Thanks

I like the idea. Let me know how this code works & how your system works for you Smiley

Code:
chance=66.6
lossmulti=2
winmulti=0.60
minbet=0.00000010

function dobet()

if previousbet*winmulti<minbet and win then
   nextbet=minbet
   elseif win then
      nextbet = previousbet*winmulti
else
   nextbet = previousbet*lossmulti
end

end
The_Prof
Sr. Member
****
Offline Offline

Activity: 327



View Profile
April 04, 2016, 08:25:45 PM
 #150

I have a strategy to try, but i don't know how to code, it's simple:

First You Need To Have a mininum bet, something like 100 bits.
The payout is always 1.5
When you lose your multiplier is 2x, but when you won it don't back to the 100 bits, you multiply for 0.60. So this way you recover any loss without changing the odds and increase the risk.

The script need to always check the betsize and never bet less than 100 bits. It's the problem with the autobot from the dice sites, when i use this strategy the bet go to 0 very fast.
Thanks

I like the idea. Let me know how this code works & how your system works for you Smiley

Code:
chance=66.6
lossmulti=2
winmulti=0.60
minbet=0.00000010

function dobet()

if previousbet*winmulti<minbet and win then
   nextbet=minbet
   elseif win then
      nextbet = previousbet*winmulti
else
   nextbet = previousbet*lossmulti
end

end


This got horrifying to watch in action as the bets climbed up to the hundred thousands. I had to stop it but a fascinating one. Might see how far I can push it with Just-Dice or something like that. But for now using BTC my iron ones couldn't handle it. I put a max bet limiter of 10k as a safety. I'll run it overnight and see how it performs.

Edit: 10k limit to low. came back to almost no change in the end. Moving to 50k.

Look over there...
The_Prof
Sr. Member
****
Offline Offline

Activity: 327



View Profile
April 05, 2016, 04:15:21 PM
 #151

I have a question. Is it possible to get the math.random to throw in decimals. Seems to widen the choice.

Look over there...
chilly2k
Legendary
*
Offline Offline

Activity: 963


View Profile
April 05, 2016, 04:56:34 PM
 #152

I have a question. Is it possible to get the math.random to throw in decimals. Seems to widen the choice.

   Unfortunately, it doesn't provide that.  math.random() will give a decimal number between 0 and 1.  And math.random(x,y) give an integer between x  and y.  You could code math.random(x,y)+ math.random, to give you a decimal number from x.0000 and Y + 1.   

   The decimal portion is at least 15 places. 

seuntjie
Legendary
*
Offline Offline

Activity: 1448



View Profile WWW
April 05, 2016, 08:47:38 PM
 #153

I have a question. Is it possible to get the math.random to throw in decimals. Seems to widen the choice.

   Unfortunately, it doesn't provide that.  math.random() will give a decimal number between 0 and 1.  And math.random(x,y) give an integer between x  and y.  You could code math.random(x,y)+ math.random, to give you a decimal number from x.0000 and Y + 1.   

   The decimal portion is at least 15 places. 

The way I usually do it is to multiply the number range with a few hundred or thousand, and then devide the number i get back again by the same amount.

for example if I want to get a random number between 1.0000 and 10.0000 with 4 decimals, i use math.random(10000,100000)/10000.0

This makes it pretty easy to keep track of things, for example
minchance=1.0
maxchance=5.5
.
.
.
chance=math.random(minchance*10000,maxchance*10000)/10000
.
.
.

chilly2k
Legendary
*
Offline Offline

Activity: 963


View Profile
April 05, 2016, 10:29:51 PM
 #154

I have a question. Is it possible to get the math.random to throw in decimals. Seems to widen the choice.

   Unfortunately, it doesn't provide that.  math.random() will give a decimal number between 0 and 1.  And math.random(x,y) give an integer between x  and y.  You could code math.random(x,y)+ math.random, to give you a decimal number from x.0000 and Y + 1.   

   The decimal portion is at least 15 places. 

The way I usually do it is to multiply the number range with a few hundred or thousand, and then devide the number i get back again by the same amount.

for example if I want to get a random number between 1.0000 and 10.0000 with 4 decimals, i use math.random(10000,100000)/10000.0

This makes it pretty easy to keep track of things, for example
minchance=1.0
maxchance=5.5
.
.
.
chance=math.random(minchance*10000,maxchance*10000)/10000
.
.
.

   Good tip.   A lot cleaner.  I keep forgetting that one,  and go for the first thing that pops in my head. 

The_Prof
Sr. Member
****
Offline Offline

Activity: 327



View Profile
April 06, 2016, 01:48:13 AM
 #155

I have a question. Is it possible to get the math.random to throw in decimals. Seems to widen the choice.

   Unfortunately, it doesn't provide that.  math.random() will give a decimal number between 0 and 1.  And math.random(x,y) give an integer between x  and y.  You could code math.random(x,y)+ math.random, to give you a decimal number from x.0000 and Y + 1.  

   The decimal portion is at least 15 places.  

The way I usually do it is to multiply the number range with a few hundred or thousand, and then devide the number i get back again by the same amount.

for example if I want to get a random number between 1.0000 and 10.0000 with 4 decimals, i use math.random(10000,100000)/10000.0

This makes it pretty easy to keep track of things, for example
minchance=1.0
maxchance=5.5
.
.
.
chance=math.random(minchance*10000,maxchance*10000)/10000
.
.
.

   Good tip.   A lot cleaner.  I keep forgetting that one,  and go for the first thing that pops in my head.  

That makes sense and is logical enough. Will give it a go later.

Appreciate it.

Edit: Will this work?

chance=math.random(1000,2400)/100


Answer is yes, however for some reason every now and again I get a 8.52 chance. Not sure why but it happens.

Look over there...
seuntjie
Legendary
*
Offline Offline

Activity: 1448



View Profile WWW
April 06, 2016, 10:00:47 AM
 #156

I have a question. Is it possible to get the math.random to throw in decimals. Seems to widen the choice.

   Unfortunately, it doesn't provide that.  math.random() will give a decimal number between 0 and 1.  And math.random(x,y) give an integer between x  and y.  You could code math.random(x,y)+ math.random, to give you a decimal number from x.0000 and Y + 1.  

   The decimal portion is at least 15 places.  

The way I usually do it is to multiply the number range with a few hundred or thousand, and then devide the number i get back again by the same amount.

for example if I want to get a random number between 1.0000 and 10.0000 with 4 decimals, i use math.random(10000,100000)/10000.0

This makes it pretty easy to keep track of things, for example
minchance=1.0
maxchance=5.5
.
.
.
chance=math.random(minchance*10000,maxchance*10000)/10000
.
.
.

   Good tip.   A lot cleaner.  I keep forgetting that one,  and go for the first thing that pops in my head.  

That makes sense and is logical enough. Will give it a go later.

Appreciate it.

Edit: Will this work?

chance=math.random(1000,2400)/100


Answer is yes, however for some reason every now and again I get a 8.52 chance. Not sure why but it happens.

Check in your advanced settings if you're doing anything with chance there. I've not been able to reproduce it, but i've had reports of the advanced settings unintentionally leaking through to the programmer mode.

The_Prof
Sr. Member
****
Offline Offline

Activity: 327



View Profile
April 06, 2016, 07:19:56 PM
 #157

It was an old random I was testing earlier got stuck in the shadows it seems. Not the first time it has happened to me. If you close the program and reopen it is normal again. Sometimes ideas just get stuck.

Look over there...
haruglory1119
Newbie
*
Offline Offline

Activity: 2


View Profile
April 08, 2016, 02:14:11 AM
 #158

Hi seuntjie. Is it possible to add a stoploss on that Jolly martingale script you have on the website. Like when balance incurs a -0.00010000 the script would stop. Would really appreciate it thank you Smiley
achodik
Jr. Member
*
Offline Offline

Activity: 43


View Profile
April 08, 2016, 04:38:02 AM
 #159

Hi seuntjie. Is it possible to add a stoploss on that Jolly martingale script you have on the website. Like when balance incurs a -0.00010000 the script would stop. Would really appreciate it thank you Smiley

try adding something like this. Obviously you need the rest of the script in place also.


Code:
other initialization variables go here
minbal=balance-0.00010000

function dobet()

rest of bet sequence goes here

if balance<minbalance then
   stop()
end

end

Note that this will simply check the balance after every bet, so if you make a very large bet it might end up losing almost twice as much as you specify.
seuntjie
Legendary
*
Offline Offline

Activity: 1448



View Profile WWW
April 08, 2016, 05:57:04 AM
 #160

Hi seuntjie. Is it possible to add a stoploss on that Jolly martingale script you have on the website. Like when balance incurs a -0.00010000 the script would stop. Would really appreciate it thank you Smiley

Sure it is, just add what achodik said above and it should work.

Remember that a lot of the scripts on my site are user submitted, that one by user, you guessed it, Jossy.

Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
  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!