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.

Automatic Roadblocks 0.8.1

(17 reviews)

16 Screenshots

Automatic Roadblocks

Automatic Roadblocks allows the dispatching of roadblocks during a pursuit based on a selected pursuit level.

When roadblocks are deployed, custom scanner audio is played as well as for the indication that the pursuit level is automatically increased.

Next to automatic roadblocks, it allows you to place configurable manual roadblocks and traffic redirections.

 

Leave improvements, issues or feature requests in the comments.

 

Audio levels have been decreased as of version 0.8.0, please update all files provided in this plugin under "lspdfr/audio".

 

Features

  • Automatic roadblock placement during pursuits
  • Roadblock cops automatically join the pursuit after a hit/bypass
  • Request a roadblock during a pursuit
  • Manual configurable roadblock placement
  • Configurable traffic redirection
  • Spike strips
  • Junction/intersection roadblocks
  • Police SmartRadio integration
  • Grammar Police integration
  • Road closure

 

Planned Features

Spoiler
  • More scenery variations within the roadblocks
  • Additional scenery such as other emergency vehicles (Fire & EMS) to manual roadblock placements/traffic redirection

 

Requirements

  • LSPDFR 0.4.9.0+
  • RageNativeUI 1.9.0.0+ (provided in ZIP)

 

Automatic roadblocks

Automatic roadblocks are deployed automatically or requested by the player during a pursuit.

Each roadblock is dynamically created based on the road location where it is deployed (no prefabs are used).

 

Each roadblock level has a unique setup and variation which makes it more difficult to pass the higher the level is.

image.thumb.png.a20a1ade1e50234cbf4e8d254ac03b93.png

 

Evening/night - Lights

Lights will be automatically placed within the roadblock during the evening/night.

This option can be disabled in the config file.

 

Automatic roadblock level increases

The levels of the roadblock are automatically increased based on the following conditions:

Spoiler
  • The duration of the pursuit
  • The total number of roadblocks deployed for the pursuit
  • If the suspects are shooting
  • Number of cops killed by the suspects

 

Roadblock levels

The roadblock levels are now fully customisable to your liking.
For more info, see the plugins/LSPDFR/Automatic Roadblocks/data/roadblocks.xml

 

Manual placement

Deploy a custom configured roadblock (outside of pursuits) through the in-game menu.

The manual placement option allows different variants of barriers, lights and vehicles.

 

image.thumb.png.6b7e5cb4950704076719b06eb29eb58c.png

 

Redirect traffic

Create a configurable traffic redirection for the current lane.

This will not close the road but redirect traffic to the next lane or around the location.

 

image.thumb.png.240b8c940a646933c8bce15e54e411f0.png

 

Close road

Close the current road for any traffic with roadblocks along the road or close the nearby intersection.

This feature will be expanded in the future with additional scenery items. 

 

---

Automatic Roadblocks is open source: https://github.com/yoep/AutomaticRoadblock

Feel free to contribute to the project 🙂 

 

Edited by yoep

What's New in Version 0.8.1

Released

Features

  • Added Italian translation provided by @cristian304
  • Added Russian translation provided by INTEGRA-2200 

 

Bugfixes

  • Updated RageNativeUI dependency to latest version
  • Fixed an issue with the integrations not loading correctly

Short Description

Deploy automatic roadblocks or spike strip during pursuits, place a configurable manual roadblock or traffic redirection

User Feedback

Recommended Comments

yoep

Members Author

@KnightHawkOne You're crash is caused by the LSPDFR api. I'll have to do a check to see if something in the background changed.

 

@unitedOrange66 Are you sure that you uploaded the correct log file? I cannot find any crashes of the plugin with a "[ERROR]" in the file.

KnightHawkOne

Members

11 hours ago, yoep said:

@KnightHawkOne You're crash is caused by the LSPDFR api. I'll have to do a check to see if something in the background changed.

 

@unitedOrange66 Are you sure that you uploaded the correct log file? I cannot find any crashes of the plugin with a "[ERROR]" in the file.

thank you!!!

(edited)

  • Community Team

When I was requesting a roadblock in an active pursuit via PoliceSmartRadio, I encountered this error below: 

 

