kakaroto / Beyond20

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

Beyond20 & Display in VTT options missing for items, action roll button sends name/descr #1112

Closed nscarritt closed 3 months ago

nscarritt commented 3 months ago

Describe the bug Ability to roll through beyond20 for items is not working, regardless of reinstall or cache/cookie clear. Display in VTT and Beyond20 buttons for items no longer displaying in item description pane. When attempting to roll hit DC or damage through actions pane, beyond20 only sends the item name and description to roll20

Expected behavior The buttons should appear and send either item info or hit/damage rolls to beyond 20. Action pane should send specific rolls clicked on.

Screenshots b20 - hit rolls b20 - vtt missing

Browser Info (please complete the following information):

Uncaught ReferenceError: fadeInPageDisplay is not defined x https://cdn.roll20.net/production/vtt.bundle.js:45459 vtt.bundle.js:45459:41450 Got message :
Object { action: "settings", type: "character", id: "35385396", settings: {…} } roll20.js:4627:13 Got message :
Object { action: "rendered-roll", request: {…}, title: "Cold Saar's Hammer", html: <div class="beyond20-message"><div class="beyond20-header"><img class="beyond20-character-avatar" src="https://www.dndbeyond.com/avatars/17/345/636377875534113610.jpeg?width=150&height=150&fit=crop&quality=95&auto=webp" title="Cold Saar's Hammer" width="37" height="37"><details open><summary><a>Cold Saar's Hammer</a></summary><table><tr><td colspan'2'><i>Weapon, Common</i></td></tr></table><div class='beyond20-description'>Proficiency with a warhammer allows you to add your proficiency bonus to the attack roll for any attack you make with it.</div></details></div></div>, character: "Ryldyn Ath Crith", whisper: 0, play_sound: false, source: "Weapon, Common", attributes: {}, description: "Proficiency with a warhammer allows you to add your proficiency bonus to the attack roll for any attack you make with it.", … } roll20.js:4627:13 Autoplay is only allowed when approved by the user, the site is activated by the user, or media is muted. vtt.bundle.js:45500:13916 Uncaught (in promise) DOMException: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. Got message :
Object { action: "rendered-roll", request: {…}, title: "Cold Saar's Hammer", html: <div class="beyond20-message"><div class="beyond20-header"><img class="beyond20-character-avatar" src="https://www.dndbeyond.com/avatars/17/345/636377875534113610.jpeg?width=150&height=150&fit=crop&quality=95&auto=webp" title="Cold Saar's Hammer" width="37" height="37"><details open><summary><a>Cold Saar's Hammer</a></summary><table><tr><td colspan'2'><i>Weapon, Common</i></td></tr></table><div class='beyond20-description'>Proficiency with a warhammer allows you to add your proficiency bonus to the attack roll for any attack you make with it.</div></details></div></div>, character: "Ryldyn Ath Crith", whisper: 0, play_sound: false, source: "Weapon, Common", attributes: {}, description: "Proficiency with a warhammer allows you to add your proficiency bonus to the attack roll for any attack you make with it.", … } roll20.js:4627:13 Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'self' 'unsafe-eval' 'nonce-AIRrnMLzZvvvrRLV' 'nonce-opMbzQGjaTTZMLVL' https://cdn.roll20.net/ blob: https://www.datadoghq-browser-agent.com/ http://cdn.inspectlet.com/ https://*.googlesyndication.com https://*.doubleclick.net https://partner.googleadservices.com/ https://www.googletagservices.com/ https://ssl.google-analytics.com/ https://www.google-analytics.com/ https://ajax.googleapis.com/ http://ajax.googleapis.com/ https://d3clqjduf2gvxg.cloudfront.net/ https://cdn.firebase.com/ https://*.firebaseio.com https://*.tokbox.com https://*.opentok.com http://static.opentok.com/ http://www.google-analytics.com/ http://cdn.crowdin.com/ https://crowdin.com/ http://stun.l.google.com/ https://*.sentry-cdn.com https://www.googletagmanager.com/ https://*.refiner.io https://*.maze.co” Got message :
Object { action: "rendered-roll", request: {…}, title: "Cold Saar's Hammer", html: <div class="beyond20-message"><div class="beyond20-header"><img class="beyond20-character-avatar" src="https://www.dndbeyond.com/avatars/17/345/636377875534113610.jpeg?width=150&height=150&fit=crop&quality=95&auto=webp" title="Cold Saar's Hammer" width="37" height="37"><details open><summary><a>Cold Saar's Hammer</a></summary><table><tr><td colspan'2'><i>Weapon, Common</i></td></tr></table><div class='beyond20-description'>Proficiency with a warhammer allows you to add your proficiency bonus to the attack roll for any attack you make with it.</div></details></div></div>, character: "Ryldyn Ath Crith", whisper: 0, play_sound: false, source: "Weapon, Common", attributes: {}, description: "Proficiency with a warhammer allows you to add your proficiency bonus to the attack roll for any attack you make with it.", … } roll20.js:4627:13

.

kakaroto commented 3 months ago

Closing as duplciate. See my resposne to https://github.com/kakaroto/Beyond20/issues/1110