Pages:
Author

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

legendary
Activity: 1007
Merit: 1000
Another idea of the script 39.6
bet 1sat
on win decrise 10%
on loose increase 100%
reset to the base and start from 1sat  when wins 10 000 sat

so how to reset it once reaches that 10k sat from the base bet and do it each loop?
I got to this but i have an error insufficient funds it is trying to bet some large amounts like 8000sat
Also, i do not know how to make the first bet base bet not the previous one as it is different it is from the previous bet in a different strategy.

Code:
chance=39.6

base=0.00000001
function dobet()
if win then
nextbet=previousbet*0.9
else
nextbet=previousbet*2
end
if profit > 0.00001000 then
resetstats()
print("Reset")
end
end



   Seems like your very close.
Try this.
Code:
chance=39.6

base=0.00000001

nextbet = base
myprofit = 0

function dobet()

myprofit += currentprofit

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

if myprofit > 0.00001000 then
   resetstats()
   print("Reset")

   myprofit = 0
   nextbet = base

end
if nextbet < base then
   nextbet = base
end
end

newbie
Activity: 5
Merit: 0
Hello, im new on programmingmode and I need some help

what means resetstats()? reset the losses and winning events?

see this is more or less the thing that i wish configure

If I lose 1 to 4 times do nothing

If i lost 5 times and after i won 1 time change the bet  by multiply losses*lastbet and still the same on the losses and winning events

and if i lost 1 time and won 1 time twice (lost,win,lost,win) return to base bet and reset the winning and lossed statics (to the losses*lastbet multiply dont take effects all the losses)

and if i won 2 times on line reset to and return to base


thank you guys
newbie
Activity: 31
Merit: 0
Another idea of the script 39.6
bet 1sat
on win decrise 10%
on loose increase 100%
reset to the base and start from 1sat  when wins 10 000 sat

so how to reset it once reaches that 10k sat from the base bet and do it each loop?
I got to this but i have an error insufficient funds it is trying to bet some large amounts like 8000sat
Also, i do not know how to make the first bet base bet not the previous one as it is different it is from the previous bet in a different strategy.

Code:
chance=39.6

base=0.00000001
function dobet()
if win then
nextbet=previousbet*0.9
else
nextbet=previousbet*2
end
if profit > 0.00001000 then
resetstats()
print("Reset")
end
end

newbie
Activity: 31
Merit: 0
Hello
I want to start to use a script instead of using dicebot manually and have this idea to create the script that i need some help to create

The idea is to have a script that will
bet1
1 satoshi high chances 49.5%
if lose it will bet amount *3
if win it wait 2 seconds go to the bet2
bet2
3 satoshi high chances 39.06%
if  lose beta amount *0.48
if win  wait 3 seconds go to bet3
bet3
1000 satoshi low chances 80%
if lose bet amount *5
if win  wait 4 seconds go to next bet
bet4
10 satoshi low chances 7.14
if lose bet amount *25%
if win
wait 10 seconds
check if the profit is higher than 0.001 and stop
if not go to bet 1

Any help? Huh
Please
HCP
legendary
Activity: 2086
Merit: 4361
Hi people.
Can someone help me to code to reset after 2 wins in a row and if that not happened to reset on third win for example.
...
So basically What I want is to either " reset after 2 wins in a row" or if a 2 wins in a row didnt happen; bot reset to base automatically after x wins.
You want to run two counters then... one for monitoring double wins, and one for monitoring X wins... If either one reaches the target, then reset everything and reset both counters. This would ensure that you don't get the situation that Seuntjie was talking about where the X wins one keeps kicking in... Something like this:

Code:
doubleWinCount = 0

xWinCount = 0
x = 3

... all your other settings for bets, chances etc ...

function dobet()

  if (win) then
    doubleWinCount = doubleWinCount + 1
    xWinCount = xWinCount + 1
   
    if doubleWinCount == 2 then
      --2 wins in a row, reset!
      ... reset your bets and chances here ...
      doubleWinCount = 0
      xWinCount = 0

    elseif xWinCount == x then
      --X wins total, reset
      ... reset your bets and chances here ...
      doubleWinCount = 0
      xWinCount = 0
    end

  else
    doubleWinCount = 0
    ... do whatever you do when you get a loss ...

  end

end
member
Activity: 64
Merit: 10
Hi people.
Can someone help me to code to reset after 2 wins in a row and if that not happened to reset on third win for example.

For example if Streaks of WLWLW happened  then reset to base.
I tried to do this in advanced mode but didnt get the result I wanted.
I've talked with seuntjie and he mentioned below :
The two reset options are completely independent. The “reset after 3 wins” setting does not know when the “reset after 2 wins in a row” setting last reset the bot. So you might end up getting 2 wins a row, so the one setting resets, then a third win, so the other settings reset, then another win, so the first settings resets again, etc. You won’t necessarily get a reset after exactly 3 wins with losses between them if the bot reset just before the first loss.

So basically What I want is to either " reset after 2 wins in a row" or if a 2 wins in a row didnt happen; bot reset to base automatically after x wins.

maybe after 2 wins in a row change the odds by .1%

e.g.
1. rolling at 49% and you get WLW , code if chance = 49 and loose 2 then change odds to 49.1
2. rolling at 49.1% you get the LW and then code: if chance = 49.1% and win 1 then reset to base and change odds back to 49%

<>

making you reset after WLWLW
newbie
Activity: 13
Merit: 0
Hi people.
Can someone help me to code to reset after 2 wins in a row and if that not happened to reset on third win for example.

For example if Streaks of WLWLW happened  then reset to base.
I tried to do this in advanced mode but didnt get the result I wanted.
I've talked with seuntjie and he mentioned below :
The two reset options are completely independent. The “reset after 3 wins” setting does not know when the “reset after 2 wins in a row” setting last reset the bot. So you might end up getting 2 wins a row, so the one setting resets, then a third win, so the other settings reset, then another win, so the first settings resets again, etc. You won’t necessarily get a reset after exactly 3 wins with losses between them if the bot reset just before the first loss.

So basically What I want is to either " reset after 2 wins in a row" or if a 2 wins in a row didnt happen; bot reset to base automatically after x wins.
newbie
Activity: 49
Merit: 0
Thanks. You asked me to share my results after 1.5 BTC break even so here am I Smiley

Regarding stack what do you mean? Stack size/balance? Mt bet stack?
newbie
Activity: 29
Merit: 0
That's a nice chart Smiley Which stack do you use in your script if we might know?
newbie
Activity: 49
Merit: 0
I myself shared a script, a modification of a previous script, that's prebetting all the times you want at the chance you want and others have shared them. You are playing a martingale with a certain amount  of prebetting and multipliying and at some point if you don't achieve the earnings, you just start over. That's fine, when you are 1.5 btc up just share your screenshot again.
Maybe when you are 1000000 btc up you might want to share your script with the rest of the world from your private island Wink And again, if you are in the opensource community still makes less sense to me that you do not want to share anything so the rest of the people can learn by themselves.



So take that script and use it bro. I'm sure it won't be far from mine Smiley My private island is precisly that. Private. No sharing allowed, since I do that in the main land Wink

Well its better to make less sense than no sense! I guess you have different POV about this issue.

Yes i think we definitively have a different POV about that Wink Nevertheless, I respect your position and I hope you can make a huge profit with the script. It will be nice if you can share your chart in a while thought. Here you have mine in the month of march:


https://i.imgur.com/9HKrT6n.png

Hi everyone,

@The passenger - Here is my all time static screen chart. Notice that until the 1 milllion bet range there are variations since it was during my tests with the scipts I've created. From 1 million foward they are fine tuned. This all time is about 23 days since my bet rate is about 1 per second. This is the result of 3 scripts that I use. Smiley

From the 1 million bet mark until the 2 million its about a 10/12 day span.

http://imgur.com/a/AXbpd
full member
Activity: 148
Merit: 100
hi!

how is possible this???





high 32.99  roll 53.9   i loose???




   Your betting with 32.99% chance.  That means a high bet will win when the roll is greater then 100 - chance.     (100 - 32.99) = 67.01.  You only win when the roll is greater then 67.01.  53.9 is less then 67.01 you lose. 

ops tnx!
legendary
Activity: 1007
Merit: 1000
hi!

how is possible this???





high 32.99  roll 53.9   i loose???




   Your betting with 32.99% chance.  That means a high bet will win when the roll is greater then 100 - chance.     (100 - 32.99) = 67.01.  You only win when the roll is greater then 67.01.  53.9 is less then 67.01 you lose. 