I'm not quite sure what was the cause, if anyone or the plugin author knows, please take a look, I really appreciate it. 

Spoiler

[1/14/2023 9:51:13 PM.186] LSPD First Response: Automatic Roadblocks: [WARN] Failed to traverse road, unable to find next node after Position: X:2285.577 Y:2179.466 Z:77.73511, Heading: 309.7533, LanesInSameDirection: 0, LanesInOppositeDirection: 0, Density: 0, Flags: None (0) (tried 5 times)
[1/14/2023 9:51:13 PM.187] LSPD First Response: Automatic Roadblocks: [ERROR] An unexpected error occurred in 'PoliceSmartRadioIntegration.DoRoadblockDeployment' thread, error: Sequence contains no elements
   at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
[1/14/2023 9:51:13 PM.187] at AutomaticRoadblocks.Roadblock.Dispatcher.RoadblockDispatcher.DoInternalDispatch(ERoadblockLevel level, Vehicle vehicle, DispatchOptions options)
[1/14/2023 9:51:13 PM.187] at AutomaticRoadblocks.Pursuit.PursuitManager.DoDispatch(Vehicle vehicle, Boolean userRequested, Boolean force, ERoadblockDistance roadblockDistance)
[1/14/2023 9:51:13 PM.187] at AutomaticRoadblocks.Pursuit.PursuitManager.DispatchNow(Boolean userRequested, Boolean force, ERoadblockDistance roadblockDistance)
[1/14/2023 9:51:13 PM.187] at AutomaticRoadblocks.AbstractionLayer.Implementation.RageImpl.<>c__DisplayClass10_0.<NewSafeFiber>b__0()

 

 

On 1/12/2023 at 1:38 PM, yoep said:

@unitedOrange66 Are you sure that you uploaded the correct log file? I cannot find any crashes of the plugin with a "[ERROR]" in the file.

Sorry about that, please disregard that as I crossed out my comment. The crash wasn't caused by this plugin. 

Edited by unitedOrange66

cristian304

Members

Dopo il nuovo aggiornamento, il gioco si blocca e si blocca in the loading plugin

FelixAB1988

Members

15 minutes ago, cristian304 said:

Dopo il nuovo aggiornamento, il gioco si blocca e si blocca in the loading plugin

Translated via Google from italian:

"After the new update, the game crashes and hangs in the plugin loading"

(edited)

One thing on this the Newest RadenavitiveUI.dll is 1.9.1.0  the mod  I dont have the 0.2.1 as metioned above but this   I believe has to be updated for this to work.

 

Releases · alexguirre/RAGENativeUI (github.com)  I only see 1.9.1.0

Edited by Daniel Harrelson

DooVan

Members

Since the new update my game freeze while going on duty at the step of loading this plugin...

Here is the log info

20230115_154428.jpg

1 hour ago, Officerporci said:

game freeze when force duty for the current version

same issue, it freeze when you force duty and also when you go on duty by the police station

Bader6915

Members

Once you attempt to go "on duty" the whole game freezes without any error message.  Can't even close the game via the task manager. Have to literally sign out of my computer to shut it down. Removed the files, and the game/all other plugins work fine. 

DivineHustle

Members

Yeah can confirm this new update causes the entire game to freeze when attempting to go on duty. Removing this mod fixes the issue.

marvinblue

Members

Hi there. I'm currently running 0.6.0, due to the problems listed above. Earlier, I had a pursuit that ended in a roadblock on the highway, this roadblock I created by the "Dispatch Now" command. I couldn't clear it though, even though I used the clear instances command via Cntrl+C, as well as though the menu. Not long after that the game crashed.20230116195258_1.thumb.jpg.2eb46f9997f1a08785dc5398186dbc27.jpg

RagePluginHook.log

  • Community Team
5 hours ago, marvinblue said:

Hi there. I'm currently running 0.6.0, due to the problems listed above. Earlier, I had a pursuit that ended in a roadblock on the highway, this roadblock I created by the "Dispatch Now" command. I couldn't clear it though, even though I used the clear instances command via Cntrl+C, as well as though the menu. Not long after that the game crashed.

Can confirm this "bug" with "clear all" feature. 

 

What I noticed is most of the time the roadblocks will be cleared by itself, but sometimes it will left a few police cars with lights on. Upon applying the "clear all" command via PoliceSmartRadio or press the keybind, nothing happens.  

yoep

Members Author

I've started investigation on the freeze within the 0.7.0 version.

Additional logs would be welcome to help the investigation.

 

 

3 hours ago, unitedOrange66 said:

Can confirm this "bug" with "clear all" feature. 

 

What I noticed is most of the time the roadblocks will be cleared by itself, but sometimes it will left a few police cars with lights on. Upon applying the "clear all" command via PoliceSmartRadio or press the keybind, nothing happens.  

 

Once a roadblock has been hit/bypassed or the pursuit has ended, all vehicles and cops are released from the plugin and handed back to LSPDFR.

The persistence state on the units is also removed and handed back over to the Game's cleanup manager.

This means that invoking the cleanup through the plugin does indeed no longer clean those units are they're no longer being tracked anymore.

22 hours ago, Daniel Harrelson said:

One thing on this the Newest RadenavitiveUI.dll is 1.9.1.0  the mod  I dont have the 0.2.1 as metioned above but this   I believe has to be updated for this to work.

 

Releases · alexguirre/RAGENativeUI (github.com)  I only see 1.9.1.0

 

Having version 1.9.0.0 of the RageNativeUI should be sufficient for the plugin to work.

My game is freezing but I thought this had to do with the NativeUI version not sure though

marvinblue

Members

13 hours ago, yoep said:

I've started investigation on the freeze within the 0.7.0 version.

Additional logs would be welcome to help the investigation.

 

 

 

Once a roadblock has been hit/bypassed or the pursuit has ended, all vehicles and cops are released from the plugin and handed back to LSPDFR.

The persistence state on the units is also removed and handed back over to the Game's cleanup manager.

This means that invoking the cleanup through the plugin does indeed no longer clean those units are they're no longer being tracked anymore.

 

Having version 1.9.0.0 of the RageNativeUI should be sufficient for the plugin to work.

No problems. I'll update RageNativeUI and see what happens.

Lucki

Members

i installed the plugin, but when i used the menu by pressin "X" it didn't work, meanwhile when i pressed "Z" the roadblocks worked, the problem for me is only the menu that doesn't display, any way to fix it?

buger4.png

yoep

Members Author

On 1/30/2023 at 9:32 PM, Lucki said:

i installed the plugin, but when i used the menu by pressin "X" it didn't work, meanwhile when i pressed "Z" the roadblocks worked, the problem for me is only the menu that doesn't display, any way to fix it?

buger4.png

 

Hi

 

Please use the included RageNativeUI version of 1.9.0+ as the error shown indicates you're using an older version.

tando26278

Members

when i remove the roadblock i only can remove the barrier not cars, is there any way to remove cars too

 

FelixAB1988

Members

On 1/16/2023 at 6:03 PM, yoep said:

Once a roadblock has been hit/bypassed or the pursuit has ended, all vehicles and cops are released from the plugin and handed back to LSPDFR.

The persistence state on the units is also removed and handed back over to the Game's cleanup manager.

This means that invoking the cleanup through the plugin does indeed no longer clean those units are they're no longer being tracked anymore.

@tando26278Check out this recent post. I think, this is your answer.

 

 

tando26278

Members

1 hour ago, FelixAB1988 said:

@tando26278Check out this recent post. I think, this is your answer.

 

 

my problem is the manual placement roadblock, when i remove its just only remove the barriers, not cars, cars is still there

 

yoep

Members Author

On 2/13/2023 at 12:33 PM, tando26278 said:

my problem is the manual placement roadblock, when i remove its just only remove the barriers, not cars, cars is still there

 

Hi

 

Sorry for the late response.

This is the exact same flow for the manual placed roadblocks. However, this is a bug as I forgot that when Cops are disabled, nobody is driving away with the vehicles, so they stay in-place.

This bug was however fixed and released with version 0.7.0 in which they would be instantly removed if Cops were disabled for manual roadblocks or the Cops would otherwise drive away with them.

terellef

Members

works but spike strips not working no more 

Create an account or sign in to comment

Latest Mods

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.