Welcome to the AFK Mods bug tracker. In order to report an issue, you need to have a VALIDATED account to post one. Once you have followed the link the registration email sent you, 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.

Please also consider sending your bug report to Bethesda if you are reporting on an issue with Skyrim Special Edition, Fallout 4, or Starfield. Doing so will help everyone on all platforms.

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Nuka-World DLC
Category: Papyrus
Assigned To: Nobody
Platform: Windows PC
Severity: Low
Votes: 0
Watching: N/A
Opened By Sclerocephalus on Jun 7, 2016 6:44 am
Closed By Arthmoor on Aug 3, 2016 9:51 pm
Resolution: Fixed

Issue #20604: hc_managerscript - Cannot call Dispel() on a None object

 
[06/06/2016 - 10:11:46AM] error: Cannot call Dispel() on a None object, aborting function call

stack:

[HC_Manager (0000080E)].hardcore:hc_managerscript.OnTimerGameTime() - "<unknown file>" Line ?

The error is on HC_CaffeinatedEffectScript which currently sends a script instance to hc_managerscript. The function that receives the call on that script expects an active magic effect though.

Solution: Amend HC_CaffeinatedEffectScript as follows:

<pre class="_prettyXprint _lang-">
Scriptname Hardcore:HC_CaffeinatedEffectScript extends activemagiceffect

Hardcore:HC_ManagerScript Property HC_Manager const auto
{autofill}

Event OnEffectStart(Actor akTarget, Actor akCaster)
;EDIT: Missing cast added:
HC_Manager.CaffeinatedEffectToggle(self As ActiveMagicEffect)
EndEvent
</pre>

Comments

3 comment(s) [Closed]
Arthmoor said:
 
FYI, since this is coming up regularly, I asked about it. SMKViper responded: <a data-ipb='nomediaparse' href='https://community.bethesda.net/message/132608#132608'>https://community.bethesda.net/message/132608#132608</a>

The kind of casting you're doing doesn't seem like it's necessary at all and hasn't changed since Skyrim.

The call to null that property is made in more than one place though. Did you happen to sleep before the update timer expired? Maybe that's the real issue?

Sclerocephalus said:
 
Thanks for the update.

Will have another look at it.

Arthmoor said:
 
Fixed for UFO4P 1.0.5.

Sanity check added.

Showing Comments 1 - 3 of 3