PDA

View Full Version : a nil value



Waldbaer
September 19th, 2017, 23:13
Hi All,

I have started a new 5e campaign and also created some new chars within the campaign. Unfortunately when I try to use spells of my wizard I always receive failures like shown in Number (1) and furthermore the char sheet is empty for those spells. If I drag and drop new spells from the phb module to the char, I always get failures like shown in Number (2). If I import the same char into the Manage Char module, then everything is working just well. Last but not least I deleted the campaign and made a new one but still used the same .xml-char-files and imported them. This did not help...

Number (1)
Script Error: [string "button"]:1: attempt to call field 'performPCPowerAction' (a nil value)
Script Error: [string "button"]:1: attempt to call field 'performPCPowerAction' (a nil value)
Script Error: [string "button"]:1: attempt to call field 'performPCPowerAction' (a nil value)
Script Error: [string "button"]:1: attempt to call field 'performPCPowerAction' (a nil value)
Database Notice: Campaign saved.
Script Error: [string "button"]:1: attempt to call field 'performPCPowerAction' (a nil value)
Script Error: [string "button"]:1: attempt to call field 'performPCPowerAction' (a nil value)
Script Error: [string "button"]:1: attempt to call field 'performPCPowerAction' (a nil value)


Number 2
Script Error: [string "campaign/scripts/power_action.lua"]:96: attempt to call field 'getPCPowerCastActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:51: attempt to call field 'getPCPowerCastActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:96: attempt to call field 'getPCPowerCastActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:51: attempt to call field 'getPCPowerCastActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:96: attempt to call field 'getPCPowerCastActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:51: attempt to call field 'getPCPowerCastActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:102: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:63: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:102: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:63: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:102: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:63: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:102: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:63: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:102: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:63: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:102: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:63: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:102: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:63: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action.lua"]:102: attempt to call field 'getPCPowerDamageActionText' (a nil value)
Script Error: [string "campaign/scripts/power_action_mini.lua"]:63: attempt to call field 'getPCPowerDamageActionText' (a nil value)

20571

Any idea where this might come from?
Thanks for your assistance in advance!

p.s. I have bought the complete 5E bundle and also have an ultimate license.

Waldbaer
September 19th, 2017, 23:31
Hey guys,

sorry, no need to put energy into that. I found the reason myself: the Effect Targeting Enhancement extension in the newest version (Link (https://www.fantasygrounds.com/forums/showthread.php?24573-Effect-Targeting-Enhancement-(Extension)&p=336587&viewfull=1#post336587)) was doing that to the game. I deactivated all extensions that I used and tried to activate them again one by one.

Looks like this is unuseable though...now all works fine again without this extension in place.

Thanks nevertheless and please close the threat.

poppy_thompson
September 21st, 2017, 02:32
I will just place my nil value messages here.

Script Error: [string "scripts/manager_token2.lua"]:391: attempt to index field 'original' (a nil value)
Script Error: [string "scripts/manager_token2.lua"]:391: attempt to index field 'original' (a nil value)

These occurred when a targeted PC with a concentration spell effect ongoing took damage. It also occurred when I opened the map by double-clicking on the token in the CT.

Extensions running:

5E Alternate Wound Colors
Colored Sidebar
D&D Elemental Evil Desktop Decals
Death Indicator 2.0
DOE: Base Extension v2.3.1
DOE: Sound Extension v3.0
Encounter Difficulty Calculator
Fantasy Language Fonts
GM Icon
Hero Points for 5e
Moodlighting
Theogeek's Improved Critical


I have these token settings toggled:

20602

poppy_thompson
September 21st, 2017, 03:13
EDIT No 2:
The error messages only seem to happen when a PC and/or NPC have an effect applied to their token. I removed all extension and it didn't happen. It would seem one or a combination of the above extensions is the culprit.

Death Indicator 2.0 is the winner... or shall we say loser. I really enjoy this little extension!

celestian
September 21st, 2017, 03:21
EDIT No 2:
The error messages only seem to happen when a PC and/or NPC have an effect applied to their token. I removed all extension and it didn't happen. It would seem one or a combination of the above extensions is the culprit.

Death Indicator 2.0

That's the reason. He's not updated his extension yet. If you use mine (https://www.fantasygrounds.com/forums/showthread.php?38059-5E-Map-Indicator-for-Death) it's updated and wont give that error till he has the chance.

His is based on mine, only reason I know this ;)

poppy_thompson
September 21st, 2017, 03:32
Thanks! I didn't see your post until I refreshed my edit about the 'solution'.


Death Indicator 2.0

That's the reason. He's not updated his extension yet. If you use mine (https://www.fantasygrounds.com/forums/showthread.php?38059-5E-Map-Indicator-for-Death) it's updated and wont give that error till he has the chance.

His is based on mine, only reason I know this ;)