SmoOnlineServer/Server
Robin C. Ladiges 9e6c312c8e
fix: on reconnect do not disconnect the new client
Currently when a client connects that is already there, the old socket is closed, and the code tries to reuse the existing client object be exchanging
its socket.

Reusing the same client object and just changing its socket does cause issues though with copies of the client in other threads. In the situations
that I could reproduce, it always disconnected both sockets, the old one and then the new one.

Instead I make a copy of the client object now, remove the old object and add the new object to the collection.
2022-09-04 00:18:18 +02:00
..
Client.cs fix: on reconnect do not disconnect the new client 2022-09-04 00:18:18 +02:00
CommandHandler.cs Added quotable arguments, potential fix for ban * not banning anyone. 2022-07-27 12:14:56 -06:00
DiscordBot.cs You can run commands in the command channel or log channel 2022-08-22 18:58:42 -06:00
FlipOptions.cs Add scenario merging and run reformatting on solution 2022-03-01 15:08:53 -06:00
Program.cs Add the ability to disable shine sync 2022-08-20 23:31:31 -06:00
Server.cs fix: on reconnect do not disconnect the new client 2022-09-04 00:18:18 +02:00
Server.csproj Add a simple discord bot to manage the server 2022-06-12 18:48:24 -06:00
Settings.cs Differentiated command channel and log channel 2022-08-22 18:58:42 -06:00
Time.cs Add tag commands and improve command handling 2022-03-14 23:59:23 -06:00