A plug-and-play safety layer for Arma Reforger servers that protects against bad mod behavior, runaway loops, and VM crashes — without relying on mod authors to fix their code.
The RBR Universal Crash Guard provides a universal safety net for Reforger servers running multiple mods. It catches bad behavior, prevents infinite loops, monitors global frame usage, and logs detailed information administrators can use to identify problem mods — all without requiring updates from mod authors.
This is meant for testing on live servers for framework and compatibility. Please report bugs here in Github thanks!
Servers running many community mods often face instability from:
- Missing null checks
- Infinite loops
- Heavy
EOnFrameexecution - Bad update pushes
Crash Guard functions like a seatbelt — catching failures before they take the entire server down.
If you wish to contribute I have the mod listed below. (its private atm for development)
I am not very good with C# so be gentel, this is still in its infancy lol!
Currently the mod is private while in development
- Add the mod entry to the TOP of your server’s modlist JSON.
{ "modId": "66E3474D783F309A", "name": "Untugs Crash Guard WiP", "version": "" },
- Start the server and confirm this appears in the console/logs:
[CrashShield] Universal SafeGuard loaded.
Not implimented yet - Still working on proper logging
- Create custom guards inside
SafePatches.cif you encounter a misbehaving mod. - Use the included templates to add loop caps, null-checks, and safety wrappers.
Initializes the guard system and confirms loading.
Provides:
- Null safety checks
- Loop protection
- Structured logging
- Context/instance/owner tracing
Assigns severity levels (LOW, MED, HIGH) to loop events and writes them to logs.
Outputs all structured events to:
$profile:CrashGuard.log
A system-wide frame counter that detects runaway frame scripts.
Where admins can create per-mod safety guards.
Reserved for future patch collections and mod-specific examples.
- Install the addon and restart the server.
- When instability occurs, read
CrashGuard.login yourprofiledirectory. - Look for HIGH/MED severity entries and repeated contexts.
- Check
[GLOBAL]entries for full server frame overloads. - Use AR Explorer to trace issues back to scripts.
- Build guards in
SafePatches.cto prevent repeat issues.
Contributions are welcome!
Ways to contribute:
- Improve documentation
- Add templates
- Submit bug fixes
- Submit new mod integration patches
How to Contribute
- Fork the repository
- Create a feature branch
- Commit your changes
- Submit a pull request
Arama Reforger and its associated assets are trademarks of Bohemia Interactive. APL-ND License applies to this project while in development.
Would like to thank the Rubber Band Rangers Dev Team along with:
- LoneStarActual [BTGG]
- Rouge [RES]
- Brooks [OG]
Thank you for helping with the development and testing for this project!