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.

Callout "Traffic Backup"

Backup Callout Direction Vote 174 members have voted

  1. 1. What to work on next?

    • More felony out comes from the stop
      12%
    • Add normal traffic stops (ran red light, lights out, failure to yield)
      41%
    • Improve stability I'm still having issues!
      21%
    • Add more spawn areas for the callout
      23%

Please sign in or register to vote in this poll.

Featured Replies

  • Replies 173
  • Views 24.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • GREAT!  Im excited to hear that and it saves me time.  I mean I suspected this - but the next release is going to be geared towards ONLY 1.1 - I'm going to keep the older versions posted for people th

  • Ok so I've completed 3 situations.   1 ) he does peacefully - sometimes the officer waits for even more backup before approaching (if he refuses to drop his fire arm if he has one) 2 ) he decides he

  • Backup 0.95 released!  Grab it before everyone burns me alive for making their games crash and I pull it back down!  ;)   '?do=embed' frameborder='0' data-embedContent>>

  • Author

1.10 is more stable, has city and state police calls.  City calls are currently only in the BROKER / DUKES area.  This weekend I'll be trying to blanket at least 80% of the map to finish that out.

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

I havent tried the highway and city update yet.When i used version 1.09 and got the callout, when i arrived on scene there was no cop and the perp was out of the car.When i arrested him the radar was still green and then it crashed shortly after. That was the only utime i was able to respond to that without crashing right away

Edited by Bem18

  • Author

I havent tried the highway and city update yet.When i used version 1.09 and got the callout, when i arrived on scene there was no cop and the perp was out of the car.When i arrested him the radar was still green and then it crashed shortly after. That was the only utime i was able to respond to that without crashing right away

Yea I've improved on this a lot - if it doesn't spawn well, it will abort.  I've also reduced the spawn range because of this - and thats seemed to help a lot of users.

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

I take it there's no spawn places in Alderney? It's a pity( Otherwise a great mod, and I really love the locations where you've placed the vehicles. I've never seen yet a traffic stop with a truck (they're much more frequent in my country than with cars), how does the call choose vehicles?

Its a relatively simple and effective script. Seems to have a few minor bugs with the call out text but overall an awesome idea that a lot of people have been looking for. Well done.. 


Had a script related crash when i accepted the callout. The callout did not start, caused an LCPDFR error and no cars or peds were spawned from what I can tell. The game itself did not crash but I had to reload scripts and restart LCPDFR. This was on the LCPDFR log, hope it helps refine your script.

 

[ERROR - 8:30:50 AM] [PluginManager] Unhandled exception caught while processing plugin: Main. Plugin will no longer be executed.
[ERROR - 8:30:50 AM] [Plugin.Main] System.NullReferenceException: Object reference not set to an instance of an object.
   at .() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCalloutManager.cs:line 169
   at LCPD_First_Response.LCPDFR.Main.Process() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRMain.cs:line 255
   at .() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseEngineScriptingPluginsPluginManager.cs:line 158
[ERROR - 8:30:50 AM] [ExceptionHandler]  ‮‮‭‭‪‮‭‮‌‏‮‍​‫‬‬‮‮.‎‎‎‮‫‮‏‪‌‌‫‍‎‬​‫‬‍‌‍‮‏‏‍‌‫‪‌‫‮() L_0379 
 LCPD_First_Response.LCPDFR.Main.Process() L_0589 
 ‮‏‎‍‫‪‍​‍‭‭‌‫‬‮‌‪‏‭‪‌‌‮.‎‎‎‮‫‮‏‪‌‌‫‍‎‬​‫‬‍‌‍‮‏‏‍‌‫‪‌‫‮() L_004f 
Error hash: 56D1A509F1751247BA8303FFE4EC6522337A8778
  • Author

I take it there's no spawn places in Alderney? It's a pity( Otherwise a great mod, and I really love the locations where you've placed the vehicles. I've never seen yet a traffic stop with a truck (they're much more frequent in my country than with cars), how does the call choose vehicles?

 

I'll get around to the entire map brother don't worry.  I can add more vehicle types if you'd like.  If you want any model in specific, tell me. 

 

Its a relatively simple and effective script. Seems to have a few minor bugs with the call out text but overall an awesome idea that a lot of people have been looking for. Well done.. 

Had a script related crash when i accepted the callout. The callout did not start, caused an LCPDFR error and no cars or peds were spawned from what I can tell. The game itself did not crash but I had to reload scripts and restart LCPDFR. This was on the LCPDFR log, hope it helps refine your script.

 

[ERROR - 8:30:50 AM] [PluginManager] Unhandled exception caught while processing plugin: Main. Plugin will no longer be executed.
[ERROR - 8:30:50 AM] [Plugin.Main] System.NullReferenceException: Object reference not set to an instance of an object.
   at .() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCalloutManager.cs:line 169
   at LCPD_First_Response.LCPDFR.Main.Process() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRMain.cs:line 255
   at .() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseEngineScriptingPluginsPluginManager.cs:line 158
[ERROR - 8:30:50 AM] [ExceptionHandler]  ‮‮‭‭‪‮‭‮‌‏‮‍​‫‬‬‮‮.‎‎‎‮‫‮‏‪‌‌‫‍‎‬​‫‬‍‌‍‮‏‏‍‌‫‪‌‫‮() L_0379 
 LCPD_First_Response.LCPDFR.Main.Process() L_0589 
 ‮‏‎‍‫‪‍​‍‭‭‌‫‬‮‌‪‏‭‪‌‌‮.‎‎‎‮‫‮‏‪‌‌‫‍‎‬​‫‬‍‌‍‮‏‏‍‌‫‪‌‫‮() L_004f 
Error hash: 56D1A509F1751247BA8303FFE4EC6522337A8778

 

 

This is the one crash I'm working on tracking down now.  I'm not entirely sure what its after ref wise thats failing - but I'll find that little bastard soon!  I believe its a bad abort on my part, and the callout manager is still looking for the callout when it said "see ya later.".  I'm still adding minor protection here and there.  At least I got it to stop crashing the game for the most part (users that are crashing are ones that are using shady car models most the time.)

 

game crash with insll to  lcpdfr  plugins

 

I'm trying to find a way to repeat this event.  Sometimes when I install a updated version of this into the place of the old one, while the games running, it will crash, and often take me 4 restarts before I can get into the game again.  I'm trying to track down how to repeat this or why its happening - but not many people are getting this.

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

I'll get around to the entire map brother don't worry.  I can add more vehicle types if you'd like.  If you want any model in specific, tell me. 

.

Nice to hear it! You're great, keep doing the good things :)

 

Oh, just a van or two and a Mule maybe, they're good for moving illegal goods and corpses inside :D

  • Author

Nice to hear it! You're great, keep doing the good things :)

 

Oh, just a van or two and a Mule maybe, they're good for moving illegal goods and corpses inside :D

Added.... "MULE", "MINIVAN", "MOONBEAM", "PONY"

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

  • Author

Ok for those that are having issues with the police officer not spawning, someone indicated to me in PM that they had a better resolve with increasing the Els_Range_Ai  located in the ELS INI under the GTA IV dir.

 

If you are having this issue - attempt to adjust that, and PM me with the results.  It would make some sense to me because when I reduced the distance the cars are created, (450 is the max now), a lot of people saw better out comes...

 

I'll be checking into this more, and if I find anything it'll go in the OP. 

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

FinKone,

I have two ideas you might be interested in. 1) have a small simple script that the user can turn on or off by pushing a key that will turn the front wheels of the users police car when they are making a traffic stop like real-life. 2) have a script that you can walk up to other officers and press a key and it creates a conversation animation that continues until you end it. That way it gives your officer some dialog with other officers instead of the "Two ships passing in the night" type police officers if that makes since. Most officers I see in real-life after a call they always stop and have a conversation laughing and what not, before they hop in their cars and roll out.  Just a thought.

TheWaver.jpg

 

  • Author

FinKone,

I have two ideas you might be interested in. 1) have a small simple script that the user can turn on or off by pushing a key that will turn the front wheels of the users police car when they are making a traffic stop like real-life. 2) have a script that you can walk up to other officers and press a key and it creates a conversation animation that continues until you end it. That way it gives your officer some dialog with other officers instead of the "Two ships passing in the night" type police officers if that makes since. Most officers I see in real-life after a call they always stop and have a conversation laughing and what not, before they hop in their cars and roll out.  Just a thought.

 

1) I'll check into this.  You are talking about just leaving the wheels at a angle rather then zapping back to forward?  I'll see what I can access and get away with.

 

2) Sure - you are talking about aftermath dialog correct, or perhaps also a minor brief of why he pulled the car over in the first place on initial link up?  I could do some simple animations, grab what type of out come it was, and then present dialog at that point pertaining to what happened.  Might be down the road - but that seems pretty easy to accomplish.

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

1) I'll check into this.  You are talking about just leaving the wheels at a angle rather then zapping back to forward?  I'll see what I can access and get away with.

 

2) Sure - you are talking about aftermath dialog correct, or perhaps also a minor brief of why he pulled the car over in the first place on initial link up?  I could do some simple animations, grab what type of out come it was, and then present dialog at that point pertaining to what happened.  Might be down the road - but that seems pretty easy to accomplish.

 

Yes, like for 1) I could press the (just naming a key) number 7 key to turn on the wheel turn script ( don't want to push my luck lol but when it's on,  I could use the arrows to point what direction i want them to stay) and when the stop is over I can press 7 again to turn off the script.

 

2) Yes, but it could be just the animations. They don't have to have any speech or anything but rather just for looks and roll play..so it really seems like they know your an officer too and not just walking past you after everything is over. A lot of calls to me everything just comes to a grinding halt once the call is over...and in real life they don't just do an about-face and leave...they might stop and talk shop...or just chat it up a bit until their next call or something. Kinda why I was thinking if both of these features have on and off keys to turn them on or off when you want.

Edited by Dippa

TheWaver.jpg

 

First of all, THANK YOU for working on things like this without pay for the enjoyment of us all. Your hard work is appreciated!! This script is awesome! My laptop doesn't run gtaiv the best, so the issues could be my own :(

 

 

 

Situation : Call 'crashes' when driving onto the first blue arrow. (I forgot the exact error message,but something like:'LCPDFR has stopped a plugin...etc')

Repeatable : Y

Disregard : only accepted so idk

What of the 4 items spawnned : Police Car [ Y & N ]My NOOSE car spawned fine, my POLICE one was a no show ( but I know you already explained what causes that, I just say that just in case you see it in the error log), Police Officer [ Y ], Suspect Car [ Y ], Suspect [ Y ]

Logs : below

Avg Frames Per Second : low...under 20 :(

[ERROR - 7:11:23 PM] [script.CalloutManager] Error while processing callout: Backup: Invalid call to an object that doesn't exist anymore!   at GTA.value.Tasks.AimAt(Ped target, Int32 duration)
   at Callout.Callouts.Backup.PlayerIsClose()
   at LCPD_First_Response.LCPDFR.Callouts.Callout.Process() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCallout.cs:line 244
   at Callout.Callouts.Backup.Process()
   at ‮‮‭‭‪‮‭‮‌‏‮‍​‫‬‬‮‮.‎‎‎‮‫‮‏‪‌‌‫‍‎‬​‫‬‍‌‍‮‏‏‍‌‫‪‌‫‮() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCalloutManager.cs:line 165
[ERROR - 7:11:23 PM] [script.Backup] GTA.NonExistingObjectException: Invalid call to an object that doesnt exist anymore
   at GTA.value.Tasks.AimAt(Ped target Int32 duration)
   at Callout.Callouts.Backup.PlayerIsClose()
   at LCPD_First_Response.LCPDFR.Callouts.Callout.Process() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCallout.cs:line 244
   at Callout.Callouts.Backup.Process()
   at .() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCalloutManager.cs:line 165
[ERROR - 7:11:23 PM] [ExceptionHandler]  GTA.value.Tasks.AimAt(Ped target, Int32 duration) L_001f
 Callout.Callouts.Backup.PlayerIsClose() L_0109
 LCPD_First_Response.LCPDFR.Callouts.Callout.Process() L_004d
 Callout.Callouts.Backup.Process() L_0001
 ‮‮‭‭‪‮‭‮‌‏‮‍​‫‬‬‮‮.‎‎‎‮‫‮‏‪‌‌‫‍‎‬​‫‬‍‌‍‮‏‏‍‌‫‪‌‫‮() L_0352
Error hash: 0F4E783ABE35B9370C4DFFFBA35B4999CBD511F7
[iNFO - 7:11:43 PM] [script.Ambient] Saving game
[WARNING - 7:11:56 PM] [AudioDatabase] GetAudioFileForAction: No file found for: HEMATITE_ST
[iNFO - 7:12:13 PM] [script.Ambient] Saving game
[ERROR - 7:12:34 PM] [script.CalloutManager] Error while processing callout: Backup: Invalid call to an object that doesn't exist anymore!   at GTA.Vehicle.GetOffsetPosition(Vector3 Offset)
   at LCPD_First_Response.LCPDFR.API.LVehicleBase.GetOffsetPosition(Vector3 offset) in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRAPILVehicleBase.cs:line 421
   at Callout.Callouts.Backup.WaitingForPlayer()
   at LCPD_First_Response.LCPDFR.Callouts.Callout.Process() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCallout.cs:line 244
   at Callout.Callouts.Backup.Process()
   at ‮‮‭‭‪‮‭‮‌‏‮‍​‫‬‬‮‮.‎‎‎‮‫‮‏‪‌‌‫‍‎‬​‫‬‍‌‍‮‏‏‍‌‫‪‌‫‮() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCalloutManager.cs:line 165
[ERROR - 7:12:34 PM] [script.Backup] GTA.NonExistingObjectException: Invalid call to an object that doesnt exist anymore
   at GTA.Vehicle.GetOffsetPosition(Vector3 Offset)
   at LCPD_First_Response.LCPDFR.API.LVehicleBase.GetOffsetPosition(Vector3 offset) in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRAPILVehicleBase.cs:line 421
   at Callout.Callouts.Backup.WaitingForPlayer()
   at LCPD_First_Response.LCPDFR.Callouts.Callout.Process() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCallout.cs:line 244
   at Callout.Callouts.Backup.Process()
   at .() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseLCPDFRCalloutsCalloutManager.cs:line 165
[ERROR - 7:12:34 PM] [ExceptionHandler]  GTA.Vehicle.GetOffsetPosition(Vector3 Offset) L_000d
 LCPD_First_Response.LCPDFR.API.LVehicleBase.GetOffsetPosition(Vector3 offset) L_0000
 Callout.Callouts.Backup.WaitingForPlayer() L_00e6
 LCPD_First_Response.LCPDFR.Callouts.Callout.Process() L_004d
 Callout.Callouts.Backup.Process() L_0001
 ‮‮‭‭‪‮‭‮‌‏‮‍​‫‬‬‮‮.‎‎‎‮‫‮‏‪‌‌‫‍‎‬​‫‬‍‌‍‮‏‏‍‌‫‪‌‫‮() L_0352
Error hash: 93EDBB05C19CDC4096AF29637341CC37DC5C86E8
[iNFO - 7:12:43 PM] [script.Ambient] Saving game
[WARNING - 7:13:02 PM] [AudioDatabase] GetAudioFileForAction: No file found for: HEMATITE_ST

  • Author

First of all, THANK YOU for working on things like this without pay for the enjoyment of us all. Your hard work is appreciated!! This script is awesome! My laptop doesn't run gtaiv the best, so the issues could be my own :(

SNIP FOR LENGTH

 

Honestly man I'm sorry to say it, but its most likely the computer its being ran on.  In the next release I've tiddy'd up a LOT of the null refs in case the computer running it can't handle it, if it can't it will abort the call but keep the game running decent (or at least attempt to).  LtFlash has explained things to me... and I'll lightly explain them to ya'.

 

Because we are script hooking, code injecting, GTA IV heisting and hiding objects... it can often cause a lot of problems.  The large problem is things not being created when we tell them to, it can happen for a number of things.  Performance related, game state related, so on.  So sometimes, things don't get made.  In your case, the Officer failed to be created (perhaps your ped count for the current area as at max and it didn't make a person.)

 

 A fine example of mine is when I'm running the game without fraps at 51 frames or so, the chances of my having a bad spawn are low - which sucks, because it almost always (90%) of the time works for me...

