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.

prevent crashes from pursuit

Featured Replies

Spoiler

PD First Response: ==============================
[12/28/2020 6:12:05 PM.760] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[12/28/2020 6:12:05 PM.760] LSPD First Response: ------------------------------
[12/28/2020 6:12:05 PM.760] LSPD First Response: Origin: Game fiber "<UNNAMED THREAD>".
[12/28/2020 6:12:05 PM.760] LSPD First Response: ------------------------------
[12/28/2020 6:12:05 PM.760] LSPD First Response: Exception type: Rage.Exceptions.InvalidHandleableException
[12/28/2020 6:12:05 PM.760] LSPD First Response: Exception message: Operation is not valid because the specified  Rage.Ped is invalid.
[12/28/2020 6:12:05 PM.760] LSPD First Response: ------------------------------
[12/28/2020 6:12:05 PM.760] LSPD First Response: Inner exceptions:
[12/28/2020 6:12:05 PM.760] LSPD First Response: ------------------------------
[12/28/2020 6:12:05 PM.760] LSPD First Response: Stack trace:
[12/28/2020 6:12:05 PM.761] LSPD First Response: at Rage.Entity.get_IsDead()
[12/28/2020 6:12:05 PM.761] at Rage.Entity.get_IsAlive()
[12/28/2020 6:12:05 PM.761] at pLlnWskAnTiinjaDarUsNVnqZGvD.AxPipbRAzLbVOUOPzLhtNlXHdqFBA.IMFaRScMRfhQwFjwULTfCUxWbolC(Ped )
[12/28/2020 6:12:05 PM.761] at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
[12/28/2020 6:12:05 PM.761] at pLlnWskAnTiinjaDarUsNVnqZGvD.SseafTcHYBQWpnapTCNsGbYPatzbb() in C:\Users\April\Documents\source\repos\LSPDFR\LSPD First Response\Engine\Scripting\Chase.cs:line 375
[12/28/2020 6:12:05 PM.761] at WEazBBNIlYtcIOHrRrNAEueZuGlh.SseafTcHYBQWpnapTCNsGbYPatzbb() in C:\Users\April\Documents\source\repos\LSPDFR\LSPD First Response\Engine\Main.cs:line 54
[12/28/2020 6:12:05 PM.761] at NRvdRjwkXToTgwrnzGEYOJggHUwc.ziqYTDJGzAJSdekrBbSTEZgvvsLE() in C:\Users\April\Documents\source\repos\LSPDFR\LSPD First Response\Mod\LSPDFR.cs:line 799
[12/28/2020 6:12:05 PM.761] at Rage.GameFiber.Main()
[12/28/2020 6:12:05 PM.761] LSPD First Response: ==============================



Sometimes entitys can get invalid.

If so lspdfr can crash like this.
is there a way to prevent crashes when entitys just get invalid.

Edited by ziipzaaapM16A4

Take a look at my Plugins:

AmbientAICallouts: Ai get calls too. Callouts can turn into a backup request for the player [YouTube Link]

Search Vehicle Plugin: Simple and more Immersive Vehicle Search Plugin [YouTube Link]

What Was You Name Again?: Get the name of a Suspect even when arrested and placed in your Vehicle [YouTube Link]
Corpse Inspection:  Investigate the corpse. Interact and search for details in a more Cinematic way  [YouTube Link]
[WIP] EnvoirementalCallouts: A couple of Callouts and WorldEvents that are likely to happen to you while you're on duty [Youtube Link]

[OnHold] EMS Support: Be the First Responder of Medical Emergency's and do CPR on Patients [YouTube Link]

 

spacer.png

Checkout my Patreon for Early Access to my mods                                       checkout my Discord Server

  • Author
1 hour ago, Matteov2.0 said:

I don't know if that's what you mean or if it can be useful, but have you tried to declare if the entity is invalid then end the callout?

Using:


if (!Entity.IsValid()) return false;

 

no its about preventing lspdfr from crashing.  lspdfr checks the entity and crashes if the entity isn't valid anymore. take a look at the spoiler

Take a look at my Plugins:

AmbientAICallouts: Ai get calls too. Callouts can turn into a backup request for the player [YouTube Link]

Search Vehicle Plugin: Simple and more Immersive Vehicle Search Plugin [YouTube Link]

What Was You Name Again?: Get the name of a Suspect even when arrested and placed in your Vehicle [YouTube Link]
Corpse Inspection:  Investigate the corpse. Interact and search for details in a more Cinematic way  [YouTube Link]
[WIP] EnvoirementalCallouts: A couple of Callouts and WorldEvents that are likely to happen to you while you're on duty [Youtube Link]

[OnHold] EMS Support: Be the First Responder of Medical Emergency's and do CPR on Patients [YouTube Link]

 

spacer.png

Checkout my Patreon for Early Access to my mods                                       checkout my Discord Server

  • Author
25 minutes ago, Matteov2.0 said:

I don't know otherwise. I don't think a crash can be prevented in that case. Does it happen often?
I'll try it to see if it gives me the same result

sometimes. it never happend to me but some others.

Take a look at my Plugins:

AmbientAICallouts: Ai get calls too. Callouts can turn into a backup request for the player [YouTube Link]

Search Vehicle Plugin: Simple and more Immersive Vehicle Search Plugin [YouTube Link]

What Was You Name Again?: Get the name of a Suspect even when arrested and placed in your Vehicle [YouTube Link]
Corpse Inspection:  Investigate the corpse. Interact and search for details in a more Cinematic way  [YouTube Link]
[WIP] EnvoirementalCallouts: A couple of Callouts and WorldEvents that are likely to happen to you while you're on duty [Youtube Link]

[OnHold] EMS Support: Be the First Responder of Medical Emergency's and do CPR on Patients [YouTube Link]

 

spacer.png

Checkout my Patreon for Early Access to my mods                                       checkout my Discord Server

  • Author
5 hours ago, Matteov2.0 said:

If this happened to other users, could it be that they installed bad mods?!

can't tell.  but it enough for me if you tell me that lspdfr usually handles invalid peds. @LMS if so case closed

Take a look at my Plugins:

AmbientAICallouts: Ai get calls too. Callouts can turn into a backup request for the player [YouTube Link]

Search Vehicle Plugin: Simple and more Immersive Vehicle Search Plugin [YouTube Link]

What Was You Name Again?: Get the name of a Suspect even when arrested and placed in your Vehicle [YouTube Link]
Corpse Inspection:  Investigate the corpse. Interact and search for details in a more Cinematic way  [YouTube Link]
[WIP] EnvoirementalCallouts: A couple of Callouts and WorldEvents that are likely to happen to you while you're on duty [Youtube Link]

[OnHold] EMS Support: Be the First Responder of Medical Emergency's and do CPR on Patients [YouTube Link]

 

spacer.png

Checkout my Patreon for Early Access to my mods                                       checkout my Discord Server

  • The title was changed to prevent crashes from pursuit
  • 6 months later...

Wondering if this is still ongoing? It has been my theory as well that invalid peds are causing crashes... 1000s of threads all over net regarding constant crashing especially during pursuits. This is the first thread I've seen someone come to same conclusion as me about invalid peds as everyone writes crashes off to bad mods it seems and looks no further. Been testing many mods for past 6 months and i keep circling back to this invalid ped thing, and also perhaps combined with what seems to be a memory leak glitch within GTA V (Rockstar issue). Mostly just wondering if anyone is making headway or even working towards the invalid ped issue. Can we script in to ignore the invalid peds, or perhaps retry spawning required ped until a valid one is found? I dunno myself, spit-balling mostly. Thanks to anyone that has insights.

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.