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: Papyrus
Assigned To: Sclerocephalus
Platform: All
Severity: Very Low
Votes: 0
Watching: N/A
Opened By Sclerocephalus on May 13, 2018 10:25 am
Last Edited By Sclerocephalus on May 13, 2018 11:20 am
Closed By Sclerocephalus on May 18, 2018 6:46 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.4

Issue #24486: mq203script - Array index 8 is out of range (0-7) and follow-up errors

[05/11/2018 - 11:58:35PM] error: Array index 8 is out of range (0-7)
stack:
[MQ203 (000229EA)].mq203script.StartMemory() - "g:\_F4\Art\Raw\Scripts\MQ203Script.psc" Line 159
[MQ203 (000229EA)].mq203script.ExitMessage() - "g:\_F4\Art\Raw\Scripts\MQ203Script.psc" Line 820
[ (000D84AE)].MQ203MemoryExitTrigger.OnActivate() - "g:\_F4\Art\Raw\Scripts\MQ203MemoryExitTrigger.psc" Line 7
[05/11/2018 - 11:58:35PM] error: Cannot access a variable of a None struct
stack:
[MQ203 (000229EA)].mq203script.StartMemory() - "g:\_F4\Art\Raw\Scripts\MQ203Script.psc" Line 164
[MQ203 (000229EA)].mq203script.ExitMessage() - "g:\_F4\Art\Raw\Scripts\MQ203Script.psc" Line 820
[ (000D84AE)].MQ203MemoryExitTrigger.OnActivate() - "g:\_F4\Art\Raw\Scripts\MQ203MemoryExitTrigger.psc" Line 7
[05/11/2018 - 11:58:35PM] error: Cannot access a variable of a None struct
stack:
[MQ203 (000229EA)].mq203script.StartMemory() - "g:\_F4\Art\Raw\Scripts\MQ203Script.psc" Line 172
[MQ203 (000229EA)].mq203script.ExitMessage() - "g:\_F4\Art\Raw\Scripts\MQ203Script.psc" Line 820
[ (000D84AE)].MQ203MemoryExitTrigger.OnActivate() - "g:\_F4\Art\Raw\Scripts\MQ203MemoryExitTrigger.psc" Line 7

       

Comments

1 comment(s) [Closed]
Sclerocephalus said:
:facepalm:

Index 8 means that the player left Kellogg's memory, and this effectively ends the quest. All other indices correspond to a valid position in the memory scenes array, but index 8 doesn't. The function that handles the memory scenes assumes that a valid index is passed in and tries to start the respectibe scene - in case of index 9, this only results in failures and a bunch of errors being thrown. Whether the index is index 8 is checked somewhere at the end of the function. To put it short: this makes a mess first and then performs the check that would have prevented the mess from occurring.

Since index 8 effectively ends the quest, this should be checked right at the start of the function, before anything else. This also eliminates the log spam.

       
Showing Comments 1 - 1 of 1