llde / xOBSE

Oblivion Script extender source
243 stars 35 forks source link

v22.7 Causes Crash with Feature in Maskar's Oblivion Overhaul #188

Closed AllisterHenderson closed 1 year ago

AllisterHenderson commented 1 year ago

CTD when feeding a tamed creature from MOO and using the imbuement tool from MOO. For more details please read this nexus post.

llde commented 1 year ago

Seems like a change in 22.7 unearthed a serious bug. the extradata internal pointer associating with the IR in the loop isn't valid. (internal data pointer (first element of the linked list) is null)

llde commented 1 year ago

In the loops MOO call RemoveItemNS and AddItemNS, instead of operating directly on the IR. This potentially alter the informations in the container, and can cause the ExtraData in the IR to become invalid. The AddItem doesn't seem much problematic as the loop is broken after the operations, but the Removal is