Bitcoin Forum
April 23, 2024, 05:47:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 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 125123 times)
optimuz
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 17, 2018, 01:24:13 AM
 #1021

If you're going to run on a low RAM setup, you'll probably need to disable the charting to avoid OOM (Out of Memory) issues. Also, depending on the complexity of the script(s) you're testing... you might find that 2GB is a little low if you're setting up lots (as in hundreds) of variables/data structures etc.

If the scripts are relatively simple, 2GB should probably suffice... Obviously, the more the better Tongue

Thank you for perfect and detailed responce!
1713894477
Hero Member
*
Offline Offline

Posts: 1713894477

View Profile Personal Message (Offline)

Ignore
1713894477
Reply with quote  #2

1713894477
Report to moderator
1713894477
Hero Member
*
Offline Offline

Posts: 1713894477

View Profile Personal Message (Offline)

Ignore
1713894477
Reply with quote  #2

1713894477
Report to moderator
1713894477
Hero Member
*
Offline Offline

Posts: 1713894477

View Profile Personal Message (Offline)

Ignore
1713894477
Reply with quote  #2

1713894477
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
lilly69
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 01, 2018, 12:47:41 PM
 #1022


Hello,
I'm new and dont know how to create a script.
I would like to create a script :
98% chance to win betbase 1 (dont care for the loss and win)
if 5 number in a row < or > 50 so change the bet base to 100, chance to 50% and multiplie by 2
if 2 number in a row > 80 or < 20 change the bet base to 100, chance to 80% and multiplie by 7
if 4 number in a row  > 70 or <30 change the bet base to 100, chance to 70% and multiplie by 3,5
...
It is possible ?
Thanks in advance if someone can help me.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 01, 2018, 01:44:38 PM
 #1023

Probably very possible... couple of questions for you:

1. is it meant to check "4 numbers in a row > 70" (ie. 74, 82, 80, 92) or "4 numbers in a row < 30" (ie. 15, 20, 28, 11) or can it alternate? (ie. 12, 83, 22, 91) = set 70%?
2. When you set the chance to 50%, 70% or 80%, do you want the high/low set to a specific option? If so... what?
3. What should the script do if it is already betting one option (say, 2 numbers > 80) and it comes across another sequence (ie. 4 numbers < 30)?
4. Should it just reset to 98% and basebet on any win?
5. how long should it "martingale" with the multipliers when betting one of the options? should it just go until bankroll is busted? or is there a maximum number of losses to bet for? or a maximum amount to bet up to?

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
KhurelbaatarN
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 21, 2018, 07:19:32 PM
Last edit: April 21, 2018, 07:52:29 PM by KhurelbaatarN
 #1024

HELLO
I had tried to add in this script
Winnumb = 0
if win number >3 then next bet=basebet but it does not work correctly pls help me
Code:
math.randomseed(os.time()) -- sets random seed using system time

-- set basebet and chance according to your requirements
basebet = 0.00000001
chance = 43.130 -- 2.3x payout on Crypto-Games.net
balancetarget = 0.0001 -- Script will stop if balance greater than this value

if (math.random(100) >= 50) then
  bethigh = true
else
  bethigh = false
end

nextbet = basebet

function dobet()

 [color=red] if (win) then
    -- reverse martingale
    nextbet = previousbet * 1.9
  else
    -- revert to base
    nextbet = basebet
  end  [/color]

  if (math.random(100) >= 50) then
    bethigh = true
  else
    bethigh = false
  end

  if balance > balancetarget then
    nextbet = 0
    stop()
  end

end

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 23, 2018, 04:24:59 AM
 #1025

HELLO
I had tried to add in this script
Winnumb = 0
if win number >3 then next bet=basebet but it does not work correctly pls help me
You need to make sure that you are setting and resetting the counter correctly... so you need to add 1 to the winnum each time you win, and then check it to see if your condition (winnum > 3) has been reached. If so, then you need to reset the bet AND the counter... otherwise it will just keep counting to infinity and always trigger the winnum >3 condition Wink

something like this:
Code:
math.randomseed(os.time()) -- sets random seed using system time

-- set basebet and chance according to your requirements
basebet = 0.00000001
chance = 43.130 -- 2.3x payout on Crypto-Games.net
balancetarget = 0.0001 -- Script will stop if balance greater than this value

if (math.random(100) >= 50) then
  bethigh = true
else
  bethigh = false
end

winnum = 0

nextbet = basebet

function dobet()

 if (win) then
    -- reverse martingale
    nextbet = previousbet * 1.9
    winnum = winnum + 1
    if (winnum > 3) then
      nextbet = basebet
      winnum = 0
    end
  else
    -- revert to base
    nextbet = basebet
    winnum = 0
  end

  if (math.random(100) >= 50) then
    bethigh = true
  else
    bethigh = false
  end

  if balance > balancetarget then
    nextbet = 0
    stop()
  end

end

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 23, 2018, 10:12:06 PM
 #1026

That is very doable... although your (chance == chance) logic seems very flawed... I'm not sure what you were actually attempting to achieve with this? Huh Looking at the code you have, it seems that you want to modify the multiplier every 30 losses... returning to basebet if you win? and changing HIGH/low every 30 losses...

Hopefully, this code should do what I think it is that you're attempting to do

NOTE: This code is completely untested, use at your own risk. It probably won't even run without editing.
Code:
chance = 49.5 -- EDIT THIS
bethigh = true
basebet = 0.00000001
nextbet = basebet

multipliers = {1,1.112,1.113,1.115}

losscount = 0
stepcount = 1
maxstep = #multipliers

function dobet()

  if (win) then
    nextbet = basebet
    losscount = 0
    stepcount = 1
  else
    losscount = losscount + 1
    if losscount == 30 then
      stepcount = stepcount + 1
      if stepcount > maxstep then
        -- make sure we don't exceed the size of multipliers table
        stepcount = maxstep
      end
      losscount = 0
      bethigh = !bethigh
    end
    nextbet = previousbet * multiplier[stepcount]
  end

end

As currently setup, assuming a loooooong losing streak, this should go something like:
Roll 1: HIGH - 0.00000001 - Loss
Roll 2: HIGH - 0.00000001 - Loss
Roll 3: HIGH - 0.00000001 - Loss
...
Roll 30: HIGH - 0.00000001 - Loss
Roll 31: low - 0.00000001112 - Loss
Roll 32: low - 0.00000001236 - Loss
...
Roll 60: low - 0.00000021729 - Loss
Roll 61: HIGH - 0.00000024184 - Loss
Roll 62: HIGH - 0.00000026917 - Loss
...
Roll 90: HIGH - 0.00000539379 - Loss
Roll 91: low - 0.00000601407 - Loss
Roll 92: low - 0.00000670569 - Loss
...

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 25, 2018, 01:02:35 AM
 #1027

thank you very much for replying to the message
but the script gave an error wrote.[string "chunk"]:23: attempt to index global 'multiplier' (a number value)
makes 2 bets and stops
NOTE: This code is completely untested, use at your own risk. It probably won't even run without editing.
Like I said... it was untested... and as expected has bugs... so you need to change:
nextbet = previousbet * multiplier[stepcount]
to
nextbet = previousbet * multipliers[stepcount]


Quote
strategy such .after winning the button changes and returns to the beginning of the bet
If you want the script to change high/low on a win as well... simply add:
bethigh = !bethigh

into the "if (win) then" block:
Code:
...
  if (win) then
    nextbet = basebet
    losscount = 0
    stepcount = 1
    bethigh = !bethigh
  else
...

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 26, 2018, 02:06:22 AM
 #1028

script. change button after the change %.what do you think after the win that changed   ?
test need to
give dogs a purse.than I can. thank
I'm sorry... I don't quite understand what it is that you're saying/asking? Huh Did you use Google translate?

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
April 27, 2018, 08:32:29 AM
 #1029

Your original script looked like it wanted High/low changed on the every 30 losses...
Quote
if losscount==30 then
     nextbet = previousbet*1.112
     chance = chance
     bethigh =!bethigh

So I just followed that... if you DON'T want it changing high/low when losing... and ONLY want it changing High/low when there is a win, simply remove the "bethigh = !bethigh" line from the from the "if losscount == 30" section:
Quote
if losscount == 30 then
      stepcount = stepcount + 1
      if stepcount > maxstep then
        -- make sure we don't exceed the size of multipliers table
        stepcount = maxstep
      end
      losscount = 0
      bethigh = !bethigh <-- delete this
    end

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
dimondimon
Member
**
Offline Offline

Activity: 270
Merit: 10


View Profile
May 15, 2018, 08:49:35 AM
 #1030

who will write the script ---- Start at 98 chance, stop if roll number 0 or 9999.  has not dropped 50 thousand times .---


will pay 50 thousands of Satoshi
emberbekas
Legendary
*
Offline Offline

Activity: 1904
Merit: 1000



View Profile
May 15, 2018, 07:07:18 PM
 #1031

who will write the script ---- Start at 98 chance, stop if roll number 0 or 9999.  has not dropped 50 thousand times .---


will pay 50 thousands of Satoshi

Do you want to play at 98% win of chance and stop the roll when you hit 0.00 or 99.99? If so, try with this script and wish you good luck!


Code:
nextbet = 0.00001 -- set your base bet here!
chance = 98
target = 0.00
target1 = 99.99


function dobet()

    if lastBet.roll == target then
ching();
                stop();
    end

       if lastBet.roll == target1 then
ching();
                stop();
    end

end

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 15, 2018, 07:23:19 PM
 #1032

This script will just bet continuously until there are 50000 consecutive rolls where 0 or 9999 have not been rolled.

NOTE: depending on the site used... you may need to change "lastBet.Roll == 0" and "lastBet.Roll == 9999" to something like "lastBet == 0.0000" and "lastBet.Roll == 99.9999" or whatever format the site is using for it's results.

As always, it's pretty much untested...

Code:
chance = 98
bethigh = True
basebet = 0.00000010
nextbet = basebet

count = 0

function dobet()

  nextbet = basebet
  count = count + 1
  if lastBet.Roll == 0 or lastBet.Roll == 9999 then
    count = 0
  end

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

end

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
May 15, 2018, 10:38:44 PM
 #1033

FYI DiceBot always parses the result to somewhere between 0 and 100. If a site rolls between 0 and 9999, dicebot will show and process it as between 0 and 99.99 (so a 9999 in the site is a 99.99 in the bot, a 1 in the site is a 0.01 in the bot). But HCP is still correct, some sites use more decimals than others. You can use the site.maxroll variable to get the accurate maximum roll a site can give.

dimondimon
Member
**
Offline Offline

Activity: 270
Merit: 10


View Profile
May 16, 2018, 04:15:41 AM
 #1034

who will write the script ---- Start at 98 chance, stop if roll number 0 or 9999.  has not dropped 50 thousand times .---


will pay 50 thousands of Satoshi

Do you want to play at 98% win of chance and stop the roll when you hit 0.00 or 99.99? If so, try with this script and wish you good luck!


Code:
nextbet = 0.00001 -- set your base bet here!
chance = 98
target = 0.00
target1 = 99.99


function dobet()

    if lastBet.roll == target then
ching();
                stop();
    end

       if lastBet.roll == target1 then
ching();
                stop();
    end

end

LUA ERROR!!
'(' expected, got 'if'
dimondimon
Member
**
Offline Offline

Activity: 270
Merit: 10


View Profile
May 16, 2018, 04:16:22 AM
 #1035

This script will just bet continuously until there are 50000 consecutive rolls where 0 or 9999 have not been rolled.

NOTE: depending on the site used... you may need to change "lastBet.Roll == 0" and "lastBet.Roll == 9999" to something like "lastBet == 0.0000" and "lastBet.Roll == 99.9999" or whatever format the site is using for it's results.

As always, it's pretty much untested...

Code:
chance = 98
bethigh = True
basebet = 0.00000010
nextbet = basebet

count = 0

function dobet()

  nextbet = basebet
  count = count + 1
  if lastBet.Roll == 0 or lastBet.Roll == 9999 then
    count = 0
  end

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

end

No work .
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 16, 2018, 05:47:43 AM
 #1036

No work .
No explanation.  Roll Eyes

That's not a terribly useful bug report... Care to explain how it isn't working? Huh Is it not running? does dicebot give any error? Is it a logic error? Is it not doing what you wanted? what site are you trying to run it on?

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
dimondimon
Member
**
Offline Offline

Activity: 270
Merit: 10


View Profile
May 16, 2018, 06:36:26 AM
 #1037

sorry tried again to start and earned. But it doesn't show that the stone wasn't, 0 or 9999, it just writes [string "chunk"]: 13: attempt to call global 'Stop' (a nil value)
B4RF
Hero Member
*****
Offline Offline

Activity: 813
Merit: 507


View Profile
May 16, 2018, 07:01:33 AM
 #1038

sorry tried again to start and earned. But it doesn't show that the stone wasn't, 0 or 9999, it just writes [string "chunk"]: 13: attempt to call global 'Stop' (a nil value)

You wont see any output since there is no print in the code before the stop.
And it seems that it worked besides that stop() is case sensitive so it didnt stop through the function but an error Cheesy


▄▄▄████████▄▄▄
▄██████████████████▄
▄██████████████████████▄
██████████████████████████
████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
████████████████████████████
██████████████████████████
▀██████████████████████▀
▀██████████████████▀
▀▀▀████████▀▀▀
   ███████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
███████
BTC  ◉PLAY  ◉XMR  ◉DOGE  ◉BCH  ◉STRAT  ◉ETH  ◉GAS  ◉LTC  ◉DASH  ◉PPC
     ▄▄██████████████▄▄
  ▄██████████████████████▄        █████
▄██████████████████████████▄      █████
████ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████     ▄██▀
████ █████ ██████ █████ ████    ▄██▀
████ █████ ██████ █████ ████    ██▀
████ █████ ██████ █████ ████    ██
████ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ████ ▄██████▄
████████████████████████████ ████████
███████▀            ▀███████ ▀██████▀
█████▀                ▀█████
▀██████████████████████████▀
  ▀▀████████████████████▀▀ 
✔️DICE           
✔️BLACKJACK
✔️PLINKO
✔️VIDEO POKER
✔️ROULETTE     
✔️LOTTO
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
May 16, 2018, 10:20:10 AM
 #1039

But it doesn't show that the stone wasn't, 0 or 9999, it just writes [string "chunk"]: 13: attempt to call global 'Stop' (a nil value)
Damn... That's what you get for trying to type code on a mobile device! Stupid auto-capitalisation Roll Eyes

Yeah... It should be stop(), not Stop() Tongue

Also, did you want it to specify if it was a 0 or a 9999 that hadn't shown up for 50000 rolls?

If so, that code won't do that... It'll simply stop because there has not been a 0 AND no 9999 in 50000 consecutive rolls... But it could be that there was no 9999 for 75000 rolls, but there was a couple of 0s that reset the count.

If you need it to track both numbers separately, the code will need to be modified:
Code:
chance = 98
bethigh = True
basebet = 0.00000010
nextbet = basebet

zerocount = 0
ninescount = 0

function dobet()

  nextbet = basebet
  zerocount = zerocount + 1
  ninescount = ninescount + 1
  if lastBet.Roll == 0 then
    zerocount = 0
  else if lastBet.Roll == 9999 then
    ninescount = 0
  end

  if zerocount >= 50000 then
    print("50000 rolls without 0")
    ching()
    stop()
    nextbet = 0
  end
  if ninescount >= 50000 then
    print("50000 rolls without 9999")
    ching()
    stop()
    nextbet = 0
  end

end

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


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

Activity: 6
Merit: 0


View Profile
June 28, 2018, 08:15:41 AM
 #1040

This LUA Script , Not running, Why ?
999dice ,DOGE, My balance 5000 DOGE
Huh Huh Huh

Script URL https://bot.seuntjie.com/scripts.aspx?id=5236

Error Screen
Quote
Starting Dicebot 3.3.18
start()
LUA ERROR!!
'then' expected, got 'nextbet'

Script
Quote
-- Estimated chances
--8 losses = 1 in 6600
--9 losses = 1 in 19700
--10 losses = 1 in 59000
--11 losses = 1 in 177100
--12 losses = 1 in 531400
--Any unlikely tips from wins are appreciated. Recommend you tip seuntjie first.

--My btc tip address = 16nVbRQM198oHALWUNonamJNHYf9NMCMeG
chance= 66
basebet= 0.00000002
nextbet = basebet
function dobet()
if win then
   if currentstreak > 2 then
      nextbet = 0.00000001
   else
      nextbet= basebet
   end
else
   if previousbet*2.6> balance then
      nextbet=balance/7.5
   else
      if currentstreak == -1
         nextbet = previousbet*2
      elseif currentstreak == -2
         nextbet = previousbet*2.1
      elseif currentstreak == -3
         nextbet = previousbet*2.2
      elseif currentstreak == -4
         nextbet = previousbet*2.3
      elseif currentstreak == -5
         nextbet = previousbet*2.4
      elseif currentstreak == -6
         nextbet = previousbet*2.5
      else
         nextbet = previousbet*2.6

end
end
   end
      
      end
      end   
      end
      end
                end
                end
Pages: « 1 2 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!