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: Nuka-World DLC
Category: Papyrus
Assigned To: Sclerocephalus
Platform: All
Severity: Low
Votes: 0
Watching: N/A
Opened By Sclerocephalus on Apr 23, 2017 5:49 pm
Last Edited By Sclerocephalus on Aug 31, 2017 5:00 am
Closed By Arthmoor on Oct 11, 2017 7:42 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.2.

Issue #22367: DLC04:AbPerkGhoulish04EffectScript - Cannot divide by zero

[04/23/2017 - 04:18:03AM] error: Cannot divide by zero
stack:
[Active effect 5 on (00000014)].DLC04:AbPerkGhoulish04EffectScript.OnTimerGameTime() - "g:\_F4\DLC04\Art\Raw\Scripts\DLC04\AbPerkGhoulish04EffectScript.psc" Line 41


Apparently, a timer event on this script may fire after the player has died. If so, PlayerRef.GetValuePercentage(Health) returns zero.

       

Comments

1 comment(s) [Closed]
Sclerocephalus said:
Added a check to the timer event to bail out if the player is dead.

       
Comment #1 Aug 31, 2017 5:01 am  Edited by on Aug 31, 2017 5:01 am
Showing Comments 1 - 1 of 1