XH-M03: A model file is cut short
The server read a model file (.mdl) that is shorter than its own header says.
- xHLDS version
- 3.15.0-hs.15
- Updated
Printed: when the server reads the model file (a precache or a map load), xhlds_, and the file is then loaded as before; with xhlds_ the server stops with this line as a FATAL ERROR, as for a missing model.
The server read a model file (.mdl) that is shorter than its own header says: its model loader reads past the end of such a file. Usually an upload or copy that stopped part way. The line names the file, its size and the size its header gives ("damaged" instead: the header asks for a copy of a negative size).
The server then loads the file as before, as ReHLDS does. Reading past the file can crash the server, often only on some map loads; when it does, this line has named the file.
Is it a problem? Yes: the server can crash on any map that uses the model.
What to do: upload the file again in full (its size must match the original's), or take it out of the plugin config or map that uses it.
xhlds_ stops the server instead (FATAL ERROR, as for a missing model, and a crash report whose sys_error= has this line), for test servers where it must not be missed; hlds_run or the panel then starts it again into the same error. xhlds_ turns the check off. Protected models whose header looks wrong but whose reads stay inside the file are not reported.
On the server
xhlds_ prints this explanation on the server console, also over rcon.
Licences, prices and what xHLDS adds: xHLDS licence and prices.
Something wrong or unclear on this page? Email office@hostsrc.com or tell us on Discord (external site, opens in a new tab).