diff options
Diffstat (limited to 'CONTEXT.md')
| -rw-r--r-- | CONTEXT.md | 14 |
1 files changed, 11 insertions, 3 deletions
| @@ -258,6 +258,15 @@ vocabulary / decisions. | |||
| 258 | assist deliberately writes only `m_vecAbsVelocity`; `SetAbsVelocity` syncs | 258 | assist deliberately writes only `m_vecAbsVelocity`; `SetAbsVelocity` syncs |
| 259 | `m_vecVelocity` after the command. | 259 | `m_vecVelocity` after the command. |
| 260 | 260 | ||
| 261 | ## Logging | ||
| 262 | |||
| 263 | - `/tmp/hl2hake.log` is opened once at startup with `"w"` (so it only contains | ||
| 264 | the current session), line-buffered, and closed via `atexit`. | ||
| 265 | - `logf` is always on: lifecycle, warnings/errors, config, GUI open/close and | ||
| 266 | item-crate detections. | ||
| 267 | - `logd` is off unless `HL2H_DEBUG=1`; it carries per-scan ESP/NPC/item-prop, | ||
| 268 | aimbot-target, bone and netvar noise. Run `HL2H_DEBUG=1 ./play.sh` to enable. | ||
| 269 | |||
| 261 | ## Gotchas / lessons | 270 | ## Gotchas / lessons |
| 262 | 271 | ||
| 263 | - Never pipe-mask build failures: | 272 | - Never pipe-mask build failures: |
| @@ -275,9 +284,8 @@ vocabulary / decisions. | |||
| 275 | - Scans the client entity list every 100 ms and tags health, ammo, armor/suit, | 284 | - Scans the client entity list every 100 ms and tags health, ammo, armor/suit, |
| 276 | world weapon pickups, the two supply-crate models and generic items. | 285 | world weapon pickups, the two supply-crate models and generic items. |
| 277 | - Each tag is a colored marker with a name and optional distance, filtered by | 286 | - Each tag is a colored marker with a name and optional distance, filtered by |
| 278 | category toggles and a max-distance slider (default 5000 units). Supply | 287 | category toggles and a max-distance slider (default 5000 units). Drawn |
| 279 | crates ignore the distance limit. Drawn through walls and independently of | 288 | through walls and independently of the hostile NPC ESP. |
| 280 | the hostile NPC ESP. | ||
| 281 | - Ammo labels are specific where the model is known: pistol, SMG, AR2, .357, | 289 | - Ammo labels are specific where the model is known: pistol, SMG, AR2, .357, |
| 282 | crossbow, shotgun, sniper, flares, AR2 grenade, RPG rocket, plus ammo-crate | 290 | crossbow, shotgun, sniper, flares, AR2 grenade, RPG rocket, plus ammo-crate |
| 283 | variants. Unknown ammo falls back to "Ammo". | 291 | variants. Unknown ammo falls back to "Ammo". |
