tModLoader Box of Gadgets

NKSHV

Terrarian
i have error and also my npcs sell items normally but their shop doesn't show prices which is very annoying so are those two related?
[20:39:15] [1/WARN] [tML]: Silently Caught Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Terraria.ModLoader.GlobalItem.Instance(Item item)
at Terraria.Item.GetGlobalItem[T]()
at GadgetBox.GadgetPlayer.PostSellItem(NPC vendor, Item[] shopInventory, Item item) in GadgetBox\GadgetPlayer.cs:line 164
at Terraria.ModLoader.PlayerHooks.PostSellItem(Player player, NPC npc, Item[] shopInventory, Item item)
at LeftClick_Patch1(Item[] inv, Int32 context, Int32 slot)
at Terraria.Main.DrawInventory()
at Terraria.Main.DrawInterface_27_Inventory()
at Terraria.Main.<SetupDrawInterfaceLayers>b__1637_23()
at Terraria.UI.LegacyGameInterfaceLayer.DrawSelf()
at Terraria.UI.GameInterfaceLayer.Draw()
at Terraria.Main.DrawInterface(GameTime gameTime)
at Terraria.Main.DoDraw(GameTime gameTime)
at Terraria.Main.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame_()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)
I tested and those two errors are unrelated
 
Last edited:

Akuji DaJudge

Official Terrarian
Hey, no clue if you're ever coming back around but are there any plans to update this to 1.4? It's my favorite small mod for Terraria and I'd love to see it around again.
 
Top Bottom