Pages:
Author

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

legendary
Activity: 1717
Merit: 1125
how do i reduce a bet by a certain percentage or fraction in the martingale section, I've read the steemit post but can't work it out.

say if i want to reduce the bet by 20% or 1/5, how do i do that??
hope to see answer from this good question it would be a good information likewise im also trying to to figure out what would
be a better settings not to lose with martingale set up if we can lessen it up using the bot what would be the best approach.

reply from Seuntjie

how do i reduce a bet by a certain percentage or fraction in the martingale section, I've read the steemit post but can't work it out.

say if i want to reduce the bet by 20% or 1/5, how do i do that??

multiplier = (100+percentage increase)/100

thus multiplier = (100+(-20))/100 = 80/100=0.8

Algebra.

I gave the same information as I gave is THIS steemit article on how the math works
legendary
Activity: 1007
Merit: 1000
hi,

i need to set negative multipler (increase/decrease) when i winning event
anyone help me???


x = x * .5

makes x = 1/2 x

if example i need to set...

if win then
nextbet = previousbet * -22%




22% is .22    I'll assume your trying to subtract 22% from your previous bet.  Another way to think of that is you want to keep 78% (.78) of the previousbet

so   nextbet = previousbet * .78 

if it helps you could code (1 - .22) instead of .78 

 
full member
Activity: 148
Merit: 100
hi,

i need to set negative multipler (increase/decrease) when i winning event
anyone help me???


x = x * .5

makes x = 1/2 x

if example i need to set...

if win then
nextbet = previousbet * -22%


legendary
Activity: 1007
Merit: 1000
hi,

i need to set negative multipler (increase/decrease) when i winning event
anyone help me???


x = x * .5

makes x = 1/2 x
full member
Activity: 148
Merit: 100
hi,

i need to set negative multipler (increase/decrease) when i winning event
anyone help me???
legendary
Activity: 1717
Merit: 1125
is there a way to relate different strategies for instance if am running martingale and when i reach some profit change to another strategy and so on an maybe make a loop with 3 or 4 strategies, is that possible?

Yes.

In the programmer mode, you can use the martingale(win:bool), labouchere(win:bool), presetlist(win:bool), and dalembert(win:bool) functions. These will execute the built in advanced mode functions as the are set up at that moment.

You can then use setvalue functions (setvalueint(name:string, value:int), setvaluestring(name:string, value:string),setvaluedecimal(name:string, value:decimal),setvaluebool(name:string, value:bool)) in combination with the settings name as they are found in the exported settings files (case sensitive) to set different values in the advanced mode. For example

setvaluedecimal('Multiplier'),2.5) changes the multiplier on loss in the advanced mode to 2.5.

Alternatively, you can use the loadstrategy(file:string) function, which will load an exported settings file.

Here's a basic script that will loop through 3 advanced mode settings after every 1000 satoshi profit:

Code:
nextbet=0.000000001
chance=49.5
files = {'settings1','settings2','settings3'} --your list of files
currentfile=1 --which file you're using
settingsprofit=0 --track profit so you know when to change settings.
loadsettings(files[currentfile])
function dobet


setttingsprofit += currentprofit --add the profit from the current bet to the profit tracking
if (settingsprofit>0.00001000) then
currentfile+=1 --move to the next file
if (currentfile>3) then currentfile = 1 end --make sure you go back to the first file if you were using the last one.
loadsettings(files[currentfile])
end
nextbet=martingale(win) --get the value from the built in settings
end

Disclaimer: I wrote this code here on this page. I did't test it so there might be a mistake or 5.
legendary
Activity: 1717
Merit: 1125
how do i reduce a bet by a certain percentage or fraction in the martingale section, I've read the steemit post but can't work it out.

say if i want to reduce the bet by 20% or 1/5, how do i do that??
hope to see answer from this good question it would be a good information likewise im also trying to to figure out what would
be a better settings not to lose with martingale set up if we can lessen it up using the bot what would be the best approach.

reply from Seuntjie

how do i reduce a bet by a certain percentage or fraction in the martingale section, I've read the steemit post but can't work it out.

say if i want to reduce the bet by 20% or 1/5, how do i do that??

multiplier = (100+percentage increase)/100

thus multiplier = (100+(-20))/100 = 80/100=0.8

Algebra.

I gave the same information as I gave is THIS steemit article on how the math works
member
Activity: 64
Merit: 10
how do i reduce a bet by a certain percentage or fraction in the martingale section, I've read the steemit post but can't work it out.

say if i want to reduce the bet by 20% or 1/5, how do i do that??
hope to see answer from this good question it would be a good information likewise im also trying to to figure out what would
be a better settings not to lose with martingale set up if we can lessen it up using the bot what would be the best approach.

reply from Seuntjie

how do i reduce a bet by a certain percentage or fraction in the martingale section, I've read the steemit post but can't work it out.

say if i want to reduce the bet by 20% or 1/5, how do i do that??

multiplier = (100+percentage increase)/100

thus multiplier = (100+(-20))/100 = 80/100=0.8

Algebra.
sr. member
Activity: 378
Merit: 250
is there a way to relate different strategies for instance if am running martingale and when i reach some profit change to another strategy and so on an maybe make a loop with 3 or 4 strategies, is that possible?
hero member
Activity: 756
Merit: 500
how do i reduce a bet by a certain percentage or fraction in the martingale section, I've read the steemit post but can't work it out.

say if i want to reduce the bet by 20% or 1/5, how do i do that??
hope to see answer from this good question it would be a good information likewise im also trying to to figure out what would
be a better settings not to lose with martingale set up if we can lessen it up using the bot what would be the best approach.
member
Activity: 64
Merit: 10
how do i reduce a bet by a certain percentage or fraction in the martingale section, I've read the steemit post but can't work it out.

say if i want to reduce the bet by 20% or 1/5, how do i do that??
legendary
Activity: 3808
Merit: 1723
Hi all!
I don't understand coding but I managed to write a simple martingale version thanks to other people's code

chance=49.5
function dobet()
base=0.00000100
nextbet=base

 if win then

  nextbet=base

 else

  nextbet=(previousbet*2)+base

 end

end



What I would like to add is to change bet type (high/low) on every win but continue with the last bet's type if it was a loss.
If the last bet is high and if it's a win, change the next bet to low
If the last bet is high and if it's a loss, continue to the next bet to high
If the last bet is low and if it's a win, change the next bet to high
If the last bet is low and if it's a loss, continue to the next bet to low

and I also would like to add, change seed on every 250 bet


thank you for your help!



Regarding the changing seed every few bets, I honestly would just avoid that and just make it use 1 type of seed for every session.

You might not realize it or not but as long as you are given the hashed seed before the bet, there is no chance the website can cheat you with the next few hundred or thousands of bets you are about to take. The results are all there even before you start betting.

If you don't believe me there is a thread with a website Dice Site Verifier and it has the 3rd party independent code and you can verify your bets there.

But changing your seed every few bets or so won't help you at all because its all completely randomized.
newbie
Activity: 5
Merit: 0
Hi all!
I don't understand coding but I managed to write a simple martingale version thanks to other people's code

chance=49.5
function dobet()
base=0.00000100
nextbet=base

 if win then

  nextbet=base

 else

  nextbet=(previousbet*2)+base

 end

end



What I would like to add is to change bet type (high/low) on every win but continue with the last bet's type if it was a loss.
If the last bet is high and if it's a win, change the next bet to low
If the last bet is high and if it's a loss, continue to the next bet to high
If the last bet is low and if it's a win, change the next bet to high
If the last bet is low and if it's a loss, continue to the next bet to low

and I also would like to add, change seed on every 250 bet


thank you for your help!



counter=0
chance=49.5
function dobet()
base=0.00000100
nextbet=base
bethigh = true

 if win then

  nextbet=base

 else

  nextbet=(previousbet*2)+base
----btw you want to triple your next bet if you lose? just try *2 only so you can just double your bet
 end

if (bethigh == true) then
if (win == true) then
bethigh = false
else
bethigh = true)
end
end

if (bethigh ==false) then
if (win == true) then
bethigh == true
else
bethigh = false
end
end

counter = counter + 1
if (counter == 250) then
resetseed()
counter = 0
end
end


Try this, hope it works.
newbie
Activity: 1
Merit: 0
Hi all!
I don't understand coding but I managed to write a simple martingale version thanks to other people's code

chance=49.5
function dobet()
base=0.00000100
nextbet=base

 if win then

  nextbet=base

 else

  nextbet=(previousbet*2)+base

 end

end



What I would like to add is to change bet type (high/low) on every win but continue with the last bet's type if it was a loss.
If the last bet is high and if it's a win, change the next bet to low
If the last bet is high and if it's a loss, continue to the next bet to high
If the last bet is low and if it's a win, change the next bet to high
If the last bet is low and if it's a loss, continue to the next bet to low

and I also would like to add, change seed on every 250 bet


thank you for your help!

legendary
Activity: 2366
Merit: 1130
hi,

anyone can help me?

i need to make this script...

payout : 3.33
bet: 0.00000015
change: 29.73
roll over to win: 70.26
on lose increase 50%

and when win 0.00015000
reseed

please help me
I can help you but only with Advanced setting (i don't know how to make Lua script), look at my screenshoot
#1 screenshoot http://prntscr.com/dzxc03 You must look at RED ARROW first, apply your method on advance setting like my screenshoot (base bet 0.00000015, chance 29.73, on lose increase 1.5 multipler), Don't ever click "start high"/BLUE ARROW
#2 screenshoot http://prntscr.com/dzxdrg Then, go to "Stop conditions" tab, and apply like that screenshoot, scroll down and re-enable Reset after btc profit box
Finally Click "Start High" which you found earlier in screenshoot #1 (I showed with BLUE ARROW) because you want roll over 70.26
newbie
Activity: 29
Merit: 0
Hi everyone!

i'm trying to learn the basics of lua scripts for the bot. i would like the bot to stop if the profit on the session goes below zero.

I know in the advance settings mode can set that for you, but what would be the code?

i also found enablesrc=true but i don't know exactly where to add it to make it work.

Any help will be appreciatted!!
full member
Activity: 148
Merit: 100
hi,

anyone can help me?

i need to make this script...

payout : 3.33
bet: 0.00000015
change: 29.73
roll over to win: 70.26
on lose increase 50%

and when win 0.00015000
reseed

please help me
newbie
Activity: 5
Merit: 0
Hello is there a way that I can make the hi/lo switch depending on the roll I got from the current bet and previous bet?

Example:

First bet : High, Roll = 49.3234
Second bet : Low, Roll = 50.8959

Since my latest bet roll (second) is higher than the previous bet roll (first) I want my next bet (third) to bet high.

Continued pattern....

Third bet : High, Roll = 39.4231
Fourth bet : Low, Roll = 94.3213
Fifth bet : High, Roll = 2.3241
Sixth bet : Low, Roll = 1.3212
Seventh bet : Low, Roll = 34.5232
Eight bet : High, Roll = 52.4178
and so on.

Hope you can help me Smiley Thanks
legendary
Activity: 1717
Merit: 1125
Hi programmers, I recently opened a separate thread about a bitsler dice strategy. If anyone can code it into a lua script, that would be great. I shouldn't be hard. Please look at https://bitcointalksearch.org/topic/need-help-with-dicebot-33-settings-for-bitsler-dice-strategy-1748508. Thanks.

any reward?

Somehow I was able to hammer out a decent script so the reward is I gonna share it for your improvement.  Wink

25% chance bitsler strategy (follow this thread for background: https://bitcointalksearch.org/topic/need-help-with-dicebot-33-settings-for-bitsler-dice-strategy-1748508):

Code:
chance = 25
multiplier = 1.35
base = 0.00000002
nextbet = base 
bethigh = false
rollcount = 7

function dobet()

--Randomly select High/Low
--bethigh = math.random(0,100)%2 == 0

--change seed every 7 bet
if rollcount == 7 then
rollcount = 0
resetseed();
else
rollcount = rollcount + 1
end

if (balance) < (nextbet) then
stop();
print(balance)
print("INSUFFICIENT FUNDS")
end

--bet progression
   if win then
      nextbet = base
   else
      nextbet = previousbet * multiplier
   end
end

end

See this screenshot for script result: http://imgur.com/a/mg2PE

I lack the know-how for a controlled bet high/low coding. The script starts with betting low all the way (bethigh = false). I need it to switch to high after a 10-bet losing streak, then once it hits the first win, switch to low again.

There might be some losing streak coding floating in earlier posts of this thread or outside this forum. Just let me know and I try to learn whatever I can. If you have better ideas for bet high/low strategy, feel free to amend the script code as above. Another idea is to stop the script running after a 20-bet losing streak but I KIV this first and am more keen to test bet high/low.

Thanks for your help.

Feel free to upload your scripts to https://bot.seuntjie.com/scripts.aspx
legendary
Activity: 1717
Merit: 1125
Is there also a way to increase the bet amount with a specific amount instead of using a multiplier?

Take a look at the d'Alembert (https://bot.seuntjie.com/BettingSystem.aspx?id=3) betting system or the preset list (https://bot.seuntjie.com/bettingsystem.aspx?id=5).
Pages:
Jump to: