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: Cutting Room Floor
Component: 3.1.7
Category: Quests
Assigned To: Arthmoor
Platform: Windows PC
Severity: Low
Votes: 2
Watching: N/A
Opened By IsharaMeradin on Aug 3, 2020 4:50 pm
Last Edited By BlackPete on Aug 3, 2020 7:31 pm
Closed By Arthmoor on Aug 16, 2021 6:39 pm
Resolution: Fixed
Comment: Fixed for version 3.1.10.

Issue #29196: Another potential stack dump contributor

 
ARTH_CRF_CR03PlayerAliasScript does not have an inventory event filter and as such contributes to stack dumps when large quantities are transferred. If possible an inventory event filter should be added.

Not tested the following yet but may be a possible solution:
Spoiler:
Scriptname ARTH_CRF_CR03PlayerAliasScript extends ReferenceAlias
{Counts the number of skins for Aela's pelt collection quest. Handles dropping them too.}

CR03QuestScript Property CR03 Auto

Event OnInit()
	AddInventoryEventFilter(CR03.TargetSkins)
EndEvent

Event OnPlayerLoadGame()
	AddInventoryEventFilter(CR03.TargetSkins)
EndEvent

Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)

	if CR03.GetStage() == 10
		if akBaseItem == CR03.TargetSkins
			CR03.CountSkins()
		endif
	endif

endEvent

Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)

	if CR03.GetStage() == 10
		if akBaseItem == CR03.TargetSkins
			CR03.CountSkins()
		endif
	endif

endEvent

Inclusion of the OnPlayerLoadGame event should allow it to function without having to start a new game.

Although, I am curious why the quest associated with this script is running prior to interacting with the Companions in any way. Aren't there prerequisites before being able to collect the pelts for Aela and thus start the quest associated with this?

Related Issues: 29068  

Comments

2 comment(s) [Closed]
themayor897 said:
 
+1, it is definitely a stack dump contributor, was just discussing with several people with the same issue.

Arthmoor said:
 
This should be fixed on the 3.1.10 update.

There is no need for the OnPlayerLoadGame() event to be added.

The modified CR03QuestScript already had an event filter in place, but it didn't get activated until the quest was actually accepted. Due to the nature of how Companion quests work, this should have been done in the setup function instead since these quests cycle regularly on visits to Whiterun.

Showing Comments 1 - 2 of 2