Issue Data
|
Issue #29068: Potential contributor to stack dumps
ARTH_SCRP_MGR21PlayerAliasScript lacks an inventory event filter. This results in unnecessary calls with the OnItemAdded event.Can be problematic with large transfers of items. Request an inventory event filter be added as a precaution. Code suggestion below:
Spoiler:Scriptname ARTH_SCRP_MGR21PlayerAliasScript extends ReferenceAlias Quest Property MGR12 Auto SoulGem Property SoulGemGrandFilled Auto Event OnInit() AddInventoryEventFilter(SoulGemGrandFilled) EndEvent Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer) if( MGR12.GetStage() == 10 ) if( akBaseItem == SoulGemGrandFilled ) MGR12.SetStage(20) EndIf endif endEvent The above will only affect new games. |
Related Issues: 29196
Thanks, this will be corrected when the 3.1.8 update is released. At the moment I don't know when that will be though.
Showing Comments 1 - 1 of 1