summaryrefslogtreecommitdiffstats
path: root/CONTEXT.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-03 22:03:01 +0100
committersalmonik <salmonik@tuta.io>2026-11-03 22:03:01 +0100
commit2e9373d530bca779b4070a79972f246ef41e4038 (patch)
treecc263d92cdcf7c9befd29f36da3cf04ed0b3a7f4 /CONTEXT.md
parentHandles: use the 11-bit networked EHANDLE entity index (diff)
downloadhl2h-2e9373d530bca779b4070a79972f246ef41e4038.tar.gz
hl2h-2e9373d530bca779b4070a79972f246ef41e4038.zip
GUI: recover invalid fonts; vischeck: props and bulletproof glass
- Validate the GUI font handles with GetTextSize and recreate them when the local player entity or UI scale changes. Small scaled sizes fall back to the proven 16 px size, and the failure log/toast is emitted once instead of every frame. This fixes sessions where the menu rendered with no text after a level transition. - Rework visibility: trace with MASK_SHOT/TRACE_EVERYTHING while ignoring the local player and target, so static props, crates and other NPCs block. Non-solid glass and breakable-glass materials are skipped; solid non-break glass (bulletproof) blocks. Fix CONTENTS_WINDOW 0x2 (was 0x4) in the masks. - Pass self/target to is_visible from aimbot/silent/melee callers.
Diffstat (limited to '')
-rw-r--r--CONTEXT.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/CONTEXT.md b/CONTEXT.md
index 5f27572..922ea98 100644
--- a/CONTEXT.md
+++ b/CONTEXT.md
@@ -288,10 +288,17 @@ vocabulary / decisions.
288 mask. This caused active-weapon lookups to produce bogus indices after a 288 mask. This caused active-weapon lookups to produce bogus indices after a
289 map change once the weapon serial was nonzero (melee killbot looked dead). 289 map change once the weapon serial was nonzero (melee killbot looked dead).
290- `ISurface` binary slot = SDK header slot + 4; see `src/ISURFACE_STATUS.md`. 290- `ISurface` binary slot = SDK header slot + 4; see `src/ISURFACE_STATUS.md`.
291- GUI font handles are validated with `GetTextSize` and recreated when the
292 local player entity or UI scale changes; if the scaled size fails, 16 px is
293 used as a fallback. VGUI can silently invalidate font handles across level
294 transitions.
291- Silent aim and ABH temporarily replace the usercmd view; silent aim preserves 295- Silent aim and ABH temporarily replace the usercmd view; silent aim preserves
292 movement, ABH intentionally zeroes it for the jump tick. 296 movement, ABH intentionally zeroes it for the jump tick.
293- Aimbot vischeck (`MASK_VISIBLE`/world-only) differs from triggerbot 297- Aimbot/silent/melee vischeck now traces everything bullets care about
294 (`MASK_SHOT`/all entities): glass and static props can behave differently. 298 (`MASK_SHOT`) while ignoring the local player and target. Static props,
299 crates and other NPCs block. Non-solid glass and breakable-glass materials
300 are skipped; solid non-break glass (bulletproof) blocks. Triggerbot still
301 uses the same `MASK_SHOT` trace and will not fire through glass.
295 302
296## Valuable items 303## Valuable items
297 304