Bitcoin Forum
June 17, 2024, 07:14:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: November 24, 2015, 10:36:39 PM
Thanks ,
Ive been tryin all sorts on the runsim() but still strugling to get something thats worth playing with.

I think strategy may depend on the balance on the account
2  Economy / Gambling discussion / Re: Seuntjie' Dice bot programmers mode discussion. on: November 24, 2015, 08:52:28 PM
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.   

Hi,
Ive just joined and im trying out the above code on primedice.
Things started off well and profit was stable.
So after an hour or so I left it do its thing, Only to to see it stopped at "insufficient funds" when I returned a bit later.
it seems the bets were getting larger all the time and I eventually lost as the bets were getting too big.

Just wondering if there are any tips to slow it from betting so high.

thanks.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!