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.

LSPDFR crash on APIExample Callout End

Featured Replies

Hello.  The title says it all.  When the example callout finishes the LSPDFR will crash.  If I am out of my vehicle I will not be able to move.

 

Also does anyone know a good place to find resources (vehicle names, ped names, etc)?  I found a complete list of vehicle names in a forum but cannot, for some reason, find that kind of information.  I have looked all over the rph site as well.  Thanks!

 

25 minutes ago, Burnrate said:

Hello.  The title says it all.  When the example callout finishes the LSPDFR will crash.  If I am out of my vehicle I will not be able to move.

 

Also does anyone know a good place to find resources (vehicle names, ped names, etc)?  I found a complete list of vehicle names in a forum but cannot, for some reason, find that kind of information.  I have looked all over the rph site as well.  Thanks!

 

Check to see what is causing the crash in the log and post it please!

As for the resources- check here: http://ragepluginhook.net/Documentation.aspx

 

 

  • Author

Here is a pastebin of the log from when the callout started to the end.
http://pastebin.com/7GTCfYFQ
It seems like the pursuit needs to be ended before the actors are removed?

I have looked through that documentation a bunch trying to find the information.  The only lists I see are the animations and the bones.  What I'm looking for is something like this with the names of all the cars you can use (http://www.se7ensins.com/forums/threads/gta-v-vehicle-hashes-list.988584/), but for everything else (I know I can browse through the rpf but it is a bit time consuming and was wondering if there might be more information already compiled and available).

Thanks :)

 

1 hour ago, Burnrate said:

Here is a pastebin of the log from when the callout started to the end.
http://pastebin.com/7GTCfYFQ
It seems like the pursuit needs to be ended before the actors are removed?

I have looked through that documentation a bunch trying to find the information.  The only lists I see are the animations and the bones.  What I'm looking for is something like this with the names of all the cars you can use (http://www.se7ensins.com/forums/threads/gta-v-vehicle-hashes-list.988584/), but for everything else (I know I can browse through the rpf but it is a bit time consuming and was wondering if there might be more information already compiled and available).

Thanks :)

 

So it looks like you're calling for the ped but the ped name is invalid.  There's a list of valid ped names here.

As for the names of the vehicles and stuff there is no database I'm aware of.  So I'd just search through x64e and use that as a car name database.

 

 

  • Author

The ped spawns and does the whole chase.  It seems to crash after the ped is arrested and dismissed or deleted.  Does the pursuit have to be ended now after the arrest but before the ped is removed?

9 minutes ago, Burnrate said:

The ped spawns and does the whole chase.  It seems to crash after the ped is arrested and dismissed or deleted.  Does the pursuit have to be ended now after the arrest but before the ped is removed?

Ah right.  So what are you calling in your End()?

If you're dismissing the ped be sure to put if (ped.Exists()) ped.Dismiss()

It seems like you're telling the game to dismiss the ped but it can't find the ped because he's been arrested/killed.

If you can post your code in a spoiler that would be more helpful, it's hard to do it without it.

 

 

  • Author
Spoiler

        public override void End()
        {
            base.End();
            Functions.SetPursuitDisableAI(pursuit, false); // this part I added and it hasn't crashed since then
            if (myBlip.Exists()) myBlip.Delete();
            if (myPed.Exists()) myPed.Dismiss(); // i've used both dismiss and delete
            if (myVehicle.Exists()) myVehicle.Dismiss(); // i've used both dismiss and delete
            
        }

This is just the End method.  It is called from the process after the if (!Functions.IsPursuitStillRunning(pursuit)).  It is just the APIExample that is posted.  I was just trying out some minor changes but since the update it has been doing this.

I did that to disable the pursuit AI because from the logs it looked like the AI was still looking for the ped after he was arrested but he had been disappeared.  Now the callout will end and the ped won't disappear; he can be brought to prison and such.  

Edited by Burnrate

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.