Bitcoin Forum
December 14, 2024, 11:25:57 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 ... 62 »
  Print  
Author Topic: Seuntjie' Dice bot programmers mode discussion.  (Read 125472 times)
ripzombie
Full Member
***
Offline Offline

Activity: 589
Merit: 100



View Profile
August 06, 2015, 08:38:10 AM
 #41

excellent work, I will try now
ripzombie
Full Member
***
Offline Offline

Activity: 589
Merit: 100



View Profile
August 07, 2015, 03:46:29 PM
 #42

hi, chilly2k

how to use programmer mode script , withdraw function ?

example :



How do I add script ? per 60.000 satoshi , withdraw my wallet..
 
navigatorus
Full Member
***
Offline Offline

Activity: 686
Merit: 107


View Profile
August 07, 2015, 08:19:04 PM
 #43

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.
chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
August 07, 2015, 08:22:57 PM
 #44

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)

chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
August 09, 2015, 05:33:50 PM
 #45

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()


seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
August 09, 2015, 06:26:52 PM
 #46

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

navigatorus
Full Member
***
Offline Offline

Activity: 686
Merit: 107


View Profile
August 09, 2015, 08:07:02 PM
 #47

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
chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
August 09, 2015, 08:54:01 PM
 #48


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.   


navigatorus
Full Member
***
Offline Offline

Activity: 686
Merit: 107


View Profile
August 09, 2015, 09:31:13 PM
 #49


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
chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
August 09, 2015, 09:58:38 PM
 #50


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.   

navigatorus
Full Member
***
Offline Offline

Activity: 686
Merit: 107


View Profile
August 10, 2015, 06:09:57 AM
 #51


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.
navigatorus
Full Member
***
Offline Offline

Activity: 686
Merit: 107


View Profile
August 13, 2015, 11:06:02 AM
 #52

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
ripzombie
Full Member
***
Offline Offline

Activity: 589
Merit: 100



View Profile
August 13, 2015, 02:11:02 PM
 #53

This bot, Primedice Withdrawal operations , error --> "Program stopped" Why ?




chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
August 13, 2015, 02:16:03 PM
 #54

This bot, Primedice Withdrawal operations , error --> "Program stopped" Why ?






    Try asking in the main thread.  https://bitcointalk.org/index.php?topic=307425.0  That's a base bot type problem, it looks like your trying to do the withdrawl in advanced mode.   

chilly2k (OP)
Legendary
*
Offline Offline

Activity: 1007
Merit: 1000


View Profile
August 13, 2015, 02:22:05 PM
 #55

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


   You've got 2 choices.  You can make savefactor and target large numbers.  Something you will never reach based on your balance.  Maybe set them both to 10.
This will mean the checks in the code will never be true. 

Or.

   You can comment out both lines that start with invest(

The code will still do the checks and reset internal stuff, but won't do the invest then. 

In the end they will bot avoid the invest function.   

Anything on a line after -- is treated as a comment.  So you just add -- to the front of the line.   

navigatorus
Full Member
***
Offline Offline

Activity: 686
Merit: 107


View Profile
August 14, 2015, 03:22:41 AM
 #56

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


   You've got 2 choices.  You can make savefactor and target large numbers.  Something you will never reach based on your balance.  Maybe set them both to 10.
This will mean the checks in the code will never be true. 

Or.

   You can comment out both lines that start with invest(

The code will still do the checks and reset internal stuff, but won't do the invest then. 

In the end they will bot avoid the invest function.   

Anything on a line after -- is treated as a comment.  So you just add -- to the front of the line.   
Dear chilly2k thank you so much,you always help me,I don't know what I'd do without you.thank you.
ripzombie
Full Member
***
Offline Offline

Activity: 589
Merit: 100



View Profile
August 19, 2015, 09:16:24 PM
 #57

Hi, seuntjie and chilly2k
I need your help with something,

This is the code I am using right now.

Quote
chance=47.99
multiplier=1.50
multiplier2=0.75
base=0.0000002
savefactor = 1.99
nextbet = base
low = 0
high = 0
target = .0000001
savebalance = balance

function dobet()

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

      end
   else
      nextbet=previousbet*multiplier
      if(nextbet < .00000002) then nextbet = base end
   end
 end
end
end

every hour, I want to be a 5 minute break
and then continue..


how can I do ?
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
August 21, 2015, 03:04:12 PM
 #58

There isn't really a way to have a delay with the programming mode that doesn't make the bot hang. (might be a possible futute add on)

If you dont mind the bot hanging, you can make a while loop that checks the time and only continues if 5 minutes have passed, but this will cause one cpu core to run at 100%.

The alternative is to use the sleep or pause method. I'm on my phone right now, so I cant check which it is how it works, but it's been discusswd before. Check the firts few posts of this thread or some of the last few pages of the bots' own thread

navigatorus
Full Member
***
Offline Offline

Activity: 686
Merit: 107


View Profile
August 21, 2015, 11:37:02 PM
 #59

There isn't really a way to have a delay with the programming mode that doesn't make the bot hang. (might be a possible futute add on)

If you dont mind the bot hanging, you can make a while loop that checks the time and only continues if 5 minutes have passed, but this will cause one cpu core to run at 100%.

The alternative is to use the sleep or pause method. I'm on my phone right now, so I cant check which it is how it works, but it's been discusswd before. Check the firts few posts of this thread or some of the last few pages of the bots' own thread
I do not presume you to advise something,You're the genius who created this super bot,but from my observations at work 999dice bot for a reference to which I once gave delay a very good Supplement strategy and helps to achieve better results.it would be very cool if you added a custom delay function let's say after a certain number of losses,but you decide you are the Creator and the Creator,and I'm just a user and this is my personal observation
vaxi78
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
August 29, 2015, 07:15:14 AM
Last edit: August 29, 2015, 08:11:59 AM by vaxi78
 #60

Dear chilly2k
To my regreat, you awesome 505 strategy with zigzag script from
https://bitcointalk.org/index.php?topic=1114503.40 stopped placing
bets with primedice.com site starting with yesterday.
I'm using Programmer mode and previously, it worked absolutely fine!
But now, the bot v3.02 (stable) started to say "Please set starting
bet using nextbet = x.xxxxxxxx" and then, doing nothing.

Could you take a look, please! Thank you very much!
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 ... 62 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!