Bitcoin Forum
June 21, 2024, 05:39:31 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54 55 56 57 58 59 60 61 62 »
  Print  
Author Topic: Seuntjie' Dice bot programmers mode discussion.  (Read 125165 times)
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 28, 2018, 09:15:51 AM
 #1041

This LUA Script , Not running, Why ?
The error screen tells you exactly why it isn't working:
Quote
Starting Dicebot 3.3.18
start()
LUA ERROR!!
'then' expected, got 'nextbet'

Basically all your if/elseif's at the end are missing "then" statements:
Quote
.... else
      if currentstreak == -1 then
         nextbet = previousbet*2
      elseif currentstreak == -2 then
         nextbet = previousbet*2.1
      elseif currentstreak == -3 then
         nextbet = previousbet*2.2
      elseif currentstreak == -4 then
         nextbet = previousbet*2.3
      elseif currentstreak == -5 then
         nextbet = previousbet*2.4
      elseif currentstreak == -6 then
         nextbet = previousbet*2.5
      else
         nextbet = previousbet*2.6

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
zombie35
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 28, 2018, 09:20:17 AM
 #1042

thanks for the answer, but I am not the script author.

I copied it from script page of seuntjie and tried to run it.

in summary I do not know how to work it

here it is
https://bot.seuntjie.com/scripts.aspx?id=5236
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 28, 2018, 09:39:34 AM
 #1043

All you need to do is add the missing "then" statements as I have highlighted... just edit the script yourself and type them in Wink

Also, I've sent a message to Seuntjie to let him know about the problem. For more script help, you might like to try the dicebot forum (you can find on the link on the dicebot website)

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
zombie35
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 28, 2018, 09:51:57 AM
 #1044

Thank you for the help
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
June 28, 2018, 02:11:12 PM
 #1045

Thank you for notifying me HCP, I have updated the script on the site, but I have not tested it.

Feel free to ask questions about DiceBot, the programmer mode and scripts on https://forum.seuntjie.com

donkas007
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
August 30, 2018, 10:45:45 AM
 #1046

Hi there,

Is it also possible to switch and load to another betting coin from the console instead through the menu?
So from BTC to LTC or DOGE etc.
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
September 01, 2018, 03:42:20 PM
 #1047

Hi there,

Is it also possible to switch and load to another betting coin from the console instead through the menu?
So from BTC to LTC or DOGE etc.


Yes. Use the currency variable.

See https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables for a list of available variables.

donkas007
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
September 01, 2018, 04:32:48 PM
 #1048

Hi there,

Is it also possible to switch and load to another betting coin from the console instead through the menu?
So from BTC to LTC or DOGE etc.


Yes. Use the currency variable.

See https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables for a list of available variables.

Cool, works if you enter the correct coin name, thanks. Smiley
How does the currencies.strings works. How to get the list of availible coins at the casino where i logged in from the Dicebot console. Did try but cannot find out how to get the list.
kwong1983
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
September 02, 2018, 05:26:48 PM
Last edit: September 02, 2018, 05:37:00 PM by kwong1983
 #1049

Hey guys,

I am stuck on this coding. Everthing run smootly until i run into ZERO then the system stuck.

How do i set my min bet is 0.00001000

if (win) then
    nextbet = previousbet - 0.00001000

if (loss) then
    nextbet = previousbet + 0.00001000


example
0.00001000 Loss
0.00002000 Loss
0.00003000 Win
0.00002000 Win
0.00001000 Win
0.00001000 Win (This is where the system bet 0 and got stuck what i want is to tell the system to keep betting 0.00001000)
0.00001000 Win

Thanks
Kwong
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
September 02, 2018, 06:23:41 PM
 #1050


Cool, works if you enter the correct coin name, thanks. Smiley
How does the currencies.strings works. How to get the list of availible coins at the casino where i logged in from the Dicebot console. Did try but cannot find out how to get the list.


currencies is an array of strings. You can access it like any other array, for example print(currencies[1]).

