Hello Guest

Dicebot V4

  • 6 Replies
  • 595 Views
*

PMG

  • **
  • 69
  • +0/-0
    • View Profile
Dicebot V4
« on: May 14, 2020, 06:21:28 pm »
Public Alpha is available https://krygamesbot.com/

What do you think of the new bot ? i realize my first lua script on dicebot V4 i share it, maybe you can take inspiration from it.

it's a lua [script only for Dicebot V4] Risky but fun to play, with luck you can make a lot of profit.

When the win counter is at least = 3, bot check if the session made profit. If the session is in loss the bet increases (bet amount = the amount of the loss / 2) and bot plays a new random chance with a random direction(over/under) and the win counter is reset to 0. Chance value and direction (over / under) is generated according to the last value of the roll.

Quand le compteur de win est au moins = a 3, verifie si la session est en profit,si la session est en perte le pari augmente( bet = le montant de la perte / 2 ) et on joue une nouvelle chance aleatoire avec un sens aleatoire et on reset le compteur de win a 0 La valeur de la chance et la direction(over/under) est choisis en fonction de la derniere valeur du roll.


Screen shot of simulation. 100k bets, start balance = 50k and settings => [ base = 1 // chanceMAX = 98 // chanceMIN =  0.01]

Good luck gambleurs ! and have a lot fun

Code: [Select]
--RandomByWin-V0.lua


--[[ Quand le compteur de win est au moins = a 3, verifie si la session est en profit,
si la session est en perte le pari augmente( bet = le montant de la perte / 2 )
et on joue une nouvelle chance aleatoire avec un sens aleatoire et on reset le compteur de win a 0
La valeur de la chance et la direction(over/under) est choisis en fonction de la derniere valeur du roll
]]

--[[Do you want to support me? contact me by telegram (pmNofirg) maybe I will allow you discover
a new dice site, and I will share to you my list of referral links if you wish.]]


--YOUR SETTING------
base = 0.00000001 -- your basebet
chanceMAX = 98 -- max chance allowed
chanceMIN =  0.01 -- min chance allowed
target = 10000  -- when your balance reaches this value, the bot stop playing
LowerLimit = 0 --Balance - base*10  -- before your balance goes below this value, the bot stop playing
--------------------

function DoDiceBet(PreviousBet, Win, NextBet)

perte = perte + PreviousBet.Profit

if Win then
cmptW = cmptW + 1
end

if perte >= 0 then
perte = 0
NextBet.Amount = base
else
if cmptW >= 3 then
cmptW = 0
NextBet.Chance = randomRoll(chanceMIN,chanceMAX,PreviousBet.Roll)
NextBet.Amount = -perte/2
if NextBet.Amount < base then NextBet.Amount = base end
end
end

if (Balance-NextBet.Amount) < LowerLimit then
Stop()
end

if Balance > target then
Stop()
end

end

----------------
perte = 0
cmptW = 0
----------------

function randomRoll(MIN,MAX,ROLL)
return( MIN + ((MAX-MIN)*((ROLL)/100)) )
end

function ResetDice(NextBet)
NextBet.Amount = base
NextBet.Chance = chanceMAX
NextBet.High=true
end
« Last Edit: May 14, 2020, 06:28:24 pm by PMG »

*

Seuntjie

  • *****
  • 496
  • +14/-2
    • View Profile
Re: Dicebot V4
« Reply #1 on: May 14, 2020, 06:27:08 pm »
If you set these two variables inside of the reset function instead of globally, you'll be able to use the resume button in the bot without resetting those two every time.
Code: [Select]
perte = 0
cmptW = 0

As it is now, when you click resume it will be basically the same as clicking start. If you move them into the reset function, they will only be reset when you click start but not reset when you click resume.


*

PMG

  • **
  • 69
  • +0/-0
    • View Profile
Re: Dicebot V4
« Reply #2 on: May 14, 2020, 06:36:11 pm »
If you set these two variables inside of the reset function instead of globally, you'll be able to use the resume button in the bot without resetting those two every time.
Code: [Select]
perte = 0
cmptW = 0

As it is now, when you click resume it will be basically the same as clicking start. If you move them into the reset function, they will only be reset when you click start but not reset when you click resume.

Ok i understand now .

*

PMG

  • **
  • 69
  • +0/-0
    • View Profile
Re: Dicebot V4
« Reply #3 on: May 14, 2020, 08:48:34 pm »
New version V0.01

-1) Random direction added. ( In previous version, there is no random direction(over/under), it is an oversight)
Code: [Select]
NextBet.High = math.floor(0.5+PreviousBet.Roll)%2==0-2) Moved variables into the reset function.

