PDA

View Full Version : 5e NPCs unusable :-(



woodscanner
July 13th, 2022, 07:24
Morning all,
Just updated, and now when I open an NPC in my 5e campaign (all NPCs, home made and official) the red dragon head at the top left is white, and I get the repeated error message

Script execution error: [string "campaign/scripts/string_powerdesc.lua"]51: attempt to compare nil with number

I can see the NPC, unlock it, mess with it, but not put in on the combat tracker etc.

Brilliant ideas welcome!

Moon Wizard
July 13th, 2022, 07:32
I'm not seeing this issue. Are you running any extensions on your campaign? If so, can you try disabling on the launch screen for the campaign, and try again?

Regards,
JPG

woodscanner
July 13th, 2022, 07:40
OK, have played around.
Restarted (all extensions disabled)
NPCs look fine, but when I try to load an encounter it comes up with
53527

But the NPCs still have the red dragon head and can be loaded onto the combat tracker individually with no problem.

woodscanner
July 13th, 2022, 07:49
Tried lots of encounters, both official and specific to my campaign, also specific to my campaign using only vanilla Monster Manual NPCs.
9 out of 10 times I get this error, often it has successfully loaded some of the NPCs (again self made and vanilla) and then stopped.
With Abominable Yeti, Adult Blue Dracolich and Air Elemental, for instance, it loaded the Adult Blue Dracolich, but then got the error and didn't load the other two.

woodscanner
July 13th, 2022, 08:01
So, these were the original extensions :
53528
With these in place - NPCs have white dragon head, can't put on tracker manually.
With all these disabled - NPCs have red dragon head, can put on tracker manually, encounters crash unpredictably.

Thank you so much for looking at this - everything has run so reliably for me for so long I was getting complacent :-)

Zacchaeus
July 13th, 2022, 08:13
I can replicate this. It will successfully load the first NPC (even if you add say three Aarakocra's - it doesn't need to be three different MPCs) but then throws an error at the second and doesn't load any more.

Edit: It's not an extension that's causing the problem. I tested in a new campaign with nothing added to it at all - not even a theme.

Zacchaeus
July 13th, 2022, 08:31
I see from this thread that this was hotfixed earlier https://www.fantasygrounds.com/forums/showthread.php?74397-PF2e-Tokens-from-Encounters-Not-Placed-on-Map

However I'm still seeing the issue in 5e and in PF2. Oddly if I add an existing encounter in PF2 from a module then the encounter gets added correctly with no errors. However if I add an existing encounter in 5e I get the error. In both 5e and in PF2 if I create a new encounter then I get the error in both cases.

I tried deleting the CoreRPG.pak and 5e.pak files and updating but to no avail.

Moon Wizard
July 13th, 2022, 10:30
Just pushed another hot fix to address this. It seemed to happen with non-preplaced NPCs.

Regards,
JPG

woodscanner
July 13th, 2022, 10:46
Thank you!
It is now working - with no extensions.

Not really your problem but just FYI - the initial "white dragon" issue with NPCs seems to be related to the Death Indicator extension update, I'm not getting it when I remove this extension.