Hey guys,

I am stuck on this coding. Everthing run smootly until i run into ZERO then the system stuck.

How do i set my min bet is 0.00001000

if (win) then
    nextbet = previousbet - 0.00001000

if (loss) then
    nextbet = previousbet + 0.00001000


example
0.00001000 Loss
0.00002000 Loss
0.00003000 Win
0.00002000 Win
0.00001000 Win
0.00001000 Win (This is where the system bet 0 and got stuck what i want is to tell the system to keep betting 0.00001000)
0.00001000 Win

Thanks
Kwong
You need to make sure that you never bet less than the specified amount. so you need to add an if to your script that compares the bet value to your minimum bet. Maybe alter one of your ifs to check that it's a win and that the previous bet was larger than the minimum bet?

Alternatively, you could use the D'Alembert system in the advanced mode, it does exactly what your script does, and set a minimum bet in the stop conditions tab.

zombie35
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
September 08, 2018, 02:15:44 PM
 #1051

Quote
-- UNTESTED!!

-- Set these 3 values to match the site you're using and what you want your baseBet to be

houseEdge = 1 -- ie HE = 0.8% = 0.8, HE = 1.1% = 1.1
maxPayout = 9900 -- set this to site max! 9920x = Crypto-Games.net
basebet = 0.00000020

---------------------- Don't Edit below here Wink --------------------------

basePayout = 1.1 -- start at 1.1x payout
firstLossPayout = 2
currPayout = basePayout

nextbet = basebet
chance = (100 - houseEdge) / currPayout
bethigh = true
maxPayoutReached = false

function dobet()
 
  if win then
    --reset Payout to 1.1x
    currPayout = basePayout
  else
    if currPayout == basePayout then
      -- first loss
      currPayout = firstLossPayout
    else
      currPayout = currPayout + 1
    end
  end

  if maxPayoutReached then
    stop()
    nextbet = 0
  end

  if currPayout > maxPayout then
    maxPayoutReached = true
  else
    chance = (100 - houseEdge) / currPayout
  end

end   

I use this script. Very successful .
But I have a problem. if 9900 roll lose, script stoped.

if 9900 rolls lose , I want continue and start basebet x1.01 incease every rolls until win. (the chances of winning will remain constant) "9900 rolls(payout) (chance = 0.01)"
if win, re-start

how to possible ? I'm waiting for support please..


dimondimon
Member
**
Offline Offline

Activity: 270
Merit: 10


View Profile
September 10, 2018, 05:38:15 AM
 #1052

Code:
chance = 98.99
bethigh = True
basebet = 0.00000300
nextbet = basebet

count = 0

function dobet()

  nextbet = basebet
  count = count + 1
  if lastBet.Roll < 0.5 or lastBet.Roll > 99.49 then
    count = 0
  end

  if count >= 500 then
    Stop()
    nextbet = 0
  end

end


How to make the counter reset only for the number that did not fall into the conditions, and for another number continued to be considered
kwong1983
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
September 17, 2018, 04:31:14 PM
 #1053

How do i code in programmer mode "btc streak profit"? just like in advance mode.

I was able to code similar to "btc profit" but i wanted to add "btc streak profit" as a safety option thanks.
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
September 19, 2018, 06:54:13 AM
 #1054

How do i code in programmer mode "btc streak profit"? just like in advance mode.

I was able to code similar to "btc profit" but i wanted to add "btc streak profit" as a safety option thanks.

You need to reset your streak profit when it's the first win in a series or a first loss in a series, then add the profit of the previous bet to your counter.

Code:
streakprofitcounter =0

if currentstreak==1 or currentstreak==-1 then
streakprofitcounter =currentprofit
else
streakprofitcounter +=currentprofit
end

as for btc profit, you don't need to program it, just use the profit variable.

See https://forum.seuntjie.com/index.php?topic=2.0 for a list of tuturials for the programmer mode, including a reference list of available variables and methods.

houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
September 23, 2018, 01:40:34 PM
Last edit: September 24, 2018, 04:09:27 AM by houseworx
 #1055

Hey, I know that somewhere Iv seen question about that kind of thing, but can't find it anymore.

   if (modbuton == true) then
      hilonumb = math.random(45,50)

what does that kind of statement really doing?

exactly numbers 45, 50

what will be changed if i will put there like 5, 95 or 1, 99 or 20, 80???

hope someone can explain it to me Smiley


and another question is there is possible to make that bot "auto start" after stopping when internet connection or dicewebpage get some error?! Smiley

████          O W N R   W A L L E T          ████   VISA PREPAID CARD    ████  Use crypto to pay in stores with OWNR  ████
❱❱❱❱ ❱❱❱ ❱❱ ❱     Buy, send, receive and exchange crypto        VISA    mastercard   SPA    UnionPay     ❰ ❰❰ ❰❰❰ ❰❰❰❰
BLOG       TWITTER     ██ █▌█ ▌     Manage crypto and VISA card in OWNR Wallet app    ▐ █▐█ ██     REDDIT   YOUTUBE
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
September 28, 2018, 07:55:27 PM
 #1056

math.random has 3 possible variations:

math.random() = generates pseudo-random "real" numbers between 0 and 1

math.random(m) = when m is an integer = generates pseudo-random integer numbers in the range [1,m]

math.random(m,n) = when m and n = generates pseudo-random integer numbers in the range [m,n]


So, in your example, it will be generating numbers in the range [45,50]... or in other words, a "random" number selected from 45,46,47,48,49 and 50.

There is no auto-start built into dicebot... you might be able to achieve it using some sort of 3rd-party Windows automation tool, but it isn't possible within the confines of the dicebot

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
September 28, 2018, 09:27:17 PM
 #1057

math.random has 3 possible variations:

math.random() = generates pseudo-random "real" numbers between 0 and 1

math.random(m) = when m is an integer = generates pseudo-random integer numbers in the range [1,m]

math.random(m,n) = when m and n = generates pseudo-random integer numbers in the range [m,n]


So, in your example, it will be generating numbers in the range [45,50]... or in other words, a "random" number selected from 45,46,47,48,49 and 50.

There is no auto-start built into dicebot... you might be able to achieve it using some sort of 3rd-party Windows automation tool, but it isn't possible within the confines of the dicebot

big thanks for answer HCP, its really made me understand that math.random "thing"! Wink

████          O W N R   W A L L E T          ████   VISA PREPAID CARD    ████  Use crypto to pay in stores with OWNR  ████
❱❱❱❱ ❱❱❱ ❱❱ ❱     Buy, send, receive and exchange crypto        VISA    mastercard   SPA    UnionPay     ❰ ❰❰ ❰❰❰ ❰❰❰❰
BLOG       TWITTER     ██ █▌█ ▌     Manage crypto and VISA card in OWNR Wallet app    ▐ █▐█ ██     REDDIT   YOUTUBE
Pandarian
Jr. Member
*
Offline Offline

Activity: 132
Merit: 1


View Profile
September 29, 2018, 02:51:47 AM
 #1058

Absolutly lovely thread. I'm trying to hun t specific numbers with scripting

Thanks
djshadowfax
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 05, 2018, 10:52:45 AM
 #1059

@zombie35 did you find a solution?
patrickjo2001
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 05, 2018, 07:09:25 PM
 #1060

Good morning all

I am having a problem with dicebot, all bet place above 0.001XX satoshies give a lag. in the status bar you can see a message "Please try again in a few seconds". the delays can vary from 10 seconds to 2 hours.
I want to know how to disable this setting.
I have been writing but no one seems to hear my concern and let explain to me what is wrong with this dicebot.
if someone can help. please can he share how to disable this annoying setting.
Thank you in advance.


here below is the screenshot.

https://prntscr.com/leni8t
Pages: « 1 ... 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 [53] 54 55 56 57 58 59 60 61 62 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!