Jump to content
alexguirre

Disable Downtown Police Station scenarios

Recommended Posts

I have a callout where I spawn cops around the police station but LSPDFR is taking my cops to create the scenarios and makes my callout crash. I tried everything I could do and now it even says it crashes on line 0, Could be added a function to disable this? Or make LSPDFR check if a cop is persistent to prevent incompatibilities with plugins/callouts?

Share this post


Link to post
Share on other sites

Could you elaborate a little on "create scenarios"? Do you mean, like using the cops for pursuits?

Since LSPDFR continuously scans for cop peds, I'd assume an option like explicitly "removing" your cop from LSPDFR is what you're after?

Share this post


Link to post
Share on other sites
8 hours ago, LMS said:

Could you elaborate a little on "create scenarios"? Do you mean, like using the cops for pursuits?

Since LSPDFR continuously scans for cop peds, I'd assume an option like explicitly "removing" your cop from LSPDFR is what you're after?

I mean that in the Downtown Police Station, LSPDFR takes the cops to make them do things like using the vending machine, smoke...

It only happened to me in that station so I suppose that's the reason, but yes, it will be nice to have that option.

EDIT: this crash also happens in other zones but more rarely.

Edited by alexguirre

Share this post


Link to post
Share on other sites
5 hours ago, alexguirre said:

I mean that in the Downtown Police Station, LSPDFR takes the cops to make them do things like using the vending machine, smoke...

It only happened to me in that station so I suppose that's the reason, but yes, it will be nice to have that option.

EDIT: this crash also happens in other zones but more rarely.

Could you post more details on the crash? I'm not really sure what LSPDFR would do to make it actually crash.

Share this post


Link to post
Share on other sites
1 hour ago, LMS said:

Could you post more details on the crash? I'm not really sure what LSPDFR would do to make it actually crash.

Crash:

Spoiler

[18/01/2016 0:30:44.568] [TRACE] Asked thread ZoomThread #5 to abort: Timeout exceeded
[18/01/2016 0:30:44.568] [TRACE] Instance cleaned (ZoomThread #5)
[18/01/2016 0:30:44.570] [TRACE] Thread ZoomThread #5 has been shut down
[18/01/2016 0:31:00.986] setting up new cop: null
[18/01/2016 0:31:00.986] [TRACE] New ped recognized as cop
[18/01/2016 0:31:00.986] setting up new cop: null
[18/01/2016 0:31:00.986] [TRACE] New ped recognized as cop
[18/01/2016 0:31:02.526] setting up new cop: null
[18/01/2016 0:31:02.526] [TRACE] New ped recognized as cop
[18/01/2016 0:31:03.033] setting up new cop: null
[18/01/2016 0:31:03.034] [TRACE] New ped recognized as cop
[18/01/2016 0:31:03.034] setting up new cop: null
[18/01/2016 0:31:03.034] [TRACE] New ped recognized as cop
[18/01/2016 0:31:03.034] setting up new cop: null
[18/01/2016 0:31:03.034] [TRACE] New ped recognized as cop
[18/01/2016 0:31:05.058] setting up new cop: null
[18/01/2016 0:31:05.058] [TRACE] New ped recognized as cop
[18/01/2016 0:31:08.178] LSPD First Response: Error while processing callout: AttackedPoliceStation: Operation is not valid because the specified  Rage.AnimationTask is invalid.   en Rage.AnimationTask.get_IsPlaying()
[18/01/2016 0:31:08.178] en WildernessCallouts.Callouts.AttackedPoliceStation.Process() en E:\Visual Studio-Projects-C#\Callouts\Callouts\Callouts\AttackedPoliceStation.cs:línea 91
[18/01/2016 0:31:08.178] en ?????????????????????????????????????????.?????????????????????????????????????????() en E:\GTA V\LSPD First Response\LSPD First Response\Mod\Callouts\CalloutManager.cs:línea 187
[18/01/2016 0:31:08.178] LSPD First Response: EndCurrentCallout: Finishing...
[18/01/2016 0:31:08.193] LSPD First Response: [Wilderness Callouts | AttackedPoliceStation] End()
[18/01/2016 0:31:08.194] [TRACE] Instance cleaned ( #1)
[18/01/2016 0:31:08.534] [TRACE] Assigned ped to PoliceStationManager #1 (Ambient)
[18/01/2016 0:31:08.535] [TRACE] Assigned ped to PoliceStationManager #1 (Ambient)
[18/01/2016 0:31:08.535] [TRACE] Assigned ped to PoliceStationManager #1 (Ambient)
[18/01/2016 0:31:08.537] [TRACE] Assigned ped to PoliceStationManager #1 (Ambient)
[18/01/2016 0:31:08.650] [TRACE] Assigned ped to PoliceStationManager #1 (Ambient)
[18/01/2016 0:31:08.687] setting up new cop: S_F_Y_Cop_01
[18/01/2016 0:31:08.687] [TRACE] New ped recognized as cop
[18/01/2016 0:31:08.687] setting up new cop: null
[18/01/2016 0:31:08.688] [TRACE] New ped recognized as cop
[18/01/2016 0:31:08.688] setting up new cop: null
[18/01/2016 0:31:08.688] [TRACE] New ped recognized as cop
[18/01/2016 0:31:08.688] setting up new cop: null

RagePluginHook_17012016_232621.log

 

 

Can be possible that LSPDFR  deletes all the peds inside the Downtown Police Station? After trying it more times and changing code to prevent some crashes I saw that the suspects and cops that spawned in the station weren't there, probably that's the cause. Where the crash occured it checks if the cops spawned inside playing an injured animation have stopped playing it and make them run towards a vehicle outside.

Edited by alexguirre

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×