-
December 17th, 2021, 23:22 #651
After some investigation for my extensions failing with this error I found that the getActorFromCT function has been depricated and replaced with resolveActor.
Ive replaced it for all my errors with success, even got 5e Enhancer components working
The getActorFromCT affected the versions Im using of "5E Enhancer - Wounds:, 5E Enhancer - Faction Underlays" as well as the one above "AdvancedEffects"
Example of what I changed in the 5E Enhancer Wounds
--local actor = ActorManager.getActorFromCT(ctEntry);
local actor = ActorManager.resolveActor(ctEntry);
--local msg = ChatManager.createBaseMessage(ActorManager.getActo rFromCT(nodeChar),sUser);
local msg = ChatManager.createBaseMessage(ActorManager.resolve Actor(nodeChar),sUser);
-
December 18th, 2021, 00:12 #652
- Join Date
- Apr 2015
- Posts
- 7
Belay my previous update, it's still borked, no update today. Having a calcItemArmorClass problem now.
Last edited by picaroon; December 18th, 2021 at 00:20.
-
December 18th, 2021, 00:29 #653
- Join Date
- Apr 2015
- Posts
- 7
Kludged together
OK, fixed the code you suggested (in manager_effect_adnd.lua.)
Removed a "whitespace error" at the start of extension.xml (or it might have been the advanced_effects.xml.)
Replaced depreciated ActorManager2 with ActorManager5e in the char_weapon_adnd.lua.
Then commented out references to calcItemArmorClass in the char_invlist_adnd.lua.
And it seems to be working for now.
thanks for the first step, and the impetus to try fixing the code myself!Last edited by picaroon; December 18th, 2021 at 00:42.
-
December 18th, 2021, 01:07 #654
- Join Date
- Dec 2004
- Posts
- 208
I think the most recent update has broken this extension
The advanced effects I have attached to NPCs no longer seem to be making it to the Combat Tracker. Image attached.
-
December 18th, 2021, 01:24 #655
- Join Date
- Apr 2015
- Posts
- 7
-
December 18th, 2021, 01:34 #656
-
December 18th, 2021, 06:09 #657
- Join Date
- Dec 2004
- Posts
- 208
@picaroon, there's no actual error given, but the effects are not placed on the CT.
@MrDDT, yes, the picture that I attached shows the monsters before they were added to the CT and the effects are not listed.
-
December 18th, 2021, 06:14 #658
-
December 18th, 2021, 06:24 #659
- Join Date
- Dec 2004
- Posts
- 208
That's what I'm saying...
1) Add the advanced effect on the NPC, example; ADVINIT to the skeleton with broadsword
2) Then add that monster to the Combat Tracker
3) The effect is not listed under the monster on the Combat Tracker
-
December 18th, 2021, 06:30 #660
- Join Date
- Dec 2004
- Posts
- 208
Here's a gif of it not working.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks