Yes I added an encounter to the map however I also added encounters previous to this and I didn't get the error. Yes there are other extensions so I get that probably isn't much help. I was rather confused why this was throwing an error as well.
Printable View
Actually in the latest, line 7 is (part of the getImageSettings() function):
The question I'm struggling with is whether it's better to protect against these strange cases (if getGridSize then ...) and just have the extension silently stop working, return some default value that may generally work but not always (like squirelling away the values when the image is initialized), or let the error occur and have it complain when it stops working... I can't think of any way to prevent a function from somehow disappearing (or why it would, unless there is an odd extension conflict).Code:local gridsize = getGridSize()
@rhagelstrom - was there anything different about the last encounter that you added than the earlier encounters? Were the tokens prearranged in the encounter or did you add the NPCs to the combat tracker and then drag from there to the map? Was the error on the DM console, the players' consoles, or both?
I loaded up the campaign again today and ran the same encounter without issue. I was running a map that was created with assets within fantasy grounds so there is that wild card as well. For now I'd say its not reproducible.
The issue was on the DM side. The larger issue with the error is that when the error was thrown it wouldn't allow me to make ranged attacks so I had to just do them manually. I agree with @GKEnialb that it really shouldn't happen.
Perhaps you could get a list together of what extensions you're using?
EDIT: kevininrussia has been having this issue too:
https://www.fantasygrounds.com/forum...-Handler-error
It would be great to see the list of extensions (and ruleset) for both rhagelstrom and kevininrussia. In the meantime, I've uploaded v3.4 which will keep things running if the functions get dropped so you won't have to switch to doing things manually in the middle of a battle...
Great - thanks.
I tried to recreate multiple times but was unable. I don't feel like list of extensions will help but here it is:
Advanced Effects
Attunement Tracker
Automatic Critical Damage
Automatic Death Resistance
Automatic Flanking and Range (no issue year+)
Automatic Halfling Luck
Automatic Mirror Image
Automatic Save Advantage
Automatic Sneak Attack
Better Combat Effects (Self ext for homebrew)
Constutional Amendments
Dark Luck (self ext for homebrew)
Indicators
Miss Flavor Text
Turn Based Effects
Aura Effects
Drowbe's Chat
MN Combat Stats
Random Encounter Gen
Token Height