Pages:
Author

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

member
Activity: 75
Merit: 10
It seems to return number and stop when condition is met, but problem is this number is NOT the last roll number neither I can find it in betting history at all.  That's strange. I added resetseed() at start but it didn't help.

IT'S OK NOW!

chance=97.83
nextbet=0.00000100
bethigh=true

function dobet()

if (lastBet.Roll == 99.99) then
print(lastBet.Roll)
print(lastBet.id)
alarm()
stop()
end

end

I think it was some sorting problem. Thanks for help! Smiley
legendary
Activity: 1007
Merit: 1000
Hi everyone!

I'd like to make bot stop whenever given number is rolled.

I wanted to test it on range first instead of waiting for specified number, so I typed:

if lastBet.Roll < 80.00 then
stop()
end

Unfortunately it doesn't work. So please, would you help me on that? Smiley

Even better would be if it saved roll number and keep rolling, but just stopping is fine enough.

PS. This is whole code:

chance=97.83
nextbet=0.00000100
bethigh=true

function dobet()

if (lastBet.Roll > 80.00)  then
stop()
end

end

   That's pretty simple, and I would have thought it would work.    You can add a print(lastBet.Roll) and see what LUA thinks the variable is.  Could be a spelling issue.  It looks good but maybe the roll is lowercase? 
print is very powerful  for debugging. 
member
Activity: 75
Merit: 10
Hi everyone!

I'd like to make bot stop whenever given number is rolled.

I wanted to test it on range first instead of waiting for specified number, so I typed:

if lastBet.Roll < 80.00 then
stop()
end

Unfortunately it doesn't work. So please, would you help me on that? Smiley

Even better would be if it saved roll number and keep rolling, but just stopping is fine enough.

PS. This is whole code:

chance=97.83
nextbet=0.00000100
bethigh=true

function dobet()

if (lastBet.Roll > 80.00)  then
stop()
end

end
HCP
legendary
Activity: 2086
Merit: 4361
How can I run this bot. I will like to get a very good script that will make me money.
Did you try downloading and installing it? and then maybe following the "Programmer Mode" guides here: https://bot.seuntjie.com/ProgrammerMode.aspx

There are a bunch of scripts on the site: https://bot.seuntjie.com/Scripts.aspx and quite a few on the forums here if you look around.

Also, as much as people like to think that this bot is some sort of "magical" software that will make them millions... it doesn't actually do much more than "autobet" mode on most dice websites. It simply provides a few more options for you to be able to configure stop/reset conditions and set up and run more complex "strategies". But at the end of the day... it is still gambling and you are still fighting against "house edge"... you can't beat the math. Tongue
full member
Activity: 126
Merit: 100
Get paid $500 to $1500+ per week
How can I run this bot. I will like to get a very good script that will make me money.
newbie
Activity: 51
Merit: 0
Seuntjie , thanks for the information .
legendary
Activity: 1717
Merit: 1125
That's not due to dicebot, that's due to the sites and the way payouts are structured.

if you take for example payout 135 and 136:

99/135=0.733333333% ~ 0.73%
99/136=0.727941176% ~ 0.73%


The higher your payout goes, the more this is going to happen:

99/990= 0.1%
.
.
.
99/1042= 0.095% ~ 0.1%


So you can change the payout, but it has no effect on the chance.


Edit: I've added a site details object to the variables for the next version. I'll put up a UML for the object on the programmer mode page when I release the next version, but it will have details like the site name, available currencies, edge, max roll etc. I'm thinking of adding a tool to convert between chance and payout etc etc. for the site object as well, I will just need to test a few things before I commit to that.
newbie
Activity: 51
Merit: 0
That's a little tricky because you don't specify the "payout" when using scripts... you specify the "chance" and the site calculates the payout... and because sites have different house edge, the payouts and chances are not the same across all sites... Undecided

So, what you do is work out the "House Edge"... hopefully the site tells you what it is... then use that and the multiplier to work out what the chance is... also, figure out what the maxPayout number is for the site you're using and set that as well!

Code:
-- UNTESTED!!

-- Set these 3 values to match the site you're using and what you want your baseBet to be

houseEdge = 0.8 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1
maxPayout = 9920 -- set this to site max! 9920x = Crypto-Games.net
basebet = 0.00001000

---------------------- Don't Edit below here ;) --------------------------

basePayout = 1.1 -- start at 1.1x payout
firstLossPayout = 2
currPayout = basePayout

nextbet = basebet
chance = (100 - houseEdge) / currPayout
bethigh = true

