tModLoader

tModLoader

Wing Slot Extra
Geeky Aug 14, 2022 @ 7:05am
Game crashes on character select screen.
I can send the mod list if it helps as well, but when I try to open the character select screen, the game crashes and I get this error. Disabling this mod fixed it.

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Terraria.Player.GetModPlayer[T](T baseInstance) in tModLoader\Terraria\Player.TML.cs:line 39
at Terraria.ModLoader.AccessorySlotLoader.ModSlotPlayer(Player player) in tModLoader\Terraria\ModLoader\AccessorySlotLoader.cs:line 24
at Terraria.ModLoader.AccessorySlotLoader.Get(Int32 id, Player player) in tModLoader\Terraria\ModLoader\AccessorySlotLoader.cs:line 28
at Terraria.ModLoader.AccessorySlotLoader.Get(Int32 id) in tModLoader\Terraria\ModLoader\AccessorySlotLoader.cs:line 29
at WeaponEnchantments.WEPlayer.GetEquipArmor(Boolean getArrayOnly) in WeaponEnchantments\WEPlayer.cs:line 465
at WeaponEnchantments.WEPlayer.ModifyDrawInfo(PlayerDrawSet& drawInfo) in WeaponEnchantments\WEPlayer.cs:line 496
at Terraria.ModLoader.PlayerLoader.ModifyDrawInfo(PlayerDrawSet& drawInfo) in tModLoader\Terraria\ModLoader\PlayerLoader.cs:line 961
at Terraria.Graphics.Renderers.LegacyPlayerRenderer.DrawPlayerInternal(Camera camera, Player drawPlayer, Vector2 position, Single rotation, Vector2 rotationOrigin, Single shadow, Single alpha, Single scale, Boolean headOnly) in tModLoader\Terraria\Graphics\Renderers\LegacyPlayerRenderer.cs:line 219
at Terraria.Graphics.Renderers.LegacyPlayerRenderer.DrawPlayer(Camera camera, Player drawPlayer, Vector2 position, Single rotation, Vector2 rotationOrigin, Single shadow, Single scale) in tModLoader\Terraria\Graphics\Renderers\LegacyPlayerRenderer.cs:line 119
at Terraria.GameContent.UI.Elements.UICharacter.DrawSelf(SpriteBatch spriteBatch) in tModLoader\Terraria\GameContent\UI\Elements\UICharacter.cs:line 70
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 196
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 196
at Terraria.GameContent.UI.Elements.UIList.UIInnerList.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\GameContent\UI\Elements\UIList.cs:line 25
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 196
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 196
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 196
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 196
at Terraria.UI.UIElement.DrawChildren(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 130
at Terraria.UI.UIElement.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\UI\UIElement.cs:line 196
at Terraria.GameContent.UI.States.UICharacterSelect.Draw(SpriteBatch spriteBatch) in tModLoader\Terraria\GameContent\UI\States\UICharacterSelect.cs:line 376
at Terraria.Main.DrawMenu(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 39787
at DMD<Terraria.Main::DoDraw>(Main this, GameTime gameTime)
at GravityDontFlipScreen.GravityFlipSystem.Main_DoDraw(orig_DoDraw orig, Main self, GameTime gameTime) in GravityDontFlipScreen\GravityFlipSystem.cs:line 113
at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 48630
at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 562
at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878
at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419
at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 235
< >
Showing 1-2 of 2 comments
DazUki Aug 14, 2022 @ 11:16am 
That error comes from Weapon Enchantments mod and not Wing Slot.
Update that mod to 0.2.2.7 to fix the issue.
I play with both these mods fine after that update.
I had to unsubscribe and resubscribe to that mod to force the update.
Geeky Aug 14, 2022 @ 4:18pm 
I forgot to mention I also figured this out, thanks for the help regardless lol
< >
Showing 1-2 of 2 comments
Per page: 1530 50