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 in console command "forceduty"

Featured Replies

Hey guys,

 

so just tried to play lspdfr and when I tried forceduty lspdfr crashed and I had the error message in the title.

 

I've tried numerous things such as upping the Plugintimeoutthreshold to 60000 and checking all the plugins I have installed for updates and also updated the once that had one available.

I also checked the .xml files that I edited for any errors but I couldn't find any.

Also tried to remove some plugins which just caused the game to crash on launch.

 

Here is the latest RAGE Log.

RagePluginHook_20122022_022448.log

 

I hope someone can help me cause I really don't want to reinstall everything over again.

Edited by TheDragoN

Solved by TheDragoN

Go to solution

Yes that error-code is general for any code-issue in a plugin.
(Every time my code crash, i also get that exact message)
My guess would be that you have at least one outdated plugin.
Sadly there are no list of outdated plugins, such a list would be really helpful and a strong candidate for a pinned topic

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

  • Management Team
2 hours ago, GTAbear said:

Yes that error-code is general for any code-issue in a plugin.
(Every time my code crash, i also get that exact message)
My guess would be that you have at least one outdated plugin.
Sadly there are no list of outdated plugins, such a list would be really helpful and a strong candidate for a pinned topic

?

 

@TheDragoNYour policeb model is bad:

 

Spoiler

[12/20/2022 3:26:25 AM.898] LSPD First Response: [TRACE] Preloading POLICEB
[12/20/2022 3:26:25 AM.901] ====================================================================================================
[12/20/2022 3:26:25 AM.901] Unhandled exception occurred in console command "ForceDuty"
[12/20/2022 3:26:25 AM.901] Exception type: System.InvalidOperationException
[12/20/2022 3:26:25 AM.901] Exception message: Cannot load invalid model with hash 0xfdefaec3.
[12/20/2022 3:26:25 AM.901] Stack trace: at Rage.Model.Load()
[12/20/2022 3:26:25 AM.901]    at WUQRInWdYooopOOHEBsKDaavdUPaA.PmvePTNovFUquSncOhZlMpkYWKPd(IHashedAsset , Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\Entities\ContentManager.cs:line 281
[12/20/2022 3:26:25 AM.901]    at WUQRInWdYooopOOHEBsKDaavdUPaA.PmvePTNovFUquSncOhZlMpkYWKPd(Model , Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\Entities\ContentManager.cs:line 266
[12/20/2022 3:26:25 AM.901]    at rajJKinHjHzInQgFvJQNKLrDrWBP.lQAFSdIbkxefIDmjmjqDAwHBMFIYb() in D:\GTA V\LSPD First Response\LSPD First Response\Mod\LSPDFR.cs:line 696
[12/20/2022 3:26:25 AM.901]    at rajJKinHjHzInQgFvJQNKLrDrWBP.LjObjIiPHmoZFLkWsyhucowMAewu() in D:\GTA V\LSPD First Response\LSPD First Response\Mod\LSPDFR.cs:line 679
[12/20/2022 3:26:25 AM.901]    at rajJKinHjHzInQgFvJQNKLrDrWBP.DFBivBwYwVjbRCQmWWNuNufUkTUJ(Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\LSPDFR.cs:line 299
[12/20/2022 3:26:25 AM.901]    at gtVPSRNButAOnHDepgMQPDtVeIwJ.kCyWllQwAsSRROrbGsWJBIaGLwKC.Invoke(Boolean onDuty)
[12/20/2022 3:26:25 AM.901]    at gtVPSRNButAOnHDepgMQPDtVeIwJ.rfkvddTnTkdBTCGxsBgDzHuHEqEoA(Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 69
[12/20/2022 3:26:25 AM.901]    at gtVPSRNButAOnHDepgMQPDtVeIwJ.sWOXYVyXoWjBWJwcCfcOwBUMeLax(Boolean , Boolean ) in D:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 371
[12/20/2022 3:26:25 AM.901]    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 184
[12/20/2022 3:26:25 AM.901] ====================================================================================================

 

 

 

  • Author
  • Solution

Just tried ur suggestions and turns out that I had the preload all models in the lspdfr.ini enabled.

Since I disabled the police bike I think thats what caused the problem.

I turned that to false and now everything works!

 

Thanks for the help guys.

 

 

  • Management Team
10 minutes ago, TheDragoN said:

Just tried ur suggestions and turns out that I had the preload all models in the lspdfr.ini enabled.

Since I disabled the police bike I think thats what caused the problem.

I turned that to false and now everything works!

 

Thanks for the help guys.

 

 

turning off preloading of models will only delay the issue until the model is normally spawned during play. The fix will be to remove/replace the model.

  • Author
1 minute ago, Cyan said:

turning off preloading of models will only delay the issue until the model is normally spawned during play. The fix will be to remove/replace the model.

Already removed it.

But I still had the same issue. I don't really know why but it wouldn't work until I turned off the preloading.

So far it has worked perfectly.

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