kakaroto / Beyond20

D&D Beyond Character Sheet Integration in Roll20
GNU General Public License v3.0
497 stars 145 forks source link

digital dice rolls has invalid JSON #1033

Closed kakaroto closed 1 year ago

kakaroto commented 1 year ago

Sending a roll with digital dice causes this bug in any character sheet open from another tab (a different character from the same campaign, receiving the roll via the game log) : image

kakaroto commented 1 year ago

It turns out to be a bug in D&D Beyond. Beyond20 requests get sent over the message brother and they will have a character's class features listed and Thieves' Cant or Hexblade's Curse (which uses a non-ascii character ( instead of ')) gets corrupted when sent over the message broker. You can get the same thing without Beyond20 by adding to your character's name. I also tried using non-ascii characters (大 for example) and that got replaced by ' when received on the other side, so it looks like the message broker is already replacing non-ascii characters but it's missing the character from its replacement. I think D&D Beyond needs to fix their message broker to support non ascii characters instead, especially when they use the weird character itself in their class features.