TShock/TShock — Issue #355: Server and Client crash on removespecial
Author: darkvengance
Created: 2012-02-06 05:33:43+00:00
State: open

Not really sure what caused it...but when I initiated the /removespecial command on my server, the server crashed and all the clients "Stopped Responding"

Here's the log and crashlog...

2012-02-06 00:26:38 - Commands: INFO: Sildaekar executed: /removespecial
2012-02-06 00:26:38 - Utils: INFO: Broadcast: Server may lag for a moment.
2012-02-06 00:26:40 - Utils: INFO: Broadcast: Special tile conversion done.

2/6/2012 12:26:43 AM
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Terraria.NPC.SpawnNPC()
at Terraria.Main.Update()
at Terraria.Main.DedServ()
at Terraria.ProgramServer.Main(String[] args)

I tested it before committing and it gave no problems, so I'm not sure what could be causing it now. Will look more into it later.