full member
Activity: 148
Merit: 100
hi!

how is possible this???





high 32.99  roll 53.9   i loose???


newbie
Activity: 10
Merit: 0
I need help in coding a program that initial does 6 0btc or min btc bets with 50% chance and then compares the first two bets with the last two bets,to check if they are the same e.g if the first same two bets where high low then the last two bets must be high low respectively to meet the condition. if the condition is not met continue the  obtc or min btc betting until such a time where the are 6 conservative bets that meet the condition. if such a time arrives the program must look at the 4th bet of the 6 bets that met that condition and bet the next bet in the opposite side of the bet in question with a amount specified by the user if bet is won   reset initial base bet resume the 6 bet condition search else multiple the next bet by 2.5 in the opposite direction of the 3rd bet of the 6 bets in question then reset to initial conditions   javascript:void(0);PLEASE HELP!!!
HCP
legendary
Activity: 2086
Merit: 4361
well... you could just set a "risk" factor variable. I've done that before...

Code:
--set Risk Level
-- 1 = Highest risk only reset on breakeven or profit
-- 2 = Medium risk
-- 3 = Low risk

riskLevel = 1

...all your code...

function dobet()

  ...
  if (win) then
    ...
    if riskLevel == 1 then
       if (currentProfit >= startBalance) then
          -- target achieved reset
       else
          -- keep going
       end
    else
       if (currentProfit >= (startBalance - (riskLevel*unit))) then
          -- close to target, reset
       else
          -- keep going
       end
    end
  end

....

end


assuming I am understanding the strategy correctly... ie. it is more risky to only reset on break even/profit... plus you could theoretically specify even more risk levels like 4 or 5 and play very conservative... although I suspect that you'll just end up digging yourself deeper if you accept multiple 4 unit losses and you hit a bad run?

You could probably track which betting level you are at and only do a riskLevel check when you're betting the six-lines or higher as well...

Code:
--set Risk Level
-- 1 = Highest risk only reset on breakeven or profit
-- 2 = Medium risk
-- 3 = Low risk

riskLevel = 1

...all your code...

betLevels = {2,3,6,9,12,18}
betAmt = {1,2,3,4,5,6}
betLevel = 1

function dobet()

  ...
  if (win) then
    ...
    if betLevel >= 4 then
      if riskLevel == 1 then
         if (currentProfit >= startBalance) then
            -- target achieved reset
            betLevel = 1
         else
            -- keep going
            betLevel = betLevel + 1
         end
      else
         if (currentProfit >= (startBalance - (riskLevel*unit))) then
            -- close to target, reset
            betLevel = 1
         else
            -- keep going
            betLevel = betLevel + 1
         end
      end
    else
      -- don't check the riskLevel, just reset or increase as per strategy
      if (currentProfit >= startBalance) then
          -- target achieved reset
          betLevel = 1
       else
          -- keep going
          betLevel = betLevel + 1
       end
    end

  else

     if lossStreak == betLevels[betLevel] then
       -- lost whole cycle, drop down
       betLevel = betLevel - 1
     end

  end


....
  nextbet = betAmt[betLevel]
....

end


Note: there are lot's of gaps in my pseudocode here... but you should get the idea... I could probably code a proper script if I could find some spare time Wink
member
Activity: 64
Merit: 10
everyone please see this strategy:

https://bitcointalksearch.org/topic/m.18547759

   The toughest part to program....

Quote from: CiderWaffles
-- but use common sense, from 6x upwards, 1 or 2 units away from profit isn't that bad, is it worth the risk going up a level just for that?

   You need to be explicit to be able to program it. 

maybe you could have 3 versions, and people pick which one they like best
legendary
Activity: 1007
Merit: 1000
everyone please see this strategy:

https://bitcointalksearch.org/topic/m.18547759

   The toughest part to program....

Quote from: CiderWaffles
-- but use common sense, from 6x upwards, 1 or 2 units away from profit isn't that bad, is it worth the risk going up a level just for that?

   You need to be explicit to be able to program it. 
member
Activity: 64
Merit: 10
member
Activity: 64
Merit: 10
Hi guys, congrats to us all for the wonderful forum.

Now first and foremost also like to thank Seuntjie for the WONDERFUL tool and programming language (already donated my friend Smiley ) that enable me to streak 200000 bets (more than 24 hours)  in a row without loosing my bankroll.

The trick has Seuntjie stated is to low bet with high bankroll. The marvelous part of Seuntjie's bot is that one can make a strategy based on prebetting and then fish for the long loosing strike.

I've programmed a version of one of Seuntjie's script that basically I can leave running for days and have a very low probability of loosing (about 0.84% in a 500 bet streak) My script can make profits of 60/70% of current balance and withstand 100+ loosing strikes. Slowly but surely, I've been getting steady profits and IT WORKS on the long run, despite the house edge (and what other people say).

There is always a way to beat the house edge, its mathematical. Of course that using simple Martingale strategies and Labouchère on the long run you will ALWAYS loose. Even with high bank roll the math does not play in our favor.

I've taken few hours in making the math and fine-tuning the script but it has guaranteed results. Now I'm not trying to sell anything here with this post but also please don't ask to give the script for free since I lost about 1.5 BTC in fine-tuning it... Sad Investigate, loose money yourself - I'm the living proof that IT WORKS.

This post is just a testimony that house does not always win and IT IS possible to win while sleeping on the long run!

Seuntjie - you're a God. Congrats for the marvelous tool.






I myself shared a script, a modification of a previous script, that's prebetting all the times you want at the chance you want and others have shared them. You are playing a martingale with a certain amount  of prebetting and multipliying and at some point if you don't achieve the earnings, you just start over. That's fine, when you are 1.5 btc up just share your screenshot again.
Maybe when you are 1000000 btc up you might want to share your script with the rest of the world from your private island Wink And again, if you are in the opensource community still makes less sense to me that you do not want to share anything so the rest of the people can learn by themselves.



So take that script and use it bro. I'm sure it won't be far from mine Smiley My private island is precisly that. Private. No sharing allowed, since I do that in the main land Wink

Well its better to make less sense than no sense! I guess you have different POV about this issue.

Yes i think we definitively have a different POV about that Wink Nevertheless, I respect your position and I hope you can make a huge profit with the script. It will be nice if you can share your chart in a while thought. Here you have mine in the month of march:




what site(s) are you two using that you bet so long on? do you ever get errors?


HCP
legendary
Activity: 2086
Merit: 4361
how to combine three of the script

Code:
script1
chance = 1
bethigh = true
basebet = 0.00000001
nextbet = basebet

function dobet()

chance = 1
if (win) then
   nextbet = basebet
   bethigh = !bethigh
else
   nextbet = previousbet * 1.1
end

end
script2
chance = 2
bethigh = true
basebet = 0.00000001
nextbet = basebet

function dobet()

chance = 2

if (win) then
   nextbet = basebet
   bethigh = !bethigh
else
   nextbet = previousbet * 1.1
end

end
script3
chance = 3
bethigh = true
basebet = 0.00000001
nextbet = basebet

function dobet()

chance = 3

if (win) then
   nextbet = basebet
   bethigh = !bethigh
else
   nextbet = previousbet * 1.1
end

end

You cannot combine three scripts in that form. You can only have one chance, bethigh and nextbet value per roll... if you wanted to run those scripts at the same time, you would need to run 3 different copies of the bot at the same time.

The other option would be:

roll 1 - Script 1 values (chance = 1 etc)
roll 2 - Script 2 values (chance = 2 etc)
roll 3 - Script 3 values (chance = 3 etc)
roll 4 - Script 1 values (chance = 1 etc)
roll 5 - Script 2 values (chance = 2 etc)
roll 6 - Script 3 values (chance = 3 etc)
roll 7 - Script 1 values (chance = 1 etc)
and so on...

that would be something like:

Code:

chances = {1, 2, 3}
bethighs = {true, true, true}
basebets = {0.00000001, 0.00000001, 0.00000001}
nextbets = {basebets[1], basebets[2], basebets[3]}

chance = chances[1]
bethigh = bethighs[1]
basebet = basebets[1]
nextbet = basebet

counter = 1

function dobet()

  if (win) then
    nextbets[counter] = basebets[counter]
    bethighs[counter] = !bethigh
  else
    nextbets[counter] = previousbet * 1.1
  end

  counter = counter + 1
  if (counter > 3) then
    counter = 1
  end
 
  nextbet = nextbets[counter]
  bethigh = bethighs[counter]
  chance = chances[counter]
     
end
Pages:
Jump to: