![]()
Force Duty Diagnostics
A LSPDFR plugin that provides advanced crash detection, plugin fingerprinting, and diagnostic logging during the LSPDFR duty‑switch process. This tool identifies which plugin crashes when going on duty, generates detailed crash reports, and scans your plugin installation for missing or broken files.
No More Force Duty Crash

Features
Crash Fingerprinting
When LSPDFR switches duty states, Force Duty Diagnostics:
Wraps every plugin subscribed to
OnOnDutyStateChangedDetects when a plugin throws an exception
Identifies the exact plugin responsible
Logs the plugin name and DLL path
Captures the full exception and stack trace
This makes it easy to pinpoint which plugin is breaking ForceDuty or causing duty‑switch crashes.
Timestamped Crash Reports
Every detected crash generates a standalone crash report:
Saved per‑plugin
Timestamped down to the millisecond
Includes plugin name, path, exception, and stack trace
Organized for long‑term debugging and tracking
Crash reports are stored in:
Plugins/LSPDFR/ForceDutyDiagnostics/CrashReports/
Plugin Integrity Scanner
On startup and every duty change, the plugin scans:
Plugins\Plugins\LSPDFR\All subfolders recursively
It checks for:
Missing DLLs
Missing config files
Empty or incomplete plugin folders
Incorrectly installed plugins
This helps identify installation issues before they cause crashes.
Duty Change Diagnostics
Whenever the player goes on duty or off duty, the plugin logs:
Duty state
Thread ID
Game time
Player position
Plugin scan results
Crash fingerprints (if any)
This creates a complete picture of what happened during the duty switch.
Cleanup & Stability
ForceDuty Diagnostics is fully passive:
Does not modify LSPDFR behavior
Does not interfere with other plugins
Only observes, logs, and reports
Generates clean, timestamped logs
All logs are stored in:
Plugins/LSPDFR/ForceDutyDiagnostics/ForceDutyDiagnostics.log
Requirements
RagePluginHook
LSPDFR
Installation
Place ForceDutyDiagnostics.dll into:
Grand Theft Auto V\Plugins\LSPDFR\
The plugin loads automatically when LSPDFR starts.
Known Bugs
There are currently no confirmed bugs, but the plugin is actively monitored and updated as needed.
If you encounter any issues, check the crash reports folder.
Latest Game Version 3751.0 Current Game Version 3788.0
Edited by TimmyLuke017 Gaming
Short Description
AI disclosure
The author has disclosed that AI tools were used in creating the following aspects of this file:
- Description
- Images
This plugin was also created by the LSPDFR Community.

Recommended Comments
Create an account or sign in to comment