Jump to content

LSPersistenceD 5 - Sleekly Smart Persistence! v0.3a

   (1 review)

1 Screenshot

About

Tired of peds just vanishing after they're dead? Or how about vehicles after your suspect has fled? Scene managing itself before the corner and tow truck arrives? Delete your can of R-P-Gone with LSPD5! Boasting internal memory management, SMART Persistence, and an API to boot, this is the only persistence mod you'll ever need, for all your policing needs!

 

FAQ

Q: Where'd all the traffic and people go?

A: I don't know! Please report back so I can find out for you.

 

Q: Why are there sometimes abandoned cars in the middle of the road?

 A: Usually this means a crime was committed and the Ped should be nearby.

 

Q: Why does it say something about "Improperly licensed" and "disabled"?

A: You're using an out of date version with the old licensing features. Update your LSPD5!

 

Q: Is the plugin disabled if I don't read the info file? 

A: Nope! Not as of v0.2a.

 

Features

- Peds (shouldn't) walk off after being revived (BETA)

- SMART vehicle and ped persistence, with NO performance drop!

- API to prevent mod collisions

 

Known Bugs

- GTA V sometimes spawns vehicles before it spawns drivers for them. This can cause LSPD5 to unnecessarily persist vehicles when left idle for long periods (hours).

- Crash in certain game environments

- Incompatible with StopThePed. Fix coming soon!

 

BOLO's

- API Errors/unresponsiveness

- Crashes while LSPD5 is loaded

- Reductions in natural foot and vehicle traffic

- Entities not persisting as long you'd expect

- Entities not persisting at all

 

 

Technical Speak
 

Spoiler

 

- The API is largely untested. This is through my own laziness, but on paper, it works!

- There are no known incompatibilities with LSPD5, BUT there are likely many due to all mods handling persistence differently. Check your code, and report back!

- The Smart Persistence feature can be overreaching, and thus includes built-in entity (resource) management. Having only myself to test it, there may be a need to add limits, or more rules to qualify for ongoing persistence in order to prevent reductions in natural traffic presence.

- LSPD5 does not delete any entities. Ever. It also can recover from unexpected entity deletions.

- There is no configuration to be had, however, if there is demand, I will supply.

- When using population density altering mods, LSPD5 can change your gameplay unpredictably. That's not to say you're out of luck... You aren't! Report back for support, and I will make an attempt to cater to such mods.

 

 


What's New in Version v0.3a

Released

Spoiler

v0.3a (CRITICAL)

[FEATURE]     Removed licensing
[BUGFIX]      Fixed improper tick delays
[BUGFIX]      Fixed potential crash
[BUGFIX]      Fixed all the cars being persistent

 

v0.2a (DEAD)

[BUGFIX]      Added proper support URL

[BUGFIX]      Removed infinite persistence
[BUGFIX]      API not properly ignoring vehicles
[BUGFIX]      Disabled vehicle persistence from single-time paintscrapes
[FEATURE]     Increased ped persistence time from 3 minutes to 20 minutes

[FEATURE]     Added more API indicators
[FEATURE]     Added better API documentation

[FEATURE]     No EMS criminal walkaway (BETA! Still tampering with animations in development)
[FEATURE]     Altered licensing to be passive instead of aggressive
[PERFORMANCE] Eliminated network usage
[PERFORMANCE] Massively improved code quality
[STABILITY]   Increased mod reliability
[STABILITY]   Decreased memory usage
[NOTE]        Minimum persistent vehicle time is 3 minutes to prevent 'chaos stacking' (chaining vehicles beyond internal cap)

 

x otikoruk x, LSPDFR Team, RagePluginHook Team



User Feedback

Recommended Comments





Q: Why does it say something about "Improperly licensed" and "disabled"?

A: LSPD5 strongly encourages reading the attached Readme (LSPD5.info). This process involves you reading, and then altering the file to acknowledge that you've read the file. So... Read the file!

 

What is the purpose of this, exactly?

Share this comment


Link to comment
Share on other sites

w0w i wanted a mod like that.I missed entity persistence..I will give it a test thnx

Share this comment


Link to comment
Share on other sites
1 hour ago, Ezra said:

What is the purpose of this [licensing feature], exactly?

It's a personal test to see if the "terms and conditions" diminishes support requests, or just user installs. Chances are that it will be removed pre-version 1.0.

Edited by x otikoruk x

Share this comment


Link to comment
Share on other sites
2 minutes ago, x otikoruk x said:

It's a personal test to see if the "terms and conditions" diminishes support requests, or just user installs. Chances are that it will be removed pre-version 1.0.

 

For the "disabled" portion, does that mean the plugin is disabled if they haven't edited it?

Share this comment


Link to comment
Share on other sites
9 minutes ago, Ezra said:

For the "disabled" portion, does that mean the plugin is disabled if they haven't edited it?

Yes. It's a simple change from "I do NOT Agree" to "I Agree".  I'm considering changing it from disabled to limited, though. 

 

E: Updated OP to clarify. I should've asked sooner, but is there guidelines regarding such features in place? 

Edited by x otikoruk x

Share this comment


Link to comment
Share on other sites

@x otikoruk 

I'm sorry but I didn't understand very well what this mod does. Does it solve the problem of shot suspects going away after being saved by EMS?

Edited by Canelo

Share this comment


Link to comment
Share on other sites
18 minutes ago, Canelo said:

@x otikoruk 

I'm sorry but I didn't understand very well what this mod does. Does it solve the problem of shot suspects going away after being saved by EMS? 

This mod causes vehicles and pedestrians that are injured or dead to not be automatically removed from the game world. For instance, your suspect crashes his car and flees a large distance. You shoot him dead. No matter where you go, his vehicle and corpse won't go anywhere. This means that you can call a corner on the corpse, go back to the car and call a tow truck , and they'll do their magic regardless of where you are on the map. 

 

As for the EMS issue, This is the first I've heard of it. If you're willing to link me to the mod, and further describe how to reproduce the issue, I'm more than happy to make an attempt to 'fix' it! 

 

E: By 'going away', do you mean walking off, or disappearing? 

Edited by x otikoruk x

Share this comment


Link to comment
Share on other sites
19 minutes ago, x otikoruk x said:

This mod causes vehicles and pedestrians that are injured or dead to not be automatically removed from the game world. For instance, your suspect crashes his car and flees a large distance. You shoot him dead. No matter where you go, his vehicle and corpse won't go anywhere. This means that you can call a corner on the corpse, go back to the car and call a tow truck , and they'll do their magic regardless of where you are on the map. 

 

As for the EMS issue, This is the first I've heard of it. If you're willing to link me to the mod, and further describe how to reproduce the issue, I'm more than happy to make an attempt to 'fix' it! 

 

E: By 'going away', do you mean walking off, or disappearing? 

Thanks, now I understand!

 

Talking about the EMS issue, this is what happens:

1. You call EMS via Ultimate Backup/Default LSPDFR backup/Police Radio for a suspect shot down

2. They revive them.

3. As soon as they are revived, they just walk away, like if nothing had happened before. Sometimes suspect even disappears and that's it.

 

It's a silly situation but ruins up all the police work, because therefore you can't arrest them and all that stuff.

Edited by Canelo

Share this comment


Link to comment
Share on other sites
29 minutes ago, Canelo said:

Thanks, now I understand!

 

Talking about the EMS issue, this is what happens:

1. You call EMS via Ultimate Backup/Default LSPDFR backup/Police Radio for a suspect shot down

2. They revive them.

3. As soon as they are revived, they just walk away, like if nothing had happened before. Sometimes suspect even disappears and that's it.

 

It's a silly situation but ruins up all the police work, because therefore you can't arrest them and all that stuff.

Thanks! When I can replicate this issue, I'll have a fix out shortly.

Share this comment


Link to comment
Share on other sites
4 hours ago, x otikoruk x said:

Thanks! When I can replicate this issue, I'll have a fix out shortly.

I have this same issue and it makes me not want to call EMS because the suspect will basically get to walk away free.

Share this comment


Link to comment
Share on other sites

Too many bugs at the moment with peds and vehicles just disappearing. Could be a different mod but i doubt it.

Share this comment


Link to comment
Share on other sites

I'm not 100% sure it's caused by your mod, but I think I found a bug.

I was in a WANTED SUSPECT PURSUIT with a Bison having 6 occupants (4 inside, 2 sitting in the back) and after a perfectly executed PIT manoeuvre, they gave up. I let the pursuing officers (AI) take them all out of the truck one by one and they kept arresting them over and over and for a good 5 minutes. Then when STOP THE PED finally took over the arrests, one of the dudes just jumped back behind the wheel, still handcuffed, and proceeded to mow down all the officers and get away...

My theory is that since they were persistant, stop the ped or LSPDFR couldn't get a hold of them and register them as arrested.

all that was missing, was the Benny Hill song. 😛

https://gaming.youtube.com/watch?v=ys1qmbk4o_E

Share this comment


Link to comment
Share on other sites
2 hours ago, JKL409 said:

Too many bugs at the moment with peds and vehicles just disappearing. Could be a different mod but i doubt it.

What mods are installed, currently? LSPD5 doesn't delete entities, can you describe their state when they disappear (ex. Handcuffed ped, damaged vehicle, were callouts active, etc) , or provide your Rage logs from that game session?

 

 

1 hour ago, GabLeGamer said:

I'm not 100% sure it's caused by your mod, but I think I found a bug.

I was in a WANTED SUSPECT PURSUIT with a Bison having 6 occupants (4 inside, 2 sitting in the back) and after a perfectly executed PIT manoeuvre, they gave up. I let the pursuing officers (AI) take them all out of the truck one by one and they kept arresting them over and over and for a good 5 minutes. Then when STOP THE PED finally took over the arrests, one of the dudes just jumped back behind the wheel, still handcuffed, and proceeded to mow down all the officers and get away...

My theory is that since they were persistant, stop the ped or LSPDFR couldn't get a hold of them and register them as arrested.

all that was missing, was the Benny Hill song. 😛

https://gaming.youtube.com/watch?v=ys1qmbk4o_E

Hilarious! But, this is obviously unintentional. Would you be willing to upload your Rage logs from that game session and an installed mod list?

Share this comment


Link to comment
Share on other sites
1 hour ago, x otikoruk x said:

Hilarious! But, this is obviously unintentional. Would you be willing to upload your Rage logs from that game session and an installed mod list?


I've played since that happened, I've been testing stuff all day getting ready to stream, if It happens again i'll be sure to do so.

Share this comment


Link to comment
Share on other sites
16 minutes ago, GabLeGamer said:


I've played since that happened, I've been testing stuff all day getting ready to stream, if It happens again i'll be sure to do so.

Rage saves old logs in the folder "./Grand Theft Auto 5/Logs". If you can't reproduce it, I can sift through those should you be willing to upload them.

Share this comment


Link to comment
Share on other sites

here you go, old version didn't crash, the new version did this, i was on a traffic stop when it happened, a callout popped and soon as the callout popped i didnt accept the callout but the plugin crashed.  here is the log of it.

 

Spoiler

[3/11/2019 6:19:19 AM.702] LSPersistenceD5: 
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ==============================
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ------------------------------
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Origin: Game fiber "Plugin "LSPersistenceD5" main fiber".
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ------------------------------
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Exception type: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Exception message: Cannot convert null to 'bool' because it is a non-nullable value type
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ------------------------------
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Inner exceptions:
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ------------------------------
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Stack trace:
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: at CallSite.Target(Closure , CallSite , Object )
[3/11/2019 6:19:19 AM.702] at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
[3/11/2019 6:19:19 AM.702] at LSPersistenceD5.Entrypoint.Main()
[3/11/2019 6:19:19 AM.702] at Rage.GameFiber.Main()
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ==============================
[3/11/2019 6:19:19 AM.703] LSPersistenceD5: 

 

 

 

Share this comment


Link to comment
Share on other sites

definitely put the old one back up...it didnt delete shit but at least it would run the whole time...this one crashes very quickly and cannot be reloaded...

Share this comment


Link to comment
Share on other sites
2 hours ago, Unit 21 said:

here you go, old version didn't crash, the new version did this, i was on a traffic stop when it happened, a callout popped and soon as the callout popped i didnt accept the callout but the plugin crashed.  here is the log of it.

 

  Reveal hidden contents

[3/11/2019 6:19:19 AM.702] LSPersistenceD5: 
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ==============================
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ------------------------------
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Origin: Game fiber "Plugin "LSPersistenceD5" main fiber".
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ------------------------------
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Exception type: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Exception message: Cannot convert null to 'bool' because it is a non-nullable value type
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ------------------------------
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Inner exceptions:
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ------------------------------
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: Stack trace:
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: at CallSite.Target(Closure , CallSite , Object )
[3/11/2019 6:19:19 AM.702] at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
[3/11/2019 6:19:19 AM.702] at LSPersistenceD5.Entrypoint.Main()
[3/11/2019 6:19:19 AM.702] at Rage.GameFiber.Main()
[3/11/2019 6:19:19 AM.702] LSPersistenceD5: ==============================
[3/11/2019 6:19:19 AM.703] LSPersistenceD5: 

 

 

 

I am unable to replicate this error. Can you walk me through step by step what you did shortly before the crash?

Share this comment


Link to comment
Share on other sites

I have a problem with this mod, when i arrest the suspect, they ran away and steal my police cruiser. I unistalled this mod and the problem is now gone

Share this comment


Link to comment
Share on other sites
On 3/18/2019 at 8:23 PM, IrfanPlayz said:

I have a problem with this mod, when i arrest the suspect, they ran away and steal my police cruiser. I unistalled this mod and the problem is now gone

Thanks! I'll add it to my to-do list.

 

May I ask what all other mods you have installed? One may be incompatible. 

Edited by x otikoruk x

Share this comment


Link to comment
Share on other sites
2 minutes ago, x otikoruk x said:

Thanks! I'll add it to my to-do list.

 

May I ask what all other mods you have installed? One may be incompatible. 

I have stop the ped installed, i heard that this mod is not compatible with stop the ped

Share this comment


Link to comment
Share on other sites

I too can confirm that LSPersistenceD5 conflicts with STOP THE PED. If an arrest is made using that plugin, the state of the PED foregoing is very buggy. The main example is what IrfanPlayz is referring to, where an arrested ped is put that's in the back of your police cruiser using STP NativeUI menu's will jump out as if they aren't cuffed as soon as you get into the driver's seat. The ped will then either sprint away or even more likely, attempt to steal your vehicle. Occurrences like this seem to happen most frequently when the Ped is a bit more hostile, usually after callouts rather than a random traffic stop. I've even gotten to the point where almost every single Ped was jumping out from my vehicle (like close to 80%). Oddly enough, the Ped seems to only be able to jump out once, after that they tend to remain in the vehicle.

 

 By disabling LSPersistenceD5, the problem goes away entirely and cuffed peds using STOP THE PED act as they should, not being able to jump back out and all. 

 

If I had to guess, it's something to do with the state of the ped being written by LSPD5 and then altered by STP but not properly communicated back to LSPD5.

Edited by Jakov

Share this comment


Link to comment
Share on other sites

Think before you post. Toxic behavior will not be tolerated. Unconstructive, toxic or unnecessarily sarcastic comments will be removed and warnings issued.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

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