function dobet()
 
  if win then
    --reset Payout to 1.1x
    currPayout = basePayout
  else
    if currPayout == basePayout then
      -- first loss
      currPayout = firstLossPayout
    else
      currPayout = currPayout + 1
    end
  end

  if currPayout > maxPayout then
    stop()
    nextbet = 0
  else
    chance = (100 - houseEdge) / currPayout
  end

end



I have tested the script .It works fine.But there is one small problem ,when the chances are less than 1% some bets are placed multiple times with same payout instead of incrementing by +1 .It do change by +1 after some bets but not successively.Also it doesn't happen with all payouts .
newbie
Activity: 51
Merit: 0
That's a little tricky because you don't specify the "payout" when using scripts... you specify the "chance" and the site calculates the payout... and because sites have different house edge, the payouts and chances are not the same across all sites... Undecided

So, what you do is work out the "House Edge"... hopefully the site tells you what it is... then use that and the multiplier to work out what the chance is... also, figure out what the maxPayout number is for the site you're using and set that as well!

Code:
-- UNTESTED!!

-- Set these 3 values to match the site you're using and what you want your baseBet to be

houseEdge = 0.8 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1
maxPayout = 9920 -- set this to site max! 9920x = Crypto-Games.net
basebet = 0.00001000

---------------------- Don't Edit below here ;) --------------------------

basePayout = 1.1 -- start at 1.1x payout
firstLossPayout = 2
currPayout = basePayout

nextbet = basebet
chance = (100 - houseEdge) / currPayout
bethigh = true

function dobet()
 
  if win then
    --reset Payout to 1.1x
    currPayout = basePayout
  else
    if currPayout == basePayout then
      -- first loss
      currPayout = firstLossPayout
    else
      currPayout = currPayout + 1
    end
  end

  if currPayout > maxPayout then
    stop()
    nextbet = 0
  else
    chance = (100 - houseEdge) / currPayout
  end

end


Hi HCP Th@nkzzz for helping me.
HCP
legendary
Activity: 2086
Merit: 4361
That's a little tricky because you don't specify the "payout" when using scripts... you specify the "chance" and the site calculates the payout... and because sites have different house edge, the payouts and chances are not the same across all sites... Undecided

So, what you do is work out the "House Edge"... hopefully the site tells you what it is... then use that and the multiplier to work out what the chance is... also, figure out what the maxPayout number is for the site you're using and set that as well!

Code:
-- UNTESTED!!

-- Set these 3 values to match the site you're using and what you want your baseBet to be

houseEdge = 0.8 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1
maxPayout = 9920 -- set this to site max! 9920x = Crypto-Games.net
basebet = 0.00001000

---------------------- Don't Edit below here ;) --------------------------

basePayout = 1.1 -- start at 1.1x payout
firstLossPayout = 2
currPayout = basePayout

nextbet = basebet
chance = (100 - houseEdge) / currPayout
bethigh = true

function dobet()
 
  if win then
    --reset Payout to 1.1x
    currPayout = basePayout
  else
    if currPayout == basePayout then
      -- first loss
      currPayout = firstLossPayout
    else
      currPayout = currPayout + 1
    end
  end

  if currPayout > maxPayout then
    stop()
    nextbet = 0
  else
    chance = (100 - houseEdge) / currPayout
  end

end
newbie
Activity: 51
Merit: 0
I want to build a script like this:
                                     There is a basebet which is placed at 1.1X payout.If the bet is a win then the next bet is placed with same amount on same payout .If the bet was a loss then the nextbet is placed with same amount on 2X payout and if this bet is won then the payout is reset to 1.1X and if loss then same amount is placed at 3X payout and so on ...until  a win happens or my balance is drained out.

In short the bet amount is constant and only the payout  is changing.
hero member
Activity: 813
Merit: 507
Scripts on win do not return to start chance1 new

Code:
chance1=47
chance2=49.5         
chance3=52.95         
chance4=95           
chance5=66.58
chance6=95

prebet = 0.001

m1=2
m2=2.5
m3=20.5
m4=2.5
m5=20.5
target=11000

nextbet = prebet
losecount = 0
betcount = 0
bethigh=false
wincount=0
highloss=0
totalloss=0
total=0
avehit=0
counter=0



function dobet()
 if win then
        nextbet = prebet
        wincount+=1
        total+=1
        totalloss+=losecount
        avehit=totalloss/total
        losecount = 0
        betcount += 1

        if profit>target then
stop()
print("TARGET REACHED!")
        end

   else

         losecount += 1
         betcount += 1
         nextbet = prebet

   end

if losecount > highloss then
highloss = losecount
end

   if (losecount > 0) then
chance = chance1
      nextbet = previousbet*m1
   end

   
   if (losecount > 1) then
chance = chance2
      nextbet = previousbet*m2

   end

   if (losecount > 2) then
chance = chance3
      nextbet = previousbet*m3
   end

 if (losecount > 3) then
chance = chance4
      nextbet = previousbet*m4

   end

 if (losecount > 4) then
chance = chance5
      nextbet = previousbet*m5

   end

 if (losecount > 5) then
chance = chance6
      nextbet = previousbet*m6

   end
    end
 end
end

You need to add 'chance = chance1' after 'if win then' otherwise the chance will not be changed on a win.

And btw you can remove two of the 'end' from the end of your script since there are no statements to close.
newbie
Activity: 2
Merit: 0
Scripts on win do not return to start chance1 new

Code:
chance1=47
chance2=49.5         
chance3=52.95         
chance4=95           
chance5=66.58
chance6=95

prebet = 0.001

m1=2
m2=2.5
m3=20.5
m4=2.5
m5=20.5
target=11000

nextbet = prebet
losecount = 0
betcount = 0
bethigh=false
wincount=0
highloss=0
totalloss=0
total=0
avehit=0
counter=0



function dobet()
 if win then
        nextbet = prebet
        wincount+=1
        total+=1
        totalloss+=losecount
        avehit=totalloss/total
        losecount = 0
        betcount += 1

        if profit>target then
stop()
print("TARGET REACHED!")
        end

   else

         losecount += 1
         betcount += 1
         nextbet = prebet

   end

if losecount > highloss then
highloss = losecount
end

   if (losecount > 0) then
chance = chance1
      nextbet = previousbet*m1
   end

   
   if (losecount > 1) then
chance = chance2
      nextbet = previousbet*m2

   end

   if (losecount > 2) then
chance = chance3
      nextbet = previousbet*m3
   end

 if (losecount > 3) then
chance = chance4
      nextbet = previousbet*m4

   end

 if (losecount > 4) then
chance = chance5
      nextbet = previousbet*m5

   end

 if (losecount > 5) then
chance = chance6
      nextbet = previousbet*m6

   end
    end
 end
end
HCP
legendary
Activity: 2086
Merit: 4361
i need a script like this:

array like this...
chances = {11,12,13}
bets = {1000,2000,3000}
increase = {1.16,1.17,1.18}
but change random when profit is 0.1 btc
It isn't very clear what you actually want your script to do. Do you mean that you want it to randomly select a chance, bet and multiplier from your Array when your profit is > 0.1BTC? What should it do when profit is < 0.1 BTC? Huh


hello guys, please i need help adding a command to the following script, that will make the bot reset seed if i get 3 losses in a row
Code:
chance = 49.95
base = 0.00000001
count = 0
tot = 1
tot2 = 1
abc = 0
cba = 0
nextbet = base
function dobet()
if profit>0.000000001 then
count = 0
tot = 1
tot2 = 1
abc = 0
cba = 0
base = 0.00000001
resetstats()
end
if base == base then
tot = 1
tot2 = 1
end
if base == base*2 then
tot = 2
tot2 = 1
end
if base == base*4 then
tot = 4
tot2 = 1
end
if base == base*8 then
tot = 8
tot2 = 1
end
if base == base*16 then
tot = 16
tot2 = 1
end
if base == base*32 then
tot = 32
tot2 = 1
end
if base == base*64 then
tot = 64
tot2 = 1
end
if base == base*128 then
tot = 128
tot2 = 1
end
if base<0.00000001 then
base = 0.00000001
count = 0
abc = 0
cba = 0
end
count = count+1
if count>10 and abc>cba then
base = base/2
count = 0
abc = 0
cba = 0
end
if count>10 and abcbase = base*2
count = 0
abc = 0
cba = 0
end
if win then
abc = abc+tot
nextbet = base
else
cba = cba+tot2
nextbet = base
end
end
end
end

thanks
Firstly, as previously mentioned, that script is broken... all those "if base == base*2", "if base == base*4" etc... will NEVER return true... they need to be fixed for your script to do anything.

To reset the seed, check the "currentstreak" inbuilt variable in the "loss" section of your script (it's the "else" section of your "if win then")...

currentstreak shows the number of wins or losses in the current streak. Win streaks are are positive number, loss streak are negative number

ie. currentstreak == 10 is a 10 win streak
currentstreak == -5 is a 5 loss streak

Code:
...
function dobet()
...
  if win then
    abc = abc+tot
    nextbet = base
  else
    cba = cba+tot2
    nextbet = base
    if currentstreak == -3 then
      resetseed()
    end
  end
...
end
newbie
Activity: 9
Merit: 0
hello guys, please i need help adding a command to the following script, that will make the bot reset seed if i get 3 losses in a row
Code:
chance = 49.95
base = 0.00000001
count = 0
tot = 1
tot2 = 1
abc = 0
cba = 0
nextbet = base
function dobet()
if profit>0.000000001 then
count = 0
tot = 1
tot2 = 1
abc = 0
cba = 0
base = 0.00000001
resetstats()
end
if base == base then
tot = 1
tot2 = 1
end
if base == base*2 then
tot = 2
tot2 = 1
end
if base == base*4 then
tot = 4
tot2 = 1
end
if base == base*8 then
tot = 8
tot2 = 1
end
if base == base*16 then
tot = 16
tot2 = 1
end
if base == base*32 then
tot = 32
tot2 = 1
end
if base == base*64 then
tot = 64
tot2 = 1
end
if base == base*128 then
tot = 128
tot2 = 1
end
if base<0.00000001 then
base = 0.00000001
count = 0
abc = 0
cba = 0
end
count = count+1
if count>10 and abc>cba then
base = base/2
count = 0
abc = 0
cba = 0
end
if count>10 and abcbase = base*2
count = 0
abc = 0
cba = 0
end
if win then
abc = abc+tot
nextbet = base
else
cba = cba+tot2
nextbet = base
end
end
end
end

thanks
full member
Activity: 148
Merit: 100
want to ask for experienced gambler on 999dice using Seuntjie Dicebot
currently have 100k sats , im betting on 0.0000001 (the low balance for bet) with 33 chance to win and 1.75 multiplier on loss.
can i reach 1million sats safely with that settings? i know its verryyy slowly to reach and i think its possible.

You can also try it on PrimeDice, I think its a safer place, truly provably fair.
full member
Activity: 148
Merit: 100
hi all,

i need a script like this:

array like this...

chances = {11,12,13}
bets = {1000,2000,3000}
increase = {1.16,1.17,1.18}

but change random when profit is 0.1 btc

anyone help me??
tnx
hero member
Activity: 813
Merit: 507
hey guys im creating my first ever basic script (im new to this bare with me) and im trying to make it so if the bet amount reaches > 0.00000050 and you win it resets to base but if you still lose after its > 0.00000050 you keep multiplying by the multiplier, im using the basic martingale script and this is what i have so far (i think its completely wrong since its not working XD) any help would be appreciated thanks!

chance=24.75
multiplier=1.5
winmultiplier=0.78
betsize = nextbet
onwin=win
base=0.00000002
function dobet()

if (win) then
nextbet=previousbet*winmultiplier
if (betsize > 0.00000050) then
nextbet=base
else
nextbet=previousbet*multiplier
end
end
end

You never change the variable betsize so the if statement can never be fulfilled (simply use nextbet instead).

And what is your script supposed to do when you lose? Right now it keeps betting the same amount over and over until you hit a win.
newbie
Activity: 2
Merit: 0
hey guys im creating my first ever basic script (im new to this bare with me) and im trying to make it so if the bet amount reaches > 0.00000050 and you win it resets to base but if you still lose after its > 0.00000050 you keep multiplying by the multiplier, im using the basic martingale script and this is what i have so far (i think its completely wrong since its not working XD) any help would be appreciated thanks!

chance=24.75
multiplier=1.5
winmultiplier=0.78
betsize = nextbet
onwin=win
base=0.00000002
function dobet()

if (win) then
nextbet=previousbet*winmultiplier
if (betsize > 0.00000050) then
nextbet=base
else
nextbet=previousbet*multiplier
end
end
end
hero member
Activity: 813
Merit: 507
want to ask for experienced gambler on 999dice using Seuntjie Dicebot
currently have 100k sats , im betting on 0.0000001 (the low balance for bet) with 33 chance to win and 1.75 multiplier on loss.
can i reach 1million sats safely with that settings? i know its verryyy slowly to reach and i think its possible.

There is no save way to earn in gambling  Cheesy  and especially not when you play on 999dice...I have seen many scam accusations about their site.
Pages:
Jump to: