Hello Guest

How to make a replay without resetting the bid amount

  • 1 Replies
  • 224 Views
*

dimon121

  • **
  • 11
  • +0/-0
    • View Profile
How to make a replay without resetting the bid amount
« on: February 18, 2019, 05:00:55 am »
How to make a replay without resetting the bid amount.

Need after the loss of the last chance started continued to play since the chance of 0.04  ,the continuation bet
Code: [Select]
chance = 0.03
base = balance*.0000001
prebet = 0.00000001
nextbet = prebet
enablezz = true
enablesrc = true
losecount = 0
betcount = 0
investtarget = .01
startbalance = balance
investprofit = 0

function dobet()
investprofit += currentprofit
      print("Total Bets/Current Lose Streak/Bet Size/Balance")
      print(betcount)
      print(losecount)
      print(nextbet)
      print(balance)
   if win then
        chance= 0.03
        losecount = 0
        betcount += 1
if (investprofit > investtarget) then
invest(balance - startbalance)
startbalance = balance
end
   else
         losecount += 1
         betcount += 1
      nextbet = prebet
   end
    if (losecount >1 ) then
      nextbet = previousbet*1.0011
      chance = 0.03
    end
    if (losecount >1080 ) then
      nextbet = previousbet*1.00091
      chance = 0.04
     end
    if (losecount >1230 ) then
      nextbet = previousbet*1.00081
      chance = 0.05
     end
    if (losecount >1400 ) then
      nextbet = previousbet*1.00071
      chance = 0.06
   end
    if (losecount >1640 ) then
      nextbet = previousbet*1.00065
      chance = 0.07
   end
    if (losecount >1970 ) then
      nextbet = previousbet*1.00095
      chance = 0.08
     end
    if (losecount >2470 ) then
      nextbet = previousbet*1.0009
      chance = 0.09
 end
    if (losecount >3300 ) then
      nextbet = previousbet*1.0005
      chance= 0.10  
  end
   end
  end
 end
end
Anonymous blockchain browser from the Main developer Mozilla Get rewards for using more details on the main page click here   https://brave.com/oxb563

*

MrOnsTr

  • **
  • 24
  • +1/-0
    • View Profile
Re: How to make a replay without resetting the bid amount
« Reply #1 on: February 18, 2019, 12:19:16 pm »
i hope this will work ;)
Code: [Select]
if win then -- add
        nextbet = prebet
        chance= 0.03
        losecount = 0
        betcount += 1