Pages:
Author

Topic: Seuntjie' Dice bot programmers mode discussion. - page 53. (Read 125420 times)

member
Activity: 75
Merit: 10
Hi! Thanks a lot for help.

1) Yes, the multiplier is suppose to be the chance. I thought those two commands can be used interchangeably.

2) On lose nothing changes. I just keep betting the same amount on the same side until it runs dry (which I prefer to avoid, that's the part when LUCK comes in Wink ).

3) I made two slightly changes to code:

chance = 1.98
nextbet = 0.00000004
bethigh = false
wincount = 0

function dobet()
if win then
wincount +=1
   if (wincount==2) then
   nextbet = previousbet + 0.00000002
   bethigh=!bethigh
   wincount=0
   end
end
if balance > 0.02 then
stop()
end
end

I figured out, that resetting wincount on lose would only make bet increase and side switch when two wins IN A ROW happens and that's not my idea. I also change 'balance = 0.02' to 'balance > 0.02', because it returned error 'then expected got =' and because it's rather unlikely that it will be exactly 0.02, so it wouldn't stop after reaching it.

Anyway, it works great now and I'm really grateful for help! Still, I'm newbie to dicebot programmer mode and any suggestions will be very appreciated. Thanks again! Smiley
legendary
Activity: 1007
Merit: 1000
I wish i could offer some sound advice but I am curious what you ended up sorting up regarding your inquiry.
-mobile

Would you please be so kind and help me instead? Smiley

I want to make a function in dicebot that goes under these conditions:

1) basebet = 4 satoshi, multiplier = 50x, betting low at the start (<1.98)
2) every TWO wins (so if total wins amount is even) betamount = previous betamount + 2 satoshi, betting switches to other side (low/high)
3) if balance reaches 0.02 btc, it stops betting.

I made sth like that:

multiplier=50 <----  Should this be chance? 
nextbet = 0.00000004
bethigh=false
wincount = 0 <------  Counter for the wins.
function dobet()
if win  then
   wincount += 1   --  Bump the wincount(er)
   if (wincount == 2) then
   nextbet = previousbet + 0.00000002 <----  Use the previousbet instead of nextbet
   bethigh = !bethigh         <----   This just switches bethigh
   end
else -- lose
  wincount = 0
end
if balance = 0.02 then
stop()
end
end

but it obviously has many errors and I can't seem to make it right. Any help would be really appreciated!

   See the changes I made above.  Note: should the multiplier actually be the chance?  And what are you doing if you lose?   
member
Activity: 75
Merit: 10
I wish i could offer some sound advice but I am curious what you ended up sorting up regarding your inquiry.
-mobile

Would you please be so kind and help me instead? Smiley

I want to make a function in dicebot that goes under these conditions:

1) basebet = 4 satoshi, multiplier = 50x, betting low at the start (<1.98)
2) every TWO wins (so if total wins amount is even) betamount = previous betamount + 2 satoshi, betting switches to other side (low/high)
3) if balance reaches 0.02 btc, it stops betting.

I made sth like that:

multiplier=50
nextbet = 0.00000004
bethigh=false
function dobet()
if win  then
   if wins mod 2 = 0 then
   nextbet = nextbet + 0.00000002
      if bethigh = false then
      bethigh=true
      else
      bethigh = false
      end
   end
end
if balance = 0.02 then
stop()
end
end

but it obviously has many errors and I can't seem to make it right. Any help would be really appreciated!
sr. member
Activity: 400
Merit: 250
the sun is shining, but the ice is still slippery
I wish i could offer some sound advice but I am curious what you ended up sorting up regarding your inquiry.
-mobile
newbie
Activity: 12
Merit: 0
Hello,

I'm new in dice games, but I like to use your botdice, thanks to seuntjie you made good Bot!

Anyway I have a request script, someone can help me ?

I'm used Martingdale System.
1. Multiplier 1.3 On Lose, Chance 20.00, Bet : some amount
2. Reset To Base Bet After Win
3. I make my capital enough for 60 times lose.

Is it possible if I have a trigger, let say if lose 10 x (Or Some variable) at some bet amount (Variable),
then point 1, 2 and 3 will start to execute ?

I should have 2 variable for bet amount, 1st for counting the lose trigger. (no need multiplier) and 2nd bet for plan 1,2,3.

Currently BotDice have only 1 variable for Bet Size. (Starting Bet)

Using this strategy, I think I can safe my capital, before max is for 60 then if I have this trigger then will be 70x.

