From 2e9373d530bca779b4070a79972f246ef41e4038 Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 3 Nov 2026 22:03:01 +0100 Subject: 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. --- CONTEXT.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'CONTEXT.md') diff --git a/CONTEXT.md b/CONTEXT.md index 5f27572..922ea98 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -288,10 +288,17 @@ vocabulary / decisions. mask. This caused active-weapon lookups to produce bogus indices after a map change once the weapon serial was nonzero (melee killbot looked dead). - `ISurface` binary slot = SDK header slot + 4; see `src/ISURFACE_STATUS.md`. +- GUI font handles are validated with `GetTextSize` and recreated when the + local player entity or UI scale changes; if the scaled size fails, 16 px is + used as a fallback. VGUI can silently invalidate font handles across level + transitions. - Silent aim and ABH temporarily replace the usercmd view; silent aim preserves movement, ABH intentionally zeroes it for the jump tick. -- Aimbot vischeck (`MASK_VISIBLE`/world-only) differs from triggerbot - (`MASK_SHOT`/all entities): glass and static props can behave differently. +- Aimbot/silent/melee vischeck now traces everything bullets care about + (`MASK_SHOT`) while ignoring the local player and target. Static props, + crates and other NPCs block. Non-solid glass and breakable-glass materials + are skipped; solid non-break glass (bulletproof) blocks. Triggerbot still + uses the same `MASK_SHOT` trace and will not fire through glass. ## Valuable items -- cgit v1.2.3