ShowErrorsCallback
function · client
- Address
0x402f20· 62 bytes, up to0x402f5d- Signature
bool __fastcall (CVar *cvar, const char *oldText, const char *newText, void *callbackArg)- Meaning
- Applies the ShowErrors setting: shows or hides the error display and prints which
- Confidence
- verified, proof one
- Finding
- sysmsg#error-display-settings
Finding: Error display settings in sysmsg
ClientRegisterConsoleCommands registers Errors with the callback 0x402ee0 and ShowErrors with
0x402f20. Each reads the new value with SStrToInt. For Errors, a non-zero value calls 0x409170
and prints Error display enabled, zero calls 0x4091a0 and prints Error display disabled; for
ShowErrors, non-zero calls 0x4091c0 with Error display shown, zero 0x4091e0 with
Error display hidden. Both print through ConsoleWrite in class 0, then pass the integer to
SysMsgSetEnabled and return 1, so either setting sets the display switch. 0x403110 prints the
filter: Now filtering: all messages when SysMsgGetSelected is −1, else Now filtering: and a
name for each set bit: 0x1 general, 0x2 world, 0x4 ui, 0x8 animation, 0x10 models,
0x20 objects, 0x80 movement. Bit 0x40 prints nothing.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- 0x4091c0 unassigned
- 0x4091e0 unassigned
- SysMsgSetEnabled sysmsg
- ConsoleWrite console
- SStrToInt storm
Calls and jumps by a bare address, from tables/calls.tsv.