On the other hand, it a crank the graphics to a state I know my computer has a harder load with, (reducing it to 40 frames), then record with fraps (reducing it to high 20's) I encounter a lot more problems.  I'm trying lately to record and highend graphics as I test, but its painfully slow because if I loose the 3d device from the game (downsizing or leaving it to long) I have to restart the entire game.  Not everyone is going to be able to run my callout - but I'll try to add enough protection so that it MIGHT work sometimes for you.

 

The new version should be up by this weekend.

 

It would be nice to have normal back ups that don't end with a pursuit. Maybe a normal traffic stop where you interview the passenger while the first officer deals with the driver. 

 

Normal backups are planned, along with additional passengers most likely (I'll most likely make this a option in the INI file.  People already having issues with this, will need to make sure its set to one...)

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

 

Normal backups are planned, along with additional passengers most likely (I'll most likely make this a option in the INI file.  People already having issues with this, will need to make sure its set to one...)

Awesome! A little advice when it comes to making mods; make sure you test under every circumstance you can before you release :)

  • Author

Awesome! A little advice when it comes to making mods; make sure you test under every circumstance you can before you release :)

 

Thats impossible in regards to releasing something on LCPDFR, and making sure its well tested.  My rig will handle a good bit of things, but someones that doesn't will tell me a entirely different story.  Not to mention the amount of mods they could be running, can change the situation on its head entirely.

 

GTA IV scripts are one thing, because I'm only messing with GTA IV, so it comes down to making sure it runs fast, and that it doesn't mess with GTA IV to much.  Respecting the rules, wants, and needs of LCPDFR, and GTA IV - can be a entirely different beast, not to mention I've also got to make sure I don't go crazy in regards to ELS.  Spawning a heavy ELS vehicle, to far away, to fast - on a lower end rig could mean a crash, or script failure where sometimes its not even grabbed the safe checks I told it to... mean while for guys running 290s or 980s won't bat a eye and will run flawless...

 

I do have a group of people that are pretty active that kind of have a range in PC specs that I try to test with - but this doesn't mean much when more and more people with different situations attempt to use the plugin.

 

I'll most likely be posting a heavy update this weekend, thats lightly tested (new spawns, better catches)

 

Later man!

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

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.