Closed ThuverX closed 1 year ago
The initiative is appreciated! This is happening because packets are being sent to and/or received by the subserver out of order, for reasons that I hope aren't out of SubLib's control.
Presumably fixed in 2.2.0.1. Please reopen the issue if this isn't the case.
I've been trying to get this mod working with Stars Above (With limited C# and IL knowledge). One of the issues I was having was already described in #10. For the issue in the title I will try to describe the things I've observed:
Steps to recreate
The host will be disconnected with the message: "Invalid operation at this state."
Things I've found myself
Again keep in mind, I have limited knowledge of Terraria modding, and C# for that matter. This message can only come from 3 different places, all of them located in
Terraria.MessageBuffer.cs
:(
Lang.mp[2]
being "Invalid operation at this state." (FromTerraria.Lang.cs:330
))A part of the
server.log
(With my own logging for every function in Subworld Library, might not be relevant)Now I don't know if its just as easy as "don't try to start another server when one is already starting" or that changing the client
.State
is causing the issue.Anyway I hope this helps, and this issue can be fixed!