Welcome to the AFK Mods bug tracker. In order to report an issue, please select a project from the drop down menu below. Select “Open New Issue” and fill out the form with as many details as possible.

An account will be required to submit an issue, so if you need one and are unable to register, please contact us via the forums at https://afkmods.iguanadons.net/
       

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Vanilla
Category: Items
Assigned To: Sclerocephalus
Platform: All
Severity: Low
Votes: 0
Watching: N/A
Opened By Sclerocephalus on Mar 13, 2017 1:05 am
Last Edited By Arthmoor on May 8, 2017 5:31 pm
Closed By Arthmoor on May 8, 2017 5:31 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.1.

Issue #22127: TrapFlamethrower is missing a value for the WorkshopNoRepairKeyword property

[03/12/2017 - 11:00:28AM] error: Cannot add a None keyword to a reference
stack:
[ (0100C307)].TrapFlamethrower.AddKeyword() - "<native>" Line ?
[ (0100C307)].TrapFlamethrower.FireTrap() - "g:\_F4\Art\Raw\ScriptsMilestone\TrapBase.psc" Line 169
[ (0100C307)].TrapFlamethrower.OnTimer() - "g:\_F4\Art\Raw\ScriptsMilestone\TrapBase.psc" Line 243
[03/12/2017 - 11:00:28AM] error: Cannot add a None keyword to a reference
stack:
[ (0100C306)].TrapFlamethrower.AddKeyword() - "<native>" Line ?
[ (0100C306)].TrapFlamethrower.FireTrap() - "g:\_F4\Art\Raw\ScriptsMilestone\TrapBase.psc" Line 169
[ (0100C306)].TrapFlamethrower.OnTimer() - "g:\_F4\Art\Raw\ScriptsMilestone\TrapBase.psc" Line 243
[03/12/2017 - 11:00:41AM] error: Cannot remove a None keyword
stack:
[ (0100C307)].TrapFlamethrower.RemoveKeyword() - "<native>" Line ?
[ (0100C307)].TrapFlamethrower.FireTrap() - "g:\_F4\Art\Raw\ScriptsMilestone\TrapBase.psc" Line 182
[ (0100C307)].TrapFlamethrower.OnTimer() - "g:\_F4\Art\Raw\ScriptsMilestone\TrapBase.psc" Line 243
[03/12/2017 - 11:00:41AM] error: Cannot remove a None keyword
stack:
[ (0100C306)].TrapFlamethrower.RemoveKeyword() - "<native>" Line ?
[ (0100C306)].TrapFlamethrower.FireTrap() - "g:\_F4\Art\Raw\ScriptsMilestone\TrapBase.psc" Line 182
[ (0100C306)].TrapFlamethrower.OnTimer() - "g:\_F4\Art\Raw\ScriptsMilestone\TrapBase.psc" Line 243


TrapFlamethrower is the non-workshop flamethrower version (so it is somewhat understandable why this property was not inialized) but it runs the same script as the workshop version, and the script has not been conceived to discern workshop and non-workshop objects.

Note that the actual error occurs on the TrapBase script which the TrapFlamethrower script extends. While I could add a check for the keyword being none, setting this keyword on the scripts of non-workshop trap object versions has no unwanted side effects and is therefore a better solution than a script modification without actual need.

EDIT: More with the same problem (all of them fixed for this ticket too):
- TrapIEDCigarCarton
- DLC04Gauntlet_TrapIEDCigarCarton
- TrapElectricalArc

       

Comments

1 comment(s) [Closed]
Sclerocephalus said:
<del>May not be retroactive though because the property has a 'const' flag</del>.
Forget this. Turned out to be retroactive.

       
Comment #1 Mar 13, 2017 1:08 am  Edited by on Mar 15, 2017 3:30 am
Showing Comments 1 - 1 of 1