--------------------------------------------------------------
-- CALIMERO v6
--------------------------------------------------------------
-- developed by WinMachine
--------------------------------------------------------------
--
-- THERE ARE NO PERFECT STRATS OR SCRIPTS WHEN GAMBLING, BE SAFE!
--
--------------------------------------------------------------
version = 1.6
debug = true
--------------------------------------------------------------
enablrsc = false
enablezz = false
--------------------------------------------------------------
bethigh = true
--------------------------------------------------------------
--[[
basebet_min = 2000
bb1 = 2000
wc1 = 98
inc1 = 0
bb2 = 0.001
wc2 = 9 --11x
wc2_avg = 5
inc2 = 0--1.05--1.10
risk = 3
allow_vault = true
--]]
--[[
basebet_min = 1000
bb1 = 5000
wc1 = 98
inc1 = 0
bb2 = 0.00000005
wc2 = 4.95 --20x
wc2_avg = 5
inc2 = (99/(99-wc2))--0--1.05--1.10
allow_preroll=true
stage2_preroll = 15--10
stage2_reduce_after = 100
stage2_reduce_inc2 = 0.015
--]]
auto = true
divider = 10000000
basebet_min = 1000
bb1 = 1000
wc1 = 80
inc1 = 0
bb2 = 0.00000002
wc2 = 5.95--4.95 --20x
wc2_avg = 6--4
inc2 = 1.08--(99/(99-wc2))
bb1_reset_after_winstreak = 2
allow_inmiddlehunt = true
inmiddle_wc= 25
inmiddle_inc =0
allow_follow_side = true-- if false will try opposite side
allow_locked_side = true -- will not allow to change side after start some hunt on
some side, will unlock after hit green
--protections
allow_preroll = true
stage2_preroll = 15
stage2_reduce_after = 30--50--100
stage2_reduce_inc2 = 0.025
--bankroll manager
bankroll_allow_vault = true
bankroll_main_goal = 10 -- percentage -- 0 to disable
bankroll_main_vault = 50 -- percentage of the goal
bankroll_partial_goal = 1 -- percentage -- 0 to disable
bankroll_partial_vault = 25-- percentage of the goal
bankroll_resetseed_goal_reached =true
--100, 4.95, 95.04
local analytics =
{
count = {
sample= 100,
roll_under = 4.95 ,
roll_over =95.04
},
count99xToSwitch20xSide = {
sample= 20,
roll_under = 1 ,
roll_over =98.99
}
}
-----------------------------------------------------------------------------------
-- DANGER
-----------------------------------------------------------------------------------
local preroll_countdown = stage2_preroll
local preroll_activated = allow_preroll
local balance_initial=0
local main_goal_target = 0
local partial_goal_target = 0
local vaulted_total = 0
local stage = 1
local stage_2_under = false
local stage_2_over = false
local stage_2_started =false
local xlosestreak =0
local xwinstreak =0
local xlongestredtreak =0
local xredtreakcheckpoint =0
local locked_side =false
local follow_side = false
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
function fCurrency(value)
return string.format("%9.12f %s", value, currency)
end
function fPercentage(value)
return string.format("%.8f", value)
end
function math.percentage(percentage,value)
if tonumber(percentage) and tonumber(value) then
return (value*percentage)/100
end
return 0
end
function math.withPercentage(percentage,value)
if tonumber(percentage) and tonumber(value) then
return value + ( value* (percentage/100))
end
return 0
end
function BalanceManager()
if(partialprofit>partial_goal_target) then
if(bankroll_allow_vault and site.CanVault) then
local vault_x = math.percentage(bankroll_partial_vault,partial_goal_target)
vault(vault_x)
vaulted_total = vaulted_total + vault_x
balance = balance-vault_x
print("\n")
print("\
t----------------------------------------------------------------------------------
-")
print("\tBalance Goal reached...")
print("\tVaulting.............. "..fCurrency(vault_x))
print("\
t----------------------------------------------------------------------------------
-")
print("\n")
end
if(bankroll_resetseed_goal_reached) then
resetseed()
print("\n")
print("\
t----------------------------------------------------------------------------------
-")
print("\tSeed reseted...")
print("\
t----------------------------------------------------------------------------------
-")
print("\n")
end
resetpartialprofit()
setup(false)
end
end
function CheckMinBet()
if(nextbet < basebet_min) then
nextbet = basebet_min
end
end
local function resultCountRemote(records, underValue, overValue)
return getCount(records,underValue,overValue,false).Result
end
function setup(isInit)
if(isInit) then
balance_initial = balance
end
if(bankroll_main_goal>0) then
main_goal_target = math.percentage(bankroll_main_goal, balance)
end
if(bankroll_partial_goal>0) then
partial_goal_target = math.percentage(bankroll_partial_goal, balance)
end
if(allow_locked_side) then
locked_side = false
end
if(auto) then
bb1 = (balance/divider)*1
bb2 = (balance/divider)*2
end
end
setup(true)
nextbet = bb1
chance = wc1
CheckMinBet()
local resultCount20x = resultCountRemote(analytics.count.sample,
analytics.count.roll_under, analytics.count.roll_over)
local resultCount99x = 0
function dobet()
resultCount20x = resultCountRemote(analytics.count.sample,
analytics.count.roll_under, analytics.count.roll_over)
resultCount99x = resultCountRemote(analytics.count99xToSwitch20xSide.sample,
analytics.count99xToSwitch20xSide.roll_under,
analytics.count99xToSwitch20xSide.roll_over)
print("\n\n")
print("\
t##################################################################################
##")
print("\t# CALIMERO v."..tostring(version))
print("\t# developed by WinMachine")
print("\t#
----------------------------------------------------------------------------------"
)
print("\t# THERE ARE NO PERFECT STRATS OR SCRIPTS WHEN GAMBLING, BE SAFE!")
print("\
t##################################################################################
##")
print("\n")
print("\tStage................ "..stage)
print("\tBalance initial...... "..fCurrency(balance_initial))
print("\tBalance.............. "..fCurrency(balance))
print("\n")
print("\tAllow Vault.......... "..tostring(site.CanVault))
print("\tVault enabled........ "..tostring(bankroll_allow_vault))
print("\tGoal................. "..fCurrency(partial_goal_target))
print("\tVault %.............. "..bankroll_partial_vault.."%" )
print("\n")
print("\tTotal vaulted........ "..fCurrency(vaulted_total))
print("\n")
print("\n")
print("\tpreroll_countdown.... " ..preroll_countdown)
print("\tlongestredtreak...... " ..xlongestredtreak)
print("\tredtreakcheckpoint... " ..xredtreakcheckpoint)
print("\n")
print("\t20x under............ " ..resultCount20x.under)
print("\t20x over............. " ..resultCount20x.over)
print("\t99x under............ " ..resultCount99x.under)
print("\t99x over............. " ..resultCount99x.over)
print("\n")
print("\
t##################################################################################
##")
print("\n\n")
if(win) then
-----------------------------------------------------------------------------------
BalanceManager()
-----------------------------------------------------------------------------------
if(stage==3) then
elseif (stage==2) then
else
end
-----------------------------------------------------------------------------------
if(chance < wc1 ) then
chance = wc1
nextbet = bb1
preroll_countdown = stage2_preroll
if(stage_2_over) then
stage_2_over = false
end
if(stage_2_under) then
stage_2_under = false
end
if(locked_side==true) then
locked_side = false
end
else
if(bb1_reset_after_winstreak>0 and currentstreak %
bb1_reset_after_winstreak==0) then
nextbet = bb1
end
end
if(xlosestreak > xlongestredtreak) then
xlongestredtreak = xlosestreak
end
xlosestreak=0
-----------------------------------------------------------------------------------
else
-----------------------------------------------------------------------------------
if(stage==3) then
elseif (stage==2) then
else
end
-----------------------------------------------------------------------------------
if(chance < wc1 ) then
if(preroll_activated) then
-- preroll
if(preroll_countdown==0) then
if(xlongestredtreak>stage2_reduce_after) then
xredtreakcheckpoint = (xlongestredtreak/4)*2
else
xredtreakcheckpoint = stage2_reduce_after
end
if(xlosestreak >= xredtreakcheckpoint) then
nextbet = previousbet * (inc2-stage2_reduce_inc2)
else
nextbet = previousbet * inc2
end
else
preroll_countdown = preroll_countdown-1
end
else
nextbet = previousbet * inc2
end
else
if(inc1>0) then
nextbet = previousbet * inc1
end
end
xlosestreak = xlosestreak+1
-----------------------------------------------------------------------------------
end
if(locked_side==false) then
--if(resultCount20x.under > wc2_avg and stage_2_over==false) then
if(resultCount20x.under > wc2_avg and stage_2_under==false) then
print("\n\
t----------------------------------------------------------------------------------
-")
print("\tGo 20x over... ")
print("\
t----------------------------------------------------------------------------------
-\n")
--bethigh = true
--if(locked_side_change==false) then
--end
if(stage_2_started==false) then
bethigh = false
chance = wc2
--stage_2_over = true
stage_2_under = true
nextbet = bb2
if(allow_locked_side) then locked_side=true end
end
end
--if(resultCount20x.over > wc2_avg and stage_2_under==false) then
if(resultCount20x.over > wc2_avg and stage_2_over==false) then
print("\n\
t----------------------------------------------------------------------------------
-")
print("\tGo 20x under... ")
print("\
t----------------------------------------------------------------------------------
-\n")
-- follow_side
--bethigh = false
-- bethigh = true
--chance = wc2
if(stage_2_started==false) then
--stage_2_under=true
bethigh = true
chance = wc2
stage_2_over = true
nextbet = bb2
if(allow_locked_side) then locked_side=true end
end
end
if(resultCount99x.over) then
end
end
if(resultCount99x.over > 2) then
bethigh = false
end
if(resultCount99x.under > 2) then
bethigh = true
end
CheckMinBet()
end