Commit graph

22584 commits

Author SHA1 Message Date
toaster
4f4976024c S_UpdateSoundTest: Corrections
- Fix inverted skipnull condition for forward sequence traversal
- Remove comment stating we used a naive implementation. The author of this commit used a triple pointer in the last one, this is anything but naive
2023-03-28 12:42:22 +01:00
James R
000c505444 Merge branch 'rhi-depth-stencil' into 'master'
RHI Depth Stencil and Texture Wrap Mode

See merge request KartKrew/Kart!1095
2023-03-28 11:38:25 +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
9a1de18491 Fix memory leak in GetPrettyRRID 2023-03-28 03:07:52 -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
James R
bda765f61e Merge branch 'fix-pvp-wipeout-friction' into 'master'
Fix wipeout friction for PvP damage

See merge request KartKrew/Kart!1107
2023-03-28 09:41:28 +00:00
James R
3ad4bb36d2 Merge branch 'respawn-noclipthing' into 'master'
Do not run any thing collision for respawning players whatsoever

Closes #302

See merge request KartKrew/Kart!1105
2023-03-28 09:41:19 +00:00
James R
c702e37ae2 Merge branch 'double-drawdist-flag' into 'master'
Double drawdist flag

See merge request KartKrew/Kart!1106
2023-03-28 09:41:07 +00:00
AJ Martinez
412bd07609 Monocypher license compliance 2023-03-28 01:29:30 -07:00
James R
4413939e85 RRID: generate keys for old profiles
Bump PROFILEVER to 3
2023-03-28 01:25:56 -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
6c98dd0de2 Strip more debug print 2023-03-28 01:25:55 -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
78b30802bb Let's try fixing potential UB on GetNodeAddressInt 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
05f8b2196c Push pretty RRID to Lua instead of unsanitized madness 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
AJ Martinez
f0e6e5c962 Instead of using gamemap, make client-client challenges more resistant by including IP 2023-03-28 01:25:54 -07:00
AJ Martinez
96a71bb60d Don't try to do netgame shit in singleplayer and crash 2023-03-28 01:25:54 -07:00
AJ Martinez
630555ca51 More bad actor cvars 2023-03-28 01:25:54 -07:00
AJ Martinez
30ca69e51d Don't sign game traffic, we shouldn't need it anymore 2023-03-28 01:25:54 -07:00
AJ Martinez
a1f82b2a37 Use server IP and timestamp in PT_SERVERCHALLENGE to avoid signature reuse 2023-03-28 01:25:54 -07:00
AJ Martinez
f873df764e USE THE ENTIRE 64 BYTES OF THE CHALLENGE YOU IDIOT also check time/gamemap 2023-03-28 01:25:54 -07:00
AJ Martinez
32b1ff3d3e SERVER needs to respond to PT_CHALLENGEALL, dummy 2023-03-28 01:25:54 -07:00
AJ Martinez
a57901babf It's mediocre security fixup time 2023-03-28 01:25:54 -07:00
AJ Martinez
f9832eb77f Give gamestate resend integrity check some teeth 2023-03-28 01:25:54 -07:00
AJ Martinez
137f166043 Cvars to do bad network things in DEVELOP, fixes to bad network things 2023-03-28 01:25:54 -07:00
AJ Martinez
7f479d14c2 I do not understand version control and no one can make me learn 2023-03-28 01:25:54 -07:00
AJ Martinez
f5b7238ba9 I will never understand why the VSCode diff editor does this to me 2023-03-28 01:25:54 -07:00
AJ Martinez
2afc43383e Jart node deadlock fixup part 2 2023-03-28 01:25:52 -07:00
AJ Martinez
a8c129321a Block nodes while an auth challenge is taking place (jart) 2023-03-28 01:20:44 -07:00
AJ Martinez
44f2ce7288 Expand XD_ADDPLAYER buffer 2023-03-28 01:20:44 -07:00
AJ Martinez
72d2249e1f Don't freak out and sigfail if we weren't even expecting a challenge 2023-03-28 01:20:44 -07:00
AJ Martinez
15ec5ee90b Client bails if server doesn't verify, first pass 2023-03-28 01:20:44 -07:00
AJ Martinez
59c4086ffc Missing newline 2023-03-28 01:20:44 -07:00