Log in

View Full Version : Script execution error



Callum
March 31st, 2021, 10:05
Playing my regular Pathfinder game last night, and I started repeatedly getting console errors that I've never seen before:

[ERROR] Script execution error: [string "scripts/manager_combat2.lua"]:1000: attempt to index global 'ActorManager2' (a nil value)


I wasn't able to roll attacks off an NPC in the Combat Tracker, or from that NPC's sheet (it seemed to be treating the attack lines like ordinary text), although I could roll its "Base Atk" and Skills. Just mousing over the attack line popped up the console window with the error.

I'm running FGU v4.0.10 Standard, in the Live channel, and haven't made any updates to FG or the campaign since the last session. I did add these NPCs to the Combat Tracker since last session, from the encounter in the module (1.05.09. Encounter: Lair Of The Hidden Beast, in the Rise of the Runelords Anniversary Edition). I tried quitting FG, checking for updates, and then restarting, but the errors still occurred.

Trenloe
March 31st, 2021, 10:27
There were ActorManager2 changes made in the February release. Make sure you've updated any extensions (or removed those that haven't been updated) and ensure that you don't have an unzipped PFRPG or 3.5E directory in the <FG app data>\rulesets directory.

Callum
March 31st, 2021, 11:21
Thanks, Trenloe - it was an old extension that hadn't been updated ("Flat-footed on Combat Start" by mr900rr). I should have thought of that! I've removed it for now, and will replace it with Kelrugem's AoO tracker extension, when he's updated that.

Kelrugem
March 31st, 2021, 17:14
Thanks, Trenloe - it was an old extension that hadn't been updated ("Flat-footed on Combat Start" by mr900rr). I should have thought of that! I've removed it for now, and will replace it with Kelrugem's AoO tracker extension, when he's updated that.

The AoO extension got deprecated and integrated into the full package extension :) But that one also needs an update, lol xD (I still need to find time :) )

mr900rr
October 17th, 2021, 22:14
I recently started gaming again and so finding out my extensions have broken, been working on updating them will try to upload as I fix them, now if I can just remember how to upload it lol. Let me know if that works ok.

LordEntrails
October 18th, 2021, 01:46
I recently started gaming again and so finding out my extensions have broken, been working on updating them will try to upload as I fix them, now if I can just remember how to upload it lol. Let me know if that works ok.
You may wish to look into the Forge. It is now the preferred method for extension sharing. https://forge.fantasygrounds.com/

Kelrugem
October 18th, 2021, 12:00
I recently started gaming again and so finding out my extensions have broken, been working on updating them will try to upload as I fix them, now if I can just remember how to upload it lol. Let me know if that works ok.

hehe, thanks :)

No worries because of that; you may remember that you allowed me to integrate your code into my extension :) I maintained your code there for the time being :)

mr900rr
November 14th, 2021, 04:39
Yeah I remember that and I am glad you did as I dont get on here much and cant keep things updated as frequently, I only made the extension to improve functionality for my games and glad to share with antone who may want but I dont have the time to keep up with them so they are free for others to do with as they please.