Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
-- Function to set proper 2x bet multiplier based on balance.
-- This is not a complete script. This is just a routine that will continuously reset your bet multiplier for
-- a 2x game. It's range is from 2.25 to 3.00 in 0.01 increments.
tmulti = 2.25
bmulti = 2.25
base = 0.00000001
runCnt = 0
runMax = 10000
maxroll = 0
tmaxroll = 0
bethigh = true
chance = 49.50
nextbet = base
mcnt = 75
-- Initialize bray[75]
bray = {}
for n = 0, mcnt do
bray[n] = bmulti + (0.01 * n) -- Array of bmulti values
end
-- End initilization
function dobet()
-- Process stop
runCnt = runCnt + 1
if (runCnt > runMax) then
print("Process Complete!")
stop()
end
-- End Process stop
-- Start process to determine current bet multiplier
if ((math.fmod(runCnt, 50) == 0) or (runCnt == 0)) then
tmulti = 2.25
for n = 0, mcnt do
bmulti = bray[n]
-- Funtion to set maxroll
-- Based on balance and multiplier.
m = bmulti
b = base
car1 = 0
car2 = 0
if ((balance > (b * m^0)) and (balance < (b + (b * m^1)))) then
maxroll = 1
else
car1 = (b + (b * m^1))
car2 = car1 + (b * m^2)
if ((balance > car1) and (balance < car2)) then
maxroll = 2
else
car1 = car2
car2 = car1 + (b * m^3)
if ((balance > car1) and (balance < car2)) then
maxroll = 3
else
car1 = car2
car2 = car1 + (b * m^4)
if ((balance > car1) and (balance < car2)) then
maxroll = 4
else
car1 = car2
car2 = car1 + (b * m^5)
if ((balance > car1) and (balance < car2)) then
maxroll = 5
else
car1 = car2
car2 = car2 + (b * m^6)
if ((balance > car1) and (balance < car2)) then
maxroll = 6
else
car1 = car2
car2 = car1 + (b * m^7)
if ((balance > car1) and (balance < car2)) then
maxroll = 7
else
car1 = car2
car2 = car1 + (b * m^8)
if ((balance > car1) and (balance < car2)) then
maxroll = 8
else
car1 = car2
car2 = car1 + (b * m^9)
if ((balance > car1) and (balance < car2)) then
maxroll = 9
else
car1 = car2
car2 = car1 + (b * m^10)
if ((balance > car1) and (balance < car2)) then
maxroll = 10
else
car1 = car2
car2 = car1 + (b * m^11)
if ((balance > car1) and (balance < car2)) then
maxroll = 11
else
car1 = car2
car2 = car1 + (b * m^12)
if ((balance > car1) and (balance < car2)) then
maxroll = 12
else
car1 = car2
car2 = car1 + (b * m^13)
if ((balance > car1) and (balance < car2)) then
maxroll = 13
else
car1 = car2
car2 = car1 + (b * m^14)
if ((balance > car1) and (balance < car2)) then
maxroll = 14
else
car1 = car2
car2 = car1 + (b * m^15)
if ((balance > car1) and (balance < car2)) then
maxroll = 15
else
car1 = car2
car2 = car1 + (b * m^16)
if ((balance > car1) and (balance < car2)) then
maxroll = 16
else
car1 = car2
car2 = car1 + (b * m^17)
if ((balance > car1) and (balance < car2)) then
maxroll = 17
else
car1 = car2
car2 = car1 + (b * m^18)
if ((balance > car1) and (balance < car2)) then
maxroll = 18
else
car1 = car2
car2 = car1 + (b * m^19)
if ((balance > car1) and (balance < car2)) then
maxroll = 19
else
car1 = car2
car2 = car1 + (b * m^20)
if ((balance > car1) and (balance < car2)) then
maxroll = 20
else
car1 = car2
car2 = car1 + (b * m^21)
if ((balance > car1) and (balance < car2)) then
maxroll = 21
else
car1 = car2
car2 = car1 + (b * m^22)
if ((balance > car1) and (balance < car2)) then
maxroll = 22
else
car1 = car2
car2 = car1 + (b * m^23)
if ((balance > car1) and (balance < car2)) then
maxroll = 23
else
car1 = car2
car2 = car1 + (b * m^24)
if ((balance > car1) and (balance < car2)) then
maxroll = 24
else
car1 = car2
car2 = car1 + (b * m^25)
if ((balance > car1) and (balance < car2)) then
maxroll = 25
else
car1 = car2
car2 = car1 + (b * m^26)
if ((balance > car1) and (balance < car2)) then
maxroll = 26
else
car1 = car2
car2 = car1 + (b * m^27)
if ((balance > car1) and (balance < car2)) then
maxroll = 27
else
car1 = car2
car2 = car1 + (b * m^28)
if ((balance > car1) and (balance < car2)) then
maxroll = 28
else
car1 = car2
car2 = car1 + (b * m^29)
if ((balance > car1) and (balance < car2)) then
maxroll = 29
else
car1 = car2
car2 = car1 + (b * m^30)
if ((balance > car1) and (balance < car2)) then
maxroll = 30
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
end
-- End set maxroll
if (bmulti ~= tmulti) then
if (maxroll >= tmaxroll) then
tmaxroll = maxroll
tmulti = bmulti
end
end
end -- End for statement
bmulti = tmulti -- Output 2x multiplier
print(bmulti)
end -- End of if statement
-- End process to set bet multiplier
-- Begin bet calcs
if win then
nextbet = base
else
nextbet = previousbet * bmulti
end
end -- end dobet
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team