Skip to content

Conversation

@themuffinator
Copy link
Owner

Summary

  • align Horde life evaluation with zero-health/no-life elimination logic instead of relying on elimination flags
  • expand Horde life unit tests to cover zero-health exhaustion scenarios

Testing

  • Not run (not requested)

Codex Task

…n-p_client.cpp

Guard ban disconnects when client not connected
…r-dalude-eos-constant

Allow EOS Dalude ban to trigger
- Modified `ClientCommand` to check for banned clients before processing commands, sending a message if banned.
- Updated `T_Damage` to prevent damage to banned clients.
- Added `is_banned` field to `client_session_t` for tracking banned status.
- Introduced new functions and constants for proximity mine functionality, including explosion and activation logic.
- Updated `G_AdjustPlayerScore` to prevent score changes for banned clients.
- Ensured proper handling of banned clients in `ClientBegin`, `ClientConnect`, and `ClientThink`.
- Enhanced `CheckBanned` to include specific checks for known banned accounts.
- Modified `ClientUserinfoChanged` to handle updates for banned clients correctly.
- Updated `ClientDisconnect` for proper cleanup on client disconnection.
- Adjusted `ClientSpawn` to prevent respawning of banned clients.
- Included checks for banned clients in `ClientInactivityTimer` and `ClientTimerActions`.
- Improved readability and consistency in various inline functions.
…nu-in-p_menu.cpp

Add banned player overlay menu
…el-for-position-handling

Fix PM_GetWaterLevel sampling height
…-snapping-helper

Restore legacy pmove snapping around the world origin
…mp-jumping-mechanics

Run legacy ground probe for ramp and trick jumps
Updated `CheckBanned` in `p_client.cpp` to support both "Steamworks" and "EOS" prefixes, including a specific case for a user ID.

Refactored `p_move.cpp` for consistent formatting and improved readability across multiple functions, including `G_FixStuckObject_Generic`, `PM_ClipVelocity`, `PM_Trace`, and others.

Overall, the changes focus on enhancing code clarity and maintainability while adding specific logic to the ban-checking functionality.
Introduces `legacy_ground_result_t` structure to manage ground-related information, including ramp release and vertical velocity. Adds `PM_QueryLegacyGround` function to assess the player's ground state based on velocity and position. Modifies `PM_CatagorizePosition` to utilize the new structure, improving logic for ground detection and slanted surfaces. Updates handling of water jumps and impact delta calculations, ensuring accurate player state updates. Additional comments added for clarity.
…error-in-g_target.cpp

Add fmt formatter for gentity pointers
…ety-issues

Fix vote menu selection safety and stats calculations
…ety-issues-ztxzwa

Remove unused freeze implementation
Fix broadcast filters and stabilize string helpers
…-dll-file-size

Reduce release DLL size by using header-only fmt
…ogic-for-gravity-vectors

Handle monster spawning with arbitrary gravity
…t-match_reset-logic

Cache entity string for gametype reset
…t-for-inverted-gravity

Handle inverted spawn drops
…-startup

Load admins.txt for admin session detection
…tity-string-before-gametype-change

Cache entity string for faster match resets
…cements-logic

Improve medic reinforcement selection fairness
…for-midpoint-calculation

Refactor findradius midpoint calculation
…ield-to-save-json

Add engine version metadata to game saves
…ons-to-use-std-vector

Refactor stuck position selection to use std::vector
…-horde-rounds

Add Horde life tracking and limits
…tate-for-ctf-flags

Track CTF flag objective states
…or-g_entities

Refactor G_Find to use span
…to-use-vector-arithmetic

Refactor findradius center distance calculation
@ozy24 ozy24 force-pushed the main branch 2 times, most recently from e51338e to c2adaf5 Compare December 27, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants