Pages:
Author

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

newbie
Activity: 6
Merit: 0
Thank you very much now it actually resets to the correct sub-balance 1rst bet, but it doesnt go to the 3rd sub-balance. I want it every 3 losing streak to go to the next balance! What i have made seems to be that i have to have 6 losing streeak to go to the 3rd sub-balance! Any ideas?

chilly2k plz can u  help ive broken my mind trying to figure it out Smiley!  i itried  currentstreak%3==0  as i read the tutorial (https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-04-martingale-and-mini-if-tutorial) but it does recognise only concequtive loses!
legendary
Activity: 1007
Merit: 1000
Hello everyone i want to make a script but i need some help!!
The idea behind the script is to run 3 martingales until profit is made!
Let me give u some details for example!

starting balance is 0.00010000
chance 49.5
multiplyer 2.54

i split my balance to 3 sub-balances 1st is 0.00000090 2nd 0.00000900 3rd 0.00009000

What i want the script to do is start betting 0.00000008, if a lose happens it multiplies by 2.54.
If a losing streak of 3 occurs i want it to "go" to the 2nd sub-balance  and start betting 0.00000080. if lose multiply by 2.54 but if win i want it to
start betting again 0.00000080 until profit of   0.00001000
.
Finally if again 3 loses occur before reaching the profit target it goes to the 3rd sub-balances and martingales with 0.00000800 first bet .

I have made this script (my knowledge  is not good in scripting thats why i ask help Smiley  )

chance=49.5 --sets your chance for placing a bet
nextbet=0.00000008 --sets your first bet.


function dobet()

basebet=0.00000008
if profit > 0.00001000 then
resetstats()
end
if win then

  nextbet=0.00000008

 else

  nextbet=previousbet*2.54

 end

if currentstreak==-3 then

     nextbet=0.00000080
end
if currentstreak==-6 then

     nextbet=0.00000800
 
 end
if currentstreak==-10 then

     nextbet=0.00000001

end end end



What i cant figure out is how to make it  when it reaches the 2nd balance and wins one bet to restart betting 80 cause it goes back to 8!

Any help would be appreciated i think its simple for the advanced users here!





Try this.  I didn't test it, but it's pretty simple.  It should be close. 

Code:
chance=49.5 --sets your chance for placing a bet
nextbet=0.00000008 --sets your first bet.
basebet=0.00000008 -- moved to only set once
currentbase = basebet -- save the current base bet

function dobet()


if profit > 0.00001000 then
resetstats()
currentbase = basebet -- reset to base bet
end
if win then

  nextbet=currentbase -- reset to the current base

 else

  nextbet=previousbet*2.54

 end

if currentstreak==-3 then

     nextbet=0.00000080
     currentbase = nextbet -- save current base
end
if currentstreak==-6 then

     nextbet=0.00000800
     currentbase = nextbet  -- save current base
 
 end
if currentstreak==-10 then

     nextbet=0.00000001

end end end
newbie
Activity: 6
Merit: 0
Hello everyone i want to make a script but i need some help!!
The idea behind the script is to run 3 martingales until profit is made!
Let me give u some details for example!

starting balance is 0.00010000
chance 49.5
multiplyer 2.54

i split my balance to 3 sub-balances 1st is 0.00000090 2nd 0.00000900 3rd 0.00009000

What i want the script to do is start betting 0.00000008, if a lose happens it multiplies by 2.54.
If a losing streak of 3 occurs i want it to "go" to the 2nd sub-balance  and start betting 0.00000080. if lose multiply by 2.54 but if win i want it to
start betting again 0.00000080 until profit of   0.00001000
.
Finally if again 3 loses occur before reaching the profit target it goes to the 3rd sub-balances and martingales with 0.00000800 first bet .

I have made this script (my knowledge  is not good in scripting thats why i ask help Smiley  )

chance=49.5 --sets your chance for placing a bet
nextbet=0.00000008 --sets your first bet.


function dobet()

basebet=0.00000008
if profit > 0.00001000 then
resetstats()
end
if win then

  nextbet=0.00000008

 else

  nextbet=previousbet*2.54

 end

if currentstreak==-3 then

     nextbet=0.00000080
end
if currentstreak==-6 then

     nextbet=0.00000800
 
 end
if currentstreak==-10 then

     nextbet=0.00000001

end end end



What i cant figure out is how to make it  when it reaches the 2nd balance and wins one bet to restart betting 80 cause it goes back to 8!

Any help would be appreciated i think its simple for the advanced users here!



legendary
Activity: 1007
Merit: 1000
if lose want multipler *3
if win back to minbet
can u check this ?


if win then
   minbet
else
   multipler * 3
end
newbie
Activity: 4
Merit: 0
if lose want multipler *3
if win back to minbet
can u check this ?
legendary
Activity: 1007
Merit: 1000
hello i have this sequences but what should change that i want multipler basebet *3 if loss ? can u help me ?
this is code, is not mine of course,
thx

chance=49.75
minbet=0.00000001
seqnum=0

function dobet()
if seqnum>3 then seqnum=0 end
if seqnum==0 then betchoice=math.random(1,3) end

if betchoice==1 and seqnum==0 then
bethigh=false
nextbet=0.00000001
end
if betchoice==1 and seqnum==1 then
bethigh=false
nextbet=0.00000002
end
if betchoice==1 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==1 and seqnum==3 then
bethigh=true
nextbet=0.00000008
end

if betchoice==2 and seqnum==0 then
bethigh=false
nextbet=0.00000001
end
if betchoice==2 and seqnum==1 then
bethigh=true
nextbet=0.00000002
end
if betchoice==2 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==2 and seqnum==3 then
bethigh=false
nextbet=0.00000008
end

if betchoice==3 and seqnum==0 then
bethigh=true
nextbet=0.00000001
end
if betchoice==3 and seqnum==1 then
bethigh=false
nextbet=0.00000002
end
if betchoice==3 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==3 and seqnum==3 then
bethigh=false
nextbet=0.00000008
end



seqnum=seqnum+1

end

   What is basebet?  You don't use that in your script.  You have minbet and nextbet.   

if !win then
  nextbet = basebet * 3
end
newbie
Activity: 4
Merit: 0
hello i have this sequences but what should change that i want multipler basebet *3 if loss ? can u help me ?
this is code, is not mine of course,
thx

chance=49.75
minbet=0.00000001
seqnum=0

function dobet()
if seqnum>3 then seqnum=0 end
if seqnum==0 then betchoice=math.random(1,3) end

if betchoice==1 and seqnum==0 then
bethigh=false
nextbet=0.00000001
end
if betchoice==1 and seqnum==1 then
bethigh=false
nextbet=0.00000002
end
if betchoice==1 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==1 and seqnum==3 then
bethigh=true
nextbet=0.00000008
end

if betchoice==2 and seqnum==0 then
bethigh=false
nextbet=0.00000001
end
if betchoice==2 and seqnum==1 then
bethigh=true
nextbet=0.00000002
end
if betchoice==2 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==2 and seqnum==3 then
bethigh=false
nextbet=0.00000008
end

if betchoice==3 and seqnum==0 then
bethigh=true
nextbet=0.00000001
end
if betchoice==3 and seqnum==1 then
bethigh=false
nextbet=0.00000002
end
if betchoice==3 and seqnum==2 then
bethigh=true
nextbet=0.00000004
end
if betchoice==3 and seqnum==3 then
bethigh=false
nextbet=0.00000008
end



seqnum=seqnum+1

end
legendary
Activity: 1717
Merit: 1125
Hello ....
Sorry, but I'm really a beginner in programming.

....
snip
....I asked you to help me reread this formula if it is not too much trouble  Embarrassed

I, and most other users that help people on this thread, don't like just giving you the solution. If we just fix it for you, you don't learn why it wasn't working and you will remain a beginner for ever and continue asking us to fix your scripts for free for ever. Instead most of us try to point out your errors and guide you to fixing it on your own, so that you can learn how programming works and not make the same mistakes over and over again.

Look at the things that HCP pointed out and see if you can figure out what is wrong.

Tip: Programming works from top down
Code:
x=0
y=1
if y=1 then
x=2
end
x=3
print(x)

the program will always print 3 because x will always be set to 3. If you want it to be set to 2 if y =1 but 3 if y is NOT set to 1, then you need to use an else statement: https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-04-martingale-and-mini-if-tutorial
newbie
Activity: 2
Merit: 0
Hello ....
Sorry, but I'm really a beginner in programming.
In the example that I intend to show you do the following:


if lostchance == 1 then
       if chance == chance1 then
                    if (balance) / 64         

  (whenever the total value in Balance / 64 is greater than the next bet, then you should not bet previousbet * m1 but return to nextbet = basebet * m)
         
        
  nextbet = previousbet * m1
          print (balance)
          print ("------ Too high. Turn back 8 ------")
          end

          nextbet = basebet * m1
       else
          chance = chance1
          nextbet = previousbet * m1
       end
    end


It turns out that I walk the hours  Shocked trying to solve this but I can not, I am a basic in this matter  Huh Huh Huh. I asked you to help me reread this formula if it is not too much trouble  Embarrassed
HCP
legendary
Activity: 2086
Merit: 4361
The problem seems to be that you are always overwriting the "nextbet" value that is set within your "if" statements...

For instance... Look at the highlighted code below...

If balance/64 < previousbet*m1, you set "nextbet = previousbet*m1"... However the code then immediately sets "nextbet = basebet*m1" !!?! Huh
  if lostchance==1 then
      if chance==chance1 then
         if (balance)/64 < previousbet*m1          then
        
         nextbet=previousbet*m1
         print(balance)
         print("------Too high. Turn back 8------")
         end

         nextbet=basebet*m1

      else
         chance=chance1
         nextbet=previousbet*m1
      end
   end

It's the same for all your other IF blocks highlighted in the blue section... You set nextbet inside the innermost IF and then immediately overwrite the nextbet value! Shocked

Perhaps you are missing "else" statements? Huh

Also, I'm not sure if it's by design or you just got it mixed up, but the first block in blue sets to previousbet*mX inside the IF and then overwrite with basebet, but all the other blocks set to basebet*mX inside the IF and then overwrite with previousbet.

I'm not 100% sure what your choice is actually trying to achieve so that might be what you want, buy just thought I'd mention the inconsistency Wink
newbie
Activity: 2
Merit: 0
Good morning everyone,
Sorry to be bothering with something that will be too simple to do, but since I am a beginner, I am not achieving my goal.
And the goal is that whenever a certain value exceeds xxx% of the balance, it will resume again to initial amount.
Trouble is, I'm not making it happen.
It always surpasses.
Can you help me?
Here is the script that I changed, but without success:




chance1=8.9109      -->11.11X payout
chance2=9.8020      -->10.10X payout
chance3=14.1400       -->7.77X Payout
chance4=17.8378       -->5.55X Payout
chance5=29.7297       -->3.33X Payout

m1=1.119            --> All multipliers are at 20% More Profit
m2=1.132
m3=1.178
m4=1.264
m5=1.515

target=5.00000000              --> Set your Target Profit here

betfactor=0.000012              --> "Safest" for 0.001 BTC and 0.1 Eth Bankroll
basebet=balance*betfactor      --> 1 satoshi basebet for 0.001 BTC and 100 Ethoshis for 0.1 Eth Bankroll
nextbet=basebet
chance=chance1
bethigh=false
betcount=0
session=0

wincount=0
lostchance=0
losecount=0
low=0
high=0
counter=0

resetseed()
-- resetstats()

function dobet()

betroll()
rstseed()
viewstats()
betcount+=1

if win then

   if profit>target then
      stop()
      print("TARGET REACHED!")
   end

   hilo()
   basebet=balance*betfactor

    if basebet<0.00000001 then
      basebet=0.00000001
      nextbet=basebet
   end

   nextbet=basebet
   wincount+=1
   losecount=0
   if wincount>0 then
      chance=chance1
      lostchance=1
   end

   if wincount>4 then
      chance=chance2
      lostchance=2
   end

   if wincount>14 then
      chance=chance3
      lostchance=3
   end

   if wincount>29 then
      chance=chance4
      lostchance=4
   end

   if wincount>49 then
      chance=chance5
      lostchance=5
   end

   if wincount>75 then
      chance=chance1
      lostchance=1
      wincount=0
      session+=1
      low=0
      high=0
   end



else


   if lostchance==1 then
      if chance==chance1 then
         if (balance)/64 < previousbet*m1          then
         
         nextbet=previousbet*m1
         print(balance)
         print("------Too high. Turn back 8------")
         end

         nextbet=basebet*m1
      else
         chance=chance1
         nextbet=previousbet*m1
      end
   end

   if lostchance==2 then
      if chance==chance2 then
         if (balance)/101 < previousbet*m2          then
         
         nextbet=basebet*m2
         print(balance)
         print("------Too high. Turn back 9------")
         end   
         nextbet=previousbet*m2
      else
         chance=chance1
         nextbet=previousbet*m2
      end
   end

   if lostchance==3 then
      if chance==chance3 then
         if (balance)/42 < previousbet*m3 then
         
         nextbet=basebet*m3
         print(balance)
         print("------Too high. Turn back 14------")
         end
         nextbet=previousbet*m3
      else
         chance=chance1
         nextbet=previousbet*m3
      end
   end

   if lostchance==4 then
      if chance==chance4 then
         if (balance)/27 < previousbet*m4 then
         
         nextbet=basebet*m4
         print(balance)
         print("------Too high. Turn back 17------")
         end

         nextbet=previousbet*m4
      else
         chance=chance1
         nextbet=previousbet*m4
      end
   end

   if lostchance==5 then
      if chance==chance5 then
         if (balance)/23 < previousbet*m5 then
         
         nextbet=basebet*m5
         print(balance)
         print("------Too high. Turn back 27------")
         end

         nextbet=previousbet*m5
      else
         chance=chance1
         nextbet=previousbet*m5
      end
   end


end

end

function hilo()

        if high > low then
   bethigh=true
        else
   bethigh=false
        end

        if (high-low) > 15 then
   bethigh=false
        end

        if (low-high)> 15 then
   bethigh=true
        end
end

function betroll()

   if (lastBet.roll < chance) then
      low += 1
   end

   if (lastBet.roll > (99.99 - chance)) then
      high += 1
   end

end

function rstseed()

if counter==500 then

   resetseed()
   counter=0
   low=0
   high=0
else

   counter+=1

end
end
HCP
legendary
Activity: 2086
Merit: 4361
is there already a winning script what makes profits for a long time, every site takes a security value in behalf of the bank value.
when playing any type of martingale you will lost with long ranges at the end.
No. You're describing the gamblers unicorn Tongue

a +EV script (or method of gambling) would put all of the dicesites out of business. They rely on house edge and long term results to make money... theoretically, the more people gamble and the longer they gamble for, the more money the house should make.

If you're gambling to make money, you're doing it for the wrong reasons... especially if you cannot afford to lose every penny that you gamble.
newbie
Activity: 8
Merit: 0
is there already a winning script what makes profits for a long time, every site takes a security value in behalf of the bank value.
when playing any type of martingale you will lost with long ranges at the end.


i blew up my freebitcoins a few times, by playing automatic in what order ever out of nothing ranges of lost 80 or 90 times in a row comes up, and no one can cover this one.


with my script and 0,1 of value, it will stand long by playing at 10 start at 25.
but i know it will blow up at the end.

HCP
legendary
Activity: 2086
Merit: 4361
with the above code the script fails when try to multiply
with this message

[string "chunk"]:26: attempt to perform arithmetic on global 'multiplier' (a nil value)

anyone knows how to resolve?
found it it was something with the multiply
Yeah... looks like I forgot to put the multiplier = 2 line in there... my bad  Embarrassed

I've fixed my original post


ps. if you're going to post scripts and stuff... you should really use the "code" tags so that it doesn't make the post really really long Wink
newbie
Activity: 8
Merit: 0
found it it was something with the multiply

the final code is
----------------------
--
-- 6-8-10 Strat for jdquick
-- Written by HCP
--
----------------------
--Set these to match your site/currency/bankroll
basebet = 0.00000001
maxBet = 0.00001024

----------------------
chance = 8
bethigh = true --bet high when true, bet low when false

enablezz=false --set to true to use high/low switching
--settings from advanced mode

enablesrc=false --set to true to use stop/reset conditions
--settings from advanced mode

firstPhaseLength = 16
stepLosses = 4

nextbet = basebet

firstPhase = true

