Pages:
Author

Topic: Seuntjies DiceBot -Multi-Site, multi-strategy betting bot for dice. With Charts! - page 44. (Read 274841 times)

full member
Activity: 319
Merit: 100
i wanted to ask what's the status with your app? will it come back someday? and hopefully NOT with mp?


I am waiting for MP to finish their API and to honor their promises (withdrawals etc) before I bring my app online again. I doubt I will launch the same app without MP.

As I already suggested to you via PM, the most likely cause is that the site is reporting the balance incorrectly. The bot does not calculate your balance, it simply reports the balance given to it by the gambling site API.

If there is a problem with the figures being reported by the API, there isn't a lot the boy can do about it... Garbage in, garbage out Undecided

I would theorise that running multiple bots on the same site (same account?) Could be causing issues with the site reporting incorrect balance figures...

If you run one bot does and slow the betting down, does this problem continue to happen? If it doesn't then the problem is definitely the site and not the bot.


PS. On an unrelated note, You should be careful running multiple accounts on gambling sites, most sites disapprove of this behaviour and may ban your accounts and possibly freeze your fund! Shocked

even with one runned bot, still has this issue, I'm specially tested it, because thinked same way.

I'm playing in YOLO, there is allowed multi accounts Wink

it's seuntjie dicebot fault, because bot was representing all bugbets in graph and in stats "window", bot are representing all fake profit&losses like it was real!

to avoid that issue, don't use any formulas for basebets/nextbets what are calculating it from balance or profit(idk who was buggy, maybe only one from both, but maybe both)
correct me, if you think that its not dicebot fault!?

Not all sites report the balance and the bot has to calculate the new balance after each bet. If your script is submitting invalid bets and the bot is able to parse the response as a bet, the bot will calculate the new balance accordingly.

Since you are so unwilling to help us help you buy(privately) sharing your script with one of us, do me a favour. Try doing a basic martingale  using the script below and see if you can reproduce the error (invalid/negative bets, bets with an ID of 0)

Code:
base = 0.00000001
chance= 49.5
nextbet=base
function dobet()
if win then
nextbet=base
else
nextbet=previousbet*2
end
 

all script is basic, there is nothing to do, bot can't work correctly because of formula, that all.


Quote
if win then
nextbet=(((balance)-(profit*xxx))/xxxxxx)+0.0000000X
else
nextbet=previousbet*multiplier
end

he are fail of using this one.

there is no difference if this formula will be like me, or basebet=balance/xxx or something, he will fail time after time and make wrong decisions from that fail.



bot will made wrong decisions in every type of formula, where words balance or profit include in formulas for basebet calculating if bets are fast enough.
legendary
Activity: 1717
Merit: 1125
i wanted to ask what's the status with your app? will it come back someday? and hopefully NOT with mp?


I am waiting for MP to finish their API and to honor their promises (withdrawals etc) before I bring my app online again. I doubt I will launch the same app without MP.

As I already suggested to you via PM, the most likely cause is that the site is reporting the balance incorrectly. The bot does not calculate your balance, it simply reports the balance given to it by the gambling site API.

If there is a problem with the figures being reported by the API, there isn't a lot the boy can do about it... Garbage in, garbage out Undecided

I would theorise that running multiple bots on the same site (same account?) Could be causing issues with the site reporting incorrect balance figures...

If you run one bot does and slow the betting down, does this problem continue to happen? If it doesn't then the problem is definitely the site and not the bot.


PS. On an unrelated note, You should be careful running multiple accounts on gambling sites, most sites disapprove of this behaviour and may ban your accounts and possibly freeze your fund! Shocked

even with one runned bot, still has this issue, I'm specially tested it, because thinked same way.

I'm playing in YOLO, there is allowed multi accounts Wink

it's seuntjie dicebot fault, because bot was representing all bugbets in graph and in stats "window", bot are representing all fake profit&losses like it was real!

to avoid that issue, don't use any formulas for basebets/nextbets what are calculating it from balance or profit(idk who was buggy, maybe only one from both, but maybe both)
correct me, if you think that its not dicebot fault!?

Not all sites report the balance and the bot has to calculate the new balance after each bet. If your script is submitting invalid bets and the bot is able to parse the response as a bet, the bot will calculate the new balance accordingly.

Since you are so unwilling to help us help you buy(privately) sharing your script with one of us, do me a favour. Try doing a basic martingale  using the script below and see if you can reproduce the error (invalid/negative bets, bets with an ID of 0)

