Pages:
Author

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

full member
Activity: 319
Merit: 100
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.

Quote
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
Activity: 2086
Merit: 4361
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.



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.

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?!
legendary
Activity: 1717
Merit: 1125
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.


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.
full member
Activity: 319
Merit: 100
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... Sad 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/UCCUHbi

https://imgur.com/3vkGazG

i 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


I 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 Smiley

Seuntjie, my script is almoust similar made like this.
Quote
-- 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?!
legendary
Activity: 1717
Merit: 1125
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... Sad 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/UCCUHbi

https://imgur.com/3vkGazG

i 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


I 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.
newbie
Activity: 121
Merit: 0
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
full member
Activity: 319
Merit: 100
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... Sad 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/UCCUHbi

https://imgur.com/3vkGazG

i 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
legendary
Activity: 1717
Merit: 1125
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?
full member
Activity: 319
Merit: 100
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?!

legendary
Activity: 1717
Merit: 1125
New DiceBot version 3.3.10 is available to download from https://bot.seuntjie.com

Change Log

New Features
added detection for multiple bet loops
re-added betking


Changes

change to lower limit
duckdice nonce fix, added verifier
re-added betking


Bug Fixes
chart after increasing number of bets/resetting chart goes over the top or below the bottom of the chart fixed
bitvest alt coins balance display issues
coinpro.fit and provably.io
login and betting issues
pd betting speed slowed down to prevent "slow down" error
bit-exo login issues
using built in limits from programmer fixed
donate bug at 999 dice where user would donate <1 sats/05, their whole balance is donated
cloudflare fix - affects all CF sites, fixes nitrogen sports login
freebitcoin crash fix
stake  betting issues fix
legendary
Activity: 1717
Merit: 1125
Sorry didn't know you had that list. I guess yolodice doesn't have the tip feature in their API, am I correct?


You are correct yes
newbie
Activity: 11
Merit: 0
Sorry didn't know you had that list. I guess yolodice doesn't have the tip feature in their API, am I correct?

I just tried to use the bot to send a tip from one account to another connected to yolodice.com. I don't get an error message but the tip is never executed. Is there a known bug or am I doing something wrong? I tried the username and the user id.

Here is the code I am executing:

Code:
tip("crashbit", 0.00010000)
Tipping 0.0001 to crashbit

See https://bot.seuntjie.com/features.aspx for a list of features enabled for each site.
legendary
Activity: 1717
Merit: 1125
I just tried to use the bot to send a tip from one account to another connected to yolodice.com. I don't get an error message but the tip is never executed. Is there a known bug or am I doing something wrong? I tried the username and the user id.

Here is the code I am executing:

Code:
tip("crashbit", 0.00010000)
Tipping 0.0001 to crashbit

See https://bot.seuntjie.com/features.aspx for a list of features enabled for each site.
newbie
Activity: 11
Merit: 0
I just tried to use the bot to send a tip from one account to another connected to yolodice.com. I don't get an error message but the tip is never executed. Is there a known bug or am I doing something wrong? I tried the username and the user id.

Here is the code I am executing:

Code:
tip("crashbit", 0.00010000)
Tipping 0.0001 to crashbit
:wq
copper member
Activity: 258
Merit: 49
Just popping past to give props to Seuntjies bot, its marvellous and well coded.
newbie
Activity: 3
Merit: 0
**EDIT**
I solved it myself, for anyone interested you will need 2 variables. I called mine "luck" and "lucky"

Here is the method i used:
-------------------------------------------
if win then
   luck += ((99/chance)*100)
else
   luck += 0
end

lucky = luck/betcount
-------------------------------------------

basically every bet it will either add the "luck chance" when winning, or adding 0 when losing a bet, you can get "luck chance" by dividing the max chance by the current bet chance, and multiplying it by 100.

*Note that the site i use has a house advantage of 1%, so my max chance is 99% not 100%.*

Once that rounds chance has been added to the rest (known as "luck" in my case) you can then divide the total by the number of bets made("betcount" in my case) and store that to a variable that will update every round.

afterwards i can add "lucky" to a print command to show it in console:
-------------------------------------
print("Luck"..lucky.."% /100%")
-------------------------------------


Hope this helps everyone.

**EDIT**

Would you be able to show a line of code that will do what you are trying to explain?

I would like to use the luck aspect in a script i'm working on but cannot get my head around what you are trying to explain.

The use i want to use it for, the chance does not change, if i set the chance to 30% is stays 30%, so should be simpler than what you have explained.

So you basically did what I explained in my first post. Glad you got it sorted though.

Luck is a useless stat though. It doesn't mean anything, it's just fun to look at. Even if you have a luck of 0% after millions of bets, your next bet still has the same chance of winning. Or if you have a luck of 1000% after millions of bets, your bet still has the same chance of winning. It's really not something you should use to base decisions on.

Luck will tend to 100% over an infinite amount of bets, within a finite amount of bets, it can be anything.




