Skip to content

XH-M02: A model has more bones than the server and games can handle

A model the server precached has more than 128 bones.

xHLDS version
3.15.0-hs.12
Updated

On the console:

[XH-M02] models/player/big/big.mdl has 130 bones, the server and the game handle at most 128

Printed: as XH-M01.

A model the server precached has more than 128 bones. The server, the game library and players' games keep a model's bones in arrays of 128; working out the bones of a model with more (for hit detection, or where a weapon or attachment sits) writes past them, which can crash the server, not only players' games.

Is it a problem? Yes, as soon as the model is used: a player model or a weapon in hand.

What to do: replace the model, or have its maker remove bones (most models need far fewer).

xhlds_model_check 2 stops the server instead (FATAL ERROR and a crash report, see XH-M01); 0 turns the check off.

On the server

xhlds_explain XH-M02 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).