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.

[Developer-Oriented Feature Suggestion] LSPDFR Light Mode

Featured Replies

Greetings,

 

I would like to put forward a feature suggestion for a "light mode" for LSPDFR, oriented at plugin developers who often need to reload the mod to apply source code changes when debugging/developing new features in their packs.

 

Developers don't need apartments, character customisation, and features such as station population, and the vehicle garage whilst developing their packs. And - with this functionality, even on a beefy computer, the mod can take 15-20 seconds to load. Whilst that doesn't seem a long time, it adds up over the course of say a 3+ hour development session, where LSPDFR is reloaded anywhere between 50 to 100 times.

 

Whilst a "ReloadLspdfrPlugins" console command is likely unviable due to implications made on Game Fibers and App Domains created by running plugins, I therefore put forward a "light mode" which skips out on loading all of the character based stuff, apartment functionality, and even small things like the ability to sit on benches. All of this functionality, whilst amazing to have for end-users who play the mod and the plugins we create, not necessary for plugin development.

 

Something we could pop in the LSPDFR INI such as `Main.DevelopmentMode` or `Main.SkipLoadingNonCoreFunctionality` would be much appreciated, and I am sure would save a lot of time over the course of the many hours us creators put into plugins, as you do building the core mod itself.

 

I don't know how viable this would be, because I don't know how mod components are loaded within LSPDFR - I, after all, am not the developer. But, I thought I'd put this forward to see what you thought.


Cheers!

Max

Max Playle | (Retired-ish) Plugin Developer

🚓 Developer of Section136Callouts, using real-life policing knowledge!

📨 Please don't send me unsolicited DMs! It's quite irritating, please instead tag me in a message on my Discord Server

🙋🏻‍♂️ Here's a list of questions I am often asked. Please check them out here before asking me something! Thank you.

🦸‍♀️ Want early access, test builds and access to concept features as they're built in my plugin? Join my Early Access Club on Patreon today!

If possible - this would be a great addition to streamline future development. 

Prefer support on Discord? Want your log automatically read? Join my server to receive live support!

https://discord.gg/SJfxcAhjCF

 

Developer of Callout Pack 686 Callouts & Discord Bot 686 Utilities.

 

  • 3 months later...

I give this thumbs up. It would be nice, and perhaps things would now break as often, but

On 1/23/2023 at 1:26 AM, thatmaxplayle said:

LSPDFR is reloaded anywhere between 50 to 100 times.


That situation i cant recognize, if i have to reload 5-6 times for a feature, it is top

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

Similar Content

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.