So you basically did what I explained in my first post. Glad you got it sorted though.


Well, I'm not sure what your first post was, don't know if i went far back enough, but instead of confusing excel tables, this shows the lines of code to use and displays the method better.


Luck is a useless stat though. It doesn't mean anything, it's just fun to look at. Even if you have a luck of 0% after millions of bets, your next bet still has the same chance of winning. Or if you have a luck of 1000% after millions of bets, your bet still has the same chance of winning. It's really not something you should use to base decisions on.

Luck will tend to 100% over an infinite amount of bets, within a finite amount of bets, it can be anything.


It's a bit harsh to say it doesn't matter at all, i know it falls under the gamblers fallacy and that EVENTUALLY something like that could potentially happen.

But after using your program for over 6 months now, and doing far too many scripts and bets, i can with confidence say that the "luck" portion of betting stays around the 100% mark. Sometimes it goes quite low, but seems to eventually recover and vice versa. Might not happen every time, but most times it goes above and below 100% in one betting spree.

Now i just need to figure out how to use this to a somewhat "advantage" even though you can't call it that. Because as you say, every bet has the same chance as the last.

I'm not sure how to quote individual lines, 1st time using the forum...
full member
Activity: 319
Merit: 100
**EDIT**
I solved it myself, for anyone interested you will need 2 variables. I called mine "luck" and "lucky"

Here is the method i used:
-------------------------------------------
if win then
   luck += ((99/chance)*100)
else
   luck += 0
end

lucky = luck/betcount
-------------------------------------------

basically every bet it will either add the "luck chance" when winning, or adding 0 when losing a bet, you can get "luck chance" by dividing the max chance by the current bet chance, and multiplying it by 100.

*Note that the site i use has a house advantage of 1%, so my max chance is 99% not 100%.*

Once that rounds chance has been added to the rest (known as "luck" in my case) you can then divide the total by the number of bets made("betcount" in my case) and store that to a variable that will update every round.

afterwards i can add "lucky" to a print command to show it in console:
-------------------------------------
print("Luck"..lucky.."% /100%")
-------------------------------------


Hope this helps everyone.

**EDIT**

Would you be able to show a line of code that will do what you are trying to explain?

I would like to use the luck aspect in a script i'm working on but cannot get my head around what you are trying to explain.

The use i want to use it for, the chance does not change, if i set the chance to 30% is stays 30%, so should be simpler than what you have explained.

So you basically did what I explained in my first post. Glad you got it sorted though.

Luck is a useless stat though. It doesn't mean anything, it's just fun to look at. Even if you have a luck of 0% after millions of bets, your next bet still has the same chance of winning. Or if you have a luck of 1000% after millions of bets, your bet still has the same chance of winning. It's really not something you should use to base decisions on.

Luck will tend to 100% over an infinite amount of bets, within a finite amount of bets, it can be anything.

deviation of luck in 20k bets can't be more than around -20% from 100, and after 40k bets not more than -10% from 100 - (its for me like sample with play percentage +/- 1.5% - 0.5%.)

ofc if you will play on 0.0001%(990000payout) deviation of luck can be, and will be much much bigger, and deviation streak distances will be longer.

but please stop use all time this kind of sentence, why you doing that all time?!
Quote
Luck will tend to 100% over an infinite amount of bets, within a finite amount of bets, it can be anything.
because it's not at all. if we talk about fair random number generator, it depends on what percentage you are betting.
every play percentage(payout) has distance after that will +/- be in normal numbers +/- 2-3% from 100/0 and after that will be in perfect numbers. im not talking about payouts more than 1000x idk about it, it can be sick swings in deviations from normal numbers, IMO.

it's simple - time after time you will catch big deviations of luck on each fixed bet percentage, after that swing you will have a upswing in deviation, and that all way, downswing, upswing, normal, upswing, normal, downswing - but in end you will be 100% near luck. how much/long swing it depends only from percentage on what you are betting.
legendary
Activity: 1717
Merit: 1125
**EDIT**
I solved it myself, for anyone interested you will need 2 variables. I called mine "luck" and "lucky"

Here is the method i used:
-------------------------------------------
if win then
   luck += ((99/chance)*100)
else
   luck += 0
end

lucky = luck/betcount
-------------------------------------------

basically every bet it will either add the "luck chance" when winning, or adding 0 when losing a bet, you can get "luck chance" by dividing the max chance by the current bet chance, and multiplying it by 100.

*Note that the site i use has a house advantage of 1%, so my max chance is 99% not 100%.*

Once that rounds chance has been added to the rest (known as "luck" in my case) you can then divide the total by the number of bets made("betcount" in my case) and store that to a variable that will update every round.

afterwards i can add "lucky" to a print command to show it in console:
-------------------------------------
print("Luck"..lucky.."% /100%")
-------------------------------------


Hope this helps everyone.

**EDIT**

Would you be able to show a line of code that will do what you are trying to explain?

I would like to use the luck aspect in a script i'm working on but cannot get my head around what you are trying to explain.

The use i want to use it for, the chance does not change, if i set the chance to 30% is stays 30%, so should be simpler than what you have explained.

So you basically did what I explained in my first post. Glad you got it sorted though.

Luck is a useless stat though. It doesn't mean anything, it's just fun to look at. Even if you have a luck of 0% after millions of bets, your next bet still has the same chance of winning. Or if you have a luck of 1000% after millions of bets, your bet still has the same chance of winning. It's really not something you should use to base decisions on.

Luck will tend to 100% over an infinite amount of bets, within a finite amount of bets, it can be anything.
newbie
Activity: 3
Merit: 0
It looks like there is an issue with the login for SAFEDICE with the bot. Following error occurs when trying to log in:


Code:
System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type DiceBot.SafeDiceLogin. Encountered unexpected character '<'. ---> System.Xml.XmlException: Encountered unexpected character '<'.


To replicate it, just select safedice from the Site drop-down and hit "Log In". Does not matter if you use your real credentials or leave the fields blank. The same error occurs no matter what the inputs are.


I just logged in to safedice from my bot and I was able to log in and place a bet.

I know there's an issue. I don't know what it is and I actually don't have the time to investigate it at the moment. I will when I get a chance.


how is calculated bot luck % stat?

anyone can answer to my strange question - why im never seen "upswing" in longrun(even 5k rools) when luck is 100+%, but all time there is "downswings" ?

im never seen even 5k rools that my luck is something like +105% but, iv seen even 40k rolls that luck is 90%...(80% of deviation is std till 15-20k rolls and not so rare) why there is only downswings in longrun, not so long upswings?

Luck is calculated as (total luck) + (the luck of winning/losing your bet) / (total number of bets).


so if you're betting at 50% and you have

Result|Bet Luck |Total Luck |Luck
w200200200
L0200100
L020066.6667
w200400100
w200600120
w200800133.333

Note that none of these calculations take your bet amount into account. So If you're reverse martingaling and you get a winning streak of 10 and lose the eleventh bet, you're luck is going to sky high but your profit is still negative.

with fixed one bet chances yes, but if im changin bet winning chance every single bet, this takes effect?!

iv give a sample:

iv betting to 0.99%(100x multiplie) get 500 red streak, in 501 im win, now im need to be ~20% luck, right?(because iv need to win 5x times in that 500bets with given percentage) and now after that im changes to 1.98% (50x) now i will win 4 times in row, and all will be fine? and luck 100% or calculation are made and taken from that now i need to win 9x on 1.98%(50 multiplie) Huh

If you follow my table and calculations, you'll see that it caters to your issue. Here, I'll show you in a crappily formatted paste from excel.

Number   Chance   Result   Bet Luck   Total Luck   Luck
1   90   w   111.1111111   111.1111111   111.1111111
2   80   w   125   236.1111111   118.0555556
3   70   w   142.8571429   378.968254   126.3227513
4   60   l   0   378.968254   94.74206349
5   50   l   0   378.968254   75.79365079
6   40   w   250   628.968254   104.8280423
7   30   l   0   628.968254   89.85260771
8   20   w   500   1128.968254   141.1210317
9   10   l   0   1128.968254   125.4409171
10   5   l   0   1128.968254   112.8968254
11   10   l   0   1128.968254   102.6334776
12   20   l   0   1128.968254   94.08068783
13   30   w   333.3333333   1462.301587   112.4847375
14   40   w   250   1712.301587   122.3072562
15   50   w   200   1912.301587   127.4867725
16   60   w   166.6666667   2078.968254   129.9355159
17   70   l   0   2078.968254   122.2922502
18   80   w   125   2203.968254   122.4426808
19   90   w   111.1111111   2315.079365   121.8462824
20   50   l   0   2315.079365   115.7539683



**EDIT**
I solved it myself, for anyone interested you will need 2 variables. I called mine "luck" and "lucky"

Here is the method i used:
-------------------------------------------
if win then
   luck += ((100/chance)*100)
else
   luck += 0
end

lucky = luck/betcount
-------------------------------------------

basically every bet it will either add the "luck chance" when winning, or adding 0 when losing a bet, you can get "luck chance" by dividing the max chance by the current bet chance, and multiplying it by 100.

Once that rounds chance has been added to the rest (known as "luck" in my case) you can then divide the total by the number of bets made("betcount" in my case) and store that to a variable that will update every round.

afterwards i can add "lucky" to a print command to show it in console:
-------------------------------------
print("Luck"..lucky.."% /100%")
-------------------------------------


Hope this helps everyone.

**EDIT**

Would you be able to show a line of code that will do what you are trying to explain?

I would like to use the luck aspect in a script i'm working on but cannot get my head around what you are trying to explain.

The use i want to use it for, the chance does not change, if i set the chance to 30% is stays 30%, so should be simpler than what you have explained.
Pages:
Jump to: