VanceCole / simplefog

A module for FoundryVTT that lets you draw fog of war manually
MIT License
9 stars 21 forks source link

version.0.7.5 #12

Open HippyCraig opened 4 years ago

HippyCraig commented 4 years ago

When enabling this in version.0.7.5 I get this from the console

Foundry VTT | Error thrown in hooked function _call @ foundry.js:2428 callAll @ foundry.js:2386 callOriginalFunction @ Patches.js:59 (anonymous) @ Debug.js:33 _getControlButtons @ foundry.js:20034 SceneControls @ foundry.js:19487 initializeUI @ foundry.js:6563 setupGame @ foundry.js:6474 async function (async) setupGame @ foundry.js:6468 _initializeGameView @ foundry.js:7227 initialize @ foundry.js:6404 async function (async) initialize @ foundry.js:6396 window.addEventListener.once @ foundry.js:7359 async function (async) window.addEventListener.once @ foundry.js:7358 foundry.js:2429 TypeError: Cannot read property 'simplefog' of null at controls.js:23 at Function._call (foundry.js:2426) at Function.callAll [as furnace_original_callAll] (foundry.js:2386) at Function.callOriginalFunction (Patches.js:59) at Function. (Debug.js:33) at SceneControls._getControlButtons (foundry.js:20034) at new SceneControls (foundry.js:19487) at Game.initializeUI (foundry.js:6563) at Game.setupGame (foundry.js:6474) at async Game._initializeGameView (foundry.js:7227) _call @ foundry.js:2429 callAll @ foundry.js:2386 callOriginalFunction @ Patches.js:59 (anonymous) @ Debug.js:33 _getControlButtons @ foundry.js:20034 SceneControls @ foundry.js:19487 initializeUI @ foundry.js:6563 setupGame @ foundry.js:6474 async function (async) setupGame @ foundry.js:6468 _initializeGameView @ foundry.js:7227 initialize @ foundry.js:6404 async function (async) initialize @ foundry.js:6396 window.addEventListener.once @ foundry.js:7359 async function (async) window.addEventListener.once @ foundry.js:7358 foundry.js:2428 Foundry VTT | Error thrown in hooked function _call @ foundry.js:2428 call @ foundry.js:2411 callOriginalFunction @ Patches.js:59 (anonymous) @ Debug.js:42 _render @ foundry.js:4472 async function (async) _render @ foundry.js:4434 render @ foundry.js:4404 initializeUI @ foundry.js:6574 setupGame @ foundry.js:6474 async function (async) setupGame @ foundry.js:6468 _initializeGameView @ foundry.js:7227 initialize @ foundry.js:6404 async function (async) initialize @ foundry.js:6396 window.addEventListener.once @ foundry.js:7359 async function (async) window.addEventListener.once @ foundry.js:7358 foundry.js:2429 TypeError: Cannot read property 'simplefog' of null at controls.js:117 at Function._call (foundry.js:2426) at Function.call [as furnace_original_call] (foundry.js:2411) at Function.callOriginalFunction (Patches.js:59) at Function. (Debug.js:42) at SceneControls._render (foundry.js:4472) _call @ foundry.js:2429 call @ foundry.js:2411 callOriginalFunction @ Patches.js:59 (anonymous) @ Debug.js:42 _render @ foundry.js:4472 async function (async) _render @ foundry.js:4434 render @ foundry.js:4404 initializeUI @ foundry.js:6574 setupGame @ foundry.js:6474 async function (async) setupGame @ foundry.js:6468 _initializeGameView @ foundry.js:7227 initialize @ foundry.js:6404 async function (async) initialize @ foundry.js:6396 window.addEventListener.once @ foundry.js:7359 async function (async) window.addEventListener.once @ foundry.js:7358

dev7355608 commented 3 years ago

Same here.

foundry.js:2498 Foundry VTT | Error thrown in hooked function
    _call                        @ foundry.js:2498
    call                         @ foundry.js:2481
    _render                      @ foundry.js:4547
    async function (async)
    _render                      @ foundry.js:4509
    render                       @ foundry.js:4479
    initializeUI                 @ foundry.js:6653
    setupGame                    @ foundry.js:6553
    async function (async)
    setupGame                    @ foundry.js:6547
    _initializeGameView          @ foundry.js:7306
    initialize                   @ foundry.js:6479
    async function (async)
    initialize                   @ foundry.js:6471
    window.addEventListener.once @ foundry.js:7436
    async function (async)
    window.addEventListener.once @ foundry.js:7435
foundry.js:2499 TypeError: Cannot read property 'simplefog' of null
        at controls.js:117
        at Function._call        (foundry.js:2496)
        at Function.call         (foundry.js:2481)
        at SceneControls._render (foundry.js:4547)
    _call                        @ foundry.js:2499
    call                         @ foundry.js:2481
    _render                      @ foundry.js:4547
    async function (async)
    _render                      @ foundry.js:4509
    render @ foundry.js:4479
    initializeUI                 @ foundry.js:6653
    setupGame                    @ foundry.js:6553
    async function (async)
    setupGame                    @ foundry.js:6547
    _initializeGameView          @ foundry.js:7306
    initialize                   @ foundry.js:6479
    async function (async)
    initialize                   @ foundry.js:6471
    window.addEventListener.once @ foundry.js:7436
    async function (async)
    window.addEventListener.once @ foundry.js:7435
crhampton1 commented 3 years ago

Just providing an update on all open issues with Vance's module. This has been taken over by the League of Foundry Developers. This will help prevent lapses in updates. I have taken over as main contributor. All new releases and updates will be managed through the new forked version. We will get the link updated on the Foundry VTT website, but you may want to go ahead and switch. We have already updated and added some new features.

To install this fork, you first will have to uninstall the old module, then install based on this manifest url. You should not lose your fog on maps you have used previously.

https://raw.githubusercontent.com/League-of-Foundry-Developers/simplefog/master/module.json