Code: [Select]
--RandomByWin-V0.01.lua


--[[ Quand le compteur de win est au moins = a 3, verifie si la session est en profit,
si la session est en perte le pari augmente( bet = le montant de la perte / 2 )
et on joue une nouvelle chance aleatoire avec un sens aleatoire et on reset le compteur de win a 0
La valeur de la chance et la direction(over/under) est choisis en fonction de la derniere valeur du roll
]]

--[[Do you want to support me? contact me by telegram (pmNofirg) maybe I will allow you discover
a new dice site, and I will share to you my list of referral links if you wish.]]


--YOUR SETTING------
base = 0.00000001 -- your basebet
chanceMAX = 98 -- max chance allowed
chanceMIN =  0.01 -- min chance allowed
target = 10000  -- when your balance reaches this value, the bot stop playing
LowerLimit = 0 --Balance - base*10  -- before your balance goes below this value, the bot stop playing
--------------------

function DoDiceBet(PreviousBet, Win, NextBet)

perte = perte + PreviousBet.Profit

if Win then
cmptW = cmptW + 1
end

if perte >= 0 then
perte = 0
NextBet.Amount = base
else
if cmptW >= 3 then
cmptW = 0
NextBet.High = math.floor(0.5+PreviousBet.Roll)%2==0
NextBet.Chance = randomRoll(chanceMIN,chanceMAX,PreviousBet.Roll)
NextBet.Amount = -perte/2
if NextBet.Amount < base then NextBet.Amount = base end
end
end

if (Balance-NextBet.Amount) < LowerLimit then
Stop()
end

if Balance > target then
Stop()
end

end


function randomRoll(MIN,MAX,ROLL)
return( MIN + ((MAX-MIN)*((ROLL)/100)) )
end

function ResetDice(NextBet)
----------------
perte = 0
cmptW = 0
----------------
NextBet.Amount = base
NextBet.Chance = chanceMAX
NextBet.High = true
end



« Last Edit: May 14, 2020, 09:52:41 pm by PMG »

*

PMG

  • **
  • 69
  • +0/-0
    • View Profile
Re: Dicebot V4
« Reply #4 on: May 17, 2020, 11:52:52 am »
New lua script for dicebot V4

Name script: payoutIncremente.lua
Description : Quiet strategy, if you use a base bet of 1 for 50k and very quiet with a basebet of 1 for 100k (probably recommended). Of course you can try playing with a big basebet to try to make big profits.
For each lose, bot incrementes payout  by 1 or 2 ,but there is a limite, with a minimum chance equal to 3%, for each win, bot comes back to maximum chance and next bet = loss amount/5


Code: [Select]
--payoutIncremente.lua

--[[ A chaque pertes le payout est augmente de 1 ou de 2, avec une chance Minimum a 3%, a chaque win on retourne a la chance Maximum et
le prochain pari = le montant de la perte/5--]]

--[English description]
--[[ For each lose, bot incrementes payout  by 1 or 2 ,but there is a limite, with a minimum chance equal to 3%, for each win, bot comes back to maximum chance and
next bet = loss amount/5--]]




--YOUR SETTING------
bethigh = true  -- true = bet over and false = bet under
bb = 0.000000001 -- your basebet
chanceMAX = 77 -- max chance allowed
chanceMIN = 3 -- min chance allowed
target = 10000000000000000000  -- when your balance reaches this value, the bot stop playing
LowerLimit = 0 --Balance - base*10  -- before your balance goes below this value, the bot stop playing
--------------------

function DoDiceBet(PreviousBet, Win, NextBet)

perte = perte + PreviousBet.Profit

if perte > 0 then
perte = 0
nextbet = bb
chance = chanceMAX
payout = (100-SiteDetails.edge) /chanceMAX
else

if Win then
nextbet = -perte / 5
--nextbet = PreviousBet.TotalAmount * 2
if nextbet < bb then nextbet  = bb end
chance = chanceMAX
payout = (100-SiteDetails.edge) /chanceMAX
else
payout = payout + math.random(1,2)
chance = (100-SiteDetails.edge)/payout

if chance > chanceMAX then
chance = chanceMAX
payout = (100-SiteDetails.edge) /chanceMAX
elseif chance < chanceMIN then
chance = chanceMIN
payout = (100-SiteDetails.edge) /chanceMIN
end

end
end

NextBet.Amount = nextbet
NextBet.Chance = chance

if (Balance-NextBet.Amount) < LowerLimit then
Stop()
-- Print("")
elseif Balance > target then
-- Print("")
Ching()
Stop()
end


end


function ResetDice(NextBet)
-------
perte = 0
nextbet = bb
chance = chanceMAX
        payout = (100-SiteDetails.edge) /chance
-------

NextBet.Amount = nextbet
NextBet.Chance = chance
NextBet.High = bethigh
end

Simulation base bet = 1

« Last Edit: May 18, 2020, 06:58:08 am by PMG »

*

PMG

  • **
  • 69
  • +0/-0
    • View Profile
Re: Dicebot V4
« Reply #5 on: May 17, 2020, 03:44:11 pm »
New lua script for dicebot V4

Name script: ChanceIncrease.lua
Description : Probably recommended to use base bet of 1 or 2 for 100k. For each lose, bot decreases payout by 5  ,but there is a limite, with a maximum chance equal to 77%, for each win, bot comes back to minimum chance and next bet = loss amount/payout of chance Minimum

Code: [Select]

--payoutIncremente.lua

--[[ A chaque perte le payout diminue de 5, avec une chance Maximum a 77%, a chaque win on retourne a la chance Minimum et
le prochain pari = le montant de la perte/payout de la chance Minimum--]]

--[English translation]
--[[ For each lose, bot decreases payout by 5  ,but there is a limite, with a maximum chance equal to 77%, for each win, bot comes back to minimum chance and
next bet = loss amount/payout of chance Minimum--]]




--YOUR SETTING------
bethigh = true  -- true = bet over and false = bet under
bb = 0.00000001 -- your basebet
chanceMAX = 77 -- max chance allowed
chanceMIN = 1.5 -- min chance allowed
target = 10000000000000000000  -- when your balance reaches this value, the bot stop playing
LowerLimit = 0 --Balance - base*10  -- before your balance goes below this value, the bot stop playing
--------------------

function DoDiceBet(PreviousBet, Win, NextBet)

perte = perte + PreviousBet.Profit

if perte > 0 then
perte = 0
nextbet = bb
chance = chanceMIN
payout = (100-SiteDetails.edge)/chanceMIN
else

if Win then
nextbet = -perte / (((100-SiteDetails.edge) /chanceMIN)/1)
--nextbet = PreviousBet.TotalAmount * 2
if nextbet < bb then nextbet  = bb end
chance = chanceMIN
payout = (100-SiteDetails.edge) /chanceMIN
else
payout = payout - 5
chance = (100-SiteDetails.edge)/payout

if chance > chanceMAX then
chance = chanceMAX
payout = (100-SiteDetails.edge) /chanceMAX
elseif chance < chanceMIN then
chance = chanceMIN
payout = (100-SiteDetails.edge) /chanceMIN
end

end
end

NextBet.Amount = nextbet
NextBet.Chance = chance

if (Balance-NextBet.Amount) < LowerLimit then
Stop()
-- Print("")
elseif Balance > target then
-- Print("")
Ching()
Stop()
end


end

function ResetDice(NextBet)
-------
perte = 0
nextbet = bb
chance = chanceMIN
-------

NextBet.Amount = nextbet
NextBet.Chance = chance
NextBet.High = bethigh
end

payout = (100-SiteDetails.edge)/chance


Simulation base bet = 1

« Last Edit: May 17, 2020, 06:10:18 pm by PMG »

*

DNR1

  • *
  • 2
  • +1/-0
    • View Profile
Re: Dicebot V4
« Reply #6 on: May 21, 2020, 05:38:00 pm »
New version V0.01

-1) Random direction added. ( In previous version, there is no random direction(over/under), it is an oversight)
Code: [Select]
NextBet.High = math.floor(0.5+PreviousBet.Roll)%2==0-2) Moved variables into the reset function.

Code: [Select]
--RandomByWin-V0.01.lua


--[[ Quand le compteur de win est au moins = a 3, verifie si la session est en profit,
si la session est en perte le pari augmente( bet = le montant de la perte / 2 )
et on joue une nouvelle chance aleatoire avec un sens aleatoire et on reset le compteur de win a 0
La valeur de la chance et la direction(over/under) est choisis en fonction de la derniere valeur du roll
]]

--[[Do you want to support me? contact me by telegram (pmNofirg) maybe I will allow you discover
a new dice site, and I will share to you my list of referral links if you wish.]]


--YOUR SETTING------
base = 0.00000001 -- your basebet
chanceMAX = 98 -- max chance allowed
chanceMIN =  0.01 -- min chance allowed
target = 10000  -- when your balance reaches this value, the bot stop playing
LowerLimit = 0 --Balance - base*10  -- before your balance goes below this value, the bot stop playing
--------------------

function DoDiceBet(PreviousBet, Win, NextBet)

perte = perte + PreviousBet.Profit

if Win then
cmptW = cmptW + 1
end

if perte >= 0 then
perte = 0
NextBet.Amount = base
else
if cmptW >= 3 then
cmptW = 0
NextBet.High = math.floor(0.5+PreviousBet.Roll)%2==0
NextBet.Chance = randomRoll(chanceMIN,chanceMAX,PreviousBet.Roll)
NextBet.Amount = -perte/2
if NextBet.Amount < base then NextBet.Amount = base end
end
end

if (Balance-NextBet.Amount) < LowerLimit then
Stop()
end

if Balance > target then
Stop()
end

end


function randomRoll(MIN,MAX,ROLL)
return( MIN + ((MAX-MIN)*((ROLL)/100)) )
end

function ResetDice(NextBet)
----------------
perte = 0
cmptW = 0
----------------
NextBet.Amount = base
NextBet.Chance = chanceMAX
NextBet.High = true
end

For DiceBot v3
Code: [Select]
--YOUR SETTING------
base       = 0.00000001 -- your basebet
chanceMAX  = 98 -- max chance allowed
chanceMIN  = 0.01 -- min chance allowed
target     = 10000  -- when your balance reaches this value, the bot stop playing
LowerLimit = 0 --Balance - base*10  -- before your balance goes below this value, the bot stop playing
--------------------
perte = 0
cmptW = 0
function dobet()

    perte = perte + currentprofit

    if win then
        cmptW = cmptW + 1
    end

    if perte >= 0 then
        perte   = 0
        nextbet = base
    else
        if cmptW >= 3 then
            cmptW   = 0
            bethigh = math.floor(0.5+lastBet.roll)%2==0
            chance  = randomRoll(chanceMIN,chanceMAX,lastBet.roll)
            nextbet = -perte/2
            if nextbet < base then nextbet = base end
        end
    end

    if (balance-nextbet) < LowerLimit then
        stop()
    end
   
    if balance > target then
        stop()
    end

end


function randomRoll(MIN,MAX,ROLL)
    return( MIN + ((MAX-MIN)*((ROLL)/100)) )
end

function ResetDice(nextbet)
    ----------------
    perte = 0
    cmptW = 0
    ----------------
    nextbet = base
    chance  = chanceMAX
    bethigh = true
end