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.

Unhandled exception when using command ForceDuty

Featured Replies

 

When I try to go on duty from the console, I get the following error. LSPDFR still works partially but not all plugins load. The only change I made is installing VisualV. I have tried a clean LSPDFR install but no change.

 

Spoiler

 Unhandled exception occurred in console command "ForceDuty"
[2/26/2023 2:52:04 PM.877] Exception type: System.FormatException
[2/26/2023 2:52:04 PM.877] Exception message: Input string was not in a correct format.
[2/26/2023 2:52:04 PM.877] Stack trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
[2/26/2023 2:52:04 PM.877]    at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
[2/26/2023 2:52:04 PM.877]    at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
[2/26/2023 2:52:04 PM.877]    at Rage.InitializationFile.ReadInt16(String sectionName, String keyName, Int16 defaultValue)
[2/26/2023 2:52:04 PM.877]    at ‌‫‬‪‌‍‬‎‪‬‌‬‎‌‏‍‏‌‌‏‌‏‮.‎‌‌‬‏‍‫‫‮‌‭‏‬‌‏‪‪‏‮‍‪‭‬‬‫‭‮(InitializationFile , String , String , Int16 )
[2/26/2023 2:52:04 PM.877]    at ‌‫‬‪‌‍‬‎‪‬‌‬‎‌‏‍‏‌‌‏‌‏‮.‍‎‍‎‏‮‭‭‎‍‎‫‌‭‌‎‮‮‫‪‌‭‪‭‮‎‮()
[2/26/2023 2:52:04 PM.877]    at ‭‎‮‍‪‏‫‬‬‍‫‪‍‍‭‎‪‪‭‮.‭‫‏‬‪‭‭‮‬‬‮‪‬‪‎‍‭‮‮‮‌‭‏‮(Boolean )
[2/26/2023 2:52:04 PM.877]    at LSPD_First_Response.Mod.API.Functions.OnDutyStateChangedEventHandler.Invoke(Boolean onDuty)
[2/26/2023 2:52:04 PM.877]    at WPUGJNEEtIsMBgTtQIJLcOvjRTKU.HnlCnpSuQLXtvxgiNVtEaGkxGLkM(Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 69
[2/26/2023 2:52:04 PM.877]    at WPUGJNEEtIsMBgTtQIJLcOvjRTKU.OpXaOTtozjKrgykjxAOHDWOsIqEeA(Boolean , Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 371
[2/26/2023 2:52:04 PM.877]    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

RagePluginHook.log

 

 

When trying to go on duty from the station, LSPDFR crashes with this error

Spoiler

[02/26/2023 13:38:20.494] LSPD First Response:
[02/26/2023 13:38:20.494] LSPD First Response: ==============================
[02/26/2023 13:38:20.494] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[02/26/2023 13:38:20.494] LSPD First Response: ------------------------------
[02/26/2023 13:38:20.494] LSPD First Response: Origin: Game fiber "LoadingSpinner".
[02/26/2023 13:38:20.494] LSPD First Response: ------------------------------
[02/26/2023 13:38:20.494] LSPD First Response: Exception type: System.FormatException
[02/26/2023 13:38:20.494] LSPD First Response: Exception message: Input string was not in a correct format.
[02/26/2023 13:38:20.494] LSPD First Response: ------------------------------
[02/26/2023 13:38:20.494] LSPD First Response: Inner exceptions:
[02/26/2023 13:38:20.494] LSPD First Response: ------------------------------
[02/26/2023 13:38:20.494] LSPD First Response: Stack trace:
[02/26/2023 13:38:20.495] LSPD First Response: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
[02/26/2023 13:38:20.495] at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
[02/26/2023 13:38:20.495] at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info)
[02/26/2023 13:38:20.495] at Rage.InitializationFile.ReadInt16(String sectionName, String keyName, Int16 defaultValue)
[02/26/2023 13:38:20.495] at ‌‫‬‪‌‍‬‎‪‬‌‬‎‌‏‍‏‌‌‏‌‏‮.‎‌‌‬‏‍‫‫‮‌‭‏‬‌‏‪‪‏‮‍‪‭‬‬‫‭‮(InitializationFile , String , String , Int16 )
[02/26/2023 13:38:20.495] at ‌‫‬‪‌‍‬‎‪‬‌‬‎‌‏‍‏‌‌‏‌‏‮.‍‎‍‎‏‮‭‭‎‍‎‫‌‭‌‎‮‮‫‪‌‭‪‭‮‎‮()
[02/26/2023 13:38:20.495] at ‭‎‮‍‪‏‫‬‬‍‫‪‍‍‭‎‪‪‭‮.‭‫‏‬‪‭‭‮‬‬‮‪‬‪‎‍‭‮‮‮‌‭‏‮(Boolean )
[02/26/2023 13:38:20.495] at LSPD_First_Response.Mod.API.Functions.OnDutyStateChangedEventHandler.Invoke(Boolean onDuty)
[02/26/2023 13:38:20.495] at WPUGJNEEtIsMBgTtQIJLcOvjRTKU.HnlCnpSuQLXtvxgiNVtEaGkxGLkM(Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 69
[02/26/2023 13:38:20.495] at WPUGJNEEtIsMBgTtQIJLcOvjRTKU.OpXaOTtozjKrgykjxAOHDWOsIqEeA(Boolean , Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 371
[02/26/2023 13:38:20.495] at YBeSNSbUDenUrDGxsCoooKyzWFeu.qZixAkQjrzhmWATYFUuYhxJaMdqd() in D:\GTA V\LSPD First Response\LSPD First Response\Mod\Menus\DutyMenu.cs:line 235
[02/26/2023 13:38:20.495] at ydhCZUAxXcearzXBERdIOnpNJjx.UStwBMsbYesFYstAaLioGJgIWNOo() in D:\GTA V\LSPD First Response\LSPD First Response\Engine\UI\LoadingSpinner.cs:line 42
[02/26/2023 13:38:20.495] at Rage.GameFiber.Main()
[02/26/2023 13:38:20.495] LSPD First Response: ==============================
[02/26/2023 13:38:20.495] LSPD First Response:
[2/26/2023 1:38:20 PM.497] LSPD First Response: [FATAL] Forced termination
[2/26/2023 1:38:20 PM.498] LSPD First Response: [TRACE] Released 0 entities from DefaultContentManager
[2/26/2023 1:38:22 PM.463] LSPD First Response: [INFO] LSPDFR has shut down

 

Edited by Eriiaa

Solved by Lennyy

Go to solution
  • Author
Just now, Lenny1161 said:

Some config file which you recently edited contains an error. Have you made any changes recently?

 

I must have made a mistake while editing STP config. Forgot to delete the plugins when I reinstalled. It works now.

This is a support topic.
Only reply here to offer help or assistance to Eriiaa. 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...

Similar Content

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.