Pages:
Author

Topic: Seuntjie' Dice bot programmers mode discussion. - page 60. (Read 125483 times)

full member
Activity: 589
Merit: 100
This bot, Primedice Withdrawal operations , error --> "Program stopped" Why ?




full member
Activity: 686
Merit: 107
Legion of BOOM.....

   New version of the 39.6% script.  Several changes.  Same warnings apply, this can and will bust.  Your just hoping not to bust till you've made back your bankroll plus some profit.  

   This one is setup to bet based on your balance.  It's a martingale/reverse martingale.  The starting bet is set up to cover a 20 lose streak. (20 bets).  Randomly it will bet based on a 10 lose streak.  That's the BOOM part.  It's currently setup to try this about 5% of the time.  

       R = math.random(1,20)  

  This statement assigns R a random value between 1 and 20.        

       if(R == 17) then
           nextbet = balance / boomrisk
           print("BOOM")
        end

17 is my lucky number so it R equals 17 try the higher bet.  This is only done in the section of code where we calculate a new base bet.  

This does all of the same investments as the other bots.  

  It also randomly switches hi/lo 10% of the times on loses.  

I started out trying the Boom at 1% (random number 1-100).  But it didn't hit enough for my liking.  I changed it to 5%.  The first run ended with a 10 lose streak  on the BOOM cycle.  This was after about 60% win back.  So I lost about 40% of my initial bankroll (2 Clams) (ended with 1.2).  

   Next run is still going, Same setup, started with 2 clams.  Current profit is 2.1 clams.  Current balance is 2.05  So this run I'm now playing with the houses clams.  
I'll update once this run finishes.  EDIT: Run busted on a Boom cycle.  profit was 1.1 clams. 


Code:
chance = 39.6
martimulti = 1.85
streak = 20
risk = (martimulti ^ streak) * (streak/(streak *(martimulti - 1)))
print(risk)
boomstreak = 10
boomrisk = (martimulti ^ boomstreak) * (boomstreak/(boomstreak *(martimulti - 1)))


startbalance = balance
nextbet = balance / risk
basebet = balance / risk

savefactor = 1.25
target = .01
targetbalance = balance + target
bethigh = true
low = 0
high = 0
losecount = 0
stopnow = false
totallose = 0
wincount = 0
nextwinbet = basebet * martimulti


function dobet()


if (win) then
   wincount += 1
   totallose = 0
   newbalance = balance
   nextbet = balance / risk
    base = true
      if (stopnow) then stop() end
   if (wincount > 2 ) then
     nextbet = previousbet + (lastBet.profit /2)
     base = false
   else
       R = math.random(1,20)  
       if(R == 17) then
           nextbet = balance / boomrisk
           print("BOOM")
        end
     end
       losecount = 0
      if (balance > targetbalance) then
         invest((balance - targetbalance)+target)
         targetbalance = targetbalance + target
         newbalance = targetbalance
      end
      if (newbalance > startbalance * savefactor) then
          invest(balance-startbalance)
          targetbalance = startbalance + target
          startbalance = startbalance * savefactor
      end
  else
      if (losecount == 0 and !base) then
          nextbet = balance / risk
          base = true
      else
          nextbet = previousbet * martimulti
          base = false
       end
      losecount += 1
      print(losecount)
 if (math.random() < .1) then bethigh = !bethigh end  
   wincount = 0
 end
  
end



    


Dear chilly2k,my question is it possible to disable the function of investing in the strategy Legion BoMMM.If Yes tell me how please
full member
Activity: 686
Merit: 107

chilly2k Buddy thank you again aunt for the work done.I don't even know how to thank you.Everything turned out just super.even better than I could imagine.I beg you tell me where in the code and what to prescribe to enable and configure the zig zag.If this is possible? and tell me please if it is not difficult what is the function of invest

   Just remember me (tip!) when you hit it big...  Smiley

   I didn't do anything with the zigzag.  I tried out switching high/low when a 3 series of bets failed.  I think it did worse that way. 
