Protects you from the 400 or so "most comonly" used network functions and 200 or so other functions. Instead of crashing your game, it will tell you what player tried to crash you and you will warn/kick/ban them if you are host. This works client and host.
Network functions send your player data to other players and the other way around, if a different player sends wrong data to you, you might crash. This mod prevents that.
I have not had any false negatives. If you experience this, let me know.
Version 9:
Fixed a crash.
Version 8:
Improved performance of anti spam in chat.
Fixed spam messages displaying correctly from mod option selection.
Removed some safecall functions that are already protected, improving performance.
Version 7:
Fixed punishment in mod option visually showing correct selection.
Version 6:
Removed checks for interactions because it caused some people to have issues.
Improved the code to minimise lag.
Added mod options.
Version 5:
Added safe call for _preload_part()
Version 4:
Does not safe call interaction functions related to wolfhud, because of lag.
Version 3:
Added maximum amount of errors and crashes that can be displayed in chat to 30 and 10 times.
Added argument check for custom functions.
Added suspport for custom safecalls without arg or unit check, to class table.
Added private warning message to the guy that tries to crash you.
Fixed chat priority setting and displayed text.
Fixed pcall error, need feedback on network functions.
Removed safe-calling of host units and added all client ones.
Version 2:
Added other classes not direct related to networking.
Dependencies
-
Instructions
**Make sure to first have SuperBLT installed. Click the link in the dependency list.**
Optional video tutorial for installing SuperBLT, BeardLib, and mod_overrides mods: https://youtu.be/rin_sjSJIkg
1. After downloading the mod, use a program such as [7zip](https://www.7-zip.org/download.html) or [WinRAR](https://www.rarlab.com/download.htm) to extract the main folder of the mod.
2. Drop that folder into the `mods` folder which is supposed to be in the game's installation folder (don't know where that is? click [here](https://wiki.modworkshop.net/books/payday-2/page/finding-payday-2s-install-folder))
Comments