Greetings,
I've set up a server with a few mods ( Fishing3, HelpfulHotkeys, HEROsMod, imkSushisMod, and ThoriumMod) and I've been running into an issue that prevents people from playing by kicking them with the message "Invalid operation at this state." a couple seconds after they connect. The server console when this happens looks like this:
http://i.imgur.com/Z4HzZfA.png. If people manage to log in with HEROsMod before they get booted, they get this error message:
3/25/2017 5:23:31 PM
System.InvalidOperationException: The operation is not allowed on non-connected sockets.
at System.Net.Sockets.TcpClient.GetStream()
at Terraria.Net.Sockets.TcpSocket.Terraria.Net.Sockets.ISocket.AsyncSend(Byte[] data, Int32 offset, Int32 size, SocketSendCallback callback, Object state)
at Terraria.ModLoader.ModPacket.Send(Int32 toClient, Int32 ignoreClient)
at HEROsMod.HEROsModNetwork.Network.SendDataToServer() in D:\Documents\My Games\Terraria\ModLoader\Mod Sources\HEROsMod\HEROsModNetwork\Network.cs:line 818
at HEROsMod.HEROsModNetwork.LoginService.RequestLogin(String username, String password) in D:\Documents\My Games\Terraria\ModLoader\Mod Sources\HEROsMod\HEROsModNetwork\LoginService.cs:line 93
at HEROsMod.HEROsModServices.LoginWindow.bLogin_onLeftClick(Object sender, EventArgs e) in D:\Documents\My Games\Terraria\ModLoader\Mod Sources\HEROsMod\HEROsModServices\Login.cs:line 183
at HEROsMod.UIKit.UITextbox.KeyboardInput_newKeyEvent(Char obj) in D:\Documents\My Games\Terraria\ModLoader\Mod Sources\HEROsMod\UIKit\UITextbox.cs:line 158
at System.Action`1.Invoke(T obj)
at Terraria.keyBoardInput.inKey.PreFilterMessage(Message& m)
at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame(String[] args)
Restarting the server temporarily fixes the issue, but there isn't much else indicating what is happening and attempting to google it isn't going well. Do you know any ways to further try and debug this?
Thanks,
Nickel Bomber