Hello,
I have implemented a system to restart the server, what it does is crash the server and start it again so that players can connect again without the need of disconnecting/reconnecting but the idea seems to fail cause when players start connecting they will all crash which is a pain in the ass, I have no idea what causes that kind of (once disconnected / timedout must close game and reopen) crash? I don't have much code under OPC, most of code is under WhenLogin callback.
I have implemented a system to restart the server, what it does is crash the server and start it again so that players can connect again without the need of disconnecting/reconnecting but the idea seems to fail cause when players start connecting they will all crash which is a pain in the ass, I have no idea what causes that kind of (once disconnected / timedout must close game and reopen) crash? I don't have much code under OPC, most of code is under WhenLogin callback.