Hello all. Hope everyone is staying safe during this pandemic crap.
First all thanks to all for dev and maintanance of this mod and LSPDFR. Really fun stuff that I can't believe took me this long to start playing. Can thank isolation for that.
Been using pretty much stock LSPDFR 0.4.7 with the exception of using Albo's Traffic Policer (latest version with Demuth's update). I've come across an issue that whenever an ambient callout ped tries to shoot or attack me during a traffic stop, always results in a fatal exception which results in LSPDFR crashing, but not crashing the game. Always able to restart the plugin manually and play again. This does not occur if I am running vanilla LSPDFR with no plugins. The error always is "Rage.Ped is invalid." with a stack trace of "Rage.Ped.get_IsFemale()" and a origin in game fiber "TrafficStop".
Through trial and error I have found that setting "DrugsRunnersEnabled=false" in Traffic Policer.ini significantly reduced the crashing, even when ambient peds decide to shoot at me during a traffic stop, not always crashing like with drug runners enabled. Not sure why that makes a difference but it seems to. To clarify, that with drug runners enabled, its not always a drug runner shooting that will crash it, its any traffic stop ped shooting event that crashes it.
I've studied the logs and can't find anything myself other then that patterns of how it crashes but don't understand enough about coding to dig any deeper then that.
I've tried the usual; reinstalling GTA, clean installs of LSPDFR and TP, making sure antivirus is not locking down files, etc. Tried it without Demuth's update, no difference.
I'm more bug reporting then anything else, not looking for a fix necessarily, but if anyone has a fix or idea I'd be happy to try it. I've now started playing with Bejoijo’s plugins which is fine with me, but I do rather like TP and would be nice to have that in addition.
Uploaded is a example of a typical crash (this log has me starting LSPDFR manually, with the non-Demuth updated version of TP. I think it was an ownerwanted ped that tried to shoot me).
RagePluginHook - crash upon ambient ped shooting at me.log