Hello Guest

Programmer mode got a bug!?

  • 1 Replies
  • 293 Views
*

Locoloki

  • *
  • 2
  • +0/-0
    • View Profile
Programmer mode got a bug!?
« on: June 04, 2020, 08:14:50 am »
Hey there! I got this for the programmer mode and id worked well on primedice but a few days ago it didnt work as i have seen before!
Code: [Select]
tipu="username" -- where to tip
tipt=false -- enable/disable tipping on hitting profit target. true = enable, false = disable
target=0.0005 -- target profit, also tip amount
rs=true -- set true to reset after hitting target, false to stop after hitting target

-- Dont change anything beyond here

p=1.98
m=1.01
b=balance
bb=0.0001
f=(bb*m^(p*10))*(m/(m-1))
ff=(bb*m^(p*10))*p
fa=0
mod=1

while fa <= 0.00000001 do
   
    if b < 0.005 then
        print("Minimum balance : 0.005")
        break
    end

    f=(bb*m^(p*10))*(m/(m-1))
    ff=(bb*m^(p*10))*p

    if mod == 1 then
        m=m+0.01
    end

    if mod == 2 then
        p=p+.01
        mod=1
    end

    fa=ff-f

    while f > b and fa <= 0.00000001 do

        bb=bb-0.00000001
        f=(bb*m^(p*10))*(m/(m-1))
        ff=(bb*m^(p*10))*p
        fa=ff-f

        if bb < 0.00000001 then
            bb=0.0001
            m=1.01
            mod=2
            break
        end

    end

end

if b >= 0.005 then
    print("Payout")
    print(p)
    print("Loss Multiplier")
    print(m)
    print("Base Bet")
    print(bb)
    print(fa)
end

chance=99/p
nextbet=bb
wc=0
rc=0
bethigh=true
enablesrc=false
enablezz=false
pt=balance+target

function dobet()
    if balance < 0.005 then
       stop()
    end

    if win then
        rc=rc+1
        nextbet=bb
       
        if wc < 2 then
            wc=wc+1
        else
            if bethigh then
                bethigh=false
            else
                bethigh=true
            end
            wc=0
        end
        if balance >= pt then
            pt=balance+target
            if !rs then
                stop()
            end
            if tipt then
                tip(tipu,target)
            end
        end
    else
        nextbet=previousbet*m
        rc=rc+1
    end
   
    if rc >= 200 then
        resetseed()
        rc=0
    end
end
It normal shows me in the bot a chance of 50 but after the last bot update its an other ! Can anyone help me?
Many thanks!
PS: the calculation of the basebet is also wrong now!
« Last Edit: June 04, 2020, 09:45:07 am by Seuntjie »

*

Seuntjie

  • *****
  • 481
  • +13/-2
    • View Profile
Re: Programmer mode got a bug!?
« Reply #1 on: June 04, 2020, 09:47:12 am »
Can you post examples of what it was vs what it is now? Since the script uses your balance and other stats for calculations, maybe include what they were for each example as well.

Are you sure you didn't change the script?