Code:
base = 0.00000001
chance= 49.5
nextbet=base
function dobet()
if win then
nextbet=base
else
nextbet=previousbet*2
end
 
full member
Activity: 319
Merit: 100
As I already suggested to you via PM, the most likely cause is that the site is reporting the balance incorrectly. The bot does not calculate your balance, it simply reports the balance given to it by the gambling site API.

If there is a problem with the figures being reported by the API, there isn't a lot the boy can do about it... Garbage in, garbage out Undecided

I would theorise that running multiple bots on the same site (same account?) Could be causing issues with the site reporting incorrect balance figures...

If you run one bot does and slow the betting down, does this problem continue to happen? If it doesn't then the problem is definitely the site and not the bot.


PS. On an unrelated note, You should be careful running multiple accounts on gambling sites, most sites disapprove of this behaviour and may ban your accounts and possibly freeze your fund! Shocked

even with one runned bot, still has this issue, I'm specially tested it, because thinked same way.

I'm playing in YOLO, there is allowed multi accounts Wink

it's seuntjie dicebot fault, because bot was representing all bugbets in graph and in stats "window", bot are representing all fake profit&losses like it was real!

to avoid that issue, don't use any formulas for basebets/nextbets what are calculating it from balance or profit(idk who was buggy, maybe only one from both, but maybe both)
correct me, if you think that its not dicebot fault!?
full member
Activity: 159
Merit: 101
i wanted to ask what's the status with your app? will it come back someday? and hopefully NOT with mp?
HCP
legendary
Activity: 2086
Merit: 4361
As I already suggested to you via PM, the most likely cause is that the site is reporting the balance incorrectly. The bot does not calculate your balance, it simply reports the balance given to it by the gambling site API.

If there is a problem with the figures being reported by the API, there isn't a lot the boy can do about it... Garbage in, garbage out Undecided

I would theorise that running multiple bots on the same site (same account?) Could be causing issues with the site reporting incorrect balance figures...

If you run one bot does and slow the betting down, does this problem continue to happen? If it doesn't then the problem is definitely the site and not the bot.


PS. On an unrelated note, You should be careful running multiple accounts on gambling sites, most sites disapprove of this behaviour and may ban your accounts and possibly freeze your fund! Shocked
full member
Activity: 319
Merit: 100
I found out that issue for negative bets or megaoversized is not because of formula, its because bot are leak. bot time after time update balance wrong, and from that formula are making simple big bets, because "at that one moment when bot shows wrong balance(its millisecond)" what are been calculated from wrong given balance amount at a time.




https://imgur.com/AsWDyWJ here in screen you can see, bot shows that i lost 0.0377 BTC, but my balance was been from start only 30k satoshi, rly? WTF? Why bot show lost what is 100x real balance what Iv lost, and its even in graph?!

simple conclusion - many times bot shows what in reality are not true.

please explain Seuntjie.

I was lost in this bug issue many time, whats in end are ~0.2btc.
full member
Activity: 319
Merit: 100
p.s i dont using this scripts. i given it like sample.
See... the thing is, is that you're asking us for assistance with your issue, but you are giving us a script that you're not even using. Roll Eyes Without seeing your ACTUAL code, there is no way we can debug it and have any certainty how or why your script is broken... or if it is the bot that has some weird overflow issue. Huh I understand this is because you have some "super secret" strategy that you don't want to share (given your redacting of bet amounts/chances etc), but working under these conditions effectively makes anything that we suggest or theorise, pure guesswork.

You will need to either give up the code (PM is fine if you're rather it was not made public) OR you will need to debug the code yourself...

If you want to try and debug it, do what chilly suggested... put a check right at the end of the dobet() function:

Code:
if nextbet < 0 then
  print("nextbet: " .. nextbet)
  print("base: " .. base)
  print("someVariableThatYouWantToSeeTheValueOf: " .. myVariable)
  print("profit: " .. profit)
  stop()
end

This will enable you to see what the various values of things are to try and figure out WHY it is attempting to generate negative bets... and stop the bot at that point to avoid it losing money etc.

bets was not only negative, now after put this one, its oversized mega large, even if i dont use formula for nextbet after lose calculating, but simple with multiplier, and losing another bankroll yesterday.

allready pm'ed you.
full member
Activity: 319
Merit: 100
Seuntjie, now I made changes.

  • if win then
    nextbet=calculatedfromformula
    else
    nextbet=previousbet*multiplier
    end
but even now, its was making oversized mega large bet, who was 50x bigger than need to be, and it was not after win or lose, but simple middle on streak, so i thinks definetly problem is in bot or dice site.

HCP
legendary
Activity: 2086
Merit: 4361
p.s i dont using this scripts. i given it like sample.
See... the thing is, is that you're asking us for assistance with your issue, but you are giving us a script that you're not even using. Roll Eyes Without seeing your ACTUAL code, there is no way we can debug it and have any certainty how or why your script is broken... or if it is the bot that has some weird overflow issue. Huh I understand this is because you have some "super secret" strategy that you don't want to share (given your redacting of bet amounts/chances etc), but working under these conditions effectively makes anything that we suggest or theorise, pure guesswork.

You will need to either give up the code (PM is fine if you're rather it was not made public) OR you will need to debug the code yourself...

If you want to try and debug it, do what chilly suggested... put a check right at the end of the dobet() function:

Code:
if nextbet < 0 then
  print("nextbet: " .. nextbet)
  print("base: " .. base)
  print("someVariableThatYouWantToSeeTheValueOf: " .. myVariable)
  print("profit: " .. profit)
  stop()
end

This will enable you to see what the various values of things are to try and figure out WHY it is attempting to generate negative bets... and stop the bot at that point to avoid it losing money etc.
full member
Activity: 319
Merit: 100
Code:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
These lines are causing the negative bets. The negative bets DO come from your script because the bot does touch the bet value that is received from the script.

why formula can make negative bets time after time, very rare?! if its formula, why then its not all time?!
Because #maths??!? Tongue

that script you posted is doing this:
Quote
if currentstreak>-75 then
  base = (((balance) - (profit * 2400)) / 250000)
  chance=  1.35 - (currentstreak * -0.003765)
  bethigh = true
else
  base = (((balance) - (profit * 400)) / 300000)
  chance= 1.10
  bethigh = true
end

if win then
  nextbet = 0.00000002
  if currentstreak<1 then
    nextbet = 0.00000002
  end
else
  if currentstreak==-1 then
    curbet = base
  else
    curbet = base
  end
  nextbet = base + 0.00000001
end

Notice where the nextbet using base is calculated? It is inside the loss section... additionally, this is adding 0.00000001 to the calculated base... so if the base is negative by less that 0.00000001, it will end up positive.

Also, your script does:
Quote
if profit > 0.00000010 then
  resetstats()
end

if nextbet < 0.00000001 then
  resetstats()
end

Both of which I'm sure reset the "profit" value... so there is a good chance that for 99.9% of cases you end up with a situation where:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
actually ends up being positive... because profit will no doubt be calculated as either negative (with all the losses) or zero, because you've reset... but if you follow the math... it is VERY possible that (balance - (profit * 400)) could become a negative number...

Result: YOUR SCRIPT IS BROKEN and has some edge cases where all of these conditions line up and it calculates a negative bet. If you don't want a negative bet, simply put a check in after your "base" calculation that checks for this and sets it to the minimum bet or something:

For instance:
Code:
base = (((balance) - (profit * 2400)) / 250000)
if base < 0 then
  base = 0 -- or whatever you want as minimum?
end

and what will be if I put this one?!


base = (((balance) - (profit * 2400)) / 250000)
if base < 0 then
  base = (((balance) - (profit * 2400)) / 250000)
end

for that he recalculate right betsize, because it very neccesary, there is no option to reset to minbet or something, every bet need to be calculated from already lost profit.

ofc its better to safe some kind of bankroll and make 1satoshi bet, then lose all bankroll, but its not what i need.

Quote
actually ends up being positive... because profit will no doubt be calculated as either negative (with all the losses) or zero, because you've reset... but if you follow the math... it is VERY possible that (balance - (profit * 400)) could become a negative number...

what you want say with that?! EVERY BET from allmoust first one are calculated from negative amounts...
sample:

balance = 500 000
profit = -500 (first 50bets with 10satoshi basebet)

(((500000 - (-500 * 2400))/250000) so it's 500000 - 1200000 / 250000 in this case basebet will be 2.8satoshi with 500k bankroll and after first losed 500satoshi, that kind of numbers in formula. if im right.

so every time (balance - profit*high number) will be negative number, but there is no problem, every time its working.



what can be solution then?! BOT dont like formulas or what? made formula where all numbers will be smaller? and made after that simple +0.00000010 for basebet adjustment?!
like sample:


base = (((balance) - (profit * 10)) / 1000) + 0.00000010*

*and this use for changing start basebet sizes?!

maybe there is some other way to make formula for calculate basebet from given profit?! anyone are good in formula making?!

   Someone somewhere suggested adding a check and setting a default bet if the nextbet < 0

instead.

if nextbet < 0 then
  print("Nextbet  "..nextbet)
  print("Balance  "..balance)
  print("Profit  "..profit)
  stop()
end

  

thanks for this advice, this variable for me in this case will be better.

but I need other solution, I want to find out why negatives or overmegapositive bets happens and what to do in this case, because it very necessary for me. to get that kind of formula works good without bugs.
legendary
Activity: 1007
Merit: 1000
Code:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
These lines are causing the negative bets. The negative bets DO come from your script because the bot does touch the bet value that is received from the script.

why formula can make negative bets time after time, very rare?! if its formula, why then its not all time?!
Because #maths??!? Tongue

that script you posted is doing this:
Quote
if currentstreak>-75 then
  base = (((balance) - (profit * 2400)) / 250000)
  chance=  1.35 - (currentstreak * -0.003765)
  bethigh = true
else
  base = (((balance) - (profit * 400)) / 300000)
  chance= 1.10
  bethigh = true
end

if win then
  nextbet = 0.00000002
  if currentstreak<1 then
    nextbet = 0.00000002
  end
else
  if currentstreak==-1 then
    curbet = base
  else
    curbet = base
  end
  nextbet = base + 0.00000001
end

Notice where the nextbet using base is calculated? It is inside the loss section... additionally, this is adding 0.00000001 to the calculated base... so if the base is negative by less that 0.00000001, it will end up positive.

Also, your script does:
Quote
if profit > 0.00000010 then
  resetstats()
end

if nextbet < 0.00000001 then
  resetstats()
end

Both of which I'm sure reset the "profit" value... so there is a good chance that for 99.9% of cases you end up with a situation where:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
actually ends up being positive... because profit will no doubt be calculated as either negative (with all the losses) or zero, because you've reset... but if you follow the math... it is VERY possible that (balance - (profit * 400)) could become a negative number...

Result: YOUR SCRIPT IS BROKEN and has some edge cases where all of these conditions line up and it calculates a negative bet. If you don't want a negative bet, simply put a check in after your "base" calculation that checks for this and sets it to the minimum bet or something:

For instance:
Code:
base = (((balance) - (profit * 2400)) / 250000)
if base < 0 then
  base = 0 -- or whatever you want as minimum?
end

and what will be if I put this one?!


base = (((balance) - (profit * 2400)) / 250000)
if base < 0 then
  base = (((balance) - (profit * 2400)) / 250000)
end

for that he recalculate right betsize, because it very neccesary, there is no option to reset to minbet or something, every bet need to be calculated from already lost profit.

ofc its better to safe some kind of bankroll and make 1satoshi bet, then lose all bankroll, but its not what i need.

Quote
actually ends up being positive... because profit will no doubt be calculated as either negative (with all the losses) or zero, because you've reset... but if you follow the math... it is VERY possible that (balance - (profit * 400)) could become a negative number...

what you want say with that?! EVERY BET from allmoust first one are calculated from negative amounts...
sample:

balance = 500 000
profit = -500 (first 50bets with 10satoshi basebet)

(((500000 - (-500 * 2400))/250000) so it's 500000 - 1200000 / 250000 in this case basebet will be 2.8satoshi with 500k bankroll and after first losed 500satoshi, that kind of numbers in formula. if im right.

so every time (balance - profit*high number) will be negative number, but there is no problem, every time its working.



what can be solution then?! BOT dont like formulas or what? made formula where all numbers will be smaller? and made after that simple +0.00000010 for basebet adjustment?!
like sample:


base = (((balance) - (profit * 10)) / 1000) + 0.00000010*

*and this use for changing start basebet sizes?!

maybe there is some other way to make formula for calculate basebet from given profit?! anyone are good in formula making?!

   Someone somewhere suggested adding a check and setting a default bet if the nextbet < 0

instead.

if nextbet < 0 then
  print("Nextbet  "..nextbet)
  print("Balance  "..balance)
  print("Profit  "..profit)
  stop()
end

 
full member
Activity: 319
Merit: 100
Code:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
These lines are causing the negative bets. The negative bets DO come from your script because the bot does touch the bet value that is received from the script.

why formula can make negative bets time after time, very rare?! if its formula, why then its not all time?!
Because #maths??!? Tongue

that script you posted is doing this:
Quote
if currentstreak>-75 then
  base = (((balance) - (profit * 2400)) / 250000)
  chance=  1.35 - (currentstreak * -0.003765)
  bethigh = true
else
  base = (((balance) - (profit * 400)) / 300000)
  chance= 1.10
  bethigh = true
end

if win then
  nextbet = 0.00000002
  if currentstreak<1 then
    nextbet = 0.00000002
  end
else
  if currentstreak==-1 then
    curbet = base
  else
    curbet = base
  end
  nextbet = base + 0.00000001
end

Notice where the nextbet using base is calculated? It is inside the loss section... additionally, this is adding 0.00000001 to the calculated base... so if the base is negative by less that 0.00000001, it will end up positive.

Also, your script does:
Quote
if profit > 0.00000010 then
  resetstats()
end

if nextbet < 0.00000001 then
  resetstats()
end

Both of which I'm sure reset the "profit" value... so there is a good chance that for 99.9% of cases you end up with a situation where:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
actually ends up being positive... because profit will no doubt be calculated as either negative (with all the losses) or zero, because you've reset... but if you follow the math... it is VERY possible that (balance - (profit * 400)) could become a negative number...

Result: YOUR SCRIPT IS BROKEN and has some edge cases where all of these conditions line up and it calculates a negative bet. If you don't want a negative bet, simply put a check in after your "base" calculation that checks for this and sets it to the minimum bet or something:

For instance:
Code:
base = (((balance) - (profit * 2400)) / 250000)
if base < 0 then
  base = 0 -- or whatever you want as minimum?
end

and what will be if I put this one?!


base = (((balance) - (profit * 2400)) / 250000)
if base < 0 then
  base = (((balance) - (profit * 2400)) / 250000)
end

for that he recalculate right betsize, because it very neccesary, there is no option to reset to minbet or something, every bet need to be calculated from already lost profit.

ofc its better to safe some kind of bankroll and make 1satoshi bet, then lose all bankroll, but its not what i need.

Quote
actually ends up being positive... because profit will no doubt be calculated as either negative (with all the losses) or zero, because you've reset... but if you follow the math... it is VERY possible that (balance - (profit * 400)) could become a negative number...

what you want say with that?! EVERY BET from allmoust first one are calculated from negative amounts...
sample:

balance = 500 000
profit = -500 (first 50bets with 10satoshi basebet)

(((500000 - (-500 * 2400))/250000) so it's 500000 - 1200000 / 250000 in this case basebet will be 2.8satoshi with 500k bankroll and after first losed 500satoshi, that kind of numbers in formula. if im right.

so every time (balance - profit*high number) will be negative number, but there is no problem, every time its working.



what can be solution then?! BOT dont like formulas or what? made formula where all numbers will be smaller? and made after that simple +0.00000010 for basebet adjustment?!
like sample:


base = (((balance) - (profit * 10)) / 1000) + 0.00000010*

*and this use for changing start basebet sizes?!

maybe there is some other way to make formula for calculate basebet from given profit?! anyone are good in formula making?!
full member
Activity: 319
Merit: 100
please help, Im just so tired every day losing some account bankrolls, because of this bugbets.

https://imgur.com/BC3yfEW - I dont understand, bet was on negative amount, not appeears in "console" but bugbet was made big difference in "profit" in graph and overall balance and after that, from here formula are now calculate wrong bets, because bug was occurs and balance are updated wrong after that FAKE big winning or losing bet.



what does that do?

if (randomHighLow) then
if (math.random() < .0237) then bethigh = !bethigh end
end

script is betting all on high, but bugbet is on low.

i dont remember, it occurs only after i take this out of script, or even till it was.



who can help me to write SIMPLE good&right configured script, I will dont need any specific, only who will use that kind of mathformula to calculate basebet, and don't do any bugbets(negative or mega oversized)?


full member
Activity: 319
Merit: 100
Code:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)


These lines are causing the negative bets. The negative bets DO come from your script because the bot does touch the bet value that is received from the script.


can you explain this one? why?

how it comes, that all was fine million bets, after million bets, but some times, 1-2times in every million bets, they made it?!

maybe he dont like "certain" amount with what formula are need to calcualte bet?!

and other thing is why, bot reflect this "bugbet" in overal alltime graph?! and why it's updating my balance in this situation?! (yes i was rich, till i not press again "start()" my balance are huge, like i was win that bet really)

This bet don't appers after lose or after win, its appers simple in middle of streak
full member
Activity: 319
Merit: 100
Code:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
These lines are causing the negative bets. The negative bets DO come from your script because the bot does touch the bet value that is received from the script.

why formula can make negative bets time after time, very rare?! if its formula, why then its not all time?!
Because #maths??!? Tongue

that script you posted is doing this:
Quote
if currentstreak>-75 then
  base = (((balance) - (profit * 2400)) / 250000)
  chance=  1.35 - (currentstreak * -0.003765)
  bethigh = true
else
  base = (((balance) - (profit * 400)) / 300000)
  chance= 1.10
  bethigh = true
end

if win then
  nextbet = 0.00000002
  if currentstreak<1 then
    nextbet = 0.00000002
  end
else
  if currentstreak==-1 then
    curbet = base
  else
    curbet = base
  end
  nextbet = base + 0.00000001
end

Notice where the nextbet using base is calculated? It is inside the loss section... additionally, this is adding 0.00000001 to the calculated base... so if the base is negative by less that 0.00000001, it will end up positive.

Also, your script does:
Quote
if profit > 0.00000010 then
  resetstats()
end

if nextbet < 0.00000001 then
  resetstats()
end

Both of which I'm sure reset the "profit" value... so there is a good chance that for 99.9% of cases you end up with a situation where:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
actually ends up being positive... because profit will no doubt be calculated as either negative (with all the losses) or zero, because you've reset... but if you follow the math... it is VERY possible that (balance - (profit * 400)) could become a negative number...

Result: YOUR SCRIPT IS BROKEN and has some edge cases where all of these conditions line up and it calculates a negative bet. If you don't want a negative bet, simply put a check in after your "base" calculation that checks for this and sets it to the minimum bet or something:

For instance:
Code:
base = (((balance) - (profit * 2400)) / 250000)
if base < 0 then
  base = 0 -- or whatever you want as minimum?
end

HCP, so necessary I need to have this one?!

if nextbet < 0.00000000 then
resetstats()
end

if base < 0.00000000 then
resetstats()
end

thats will fix, issue? if bet will want to be negative, then bot will reset stats and dont give to do thats, right?! BUT I WANT TO KNOW WHY THIS BETS ARE HAPENNING AND FIND ISSUE, because its necessary to not resetstats if i have losing streak.

NO IT DSNT HELP!


but anyway its bot bug, because he don't like to calculate basebet some time after time, maybe one time every 500 000 bets. i'ts not forumla fault if its not going on every second bet.

Quote
Notice where the nextbet using base is calculated? It is inside the loss section... additionally, this is adding 0.00000001 to the calculated base... so if the base is negative by less that 0.00000001, it will end up positive.
NO, its there with other "thinking", I never have simple basebet this 0.00000001 because there is wanted to be negative bet, and then bot makes 1satoshi basebet, NO! so it dsnt work! now i have basebet + 10satoshi, whatever he did negative bets.

p.s i dont using this scripts. i given it like sample.

btw what is "curbet" and how its working?!

HCP, you are clever in "formating/writening" scripts can we have a "chat" maybe somewhere private 1on1?!
HCP
legendary
Activity: 2086
Merit: 4361
Code:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
These lines are causing the negative bets. The negative bets DO come from your script because the bot does touch the bet value that is received from the script.

why formula can make negative bets time after time, very rare?! if its formula, why then its not all time?!
Because #maths??!? Tongue

that script you posted is doing this:
Quote
if currentstreak>-75 then
  base = (((balance) - (profit * 2400)) / 250000)
  chance=  1.35 - (currentstreak * -0.003765)
  bethigh = true
else
  base = (((balance) - (profit * 400)) / 300000)
  chance= 1.10
  bethigh = true
end

if win then
  nextbet = 0.00000002
  if currentstreak<1 then
    nextbet = 0.00000002
  end
else
  if currentstreak==-1 then
    curbet = base
  else
    curbet = base
  end
  nextbet = base + 0.00000001
end

Notice where the nextbet using base is calculated? It is inside the loss section... additionally, this is adding 0.00000001 to the calculated base... so if the base is negative by less that 0.00000001, it will end up positive.

Also, your script does:
Quote
if profit > 0.00000010 then
  resetstats()
end

if nextbet < 0.00000001 then
  resetstats()
end

Both of which I'm sure reset the "profit" value... so there is a good chance that for 99.9% of cases you end up with a situation where:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)
actually ends up being positive... because profit will no doubt be calculated as either negative (with all the losses) or zero, because you've reset... but if you follow the math... it is VERY possible that (balance - (profit * 400)) could become a negative number...

Result: YOUR SCRIPT IS BROKEN and has some edge cases where all of these conditions line up and it calculates a negative bet. If you don't want a negative bet, simply put a check in after your "base" calculation that checks for this and sets it to the minimum bet or something:

For instance:
Code:
base = (((balance) - (profit * 2400)) / 250000)
if base < 0 then
  base = 0 -- or whatever you want as minimum?
end
full member
Activity: 319
Merit: 100
the new version of the bot is awesome. thanks for it and i hope you get a lot of referrals.

There's one little problem when i play on bit-exo: i get logged out from the bot several times a day. Can you do something about it or has it to do with cookie-expiration or so on bit-exo/moneypot?

its standard for bit-exo its buggy, you will have disconnect time after time, if you will grind there 24/7, connection with bit-exo are big big lag, you can have disconnect at any time, thats why there play with big amounts is scary and i will not recommend.




Code:
base = (((balance) - (profit * 2400)) / 250000)
base = (((balance) - (profit * 400)) / 300000)


These lines are causing the negative bets. The negative bets DO come from your script because the bot does touch the bet value that is received from the script.


why formula can make negative bets time after time, very rare?! if its formula, why then its not all time?!

if script is making negative bets? why then it's showed and can see like "VERY BIG JACKPOT" winning in overall all time graph?!

https://imgur.com/aoGDhAw (i can shove many screens of that kind of thing)

so if its script, why its shows in graph? i think its some kind of bot bug, why every that bugbet is negative and alltime winning?! and shows in graphs!?

nice one, this times it was not negative bet...

https://imgur.com/mvb0PrX

very good...

definetily bot has bug and problem. he dont like change chance after winning bets i think, if bet was smaler they have bug, and they are doing negative bets, and if bet after winning bet was on higher percentage then he was doing super mega big bets, or maybe it was coincidence, but all time bets was negative, when my curbet or how it calls, was lower percentage than last winning bet, first time i made bigger than last winning bet and now bet was oversized.

and bot dont do resetseeds when it was said to do, but when they like it Smiley
full member
Activity: 159
Merit: 101
the new version of the bot is awesome. thanks for it and i hope you get a lot of referrals.

There's one little problem when i play on bit-exo: i get logged out from the bot several times a day. Can you do something about it or has it to do with cookie-expiration or so on bit-exo/moneypot?
full member
Activity: 319
Merit: 100
when it occurs, every time is "unique" there are no any coincidence(every time it was on different losing streak, different betsizes etc), it occurs simple when bot/site "want's" it.
Sure... whatever you say


Quote
this is bad configured script with "loop" what can bet hard bot to read, and cause high cpu or disk usage?! i think no, and you?!
There is no loop that I can see, but excessive use of resetseed() and resetstats() which no doubt requires a bit of extra reading and writing... Also, as Seuntjie has pointed out, having 8 bots making 5+ bets second is going to require a LOT of reading/writing to disk... that's 40 entries/second being made to disk...

If your hardware isn't up to, run less bots. Roll Eyes
if I will buy another SDD disk, but not cheap, but expensive one(fast) it can help me with that issue?!

maybe there is some kind of specifications on what I need to search, what disk will work proper with that kind of work?!

how to know, how much good and what paramaters hardware(PC) I need to run smoothly 10 dicebots?!
HCP
legendary
Activity: 2086
Merit: 4361
when it occurs, every time is "unique" there are no any coincidence(every time it was on different losing streak, different betsizes etc), it occurs simple when bot/site "want's" it.
Sure... whatever you say


Quote
this is bad configured script with "loop" what can bet hard bot to read, and cause high cpu or disk usage?! i think no, and you?!
There is no loop that I can see, but excessive use of resetseed() and resetstats() which no doubt requires a bit of extra reading and writing... Also, as Seuntjie has pointed out, having 8 bots making 5+ bets second is going to require a LOT of reading/writing to disk... that's 40 entries/second being made to disk...

If your hardware isn't up to, run less bots. Roll Eyes
Pages:
Jump to: