FG-Unofficial-Developers-Guild / FG-Aura-Effect

This extension accommodates auras and AoE buffs/debuffs by adding/removing effects to other characters based on proximity.
https://www.fantasygrounds.com/forums/showthread.php?57417-5E-Aura-Effects
Other
13 stars 2 forks source link

Handler error: [string "campaign/scripts/image.lua"] ... (a nil value) #10

Closed jputman closed 3 years ago

jputman commented 3 years ago

BMOS EDIT: I am repurposing this issue as a catch-all for scope-issue script-errors from Token Height Indicator. These issues come from the Token Height Indicator extension.


So the Aura Effects extension was working perfectly fine, and then all of a sudden it started to spam these errors into the console. I confirmed that it was the aura effect causing it by disabling the effect and moving the token and the errors would not appear. As soon as I put the aura back on it started to spam them again.

I removed the token from the map and readded from CT, same issue. I removed from the combat tracker, and map and then added back to CT and to the map same issue.

At the same time as these errors where spamming the console the aura was not actually applying to anything.

We had been playing for about an 60 to 90 min fine. AuraEffectsExtensionError

bmos commented 3 years ago

That isn't from Aura, it appears to be coming from Token Height. If you're using that, install the latest version. However, it could be due to an interaction between the two.

bmos commented 3 years ago

try this beta and see if it changes anything https://github.com/bmos/FG-Aura-Effect/releases/tag/v1.1-beta.1

EDIT: https://github.com/bmos/FG-Aura-Effect/releases/tag/v1.1-beta.2

bmos commented 3 years ago

beta.2 had an issue. https://github.com/bmos/FG-Aura-Effect/releases/tag/v1.1-beta.3 works in my testing and I get no errors when testing with token height and aura ext (but I never got those errors).

bmos commented 3 years ago

Since this continues to be reported, here is what you should check first:

  1. Have you updated to the lastest Token Height Indicator extension?
  2. Have you updated to the latest Aura Effect extension?
  3. If you disable all extensions except for those two, do you still have this issue?
jputman commented 3 years ago

I have the latest for both Token Height and Aura. The weirdest part as mentioned before is that it will work for a bit and then all of a sudden start to happen.

I will see if I can find a reliable way to duplicate the issue.

bmos commented 3 years ago

I have the latest for both Token Height and Aura. The weirdest part as mentioned before is that it will work for a bit and then all of a sudden start to happen.

You might want to try this: https://www.fantasygrounds.com/forums/showthread.php?66566-5E-Token-Height-Indicator&p=606944&viewfull=1#post606944

rhagelstrom commented 3 years ago

I had it happen again last week. I don't think it has anything to do with Aura and it is all TokenHeight. The issue isn't reproducible although I do see it pretty often if I run a session, go figure. The only thing I can think of to reproduce it at this point is to have more than 1 client connected.

[6/6/2021 4:34:07 PM] EXTENSION: D&D Official Language Fonts (FR)\rfor Fantasy Grounds\rCopyright 2015 Smiteworks USA, LLC.\rD&D Copyright 2015 Wizards of the Coast LLC [6/6/2021 4:34:07 PM] EXTENSION: D&D Official Language Fonts\rfor Fantasy Grounds\rCopyright 2015 Smiteworks USA, LLC.\rD&D Copyright 2015 Wizards of the Coast LLC [6/6/2021 4:34:07 PM] EXTENSION: Dungeons & Dragons Theme v1.0\rfor Fantasy Grounds\rCopyright 2015 Smiteworks USA, LLC.\rD&D Copyright 2015 Wizards of the Coast LLC. [6/6/2021 4:34:07 PM] EXTENSION: Dungeons & Dragons, D&D, Wizards of the Coast, their respective logos, the dragon ampersand, all Wizards titles, the fifth edition rules, and Wizards' character names and distinctive likenesses are property and copyright of Wizards of the Coast LLC in the USA and other countries. Used with permission. [6/6/2021 4:34:07 PM] EXTENSION: Miss Flavor Text - Extension v2.0\r5E version for Fantasy Grounds\r--by Kent McCullough 2020 [6/6/2021 4:34:07 PM] EXTENSION: Token Height Indication v4.2 by GKEnialb [6/6/2021 4:34:07 PM] EXTENSION: Automatic Critical Damage - Extension v1.0.1\r5E version for Fantasy Grounds\r--by Kent McCullough 2020 [6/6/2021 4:34:07 PM] EXTENSION: Automatic Flanking and Range- Extension v2.1\r5E version for Fantasy Grounds\r--by Kent McCullough 2020 [6/6/2021 4:34:07 PM] EXTENSION: Automatic Halfling Luck - Extension v1.2.2\r5E version for Fantasy Grounds\r--by Kent McCullough 2020 [6/6/2021 4:34:07 PM] EXTENSION: Automatic Pack Tactics - Extension v1.7\r5E version for Fantasy Grounds\r--by Kent McCullough 2020 [6/6/2021 4:34:07 PM] EXTENSION: Automatic Sneak Attack - Extension v2.0\r5E version for Fantasy Grounds\r--by Kent McCullough 2020 [6/6/2021 4:34:07 PM] EXTENSION: Advanced Effects - 5E v4.9\rby Celestian, 2017-2020 [6/6/2021 4:34:07 PM] EXTENSION: Better Combat Effects - v1.0\r5E version for Fantasy Grounds Unity\r--by Ryan Hagelstrom 2021 [6/6/2021 4:34:07 PM] EXTENSION: Assistant GM v1.3 for Fantasy Grounds Unity \rCopyright 2021 SilentRuin \rPlayer(s) can fully control NPCs as an Assistant GM. [6/6/2021 4:34:07 PM] EXTENSION: Constitutional Amendments v1.3.10 for 5E by MeAndUnique.\r\nCurrent HP functionality designed and implemented by Tielc; FGU fixes by Zuilin. [6/6/2021 4:34:07 PM] EXTENSION: Kit'N'Kaboodle v1.3.1 for 5E by MeAndUnique. [6/6/2021 4:34:07 PM] EXTENSION: 5E - Indicators v12. [6/6/2021 4:34:07 PM] EXTENSION: 5E Extension - Combat Automation v1.1 by Xelab\nAutomates Spellcasting and Weapon Attacks.\nDouble-click "Upcast" button for help. [6/6/2021 4:34:07 PM] EXTENSION: Aura Effects - Extension v1.1\r--by Kent McCullough 2020 updated by SoxMax and bmos [6/6/2021 4:34:07 PM] EXTENSION: Automatic Save Advantage - Extension v1.4\r5E version for Fantasy Grounds\r--by Kent McCullough 2020 [6/6/2021 4:34:07 PM] EXTENSION: Mad Nomad's Party Combat Stats v3.8 \n For support, updates, and bonus content visit www.madnomadmedia.com (LINK) [6/6/2021 4:34:07 PM] EXTENSION: Turn Based Effects - Extension v2.8\r5E version for Fantasy Grounds\r--by Kent McCullough 2020 [6/6/2021 4:34:07 PM] EXTENSION: Drowbe's Chat Aesthetics Resplendent Configurator

[6/6/2021 6:53:48 PM] [ERROR] Script execution error: [string "campaign/scripts/image.lua"]:56: attempt to index global 'CombatManager' (a nil value)

bmos commented 3 years ago

A new Token Height update has been posted. It should keep the error away but we will see if it also breaks the aura extension.

bmos commented 3 years ago

I believe this issue has been fixed