Skip to content

Store tab. Epic Loot compatibility. #19

Description

@HolivyD

When I put an item from the Epic Loot mod into the shop (for example, RuneStoneMagic), buy it, and then open the inventory, an error appears.

[Error : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array.
Stack trace:
(wrapper dynamic-method) InventoryGrid.DMDInventoryGrid::UpdateGui(InventoryGrid,Player,ItemDrop/ItemData)
(wrapper dynamic-method) InventoryGrid.DMDInventoryGrid::UpdateInventory(InventoryGrid,Inventory,Player,ItemDrop/ItemData)
InventoryGui.UpdateInventory (Player player) (at :0)
(wrapper dynamic-method) InventoryGui.DMDInventoryGui::Update(InventoryGui)

Most items from this mod work correctly, except for some of them: RuneStoneMagic (ALL RUNESTONE), ForestToken, IronBountyToken, GoldBountyToken.

There is also another error, but it occurs less often.

[Error : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array.
Stack trace:
(wrapper dynamic-method) Inventory.DMDInventory::AddItem(Inventory,ItemDrop/ItemData)
(wrapper dynamic-method) Inventory.DMDInventory::AddItem(Inventory,string,int,int,int,long,string,Vector2i,bool)
(wrapper dynamic-method) Inventory.DMDInventory::AddItem(Inventory,string,int,int,int,long,string,bool)
Almanac.Store.StoreHelpers.Purchase (Player player, Almanac.Store.StoreManager+StoreItem storeItem) (at <359ee65ba65e48149ec308b0e61981e1>:0)
Almanac.Store.StoreManager+StoreItem+<>c__DisplayClass18_0.b__0 () (at <359ee65ba65e48149ec308b0e61981e1>:0)
Almanac.UI.AlmanacPanel.b__33_2 () (at <359ee65ba65e48149ec308b0e61981e1>:0)
UnityEngine.Events.InvokableCall.Invoke () (at :0)
UnityEngine.Events.UnityEvent.Invoke () (at :0)
(wrapper dynamic-method) UnityEngine.UI.Button.DMDUnityEngine.UI.Button::Press(UnityEngine.UI.Button)
(wrapper dynamic-method) UnityEngine.UI.Button.DMDUnityEngine.UI.Button::OnPointerClick(UnityEngine.UI.Button,UnityEngine.EventSystems.PointerEventData)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at :0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at :0)
UnityEngine.EventSystems.EventSystem:Update()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions