Skip to content

Conversation

@themuffinator
Copy link
Owner

Summary

  • add a thread-local rotating token buffer helper to avoid token overwrites
  • update COM_ParseEx to use the thread-local buffers when no caller buffer is provided or buffer size is zero

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
…-and-p_menu_close-ownership

Make menu argument ownership explicit
…gehastext-validation

Improve friendly message validation
…h-bounds-check-in-g_selectrandomtarget

Handle invalid random target indices
…message-tests-for-better-reporting

Refine activation message test assertions
…jection-in-checkspawnpoint

Fix gravity trace projection for spawn checks
…d-footer-text

Update scoreboard footer separators
…return-and-add-test

Handle failed fly monster spawns
…te-for-safe-concatenations

Add bounds-checked menu layout builder
…rs-in-g_monster_spawn.cpp

Add vector helpers for monster spawn calculations
…e-cell-content

Center align README header table content
…nal-symbol-p_menu_buildstatusbar

Fix CTF spawn guard and include menu status bar source
@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