You would have to decide when/how you wanted to switch, then it's pretty easy to do.

 bethigh = !bethigh

is the line of code to just switch high/low.   

My first attempt I just added that line in the lose path, in the third lose section.  I busted fairly quickly, then realized I need to add it to the third section of the win path, when were incrementing by 3X.  But I eventually busted that too. 

Of course those could work great for you and your seed.  It's all random...   


Just-dice has an invest feature.  I tend to use it like a bank.  Once I hit a certain profit level, I invest some.  The idea is to build up the investment before you bust. 
 
Other sites do not offer that.   

I was on Pocket Rocket, testing, and I just created another user, and sent that user tips. 
tip(userid,amount)

  I believe the tip function works on most sites.   


while I'm a beggar and I couldn't thank you enough for the work.but I swear I will reward you generously for your work when you win something .I'm so stupid that I do not understand where and how to register that the button is changed after each victory or a series of victories and defeats.I apologize for the arrogance but could you give me an example with code which defines a variable zig zag


ok, I've added the zigzag stuff and explained what they are.  You can select one and un-comment it.  Just remove the -- from the bethigh line. 

Code:
chance= 49
base=0.00000001
bethigh = true
investtarget = .001

nextbet = base 
investprofit = 0
wincount = 0
stopnow = false
first = true
second = false
secondwin = false
third = false

function dobet()

-- switch high/low every bet
-- bethigh = !bethigh

investprofit += currentprofit
done = false

   if win then

--     switch high/low every win
--     bethigh = !bethigh

         if(first) then
--          switch high/low on the first win
--          bethigh = !bethigh
            nextbet = base
            if(stopnow) then stop() end
         end
         if(second) then
--          switch high/low on the second win
--          bethigh = !bethigh
            secondwin = true
            second = false
            third = true
            done = true
         end
         if(third and !done) then
--          switch high/low on the third win
--          bethigh = !bethigh
            if(secondwin) then
--             switch high/low on the second and third win
--             bethigh = !bethigh   
               nextbet = base
               if(stopnow) then stop() end
            else
--              switch high/low on one and two lose third win
--              bethigh = !bethigh               
                nextbet = previousbet * 3
             end
             third = false
             first = true
         end
         if (investprofit > investtarget) then
            invest(investtarget)
            investprofit = 0
         end
   else
--    switch high/low on the every lose
--    bethigh = !bethigh
      if(first and !done) then
--        switch high/low on the first lose
--        bethigh = !bethigh
          first = false
          second = true
          done = true
       end
       if(second and !done) then
--         switch high/low on the second lose
--         bethigh = !bethigh
           secondwin = false
           second = false
           third = true
           done = true
        end
        if(third and !done) then
--          switch high/low on the third lose
--          bethigh = !bethigh
            third = false
            first = true
            print("lose side")
            if (secondwin) then
--              switch high/low on the one lose two in thrird lose
--              bethigh = !bethigh
                nextbet = previousbet * 3
            else
--              switch high/low only if all three lose
--              bethigh = !bethigh
                nextbet = previousbet * 4
             end
            done = true
        end 
   end
end
 


   I believe that covers all cases.  Of course you can get tricky and say I want to zigzag if 2 series lose or on 6 loses in a row.  With programmer mode the sky is the limit.  Switch if the next bet is greater then X,

   You can also do a reset seed from programmer mode.  I've had some luck with it, but not enough to try it here.   
thank you very much friend,I do not know that I have done without you.so far everything works just great.just super.
legendary
Activity: 1007
Merit: 1000

chilly2k Buddy thank you again aunt for the work done.I don't even know how to thank you.Everything turned out just super.even better than I could imagine.I beg you tell me where in the code and what to prescribe to enable and configure the zig zag.If this is possible? and tell me please if it is not difficult what is the function of invest

   Just remember me (tip!) when you hit it big...  Smiley

   I didn't do anything with the zigzag.  I tried out switching high/low when a 3 series of bets failed.  I think it did worse that way. 
You would have to decide when/how you wanted to switch, then it's pretty easy to do.

 bethigh = !bethigh

is the line of code to just switch high/low.   

My first attempt I just added that line in the lose path, in the third lose section.  I busted fairly quickly, then realized I need to add it to the third section of the win path, when were incrementing by 3X.  But I eventually busted that too. 

Of course those could work great for you and your seed.  It's all random...   


Just-dice has an invest feature.  I tend to use it like a bank.  Once I hit a certain profit level, I invest some.  The idea is to build up the investment before you bust. 
 
Other sites do not offer that.   

I was on Pocket Rocket, testing, and I just created another user, and sent that user tips. 
tip(userid,amount)

  I believe the tip function works on most sites.   


while I'm a beggar and I couldn't thank you enough for the work.but I swear I will reward you generously for your work when you win something .I'm so stupid that I do not understand where and how to register that the button is changed after each victory or a series of victories and defeats.I apologize for the arrogance but could you give me an example with code which defines a variable zig zag


ok, I've added the zigzag stuff and explained what they are.  You can select one and un-comment it.  Just remove the -- from the bethigh line. 

Code:
chance= 49
base=0.00000001
bethigh = true
investtarget = .001

nextbet = base 
investprofit = 0
wincount = 0
stopnow = false
first = true
second = false
secondwin = false
third = false

function dobet()

-- switch high/low every bet
-- bethigh = !bethigh

investprofit += currentprofit
done = false

   if win then

--     switch high/low every win
--     bethigh = !bethigh

         if(first) then
--          switch high/low on the first win
--          bethigh = !bethigh
            nextbet = base
            if(stopnow) then stop() end
         end
         if(second) then
--          switch high/low on the second win
--          bethigh = !bethigh
            secondwin = true
            second = false
            third = true
            done = true
         end
         if(third and !done) then
--          switch high/low on the third win
--          bethigh = !bethigh
            if(secondwin) then
--             switch high/low on the second and third win
--             bethigh = !bethigh   
               nextbet = base
               if(stopnow) then stop() end
            else
--              switch high/low on one and two lose third win
--              bethigh = !bethigh               
                nextbet = previousbet * 3
             end
             third = false
             first = true
         end
         if (investprofit > investtarget) then
            invest(investtarget)
            investprofit = 0
         end
   else
--    switch high/low on the every lose
--    bethigh = !bethigh
      if(first and !done) then
--        switch high/low on the first lose
--        bethigh = !bethigh
          first = false
          second = true
          done = true
       end
       if(second and !done) then
--         switch high/low on the second lose
--         bethigh = !bethigh
           secondwin = false
           second = false
           third = true
           done = true
        end
        if(third and !done) then
--          switch high/low on the third lose
--          bethigh = !bethigh
            third = false
            first = true
            print("lose side")
            if (secondwin) then
--              switch high/low on the one lose two in thrird lose
--              bethigh = !bethigh
                nextbet = previousbet * 3
            else
--              switch high/low only if all three lose
--              bethigh = !bethigh
                nextbet = previousbet * 4
             end
            done = true
        end 
   end
end
 


   I believe that covers all cases.  Of course you can get tricky and say I want to zigzag if 2 series lose or on 6 loses in a row.  With programmer mode the sky is the limit.  Switch if the next bet is greater then X,

   You can also do a reset seed from programmer mode.  I've had some luck with it, but not enough to try it here.   
full member
Activity: 686
Merit: 107

chilly2k Buddy thank you again aunt for the work done.I don't even know how to thank you.Everything turned out just super.even better than I could imagine.I beg you tell me where in the code and what to prescribe to enable and configure the zig zag.If this is possible? and tell me please if it is not difficult what is the function of invest

   Just remember me (tip!) when you hit it big...  Smiley

   I didn't do anything with the zigzag.  I tried out switching high/low when a 3 series of bets failed.  I think it did worse that way. 
