Commit graph

22232 commits

Author SHA1 Message Date
NepDisk
d4753b3d1e Mention the 32P size 2026-03-30 11:50:35 -04:00
NepDisk
6299cff152 Make pubkey validation on by default
People who don't want this can just turn it off.
2026-03-30 10:38:39 -04:00
NepDisk
24b6a7faa2 Not anymore! 2026-03-30 10:01:45 -04:00
NepDisk
989b6b6f53 Notate packet byte sizes
These should be correct unlike the nonsense in baseline SRB2
2026-03-30 09:56:58 -04:00
NepDisk
e9361d5f33 Lower max packet size, remove duplicated server_name, server_contact and server_desc fields 2026-03-30 09:36:43 -04:00
NepDisk
13a82ca079 Port pubkey validation from RR and make it optional
For more competitve servers they can enable this to prevent unfair play while letting casual servers still have flexibility
2026-03-29 21:32:34 -04:00
NepDisk
a81aef27e2 Move PT_ cases into their own methods 2026-03-29 21:04:44 -04:00
NepDisk
fcc1b10ada On second thought, lets put them in a seperate folder with a readme 2026-03-29 19:15:49 -04:00
NepDisk
19d700b386 Write RRID keys outside gamefolder if possible 2026-03-29 18:04:51 -04:00
NepDisk
a90f2ea2d3 Rename our Public and private key globals 2026-03-29 16:50:31 -04:00
AJ Martinez
e79ba678c4 More lax + more helpful RRID timestamp errors 2026-03-29 16:39:53 -04:00
NepDisk
6f7c466459 Use defines for lengths 2026-03-29 16:33:24 -04:00
SteelT
7f134d27ce Fix players RRID getting wiped on join
Fixes #1075
2026-03-29 16:33:06 -04:00
NepDisk
71dd15ab6b Remove debug print 2026-03-29 16:30:40 -04:00
NepDisk
c44ae94137 Add kick msg for SIGFAIL 2026-03-29 16:27:33 -04:00
NepDisk
0f5d93873b RRID credits 2026-03-29 16:22:34 -04:00
NepDisk
0857a1d8a2 RRID port part 3
last commit was 535fc1787589cc8135470cef0e09005cf97e6cab
2026-03-29 16:19:01 -04:00
NepDisk
5bafcbf3f8 RRID port part 2
last commit was 78b30802
2026-03-29 15:32:51 -04:00
NepDisk
163d4a0e72 Actually on second thought, I do want splitscreen 2026-03-29 13:59:39 -04:00
NepDisk
d6eab04a7a RRID port part 1
last commit of this set is 2925843e
2026-03-29 13:09:06 -04:00
GenericHeroGuy
ca51695870 dt7 stuff
also fixed model loading on my machine
2026-03-29 14:44:26 +02:00
NepDisk
4208ddfd5d Use old tab ranking for GP
The info on the side is not very helpful in GP. Maybe we can go back to using the new one if we decide to shove some GP related info in there?
2026-03-29 08:13:24 -04:00
NepDisk
5cf04f9df4 Single player menu should only occur in Grandprix and add lives logic 2026-03-29 08:06:19 -04:00
NepDisk
f2a0789189 Fix bots not spectating in itembreaker
I hate this stupid fucking multiplayer variable
2026-03-29 07:16:10 -04:00
NepDisk
11c63396cd Reload minimap info if it could get replaced 2026-03-29 06:49:34 -04:00
NepDisk
d8142d7bd6 Revert "Fix MR_SetupMonitorToggles using string literals"
This reverts commit e802edb628.
2026-03-29 06:33:06 -04:00
toaster
8ce9681bd8 Got_TeamChange: Successfully remove PF_WANTSTOJOIN if you use changeteam spectator to cancel your join 2026-03-29 06:22:45 -04:00
NepDisk
8273c91adf Port various RR related spectating fixes 2026-03-29 06:04:52 -04:00
Alug
e802edb628 Fix MR_SetupMonitorToggles using string literals 2026-03-29 05:47:11 -04:00
minenice55
48fd545e40 fix tilt steering dot being flipped in mirror mode 2026-03-28 22:21:41 -04:00
NepDisk
770ae2e9c2 Fix bots instantly eating multi-sneakers 2026-03-28 18:36:13 -04:00
NepDisk
c2746b8954 Merge pull request 'Port roundqueue, PT_SAY, vote buffer rewrite and various other internal map improvements from RR' (#232) from roundqueue into next
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/232
2026-03-28 07:31:01 +01:00
NepDisk
070feef061 Merge branch 'master' into next 2026-03-28 02:25:52 -04:00
NepDisk
dcdbd049e7 Split votescreen stuff into its own file 2026-03-28 02:18:11 -04:00
NepDisk
dad79270d1 Split vote finalize into its own func 2026-03-28 01:52:58 -04:00
NepDisk
5ae78d1d7e Update credits 2026-03-28 01:28:17 -04:00
JugadorXEI
040cb9d298 Clamp justPlayed to the upper limit (prevents SOC Hidden level weirdness) 2026-03-28 01:18:10 -04:00
JugadorXEI
1723ba407b Add guard so justPlayed does not get set/decrease for maps in player-less dedicated servers
Works in tandem with the previous commits so that justPlayed stays at 0 for all levels until someone joins.
2026-03-28 01:17:02 -04:00
JugadorXEI
b08f2ca388 Clear justPlayed and anger records from map headers when all players leave a dedicated server 2026-03-28 01:16:53 -04:00
JugadorXEI
6892abcb8c Fix off-by-one error when setting justPlayed on a map header (plus debug code)
This is because although the map value per gametype is decreased by 4 (VOTE_NUM_LEVELS) to account for 4 vote selections, it doesn't account for the prevmap being one of those four levels, so we decrease by one to account for that also.
2026-03-28 01:15:51 -04:00
Sally Coolatta
1f521d21da Rewrite random map buffer
Each map now just has a countdown for when they'll reappear (stored in mapheader), which gets decremented each time a new map is played. This means it's now compatible across gametype switches, is a lot less complex, and is easy to retrieve the value for a specific map without needing to iterate constantly.

Lots of the old unused code surrounding this function was also removed. Lastly, added a PARANOIA check for callAgainSoon being mishandled.

NEP: I've added back map hell and gametype switching here since it was not in RR
2026-03-28 01:09:00 -04:00
NepDisk
31d8e671cb Comment out cases of "comparison is always true" 2026-03-27 23:54:58 -04:00
NepDisk
3014d6b46b Use NEXTMAP_INVALID instead of -1 2026-03-27 23:44:52 -04:00
NepDisk
ec2d406222 Fix titlecard round count 2026-03-27 23:42:14 -04:00
NepDisk
c1bf171a3a Raise roundqueue maximum to 20
most events do 12-20 maps so this makes sense.
2026-03-27 23:40:31 -04:00
toaster
5557aa312d Add roundqueue -show
Reveals the next Round in the queue via server shout message.
Can be used manually, or with automate commands for tournament rulesets that permit foreknowledge of the next Round without requiring the host to work off memory or document.
2026-03-27 23:39:36 -04:00
toaster
ec5b8fcf04 XD_REQMAPQUEUE --> PT_REQMAPQUEUE
It was technically possible for custom clients to spoil future rounds of a tournament queued while they are connected to a server.
Making it a PT direct packet to the servernode both solves this problem AND reduces irrelevant NetXCmd traffic for clients.
2026-03-27 23:37:08 -04:00
Skirlez
4c5ed80162 don't allocate 2 extra bytes in DoSayPacketFromCommand 2026-03-27 23:29:24 -04:00
NepDisk
06245c7ecc Update credits 2026-03-27 23:27:55 -04:00
Skirlez
4b03990167 Fix a crash on some setups when using the say or csay commands 2026-03-27 23:25:45 -04:00