tModLoader

tModLoader

Thorium Mod
This topic has been locked
Fleecy 22 Jan, 2024 @ 6:46pm
Server Crash Caused By Specific Weapon
my self hosted server appears to crash, I have identified from the logs that it might be caused by a projectile from a weapon that is part of the bard class known as the maw pro according to the code and logs
here are the logs:
[21:29:52.540] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ThoriumMod.Projectiles.Bard.TheMawPro.OnKill(Int32 timeLeft) in ThoriumMod\Projectiles\Bard\TheMawPro.cs:line 360
at Terraria.ModLoader.ProjectileLoader.OnKill(Projectile projectile, Int32 timeLeft) in tModLoader\Terraria\ModLoader\ProjectileLoader.cs:line 384
at Terraria.Projectile.Kill() in tModLoader\Terraria\Projectile.cs:line 57259
at ThoriumMod.Projectiles.Bard.TheMawPro.AI() in ThoriumMod\Projectiles\Bard\TheMawPro.cs:line 131
at Terraria.ModLoader.ProjectileLoader.AI(Projectile projectile) in tModLoader\Terraria\ModLoader\ProjectileLoader.cs:line 179
at Terraria.ModLoader.ProjectileLoader.ProjectileAI(Projectile projectile) in tModLoader\Terraria\ModLoader\ProjectileLoader.cs:line 153
at Terraria.Projectile.Update(Int32 i) in tModLoader\Terraria\Projectile.cs:line 13004
at DMD<System.Void Terraria.Main:DoUpdateInWorld(System.Diagnostics.Stopwatch)>(Main this, Stopwatch sw)
at SyncProxy<System.Void Terraria.Main:DoUpdateInWorld(System.Diagnostics.Stopwatch)>(Main , Stopwatch )
at Terraria.Main.DoUpdate(GameTime& gameTime) in tModLoader\Terraria\Main.cs:line 14556
at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 14094
at DMD<System.Void Terraria.Main:DedServ_PostModLoad(System.Boolean&)>(Main this, Boolean& reloadMods)
at SyncProxy<System.Void Terraria.Main:DedServPostModLoad(System.Boolean&)>(Main , Boolean& )
at Terraria.Main.DedServ() in tModLoader\Terraria\Main.cs:line 4528
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 264
at Terraria.Program.LaunchGame(Boolean isServer) in tModLoader\Terraria\Program.cs:line 240
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 213
at Terraria.MonoLaunch.Main_End(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 78
at Terraria.MonoLaunch.<>cDisplayClass1_0.<Main>b1() in tModLoader\Terraria\MonoLaunch.cs:line 64
at System.Threading.Thread.StartCallback()

hope I can get some help
< >
Showing 1-1 of 1 comments
Vlidmir Putan  [developer] 24 Jan, 2024 @ 3:15am 
Thanks, fixed next version
< >
Showing 1-1 of 1 comments
Per page: 1530 50