Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.41k stars 377 forks source link

Error when joining server with new char. #658

Closed PhoenixDIE closed 10 years ago

PhoenixDIE commented 10 years ago

Ok, i have one computer in the house hosting a server for me, another is the one i play on. Made my super admin account no problem. Then i join with a new char hoping to have that as a reguler char instead of being an admin all the time, and i get Error spam in my console.

1.) ssc is enabled 2.) before i am even able to try and register that char a new login name or login with my super admin login name the error starts.

Once error starts to spam, commands dont work for the most part and if you use a command like help it says Command not working pls check console. Here is a copy/paste of the errors

[10/11/13 16:11:02] [Server API] Warning: Plugin "TShock" has had an unhandled exception thrown by one of its GameUpdate handlers: System.NullReferenceException: Object reference not set to an instance of an object. at TShockAPI.TShock.OnSecondUpdate() at TShockAPI.TShock.OnUpdate(EventArgs args) at TerrariaApi.Server.HandlerCollection1.Invoke(ArgsType args) [10/11/13 16:11:02] [Server API] Warning: Plugin "TShock" has had an unhandled exception thrown by one of its GameUpdate handlers: System.NullReferenceException: Object reference not set to an instance of an object. at TShockAPI.TShock.OnSecondUpdate() at TShockAPI.TShock.OnUpdate(EventArgs args) at TerrariaApi.Server.HandlerCollection1.Invoke(ArgsType args) [10/11/13 16:11:02] [Server API] Warning: Plugin "TShock" has had an unhandled exception thrown by one of its GameUpdate handlers: System.NullReferenceException: Object reference not set to an instance of an object. at TShockAPI.TShock.OnSecondUpdate() at TShockAPI.TShock.OnUpdate(EventArgs args) at TerrariaApi.Server.HandlerCollection`1.Invoke(ArgsType args)

Seems to be the same error spamming this over and over. not sure what else would be needed here. havnt really changed config much exept for ssc and the name and player cap. so not understanding unless the ssc isnt working right yet.

PhoenixDIE commented 10 years ago

Ohh, and this is happening using either pre release 14 and 15.

k0rd commented 10 years ago

not sure why this is happening. can you try with a fresh install/db?