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.

Bug report : world cleanup conflicts with ambient events

Featured Replies

Spoiler

 

 

 

Spoiler

Running ambient events will cause a crash if Player ignore the event and refresh the world before the ambient event is engine cleaned up by LSPDFR.
The reason is that there is no callout-stopping pendent-method for Ambient events.
Call-outs would be just as problematic, but the method Functions.StopCurrentCallout(); avoids the crash
A function StopCurrentAmbientEvent(); would be sufficient to avoid the crash
Crash:

[1/11/2024 7:12:13 AM.831]
Player invoke
Functions.StopCurrentCallout();//lspdfr crash when callout cleanup attemps to remove default-blips                                        
foreach (Blip b in World.GetAllBlips())//blip clean up
         if (b) b.Delete();

:
[1/11/2024 7:15:53 AM.234] LSPD First Response: [TRACE] Aborting EvadeCopsInVehicle: TaskEvadeCopsAdvInVehicle still active
:
[1/11/2024 7:23:47 AM.379] LSPD First Response: [TRACE] Aborting EvadeCops: Freeing suspect
[1/11/2024 7:23:47 AM.379] LSPD First Response: [TRACE] Aborting EvadeCopsInVehicle: Aborting main task
[1/11/2024 7:23:47 AM.379] LSPD First Response: [TRACE] TaskEvadeCopsAdvInVehicle::OnAbort
[1/11/2024 7:23:47 AM.384] LSPD First Response:
[1/11/2024 7:23:47 AM.384] LSPD First Response: ==============================
[1/11/2024 7:23:47 AM.384] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[1/11/2024 7:23:47 AM.384] LSPD First Response: ------------------------------
[1/11/2024 7:23:47 AM.384] LSPD First Response: Origin: Game fiber "<UNNAMED THREAD>".
[1/11/2024 7:23:47 AM.384] LSPD First Response: ------------------------------
[1/11/2024 7:23:47 AM.384] LSPD First Response: Exception type: Rage.Exceptions.InvalidHandleableException
[1/11/2024 7:23:47 AM.384] LSPD First Response: Exception message: Operation is not valid because the specified  Rage.Blip is invalid.

 

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

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

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.