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.

On duty crash - Ultimate Backup?

Featured Replies

Hi all.

 

I have updated GTA V and WOV latest installed. When I go on duty I get the following error in the log:

 

Spoiler

[4/21/2020 8:41:35 PM.696] LSPD First Response: UB: DEFAULT REGIONS FILE IS SUCCESSFULLY LOADED
[4/21/2020 8:41:35 PM.733] ====================================================================================================
[4/21/2020 8:41:35 PM.733] Unhandled exception occurred in console command "ForceDuty"
[4/21/2020 8:41:35 PM.733] Exception type: System.ArgumentException
[4/21/2020 8:41:35 PM.733] Exception message: An item with the same key has already been added.
[4/21/2020 8:41:35 PM.733] Stack trace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
[4/21/2020 8:41:35 PM.733]    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
[4/21/2020 8:41:35 PM.733]    at UltimateBackup.Globals.loadRegions(String xmlFilename)
[4/21/2020 8:41:35 PM.733]    at UltimateBackup.Globals.readBackupXmlFile()
[4/21/2020 8:41:35 PM.733]    at UltimateBackup.Globals.loadConfiguration()
[4/21/2020 8:41:35 PM.733]    at UltimateBackup.Main.OnOnDutyStateChangedhandler(Boolean onDuty)
[4/21/2020 8:41:35 PM.733]    at LSPD_First_Response.Mod.API.Functions.OnDutyStateChangedEventHandler.Invoke(Boolean onDuty)
[4/21/2020 8:41:35 PM.733]    at e'oj\\Q43o?=\*Nk)!_;^6$7}f@.(D=eLf-=7lO:Q<,5v0h_uWk!(Boolean ) in E:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 69
[4/21/2020 8:41:35 PM.733]    at e'oj\\Q43o?=\*Nk)!_;^6$7}f@.]YZLRC3bUL\TO"SaG{g/ur4O(Boolean , Boolean ) in E:\GTA V\LSPD First Response\LSPD First Response\Mod\PlayerDutyController.cs:line 371
[4/21/2020 8:41:35 PM.733]    at LSPD_First_Response.Mod.Utils.ConsoleCommands.Command_ForceDuty(Boolean keepCurrentOutfit, Boolean keepLoadout) in E:\GTA V\LSPD First Response\LSPD First Response\Mod\Utils\ConsoleCommands.cs:line 223
[4/21/2020 8:41:35 PM.733] ====================================================================================================

 

It appears to be with ultimate backup which I edited some files to use WOV models.

 

Can anyone work out the error?

 

 I ran the XML check in OpenIV and syntax is ok...

 

Chees

  • Author

After trying to fix this code, and then removed it from Ultimate Backup:

 

Spoiler

        <CustomRegion label="Los Santos Police Department Bicycle Unit">
            <Zones>
                <Zone>BEACH</Zone>
            </Zones>
            <VehicleSet>
                <Vehicles>
                    <Vehicle>cycle</Vehicle>
                </Vehicles>
                <Peds>
                    <!--Male Class A-->
<!--Officer-->        <Ped chance="100">s_m_y_bcop_01</Ped>
                </Peds>
                <NonLethals>
                    <NonLethal>WEAPON_STUNGUN</NonLethal>
                    <NonLethal>WEAPON_NIGHTSTICK</NonLethal>
                </NonLethals>
                <HandGuns>
                    <HandGun chance="75">WEAPON_PISTOL</HandGun>
                    <HandGun chance="25">WEAPON_COMBATPISTOL</HandGun>
                </HandGuns>
                <LongGuns>
                    <LongGun chance="100">WEAPON_UNARMED</LongGun>
                </LongGuns>
            </VehicleSet>
        </CustomRegion>

 

 

I get this error:

 

Spoiler

[4/21/2020 9:35:04 PM.364] at RAGENativeUI.MenuPool.ProcessMenus()
[4/21/2020 9:35:04 PM.364] at SuperEvents.Events.CarFire.<MainLogic>b__12_0()
[4/21/2020 9:35:04 PM.364] LSPD First Response: ======================================================
[4/21/2020 9:35:04 PM.364] LSPD First Response: SuperEvents Error Report End
[4/21/2020 9:35:04 PM.364] LSPD First Response: SuperEvents: Ending Event.
[4/21/2020 9:35:06 PM.082] LSPD First Response: [TRACE] GetBackupTemplate for LocalPatrol in LosSantosCity in Cypre using SpawnsAmbiently
[4/21/2020 9:35:06 PM.093] LSPD First Response: [TRACE] Preloading POLICE2
[4/21/2020 9:35:06 PM.094] LSPD First Response: [TRACE] Preloading POLICE2
[4/21/2020 9:35:06 PM.094] LSPD First Response: [TRACE] Created police2 at X:671.2224 Y:-1746.158 Z:29.82499
[4/21/2020 9:35:06 PM.097] LSPD First Response: [TRACE] Preloading MP_F_FREEMODE_01
[4/21/2020 9:35:06 PM.103] LSPD First Response: [TRACE] New ped created mp_f_freemode_01 (PedType: 6), Agency: CityPolice ()
[4/21/2020 9:35:06 PM.109] LSPD First Response: [TRACE] Voice: s_f_y_cop_01_white_full_01
[4/21/2020 9:35:06 PM.109] LSPD First Response: [TRACE] Set them as cop, original was: FADE4843
[4/21/2020 9:35:06 PM.109] LSPD First Response: [TRACE] Jenny Sandusky (MP_F_FREEMODE_01) was set as a cop
[4/21/2020 9:35:06 PM.109] LSPD First Response: [TRACE] Set movement animations for cop: MP_F_FREEMODE_01
[4/21/2020 9:35:06 PM.109] LSPD First Response: [TRACE] New ped creation finished, Gender: Female
[4/21/2020 9:35:06 PM.109] LSPD First Response: [TRACE] Preloading MP_F_FREEMODE_01
[4/21/2020 9:35:06 PM.116] LSPD First Response: [TRACE] New ped created mp_f_freemode_01 (PedType: 6), Agency: CityPolice ()
[4/21/2020 9:35:06 PM.123] LSPD First Response: [TRACE] Voice: s_f_y_cop_01_black_full_02
[4/21/2020 9:35:06 PM.123] LSPD First Response: [TRACE] Set them as cop, original was: FADE4843
[4/21/2020 9:35:06 PM.124] LSPD First Response: [TRACE] Ashley Jones (MP_F_FREEMODE_01) was set as a cop
[4/21/2020 9:35:06 PM.124] LSPD First Response: [TRACE] Set movement animations for cop: MP_F_FREEMODE_01
[4/21/2020 9:35:06 PM.124] LSPD First Response: [TRACE] New ped creation finished, Gender: Female
[4/21/2020 9:35:06 PM.125] LSPD First Response: [TRACE] AmbientSpawn - spawned: police2
[4/21/2020 9:35:06 PM.432] LSPD First Response: [TRACE] PoolWatcher: Found new ped and set them as cop: null
[4/21/2020 9:35:06 PM.432] LSPD First Response: [TRACE] PoolWatcher: Found new ped and set them as cop: null
[4/21/2020 9:35:11 PM.358] LSPD First Response:
[4/21/2020 9:35:11 PM.358] LSPD First Response: ==============================
[4/21/2020 9:35:11 PM.358] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[4/21/2020 9:35:11 PM.358] LSPD First Response: ------------------------------
[4/21/2020 9:35:11 PM.358] LSPD First Response: Origin: Game fiber "<UNNAMED THREAD>".
[4/21/2020 9:35:11 PM.358] LSPD First Response: ------------------------------
[4/21/2020 9:35:11 PM.358] LSPD First Response: Exception type: System.AccessViolationException
[4/21/2020 9:35:11 PM.358] LSPD First Response: Exception message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
[4/21/2020 9:35:11 PM.358] LSPD First Response: ------------------------------
[4/21/2020 9:35:11 PM.358] LSPD First Response: Inner exceptions:
[4/21/2020 9:35:11 PM.358] LSPD First Response: ------------------------------
[4/21/2020 9:35:11 PM.358] LSPD First Response: Stack trace:
[4/21/2020 9:35:11 PM.358] LSPD First Response: at Rage.Native.NativeFunction.CallByAddress(IntPtr address, Type returnType, NativeArgument[] arguments)
[4/21/2020 9:35:11 PM.358] at Rage.Native.NativeFunction.CallByName(String nativeName, Type returnType, NativeArgument[] arguments)
[4/21/2020 9:35:11 PM.358] at Rage.Native.NativeFunction.CallByName[ReturnType](String nativeName, NativeArgument[] arguments)
[4/21/2020 9:35:11 PM.358] at ‌‌‪‍‍‪‎‎‍‫‌‎‫‍‮‫‌‪‌‌‎‍‬‮.‏‌‎‬‏‬‍‮‮‫‫‏‌‎‮‏‭‫‏‬‭‮(String , String , Single , Single , Single , Single , Single , Boolean , Boolean , Boolean , Boolean , Boolean )
[4/21/2020 9:35:11 PM.358] at ‌‌‪‍‍‪‎‎‍‫‌‎‫‍‮‫‌‪‌‌‎‍‬‮.‮‬‫‍‎‏‏‪‫‍‎‬‬‎‍‭‍‍‮()
[4/21/2020 9:35:11 PM.358] at ‏‮‪‬‏‍‮‏‫‭‪‌‎‌‎‬‫‬‬‮.‍‮‫‏‌‫‮‍‫‭‬‫‮‮‎‎‬‫‪‮‫‌‬‮()
[4/21/2020 9:35:11 PM.358] at Rage.GameFiber.Main()
[4/21/2020 9:35:11 PM.358] LSPD First Response: ==============================
[4/21/2020 9:35:11 PM.358] LSPD First Response:
[4/21/2020 9:35:11 PM.385] LSPD First Response: [FATAL] Forced termination

 

Edited by Jason_Ness

Rename your mods folder to _mods

You need help but aren't sure what you need to do / where you can get help? 

Official Rage Plugin Hook Discord offers instant peer to peer help for all kinds of GTA V issues, RagePluginHook issues & LSPDFR / Plugins issues. 

 

Come in, state your issue and leave playing one hell of an amazing game.

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