The program should be written in a way if > 99.89 then won, of course if chance is 0.1 and bethigh = true, for bethigh = false, if if <0.1 (take two decimals), i... Then there will be no mistakes. The winning number is 99.9 or higher, or 0.09 or lower.

Thank you,

Regards

Don't you think that if everything was as simple as that, all of the bugs in the program would be fixed already?

You need to understand that the bot uses sites other than primedice, and these other sites use more or fewer decimals and higher or lower edges. I can't hardcode the bot to 2 decimals and 1% edge because then most of the other sites won't work correctly. The code the bot uses to determine whether a bet is a win or a loss is:

if {high and Roll>( [maximum roll]-chance) } OR {low and (Roll < chance)}

It already does what you're suggesting, just more generic.

The problem you're highlighting here is purely a visual thing and does not affect the bots' decisions/logic.

This is a note to myself regarding which lines to change to fix this error:

https://github.com/Seuntjie900/DiceBot/blob/master/DiceBot/cDiceBot.cs#L5118`if (`

(decimal)_Bet.Roll <= (decimal)CurrentSite.maxRoll - (decimal)(_Bet.Chance) &&

(decimal)_Bet.Roll >= (decimal)(_Bet.Chance))