- Jul 09, 2022
-
-
toaster authored
Print rules in menu and in console See merge request KartKrew/Kart-Public!286
-
- Jul 07, 2022
-
-
Sal authored
Better bans See merge request KartKrew/Kart-Public!285
-
- Jul 04, 2022
-
-
toaster authored
Catch several ways ban.txt could be malformed by a well-meaning server host, and report it back via the log.
-
Sal authored
Fix MusicChange lua hook returning some values incorrectly See merge request KartKrew/Kart-Public!287
-
- Jul 03, 2022
- Jun 15, 2022
-
-
toaster authored
* Warn the user when an incompatible ban.txt is being loaded, and stop early. * Don't inexplicably assign as a boolean, you bafooligan!
-
toaster authored
Fix an issue where if the last line of an M_StartMessage was the longest, the box width wouldn't account for it.
-
toaster authored
* Fix some bugs. * Reset bannode information properly, fixing being unable to join your own server. * Write to the buffer before saving the kick/ban reason, rather than after. * Improve the print output for the `showbanlist` command. * Includes username. * Includes remaining time as seen by a kicked joiner. * Hides expired bans. * Improve the messages for ban/kick related refused joins. * Replace the Reason with the actual admin-provided reason for refused connection. * Replace the "Server refuses connection" header with "You have been [banned/temporarily kicked] from the server", the previous given Reason. * Fudge the time reported for temporary kicks so that a user is encouraged to return slightly after their tempkick ends, rather than before. * Add an extra newline to the M_StartMessage for being kicked/banned with a reason provided.
-
toaster authored
-
- Jun 14, 2022
-
-
toaster authored
Create a single struct for bannednode and bannednodetimelft, and use the matching ban ID inside that struct. While this commit does not increase the visibility of ban reasons, it makes this possible later.
-
toaster authored
-
toaster authored
* Ensure it can compile. * Removing vanilla 2.2 properties that slipped in to previous commits. * Rearranging i_tcp.c to avoid implicit declaration. * Complete rename of `IsNameGood` to `EnsurePlayerNameIsGood`. * Add "BANFORMAT" header, for versioning support. * Add conversion from 1.3-and-earlier format to new system. * Don't ban the entire internet - convert zero-masks to the most specific ones.
-
toaster authored
- Save a note of the username, not just the reason. - Allow setting a mask with the `banip` command. - Make ban.txt's formatting a lot more sane. Username and reason are stored in quotes. The mask uses the same formatting as actual CDIR. - Keep track of if we tried to load ban.txt. If it wasn't, then don't save over it with a blank file. - Disallow quotes in player names, as it makes player name detection in console more annoying, and saving username in files scary. # Conflicts: # src/d_clisrv.c # src/d_netcmd.c # src/i_tcp.c
-
toaster authored
Length is determined by the "kicktime" cvar, in minutes. By default, this is set to 10, but I'm willing to adjust this. Only applies to manual kicks (in the future, maybe also name filter kicks). The timestamp for the unban time is even saved in ban.txt, so long-term temporary bans are completely possible. (I checked, you can attempt to ban someone for up to 1902 years if you really want to.) # Conflicts: # src/d_clisrv.c # src/d_clisrv.h # src/i_tcp.c
-
toaster authored
- Properly call D_SaveBan after remote bans. Bans are no longer saved in the ban command and instead wait for the actual kick to process, since before they were split between the two, which is what caused the discrepancy. # Conflicts: # src/d_clisrv.c # src/i_tcp.c
-
toaster authored
Better code cleanliness, also makes it easier to add more data to bans later (such as a timestamp for temporary bans) # Conflicts: # src/i_tcp.c
-
toaster authored
Needs proper stress testing but seems to work. # Conflicts: # src/i_tcp.c
-
-
toaster authored
Cap on turn dampening See merge request KartKrew/Kart-Public!284
-
toaster authored
Fix bumpcode, fix magnet landing (better fix) See merge request KartKrew/Kart-Public!281
-
- Jun 03, 2022
- Jun 02, 2022
-
-
Sal authored
Server Gametype Preference See merge request KartKrew/Kart-Public!278
-
Sal authored
Fix chat flood crashes (from STJr/SRB2!1698) See merge request KartKrew/Kart-Public!280
-
- Jun 01, 2022
-
-
JugadorXEI authored
-
- May 31, 2022
-
-
AJ Martinez authored
-
- May 30, 2022
-
-
Sal authored
-
Sal authored
-
Sal authored
Fail loudly when config isn't writable See merge request KartKrew/Kart-Public!279
-
- May 28, 2022
-
-
AJ Martinez authored
-
AJ Martinez authored
-
- May 27, 2022
-
-
toaster authored
The intent is to stop servers from needing to dedicate their limited name/MOTD space to things like advertising `lessbattlevotes`, and to avoid "punishing" a server in visibility for allowing temporary gametype switches. However, this is possibly a controversial change, so I'm doing it in its own commit in case there's a clear consensus to revert.
-
toaster authored
* A "canon" adaptation of the community-created server option `lessbattlevotes`. * If set to "None", voting behaves as before. * If set to "Race" or "Battle". that gametype is considered the preference. * The voting screen is always operated from the perspective of the preferred gametype. * If you're in an un-preferred gametype, the third vote option will always allow you to continue the gametype. * If the preferred gametype is Race and you've just exited a Battle map, Encore may now appear on the second vote option. * A number of bugs with voting have been corrected. * If `kartencore` is on, the third vote option will now correctly have Encore applied. * If a custom EXE or malformed packet sends an Encore flag alongside a Battle gametype ID, actively strip it. * Just to note, clients do not enter Battle Encore with or without this change - this just prevents a promise the rest of the game couldn't fulfill.
-
-
toaster authored
Add warning and reset flow for non-default masterserver address See merge request KartKrew/Kart-Public!277
-
toaster authored
backport P_CheckSight from vanilla See merge request KartKrew/Kart-Public!273
-
toaster authored
2.2 Backports - add ceil slope double step-up/down and fix sprite/models all black in sector with light level of 256 See merge request KartKrew/Kart-Public!274
-
- May 25, 2022
-
-
AJ Martinez authored
-