Pages:
Author

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

newbie
Activity: 1
Merit: 0
Okay, so after a decent amount of playing around with this dicebot all I can say is that it rocks.
I've been playing around with Chilly2k's 2win 39,6% strategy, and decided to modify it abit and this is the result;
https://i.gyazo.com/c42d2e5c72b7a0824d7aa1e08e0970d7.png

I've used it with primedice, because they allow 0bets. It most likely will bust at some point so I've decided to withdraw some profit (and there will ofcourse be some for Seuntjie and Chilly2k Wink ).
I think it would be ideal to use invest at sites that allow it, and to stop while its in the green.
As you can see in the script, I've basically just changed the chance, martimulti (to sustain losestreak from the 20% chance), and ofcourse made a basebet2 to be used when it decides to go for a win.
 
Quote
chance = 20
martimulti = 5
basebet = .00000000
basebet2 = .00000001
startbalance = balance
nextbet = basebet
savefactor = 1.25
target = .01
targetbalance = balance + target
bethigh = true
low = 0
high = 0
losecount = 0
stopnow = false
totallose = 0
wincount = 0
nextwinbet = basebet2 * martimulti
go = false
set = false


function dobet()

if (lastBet.roll < chance) then
  low += 1
end
if (lastBet.roll > (100 - chance)) then
  high += 1
end

if (win) then
   wincount += 1
   totallose = 0
   newbalance = balance
   if (high > low) then
     bethigh = true
    else
      bethigh = false
    end
  if (wincount == 1 and go) then
     nextbet = nextwinbet
     go = false
      set = false
  else
      nextbet = basebet
  end
   if (wincount == 2 and previousbet != basebet) then
      if (stopnow) then stop() end
        martimulti = 5
        nextwinbet = basebet2 * martimulti  
        set = true
       losecount = 0
      if (balance > targetbalance) then
--       invest((balance - targetbalance)+target)
         targetbalance = targetbalance + target
         newbalance = targetbalance
      end
      if (newbalance > startbalance * savefactor) then
--        invest(balance-startbalance)
          targetbalance = startbalance + target
          startbalance = startbalance * savefactor
      end
   end
    if (wincount == 2) then go = true end
 else
   if (wincount == 1 and previousbet != basebet ) then
      nextwinbet = previousbet * martimulti
      martimulti = martimulti / 2
      if (martimulti < 1.85) then martimulti = 1.85 end
      losecount += 1
      print(losecount)
   else
      
   end
   wincount = 0
   totallose = totallose + 1
   if (totallose == 2) then go = true end
   nextbet = basebet
 end
  
end

EDIT: It will definitely go bust, but it's kinda fun to watch. Might be the luck I had in the first run that made it somewhat viable, oh well, back to the drawing board.
Changing the multiplier to a lower number will make it able to sustain longer losestreaks in the winbets, and could be a short-term solution.
newbie
Activity: 11
Merit: 0

Isn't this info already in the bot.seuntjie.com website?  I thought discussion might be more productive.  Do you actually know how to make a good pause/rest/wait function into this bot or were you just teasing me?

Why would you want to pause/rest/wait at all? The time of the bet has no influence on the result of a roll? I really don't see a point to using something like this

but since you're asking for it, you can just use sleep(milliseconds:int)
sleep(milliseconds:int)
yayyy !!!
thanks seuntjie, for current primedice suddent disconnect if we go without delay
this one really helpfull  Cheesy Cheesy Cheesy

is there any progamming code to do check every 30s if disconnect to restart dicebot ?
thanks
legendary
Activity: 1717
Merit: 1125


What do you think of this strategy?

Instead of just this condition:

After 4 losses in a row, change the chance to 66

I'd like to have more conditions to stop the losing streaks like this:

After 3 losses in a row, change the chance to 55

After 4 losses in a row, change the chance to 66

After 5 losses in a row, change the chance to 70

and so on...

Can I do this in the programmer mode?

This is definitely possible. A trend I've seen in this thread (and the world in general) is people aren't going to write a script for you just because you ask nicely. They usually don't mind helping you if you provide a script and say: this is what i have done so far, this is what i want it to do, I don't know how to do this, can anyone help me finish it. Or whats wrong and how can I fix it? Alternatively, you can just offer payment.

note: Having access/permission to use a "good betting system" is not payment
newbie
Activity: 28
Merit: 0
https://i.imgur.com/v46urKA.png?1

What do you think of this strategy?

Instead of just this condition:

After 4 losses in a row, change the chance to 66

I'd like to have more conditions to stop the losing streaks like this:

After 3 losses in a row, change the chance to 55

After 4 losses in a row, change the chance to 66

After 5 losses in a row, change the chance to 70

and so on...

Can I do this in the programmer mode?
member
Activity: 99
Merit: 10
chance=90
multi=10
minbet=0.0000001
minhigh=0.0001
losecount = -2    -- change this to -3 or whatever you want for the lose streak.

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

function dobet()

chance = 90 -- set default chance

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 and (currentstreak == losecount) then <---   This is the block of code that is going to make the high bet
  nextbet=rawr
  highbet=true
  fl=false
  chance = whatever you want to set it to... 
end

end



could you help me to add change chance? like prerolling on chance 90% after currentstreak==losecount it will change the chance and put bet, repeat if loss

exp for 2 streaks loss
win,win,loss,win,win,loss,loss,BET (change chance)


thanks

   I tried running that code, and it was doing the high bet after 2 losses in a row.  Anyway..  I've put an update in red above.

it does work correctly only the direction is not ,,lets say pre roll >90 and when bet occur it should be chance 9.9 with roll result > 90 so its like chasing or looking for 2 rolls number above > 90

legendary
Activity: 1007
Merit: 1000
chance=90
multi=10
minbet=0.0000001
minhigh=0.0001
losecount = -2    -- change this to -3 or whatever you want for the lose streak.

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

function dobet()

chance = 90 -- set default chance

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 and (currentstreak == losecount) then <---   This is the block of code that is going to make the high bet
  nextbet=rawr
  highbet=true
  fl=false
  chance = whatever you want to set it to... 
end

end



could you help me to add change chance? like prerolling on chance 90% after currentstreak==losecount it will change the chance and put bet, repeat if loss

exp for 2 streaks loss
win,win,loss,win,win,loss,loss,BET (change chance)


thanks

   I tried running that code, and it was doing the high bet after 2 losses in a row.  Anyway..  I've put an update in red above.
member
Activity: 99
Merit: 10
chance=90
multi=10
minbet=0.0000001
minhigh=0.0001
losecount = -2    -- change this to -3 or whatever you want for the lose streak.

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 and (currentstreak == losecount) then
  nextbet=rawr
  highbet=true
  fl=false
end

end



could you help me to add change chance? like prerolling on chance 90% after currentstreak==losecount it will change the chance and put bet, repeat if loss

exp for 2 streaks loss
win,win,loss,win,win,loss,loss,BET (change chance)


thanks
legendary
Activity: 1007
Merit: 1000

it gave me first 2 lost, not the streaks..

if i set lostcount = -2 it just starting script after 2 lost...what i mean is preroll for 2 lossstreak then start the script/ strategy

like lose,lose then start, repeat if lose

thanks

   I'm not understanding.  What is the difference between starting the script after 2 losses and pre-rolling for a 2 loss steak and then starting? 

after reading your comment for the 10th time I think it sunk in.  Your saying the betting starts after 2 losses, not necessarily in a row.  Based on the code I gave you it shouldn't start until you have 2 losses in a row.  The variable currentstreak  is for streaks.  If you lose it gets set to -1 if you then win it will be 1 if you lose again it's -1.  It won't be -2 until you have 2 losses in a row. 


I didn't write the original script so sometimes it's hard to understand what someone else was trying to do.  It looks like the script needs to have one win, and then a loss to start betting.  Then after a loss it increases the bet and waits for another loss before betting higher.       

I copied the code in the last code segment and it seems to do what your asking for.  Keep betting the min bet until you get a 2 loss streak and then do the high bet. 
member
Activity: 99
Merit: 10
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

anyone can help me with this script? instead of after 1 loss pre roll, i need i want it 2 or 3 loss streaks before placing bet...so it can adjusted

thanks

    There is a variable provided called currentstreak.  The trick to using it for loses, is realizing it's a negative number for loses.  
So you could change the code like this.

Code:
chance=90
multi=10
minbet=0.0000001
minhigh=0.0001
losecount = -2    -- change this to -3 or whatever you want for the lose streak.

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 and (currentstreak == losecount) then
  nextbet=rawr
  highbet=true
  fl=false
end

end

it gave me first 2 lost, not the streaks..

if i set lostcount = -2 it just starting script after 2 lost...what i mean is preroll for 2 lossstreak then start the script/ strategy

like lose,lose then start, repeat if lose

thanks
legendary
Activity: 1007
Merit: 1000
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

anyone can help me with this script? instead of after 1 loss pre roll, i need i want it 2 or 3 loss streaks before placing bet...so it can adjusted

thanks

    There is a variable provided called currentstreak.  The trick to using it for loses, is realizing it's a negative number for loses. 
So you could change the code like this.

Code:
chance=90
multi=10
minbet=0.0000001
minhigh=0.0001
losecount = -2    -- change this to -3 or whatever you want for the lose streak.

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 and (currentstreak == losecount) then
  nextbet=rawr
  highbet=true
  fl=false
end

end
member
Activity: 99
Merit: 10
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

anyone can help me with this script? instead of after 1 loss pre roll, i need i want it 2 or 3 loss streaks before placing bet...so it can adjusted

thanks
legendary
Activity: 1717
Merit: 1125
If you're having trouble getting started with DiceBot, check out this video I made on the basics of using DiceBot: https://www.youtube.com/watch?v=HQyFA3-abdQ
newbie
Activity: 53
Merit: 0
Hi all guys,

is there any command to automatically import another previsius saved strategy after XXX bet?

If you use any strategy after some thousand bet you will loose anyway, so i think it's necessary switch it after a bit and again
Thank you

Just to be clear, if you play long enough, you're going to lose no matter how advanced your system is or how many systems you use or whatever.

You can load and execute advanced mode settings from the programmer mode, so you can write a script that loads new settings and uses it to place bets, or you van use the executefile() or loadfile() function (I can't remember the exact function, check out this video where I use it) to load new programmer mode scripts while betting.

There's no setting for the advanced mode that allows you to load new settings after x amount of bets or something. And No, I'm not going to add the feature any time soon

Ok, all clear. Thank you for support
legendary
Activity: 1717
Merit: 1125
Hi all guys,

is there any command to automatically import another previsius saved strategy after XXX bet?

If you use any strategy after some thousand bet you will loose anyway, so i think it's necessary switch it after a bit and again
Thank you

Just to be clear, if you play long enough, you're going to lose no matter how advanced your system is or how many systems you use or whatever.

You can load and execute advanced mode settings from the programmer mode, so you can write a script that loads new settings and uses it to place bets, or you van use the executefile() or loadfile() function (I can't remember the exact function, check out this video where I use it) to load new programmer mode scripts while betting.

There's no setting for the advanced mode that allows you to load new settings after x amount of bets or something. And No, I'm not going to add the feature any time soon
newbie
Activity: 53
Merit: 0
Hi all guys,

is there any command to automatically import another previsius saved strategy after XXX bet?

If you use any strategy after some thousand bet you will loose anyway, so i think it's necessary switch it after a bit and again
Thank you
newbie
Activity: 12
Merit: 0
Hi Seuntjie,

Thanks for reply, I will update for newest bot 3.1.6 now. and hopefully that feature works.

Cheers,
ferry

legendary
Activity: 1717
Merit: 1125
Hello,

I'm using BotDice for a month, Botdice is good and very fast if you are using Just-dice, recently I need a feature of "reset after xx bets" on bot, but I saw that the option is not work, if I set reset after 100 bets is it true next bet will start from beginning and the amount = bet base ?

I'm also tried similar option "Reset After XX Loses/Wins" but I have the same problem, the bot not reset on that setting.

Is't anybody here tried those option ?
Is it the bot have interference with other option ?

Any comment are welcome.

Thank you,
ferry



Just tested in 3.1.6 and it works fine for me.
newbie
Activity: 12
Merit: 0
Hello,

I'm using BotDice for a month, Botdice is good and very fast if you are using Just-dice, recently I need a feature of "reset after xx bets" on bot, but I saw that the option is not work, if I set reset after 100 bets is it true next bet will start from beginning and the amount = bet base ?

I'm also tried similar option "Reset After XX Loses/Wins" but I have the same problem, the bot not reset on that setting.

Is't anybody here tried those option ?
Is it the bot have interference with other option ?

Any comment are welcome.

Thank you,
ferry


legendary
Activity: 1007
Merit: 1000
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

    Ah one of the joys of programming.  You're better off checking for > Greater then .02 then it it Equals .02.  If your win made your balance go from .01999999 to .02000001 it would never equal .02 and the bot would run forever. 

   But if you truly only wanted to stop when it was .02, you need to have == to compare 2 numbers.  = is used to assign a value. 
legendary
Activity: 1717
Merit: 1125
Some clarification here

Multiplier: What the BOT multiplies your bet with when you lose
Payout: What the SITE multiplies your bet with when you win.
Chance: Chance to win
Return: What the site sends back to you, so bet*payout (0 when lose)
Profit: The profit you made from the bet, so return-bet (-bet when lose)


payout=(100-site edge)/chance
chance = (100-site edge)/payout
Pages:
Jump to: