Jump to content
soccercrazy

Need Help with script to Dicebot

Recommended Posts

i got a system which has been doing good on advanced i just got an issue with it having to long green streaks so it doesnt work well..

as you can see its set to reset to bb which is 0.000014 when profit is above 0.00000001 but sometimes chance 90 can have 100 green streaks which makes like 0.00014 profit and then it will just keep playing at bb untill its lost which can take several thousand bets making very little wager.

i know its posibel in script on dicebot to like have it allwyas update balance so it when it has its first red will play my system untill its above the balance it had when it lost the first bet so im seeking someone to write the script because i cant code...

 

image.thumb.png.23aa88b58cf2ac667c554991d687526a.png

got the help needed ;)

looks like this.

 

max=balance

chance=90

bb=0.000001

w=0 

l=0

 

function dobet()

 

if win then 

  w=w+1 

  nextbet=previousbet/1.05

  l=0 

else 

  w=0 

  l=l+1 

  nextbet=previousbet*1.6  

end

 

if l>1 then

  nextbet=previousbet*2.08

  l=0

end

 

if w>4 then

  w=0

  nextbet=previousbet*1.15

end  

 

if balance>max then

  max=balance

  l=0

  w=0

  nextbet=bb

end

 

end

Edited by soccercrazy

Share this post


Link to post
Share on other sites
27 minutes ago, WinMachine said:

Hello!

Using your advanced setup i made this code.

--------------------------------------------------------------
-- crazzy v.1.01
--------------------------------------------------------------
-- crazzy.v.1.01.lua
--------------------------------------------------------------
-- developed by WinMachine
--------------------------------------------------------------
--------------------------------------------------------------
--
--  (     (     )   (   (   (   (  (       )   ) ) 
--  )\    )\ ( ((.  )\: )\: )\  (\ )\   ( ((. (\(  
-- ((_)  ((())\))\ ((_)((_)(_() (\((_)  )\))\  )(| 
-- \ \    / /_)(_))|  \/  |(_)()( ) |_ (_)(_)) ()\ 
--  \ \/\/ /| | ' \) |\/| | _` | _|   \| | ' \) -_)
--   \_/\_/ |_|_||_|_|  |_|__/_|__|_||_|_|_||_|___|
--
--------------------------------------------------------------
-- Gambling is gambling no matter what you do or how good your strategy is.
-- The house will always win. 
--------------------------------------------------------------


bethigh     = false
st1chance   = 90
st1basetbet = 0.000001 



-------------------------------------------
-------------------------------------------
-------------------------------------------


betscount                                     = 0
losecount                                     = 0 
losestreak                                    = 0
winscount                                     = 0
winstreak                                     = 0

check_profit = true


function IncreaseToBetAmountByPercentage(value,percentage)
  return value + (value* (percentage/100))
end

function DecreaseToBetAmountByPercentage(value,percentage)
  return value - (value* (percentage/100))
end



-------------------------------------------
-- INIT
-------------------------------------------

chance  = st1chance
nextbet = st1basetbet


resetstats()

function dobet()
    

    if(win) then 
        
        -----------------------------------------------
        winscount += 1
        winstreak += 1
        -----------------------------------------------
        
        -- on every streak of 1 win
        if(winstreak % 1 == 0) then
            nextbet = DecreaseToBetAmountByPercentage(previousbet, 5)
        end
        
        -- on every streak of 5 win
        if(winstreak % 5 == 0) then
            nextbet = IncreaseToBetAmountByPercentage(previousbet, 15)
        end
        
        -- check if we have profit, if on profit reset bet amount
        if(check_profit) then
            if(profit>0) then
                check_profit = false
                resetstats()
                nextbet = st1basetbet
                print("COST COVERED!")
            else
                print("COST NOT COVERED!")
            end
        end
        
        -----------------------------------------------
        losestreak = 0
        -----------------------------------------------
        
    else
        
        
        -----------------------------------------------
        losecount += 1
        losestreak += 1
        -----------------------------------------------
        
        check_profit = true
        
        -- on every streak of 1 lose
        if(losestreak % 1 == 0) then
            nextbet = IncreaseToBetAmountByPercentage(previousbet, 60)
        end
         
        -- on every streak of 2 lose
        if(losestreak % 2 == 0) then
            nextbet = IncreaseToBetAmountByPercentage(previousbet, 30)
        end
        
        -----------------------------------------------
        winstreak = 0
        ----------------------------------------------- 

    end

  -----------------------------------------------
  betscount += 1
  -----------------------------------------------
  
end

 

image.png

the script i allready had posted who someone ells made for me works exactly as i wanted it to but still thanks :)

 

Share this post


Link to post
Share on other sites

0.2 balance chance 9.9 bb 0.00000001 increase x2 after 3 red max red streak 60 after max red streak play with 0.00000002 bb same system untill balance is above the balance it had before the first 60 red streak. if it has another red streak of 60 before recovery done double bb again and keep playing untill recovery of all..

sooo i start the bot it makes 0.003 profit then it has a 60 red streak then it starts playing same set up but with 0.00000002 bb and will do so untill balance is above 0.203  and should it have another before recovered back to 0.203 it will then play with a 0.00000004 bb and so on and on and on :)

Edited by soccercrazy

Share this post


Link to post
Share on other sites
10 hours ago, niw385 said:

are scripts allowed here , on PD ?

 

you can use dicebot on pd and stake there is just no help from eighter site if you have issues seeing as they say they dont support the bot..

On 14/03/2022 at 10:55, WinMachine said:

Hello!

Have fun!

https://pastebin.com/KQhBVt7Q

 

qESrJJQ.png

 

nRQnRhs.png

 

lets say after a red streak i only wanted bb to go up by 70% insteed of double which one of all the 100 should i then change ??

the original set up in this one didnt work that great but i have modified it and is playing on 3 difrent sites were im in profit on all the site..

these 3 charts is only from that set up on the 3 sites plus a litle wager play but mainly from the profit set up :)

