Pages:
Author

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

newbie
Activity: 9
Merit: 0
how and where would i put a safety to stop at a max bet, whilst remembering what it was up to for the next win streak ?
newbie
Activity: 9
Merit: 0
Code:
chance = 90
basebet = balance*.0001
startbalance = balance
nextbet = 0
tartget = .01
bethigh = true
low = 0
high = 0
losecount = 0
stopnow = false
totallose = 0
wincount = 0
nextwinbet = basebet*1.5
boombet = balance*.1
bet1lose = previousbet*2
bet2lose = previousbet*5
bet3lose = previousbet*20
profitamount = 0
sessionprofit = 0
profittarget = 0.001
profitlimit = .005
won = 0
lost = 0

function dobet()

if (lastBet.roll < chance) then
low += 1
end
if (lastBet.roll > (100 - chance)) then
high += 100
end

profitamount=profitamount+currentprofit

if (win) then
if (high > low) then
bethigh = true
else
bethigh = false
end
won = won+1
lost = 0
if (profitamount >= profittarget) then
profitamount = 0
nextbet = basebet
end
if (sessionprofit >= profitlimit) then
print("Profit Limit reached. Stopping now...")z
print("Session Profit: " .. sessionprofit)
sessionprofit = 0
nextbet = basebet
end
if (won >= 1) then
nextbet = previousbet*2
won += 1
lost += 0
end
if (won == 2) then
nextbet = boombet
won += 1
lost += 0
end
if (won == 3) then
nextbet = boombet*1.5
won += 1
lost += 0
end
if (won <= 5) then
nextbet = boombet/3
won += 1
lost += 0
end
else
lost = lost+1
won = 0
if (lost == 1) then
nextbet = bet1lose
end
if (lost == 2) then
nextbet = bet2lose
end
if (lost == 3) then
nextbet = bet3lose
end
if (lost >= 4) then
chance = 49.5
nextbet = previousbet*2
end
if (lost >= 6) then
nextbet = basebet
end
end
end

at first i was just wanting to just mess around and see what works;

But now I want to turn it into 95 or 90 chance;
on first win do a massive bet almost full balance; then slowly decrease to a limit you set;
then i would like it to save some of that money aside for the next win for an even bigger second bet etc
on loss, i want it to do big multipler to almost regain all of whats lost, but the second bet should cover the last lost as the second win should be a big bet anyways, but if thats a loss I want a smaller multiplier till a win and on a win do a bigger than before to regain previous loss,

all based on basebet balance;

is something like that possible ?

Code:
chance=77.7
multiplier=1.5
multiplier2=1.09
base=0.0000250
nextbet = base 
bethigh = false
target = .0005
investtarget = .01
tmpprofit = 0
investprofit = 0
wincount = 10
stopnow = false

function dobet()

tmpprofit += currentprofit
investprofit += currentprofit

   if win then
   print("We Won")
      if (tmpprofit > target) then
         tmpprofit = 0
         nextbet = base
         if(stopnow) then stop() end
         if(investprofit  > investtarget ) then
             investprofit = 0
             invest(investtarget)
         end     
      else
  print("Since we Won we are now times our last bet by multiplier 2")
         nextbet=previousbet*multiplier2
         if(nextbet < base) then
nextbet = base end
      end
   else
   print("we lost so we are timzing by multiplier 1")
      nextbet=previousbet*multiplier
      if(nextbet < base) then
  print("if next bet is less than base bet next bet = base bet")nextbet = base end
   end
end

Something like this but 90 percent, but with a chance to win quicker this seems to take 2 - 3 wins to gain id like 1 - 2 if possible and since its based on balance, it shouldnt really need to worry about to many losses also being 90% in a row anyways


This would be the ultimate tho i think;

Code:
win 1
win 1.5
win 2.25
win 1.8
win 1.44
win 1.152
win 1 etc
for all wins

on a lose tho something like this

win 1
win 1.5
loss 2.25 < remebers this
wins 1
wins 1.5 + work out how to make loss even on second bet so it would be on 90% the pay out is 1.1  so we lost 2.25 we would need 22.5+ 1 to make it all back second bet i think
or is that way to risky even in the lower numbers like 0.0005 etc ?


and if it was to lose like this
win 1
lose 1.5
win 1.5 + 15
win 1
lose 1.5 <-- remeber 1
lose 16.5  < -- remember 2
then go back to normal
lose 1
lose 1
win 1
win 16.5
win 1
win 1.5
lose 2.25
win 2.25 + 165 from remember 2


then if it was to go like this

win 1
lose 1.5
win 16.5
lose 1
win 16.5
lose 1
win 16.5
win 1
win 1.5

doesnt have to be those calculations but I have a feeling it could work ?what do you guys think ?

legendary
Activity: 1007
Merit: 1000
Would someone be able to help me with a script; I have an idea but whenever i code it, it seems to go miles of path sometimes,

it would go along as such
0.00057564 etc
0.0006781 etc
then it would lose  and be fine
0.00075851 etc < -- loss
0.00164845 etc win
0.0018421 etc win
0.0020323 < -- loss
44.412312 is then bet
yet I have no multiplier to get it that high that quick

Post the script.  With a little explanation of what your trying to do. 
newbie
Activity: 9
Merit: 0
Would someone be able to help me with a script; I have an idea but whenever i code it, it seems to go miles of path sometimes,

it would go along as such
0.00057564 etc
0.0006781 etc
then it would lose  and be fine
0.00075851 etc < -- loss
0.00164845 etc win
0.0018421 etc win
0.0020323 < -- loss
44.412312 is then bet
yet I have no multiplier to get it that high that quick
newbie
Activity: 9
Merit: 0
Hey guys, This is an edit of one of the scripts I have seen on here;

Would love some feedback on how to make it work better; I have ideas I want to add to but have know Idea or now to do it;
if you would like to help dont hesitate to offer xD

anyways here it is

Code:
chance = 66.66
multiplier=1.5
multiplier2=0.92
base=0.0000150
nextbet = base

target =.005
investtarget = .1
tmpprofit = 0
investprofit = 0
wincount = 10
startbalance = balance

function dobet()

tmpprofit += currentprofit
investprofit+= currentprofit

if win then
if(tmpprofit > target) then
print("TMPPROFIT is greater than our target Resessting to Base")
tmpprofit = 0
nextbet = base
sleep(1000);
if(investprofit > investtarget) then
investprofit = 0
invest(balance - startbalance)
end
else
print("Since we havent reached our target times last bet by multiplier2")
nextbet = previousbet*multiplier2
if(nextbet < base) then
sleep(1000)
print("nextbet is less than base bet so its now base bet")
nextbet = base
end
end
else
sleep(1000)
print("We have lost so we are timzing by multiplier1")
nextbet = previousbet*multiplier
if(nextbet < base) then
print("Lower than base bet so now basebet")
nextbet = base
end
end
end
legendary
Activity: 1717
Merit: 1125
What programing language did you use to create this program?

I used c#. You can find the source code here if you want to look at it.
HCP
legendary
Activity: 2086
Merit: 4361
i hope i can learn this mate as all we are here wanted to earn even a little just by using a bot like this if you dont mind if you can pm me how this will works for me and what specific game and timing should i use it i will try it and make a good profits hope you can give me some insight with this bot that you are working with, good luck mate.
I doubt you will make much profit at all... I only did it as an exercise/investigation into how long it would take for variance to catch up with my betting strategy... Attempting to gamble for profit is, in my opinion, a fool's errand.

I treat gambling as a source of entertainment, so I like to try new things... and trying out the dicebot and the programming mode was a fun little project.

Basically, all I did was add a little feature to a basic "martingale" script that allows me to stop the betting on the next win... so I can set it going to bet for 100 bets (or until a certain balance is achieved or whatever) and then it will stop on next win, rather than ending on a loss at exactly 100 bets... sometimes it goes to 103 or 104 bets depending on strategy and odds being played.
hero member
Activity: 756
Merit: 500
That's exactly how the stop on win button works and that's exactly how a built in stop on win function would work if I ever implemented it. It's so simple that I likely won't implement it though. You can even set stopOnWin =true from the console to force it to stop on the next win.
Which is pretty much what I do... good to know that my "hack" is more or less how the builtin stuff works... maybe my coding skills aren't as rusty as I thought they might be Wink

Hopefully this code sample my be of some assistance to others... Although a lot of players I've come across tend to just let the bot run until they hit some profit level or bust out Tongue
i hope i can learn this mate as all we are here wanted to earn even a little just by using a bot like this if you dont mind if you can pm me how this will works for me and what specific game and timing should i use it i will try it and make a good profits hope you can give me some insight with this bot that you are working with, good luck mate.
HCP
legendary
Activity: 2086
Merit: 4361
That's exactly how the stop on win button works and that's exactly how a built in stop on win function would work if I ever implemented it. It's so simple that I likely won't implement it though. You can even set stopOnWin =true from the console to force it to stop on the next win.
Which is pretty much what I do... good to know that my "hack" is more or less how the builtin stuff works... maybe my coding skills aren't as rusty as I thought they might be Wink

Hopefully this code sample my be of some assistance to others... Although a lot of players I've come across tend to just let the bot run until they hit some profit level or bust out Tongue
legendary
Activity: 1717
Merit: 1125
Is there a builtin "Stop on Win" function within the bot? Something that functions like the button in Advanced mode? I usually run some sort of martingale system, and I like to do short 100 roll runs. I don't like ending on a loss, so once I've hit the stop limit (profit, number of rolls or whatever), I like to continue until I get a win so I end up positive.

I've already coded a solution, but was hoping there might be something a little cleaner than my hack Wink The basics of my solution involve a global boolean variable. If whatever end condition we have setup is reached, for instance 100 rolls have been completed, we set this boolean to true, and on the next win, stop().
Code:
stopOnWin = false

function dobet()

    if (endCondition is reached) then
        print("stopping on next win")
        stopOnWin = true
    end  

    if win then
        
        do win stuff here
        
        if stopOnWin then
            print stats for this run          
            stop()
        else
            adjust bet and continue
        end
    else

        do loss stuff here
        adjust bet and continue

    end

end

One side effect of this approach, is that at any time during a run, I can just enter "stopOnWin = true" and the script will stop on next win, like hitting the button... but I'm curious if this functionality is builtin in and exposed in programmer mode, given that the button is there on the GUI.

That's exactly how the stop on win button works and that's exactly how a built in stop on win function would work if I ever implemented it. It's so simple that I likely won't implement it though. You can even set stopOnWin =true from the console to force it to stop on the next win.
newbie
Activity: 1
Merit: 0
Hello
i try this script but its working not correct
could you please help me fix its?
Thanks

Code:

chance=49.5
multi=2
minbet=0.0000001
nextbet=0.0
minbet1=0
wincount = 0
losecount = 0
profitwincount = 0
bethigh = false

function dobet()
if (win) then
wincount = wincount + 1

if (wincount == 2) then
bethigh = true
nextbet=minbet*multi
if (win) then
wincount = 0
bethigh = false
losecount==0
nextbet=0.0
else
if (losecount <10) then
losecount += 1
bethigh = true
else
stop()
end
end
end
else
if (wincount <2) then
wincount = 0
end
end

end


i will:

chance=49.5
multi=2

step 1 : bet low with 0
step 2 : if 2 win / rows -> bet hight with base bet * multi
    if 10 lose / rows -> stop
    if win -> back to step 1
stop after x profit

Thanks
HCP
legendary
Activity: 2086
Merit: 4361
Is there a builtin "Stop on Win" function within the bot? Something that functions like the button in Advanced mode? I usually run some sort of martingale system, and I like to do short 100 roll runs. I don't like ending on a loss, so once I've hit the stop limit (profit, number of rolls or whatever), I like to continue until I get a win so I end up positive.

I've already coded a solution, but was hoping there might be something a little cleaner than my hack Wink The basics of my solution involve a global boolean variable. If whatever end condition we have setup is reached, for instance 100 rolls have been completed, we set this boolean to true, and on the next win, stop().
Code:
stopOnWin = false

function dobet()

    if (endCondition is reached) then
        print("stopping on next win")
        stopOnWin = true
    end  

    if win then
        
        do win stuff here
        
        if stopOnWin then
            print stats for this run          
            stop()
        else
            adjust bet and continue
        end
    else

        do loss stuff here
        adjust bet and continue

    end

end

One side effect of this approach, is that at any time during a run, I can just enter "stopOnWin = true" and the script will stop on next win, like hitting the button... but I'm curious if this functionality is builtin in and exposed in programmer mode, given that the button is there on the GUI.
newbie
Activity: 9
Merit: 0
Hey guys, First time poster for this bot but been using it for the last week love it and try and donate to it every time i close;

I was just wondering if someone could help me out with a bit of code; I have tried a few but I cant figure it out;

This is what im wanting:

normalbet = 0.00000001
starthighbet = 0.001 or x
multiplierhighbet = 4 or x
multiplierhighbet2 = 8 or x
etc

I want the bot to bet normal bet till it comes accross 2 wins or 2 losses in a row then waits for a win then goes for a highbet which can be either entered in a table like that or a percentage of your balance
then if it losses that bet, it goes back to normal bet until it comes across the pattern again then does the next row of highbets.

so a table of above

0.00000001 - loss
0.00000001 - loss
0.00000001 - win
0.0001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001  - loss
0.00000001  - win
0.0001 - loss
0.00000001 - loss
0.00000001 -loss
0.00000001 - win
0.0004 - win
0.00000001 - win
0.00000001 -loss
etc

also it can switch from high to low depending on what you thinks best for that;

Message me if you have more questions but ill happily donate something for their work


Couple of questions.  What chance are you betting at?  And would you expect the next bet in your (above) sequence to be .0008 or .0032?  IE do you really want to multiple the previous high bet by 8 or by 2?  And then would the next multiplier be 12 or 16 or 32?

anywhere from your 39.6 to 49 i think would kinda work; I use your 2 wins alot, I just hate how the basebet is what it bets normally; Thats all I want changed; Because when I use your script and I change my base bet to 0.0001 obviously every bet starts from there; However I want my normal bets to be 0.00000001 till it finds a chance at 2 wins in a row;

Multipler doesnt really matter as much; I can just use your 2 wins and modify it to suit needs; although I would like it if you could just have 2 multipliers such as bigchance win (odds of winning) do a highbet and standard multipler which is like 2 or 2.5 or x, so bascially when you have lost a few standard bets it does a highbet if it thinks it can win like your 2 wins

Does that make more sense ?
legendary
Activity: 1007
Merit: 1000
Hey guys, First time poster for this bot but been using it for the last week love it and try and donate to it every time i close;

I was just wondering if someone could help me out with a bit of code; I have tried a few but I cant figure it out;

This is what im wanting:

normalbet = 0.00000001
starthighbet = 0.001 or x
multiplierhighbet = 4 or x
multiplierhighbet2 = 8 or x
etc

I want the bot to bet normal bet till it comes accross 2 wins or 2 losses in a row then waits for a win then goes for a highbet which can be either entered in a table like that or a percentage of your balance
then if it losses that bet, it goes back to normal bet until it comes across the pattern again then does the next row of highbets.

so a table of above

0.00000001 - loss
0.00000001 - loss
0.00000001 - win
0.0001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001  - loss
0.00000001  - win
0.0001 - loss
0.00000001 - loss
0.00000001 -loss
0.00000001 - win
0.0004 - win
0.00000001 - win
0.00000001 -loss
etc

also it can switch from high to low depending on what you thinks best for that;

Message me if you have more questions but ill happily donate something for their work


Couple of questions.  What chance are you betting at?  And would you expect the next bet in your (above) sequence to be .0008 or .0032?  IE do you really want to multiple the previous high bet by 8 or by 2?  And then would the next multiplier be 12 or 16 or 32?
newbie
Activity: 9
Merit: 0
Hey guys, First time poster for this bot but been using it for the last week love it and try and donate to it every time i close;

I was just wondering if someone could help me out with a bit of code; I have tried a few but I cant figure it out;

This is what im wanting:

normalbet = 0.00000001
starthighbet = 0.001 or x
multiplierhighbet = 4 or x
multiplierhighbet2 = 8 or x
etc

I want the bot to bet normal bet till it comes accross 2 wins or 2 losses in a row then waits for a win then goes for a highbet which can be either entered in a table like that or a percentage of your balance
then if it losses that bet, it goes back to normal bet until it comes across the pattern again then does the next row of highbets.

so a table of above

0.00000001 - loss
0.00000001 - loss
0.00000001 - win
0.0001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001 - win
0.00000001  - loss
0.00000001  - loss
0.00000001  - win
0.0001 - loss
0.00000001 - loss
0.00000001 -loss
0.00000001 - win
0.0004 - win
0.00000001 - win
0.00000001 -loss
etc

also it can switch from high to low depending on what you thinks best for that;

Message me if you have more questions but ill happily donate something for their work
full member
Activity: 126
Merit: 100
Look at the brighter Side
figured it out Smiley and made my 1st script out of your bot.. will test it with live btc ^_^ thank you for your effort will donate and support your bot Smiley
hero member
Activity: 854
Merit: 503
Hi,
how can i wite an programm with the labouchere? I dont get it how to implement the method. can you give me a hint?(can i see what is behind the function?)
above you say you need to set the value. but do i need a string??It is not a double?

you can use labouchere(win:bool) where the win parameter indicates whether it should calculate the next value based on if the previous bet was a win (true) or not (false). this function returns what the next bet woul be in that situation. So typical use would be nextbet=labouchere(win)

What the function basically does is take the labouchere settings you have set the advanced mode and caclulates the next bet as if you were using labouchere in the advanced mode. If you want the more technical specifics of how that is done, you're welcome to go look at the code (https://github.com/Seuntjie900/DiceBot/blob/master/DiceBot/cDiceBot.cs). If you're lookong for more details on what labouchere is and how it works, take a look at https://bot.seuntjie.com/BettingSystem.aspx?id=2

The labouchere values are a list of values. not just one. That's why you cant use a double to set the value. More specifically, the values are a list of ? seperated values. so ?????

Thx Seuntjie for you answer.

I got it.
One Question if i use this:
one=balance*0.00001
two=balance*0.00002
Labvals='one?two'
setvaluestring=('LabValues'.'Labvals')

i get some error message for Labvals. What i am doing wrong?
legendary
Activity: 1717
Merit: 1125
Hi,
how can i wite an programm with the labouchere? I dont get it how to implement the method. can you give me a hint?(can i see what is behind the function?)
above you say you need to set the value. but do i need a string??It is not a double?

you can use labouchere(win:bool) where the win parameter indicates whether it should calculate the next value based on if the previous bet was a win (true) or not (false). this function returns what the next bet woul be in that situation. So typical use would be nextbet=labouchere(win)

What the function basically does is take the labouchere settings you have set the advanced mode and caclulates the next bet as if you were using labouchere in the advanced mode. If you want the more technical specifics of how that is done, you're welcome to go look at the code (https://github.com/Seuntjie900/DiceBot/blob/master/DiceBot/cDiceBot.cs). If you're lookong for more details on what labouchere is and how it works, take a look at https://bot.seuntjie.com/BettingSystem.aspx?id=2

The labouchere values are a list of values. not just one. That's why you cant use a double to set the value. More specifically, the values are a list of ? seperated values. so ?????
hero member
Activity: 854
Merit: 503
Hi,
how can i wite an programm with the labouchere? I dont get it how to implement the method. can you give me a hint?(can i see what is behind the function?)
above you say you need to set the value. but do i need a string??It is not a double?
legendary
Activity: 1717
Merit: 1125
Is it possible to do a whole bunch of  bets at once like on 999 dice on other websites?

Nope sorry, and I'm not implementing it.

I hate this stupid quotes about all that casino gambling shit i dont need to know how much you are winning or losing what i do know is that every online casino is just one big scam but you your own decission.

Uhm... I don't see how that is relevant to this thread.
Pages:
Jump to: