View Full Version : Script execution error
Evilthorne
October 27th, 2021, 17:35
Hello,
I was just doing some tests and found that I am getting a Script execution error: [string "scripts/manager_action_attack.lua"];680: attempt to concatenate local 'nAddtionalDefenseForCC'(a nil value)
I think I have added the compiled logs report to this post.
Thanks
Evilthorne
October 27th, 2021, 17:36
And I have not added it to the message...
Evilthorne
October 27th, 2021, 17:38
I think I got it now...
LordEntrails
October 27th, 2021, 17:56
99.99% of the time, script errors are caused by extensions or the interactions between extensions.
Start a new campaign with no extensions. Test and verify you do not get any errors, enable your extensions one at a time until you find the extension, or combination of extensions that cause the problem. Then let the extension author(s) know by posting details in the threads for those extensions.
Moon Wizard
October 27th, 2021, 21:06
That variable is not in any of the code for the rulesets, so it's going to be an extension error. You have 10 extensions loaded according to your logs, so you'll need to figure out which one is causing the issue by disabling them.
Regards,
JPG
darrenan
October 27th, 2021, 23:32
Looks like that variable name has a typo in it (missing 'i' in Addtional) so I'm guessing the extension author just fat-fingered that.
Evilthorne
October 28th, 2021, 17:11
Looks like that variable name has a typo in it (missing 'i' in Addtional) so I'm guessing the extension author just fat-fingered that.
Whoops that is my "fat-fingered" mistake it is spelt "Additional" I typed it out manually because it would not let me select that text in the window.
I have a "test" game that I will try and add an the extensions one at a time.
Sorry.
Evilthorne
October 28th, 2021, 18:12
So I tried it on a test campaign. Took me awhile to recreate it until I figured out that it happens on critical hits. I have begun removing extensions one by one but ran out of time before having to go to work. I imagine that the additional defence for cc means some type of defence for confirmed critical maybe?
Trenloe
October 28th, 2021, 18:20
I imagine that the additional defence for cc means some type of defence for confirmed critical maybe?
I would imagine so.
Evilthorne
November 3rd, 2021, 22:55
So the winning culprit is:
Feature: StrainInjury plus extended automation overlays
I didn't notice also that it was not auto rolling to see if the criteria was confirmed also.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.