View Full Version : Error when rolling attack using listed weapon
WellingtonKool
August 9th, 2025, 02:43
If I select a PC in the combat tracker, click on the blue circle with the dragon icon to the left of the weapon name a window pops up for the weapon. There is a red box in the window with tooltip "Roll an attack using listed weapon." If I double click on the red box, instead of rolling a die I get an error window with message:
[WARNING] window: Anchored static height ignored for control (actions_global_detail) in windowclass (cta_actions_host)
[ERROR] Script execution error: [string "2E:campaign/scripts/char_weapon.lua"]:133: attempt to index local 'rActor' (a nil value)
Lastly, a quality of life issue, the text in the error window should be selectable so I can copy/paste it instead of having to type out the error message by hand.
LordEntrails
August 9th, 2025, 04:58
When encountering script errors, they are usually do to extensions. Please test in a new campaign with no extensions enabled. If it's an extension, you will need to reach out to the extension developer if you have insured you have updated the extension and still have the issue.
If an error happens in a new campaign with no extensions, then we will need to at least know what ruleset you are using and steps to reproduce. Screenshots and attaching the logs (via Compile Logs) are also very helpful.
Let us know if you need more help gathering the information.
Zacchaeus
August 9th, 2025, 08:52
Lastly, a quality of life issue, the text in the error window should be selectable so I can copy/paste it instead of having to type out the error message by hand.
You'll find in the FGData folder the log files; if you open the console.log or console-prev.log in a text editor you can copy the error from that and paste it wherever you want.
Trenloe
August 9th, 2025, 15:32
Lastly, a quality of life issue, the text in the error window should be selectable so I can copy/paste it instead of having to type out the error message by hand.
When you get an error and want to report it, compile the FG logs and attach the resulting ZIP file. This will give the devs good troubleshooting information (including the details of the error message). Information on how to compile the FG logs can be found in the Wiki here: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/1242136781/How+to+Compile+Logs
Moon Wizard
August 9th, 2025, 18:34
@WellingtonKool,
As @LordEntrails mentioned, there's a Compile Logs button right there in the console window where the error pops up to automatically bundle up logs into a single file you can post/send.
For the error you reported, I'm not seeing that error either when rolling from the combat tracker or the character sheet; and I tried with an existing weapon as well as a new weapon.
If you are running extensions, please try without. Otherwise, please post a zipped up copy of the campaign folder that is having the issue; as well as the names of the character and weapon causing an issue.
Regards,
JPG
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.