PDA

View Full Version : Error when "Targeting" in 13th Age rules set.



GhostWolf1969
October 21st, 2022, 08:33
I'm using the official 13th Age products.
No other extensions as far as I know.

And I get a persistent error when PC or Monsters try to attack (regular weapon melee attack) a target.
Simply rolling attack without any target selected seem to work.

But with a target I get a Script Execution Error.
[string "13th_Age:scripts/manager_action_attack.lua"]:475: attempt to index local 'oTargetEffectsNode' (a nil value)

Any ideas what I'm doing wrong? I cannot imagine this is ageneric problem, since I can't find anyone else complaining about it, so it's probably me. Right?

/ulf

EDIT: Applying Damage to target works fine for some reason. And playing around with adding and removing creatures from the Action Tracker... sometimes it works with Attack Rolls as well.... but I cannot figure out why it works sometimes and sometimes not. Most of the time the error is there and then it is persistent.

Moon Wizard
October 21st, 2022, 16:35
I'm not sure what exactly is the trigger for the issue; and the original developer moved on a couple years ago. After taking a quick look at the code, I see some areas where a script error could occur, because it's not checking for empty cases. I just pushed a quick hot fix, which I think should address.

Can you do a new Check for Updates, and try again?

Thanks,
JPG

GhostWolf1969
October 21st, 2022, 16:55
I updated and now (I'm sorry to say) it's worse.

I get a Load error I have never seen before:

[ERROR] Failed to load script buffer (13th_Age:scripts/manager_action_attack.lua): [string "13th_Age:scripts/manager_action_attack.lua"]:495: unexpected symbol near ')'

and when attacking it now gives:

[ERROR] Script execution error: [string "13th_Age:ct/scripts/ct_attack.lua"]:180: attempt to call field 'performRoll' (a nil value)

So no dice are rolled at all, even without a target.

Moon Wizard
October 21st, 2022, 17:34
Apologies. Can you run another Check for Updates, and try again?

JPG

GhostWolf1969
October 21st, 2022, 17:40
I'm on it. Super appreciate the support btw. :)
Fingers crossed.

/ulf

GhostWolf1969
October 21st, 2022, 17:43
Clear! Everything is fine now as far as I can tell. I'll mess around with it some more and try to break it. But first glance we are good!

Excellent support MW. Thank you!

/ulf