Jump to content

Functions.AddPedToPursuit causes NotImplementedException


Faya

Recommended Posts

Doesn't do anything in-game, just logs it.

 

I narrowed it down to 1 line, which is Functions.AddPedToPursuit

I also use try and catch blocks

 

I don't see why exceptions where thrown, if someone knows why that would help alot.

 

Code in the method:

Spoiler

image.png.4f60832c28d32287ca6fa4ddcb52cf09.png

 

Logs from callout creation to exception

Spoiler
Spoiler

[1/4/2022 5:13:16 PM.908] LSPD First Response: Creating Trespassing from EmergencyCallouts.Callouts.Trespassing, Emergency Callouts, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null
[1/4/2022 5:13:16 PM.912] LSPD First Response: [TRACE] Callout created:  #1
[1/4/2022 5:13:16 PM.941] LSPD First Response: GetAudioFileForAction: No file found for: STREET_LITTLE_BIGHORN_AVE
[1/4/2022 5:13:22 PM.116] LSPD First Response: [TRACE] Preloading POLICE2
[1/4/2022 5:13:22 PM.117] LSPD First Response: [TRACE] Preloading MP_M_FREEMODE_01
[1/4/2022 5:13:22 PM.133] LSPD First Response: [TRACE] Preloading POLICE2
[1/4/2022 5:13:22 PM.134] LSPD First Response: [TRACE] Created police2 at X:408.1991 Y:-693.9899 Z:30.24376
[1/4/2022 5:13:22 PM.146] LSPD First Response: [TRACE] Preloading MP_M_FREEMODE_01
[1/4/2022 5:13:22 PM.151] LSPD First Response: [TRACE] New ped created mp_m_freemode_01 (PedType: 6), Agency: CityPolice ()
[1/4/2022 5:13:22 PM.181] LSPD First Response: [TRACE] Luke Kearney (MP_M_FREEMODE_01) was set as a cop
[1/4/2022 5:13:22 PM.195] LSPD First Response: [TRACE] Preloading MP_M_FREEMODE_01
[1/4/2022 5:13:22 PM.201] LSPD First Response: [TRACE] New ped created mp_m_freemode_01 (PedType: 6), Agency: CityPolice ()
[1/4/2022 5:13:22 PM.206] LSPD First Response: [TRACE] John Mills (MP_M_FREEMODE_01) was set as a cop
[1/4/2022 5:13:22 PM.219] LSPD First Response: [TRACE] AmbientSpawn - spawned: police2
[1/4/2022 5:13:22 PM.692] LSPD First Response: [Emergency Callouts]: Created callout (Trespassing, Scenario 4)
[1/4/2022 5:13:22 PM.706] LSPD First Response: [Emergency Callouts]: Enabled route to EntranceBlip
[1/4/2022 5:13:22 PM.706] LSPD First Response: [Emergency Callouts]: Created Suspect (A_M_Y_GENSTREET_02) at X:491.9123 Y:-554.114 Z:24.7505
[1/4/2022 5:13:22 PM.707] LSPD First Response: [TRACE] Cleaning UI
[1/4/2022 5:13:22 PM.713] LSPD First Response: [TRACE] User accepted callout
[1/4/2022 5:13:23 PM.928] LSPD First Response: [Emergency Callouts]: Sarah Leney has arrived on scene
[1/4/2022 5:13:32 PM.411] LSPD First Response: [Emergency Callouts]: Deleted suspect's blip
[1/4/2022 5:13:32 PM.411] LSPD First Response: [Emergency Callouts]: Deleted search area
[1/4/2022 5:13:32 PM.411] LSPD First Response: [Emergency Callouts]: Deleted entrance blip
[1/4/2022 5:13:32 PM.412] LSPD First Response: [Emergency Callouts]: Deleted welding device
[1/4/2022 5:13:32 PM.414] LSPD First Response: [TRACE] Created new chase
[1/4/2022 5:13:32 PM.416] LSPD First Response: [TRACE] Assigned ped to Chase #1 (GameplayMandatory)
[1/4/2022 5:13:32 PM.416] LSPD First Response: [TRACE] Took ownership of suspect for chase
[1/4/2022 5:13:32 PM.434] LSPD First Response: [TRACE] Suspect added to chase
[1/4/2022 5:13:32 PM.438] LSPD First Response: [TRACE] Pursuit menu was reset.
[1/4/2022 5:13:32 PM.453] LSPD First Response: [TRACE] Starting chase
[1/4/2022 5:13:32 PM.520] LSPD First Response: [TRACE] [CONSOLE] System.NotImplementedException: The method or operation is not implemented.
[1/4/2022 5:13:32 PM.520] at URRDGqMvFOidcFakHyimLHmcbhdd.cFcRViJsFUmecNSxsFXuAgJwlBGDA(euELAQbBVMLILAUBcwaDbxddZuSD ) in E:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\AI\Cooldown.cs:line 48
[1/4/2022 5:13:32 PM.520] at FRYhBQrHnWxVBzTmACeqOdiShPYT.yLkXYdxPoSBgEnQQZYjOlZKxTBlH(euELAQbBVMLILAUBcwaDbxddZuSD )
[1/4/2022 5:13:32 PM.520] at TsGIfdbGbefWmuUUOFGCjRXnVTPj.cFcRViJsFUmecNSxsFXuAgJwlBGDA(euELAQbBVMLILAUBcwaDbxddZuSD ) in E:\GTA V\LSPD First Response\LSPD First Response\Mod\BackupManager.cs:line 848
[1/4/2022 5:13:32 PM.521] LSPD First Response: [TRACE] [CONSOLE] System.NotImplementedException: The method or operation is not implemented.
[1/4/2022 5:13:32 PM.521] at DxTEJmoyPdmTUNbPpKcFeRFdofju.cFcRViJsFUmecNSxsFXuAgJwlBGDA(euELAQbBVMLILAUBcwaDbxddZuSD ) in E:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\AI\CooldownFail.cs:line 48
[1/4/2022 5:13:32 PM.521] at FRYhBQrHnWxVBzTmACeqOdiShPYT.yLkXYdxPoSBgEnQQZYjOlZKxTBlH(euELAQbBVMLILAUBcwaDbxddZuSD )
[1/4/2022 5:13:32 PM.521] at XRNzteDpTzChwBCQLlSHzaiikhLq.cFcRViJsFUmecNSxsFXuAgJwlBGDA(euELAQbBVMLILAUBcwaDbxddZuSD ) in E:\GTA V\LSPD First Response\LSPD First Response\Mod\BackupManager.cs:line 772
[1/4/2022 5:13:32 PM.545] LSPD First Response: [TRACE] Assigned ped to Chase #1 (GameplayMandatory)
[1/4/2022 5:13:32 PM.545] LSPD First Response: [TRACE] Took ownership of cop for chase
[1/4/2022 5:13:32 PM.570] LSPD First Response: [TRACE] Cop Luke Kearney reassigned to Luke Kearney
[1/4/2022 5:13:32 PM.573] LSPD First Response: [TRACE] Cop added to chase
[1/4/2022 5:13:32 PM.573] LSPD First Response: [TRACE] Assigned ped to Chase #1 (GameplayMandatory)
[1/4/2022 5:13:32 PM.573] LSPD First Response: [TRACE] Took ownership of cop for chase
[1/4/2022 5:13:32 PM.573] LSPD First Response: [TRACE] Cop John Mills reassigned to Luke Kearney
[1/4/2022 5:13:32 PM.574] LSPD First Response: [TRACE] Cop added to chase
[1/4/2022 5:13:32 PM.575] LSPD First Response: [TRACE] Luke Kearney now monitoring Luke Kearney
[1/4/2022 5:13:32 PM.575] LSPD First Response: [TRACE] John Mills now monitoring Luke Kearney
[1/4/2022 5:13:32 PM.575] LSPD First Response: [TRACE] Player now monitoring Luke Kearney
[1/4/2022 5:13:33 PM.936] LSPD First Response: [TRACE] [CONSOLE] System.NullReferenceException: Object reference not set to an instance of an object.
[1/4/2022 5:13:33 PM.936] at QJWiexFQIrgXAXBurOUXoqXfqDls.xBixfAtetifnJIqsaajXXZLWYOlz() in E:\GTA V\LSPD First Response\LSPD First Response\Engine\Scripting\Tasks\TaskCopChasePedAdv.cs:line 1650
[1/4/2022 5:13:33 PM.936] at skvaAoFsNjFnmfJaMILxjNGKFTJd.cFcRViJsFUmecNSxsFXuAgJwlBGDA(euELAQbBVMLILAUBcwaDbxddZuSD )
[1/4/2022 5:13:33 PM.947] LSPD First Response: [Emergency Callouts]: Sarah Leney has found Luke Kearney (Suspect)
[1/4/2022 5:13:34 PM.608] LSPD First Response: [TRACE] Probing 2 cops
[1/4/2022 5:13:34 PM.610] LSPD First Response: [TRACE] We found a cop eligible to switch, importance: 2
[1/4/2022 5:13:34 PM.611] LSPD First Response: [WARN] DistributeCops: Assigned to same suspect, skipping
[1/4/2022 5:13:34 PM.657] LSPD First Response: [TRACE] Invoking PedGainedVisual
[1/4/2022 5:13:35 PM.633] LSPD First Response: [TRACE] Probing 2 cops
[1/4/2022 5:13:35 PM.633] LSPD First Response: [TRACE] We found a cop eligible to switch, importance: 2
[1/4/2022 5:13:35 PM.633] LSPD First Response: [WARN] DistributeCops: Assigned to same suspect, skipping
[1/4/2022 5:13:35 PM.662] LSPD First Response: [TRACE] InvokePedRegainedVisualOfSuspectEvent
[1/4/2022 5:13:35 PM.663] LSPD First Response: [TRACE] Visual regained event fired
[1/4/2022 5:13:37 PM.801] LSPD First Response: [TRACE] Luke Kearney (MP_M_FREEMODE_01) entered combat with target: Luke Kearney (A_M_Y_GENSTREET_02)
[1/4/2022 5:13:37 PM.965] LSPD First Response: [TRACE] Visual lost event fired
[1/4/2022 5:13:37 PM.975] LSPD First Response: [TRACE] Probing 2 cops
[1/4/2022 5:13:37 PM.975] LSPD First Response: [TRACE] We found a cop eligible to switch, importance: 2
[1/4/2022 5:13:37 PM.975] LSPD First Response: [WARN] DistributeCops: Assigned to same suspect, skipping
[1/4/2022 5:13:38 PM.381] LSPD First Response: [TRACE] John Mills (MP_M_FREEMODE_01) entered combat with target: Luke Kearney (A_M_Y_GENSTREET_02)
[1/4/2022 5:13:38 PM.973] LSPD First Response: [TRACE] InvokePedRegainedVisualOfSuspectEvent
[1/4/2022 5:13:38 PM.973] LSPD First Response: [TRACE] Visual regained event fired
[1/4/2022 5:13:39 PM.039] LSPD First Response: [TRACE] Probing 2 cops
[1/4/2022 5:13:39 PM.039] LSPD First Response: [TRACE] We found a cop eligible to switch, importance: 2
[1/4/2022 5:13:39 PM.039] LSPD First Response: [WARN] DistributeCops: Assigned to same suspect, skipping
[1/4/2022 5:13:39 PM.394] LSPD First Response: [TRACE] John Mills (MP_M_FREEMODE_01) left combat.

 

Edited by Faya

🇳🇱

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...