Hello Guest

Incorrect bet due to different result range

  • 4 Replies
  • 5222 Views
*

cynik

  • **
  • 9
  • +0/-0
    • View Profile
Incorrect bet due to different result range
« on: January 15, 2019, 07:57:01 pm »
I've been trying a script on Stake that makes bets on 0.01% chance. While it does make bets on 0.01% chance, it only does that on bets for under and not on bets for over. On bets for over it actually ends up making bets on 0.02% chance, when I look at the actual logs on Stake itself.
It seems this is caused by the difference in range of results. DiceBot is making bets with results from 0 to 99.99 in mind, while Stake is actually using results from 0 to 100.

*

cynik

  • **
  • 9
  • +0/-0
    • View Profile
Re: Incorrect bet due to different result range
« Reply #1 on: January 21, 2019, 04:43:49 am »
I updated DiceBot to version 3.3.23, which now seems to make bets on Stake with the result range of 0-100 in mind. However the bug still seems to exit, where bets of 0.01% chance on over still ends up being bets of 0.02% chance on over when looking at the log on Stake. Which could mean that the bug is actually on Stake.

*

cynik

  • **
  • 9
  • +0/-0
    • View Profile
Re: Incorrect bet due to different result range
« Reply #2 on: January 30, 2019, 03:12:05 pm »
Small update.
I've tested a few bets each with a different chance on Dicebot v.3.3.23, but all still betting on over.
The result: every bet ended up being different on Stake.
The difference is that the target for Stake is always lowered by 0.01, which makes a big difference when making bets on a very low chance.
Here are some of the bets:
DiceBot vs Stake
33.33% - over 66.67 vs 33.34% - over 66.66
25.00% - over 75.00 vs 25.01% - over 74.99
12.50% - over 87.50 vs 12.51% - over 87.49
0.2% - over 99.80 vs ???% - over 99.79
0.1% - over 99.90 vs ???% - over 99.89
0.01% - over 99.99 vs 0.02%- over 99.98
Note: I couldn't figure out what some of the bets actual chance were on Stake, since it didn't read any chance below 1.01%

*

cynik

  • **
  • 9
  • +0/-0
    • View Profile
Re: Incorrect bet due to different result range
« Reply #3 on: February 01, 2019, 04:34:46 pm »
Update.
I tried another app similar to DiceBot and made similar test bets like before, to see if the bug really was in Stake or in DiceBot.
Lo and behold, every bets are like they should be. Every bets on Stake's log is how they should be.
So the bug actually is in DiceBot.

*

Seuntjie

  • *****
  • 340
  • +10/-2
    • View Profile
Re: Incorrect bet due to different result range
« Reply #4 on: February 01, 2019, 06:33:03 pm »
Update.
I tried another app similar to DiceBot and made similar test bets like before, to see if the bug really was in Stake or in DiceBot.
Lo and behold, every bets are like they should be. Every bets on Stake's log is how they should be.
So the bug actually is in DiceBot.

Sorry for taking so long to answer in this thread. There was an issue in the way the bot calculates the chance it sends to stake and I only noticed it after I packaged v3.3.23. I though I repackaged it before publishing to include the fix, but clearly I didn't.

If you are able to build it from code, the code on github right now has the fix and will work normally. I don't know yet when the next version will be available, I might upload a "beta" which won't really be a beta that specifically fixes this bug.