Bitcoin Forum
May 06, 2024, 07:22:33 AM *
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 125132 times)
houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
July 28, 2017, 06:32:20 PM
Last edit: July 28, 2017, 06:58:59 PM by houseworx
 #741

simple i need frame that makes:

- chance = x
- with losecount calculating
- first basebet is balance/50000
- then was 12 rolls with same basebet
- then in 13th roll it will start increasing from previous bet(NOT FROM BALANCE/50000) by previousbet*1.065(   if (losecount > 11) then
      nextbet = previousbet*1.065)

- and now after win he will calculate again new basebet from balance/50000
- then again 12 rolls with same previousNEW calculated basebet
- after every lose resetseed()
- and repeat


+with stoponwin, if its possible to work with that....




thanks!


found something like this, but idk what is enablesrc and enablezz at all, and for what there is line percentage

chance = 5
base = balance*.00002
enablezz = true
enablesrc = true
percentage = .00002
function dobet()
if win then
nextbet = balance*.00002
else
nextbet = previousbet+(previousbet*.065)
end
end

need to add this prebet/preroll idk what is right terminology

████          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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
July 28, 2017, 07:19:51 PM
 #742

https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-01-overview
https://steemit.com/seuntjie/@seuntjie/dicebot-programmer-mode-tutorial-01-2-functions
https://steemit.com/dicebot/@seuntjie/dicebot-programmer-mode-tutorial-1-1-variables

Eremitos
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
July 28, 2017, 10:46:50 PM
 #743

So, I wanted to make script that bets on 50x payout and changes side every two wins. I also wanted it to double basebet after reaching given balance.

chance=2.00
nextbet=0.00000073
bethigh= false

function dobet ()

If win then
wincount == wincount + 1
   if wincount == 2 then
      if bethigh = false then
      bethigh = true
      else
      bethigh = false
      end
   wincount == 0
   end
end


if balance > 0.001 then
nextbase = nextbase*2
end

Unfortunately I get 'LUA ERROR!! assignment statement expected, got 'win'' tho I saw many examples here with 'if win then' line and everything seemed to be ok. I must admit this is a bit frustrating. Would anyone be so kind and check it for me please?
B4RF
Hero Member
*****
Offline Offline

Activity: 813
Merit: 507


View Profile
July 28, 2017, 11:06:01 PM
 #744

So, I wanted to make script that bets on 50x payout and changes side every two wins. I also wanted it to double basebet after reaching given balance.

Code:
chance=2.00
nextbet=0.00000073
bethigh= false

function dobet ()

If win then
wincount == wincount + 1
if wincount == 2 then
if bethigh = false then
bethigh = true
else
bethigh = false
end
wincount == 0
end
end

if balance > 0.001 then
nextbase = nextbase*2
end

Unfortunately I get 'LUA ERROR!! assignment statement expected, got 'win'' tho I saw many examples here with 'if win then' line and everything seemed to be ok. I must admit this is a bit frustrating. Would anyone be so kind and check it for me please?


As always...pls use code tags.
You used double equals but needed to use single ones and the other way around.
Additionally you were missing an end at the very end of your script. formatting helps finding those easy mistakes.

Code:
chance=2.00
nextbet=0.00000073
bethigh= false

function dobet ()

  If win then
    wincount = wincount + 1         -- only one '=' if you want to assign and not equate
    if wincount == 2 then
      if bethigh == false then          -- this one actually needs a double '='
bethigh = true
      else
bethigh = false
      end
      wincount = 0                         -- same as above
    end
  end

  if balance > 0.001 then
    nextbase = nextbase*2
  end
end                                             -- missing end


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

Activity: 1007
Merit: 1000


View Profile
July 29, 2017, 03:24:31 AM
 #745

So, I wanted to make script that bets on 50x payout and changes side every two wins. I also wanted it to double basebet after reaching given balance.

Code:
chance=2.00
nextbet=0.00000073
bethigh= false

function dobet ()

If win then
wincount == wincount + 1
if wincount == 2 then
if bethigh = false then
bethigh = true
else
bethigh = false
end
wincount == 0
end
end

if balance > 0.001 then
nextbase = nextbase*2
end

Unfortunately I get 'LUA ERROR!! assignment statement expected, got 'win'' tho I saw many examples here with 'if win then' line and everything seemed to be ok. I must admit this is a bit frustrating. Would anyone be so kind and check it for me please?


As always...pls use code tags.
You used double equals but needed to use single ones and the other way around.
Additionally you were missing an end at the very end of your script. formatting helps finding those easy mistakes.

Code:
chance=2.00
nextbet=0.00000073
bethigh= false

function dobet ()

  If win then
    wincount = wincount + 1         -- only one '=' if you want to assign and not equate
    if wincount == 2 then
      if bethigh == false then          -- this one actually needs a double '='
bethigh = true
      else
bethigh = false
      end
      wincount = 0                         -- same as above
    end
  end

  if balance > 0.001 then
    nextbase = nextbase*2
  end
end                                             -- missing end

What B4RF said.  Also   

  If win then      is not the same as
  if win then     

Lua does not know what If is.  So it's expecting it to be a variable and looking for an Equal sign to follow.   

seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
July 29, 2017, 08:04:53 AM
 #746

I post this every now and then because I see quite a few people with very little programming knowledge asking questions (and I really hate learned helplessness).

I have written a few tutorials about programming with LUA and the programmer mode, the tutorials are linked at the top of the article on https://bot.seuntjie.com/programmermode.aspx

The youtube tutorials are more for existing programmers and highlight some of the features of the programmer mode, where the steemit tutorials are more for beginners, and go over some of the basics of programming, like what are variables and functions, what's the difference between = and ==, how to write an if statement etc. It also lists the built in functions and variables and explains each of them.

houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
July 29, 2017, 08:53:37 PM
 #747

there is possibility to watch/see graph's of/from simulation's?!

████          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
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
July 29, 2017, 09:27:02 PM
 #748

there is possibility to watch/see graph's of/from simulation's?!

Once you've run the simulation, you can open the simulation window (if you ran it from the programmer mode, otherwise it's already open) and click the export sim button and save the simulation as a CSV file that you can open in excel, or whatever, and draw your own charts from it.

ps: I've added an exportsim() function to the next version so you can export the simulation directly from the programmer mode. It will open the save file dialog, so don't go attempting to use it from inside a script

houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
July 29, 2017, 09:38:44 PM
Last edit: July 29, 2017, 10:14:09 PM by houseworx
 #749

there is possibility to watch/see graph's of/from simulation's?!

Once you've run the simulation, you can open the simulation window (if you ran it from the programmer mode, otherwise it's already open) and click the export sim button and save the simulation as a CSV file that you can open in excel, or whatever, and draw your own charts from it.

ps: I've added an exportsim() function to the next version so you can export the simulation directly from the programmer mode. It will open the save file dialog, so don't go attempting to use it from inside a script

how I can see graph(LIVE CHART) from .csv file what are opened in excel(or whatever) from this numbers?! is it possible?!

graph(comes from poker terminology for me) = graphic diagram like we can see when bot is running and playing.

maybe better terminology for you and dice game are LIVE CHART!?

edited:iv reed google, yes somehow is possible to make graph/chart from csv file, okey.

but by this question i mean, if this possibility is in dicebot 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
seuntjie
Legendary
*
Offline Offline

Activity: 1717
Merit: 1125



View Profile WWW
July 30, 2017, 07:51:25 AM
 #750

there is possibility to watch/see graph's of/from simulation's?!

Once you've run the simulation, you can open the simulation window (if you ran it from the programmer mode, otherwise it's already open) and click the export sim button and save the simulation as a CSV file that you can open in excel, or whatever, and draw your own charts from it.

ps: I've added an exportsim() function to the next version so you can export the simulation directly from the programmer mode. It will open the save file dialog, so don't go attempting to use it from inside a script

how I can see graph(LIVE CHART) from .csv file what are opened in excel(or whatever) from this numbers?! is it possible?!

graph(comes from poker terminology for me) = graphic diagram like we can see when bot is running and playing.

maybe better terminology for you and dice game are LIVE CHART!?

edited:iv reed google, yes somehow is possible to make graph/chart from csv file, okey.

but by this question i mean, if this possibility is in dicebot Smiley

It's not possible to do a live chart of a simulation since you can only export the csv after the simulation is completed. It also doesn't make sense to do a live chart as it would slow down the simulation even further and the simulation is for analytical purposes. DiceBots simulations are meant to be looked at after the fact, not while the simulation is running.

A live chart is updated in real time, as the bets are made, after every bet.

You cannot make a chart of a simulation in dicebot. You have to export the simulatino to a csv and then create a chart in excel or some other spreadsheet program.

AMONRA75
Full Member
***
Offline Offline

Activity: 148
Merit: 100


View Profile
July 30, 2017, 11:18:43 AM
 #751

hi all,

i need to auto withdraw when balance is 0.01
please help me

houseworx
Full Member
***
Offline Offline

Activity: 319
Merit: 100


View Profile
July 31, 2017, 05:12:26 AM
Last edit: July 31, 2017, 01:54:36 PM by houseworx
 #752

there is possibility to watch/see graph's of/from simulation's?!

Once you've run the simulation, you can open the simulation window (if you ran it from the programmer mode, otherwise it's already open) and click the export sim button and save the simulation as a CSV file that you can open in excel, or whatever, and draw your own charts from it.

ps: I've added an exportsim() function to the next version so you can export the simulation directly from the programmer mode. It will open the save file dialog, so don't go attempting to use it from inside a script

how I can see graph(LIVE CHART) from .csv file what are opened in excel(or whatever) from this numbers?! is it possible?!

graph(comes from poker terminology for me) = graphic diagram like we can see when bot is running and playing.

maybe better terminology for you and dice game are LIVE CHART!?

edited:iv reed google, yes somehow is possible to make graph/chart from csv file, okey.

but by this question i mean, if this possibility is in dicebot Smiley

It's not possible to do a live chart of a simulation since you can only export the csv after the simulation is completed. It also doesn't make sense to do a live chart as it would slow down the simulation even further and the simulation is for analytical purposes. DiceBots simulations are meant to be looked at after the fact, not while the simulation is running.

A live chart is updated in real time, as the bets are made, after every bet.

You cannot make a chart of a simulation in dicebot. You have to export the simulatino to a csv and then create a chart in excel or some other spreadsheet program.
Okey, I will know, thanks!

maybe You can say, why this kind of stuff dsnt works?

   if (losecount > 0) then
      nextbet = previousbet+0.00000010

If first bet was 0.00000100, then he will make second one 0.00000254 and third 0.00000408, 0.00000562, 0.00000716, 0.00000870, with this command lines, why?!

maybe there is another simplies method, to do/make, that bot's add 0.000000xx amount for every 10 losed bets in row?! like first 10bets he add 1, next 10bets he add 1.1, next 10bets he add 1.2?!

btw, here is some people who has very good in simulation's? I wanna learn, what I'v can get out for myself from simulations, because many points I dont get...

████          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
haybee191
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 31, 2017, 06:22:36 PM
 #753

hello guys, i need a bit of help adjusting the following script, it starts with chance 81.12, and changes to 33.33 chance after first lost and uses a multiplier until a win before reverting to its basebet and starting chance of 81.12. i would simply like for the script to be modified so that when the chance switches to 33.33 after a loss, after 5 losses in a row,the bet size changes to static 0.00000001 until a win and then the previous bet pattern resumes until another row of 5 losses  in a row where it pauses again and bets 0.00000001 until a win where it resumes from the previous level, i believe u understand what i am trying to do here
Code:
chance = 81.12
bethigh = true
basebet = 0.00000031
nextbet = basebet

function dobet()
if (win) then
chance = 81.12
   nextbet = basebet
else
if chance == 33.33  then
nextbet = previousbet * 1.59738
else
chance = 33.33
   nextbet = basebet/3.3
end
end
end
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
July 31, 2017, 11:29:16 PM
Last edit: July 31, 2017, 11:40:55 PM by HCP
 #754

You'll want to include a paused "flag" and a loss counter...  so, if there is a "win", you reset the lossCount back to 0... if a "loss" AND chance == 33.33 then you increment it by 1. When the counter gets to 5, you set the flag to true and use that condition to specify the betsize = 0.00000001

I assume when you say that "it resumes from the previous level" that you want it to store the old bet amount from where it paused... and then use that once it starts betting again?


NOTE: this code is UNTESTED
Code:
chance = 81.12
bethigh = true
basebet = 0.00000031
nextbet = basebet
losscount = 0
oldbet = 0
paused = false

function dobet()

  if win then
    if paused then
      losscount = 0
      paused = false
      nextbet = oldbet * 1.59738 -- resume betting at previous level
    else
      chance = 81.12
      nextbet = basebet
    end

  else
    if chance == 33.33 then
      losscount = losscount + 1
      if losscount == 5 then
        paused = true
        nextbet = 0.00000001
        oldbet = previousbet -- save the current bet for resuming later
      elseif losscount > 5 then
        paused = true
        nextbet = 0.00000001
      else
        nextbet = previousbet * 1.59738
      end
    
    else
      chance = 33.33
      nextbet = basebet/3.3
    end

  end

end

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


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

Activity: 319
Merit: 100


View Profile
August 02, 2017, 02:37:45 AM
 #755

another issue is that bot making "fast doublebets" when amounts are bigger, and are night internet connection is better and dice site servers are less people.

sample:he need to stop when win and make basebet, but it can;t assimilate information or what, and make another big bet with last increasement... allmoust cant play if dont run two bots in same site...

████          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
August 02, 2017, 03:05:21 AM
 #756

maybe You can say, why this kind of stuff dsnt works?

   if (losecount > 0) then
      nextbet = previousbet+0.00000010

If first bet was 0.00000100, then he will make second one 0.00000254 and third 0.00000408, 0.00000562, 0.00000716, 0.00000870, with this command lines, why?!

maybe there is another simplies method, to do/make, that bot's add 0.000000xx amount for every 10 losed bets in row?! like first 10bets he add 1, next 10bets he add 1.1, next 10bets he add 1.2?!
Without seeing your whole script, it is impossible to say why that code is not working... but I'd guess that either it is not being executed due to conditional checks not resolving to what you think they should be (ie. you have an IF-ELSE statement that is not resolving correctly)... or you code somewhere else that is overriding your nextbet and increasing by 0.00000154 sats every bet instead of 0.00000010 Huh

Do you have settings from the basic/advanced tab set causing issues?


another issue is that bot making "fast doublebets" when amounts are bigger, and are night internet connection is better and dice site servers are less people.

sample:he need to stop when win and make basebet, but it can;t assimilate information or what, and make another big bet with last increasement... allmoust cant play if dont run two bots in same site...
The bot works in a sequential manner... it doesn't (can't) make a bet until it has processed the previous one. If the bot is not stopping/resetting when you think it should, it is most likely because your stop/reset conditions are wrong.

Again, perhaps your basic/advanced tab settings are causing problems...

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


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

Activity: 319
Merit: 100


View Profile
August 03, 2017, 12:44:29 AM
 #757

maybe You can say, why this kind of stuff dsnt works?

   if (losecount > 0) then
      nextbet = previousbet+0.00000010

If first bet was 0.00000100, then he will make second one 0.00000254 and third 0.00000408, 0.00000562, 0.00000716, 0.00000870, with this command lines, why?!

maybe there is another simplies method, to do/make, that bot's add 0.000000xx amount for every 10 losed bets in row?! like first 10bets he add 1, next 10bets he add 1.1, next 10bets he add 1.2?!
Without seeing your whole script, it is impossible to say why that code is not working... but I'd guess that either it is not being executed due to conditional checks not resolving to what you think they should be (ie. you have an IF-ELSE statement that is not resolving correctly)... or you code somewhere else that is overriding your nextbet and increasing by 0.00000154 sats every bet instead of 0.00000010 Huh

Do you have settings from the basic/advanced tab set causing issues?


another issue is that bot making "fast doublebets" when amounts are bigger, and are night internet connection is better and dice site servers are less people.

sample:he need to stop when win and make basebet, but it can;t assimilate information or what, and make another big bet with last increasement... allmoust cant play if dont run two bots in same site...
The bot works in a sequential manner... it doesn't (can't) make a bet until it has processed the previous one. If the bot is not stopping/resetting when you think it should, it is most likely because your stop/reset conditions are wrong.

Again, perhaps your basic/advanced tab settings are causing problems...
im now using only programmer mode, how then I can clear all another settings, from advanced mode?! if there can be something ticked...

and why then in days bot dont have mistaken problems with doublebets, but only at nights?!

████          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
August 03, 2017, 03:18:03 AM
 #758

Shutdown the dicebot... Then have a look in your %AppData%\DiceBot2 directory... You should see a couple of Settings files. Backup those files and then delete (or rename) them... and then restart the Bot, it will be back to "default" settings for everything.

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


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

Activity: 1717
Merit: 1125



View Profile WWW
August 03, 2017, 07:23:57 AM
 #759

maybe You can say, why this kind of stuff dsnt works?

   if (losecount > 0) then
      nextbet = previousbet+0.00000010

If first bet was 0.00000100, then he will make second one 0.00000254 and third 0.00000408, 0.00000562, 0.00000716, 0.00000870, with this command lines, why?!

maybe there is another simplies method, to do/make, that bot's add 0.000000xx amount for every 10 losed bets in row?! like first 10bets he add 1, next 10bets he add 1.1, next 10bets he add 1.2?!
Without seeing your whole script, it is impossible to say why that code is not working... but I'd guess that either it is not being executed due to conditional checks not resolving to what you think they should be (ie. you have an IF-ELSE statement that is not resolving correctly)... or you code somewhere else that is overriding your nextbet and increasing by 0.00000154 sats every bet instead of 0.00000010 Huh

Do you have settings from the basic/advanced tab set causing issues?


another issue is that bot making "fast doublebets" when amounts are bigger, and are night internet connection is better and dice site servers are less people.

sample:he need to stop when win and make basebet, but it can;t assimilate information or what, and make another big bet with last increasement... allmoust cant play if dont run two bots in same site...
The bot works in a sequential manner... it doesn't (can't) make a bet until it has processed the previous one. If the bot is not stopping/resetting when you think it should, it is most likely because your stop/reset conditions are wrong.

Again, perhaps your basic/advanced tab settings are causing problems...
im now using only programmer mode, how then I can clear all another settings, from advanced mode?! if there can be something ticked...

and why then in days bot dont have mistaken problems with doublebets, but only at nights?!

What you're describing only happens if you click start more than once, place a manual bet while the bot is running in the bot OR on the site. It can occasionally happen if the site takes longer than 30 second to return the result of a bet.

I know there was a similar issue on just dice a while ago that I thought I fixed.

Are you playing on Just-Dice or on another site? If you're playing on Just-Dice, can you test if it happens on other sites as well?

If you set the variables enablezz and enablesrc (just check the case of the variable names in the variables box in the box) to false, the settings from the advanced mode is not used in your script.

dimondimon
Member
**
Offline Offline

Activity: 270
Merit: 10


View Profile
August 03, 2017, 07:47:36 AM
 #760

Hi,why I have not switched?
Code:
chance1 = 89
chance2 = 10
chance3 = 9
chance4 = 8
bethigh = true
basebet = 0.00000001
nextbet = 0.00000001


function dobet()

if (win) then
    nextbet = basebet
    chance = chance1
  if currentstreak%3==0 then
     nextbet = 0.00000001
     chance = chance2
     

     bethigh =!bethigh
end
else
if chance==chance1 then
     nextbet= previousbet*1.0
end
if chance==chance2 then
     nextbet=previousbet*1.09
end
if chance==chance3 then
     nextbet=previousbet*1.105
end
if chance==chance4 then
     nextbet=previousbet*1.1
end
if (chance==chance1 and currentstreak==-3) then
   nextbet=previousbet
end
if (chance==chance2 and currentstreak==-20) then
   chance=chance2
   nextbet = 0.00000002
   nextbet=previousbet*1.09
end
if (chance==chance3 and currentstreak==-40) then
   chance2=chance3
   nextbet = 0.00000004
   nextbet=previousbet*1.1
end
if (chance==chance4 and currentstreak==-60) then
   stop()

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!