This mod protects against most crashes due to network lag or malicious players.
The generic part of the mod only handles Lua errors, so it's still possible to crash. To prevent less straightforward crashes from happening, specific code will have to be added.
The blueprints of other players' weapons are reconstructed to ensure that no parts are missing.
Ill-formed characters are searched in game chat, mods list and nicknames.
Depending on the origin of the call, you can define what action to do:
Please note that the origin of the call leading to a crash may differ with the cause of the crash itself. So don't jump to conclusions: a local error in your own mods could very well result in a misleading message.
Possible values are:
default | use the default action |
unprotected | leave the function untouched |
quiet | only log crash informations in BLT log file |
chat | tell in game chat when a crash has been prevented |
kick | kick the player at the origin of the call |
ban | ban the player at the origin of the call |
The chat option sends a message only to you. It mentions the origin of the call (corresponding to item names listed in options menu) and peer's name if available.
More information about a prevented crash can be found in BLT logs. Generic protection writes a callstack and received values, but cases handled manually may differ.