Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
The latest updated version of RAGE Plugin Hook, required to play LSPDFR, can be found inside the LSPDFR download. It is not currently available on the RAGE Plugin Hook website.

Ultimate Backup Causing Forced Duty Crash

Featured Replies

Hello, when I force duty in LSPDFR after updating, I get an unhandled exception popup. When I remove Ultimate Backup it stops, and I'm wondering what causes this. My Rage log is below. Thanks !

 

 

Spoiler

[2/10/2023 6:17:04 PM.473] LSPD First Response: StopThePed Localization Code Page: 1252
[2/10/2023 6:17:04 PM.473] LSPD First Response: StopThePed Localization Encoding Name: Western European (Windows)
[2/10/2023 6:17:04 PM.523] LSPD First Response: REALISTICTASER: SHOTCOUNTER STARTED
[2/10/2023 6:17:04 PM.529] LSPD First Response: [RPE Priority Radio Traffic]: PoliceSmartRadio is installed.
[2/10/2023 6:17:04 PM.537] LSPD First Response: RichsPoliceEnhancements requesting a PoliceSmartRadio action to be added to prt
[2/10/2023 6:17:04 PM.537] LSPD First Response: PoliceSmartRadio: Adding action for RichsPoliceEnhancements to prt successful.
[2/10/2023 6:17:04 PM.537] LSPD First Response: [RPE Priority Radio Traffic]: GrammarPolice is installed.
[2/10/2023 6:17:04 PM.545] LSPD First Response: [RPE Priority Radio Traffic]: requestPRT does not exist.
[2/10/2023 6:17:04 PM.547] LSPD First Response: [RPE Suspect Stamina]: Suspect stamina started.
[2/10/2023 6:17:04 PM.992] ====================================================================================================
[2/10/2023 6:17:04 PM.992] Unhandled exception occurred in console command "ForceDuty"
[2/10/2023 6:17:04 PM.992] Exception type: System.Xml.XmlException
[2/10/2023 6:17:04 PM.992] Exception message: '<' is an unexpected token. The expected token is '>'. Line 146, position 21.
[2/10/2023 6:17:04 PM.992] Stack trace: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
[2/10/2023 6:17:04 PM.992]    at System.Xml.XmlTextReaderImpl.ParseEndElement()
[2/10/2023 6:17:04 PM.992]    at System.Xml.XmlTextReaderImpl.ParseElementContent()
[2/10/2023 6:17:04 PM.992]    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
[2/10/2023 6:17:04 PM.992]    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
[2/10/2023 6:17:04 PM.992]    at System.Xml.XmlDocument.Load(XmlReader reader)
[2/10/2023 6:17:04 PM.992]    at System.Xml.XmlDocument.Load(String filename)
[2/10/2023 6:17:04 PM.992]    at ‬‏‮‭‌‮‏‍‎‏‍‬‫‪‎‏‭‫‎‏‎‍‭‮.‌‫‫‏‬‪‏‎‍‫‌‎‌‎‏‫‮‪‌‎‮(XmlDocument , String )
[2/10/2023 6:17:04 PM.992]    at ‬‏‮‭‌‮‏‍‎‏‍‬‫‪‎‏‭‫‎‏‎‍‭‮.‪‏‫‍‎‏‏‪‬‪‫‏‏‭‍‮‌‌‬‬‪‪‏‌‮(String )
[2/10/2023 6:17:04 PM.992]    at ‬‏‮‭‌‮‏‍‎‏‍‬‫‪‎‏‭‫‎‏‎‍‭‮.‏‌‌‪‍‭‬‍‍‬‏‪‌‍‬‫‎‎‮‬‍‌‎‮()
[2/10/2023 6:17:04 PM.992]    at ‬‏‮‭‌‮‏‍‎‏‍‬‫‪‎‏‭‫‎‏‎‍‭‮.‍‌‭‫‎‭‏‪‎‫‪‎‏‮‏‌‬‎‬‎‬‮‭‪‏‬‭‍‮()
[2/10/2023 6:17:04 PM.992]    at ‮‫‪‪‎‬‏‭‏‪‪‌‭‬‏‭‏‫‎‮.‭‫‍‍‏‌‭‬‪‌‭‮‬‮‮‏‮‫‍‮‪‪‏‮‬‬‬‫‮(Boolean )
[2/10/2023 6:17:04 PM.992]    at LSPD_First_Response.Mod.API.Functions.OnDutyStateChangedEventHandler.Invoke(Boolean onDuty)
[2/10/2023 6:17:04 PM.992]    at WPUGJNEEtIsMBgTtQIJLcOvjRTKU.HnlCnpSuQLXtvxgiNVtEaGkxGLkM(Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 69
[2/10/2023 6:17:04 PM.992]    at WPUGJNEEtIsMBgTtQIJLcOvjRTKU.OpXaOTtozjKrgykjxAOHDWOsIqEeA(Boolean , Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 371
[2/10/2023 6:17:04 PM.992]    at LSPD_First_Response.Mod.Utils.ConsoleCommands.Command_ForceDuty(Boolean keepCurrentOutfit, Boolean keepLoadout, String agency) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\Utils\ConsoleCommands.cs:line 214
[2/10/2023 6:17:04 PM.992] ====================================================================================================
[2/10/2023 6:19:44 PM.122] LSPD First Response: StopThePed requesting a PoliceSmartRadio action to be added to transport
[2/10/2023 6:19:44 PM.122] LSPD First Response: PoliceSmartRadio: Adding action for StopThePed to transport successful.
[2/10/2023 6:19:44 PM.122] LSPD First Response: StopThePed requesting a PoliceSmartRadio action to be added to coroner
[2/10/2023 6:19:44 PM.122] LSPD First Response: PoliceSmartRadio: Adding action for StopThePed to coroner successful.
[2/10/2023 6:19:44 PM.122] LSPD First Response: StopThePed requesting a PoliceSmartRadio action to be added to tow
[2/10/2023 6:19:44 PM.122] LSPD First Response: PoliceSmartRadio: Adding action for StopThePed to tow successful.
[2/10/2023 6:19:44 PM.122] LSPD First Response: StopThePed requesting a PoliceSmartRadio action to be added to insurance
[2/10/2023 6:19:44 PM.123] LSPD First Response: PoliceSmartRadio: Adding action for StopThePed to insurance successful.
[2/10/2023 6:19:44 PM.123] LSPD First Response: StopThePed requesting a PoliceSmartRadio action to be added to animal
[2/10/2023 6:19:44 PM.123] LSPD First Response: PoliceSmartRadio: Adding action for StopThePed to animal successful.
[2/10/2023 6:19:44 PM.387] LSPD First Response: 
[2/10/2023 6:19:44 PM.387] LSPD First Response: ==============================
[2/10/2023 6:19:44 PM.387] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[2/10/2023 6:19:44 PM.387] LSPD First Response: ------------------------------
[2/10/2023 6:19:44 PM.387] LSPD First Response: Origin: Game fiber "<UNNAMED THREAD>".
[2/10/2023 6:19:44 PM.387] LSPD First Response: ------------------------------
[2/10/2023 6:19:44 PM.387] LSPD First Response: Exception type: System.TypeInitializationException
[2/10/2023 6:19:44 PM.387] LSPD First Response: Exception message: The type initializer for '‭‫‬‮‪‏‌‭‏‌‮‬‫‌‭‍‎‍‪‎‮‮' threw an exception.
[2/10/2023 6:19:44 PM.387] LSPD First Response: ------------------------------
[2/10/2023 6:19:44 PM.387] LSPD First Response: Inner exceptions:
[2/10/2023 6:19:44 PM.387] LSPD First Response:     Exception type: System.AccessViolationException
[2/10/2023 6:19:44 PM.387] LSPD First Response:     Exception message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
[2/10/2023 6:19:44 PM.387] LSPD First Response:         ------------------------------
[2/10/2023 6:19:44 PM.387] LSPD First Response:         Stack trace:
[2/10/2023 6:19:44 PM.387] LSPD First Response:         at RAGENativeUI.Internals.Screen.get_ActualResolution()
[2/10/2023 6:19:44 PM.387] at RAGENativeUI.UIMenu.GetScreenResolutionMantainRatio()
[2/10/2023 6:19:44 PM.387] at ‭‫‬‮‪‏‌‭‏‌‮‬‫‌‭‍‎‍‪‎‮‮.‎‫‬‫‍‮‫‍‪‪‎‍‏‬‫‎‍‎‍‌‮()
[2/10/2023 6:19:44 PM.387] at ‭‫‬‮‪‏‌‭‏‌‮‬‫‌‭‍‎‍‪‎‮‮..cctor()
[2/10/2023 6:19:44 PM.387] LSPD First Response:         ==============================
[2/10/2023 6:19:44 PM.387] LSPD First Response: 
[2/10/2023 6:19:44 PM.387] LSPD First Response: ------------------------------
[2/10/2023 6:19:44 PM.387] LSPD First Response: Stack trace:
[2/10/2023 6:19:44 PM.387] LSPD First Response: at ‭‫‬‮‪‏‌‭‏‌‮‬‫‌‭‍‎‍‪‎‮‮.‮‮‮‫‏‬‍‍‏‪‮‎‌‍‭‮‏‎‍‏‭‫‫‮()
[2/10/2023 6:19:44 PM.387] at ‪‍‏‮‍‭‎‌‍‮‎‎‫‭‭‏‮‮‭‎‍‭‎‬‮.‍‮‫‬‏‭‪‎‎‎‫‬‏‮‎‬‬‌‏‮‏‎‫‬‬‮‮.‭‮‍‫‪‌‬‫‭‍‭‮‬‎‏‫‮‎‮()
[2/10/2023 6:19:44 PM.387] at Rage.GameFiber.Main()
[2/10/2023 6:19:44 PM.387] LSPD First Response: ==============================
[2/10/2023 6:19:44 PM.387] LSPD First Response: 
[2/10/2023 6:19:44 PM.391] LSPD First Response: [FATAL] Forced termination
[2/10/2023 6:19:44 PM.394] LSPD First Response: [TRACE] Released 0 entities from DefaultContentManager
[2/10/2023 6:19:48 PM.460] LSPD First Response: [INFO] LSPDFR has shut down
[2/10/2023 6:19:49 PM.579] LSPD First Response: All signs removed

 

Ross Nethercutt

Hey there!

You've got 2 issues here.

1. An XML error. You attached the full log & I can't see which file specifically - but I guess you've edited one recently.

'<' is an unexpected token. The expected token is '>'. Line 146, position 21.

 

2. You need to update RAGENativeUI

 

Hope this helps!

Prefer support on Discord? Want your log automatically read? Join my server to receive live support!

https://discord.gg/SJfxcAhjCF

 

Developer of Callout Pack 686 Callouts & Discord Bot 686 Utilities.

 

This is a support topic.
Only reply here to offer help or assistance to RNorthencotton24. Off-topic or "me too" replies will be removed.

Need support yourself? Make a new topic instead.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.