benilla-re systems structs docs

WriteErrorLog

function · storm · boundary

Address
0x64daa0 · 214 bytes, up to 0x64db75
Meaning
Creates a timed .txt error log with the title, the error text and the header callback's text, keeping its path
Confidence
verified, proof one
Finding
storm/errorlog#the-log-file

Finding: The log file in storm: error logs and crash dumps

0x64daa0 creates a .txt log named from the local time, writes the title, then the error text. A header callback, when set, gets a 5200-byte buffer with its first byte 0, and any text it leaves is written. It records the file's path for 0x64e8d0 and returns the file. The client's header is WoWBuild: 5875; then, when the object manager is valid and the active player can be read, Local Zone: <area>, a line <label>: <name>, <guid>, (<x>,<y>,<z>) for each of Local Player, Attacking Target, Current Object Track, Interact Target, Locked Target, Last Enemy Target and Cursor Item that exists, and, with any add-on listed, Add Ons: and each loaded add-on's name followed by a space.

The derivation is in the doc.

Callers 1

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.