SignatureBeef / Terraria-s-Dedicated-Server-Mod

TDSM - .NET and Mono compatible Terraria Server Software Mod
MIT License
143 stars 49 forks source link

OTA throwing an error on user connect, users cannot reconnect after #229

Open Gedrean opened 8 years ago

Gedrean commented 8 years ago

Running TDSM on Ubuntu 16.06 Server LTE. Have updated Mono to latest mono-complete using the mono repo.

Getting the following error on user connects (hex codes vary from time to time)

14/07/2016 20:26:46 Pool User> xx.xx.xx.xx:47794 @ 0: ENTER username 14/07/2016 20:26:46 Pool Error> Plugin TDSM Core Module crashed in hook playerenteredgame System.NullReferenceException: Object reference not set to an instance of an object at OTA.Data.Dapper.DapperProvider.CreateConnection () <0x40b0fca0 + 0x00066> in :0 at OTA.Data.DatabaseFactory.CreateConnection () <0x40b0fc50 + 0x00026> in :0 at TDSM.Core.Entry.OnPlayerJoin (OTA.Plugin.HookContext& ctx, OTA.Plugin.PlayerEnteredGame& args) <0x40b0fa70 + 0x00033> in :0 at OTA.Plugin.HookPoint`1[T].Invoke (OTA.Plugin.HookContext& context, OTA.Plugin.T& arg) <0x40b0eef0 + 0x006a4> in :0

Not sure why but OTA is puking up errors.