Hello Guest

win with wrong value

  • 8 Replies
  • 374 Views
*

virtualdreams

  • **
  • 15
  • +0/-0
    • View Profile
win with wrong value
« on: May 17, 2019, 12:24:17 pm »
Hello,

Found another bug. Attachment, the bot said it was a win, when the roll was the last value.

bitsler bet id: 32636899253

it's supposed to be bigger then that value, and in the bot its the same value.

*

Seuntjie

  • *****
  • 321
  • +5/-2
    • View Profile
Re: win with wrong value
« Reply #1 on: May 17, 2019, 01:01:00 pm »
Can you post a screenshot please?

If this is the issue I am thinking of, it's not on the bots' side. The site returns a value for the roll other than the actual value (like when it's supposed to be 12.34 it ends up being 12.3400000000000004 in which case it is technically larger than 12.34). The issue is with the precision their API uses and the wrong value is returned by the site. They need to fix the precision issues.

*

virtualdreams

  • **
  • 15
  • +0/-0
    • View Profile
Re: win with wrong value
« Reply #2 on: May 17, 2019, 01:58:07 pm »
Hey,

I already reported this one.. but it was last month.. https://forum.seuntjie.com/index.php?topic=581.0

But this time, here's the print: https://imgur.com/a/7I1fhmR

It's sad.. 2nd time it happens :(

*

virtualdreams

  • **
  • 15
  • +0/-0
    • View Profile
Re: win with wrong value
« Reply #3 on: May 17, 2019, 03:28:57 pm »
Can you post a screenshot please?

If this is the issue I am thinking of, it's not on the bots' side. The site returns a value for the roll other than the actual value (like when it's supposed to be 12.34 it ends up being 12.3400000000000004 in which case it is technically larger than 12.34). The issue is with the precision their API uses and the wrong value is returned by the site. They need to fix the precision issues.

Their answer to your comment: https://imgur.com/a/3lU0SsA

*

Seuntjie

  • *****
  • 321
  • +5/-2
    • View Profile
Re: win with wrong value
« Reply #4 on: May 19, 2019, 07:50:27 am »
I talked to Gabriel about it and he's sent it to the devs. I have not received any feedback yet but I hope it will be fixed soon.

*

unibitsler

  • *
  • 1
  • +0/-0
  • Bitsler - Dev
    • View Profile
    • Bitsler
Re: win with wrong value
« Reply #5 on: June 14, 2019, 12:43:12 pm »
I talked to Gabriel about it and he's sent it to the devs. I have not received any feedback yet but I hope it will be fixed soon.

Good day, Unibtc here from Bitsler dev team. Just want to inform you guys that this has been patched up already. We apologize for the delay. Cheers!

*

PMG

  • **
  • 36
  • +0/-0
    • View Profile
Re: win with wrong value
« Reply #6 on: June 22, 2019, 05:36:50 pm »
to avoid any problem replace "if win" by "if lastBet.profit  > 0"  in programer mode

*

Seuntjie

  • *****
  • 321
  • +5/-2
    • View Profile
Re: win with wrong value
« Reply #7 on: June 22, 2019, 07:39:52 pm »
to avoid any problem replace "if win" by "if lastBet.profit  > 0"  in programer mode

what if you're wagering 0?

*

PMG

  • **
  • 36
  • +0/-0
    • View Profile
Re: win with wrong value
« Reply #8 on: June 22, 2019, 09:10:47 pm »
i didn't know that was possible. I'don't play on sites who allow bet  0.
and if lastBet.profit >= 0 is better (always the same problem I know. but it works with profit  = 0 and wager > 0)
« Last Edit: June 23, 2019, 05:56:33 am by PMG »