PDA

View Full Version : Map Oddity (using 5E rules)



Dax Doomslayer
May 6th, 2018, 12:37
Hi Folks,
I created a module and imported a map, added pins to it etc. Now when I open it, I'm getting the following message: "Script Error: [string "campaign/scripts/image.lua"]:15: attempt to call field 'onCursorModeChanged' (a nil value)". The map does still open up and everything seems to be working fine. However, I'm wondering what this message is and if I should redo the map to get rid of this message (I'd prefer not to obviously). Any help is appreciated. Thanks!!

Zacchaeus
May 6th, 2018, 13:14
Are you running any extensions? Does this happen in a new campaign without extensions?

Also more information. You created a module and imported a map? Do you mean that you included the map in the module that you exported or do you mean you opened a new campaign and opened the module in that campaign and also imported a map to that campaign.

Dax Doomslayer
May 6th, 2018, 14:05
Hi Zacchaeus,
It was the "Players Image Auto Size" extension it looks. Once I deselected that, the error message goes away. Thanks for the help!

Trenloe
May 6th, 2018, 15:23
Two things here:

1) Whenever you get script errors - check extensions!

2) Whenever there is an update to FG (like the recent update to v3.3.5) - check your extensions for compatibility. They very often need to be updated to keep compatibility.

The map resize extension has been updated - find it here: https://www.fantasygrounds.com/forums/showthread.php?33834-Map-resize-to-TV-resolution-for-Face-To-Face-games

Background info on script errors with extensions here: https://www.fantasygrounds.com/forums/showthread.php?34865-v3-3-0-Issues-Problems-after-updating-Random-script-errors-etc

Dax Doomslayer
May 12th, 2018, 21:55
Thanks folks!! All set now.