Commit graph

1241 commits

Author SHA1 Message Date
AJ Martinez
346a778365 PT_SAY: Restore cv_mute and stop_spamming 2023-04-29 17:45:04 -07:00
AJ Martinez
42251419e0 PT_SAY: check that source matches packet source 2023-04-29 17:21:44 -07:00
AJ Martinez
cb8e48d8a7 WIP: PT_SAY 2023-04-29 16:12:23 -07:00
AJ Martinez
07eb7dea19 Revert "WIP: XD_REQSAY"
This reverts commit 00e25ee593.
2023-04-28 17:14:32 -07:00
AJ Martinez
00e25ee593 WIP: XD_REQSAY 2023-04-28 02:10:50 -07:00
AJ Martinez
5b4725a011 WIP: Social restrictions until you've played some games 2023-04-22 21:02:36 -07:00
Sally Coolatta
68916559aa Z Voting: Kick handling improvements
- If a player being voted against leaves before it finishes, then properly activate their penalty.
    - This is handled with a special case for MVT_KICK (let's not even attempt to SendKick(self) during Got_Kick :p), but any possible future vote types that use a victim will simply call K_MidVoteSuccess.
- Actually define behavior for KICK_MSG_VOTE_KICK.
- Default kicktime is now 20 minutes instead of 10.
- Read custom reasons before possibly overriding msg type. Prevents a rare invalid read pointer.
2023-04-20 21:11:25 -04:00
Sally Coolatta
996ca9adad Z Voting 2023-04-20 15:55:38 -04:00
Sal
e0901ed7a7 Merge branch 'round-queue' into 'master'
roundqueue

See merge request KartKrew/Kart!1156
2023-04-18 09:31:26 +00:00
toaster
1d8b33833e Fix TESTERS build creation by not including GotOurIP, which is never called in those 2023-04-17 20:59:30 +01:00
toaster
2d46112c58 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into round-queue
# Conflicts:
#	src/d_netcmd.h
2023-04-17 20:08:37 +01:00
Sally Coolatta
4e7b6f0cc3 Add ring shooter tire grabbers + more player logic 2023-04-17 00:23:08 -04:00
AJ Martinez
2961629332 Allow and warn about duplicate pubkeys in DEVELOP 2023-04-11 22:24:12 -07:00
AJ Martinez
0aabb6ddcd Return full stats struct, dynamically allocate trackedList 2023-04-11 19:38:02 +01:00
AJ Martinez
3012839138 Serverside PWR: Completely rip out profile PWR, add PWR to XD_ADDPLAYER 2023-04-11 19:38:02 +01:00
AJ Martinez
7eb5755963 Disallow duplicate non-GUEST pubkeys 2023-04-11 19:38:01 +01:00
AJ Martinez
134a5ef9c0 WIP 2023-04-11 19:38:01 +01:00
toaster
19ef96351a roundqueue
A general purpose system that permits cacheing of GP progression in one place, but which permits future expansion and brings Online GP a little closer to reality.
- Stores a bunch of levels, gametypes, encore state, and restricted-by-rank-ness in sequence.
    - Initialised on GP cup select.
    - FUTURE WORK: Open to being initialised by other methods
- Digests its way through that sequence as maps are completed.
- Stores round number instead of `grandprixinfo`.
- Map commands as sent over the wire have been adjusted.
    - Sends round number and size of/position in roundqueue.
    - Now figures out GP Event Type from gametype.
        - Can be swung in the direction of a Special Stage with a hint flag.
        - This hint flag replaces "fromlevelselect", which was functionally vestigal.
2023-04-11 17:18:27 +01:00
toaster
06763da0e7 Merge branch 'bind-function-keys' into 'master'
Remove hardcoded Function keys for screenshot etc, add RECORD LOSSLESS to the profile controls

Closes #284

See merge request KartKrew/Kart!1093
2023-04-11 16:16:23 +00:00
AJ Martinez
d39af93f14 More accurate mindelay for servers/hosts 2023-04-08 05:25:01 -07:00
James R
80421da5b3 Replace hardcoded keys for screenshot etc with bindable controls
Renames M_ScreenshotResponder to M_ScreenshotTicker. No
longer eats events. As a side effect, these controls
cannot be used with the console open.
2023-04-06 20:02:11 +01:00
Sally Coolatta
15f60a1f14 Split thing voting screen to a new file 2023-04-03 20:57:31 -04:00
Eidolon
a71c7dfad6 Reset device rumble on exitlevel, exitgame, map 2023-04-02 21:56:40 +01:00
toaster
37e7b82b8b Merge branch 'profile-testing' into 'master'
Add -profile through -profile4 flags for splitscreen testing

See merge request KartKrew/Kart!1130
2023-04-02 17:00:21 +00:00
James R
9b5b07b03c Completely rewrite party management code
Replaces g_splitscreen.c with g_party.cpp. Simplifies
party management functions.

Moves externs out of already bloated doomstat.h and
g_game.h into g_party.h.

Cuts down on globals spam.
2023-04-02 17:26:33 +01:00
James R
e3308b8e73 CL_ClearPlayer: reset playerconsole too 2023-04-02 17:26:07 +01:00
AJ Martinez
0d34c4f3d1 Also check -profile in CL_ConnectToServer 2023-04-01 22:36:35 -07:00
AJ Martinez
495b51f6c2 Merge branch 'licenses' into 'master'
Add LICENSE-3RD-PARTY.txt

See merge request KartKrew/Kart!1110
2023-03-31 03:00:58 +00:00
Sal
83b5b26a12 Merge branch 'packet-hack' into 'master'
Experimental: Improve level load processing

See merge request KartKrew/Kart!1077
2023-03-28 23:41:33 +00:00
James R
3b67f99d0d RRID: correct remaining instances of hardcoded sizes to defines 2023-03-28 03:54:29 -07:00
AJ Martinez
afe3220415 awaitingChallenge is, uh, a challenge, not a signature 2023-03-28 03:27:51 -07:00
AJ Martinez
86b6b2b1cd Clean up some mismatched and hardcoded sizes, use defines for crypto primitive size 2023-03-28 03:03:00 -07:00
AJ Martinez
3c561c564e Use 64-byte challenges consistently 2023-03-28 01:25:56 -07:00
AJ Martinez
e09b21ddae IsExternalAddress type fixup, move into i_tcp.c / SOCK_ abstraction 2023-03-28 01:25:56 -07:00
AJ Martinez
0df4251bc7 No, seriously, don't use STRINGN for pubkeys 2023-03-28 01:25:56 -07:00
AJ Martinez
bc9b4ef6a5 Explain evil wizard kick redirect behavior better 2023-03-28 01:25:56 -07:00
AJ Martinez
bf4781d26c Use READ/WRITEMEM instead of STRINGN for data that can contain 0s, dummy! 2023-03-28 01:25:56 -07:00
AJ Martinez
6510628586 Fail loudly on big-endian systems 2023-03-28 01:25:56 -07:00
AJ Martinez
119f23bd7b More consistent break convention in HandlePacketFromPlayer 2023-03-28 01:25:56 -07:00
AJ Martinez
b5cfc22a0a Fix splitscreen handling in SendChallenges 2023-03-28 01:25:56 -07:00
AJ Martinez
551c9af0fc Fix -Wunused in SIGNGAMETRAFFIC 2023-03-28 01:25:55 -07:00
AJ Martinez
5a475c7888 Cleanup + fix off-by-one in gamestate 2023-03-28 01:25:55 -07:00
AJ Martinez
056355d8ed C is portable, they lied lyingly like a liar 2023-03-28 01:25:55 -07:00
AJ Martinez
5a17bcc251 Fix all remote players being considered GUESTs 2023-03-28 01:25:55 -07:00
AJ Martinez
cdf7a7a2ce Fix old key comparison in KickUnverifiedPlayers 2023-03-28 01:25:55 -07:00
AJ Martinez
694c094fac C is a morally incorrect programming language 2023-03-28 01:25:55 -07:00
AJ Martinez
c46612329e Don't UpdateChallenges during NetKeepAlive, could lead to challenge spam 2023-03-28 01:25:55 -07:00
AJ Martinez
b990669212 Tyop 2023-03-28 01:25:55 -07:00
AJ Martinez
ecc2c65742 Cleanup and comments 2023-03-28 01:25:55 -07:00
AJ Martinez
5a52199dc8 Refactor challenge creation, no more duplicated memory shenanigans 2023-03-28 01:25:55 -07:00