What you see
- War3Log.txt is full of errors, even after a melee game.
- Lines such as
model creation failed
,Error loading texture
orframe already encountered
. Item Inventory Index Out Of Bound - Index: 4294967295
.
Why it happens
The game's own interface files and data reference keywords and assets that the current version does not have, so every session logs errors that have nothing to do with your map: lines from UI\FrameDef\UI\, Referencing unknown database field
, Perforce paths, Testing Display Mode
.
The log does not record the crash itself. Use it for what happened before the crash.
Lines that name your own files matter: war3mapImported\ paths, your model paths, Could not load file
. A model creation failed
line with an odd path such as .mdl.mdl or an attachment name usually means effect arguments in the wrong order, or an empty model path.
How to fix it
- Filter out the stock noise first, or compare with a log from a blank melee map on the same build.
- Search the map's script and object data for every path the log names.
- Check effect calls:
AddSpecialEffectTarget(model, unit, attachment), in that order. - For missing textures, make the import path match what the model references.
How WC3 Map Doctor detects it
- InfoMatches a known pattern: model creation failed - <path>" and "Error loading texture" - finding the real missing assetAUTO-war3log-model-creation-failed-1
- InfoMatches a known pattern: FDF errors from map UI - 'frame already encountered', 'cannot find frame to inherit from', 'Expected ",AUTO-war3log-fdf-already-encountered-1
- InfoMatches a known pattern: Item Inventory Index Out Of Bound - Index: 4294967295, TotalSlots: 6AUTO-war3log-item-inventory-index-1
- Warningswar3map.imp lists an import that is not in the archive, or an archived asset is missing from the import table.BRK-import-missing-file
The lab version also reads War3Log.txt files directly and filters the known noise. That is not on the public site yet.
Sources
Written in our own words from our lab notes; these are the pages behind them.