SignatureBeef / Terraria-s-Dedicated-Server-Mod

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

/auth error #199

Closed SignatureBeef closed 8 years ago

SignatureBeef commented 8 years ago

lugin TDSM Core Module crashed in hook player-auth-change: System.InvalidOperationException: The operation cannot be completed because the DbContext has been disposed. at System.Data.Entity.Internal.InternalContext.CheckContextNotDisposed () [0x00000] in :0 at System.Data.Entity.Internal.LazyInternalContext.InitializeContext () [0x00000] in :0 at System.Data.Entity.Internal.InternalContext.Initialize () [0x00000] in :0 at System.Data.Entity.Internal.Linq.InternalQuery1[TDSM.Core.ServerCharacters.SlotItem].GetEnumerator () [0x00000] in <filename unknown>:0 at System.Data.Entity.Infrastructure.DbQuery1[TDSM.Core.ServerCharacters.SlotItem].System.Collections.Generic.IEnumerable.GetEnumerator () [0x00000] in :0 at System.Collections.Generic.List1[TDSM.Core.ServerCharacters.SlotItem].AddEnumerable (IEnumerable1 enumerable) [0x00000] in :0 at System.Collections.Generic.List1[TDSM.Core.ServerCharacters.SlotItem]..ctor (IEnumerable1 collection) [0x00000] in :0 at System.Linq.Enumerable.ToList[SlotItem](IEnumerable1 source) [0x00000] in <filename unknown>:0 at TDSM.Core.ServerCharacters.CharacterManager.LoadPlayerData (Terraria.Player player, Boolean returnNewInfo) [0x00000] in <filename unknown>:0 at TDSM.Core.ServerCharacters.CharacterManager.LoadForAuthenticated (Terraria.Player player, Boolean createIfNone) [0x00000] in <filename unknown>:0 at TDSM.Core.Entry.OnPlayerAuthenticated (OTA.Plugin.HookContext& ctx, OTA.Plugin.PlayerAuthenticationChanged& args) [0x00000] in <filename unknown>:0 at OTA.Plugin.HookPoint1[OTA.Plugin.HookArgs+PlayerAuthenticationChanged].Invoke (OTA.Plugin.HookContext& context, OTA.Plugin.PlayerAuthenticationChanged& arg) [0x00000] in :0

SignatureBeef commented 8 years ago

Fixed in: 7de70fb2524189e5905a91de4d4e172dab9c65ce