Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - MarsAres

Pages: [1]
1
Programmer Mode / Whats Wrong with my script ?
« on: April 09, 2018, 08:52:00 pm »
Hi everybody, i have a strat that i want to use with dicebot and i searched everywhere and now i have this script :
Code: [Select]
[b]chance=49.5
basebet=0.00000001
nextbet=basebet
rollcount=7

function dobet()

--Change seed every 7 bets
if rollcount==7
then
rollcount=0
resetseed();
else
rollcount=rollcount + 1
end

if !win
then
nextbet=basebet
end

if currentstreak==1
then
nextbet=(profit*-1)+(basebet*2)
end

if currentstreak==2
then
print("Wins")
end

end[/b]
The main idea of this strategy is that i want recover my all losingstreak after 2 wins: for exemple:

+1
+1
+1
-1
-1
-1
-1
+1
-4
-1
-1
+1
+10
etc...


but i have a problem with the script, sometimes after the second win, for exemple to recover -6 so the code bets 6 the nextbet have to be 1 but it keeps betting 6
moreover it prints to me "bet amount not valid" because is trying to betting an amount like "-0.00000012" and not "0.00000012"  :'(

So please can someone help me to improve the script.

thanks in advance.

Best regards  :)

Pages: [1]