You would have to decide when/how you wanted to switch, then it's pretty easy to do.

 bethigh = !bethigh

is the line of code to just switch high/low.   

My first attempt I just added that line in the lose path, in the third lose section.  I busted fairly quickly, then realized I need to add it to the third section of the win path, when were incrementing by 3X.  But I eventually busted that too. 

Of course those could work great for you and your seed.  It's all random...   


Just-dice has an invest feature.  I tend to use it like a bank.  Once I hit a certain profit level, I invest some.  The idea is to build up the investment before you bust. 
 
Other sites do not offer that.   

I was on Pocket Rocket, testing, and I just created another user, and sent that user tips. 
tip(userid,amount)

  I believe the tip function works on most sites.   


while I'm a beggar and I couldn't thank you enough for the work.but I swear I will reward you generously for your work when you win something .I'm so stupid that I do not understand where and how to register that the button is changed after each victory or a series of victories and defeats.I apologize for the arrogance but could you give me an example with code which defines a variable zig zag
legendary
Activity: 1007
Merit: 1000

chilly2k Buddy thank you again aunt for the work done.I don't even know how to thank you.Everything turned out just super.even better than I could imagine.I beg you tell me where in the code and what to prescribe to enable and configure the zig zag.If this is possible? and tell me please if it is not difficult what is the function of invest

   Just remember me (tip!) when you hit it big...  Smiley

   I didn't do anything with the zigzag.  I tried out switching high/low when a 3 series of bets failed.  I think it did worse that way. 
You would have to decide when/how you wanted to switch, then it's pretty easy to do.

 bethigh = !bethigh

is the line of code to just switch high/low.   

My first attempt I just added that line in the lose path, in the third lose section.  I busted fairly quickly, then realized I need to add it to the third section of the win path, when were incrementing by 3X.  But I eventually busted that too. 

Of course those could work great for you and your seed.  It's all random...   


Just-dice has an invest feature.  I tend to use it like a bank.  Once I hit a certain profit level, I invest some.  The idea is to build up the investment before you bust. 
 
Other sites do not offer that.   

I was on Pocket Rocket, testing, and I just created another user, and sent that user tips. 
tip(userid,amount)

  I believe the tip function works on most sites.   

full member
Activity: 686
Merit: 107
505 strat.

This was a first try.  I think there might be some fine tuning to figure out what to bet when you win one of the 3 bets in a series.  As coded I increase X3 if you win one.  X4 if you lose all 3.  

as always tips are appreciated.  Smiley  

Code:

chance= 49
base=0.00000001
bethigh = true
investtarget = .001

nextbet = base  
investprofit = 0
wincount = 0
stopnow = false
first = true
second = false
secondwin = false
third = false

function dobet()

investprofit += currentprofit
done = false

   if win then
         if(first) then
            nextbet = base
            if(stopnow) then stop() end
         end
         if(second) then
            secondwin = true
            second = false
            third = true
            done = true
         end
         if(third and !done) then
            if(secondwin) then
               nextbet = base
               if(stopnow) then stop() end
            else
                print("win side")
                nextbet = previousbet * 3
             end
             third = false
             first = true
         end
         if (investprofit > investtarget) then
            invest(investtarget)
            investprofit = 0
         end
   else
      if(first and !done) then
          first = false
          second = true
          done = true
       end
       if(second and !done) then
           secondwin = false
           second = false
           third = true
           done = true
        end
        if(third and !done) then
            third = false
            first = true
            print("lose side")
            if (secondwin) then
                nextbet = previousbet * 3
            else
                nextbet = previousbet * 4
             end
            done = true
        end  
   end
end


    There is an invest function.  If you do not want to use this (works on JD) then set investtarget to a very high amount.  
If you wanted to use this to withdraw you could also change the statement

            invest(investtarget)
to
            withdraw(investtarget,BTCaddr)

and add

BTCaddr = "Your BTC address"   <---  In quotes.  

to the initialization code before dobet()


chilly2k Buddy thank you again aunt for the work done.I don't even know how to thank you.Everything turned out just super.even better than I could imagine.I beg you tell me where in the code and what to prescribe to enable and configure the zig zag.If this is possible? and tell me please if it is not difficult what is the function of invest
legendary
Activity: 1717
Merit: 1125
505 strat.

This was a first try.  I think there might be some fine tuning to figure out what to bet when you win one of the 3 bets in a series.  As coded I increase X3 if you win one.  X4 if you lose all 3.  

as always tips are appreciated.  Smiley  

Code:

chance= 49
base=0.00000001
bethigh = true
investtarget = .001

nextbet = base  
investprofit = 0
wincount = 0
stopnow = false
first = true
second = false
secondwin = false
third = false

function dobet()

investprofit += currentprofit
done = false

   if win then
         if(first) then
            nextbet = base
            if(stopnow) then stop() end
         end
         if(second) then
            secondwin = true
            second = false
            third = true
            done = true
         end
         if(third and !done) then
            if(secondwin) then
               nextbet = base
               if(stopnow) then stop() end
            else
                print("win side")
                nextbet = previousbet * 3
             end
             third = false
             first = true
         end
         if (investprofit > investtarget) then
            invest(investtarget)
            investprofit = 0
         end
   else
      if(first and !done) then
          first = false
          second = true
          done = true
       end
       if(second and !done) then
           secondwin = false
           second = false
           third = true
           done = true
        end
        if(third and !done) then
            third = false
            first = true
            print("lose side")
            if (secondwin) then
                nextbet = previousbet * 3
            else
                nextbet = previousbet * 4
             end
            done = true
        end  
   end
end


    There is an invest function.  If you do not want to use this (works on JD) then set investtarget to a very high amount.  
If you wanted to use this to withdraw you could also change the statement

            invest(investtarget)
to
            withdraw(investtarget,BTCaddr)

and add

BTCaddr = "Your BTC address"   <---  In quotes.  

to the initialization code before dobet()



If you've got it correct, please upload it to the site. Would be greatly appreciated
legendary
Activity: 1007
Merit: 1000
505 strat.

This was a first try.  I think there might be some fine tuning to figure out what to bet when you win one of the 3 bets in a series.  As coded I increase X3 if you win one.  X4 if you lose all 3.  

as always tips are appreciated.  Smiley  

Code:

chance= 49
base=0.00000001
bethigh = true
investtarget = .001

nextbet = base  
investprofit = 0
wincount = 0
stopnow = false
first = true
second = false
secondwin = false
third = false

function dobet()

investprofit += currentprofit
done = false

   if win then
         if(first) then
            nextbet = base
            if(stopnow) then stop() end
         end
         if(second) then
            secondwin = true
            second = false
            third = true
            done = true
         end
         if(third and !done) then
            if(secondwin) then
               nextbet = base
               if(stopnow) then stop() end
            else
                print("win side")
                nextbet = previousbet * 3
             end
             third = false
             first = true
         end
         if (investprofit > investtarget) then
            invest(investtarget)
            investprofit = 0
         end
   else
      if(first and !done) then
          first = false
          second = true
          done = true
       end
       if(second and !done) then
           secondwin = false
           second = false
           third = true
           done = true
        end
        if(third and !done) then
            third = false
            first = true
            print("lose side")
            if (secondwin) then
                nextbet = previousbet * 3
            else
                nextbet = previousbet * 4
             end
            done = true
        end  
   end
end


    There is an invest function.  If you do not want to use this (works on JD) then set investtarget to a very high amount.  
If you wanted to use this to withdraw you could also change the statement

            invest(investtarget)
to
            withdraw(investtarget,BTCaddr)

and add

BTCaddr = "Your BTC address"   <---  In quotes.  

to the initialization code before dobet()

legendary
Activity: 1007
Merit: 1000
hi, chilly2k

how to use programmer mode script , withdraw function ?

example :



How do I add script ? per 60.000 satoshi , withdraw my wallet..
 

   The function is withdraw(amount, address)

Withdraw works on Just-dice and PRC, for sure.  I've actually used them.  I'm not sure how they work on other sites. 

You could put withdraw(target,bitcoinaddessxzy) 
You could also define a variable at the top of your script. 

BTCaddr = "your address"

Then

withdraw(target,BTCaddr)
full member
Activity: 686
Merit: 107
Dear chilly2k .I bite your elbows that don't know how to explain to you the strategy 505,I really need the script based strategy 505.I tried to answer your questions here https://bitcointalk.org/index.php?topic=307425.760 the last post on the page.Please read my answers and if you ask your questions.I will make every effort to try to explain to you the strategy 505.Thank you for your patience and for your work.
full member
Activity: 589
Merit: 100
hi, chilly2k

how to use programmer mode script , withdraw function ?

example :



How do I add script ? per 60.000 satoshi , withdraw my wallet..
 
full member
Activity: 589
Merit: 100
excellent work, I will try now
legendary
Activity: 1007
Merit: 1000
Thanks man, good work..

   I ran that just like above.  Personally, decrementing the win till it's zero seemed like a waste of a lot of winning bets.  Also I changed the win/lose multipliers.  At 77.7% you should be winning about 3 out of 4 bets.  With the multipliers I've set it take 2.5 wins to recover from 1 lose. Also by setting the lose multiplier down to 1.5 it doesn't get too out of hand.  I also added a stop on win function, and invest function.  Since there is no check to keep from busting I wanted to strip off some winnings before it busts.    

    This is on JD, so you might have to comment out the invest function if your using on a site that doesn't invest.  

Code:
chance=77.7
multiplier=1.5
multiplier2=0.92
base=0.0000150
nextbet = base  
bethigh = false
target = .00005
investtarget = .001
tmpprofit = 0
investprofit = 0
wincount = 10
stopnow = false

function dobet()

tmpprofit += currentprofit
investprofit += currentprofit

   if win then
      if (tmpprofit > target) then
         tmpprofit = 0
         nextbet = base
         if(stopnow) then stop() end
         if(investprofit  > investtarget ) then
             investprofit = 0
             invest(investtarget)
         end      
      else
         nextbet=previousbet*multiplier2
         if(nextbet < base) then nextbet = base end
      end
   else
      nextbet=previousbet*multiplier
      if(nextbet < base) then nextbet = base end
   end
end

to comment out a line just put -- in the first spaces of the line.  

  so to comment this out.

             investprofit = 0

 put

--             investprofit = 0



The worse case lose I had to cover so far was .005 , So far I seems to work well...  

edit: forgot to mention.  When your in a lose streak, it keeps increasing your bets.  Once it starts winning then back, it will reset to the base bet before it actually reaches that.  So even thought you seem to be down quite a bit, it only take a few wins (8-10) at the higher bet, to get back in the green.   
full member
Activity: 589
Merit: 100
Thanks man, good work..
legendary
Activity: 1007
Merit: 1000
Quote
Add a check at the beginning of the dobet function.   

Code:
chance=77.7
multiplier=2
multiplier2=0.70
base=0.0000150
nextbet = base 
bethigh = false
target = .00005
savebalance = balance
wincount = 10


function dobet()

   if(previousbet == 0) then nextbet = base end

   if win then
      if ((balance - savebalance) > target) then
         savebalance = balance
         nextbet = base
      else
         nextbet=previousbet*multiplier2
      end
   else
      nextbet=previousbet*multiplier
   end
end


   You could also check each place that you set nextbet, and if the result is less then X reset to the base bet.  That would prevent placing a 0 bet.  The above code will place a bet for 0 but the next one would be back at the base. 

   if(nextbet < .00000001) then nextbet = base end

I did not want..
bet=0 Although continuing


I want , next bet<=0.00000001 script restart continuous
Exsample Session :
Quote
6172161015   8/5/2015 2:04:23 PM   0.00000002   False   77   12.28   0.0000000057142   25774
6172160891   8/5/2015 2:04:22 PM   0.00000003   False   77   17.42   0.0000000085713   25773
6172160764   8/5/2015 2:04:21 PM   0.00000004   False   77   14.72   0.0000000114284   25772
6172160629   8/5/2015 2:04:21 PM   0.00000006   False   77   5.05   0.0000000171426   25771
6172160511   8/5/2015 2:04:20 PM   0.00000008   False   77   45.45   0.0000000228568   25770
6172160385   8/5/2015 2:04:19 PM   0.00000012   False   77   49.17   0.0000000342852   25769
6172160263   8/5/2015 2:04:19 PM   0.00000017   False   77   19.62   0.0000000485707   25768
6172161154   8/5/2015 2:04:24 PM   0.00000001   False   77   0.42   0.0000000028571   25775 Restart
6172161015   8/5/2015 2:04:23 PM   0.00000002   False   77   12.28   0.0000000057142   25774
6172160891   8/5/2015 2:04:22 PM   0.00000003   False   77   17.42   0.0000000085713   25773
6172160764   8/5/2015 2:04:21 PM   0.00000004   False   77   14.72   0.0000000114284   25772
6172160629   8/5/2015 2:04:21 PM   0.00000006   False   77   5.05   0.0000000171426   25771
6172160511   8/5/2015 2:04:20 PM   0.00000008   False   77   45.45   0.0000000228568   25770
6172160385   8/5/2015 2:04:19 PM   0.00000012   False   77   49.17   0.0000000342852   25769
6172160263   8/5/2015 2:04:19 PM   0.00000017   False   77   19.62   0.0000000485707   25768

    Then you need to check the nextbet after you set it. 

   if(nextbet < .00000001) then nextbet = base end

    added after you calculate a new nextbet. 

Code:
Code:
chance=77.7
multiplier=2
multiplier2=0.70
base=0.0000150
nextbet = base 
bethigh = false
target = .00005
savebalance = balance
wincount = 10


function dobet()

   if win then
      if ((balance - savebalance) > target) then
         savebalance = balance
         nextbet = base
      else
         nextbet=previousbet*multiplier2
         if(nextbet < .00000001) then nextbet = base end
      end
   else
      nextbet=previousbet*multiplier
      if(nextbet < .00000001) then nextbet = base end
   end
end



full member
Activity: 589
Merit: 100
Quote
Add a check at the beginning of the dobet function.   

Code:
chance=77.7
multiplier=2
multiplier2=0.70
base=0.0000150
nextbet = base 
bethigh = false
target = .00005
savebalance = balance
wincount = 10


function dobet()

   if(previousbet == 0) then nextbet = base end

   if win then
      if ((balance - savebalance) > target) then
         savebalance = balance
         nextbet = base
      else
         nextbet=previousbet*multiplier2
      end
   else
      nextbet=previousbet*multiplier
   end
end


   You could also check each place that you set nextbet, and if the result is less then X reset to the base bet.  That would prevent placing a 0 bet.  The above code will place a bet for 0 but the next one would be back at the base. 

   if(nextbet < .00000001) then nextbet = base end

I did not want..
bet=0 Although continuing


I want , next bet<=0.00000001 script restart continuous
Exsample Session :
Quote
6172161015   8/5/2015 2:04:23 PM   0.00000002   False   77   12.28   0.0000000057142   25774
6172160891   8/5/2015 2:04:22 PM   0.00000003   False   77   17.42   0.0000000085713   25773
6172160764   8/5/2015 2:04:21 PM   0.00000004   False   77   14.72   0.0000000114284   25772
6172160629   8/5/2015 2:04:21 PM   0.00000006   False   77   5.05   0.0000000171426   25771
6172160511   8/5/2015 2:04:20 PM   0.00000008   False   77   45.45   0.0000000228568   25770
6172160385   8/5/2015 2:04:19 PM   0.00000012   False   77   49.17   0.0000000342852   25769
6172160263   8/5/2015 2:04:19 PM   0.00000017   False   77   19.62   0.0000000485707   25768
6172161154   8/5/2015 2:04:24 PM   0.00000001   False   77   0.42   0.0000000028571   25775 Restart
6172161015   8/5/2015 2:04:23 PM   0.00000002   False   77   12.28   0.0000000057142   25774
6172160891   8/5/2015 2:04:22 PM   0.00000003   False   77   17.42   0.0000000085713   25773
6172160764   8/5/2015 2:04:21 PM   0.00000004   False   77   14.72   0.0000000114284   25772
6172160629   8/5/2015 2:04:21 PM   0.00000006   False   77   5.05   0.0000000171426   25771
6172160511   8/5/2015 2:04:20 PM   0.00000008   False   77   45.45   0.0000000228568   25770
6172160385   8/5/2015 2:04:19 PM   0.00000012   False   77   49.17   0.0000000342852   25769
6172160263   8/5/2015 2:04:19 PM   0.00000017   False   77   19.62   0.0000000485707   25768
legendary
Activity: 1007
Merit: 1000
hi, use this code, running good.

Code Settings : IF WIN decrease - IF LOSE increase
When working for a while BET 0.00000000  Grin

I want to Bet is 0.00000000 script RESTART and continuous loop..
Is it possible ? how can I do ?

Quote
chance=77.7
multiplier=2
multiplier2=0.70
base=0.0000150
nextbet = base  
bethigh = false
target = .00005
savebalance = balance
wincount = 10


function dobet()

   if win then
      if ((balance - savebalance) > target) then
         savebalance = balance
         nextbet = base
      else
         nextbet=previousbet*multiplier2
      end
   else
      nextbet=previousbet*multiplier
   end
end

   Add a check at the beginning of the dobet function.  

Code:
chance=77.7
multiplier=2
multiplier2=0.70
base=0.0000150
nextbet = base  
bethigh = false
target = .00005
savebalance = balance
wincount = 10


function dobet()

   if(previousbet == 0) then nextbet = base end

   if win then
      if ((balance - savebalance) > target) then
         savebalance = balance
         nextbet = base
      else
         nextbet=previousbet*multiplier2
      end
   else
      nextbet=previousbet*multiplier
   end
end


   You could also check each place that you set nextbet, and if the result is less then X reset to the base bet.  That would prevent placing a 0 bet.  The above code will place a bet for 0 but the next one would be back at the base.  

   if(nextbet < .00000001) then nextbet = base end
full member
Activity: 589
Merit: 100
hi, use this code, running good.

Code Settings : IF WIN decrease - IF LOSE increase
When working for a while BET 0.00000000  Grin

I want to Bet is 0.00000000 script RESTART and continuous loop..
Is it possible ? how can I do ?

Quote
chance=77.7
multiplier=2
multiplier2=0.70
base=0.0000150
nextbet = base 
bethigh = false
target = .00005
savebalance = balance
wincount = 10


function dobet()

   if win then
      if ((balance - savebalance) > target) then
         savebalance = balance
         nextbet = base
      else
         nextbet=previousbet*multiplier2
      end
   else
      nextbet=previousbet*multiplier
   end
end
full member
Activity: 589
Merit: 100
It works very nicely. thanks for support Grin
Pages:
Jump to: