First of all... apologies to all for late replies...
THis is my code.. I write a function after 3 losses code going to stop..
after stop i need a restart a code..
what is the restart programme code..
There isn't a restart program code... once you execute
stop()... the only way to start is to manually use start() on the console or click the "start" button etc.
I have tried time and time again to create my own LUA:
I'll take a look and see what I can come up...
EDIT: Try this... usual disclaimers apply... I take no responsibility if the script goes crazy and bets all your balance. There doesn't seem to be any sort of limit on the number of losses in a row, so your bet could increase very quickly if you hit a long loss streak!
-------------------------------------
--
-- Dicebot script for CryptochevyBlue
--
-- Coded by HCP
--
-------------------------------------
chance = 70.21 -- should be ~ 1.41x payout
basebet = 0.00000100 --sets your first bet.
nextbet = basebet
bethigh = true --bet high when true, bet low when false
wincount = 0
losscount = 0
function dobet()
if (win) then
-- add a win, zero loss streak
wincount += 1
losscount = 0
else
-- add a loss, zero win streak
wincount = 0
losscount +=1
end
if (wincount >= 1) then
nextbet = previousbet * 0.5
elseif (losscount >= 1) then
nextbet = previousbet * 1.5
end
if (wincount == 3) then
-- 3 wins in a row
nextbet = basebet
bethigh = !bethigh
wincount = 0
elseif (losscount == -2) then
-- 2 losses in a row
bethigh = !bethigh
losscount = 0
end
end
chance = 70.21 -- I think that's 1.41 ?
Depends on the sites house edge as to what that actually translates to, but, for most sites, it should be close.
Actually, I used this bot to bet at stake casino and I was able to bet on a 0.99x multiplier or something like that but the same odds are not possible to bet on directly at stake. I am sorry but I don't know how gambling bots exactly work but one shouldn't be able to bet on negative multipliers basically.
I wouldn't have thought that was possible either... the Stake site should really refuse that bet. It sounds like it isn't sanity checking the bets via their API properly.
You might want to consider contacting Stake and advising them of this. Can you still set the bet in your bet history? If so, take screenshots and note the BetID to help them investigate the issue.