lossStreak = 0
stopOnWin = false

function dobet()

  if (win) then
    nextbet = basebet
    firstPhase = true
    lossStreak = 0
    if (stopOnWin) then
      nextbet = 0
      stop()
    end

  else
    lossStreak = lossStreak + 1

    if lossStreak == firstPhaseLength then
      firstPhase = false
      nextbet = previousbet *  2
    elseif lossStreak > firstPhaseLength then
      if lossStreak % stepLosses == 0 then
        nextbet = previousbet * 2
      end
 
    end

  end

  if nextbet > maxBet then
    nextbet = 0
    stop()
  end

end

newbie
Activity: 8
Merit: 0
with the above code the script fails when try to multiply
with this message

[string "chunk"]:26: attempt to perform arithmetic on global 'multiplier' (a nil value)

anyone knows how to resolve?




You realise that you're in the "Seuntjie's Dice bot programmers mode discussion." thread right? Huh

As in https://bot.seuntjie.com/

This thread is for people writing scripts for Seuntjie's Dice Bot... which uses the LUA programming language. You should check it out... it works with a large number of dice sites Smiley

Also, your strategy isn't that great... at 6x payout, your "chance" is only around 16.5% (depending on site and house edge)... the max expected loss streak over only 10,000 rolls at that chance is something like 57. You're going to need a hefty bankroll to cover that Tongue Wink
https://i.imgur.com/P6E2I6i.png
member
Activity: 90
Merit: 10
Visit www.btcscriptbot.wordpress.com to get latest
hello guys

here is my script feel free to try it >>>>>>>>>>>>>>>


(do u know?  it becomes a jackport hitter when u change ur basebet to 2satoshis) Wink

THATS IT FOR ANYONE INTRESTED ..........

THANKX TO U ALL FOR UR SUPPORT ON THIS SCRIPT
(CREDIT: SEUNTIJ -BOT OWNER) (CREDIT: HCP - PROGRAMMER) (CREDIT : CHILLY2K - SCRIPT TIP CODER)
(MOST THANKFULL CREDIT: B4RF - SCRIPT FULLY SUPPORTER)

JAH BLESS U ALL

WILL POST MY PAYMENT PROFS SOON I JUST MADE 0.005BTC WITH IT WITH A BANKROLL OF 0.003BTC

Code:
--Its a script with embaded jackport hitter
--so recommended bankroll is (0.002btc) if u are looking farward to hit a jackport, and u have to edit and change the winstreacks accordingling from (17,18,19and19) and change the baseBet to 0.00000002 thats if u wanna hit the jackport!!!
--but if u just wanna keep winning (then leave everything and dont change anything) and the recomended bankroll u should have is (0.009 upward)


wagered=0
chance0=28.08
chance1=90.4
chance2=94    
chance3=95  
baseBet=0.00000001         --You must change the basebet to 0.00000002 if u wanna hit the jackport
baseBet1=0.00000500  
baseBet2=0.00002500  
baseBet3=0.00009500  
nextbet=baseBet
bethigh=true
bethigh=false
startBalance = balance
runprofit = 0
profittarget=0.00900000
function dobet()
wagered=wagered+previousbet
chance = chance0

if win then
nextbet=baseBet
else
nextbet=previousbet*2
end

if currentstreak==-5 then -->you can edit and change the number
chance=chance1
                bethigh=false
nextbet=baseBet1
print(nextbet)
print("Yea,Thats the PhyzyWin!!!")

end
if currentstreak==-6 then -->you can edit and change the number
chance=chance2
                bethigh=false
nextbet=baseBet2
print(nextbet)
print("Yea,Thats the PhyzyGain!!!")
end
if currentstreak==-7 then -->you can edit and change the number
chance=chance3
                bethigh=true
nextbet=baseBet3
end
if currentstreak<-7 then -->you can edit and change the number
chance=chance0
nextbet=baseBet
print(nextbet)
print("Yea,Thats the Phyzyrecovery!!!")
end
  runprofit = balance - startBalance
  if runprofit <= -0.001 then  -- 0.001 BTC loss
     nextbet = 0
    stop()
end
if (balance) >= profittarget then
print(balance)
print("TARGET ACHIEVED!!!")
stop();
end


end


so am working on anew script pls i already know i might loss alll in gambling and i know ,, so pls help me guys it might benefit others if they are not greedy,

check the link for the new script here
https://bitcointalk.org/index.php?topic=2296941.new#new

thankx guys

Any help pls?
HCP
legendary
Activity: 2086
Merit: 4361
You realise that you're in the "Seuntjie's Dice bot programmers mode discussion." thread right? Huh

As in https://bot.seuntjie.com/

This thread is for people writing scripts for Seuntjie's Dice Bot... which uses the LUA programming language. You should check it out... it works with a large number of dice sites Smiley

Also, your strategy isn't that great... at 6x payout, your "chance" is only around 16.5% (depending on site and house edge)... the max expected loss streak over only 10,000 rolls at that chance is something like 57. You're going to need a hefty bankroll to cover that Tongue Wink

newbie
Activity: 8
Merit: 0
it looks it missing some ;
chrome and Firefox does not like the -- as comment
IE says it missig the ; somewhere but no debugging info is there.

i am not a java or web programmer, but can do a lots of things with powershell.






hi thanks for the script it looks nice
but what language is it i cannot past and work with this code in Firefox and chrome

for the freebitco.in it must be something like this
-------------------
bconfig = {
  maxBet: 0.00001024,
  wait: 1000,
  autoexit: 0.00001,
  want: 0.000014,
  toggleHilo:false,
  startbal: 0,
  won: 0,
};
hilo = 'hi';
multiplier = 1;
rollDice = function() {
 
  if ($('#double_your_btc_bet_lose').html() !== '') {
    $('#double_your_btc_2x').click();
    multiplier = 1;
    if(bconfig.toggleHilo)toggleHiLo();
  } else {
    $('#double_your_btc_min').click();
    multiplier = 1;
  }
 
  if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) ||
    parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) {
    console.log($('#double_your_btc_min'));
  }
  if (parseFloat($('#balance').html()) < bconfig.autoexit) {
    throw "exit";
  }
  if (parseFloat($('#balance').html()) > bconfig.want) {
        var num = parseFloat($('#balance').html());
        bconfig.want = num + 0.00000030;
        bconfig.autoexit = num - 0.00000420;
  bconfig.won++;
  var total = num - bconfig.startbal;
        console.log('Setting bconfig want to: ' + bconfig.want)
        console.log('Setting autoexit to: ' + bconfig.autoexit)
  console.log('Total won: ' + total + ' BTC')
  }
 
  $('#double_your_btc_bet_hi_button').click();
 
  setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 1000));
};
 
toggleHiLo = function() {
  if (hilo === 'hi') {
    hilo = 'hi';
  } else {
    hilo = 'hi';
  }
};
var num = parseFloat($('#balance').html());
bconfig.startbal = num;
bconfig.want = num + 0.00000030;
bconfig.autoexit = num - 0.00000420;
rollDice();
---------------





I got a nice way to win very frequently

but i am unable to write a good script for it
here is my try to brake it down
So, if I understand this correctly... you are betting on 6x or 8x or 10x payout correct?

- You start with a basebet of 1 unit
- You roll until 12 losses with 6x (or 8x or 10x)
- If 12 losses, then bet = basebet x2
- Then every 3 losses, then bet = previousbet x2

Reset back to basebet on win. Max bet is 1024 units.

Is that about right? If so... this code should do the job (NOTE: you need to set the basebet and maxBet values to suit your currency/bankroll):
Code:
----------------------
--
-- 6-8-10 Strat for jdquick
-- Written by HCP
--
----------------------
--Set these to match your site/currency/bankroll
basebet = 1
maxBet = 1024

----------------------
chance = 16.533
bethigh = true --bet high when true, bet low when false

enablezz=false --set to true to use high/low switching
--settings from advanced mode

enablesrc=false --set to true to use stop/reset conditions
--settings from advanced mode

firstPhaseLength = 12
stepLosses = 3

nextbet = basebet

firstPhase = true

lossStreak = 0
stopOnWin = false

function dobet()

  if (win) then
    nextbet = basebet
    firstPhase = true
    lossStreak = 0
    if (stopOnWin) then
      nextbet = 0
      stop()
    end

  else
    lossStreak = lossStreak + 1

    if lossStreak == firstPhaseLength then
      firstPhase = false
      nextbet = previousbet * multiplier
    elseif lossStreak > firstPhaseLength then
      if lossStreak % stepLosses == 0 then
        nextbet = previousbet * multiplier
      end
 
    end

  end

  if nextbet > maxBet then
    nextbet = 0
    stop()
  end

end


newbie
Activity: 8
Merit: 0
hi thanks for the script it looks nice
but what language is it i cannot past and work with this code in Firefox and chrome

for the freebitco.in it must be something like this
-------------------
bconfig = {
  maxBet: 0.00001024,
  wait: 1000,
  autoexit: 0.00001,
  want: 0.000014,
  toggleHilo:false,
  startbal: 0,
  won: 0,
};
hilo = 'hi';
multiplier = 1;
rollDice = function() {
 
  if ($('#double_your_btc_bet_lose').html() !== '') {
    $('#double_your_btc_2x').click();
    multiplier = 1;
    if(bconfig.toggleHilo)toggleHiLo();
  } else {
    $('#double_your_btc_min').click();
    multiplier = 1;
  }
 
  if (parseFloat($('#balance').html()) < (parseFloat($('#double_your_btc_stake').val()) * 2) ||
    parseFloat($('#double_your_btc_stake').val()) > bconfig.maxBet) {
    console.log($('#double_your_btc_min'));
  }
  if (parseFloat($('#balance').html()) < bconfig.autoexit) {
    throw "exit";
  }
  if (parseFloat($('#balance').html()) > bconfig.want) {
        var num = parseFloat($('#balance').html());
        bconfig.want = num + 0.00000030;
        bconfig.autoexit = num - 0.00000420;
  bconfig.won++;
  var total = num - bconfig.startbal;
        console.log('Setting bconfig want to: ' + bconfig.want)
        console.log('Setting autoexit to: ' + bconfig.autoexit)
  console.log('Total won: ' + total + ' BTC')
  }
 
  $('#double_your_btc_bet_hi_button').click();
 
  setTimeout(rollDice, (multiplier * bconfig.wait) + Math.round(Math.random() * 1000));
};
 
toggleHiLo = function() {
  if (hilo === 'hi') {
    hilo = 'hi';
  } else {
    hilo = 'hi';
  }
};
var num = parseFloat($('#balance').html());
bconfig.startbal = num;
bconfig.want = num + 0.00000030;
bconfig.autoexit = num - 0.00000420;
rollDice();
---------------





I got a nice way to win very frequently

but i am unable to write a good script for it
here is my try to brake it down
So, if I understand this correctly... you are betting on 6x or 8x or 10x payout correct?

- You start with a basebet of 1 unit
- You roll until 12 losses with 6x (or 8x or 10x)
- If 12 losses, then bet = basebet x2
- Then every 3 losses, then bet = previousbet x2

Reset back to basebet on win. Max bet is 1024 units.

Is that about right? If so... this code should do the job (NOTE: you need to set the basebet and maxBet values to suit your currency/bankroll):
Code:
----------------------
--
-- 6-8-10 Strat for jdquick
-- Written by HCP
--
----------------------
--Set these to match your site/currency/bankroll
basebet = 1
maxBet = 1024

----------------------
chance = 16.533
bethigh = true --bet high when true, bet low when false

enablezz=false --set to true to use high/low switching
--settings from advanced mode

enablesrc=false --set to true to use stop/reset conditions
--settings from advanced mode

firstPhaseLength = 12
stepLosses = 3

nextbet = basebet

firstPhase = true

lossStreak = 0
stopOnWin = false

function dobet()

  if (win) then
    nextbet = basebet
    firstPhase = true
    lossStreak = 0
    if (stopOnWin) then
      nextbet = 0
      stop()
    end

  else
    lossStreak = lossStreak + 1

    if lossStreak == firstPhaseLength then
      firstPhase = false
      nextbet = previousbet * multiplier
    elseif lossStreak > firstPhaseLength then
      if lossStreak % stepLosses == 0 then
        nextbet = previousbet * multiplier
      end
 
    end

  end

  if nextbet > maxBet then
    nextbet = 0
    stop()
  end

end


Pages:
Jump to: