Need help with the bot or want someone to talk to?
FORUM.SEUNTJIE.COM

The forum is a good platform for asking or offering help with programmer mode scripts

LUA Scripts

Download a script for your bot, or upload your own to share with other users. Login or Register to upload

How do I use this?


Name:HeyYouGuys - OnePointZeroTwo
Uploaded by: HeyYouGuys
Discription:
This script adjusts both chance and bet size based of block chunking of rolls within a series. See script for more details. Provided you have a balance of 0.005, preferably 0.01, you can expect to double your balance within 15,000-20,000 rolls provided you don't hit a death streak. A stop loss variable is included. Have Fun!





CommentsLogin or Register
teeftoof09:02:2017 16:33
This is a fantastic script. Is there a way we can change some values to make it last longer by having a less initial bet. It will gain less but be safer for people that don't have higher bankrolls? Thanks for this man!
    Login or Register
HeyYouGuys17:02:2017 00:07
Thanks for your comments and I'm glad you like the script. It's one I toyed with for a while, and will be publishing a new more advanced script (the way bets are calculated) based off not a single series of bets (chunk) but rather comparing chunks of bets on a bet by bet rolling basis. 

As far as adjusting the values, you can certainly play with it. I added the instructions to not adjust the specific lines (see script) because they execute prior to the 'function dobet()' command and are discarded after the first bet by "recalculation" based on actual gameplay. Essentially, it will do nothing. They are just placeholders. 

You can adjust:

stoplosslimit = balance at which the bot will stop betting once the limit is breached. 

bethigh

randomHighLow = will alternate using mathrandom, you can adjust the "randomness" of how often it changes from HiLo at the bottom, a value of 0.10-0.90 is typically what I'd use. 

AS PER YOUR QUESTION: Lower Bankrolls / Lower Initial Bet: 

Simply add a simple multiplier to the first continuous line of code after 'function dobet()':

THIS IS HOW THE SCRIPT IS SET UP

base= ((((balance - (profit * 16)) * 0.000125)) + (currentstreak * -0.000000006125) * 0.6125)

ADD A FRONT BRACKET "BEFORE" BALANCE - AND AN "END" BRACKET AFTER THE FINAL BRACKET .... 0.6125)  - So it looks like this:

base= (((((balance - (profit * 16)) * 0.000125)) + (currentstreak * -0.000000006125) * 0.6125))

THEN:  You can adjust your base bet up with a simple multiplier after the last end bracket: Example:   * 0.50       would = a half size bet calculation.    Adding * 2.0 would double your bets.  I'd play carefully, in 0.05 increments or smaller. 

HERE IS A FINAL base= LINE OF CODE TO 1/2 THE BET:

base= ((((((balance - (profit * 16)) * 0.000125)) + (currentstreak * -0.000000006125) * 0.6125)) * 0.50)  

I added one additional front bracket and end bracket just to group it all into one equation. 

Have fun! Thanks for the positive feedback!
    Login or Register
teeftoof09:02:2017 16:34
by the way I changed my base to .00000001 It says not to change the base but when I dont change the base it says cannot bet less than .01 bits.

im on money pot sejus dice bot site
    Login or Register
HeyYouGuys17:02:2017 00:10
I havent tested it on Moneypot. But ok. The first base= is discarded regardless AFTER the first bet. After the first bet, it begins adjusting the bet based on bankroll and chance and profit/loss and chunking of wins/losses with series. Changing it to 0.000000001 won't affect anything except the first roll. 
    Login or Register
teeftoof20:02:2017 16:52
Just to confirm is this how the graph should look @heyyouguys?

My starting bankroll is .01 and I have to change the one line from base= 0.00000000 to base=0.00000001

http://i.imgur.com/ZB02uiA.png

thanks!
    Login or Register
alex19921:02:2017 10:30
Sorry,I have a problem, betting stop lua command error.How to correct it?
    Login or Register
seuntjie22:02:2017 08:27
It's not an error, the script is designed to stop if you lose too much.
    Login or Register
GlenArven23:02:2017 21:12
Very nice work!
    Login or Register
camivia30:03:2018 19:02
I love the script!!!, thank you so much, is there any way that i can use it for doge? what the things that need to be change?
    Login or Register
Hjorten17:02:2017 07:57
hey is it posible for you to upload the script so it work whit 5% chance as is the lower limited on 999 dice ?`
    Login or Register
HeyYouGuys17:02:2017 21:59
I would have to rework both the chance and the base equations for that large of a change. Then test/run simulations. 

I would recommend changing the line:

chance = 1.02 + (currentstreak * 0.0006125) TO:
chance = 5.00 + (currentstreak * 0.0030125)  OR:

ADD THIS LINE BEFORE 'function dobet()':

staticchance = X (where X is your desired chance)

THEN SECONDLY, CHANGE THE CHANCE LINE OF CODE AFTER 'function dobet()' TO:

chance = (staticchance + (currentstreak * (staticchance * 0.0006125)))

* If you use my 2nd suggestion you can then just change the 'staticchance' setting and it will calculate it (I haven't tested this or run a sim on this, so try it with a small bankroll/base - see above comments on lowering basebet using an added multiplier. 
    Login or Register
HeyYouGuys17:02:2017 22:02
Also, just to add, this doesnt take into account the "chance limits which are coded later into the script". 

Again, I provide the above information for doing your own tweaks to the script... I have not tested it (but that's in effect how I'd script it). 
    Login or Register
HeyYouGuys17:02:2017 22:07
You would also need to adjust the "currentstreak==-" lines of code to reflect a higher win chance, as it's set for 60 based on 1.02. That would need to be adjusted to reflect (1.02/100) * 5 (if 5 is your chance).
    Login or Register
Hjorten18:02:2017 07:07
thanks i will try to take a look at it
    Login or Register