Professional Documents
Culture Documents
enablesrc=false
minbet = balance/1000000000
restTime = 0.0
basebet = balance/100000000
nextbet = basebet
basechance = 34.75
paniclevel = 5
panicflag = 0
prevbet = basebet
fibstep = 1.0
dynStep = 1000000000
dynamicBase = true
smoothPanic = false
panicReset = 50
panicCounter = 0
panicOffset = 1.0
onwin = -2
onlose = 1
fibdex=0
currbet=basebet
panicnumber = 1
i=0
function myfib(level)
fibno=basebet
temp=0
prevfibno=0
if level == 0 then
fibno= basebet
else
for j=0,level-1,1 do
temp=fibno
fibno=fibno + (prevfibno * fibstep)
prevfibno=temp
end
end
return fibno
end
function initialize()
if dynamicBase == true then
basebet = balance / dynStep
if basebet < minbet then
basebet = minbet
end
end
panicnumber=basebet
nextbet = basebet
chance = basechance
temp=0
prevtemp=0
fibdex=0
panicnumber=myfib(paniclevel)
print (tempstr)
highLowAverage = {}
averageCount = 0
averageIndex = 0
averageMax = panicReset
rollCount = 0
rollSeedCount = 0
end
initialize()
function dobet()
if win then
if panicflag==1 then
nextbet=basebet
fibdex=0
print("panic over, reset")
else
fibdex=fibdex+onwin
if fibdex < 0 then
fibdex=0
end
nextbet=myfib(fibdex)
end
if dynamicBase == true then
basebet = balance / dynStep
if basebet < minbet then
basebet = minbet
end
panicnumber = myfib(paniclevel)
end
panicCounter=0
panicflag=0
chance = basechance
else
if panicflag == 1 then
panicCounter += 1
if smoothPanic == true then
chance += panicOffset
end
end
end
prevbet=nextbet
sleep(restTime)
end