SmoOnlineServer/Server
Robin C. Ladiges 11c291c105
fix: actually working ban functionality
Changes:
- ignore new sockets from banned IP addresses way earlier.
- ignore all packets by banned profiles.

Intentionally keeping the connection open instead of d/c banned clients.
This is to prevent endless server logs due to automatically reconnecting clients.

Before:
Reconnecting clients aren't entering `ClientJoined` and therefore the d/c is only working on first connections.
Effectively banned clients got a d/c and then automatically reconnected again without getting a d/c again.
Therefore allowing them to play normally.
2023-03-24 01:02:26 +01:00
..
BanLists.cs fix: actually working ban functionality 2023-03-24 01:02:26 +01:00
Client.cs fix: actually working ban functionality 2023-03-24 01:02:26 +01:00
CommandHandler.cs Added quotable arguments, potential fix for ban * not banning anyone. 2022-07-27 12:14:56 -06:00
DiscordBot.cs only warn about the Discord channel settings when a Token is set 2022-10-10 19:37:37 -06:00
FlipOptions.cs Add scenario merging and run reformatting on solution 2022-03-01 15:08:53 -06:00
Program.cs fix: actually working ban functionality 2023-03-24 01:02:26 +01:00
Server.cs fix: actually working ban functionality 2023-03-24 01:02:26 +01:00
Server.csproj Add a simple discord bot to manage the server 2022-06-12 18:48:24 -06:00
Settings.cs rename command: `ban ...` => `ban player ...` 2023-03-24 00:54:55 +01:00
Time.cs Add tag commands and improve command handling 2022-03-14 23:59:23 -06:00