Unofficial Fallout 4 Patch

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Items
  • Assigned To
    Sclerocephalus
  • Operating System All
  • Severity Low
  • Priority Medium
  • Reported Version Fallout 4: Vanilla
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Unofficial Fallout 4 Patch
Opened by Sclerocephalus - March 13 2017
Last edited by Arthmoor - May 09 2017

FS#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

Closed by  Arthmoor
May 09 2017 12:31 AM
Reason for closing:  Fixed
Additional comments about closing:  

Fixed for UFO4P 2.0.1.

Sclerocephalus commented on March 13 2017 08:08 AM

May not be retroactive though because the property has a 'const' flag.
Forget this. Turned out to be retroactive.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing