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:legion of Boom
Uploaded by: chilly2k1
Discription:
Uses math.random to randomly increase bets.  Start out covering a long losing streak and occasionally bet a shorter streak.  Betting is based on balance.  easy to change.  





CommentsLogin or Register
jorgeal9405:08:2015 18:39
start()
Please set starting bet using nextbet = x.xxxxxxxx
Please set starting chance using chance = yy.yyyy


Solution?
    Login or Register
seuntjie06:08:2015 09:50
Do exactly what it says: in the console, type nextbet = xxx.xxxxxx (replace xxx.xxxx with what you want your first bet to be) and press enter. Then try start() again
    Login or Register
jorgeal9428:08:2015 01:37
don´t work in dadice,not try to bet and suddenly says: Bet Failed:Please enter bet amount.
    Login or Register
seuntjie28:08:2015 18:55
Does the bot work at all at dadice for you? are you sure your api is enabled and you're using the correct api key?

Might have been a little down time for them again?
    Login or Register
jorgeal9408:09:2015 00:10
the bot works completly in dadice, but this script don´t work on it... Api and other things are okay, because I use my own scripts and work well.
    Login or Register
seuntjie09:09:2015 08:55
This script contains an invest function that would need to be disabled for dadice. You can comment it out using -- in front of the invest function. If you have any questions about the script specifically, you'll need to ask the script author (chilly2k) about it.
    Login or Register
AXCESS23:07:2016 20:38
Hi, thanks for sharing this great script, i'm testinging it. i have one little problem found what stop the script in betting, and end up some losses (about 15%). the error that occurs is this: Index was outside the bounds of the array.
This message was noted after step 10. Hope it can fixt. It will cover that these types of losses can not occurs anymore by this error. Thanks
    Login or Register
lazareth109:09:2016 14:35
I get the 'bet amount not valid' message when the 95% bets start and the bot stops. Any ideas why? 
    Login or Register
baraniday16:09:2016 10:44
(
repeat
   io.write("high or low (h/l)? ")
   io.flush()
   answer=io.read()
until answer=="h" or answer=="l"
)
Does not work!!!
    Login or Register
whipzman29:09:2016 10:04
Whenever i run this after a little while i get an error index not in bound
    Login or Register
cryptobetz16:10:2017 04:01
Does anyone  know how to stop nextbet before its placed in case it is over a certain value? Example: if nextbet > 1000 stopnow, I have tried many things but failed so far.

 else 
          nextbet = previousbet * martimulti
          base = false
       end
    Login or Register
ArcAios2603:11:2018 21:49
ok so it looks like this segement of code causes the LUA Error index out of bounds of array

if (losecount == 15 or (losecount == 10 and boom)) then
       repeat
              io.write("high or low (h/l)? ")
              io.flush()
              answer=io.read()
        until answer=="h" or answer=="l"
        if (answer == "h") then 
           bethigh = true
        else 
            bethigh = false
        end
      end 
    Login or Register
seuntjie05:11:2018 07:37
DiceBot doesn't bind to the normal lua io stream, so operations like io.write or io.read will not write to or read from the console. There are replacement methods to use instead, like print, readprompt or readadv. See the methods box in dicebot for details on the function parameters for each.
    Login or Register
moonbind03:11:2018 03:34
Betting Stopped!
Index was outside the bounds of the array.

this script is interesting; and it works well, unless it throws errors like above!

does anyone can fix it, please?
    Login or Register
ArcAios2603:11:2018 21:35
I encounter the same problem. Still haven't found a fix either. If it would just give some data like what array its trying to access because I don't see an array in the script at all
    Login or Register