seuntjie (OP)
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
December 11, 2017, 11:10:33 AM |
|
any clue what is that?
Betting 0.00000029287178 at 0.99% chance to win, high Betting -0.00007602773776 at 0.99% chance to win, high
why bot are betting byself some kind of negative amounts time after time?!
and when it happens is like winning bet, bot graph are going up in the high sky, like you hit super mega jackpot! and shows profit and balance like you win that MEGA AMOUNT, but after start bot again(by write start()), then balance are back to normal like was been till that thing.
it happens rare but happens, it's some kind of bot bug?! because there is not sense from my script. both versions 3.3.9 and newest 3.3.10 both had this thing.
another thing is, why bot is "Eating" so much CPU, with even with very short script, when is many bots runned, like sample, if i run one bot i they eat 0-2% of cpu, if i run 7 bots, each will eat 5-12% of cpu, and my cpu usage will be 100%
I have i5-6600 3.30GHz , any guess what i can do in this case to not get overload by cpu, and all bots stops?! when cpu usage reaching 100% all bots are cracked and stopped...
it simple very unstable, it will jumping from 2% usage till 30% usage for every one bot runned, there is solution?!
The negative bets happen because of your script. The bot does not manipulate the bet that your script gives it in any way. On which site is this? Are you running the bots from the same folder? In which case, they will all compete for access to the dicebot.db file, which could cause higher CPU usage. It could be your script as well (I can write a 2 line script that will pull 100% of your CPU, script length is irrelevant), especially if the script accesses the bet history or has any kind of loop. If your CPU reaches 100% usage and the bots stop, do they crash? Does it show an error message in a popup box? Does it show anything in the status bar at the bottom of the screen?
|
|
|
|
houseworx
|
|
December 11, 2017, 11:28:43 AM Last edit: December 11, 2017, 01:53:17 PM by houseworx |
|
any clue what is that?
Betting 0.00000029287178 at 0.99% chance to win, high Betting -0.00007602773776 at 0.99% chance to win, high
why bot are betting byself some kind of negative amounts time after time?!
and when it happens is like winning bet, bot graph are going up in the high sky, like you hit super mega jackpot! and shows profit and balance like you win that MEGA AMOUNT, but after start bot again(by write start()), then balance are back to normal like was been till that thing.
it happens rare but happens, it's some kind of bot bug?! because there is not sense from my script. both versions 3.3.9 and newest 3.3.10 both had this thing.
another thing is, why bot is "Eating" so much CPU, with even with very short script, when is many bots runned, like sample, if i run one bot i they eat 0-2% of cpu, if i run 7 bots, each will eat 5-12% of cpu, and my cpu usage will be 100%
I have i5-6600 3.30GHz , any guess what i can do in this case to not get overload by cpu, and all bots stops?! when cpu usage reaching 100% all bots are cracked and stopped...
it simple very unstable, it will jumping from 2% usage till 30% usage for every one bot runned, there is solution?!
The negative bets happen because of your script. The bot does not manipulate the bet that your script gives it in any way. On which site is this? Are you running the bots from the same folder? In which case, they will all compete for access to the dicebot.db file, which could cause higher CPU usage. It could be your script as well (I can write a 2 line script that will pull 100% of your CPU, script length is irrelevant), especially if the script accesses the bet history or has any kind of loop. If your CPU reaches 100% usage and the bots stop, do they crash? Does it show an error message in a popup box? Does it show anything in the status bar at the bottom of the screen? i guarantee that is not script, its in YOLOdice, its happens every maybe 1million bets only. yes from one foler, i need to better make for each run another one? if I will make 10 diferent folders, and run one by one, it can help with high cpu usage?! (i will try) after reach 100% cpu usage from bots all my pc are freezing and "laggy" bots are stoped, nothing are written and they are not closed, simple stoped, but there is no possible to relaunch it but typing stop/start, and cpu usage are not "fall down" till normal even if now is stopped, if you will wait... you only can close it and that all. but cpu usage are comes with "time" after you run bots in first minutes all was fine, if longer bots are runned, then higher cpu usage will be(100% need to restart all bots every 24h) *ofc bots are closed graphs, all bets are rolled down, and closed console, and small minimized. edit update: iv made 7 different folders, yes now how much i see will be fixed cpu usage problem, but NOW my disk usage are 99% all time, what wrong with that now... every bot takes 0.1 - 0.5MB/sec im using SDD https://imgur.com/O6J7o4y task manager screenshot, when it runned from 7 different folders https://imgur.com/mCbQIFL resource monitor https://imgur.com/UCCUHbihttps://imgur.com/3vkGazGi dont understand reading @ 2mb/sec but 100% usage, if i will run it in this way with disk usage 99% 24/7 my SDD will be damaged?! please help now with this kind of problem... and btw here is bog with negative bet, another one today - https://imgur.com/Q60tVcg
|
|
|
|
xMossx
Newbie
Offline
Activity: 121
Merit: 0
|
|
December 12, 2017, 06:35:20 AM |
|
Hello, Would it be possible to implement a customizable stats window when in programmer mode? This way I could display information I find relevant, including variables I have set. Thanks
|
|
|
|
seuntjie (OP)
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
December 12, 2017, 04:45:13 PM |
|
i guarantee that is not script, its in YOLOdice, its happens every maybe 1million bets only. yes from one foler, i need to better make for each run another one? if I will make 10 diferent folders, and run one by one, it can help with high cpu usage?! (i will try) after reach 100% cpu usage from bots all my pc are freezing and "laggy" bots are stoped, nothing are written and they are not closed, simple stoped, but there is no possible to relaunch it but typing stop/start, and cpu usage are not "fall down" till normal even if now is stopped, if you will wait... you only can close it and that all. but cpu usage are comes with "time" after you run bots in first minutes all was fine, if longer bots are runned, then higher cpu usage will be(100% need to restart all bots every 24h) *ofc bots are closed graphs, all bets are rolled down, and closed console, and small minimized. edit update: iv made 7 different folders, yes now how much i see will be fixed cpu usage problem, but NOW my disk usage are 99% all time, what wrong with that now... every bot takes 0.1 - 0.5MB/sec im using SDD https://imgur.com/O6J7o4y task manager screenshot, when it runned from 7 different folders https://imgur.com/mCbQIFL resource monitor https://imgur.com/UCCUHbihttps://imgur.com/3vkGazGi dont understand reading @ 2mb/sec but 100% usage, if i will run it in this way with disk usage 99% 24/7 my SDD will be damaged?! please help now with this kind of problem... and btw here is bog with negative bet, another one today - https://imgur.com/Q60tVcgI have not experienced this myself. Would you mind sending (emailing) me your script to I can try to reproduce the problem? Hello, Would it be possible to implement a customizable stats window when in programmer mode? This way I could display information I find relevant, including variables I have set. Thanks
It is not, but you can print the variables to the console. If you do a bit of text formatting you can probably make it look rather nice.
|
|
|
|
houseworx
|
|
December 12, 2017, 04:54:14 PM Last edit: December 12, 2017, 05:54:31 PM by houseworx |
|
i guarantee that is not script, its in YOLOdice, its happens every maybe 1million bets only. yes from one foler, i need to better make for each run another one? if I will make 10 diferent folders, and run one by one, it can help with high cpu usage?! (i will try) after reach 100% cpu usage from bots all my pc are freezing and "laggy" bots are stoped, nothing are written and they are not closed, simple stoped, but there is no possible to relaunch it but typing stop/start, and cpu usage are not "fall down" till normal even if now is stopped, if you will wait... you only can close it and that all. but cpu usage are comes with "time" after you run bots in first minutes all was fine, if longer bots are runned, then higher cpu usage will be(100% need to restart all bots every 24h) *ofc bots are closed graphs, all bets are rolled down, and closed console, and small minimized. edit update: iv made 7 different folders, yes now how much i see will be fixed cpu usage problem, but NOW my disk usage are 99% all time, what wrong with that now... every bot takes 0.1 - 0.5MB/sec im using SDD https://imgur.com/O6J7o4y task manager screenshot, when it runned from 7 different folders https://imgur.com/mCbQIFL resource monitor https://imgur.com/UCCUHbihttps://imgur.com/3vkGazGi dont understand reading @ 2mb/sec but 100% usage, if i will run it in this way with disk usage 99% 24/7 my SDD will be damaged?! please help now with this kind of problem... and btw here is bog with negative bet, another one today - https://imgur.com/Q60tVcgI have not experienced this myself. Would you mind sending (emailing) me your script to I can try to reproduce the problem? Hello, Would it be possible to implement a customizable stats window when in programmer mode? This way I could display information I find relevant, including variables I have set. Thanks
It is not, but you can print the variables to the console. If you do a bit of text formatting you can probably make it look rather nice. there is nothing to do with script, he has maybe 5 "if" sections and 5 "else" sections, very primitive, but yes im "mind" to send it somewhere. its all about that im launching and running 8 bots at same time, till 3 bots all was fine+/- in normal rates, after 3, with every second launched bot, usages are growing. there are three things what to choose: launch all 8 bots from one folder = then you have very big cpu usage 70-90% in first 6-12h, after 12h you need to restart it. but you have 0 disk usage. second option is launch all 8 bots, everyone from different folders, then you will have very good cpu usage below 40% but then you will have 100% disk usage. third option is like i now trying - 3bots from one folder, 3 bots from second folder, 2 bots from third folder, then you have cpu usage 50-70, and disk usage 85-99 Seuntjie, my script is almoust similar made like this. -- HeyYouGuys DiceBot Script -- -- Going Up V1.32 (For Bank Accounts < 0.05) --
--
-- --------------------------------------------------------------------------------------------------------
-- INSTRUCTIONS -
-- StopLossLimitBalance will stop the bot if your balance drops below this amount following the last bet. -- StopLossLimitRound will stop the bot if your current loss amount on a SINGLE round reaches this amount. Keep in mind this bot script resets the stats for gameplay based on win timing and profit amounts. Typically every win past 10 bets will trigger a reset back to start. Enter a fraction of your balance here. Recommend twenty percent of balance. If your balance is 0.50000000 set to 0.10000000.
-- Tip - If you hit your StopLossLimitRound - NOT BALANCE, but just one ROUND, the bot will stop. Recommend the following -
-- - Go to your Code Tab, and after dobet - Change the following -
-- - BASE ONE - LINE 2 - to equal base = (((balance) - (profit * 2000)) / 350000) -- - BASE TWO after ELSE to equal base = (((balance) - (profit * 400)) / 400000) -- - Change StopLossLimitRound to double 2x what it was set at.
-- NEXT - Copy the code and paste into the console entry area. Hit Enter. Start Bot. This will restart the bot with lower risk numbers but still remember your current loss. DO NOT Reset your Stats. This will typically rebound if you do hit a round loss. After rebound, change the variables back to default.
-- ENJOY and please use referral links above to help support me in making new tested scripts that work!
-- ----------------------------------------------------------------------------------------------------------
-- IMPORTANT - MAKE SURE YOU SET STOP LOSSES LINES ONE AND TWO. SEE INSTRUCTIONS ABOVE.
-- GOING UP SCRIPT -- -- ------------------- --
StopLossLimitBalance = 0.00000000 StopLossLimitStreakRound = 0.00000000
bethigh = true randomHighLow = false
base = 0.00000002 chance= 1.5 multiplier = 1
nextbet = base curbet = base
function dobet()
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
if profit > 0.00000010 then resetstats() end
if nextbet < 0.00000001 then resetstats() end
if balance < (StopLossLimitBalance) then stop() end
if profit < ((StopLossLimitStreakRound) * -1) then stop() end
if (randomHighLow) then if (math.random() < .0237) then bethigh = !bethigh end end end but i think that problem is other. if i will run 8 bots on other site, who is slow in betting speed, idk like 999dice or what, then will not be disk usage, because there is no need to fast reading information and sending(something like this) but if i run 8 bots on YOLOdice, where every bot making 5+ bets every second, then my cheap SDD can't afford information sending/reading maybe, they can't work so fast maybe. anyone don;t have same problem like me with multiple bots launched? if i will by most expensive SDD who was very fast, it will fix my issue?!
|
|
|
|
seuntjie (OP)
Legendary
Offline
Activity: 1717
Merit: 1125
|
|
December 12, 2017, 06:01:05 PM |
|
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. I don't officially support running more than one bot at a time, I am rather against it but since people ask me this often about it, I give out pointers on how to do it safely. It was not built to run multiple instances at a time either, as such, your issue is kind of a non-issue to me. My advice on how to reduce your CPU and disk usage? Run fewer bots at a time.
|
|
|
|
houseworx
|
|
December 12, 2017, 06:14:15 PM |
|
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. if that kind of lines, are making negatives bets, why its so rare, not every bet, everyday?! but maybe only one-two times in every 1million bets?!
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4361
<insert witty quote here>
|
|
December 12, 2017, 06:31:40 PM |
|
Probably because a. your profit is not reaching a level relative to the balance where the calculations result in a negative value very often (in combination with the long losing streaks required looking at the script)... and b. it'll stop whenever it occurs, so instead of seeing a series of negative bets (which would occur if the bot kept running), you see 1.
|
|
|
|
houseworx
|
|
December 12, 2017, 06:43:14 PM Last edit: December 12, 2017, 10:23:16 PM by houseworx |
|
Probably because a. your profit is not reaching a level relative to the balance where the calculations result in a negative value very often (in combination with the long losing streaks required looking at the script)... and b. it'll stop whenever it occurs, so instead of seeing a series of negative bets (which would occur if the bot kept running), you see 1.
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. iv try to give a sample. chance=X multiplier=X base=0.00000001 bethigh=true randomHighLow=false stopnow=false function dobet()
base=formula chance=X bethigh=true
if win then resetseed() else nextbet=base+X end if profit > X then resetstats() end if nextbet > X then alarm() end if(stopnow) and profit > X then stop() end end 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?!
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4361
<insert witty quote here>
|
|
December 12, 2017, 11:20:46 PM |
|
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 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.
|
|
|
|
houseworx
|
|
December 13, 2017, 02:53:57 AM |
|
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 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. 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?!
|
|
|
|
Nick7815
|
|
December 13, 2017, 04:50:01 AM |
|
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?
|
|
|
|
houseworx
|
|
December 15, 2017, 06:33:12 PM Last edit: December 15, 2017, 09:55:39 PM by houseworx |
|
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. 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/mvb0PrXvery 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
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4361
<insert witty quote here>
|
|
December 16, 2017, 01:21:32 AM |
|
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??!? that script you posted is doing this: 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: 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: base = (((balance) - (profit * 2400)) / 250000) if base < 0 then base = 0 -- or whatever you want as minimum? end
|
|
|
|
houseworx
|
|
December 16, 2017, 09:30:53 AM Last edit: December 16, 2017, 01:13:35 PM by houseworx |
|
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??!? that script you posted is doing this: 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: 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: 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. 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?!
|
|
|
|
houseworx
|
|
December 16, 2017, 10:42:33 AM Last edit: December 16, 2017, 07:04:21 PM by houseworx |
|
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
|
|
|
|
houseworx
|
|
December 16, 2017, 01:11:00 PM Last edit: December 16, 2017, 07:02:57 PM by houseworx |
|
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)?
|
|
|
|
houseworx
|
|
December 16, 2017, 07:27:55 PM Last edit: December 16, 2017, 08:03:01 PM by houseworx |
|
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??!? that script you posted is doing this: 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: 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: 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. 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?!
|
|
|
|
chilly2k
Legendary
Offline
Activity: 1007
Merit: 1000
|
|
December 16, 2017, 08:54:14 PM |
|
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??!? that script you posted is doing this: 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: 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: 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. 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
|
|
|
|
houseworx
|
|
December 16, 2017, 09:02:01 PM |
|
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??!? that script you posted is doing this: 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: 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: 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. 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.
|
|
|
|
|