LmPDpIZ.pngmhhzkiX.pngKJqAHEX.png

Edited by soccercrazy

Share this post


Link to post
Share on other sites
32 minutes ago, soccercrazy said:

great hope you can use it i didnt have much luck as its set up but its pretty easy to make changes in it..

yes i did some tweak to it since it quite easy to get a very long streak on 10X so i added a variance with 6x and increase on base after streak(but reduced the streak count).

Share this post


Link to post
Share on other sites
On 20/03/2022 at 14:37, jorgf said:

yes i did some tweak to it since it quite easy to get a very long streak on 10X so i added a variance with 6x and increase on base after streak(but reduced the streak count).

i did something similar

Share this post


Link to post
Share on other sites

here you go Fabiana :)

 

 

max    = balance
chance = 98
bb     = 0.00003456
w      = 0 
l      = 0

function dobet()

if win then 
  w       = w+1 
  nextbet = previousbet/1.05
  l       = 0 
else 
  w       = 0 
  l       = l+1 
  nextbet = previousbet*7.2
end

if l>1 then
    nextbet = previousbet*5.1
  l       = 0
end

if w>20 then
  w       = 0
  nextbet = previousbet*1.7
end  

if w>45 then
  w       = 0
  nextbet = previousbet*1.6
end 

if w>75 then
  w       = 0
  nextbet = previousbet*1.5
end 

if balance>max then
  max=balance
  l=0
  w=0
  nextbet=bb
end

end

Share this post


Link to post
Share on other sites

max          = balance
chance       = 70
bb           = balance*0.00001
w            = 0 
l            = 0
nextbet      = balance*0.00001 
trailingstop = balance

function dobet()

    if trailingstop < max/2 then
        stop()
    end 
    
       
if win then 
  w       = w+1 
  nextbet = previousbet/1.05
  l       = 0 
else 
  w       = 0 
  l       = l+1 
  nextbet = previousbet*7.2
end

if l>1 then
    nextbet = previousbet*5.1
  l       = 0
end

if w>20 then
  w       = 0
  nextbet = previousbet*1.7
end  

if w>45 then
  w       = 0
  nextbet = previousbet*1.6
end 

if w>75 then
  w       = 0
  nextbet = previousbet*1.5
end 

if balance>max then
  max     = balance
  l       = 0
  w       = 0
  nextbet = balance*0.00001
end

end

Share this post


Link to post
Share on other sites
On 27/05/2022 at 09:43, fr01 said:

This is really interesting, how to implement this scripts 

programmer mod on dicebot

 

On 14/03/2022 at 06:55, WinMachine said:

Hello!

Have fun!

https://pastebin.com/KQhBVt7Q

 

qESrJJQ.png

 

nRQnRhs.png

 

Win, im testing these, can u explain how include vault(..) ? idk which place include command,

i copied below basebet and only send to vault when i start the script

 

Share this post


Link to post
Share on other sites
On 14/05/2022 at 13:59, Noteca said:

max          = balance
chance       = 70
bb           = balance*0.00001
w            = 0 
l            = 0
nextbet      = balance*0.00001 
trailingstop = balance

function dobet()

    if trailingstop < max/2 then
        stop()
    end 
    
       
if win then 
  w       = w+1 
  nextbet = previousbet/1.05
  l       = 0 
else 
  w       = 0 
  l       = l+1 
  nextbet = previousbet*7.2
end

if l>1 then
    nextbet = previousbet*5.1
  l       = 0
end

if w>20 then
  w       = 0
  nextbet = previousbet*1.7
end  

if w>45 then
  w       = 0
  nextbet = previousbet*1.6
end 

if w>75 then
  w       = 0
  nextbet = previousbet*1.5
end 

if balance>max then
  max     = balance
  l       = 0
  w       = 0
  nextbet = balance*0.00001
end

end

Can u explain me how to set a vault? 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×