spetzel2020 / quick-encounters

Quick Encounters keeps your Foundry map clean and your encounters simple in heavily populated dungeons.
GNU General Public License v3.0
20 stars 9 forks source link

Issue after first Quick encounter - conflict with CUB? #76

Closed Erfar closed 1 year ago

Erfar commented 2 years ago

After activation of first QE tool tab become un-active and can't run any other QE

PlayerColor.ts:42 Uncaught (in promise) TypeError: Cannot read property 'getFlag' of undefined [Detected 2 packages: df-chat-enhance, system:pf2e] at ChatMessagePF2e.🎁ChatMessage.prototype.getHTML#df-chat-enhance (PlayerColor.ts:42) at async ChatMessagePF2e.getHTML (main.bundle.js:1) at async ChatLogPF2e._ChatLog_postOne (scroll-manage.ts:87)

PlayerColor.ts:42 Uncaught (in promise) TypeError: Cannot read property 'getFlag' of undefined [Detected 2 packages: df-chat-enhance, system:pf2e] at ChatMessagePF2e.🎁ChatMessage.prototype.getHTML#df-chat-enhance (PlayerColor.ts:42) at async ChatMessagePF2e.getHTML (main.bundle.js:1) at async ChatLogPF2e._ChatLog_postOne (scroll-manage.ts:87) at async ChatLogPF2e.updateMessage (foundry.js:57551)

foundry.js:37819 Uncaught (in promise) TypeError: Cannot read property 'scale' of undefined [Detected 5 packages: monks-little-details, lib-wrapper, perfect-vision, stairways, quick-encounters] at TokenPF2e.refresh (foundry.js:37819) at Z.🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:510) at TokenPF2e.tokenRefresh (monks-little-details.js:211) at Z.🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:619) at TokenPF2e.🎁Token.prototype.refresh#perfect-vision (tokens.js:5) at Z.🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:619) at TokenPF2e.🎁Token.prototype.refresh#0 (libWrapper-wrapper.js:188) at foundry.js:22124 at Array.forEach () at TokenLayer.activate (foundry.js:22124) at TokenLayer.activate (foundry.js:31043) at TokenLayer.activate (injection.js:138) at QuickEncounter.run (QuickEncounter.js:904) at HTMLButtonElement. (QESheet.js:109) at HTMLButtonElement.dispatch (jquery.min.js:2) at HTMLButtonElement.v.handle (jquery.min.js:2)

spetzel2020 commented 2 years ago

I'm not sure what you mean by "tool tab". Can you include a screen shot?

I won't be able to get back to.my computer for 2 days; meantime can you try if this happens with your other modules disabled?

On Sat, Jan 8, 2022, 3:50 PM Erfar @.***> wrote:

After activation of first QE tool tab become un-active and can't run any other QE

PlayerColor.ts:42 Uncaught (in promise) TypeError: Cannot read property 'getFlag' of undefined [Detected 2 packages: df-chat-enhance, system:pf2e] at ChatMessagePF2e.🎁ChatMessage.prototype.getHTML#df-chat-enhance (PlayerColor.ts:42) at async ChatMessagePF2e.getHTML (main.bundle.js:1) at async ChatLogPF2e._ChatLog_postOne (scroll-manage.ts:87)

PlayerColor.ts:42 Uncaught (in promise) TypeError: Cannot read property 'getFlag' of undefined [Detected 2 packages: df-chat-enhance, system:pf2e] at ChatMessagePF2e.🎁ChatMessage.prototype.getHTML#df-chat-enhance (PlayerColor.ts:42) at async ChatMessagePF2e.getHTML (main.bundle.js:1) at async ChatLogPF2e._ChatLog_postOne (scroll-manage.ts:87) at async ChatLogPF2e.updateMessage (foundry.js:57551)

foundry.js:37819 Uncaught (in promise) TypeError: Cannot read property 'scale' of undefined [Detected 5 packages: monks-little-details, lib-wrapper, perfect-vision, stairways, quick-encounters] at TokenPF2e.refresh (foundry.js:37819) at Z.🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:510) at TokenPF2e.tokenRefresh (monks-little-details.js:211) at Z.🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:619) at TokenPF2e.🎁Token.prototype.refresh#perfect-vision (tokens.js:5) at Z.🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:619) at TokenPF2e.🎁Token.prototype.refresh#0 (libWrapper-wrapper.js:188) at foundry.js:22124 at Array.forEach () at TokenLayer.activate (foundry.js:22124) at TokenLayer.activate (foundry.js:31043) at TokenLayer.activate (injection.js:138) at QuickEncounter.run (QuickEncounter.js:904) at HTMLButtonElement. (QESheet.js:109) at HTMLButtonElement.dispatch (jquery.min.js:2) at HTMLButtonElement.v.handle (jquery.min.js:2)

— Reply to this email directly, view it on GitHub https://github.com/spetzel2020/quick-encounters/issues/76, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSZYWUSLC6VVWJPPSKF6UDUVDET3ANCNFSM5LRFCLQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

Erfar commented 2 years ago

image I'm doesn't sure right name, this I mean as tool tab

Tested, as stand-alone module works fine

Seems like conflict with Combat Utility Belt

spetzel2020 commented 1 year ago

This slipped through the cracks somehow - will need to check whether it still exists.

spetzel2020 commented 1 year ago

Closing this as CUB is not being supported in Foundry v11