saif-ellafi / foundryvtt-mythic-gme

Mythic GM Emulator Macros and Roll Tables
Other
27 stars 15 forks source link

error running macro #5

Closed cristianmtr closed 2 years ago

cristianmtr commented 2 years ago

I imported the Random Event macro but when I try to run it, I get:

mythic-gme-tools.js:443 Uncaught (in promise) TypeError: Cannot read property 'timeBeforeHide' of undefined
    at Function._mgmeSubmitOracleQuestion (mythic-gme-tools.js:443)
saif-ellafi commented 2 years ago

Hi @cristianmtr - sorry about that! timeBeforeHide has to do with 3D Dice. Do you have Dice so Nice installed? Will investigate soon. Also please make sure to update to latest version.

saif-ellafi commented 2 years ago

-- deleted due to being misleading

saif-ellafi commented 2 years ago

ahhh no, the error is something else @cristianmtr - I think this is because there is a part in Random Event that does not check if your Dice so Nice 3D Dice settings were ever configured. If you go to Dice so Nice settings and press Save, it should work

Go here:

Screenshot_20211229_213129

Then here and press "Save" on all menus!

image

Proper warning message will be included in next release

saif-ellafi commented 2 years ago

The fix to prevent this error should be now addressed with a proper error. Have fun!