What do you think?
Anyone can help the script?

Any comment are welcome.
Thanks!
legendary
Activity: 1717
Merit: 1125
no Seuntjie...i think this is correct...

1 lose
2 lose
3 win (double bet)
6 win(double bet)
12 lose (and increase of 1)
13 lose
14 lose
15 win (double bet)
30 lose ( and increase of 1)
31 lose
32 lose
33 lose
34 lose
35 win (double bet)
70 win  (double bet)
140 win ( after 3 win reset to base  )
1...


...

1        LOSE          -1
2        LOSE          -3
3        LOSE          -6
4        LOSE          -10
5        WIN            -5
10       WIN           +5
20       WIN           +25 PROFIT

BET      W/L          TOTAL OUTCOME

1        LOSE          -1
2        LOSE          -3
3        LOSE          -6
4        LOSE          -10
5        WIN            -5
10       WIN           +5
20       LOSE          -15  LOSS   (This would be the 7th bet. Losing 15. Martingale bet 7 loss would be 127.  
GO BACK TO 1        

You reset back to 1 on any win... as well as any loss after a win.  So if you win bet 3, lose bet 4... go back to 1. After a broken win streak of 3, if you lose the 2nd or 3rd bet, no matter what, restart at 1.

....
newbie
Activity: 26
Merit: 0
no Seuntjie...i think this is correct...

1 lose
2 lose
3 win (double bet)
6 win(double bet)
12 lose (and increase of 1)
13 lose
14 lose
15 win (double bet)
30 lose ( and increase of 1)
31 lose
32 lose
33 lose
34 lose
35 win (double bet)
70 win  (double bet)
140 win ( after 3 win reset to base  )
1...
Ermmm i think you should read the description again...
sr. member
Activity: 397
Merit: 250
no Seuntjie...i think this is correct...

1 lose
2 lose
3 win (double bet)
6 win(double bet)
12 lose (and increase of 1)
13 lose
14 lose
15 win (double bet)
30 lose ( and increase of 1)
31 lose
32 lose
33 lose
34 lose
35 win (double bet)
70 win  (double bet)
140 win ( after 3 win reset to base  )
1...
legendary
Activity: 1717
Merit: 1125


Based on the description of the setting, it does exactly what it's supposed to. You seem to be mixing up what the numbers should be based on what the result are.
starting from the bottom:

4 loss
5 win (doulbe bet)
10(bet doubled) loss  (reset)
1 loss
2 loss
3 loss
4 loss
5 win (double bet)
10 loss reset
1 win double
2 win double
4 win reset
1 win double
2 loss reset
1 loss
2 win
sr. member
Activity: 397
Merit: 250
newbie
Activity: 26
Merit: 0
Hi all guys...i have see this theread:

https://bitcointalksearch.org/topic/sick-of-martingale-give-this-a-shot-it-works-chart-and-instructions-1430193

Think is very interesting, but think i can't use this method with bot...
anyone can write a script for this?

Thanks in advance


Seems like someones done this: https://bot.seuntjie.com/scripts.aspx?id=37

thanks, i go to try it

sorry but there is some problem...It does not work well...
Only problem with that script is after completing a series and it bets base, if that losses it bet base again. But after that it follows the whole idea. That really is only the problem.
sr. member
Activity: 397
Merit: 250
Hi all guys...i have see this theread:

https://bitcointalksearch.org/topic/sick-of-martingale-give-this-a-shot-it-works-chart-and-instructions-1430193

Think is very interesting, but think i can't use this method with bot...
anyone can write a script for this?

Thanks in advance


Seems like someones done this: https://bot.seuntjie.com/scripts.aspx?id=37

thanks, i go to try it

sorry but there is some problem...It does not work well...

legendary
Activity: 1717
Merit: 1125
Hi all guys...i have see this theread:

https://bitcointalksearch.org/topic/sick-of-martingale-give-this-a-shot-it-works-chart-and-instructions-1430193

Think is very interesting, but think i can't use this method with bot...
anyone can write a script for this?

Thanks in advance


Seems like someones done this: https://bot.seuntjie.com/scripts.aspx?id=37
legendary
Activity: 1007
Merit: 1000
I'm getting this error on my script...can't figure out where the problem is?

[string "chunk"]:32: attempt to compare number with nil


Here's the script:
Code:
  basebet = balance/500
  nextbet = basebet
  roundprofit = 0
  chance = 87.79
  maxbal=balance+0.01500000
  ProtectedProfit = .0003
  reset = false
  firstgame = true

  function dobet()

    roundprofit += currentprofit

    if (win) then
      if(profit > (ProtectedProfit*1.2)) then
        ProtectedProfit = ProtectedProfit*1.2
      end
      if(profit <= (ProtectedProfit/4)) then
        ProtectedProfit = ProtectedProfit/2
        if(ProtectedProfit < .000150) then
          ProtectedProfit = .000150
        end
      end
      if (roundprofit < 0) and (!reset) then
        nextbet = previousbet + basebet
        print ("WIN")
      print(nextbet)
      end
    else
      nextbet = basebet
      print ("WIN")
    print(nextbet)
      reset = false
    end
   
    if balance      stop()
    end
   
    if balance>maxbal then
      stop()
    end
   
    if roundprofit > 0 then
      roundprofit = 0
    end
   
    if (!win) then
      nextbet = previousbet
    print ("LOSE")
    print(nextbet)
    end
   
    if balance      stop()
    end
   
    if balance>maxbal then
      stop()
    end

    if(!firstgame) then
      if(nextbet >= ProtectedProfit) and (profit > ProtectedProfit) then
        nextbet = basebet
        reset = true
      end
    end
  firstgame = false

  end

   I believe you forgot to define minbal.    Also from the error message "[string "chunk"]:32: attempt to compare number with nil"  The 32 looks to be the 32nd non=blank line in the script.  I just noticed this, so that may or may not be the correct way to get to the failing line. 
full member
Activity: 224
Merit: 100
I'm getting this error on my script...can't figure out where the problem is?

[string "chunk"]:32: attempt to compare number with nil


Here's the script:
Code:
  basebet = balance/500
  nextbet = basebet
  roundprofit = 0
  chance = 87.79
  maxbal=balance+0.01500000
  ProtectedProfit = .0003
  reset = false
  firstgame = true

  function dobet()

    roundprofit += currentprofit

    if (win) then
      if(profit > (ProtectedProfit*1.2)) then
        ProtectedProfit = ProtectedProfit*1.2
      end
      if(profit <= (ProtectedProfit/4)) then
        ProtectedProfit = ProtectedProfit/2
        if(ProtectedProfit < .000150) then
          ProtectedProfit = .000150
        end
      end
      if (roundprofit < 0) and (!reset) then
        nextbet = previousbet + basebet
        print ("WIN")
      print(nextbet)
      end
    else
      nextbet = basebet
      print ("WIN")
    print(nextbet)
      reset = false
    end
   
    if balance      stop()
    end
   
    if balance>maxbal then
      stop()
    end
   
    if roundprofit > 0 then
      roundprofit = 0
    end
   
    if (!win) then
      nextbet = previousbet
    print ("LOSE")
    print(nextbet)
    end
   
    if balance      stop()
    end
   
    if balance>maxbal then
      stop()
    end

    if(!firstgame) then
      if(nextbet >= ProtectedProfit) and (profit > ProtectedProfit) then
        nextbet = basebet
        reset = true
      end
    end
  firstgame = false

  end
sr. member
Activity: 397
Merit: 250
Hi all guys...i have see this theread:

https://bitcointalksearch.org/topic/sick-of-martingale-give-this-a-shot-it-works-chart-and-instructions-1430193

Think is very interesting, but think i can't use this method with bot...
anyone can write a script for this?

Thanks in advance
legendary
Activity: 2296
Merit: 1031
Good evening. 

After I lose a bet, how would I double the lost bet and calculate the multiplier of the next bet to win the amount that I lost in the previous games?  However, the multiplier should never exceed a certain amount (such as 2x multiplier)
newbie
Activity: 26
Merit: 0
Thanks man, good work..

   I ran that just like above.  Personally, decrementing the win till it's zero seemed like a waste of a lot of winning bets.  Also I changed the win/lose multipliers.  At 77.7% you should be winning about 3 out of 4 bets.  With the multipliers I've set it take 2.5 wins to recover from 1 lose. Also by setting the lose multiplier down to 1.5 it doesn't get too out of hand.  I also added a stop on win function, and invest function.  Since there is no check to keep from busting I wanted to strip off some winnings before it busts.    

    This is on JD, so you might have to comment out the invest function if your using on a site that doesn't invest.  

Code:
chance=77.7
multiplier=1.5
multiplier2=0.92
base=0.0000150
nextbet = base  
bethigh = false
target = .00005
investtarget = .001
tmpprofit = 0
investprofit = 0
wincount = 10
stopnow = false

function dobet()

tmpprofit += currentprofit
investprofit += currentprofit

   if win then
      if (tmpprofit > target) then
         tmpprofit = 0
         nextbet = base
         if(stopnow) then stop() end
         if(investprofit  > investtarget ) then
             investprofit = 0
             invest(investtarget)
         end      
      else
         nextbet=previousbet*multiplier2
         if(nextbet < base) then nextbet = base end
      end
   else
      nextbet=previousbet*multiplier
      if(nextbet < base) then nextbet = base end
   end
end

to comment out a line just put -- in the first spaces of the line.  

  so to comment this out.

             investprofit = 0

 put

--             investprofit = 0

https://i.imgur.com/s0kBRSP.png

The worse case lose I had to cover so far was .005 , So far I seems to work well...  

edit: forgot to mention.  When your in a lose streak, it keeps increasing your bets.  Once it starts winning then back, it will reset to the base bet before it actually reaches that.  So even thought you seem to be down quite a bit, it only take a few wins (8-10) at the higher bet, to get back in the green.   

Okey so i tried this script just to experiment and see how investing works in a dice site that has invest. Tried it on safedice but when i reach the target where it'll invest it didnt invest? Although in the console it did say 'Investing 0.001' but when i checked safedice under Invest tab it was zero? Or am i missing something about how investing works in a dicesite?

I haven't tested the investing at safedice via the API in ages. It's possible (likely
) that it doesn't work.
Yeap its not working. Tried it with a few small investing targets just to confirm :/
legendary
Activity: 1717
Merit: 1125
Thanks man, good work..

   I ran that just like above.  Personally, decrementing the win till it's zero seemed like a waste of a lot of winning bets.  Also I changed the win/lose multipliers.  At 77.7% you should be winning about 3 out of 4 bets.  With the multipliers I've set it take 2.5 wins to recover from 1 lose. Also by setting the lose multiplier down to 1.5 it doesn't get too out of hand.  I also added a stop on win function, and invest function.  Since there is no check to keep from busting I wanted to strip off some winnings before it busts.    

    This is on JD, so you might have to comment out the invest function if your using on a site that doesn't invest.  

Code:
chance=77.7
multiplier=1.5
multiplier2=0.92
base=0.0000150
nextbet = base  
bethigh = false
target = .00005
investtarget = .001
tmpprofit = 0
investprofit = 0
wincount = 10
stopnow = false

function dobet()

tmpprofit += currentprofit
investprofit += currentprofit

   if win then
      if (tmpprofit > target) then
         tmpprofit = 0
         nextbet = base
         if(stopnow) then stop() end
         if(investprofit  > investtarget ) then
             investprofit = 0
             invest(investtarget)
         end      
      else
         nextbet=previousbet*multiplier2
         if(nextbet < base) then nextbet = base end
      end
   else
      nextbet=previousbet*multiplier
      if(nextbet < base) then nextbet = base end
   end
end

to comment out a line just put -- in the first spaces of the line.  

  so to comment this out.

             investprofit = 0

 put

--             investprofit = 0



The worse case lose I had to cover so far was .005 , So far I seems to work well...  

edit: forgot to mention.  When your in a lose streak, it keeps increasing your bets.  Once it starts winning then back, it will reset to the base bet before it actually reaches that.  So even thought you seem to be down quite a bit, it only take a few wins (8-10) at the higher bet, to get back in the green.   

Okey so i tried this script just to experiment and see how investing works in a dice site that has invest. Tried it on safedice but when i reach the target where it'll invest it didnt invest? Although in the console it did say 'Investing 0.001' but when i checked safedice under Invest tab it was zero? Or am i missing something about how investing works in a dicesite?

I haven't tested the investing at safedice via the API in ages. It's possible (likely
) that it doesn't work.
legendary
Activity: 1717
Merit: 1125
Can anyone give me a code to increase bet speed? Seems like 999dice is betting waaay slower than other dice sites. Would appreciate it thanks Smiley
Will you exercising and running 10km a day make me run any faster?
Lol guess not..Just wanted to ask since other sites seems to bet alot faster xD
Maybe you should then consider betting on another site (if speed is of such an essence to you) rather than searching for 'a code to increase bet speed' on the limited site.
Ermm im not exactly saying its an issue or anything xD Just wondering is all since other site bets faster..If the site itself was made to bet at that speed then so be it XD
I was just asking. Apologies if anyone got offended xD


999dice has some horrible throttles. The only way to bet faster is to bet bigger
Pages:
Jump to: