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.

Immersive Ambient Events 1.5.1

(21 reviews)

6 Screenshots

Immersive Ambient Events is an ambient events plugin designed to fill in gaps of your patrol where nothing happens for long periods of time, without interfering with callouts, pursuits, pullovers, or anything else you may be doing!

Important: Due to how the severe weather event works, the game time cannot be frozen, or else the event will never end, there is a workaround in the FAQ below.

 

Events:

- Aggressive Driver

- Drunk Driver

- Gas Leak

- Hotboxing

- Severe Weather

- Vehicle BOLO

- Vehicle Trouble

- Speeding

- Street Racing

- Driver on Phone

- Drug Deal

- Drinking On Beach

 

Features:

- Timer System:

The plugins timer system constantly checks if you're available for calls and not doing anything significant. If you accept a callout or do anything else that would make the plugin consider you busy (Get into a pursuit, start a traffic stop, or otherwise set yourself as not available for calls) the plugins timer system stops and resets to the time you specify in the ini file, and it doesn't start again until you are no longer busy. Only one event in this plugin spawns at a time (with the exception of the Vehicle BOLO event, more on this below), to avoid overloading you with things to do. 

 

- Two Menus:

The plugins menu allows you to customize all your ini values in game, and save them to the ini file. It even allows you to change the keybinds for the menu in game! The menu also has multiple other uses, like interacting with peds in specific events through the interaction submenu. 

The plugin also has a second menu, which can be accessed in the RPH F4 console using the command "IAEOpenForceEventMenu" This second menu will allow you to forcefully spawn any event in the plugin, as well as forcefully end the current event that's active.

 

- Error Handling System:

We've all been there, you're enjoying a nice patrol on LSPDFR, then suddenly one plugin has an error and it crashes LSPDFR. This plugin has an error handling system that will help prevent that from happening! If for any reason an error happens within the plugin, a notification will be displayed, notifying you that an error occurred, it will log the error, and it will prevent a full LSPDFR crash. If the error happens to come from an ambient event and not one of the plugins backend systems, the plugin will log the error, display a notification, and forcefully end the event and continue on spawning new events like nothing happened. However, this system is not full-proof, so there is still a (small) chance that LSPDFR might crash if there's an error. I will continue to improve this system in future updates. 

 

- In Depth Vehicle BOLO System:

One of the events, Vehicle BOLO, saves between game sessions. Meaning that if you don't catch the guy during your patrol and get off LSPDFR, that exact same suspect(s) and vehicle will be there waiting for you in the same BOLO the next time you hop on. There's even a chance that an AI unit could locate the BOLO suspect and initiate a pursuit. Pay close attention to the details regarding the crime, as it can hint as to how the suspect will react when trying to be pulled over. This event is designed to be as randomized as possible for maximum replayability, even the amount of details you get on the vehicle is randomized. Sometimes you may get the make and model, sometimes maybe the make and a partial plate, etc etc. "But what if I have custom vehicles installed that replaces AI traffic?" Well I have good news for you, I included a file (bolomodels.json) within the Immersive Ambient Events folder that allows you to customize the names of the make, model, and class of vehicles in the notification. With this file you can even add new vehicles to the list of vehicles used in the event. Because this event usually lasts long periods of time, it runs on its own timer that's independent from the other ambient events. 

- Realistic Severe Weather Event:

No more patrols where the weather stays the exact same unless you manually change it. With the severe weather event, a storm (or blizzard if the current weather is a snow based one) can roll in at any moment, and even have the potential to knock out power across the map, making it extremely dark if it happens to be late at night. Hopefully your vehicle has spotlights or takedowns! 


FAQ:

How can I patrol during a specific time of day while having the severe weather event enabled?:

In simpletrainer, go to the time settings, and enable "Real Time Duration" what this does is it makes one minute in game the same as one minute in real life. Then you can change the ini setting for the severe weather event and set "HoursItLasts" to 0, and set the minutes option to be however long you want the storm to last. 

 

How can I tell when an ambient event is happening?:

Events will either display a notification of some sort, or a yellow question mark blip will appear on the minimap where the event is happening.

 

The question mark blip for an event disappeared when I got close to the event or exited my vehicle, is this normal?:

Yes, most events automatically delete the blip once you get close enough to be considered participating in the event, the events also take into consideration whether you're on foot or not before deleting the blip as well.

 

Why is the "Interaction" item on the plugins menu greyed out?: 

The interaction submenu is only enabled whenever there's an active event that uses it. If it is greyed out, that means no event that uses that system is active.

Why am I not getting updated sightings for the Vehicle BOLO event?:
For the Vehicle BOLO event, you need to be set as available for calls for the blip to update and for you to receive a notification. By default the event is set up to not show updated sighting notifications unless you are within 1000 meters of the area, however this can be changed in the BOLO event section of the plugins menu

 

Why can't I pull over the vehicle involved with the Vehicle Trouble event?: 

This is done on purpose, to prevent the pullover from interfering with tasks given to the driver. Don't worry, this is temporary and once the event is finished, you can pull that driver over if needed!


Wanna see what the mod is all about? Check out these videos!

Spoiler

 

 

This mod is also compatible with RansomAmbience!


Future Plans:

- Many new ambient events

- Updates to existing events

 

Want to report bugs? See previews of future mods? Suggest things related to my mods? 

Join the Discord Server!

Edited by Echooo

What's New in Version 1.5.1

Released

Previous Updates:

Spoiler

Update 1.1.0:

- Added 'Speeding' event, which uses a new system to dynamically choose the speed based on the average speed of other drivers nearby, meaning that if you're on the highway, there's a small chance of someone driving by at around 100 MPH!

- Fixed bug where armed and dangerous dispatch audio wasn't playing for BOLO events

- Fixed a bug where nearby ambulances and fire trucks sometimes got chosen for certain traffic events

- Added new console command 'IAETogglePowerOutage' that allows you to toggle a power outage at anytime, keep in mind this command has a 5 second delay after you close the RPH console, and that the power outage will stay on until you either toggle it back to normal, or a severe weather event occurs and it brings the power back on.

- Fixed a bug where the search area for the BOLO event wouldn't disappear when you locate the suspect
- Added a set list of around 120 civ ped models for the BOLO event to choose its peds from. (Dogs, cops, etc were spawning in as suspects, oops. Shouldn't happen anymore)
- Fixed a bug where motorcycles were never being used in certain ambient events
- Fixed a bug that caused an occasional crash with the Gas Leak event 
- Improved the error handling system
- Other small changes and tweaks

 

Update 1.1.1:

- Fixed issue with RansomAmbience integration that caused the RPH log to be spammed
- Improved driving AI for the aggressive driving event

 

Update 1.2.0:

- Fixed a bug with the Vehicle BOLO event that caused crash whenever you disable the search area

- Fixed typos in the interaction submenu for Vehicle Trouble event

- Added custom vehicle search items for the Drunk Driver event
- Fixed a bug where the Speeding event never spawns properly
- Switched all traffic/vehicle related events to use a new system to choose a nearby vehicle, this should result in these events happening a little more often, reducing the spam of a few specific events like severe weather. This system may be adjusted to further increase the chance of traffic/vehicle related events happening based on feedback.

- Added optional event notifications that tells you which event is happening, and tells you info/context about what's happening

- Improved error handling system

- Improved and optimized backend systems
- Improved settings check system

- Fixed crashes involving ini settings being too high

- Fixed issue with an ambient pursuit starting for a Vehicle BOLO event when you're close to the vehicle, there's now a minimum distance in the system for starting a pursuit (not configurable). The ambient pursuit will also no longer start if there's a callout notification being displayed to prevent the ambient pursuit from happening right as you accept a callout

- Fixed a bug where enabling/disabling the Vehicle BOLO event in the general settings menu didn’t function properly

- Added the ability to customize the color of the search area for the Vehicle BOLO event, with a color preview inside the settings menu

- Added the ability to customize the opacity/transparency of the search area for the Vehicle BOLO event

- Vehicles involved in the Vehicle Trouble event can no longer be pulled over during the event to ensure the event plays out properly (This is set up to only happen during the event, once the event is over, you will be able to pull them over again if you need to for any reason)

- Fixed a major bug with the Gas Leak event that caused the event to instantly end after starting
 

Update 1.2.1:

- Fixed issue with update checker that caused the plugin to say there was an update when there wasn't any.
All that needs to be updated for this update (assuming you had the previous version) is the .dll and .pdb

 

Update 1.3.0:
- Added new customized vehicle system. This system allows for IAE to spawn customized cars with things like liveries, spoilers, etc for specific events. Each setup is made by me or another dev I work with in game, and then transferred into the plugin. The system currently has approximately 48 vehicle setups, with more coming in future updates. If you replaced your civilian cars with the real life versions, it is suggested you disable this in the ini or in the plugins settings menu to prevent issues. 

- Added new event "Street Racing". This event uses the customized vehicle system mentioned above (if its enabled). The street racers also have custom plates, and if you get into a pursuit with them, they can use NOS or turn off their vehicles lights (if the pursuit is at night) in an effort to evade you. They also use customized pursuit AI to make them have a much lower chance of surrendering from things like PITs compared to normal pursuits. The customized pursuit AI also allows them to use their cars performance to its maximum ability to try and evade you. Things such as the NOS and blackout system, as well as other things are configurable in the plugins settings. Good luck, you're gonna need it.
Note: if you use riskier traffic stops, the pullovers for this event may not go as intended, this is being worked on and riskier traffic stops should have an update out soon to address this.
- Added new event "Driver on Phone"

- Added new system that detects if an entity is visible on your screen (basically it detects if you can see a ped, vehicle, etc). This system is now used to make event notifications more accurate. For example if an event is happening right behind you, you won't see the notification until you're close to it and you're looking at it. This system is also used for events that require the plugin to spawn anything, which greatly reduces the chance of you seeing peds or vehicles being spawned in for events, which increases immersion. This system was tested thoroughly and doesn't seem to cause any performance hit.
- Added new event "Drug deal". With this event, a dealer will spawn, however the event won't trigger until you get somewhat close and can visibly see the dealer on the screen. (If you have event notifications enabled, you'll know when you're close enough when you get the event notification). Once the event starts, be patient, a buyer will eventually walk up to the dealer. Be careful though, if you get too close and the dealer sees you, he could react! 
- Added the ability for you to be able to type in some settings in the settings menu instead of just scrolling. 
- Added the ability for you to put the gas can back into your vehicle for the vehicle trouble event with the out of gas scenario.
- Fixed issue where event notifications were not optional in the ini/settings menu.
- Other small changes/fixes

 

Update 1.4.0:
- Added new cleanup system that cleans up any blips and entities created by the plugin in the event of an LSPDFR crash. No more BOLO blips getting stuck on your minimap!
- Plenty of optimizations to backend systems within the plugin, some systems were rewritten for increased performance. 

- Updated driver's behavior in the Aggressive Driver event.

- Fixed bug with the Severe Weather event that caused transitions from some weathers to not work properly.

- Removed pullover outcome in the Street Racing event due to a rare crashing issue within LSPDFR.

- Added new variation of the Severe Weather event, fog advisories.
- Added new XML config for the Severe Weather event to allow you to customize the chances of each variant of the event based on your current weather. 
- Fixed rare issue with the animation in the Driver on Phone event, now you should always be able to see them talking on their phone as they drive.
- Fixed issue with the force event menu not always displaying all of the events in the plugin.

- Fixed rare issue where other ambient events would use the same vehicle as the BOLO event.
- Removed Rev at Light event due to some issues with the event that could not be fixed.
- Added dependency check system which will terminate the plugin and display warnings if the plugins dependencies are not installed.

Update 1.5.0:
-Fixed a bug causing the street racing event to sometimes randomly end mid pursuit, causing the cars to despawn and the pursuit to end

- Added new customized car variations to the street racing event
- Increased distance before events end (if you're not interacting with them) by 100m
- Fixed a lot of bugs involving going off and on duty. The menus should no longer duplicate. 
- Fixed crashing issue with going off and on duty again
- Added new event, Drinking on Beach
- Optimized some stuff
- Overhauled the menu UI with a new color theme
- Other misc changes and fixes I probably forgot about



Files to replace if you're updating: The .dll, .pdb, and (optional) .ini
Note: If you don't want to redo your ini, you can keep your old ini file, and instead just go to the settings menu and hit save, it will add the new options into the ini. The only downside to this is that you wont have the comments in the ini explaining the new settings, however the explanations will still be in the settings menu. 


Update 1.5.1:
-Fixed a bug causing an error whenever you try to save settings through the in game menu

Files to replace if you're updating: The .dll, .pdb


Short Description

Featuring an in depth Vehicle BOLO system

User Feedback

Recommended Comments

Sagx

Members

Excellent complement, the NVE version has a varied climate system, would it be compatible? Now imagine that with the hurricane mod in the open field.

Echooo

Members Author

(edited)

3 minutes ago, Sagx said:

Excellent complement, the NVE version has a varied climate system, would it be compatible? Now imagine that with the hurricane mod in the open field.

Yeah it should be compatible, this mod uses the default weather options, it doesn't utilize any of NVEs custom weather options, however I might set up something in the future for the hurricane weather option that comes with NVE, which you would have to enable in the ini.

Edited by Echooo

Charlie686

Members

Congratulations on the release!

I know a lot of work went into this. It's great that it has finally materialised. 👏

Nemesisx101

Members

(edited)

Well done on taking those extra steps and making the BOLOs more involved. I’d like to see more pedestrian-based ambient events in the future, taking inspiration from Rich’s Ambience plugin (always crashing due to not  handling errors like you supposedly do as entities tend go invalid in the game)  

Edited by Wolfx101

(edited)

Spoiler

[8/10/2023 6:31:51 PM.411] LSPD First Response: Immersive Ambient Events: Creating main menu...
[8/10/2023 6:31:51 PM.413] LSPD First Response: Immersive Ambient Events: Menu created
[8/10/2023 6:31:51 PM.413] LSPD First Response: Immersive Ambient Events: Creating settings menu...
[8/10/2023 6:31:51 PM.414] LSPD First Response: Immersive Ambient Events: Settings menu created
[8/10/2023 6:31:51 PM.414] LSPD First Response: Immersive Ambient Events: Creating general settings menu...
[8/10/2023 6:31:51 PM.421] LSPD First Response: 
[8/10/2023 6:31:51 PM.421] LSPD First Response: ==============================
[8/10/2023 6:31:51 PM.421] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[8/10/2023 6:31:51 PM.421] LSPD First Response: ------------------------------
[8/10/2023 6:31:51 PM.421] LSPD First Response: Origin: Game fiber "<UNNAMED THREAD>".
[8/10/2023 6:31:51 PM.421] LSPD First Response: ------------------------------
[8/10/2023 6:31:51 PM.421] LSPD First Response: Exception type: System.ArgumentOutOfRangeException
[8/10/2023 6:31:51 PM.421] LSPD First Response: Exception message: value is greater than Maximum
[8/10/2023 6:31:51 PM.421] Parameter name: value
[8/10/2023 6:31:51 PM.421] LSPD First Response: ------------------------------
[8/10/2023 6:31:51 PM.421] LSPD First Response: Inner exceptions:
[8/10/2023 6:31:51 PM.421] LSPD First Response: ------------------------------
[8/10/2023 6:31:51 PM.421] LSPD First Response: Stack trace:
[8/10/2023 6:31:51 PM.421] LSPD First Response: at RAGENativeUI.Elements.UIMenuNumericScrollerItem`1.set_Value(T value)
[8/10/2023 6:31:51 PM.421] at ImmersiveAmbientEvents.Systems.SettingMenu.SetupGeneralSettingsSubmenu() in C:\Users\need2\Desktop\Immersive Ambient Events\ImmersiveAmbientEvents\Systems\RNUIMenu\SettingMenu.cs:line 163
[8/10/2023 6:31:51 PM.421] at ImmersiveAmbientEvents.Systems.Menu.CreateMenu() in C:\Users\need2\Desktop\Immersive Ambient Events\ImmersiveAmbientEvents\Systems\RNUIMenu\Menu.cs:line 46
[8/10/2023 6:31:51 PM.421] at Rage.GameFiber.Main()
[8/10/2023 6:31:51 PM.421] LSPD First Response: ==============================
[8/10/2023 6:31:51 PM.421] LSPD First Response: 
[8/10/2023 6:31:51 PM.425] LSPD First Response: [FATAL] Forced termination
[8/10/2023 6:31:51 PM.427] LSPD First Response: [TRACE] Released 0 entities from DefaultContentManager
[8/10/2023 6:31:54 PM.270] LSPD First Response: [INFO] LSPDFR has shut down
[08/10/2023 18:31:55.017] ====================================================================================================
[08/10/2023 18:31:55.018] Unhandled exception occurred in console command "ForceDuty"
[08/10/2023 18:31:55.018] Exception type: System.Threading.ThreadAbortException
[08/10/2023 18:31:55.018] Exception message: Thread was being aborted.
[08/10/2023 18:31:55.018] Stack trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
[08/10/2023 18:31:55.018]    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
[08/10/2023 18:31:55.018]    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[08/10/2023 18:31:55.018]    at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
[08/10/2023 18:31:55.018]    at Rage.ConsoleCommands.ConsoleCommand.Execute(Object[] arguments)
[08/10/2023 18:31:55.018]    at Rage.ConsoleCommands.ConsoleCommand.ParseAndExecute(String[] arguments)
[08/10/2023 18:31:55.018]    at Rage.ConsoleCommandGameFiber.Start()
[08/10/2023 18:31:55.018] ====================================================================================================


Congratulations on the initial release. I'm getting this error loading up your plugin. If I'm reading the log correctly, it doesn't seem to like the value I've set in the .ini from which the RNUI menu is reading from. Hopefully this is something you can take a look at as I personally set very high values between ambient events. Thanks. 🙂

.ini file below:

Spoiler

 

// Immersive Ambient Events

 

[General]

//Time between events, in seconds.
//Events are set up to not start if youre in a pursuit, on a callout, in the middle of a traffic stop, or not available for calls
TimeBetweenEvents = 1800

TimeBetweenBOLOEvents = 900

//Enable or disable blips for events (yellow question mark on minimap)
EventBlips = false

//In order to configure the time format for your respective country, use this link: 
// https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oe376/6c085406-a698-4e12-9d4d-c3b0ee3dbc4a
//Copy the BCP-47 code on the far right column and paste it down below
TimeFormat = en-US

//Allows you to customize the format of the plate (which values are numbers, letters, or space) for those that have games based in the 
//UK or other places that have a specific plate format, the 46EEK572 is just for memes, any number/letter/space can be inputted.
//The maximum count is 8, if the value below is above 8 characters, it will be trimmed down to 8 automatically
PlateFormat = 46EEK572

[Keybinds]

//Key for the plugins menu
MenuKey = None

//Modifier key for the plugins menu, if you do not want to use a modifier key set this to "None"
MenuModifierKey = None

[WeatherEvent]

Enabled = false

//If this is set to true, the time displayed in the event notification will be based on 24 hour time, not 12 hour time
//(used mainly in the weather event)
24HTime = false

//Hours and minutes the weather event lasts (VIA IN GAME TIME, NOT IRL)
HoursItLasts = 0

MinutesItLasts = 45

//Option to disable the EAS audio, since some people may not like it
EASaudio = true

//Percentage chance of a power outage happening during the event
ChanceOfOutage = 20

//Time power outage lasts (in seconds)
TimeOutageLasts = 7200

[VehicleBOLOEvent]

Enabled = true

//Enable or disable the large yellow search areas for BOLOs
AreaBlips = true

//Sets up a percentage chance of an ambient unit starting a pursuit instead of you getting a suspect location update, set this
//to 0 to disable this feature
ChanceOfPursuit = 5

//Maximum distance in meters (in terms of you and the suspect) for an ambient unit to be able to start a pursuit
MaxDistanceForPursuit = 1000

//Maximum distance in meters (in terms of you and the suspect) for you to receive updates on the suspects location (if this is enabled in the menu)
MaxDistanceForUpdates = 1000

//Minimum and maximum range of time (in seconds) before you get an update on the vehicle BOLO
MinTimeForUpdate = 20
MaxTimeForUpdate = 50

//IRL days before the BOLo expires and a new one is made
DaysBeforeBOLOExpires = 7

[VehicleTroubleEvent]

Enabled = true

[HotboxingEvent]

Enabled = true

[AggressiveDriverEvent]

Enabled = true

[DrunkDriverEvent]

Enabled = true

[GasLeakEvent]

Enabled = true

[RevAtLightEvent]

Enabled = true

Edited by Sergeant Nighthawk

Echooo

Members Author

6 hours ago, Sergeant Nighthawk said:
  Hide contents

[8/10/2023 6:31:51 PM.411] LSPD First Response: Immersive Ambient Events: Creating main menu...
[8/10/2023 6:31:51 PM.413] LSPD First Response: Immersive Ambient Events: Menu created
[8/10/2023 6:31:51 PM.413] LSPD First Response: Immersive Ambient Events: Creating settings menu...
[8/10/2023 6:31:51 PM.414] LSPD First Response: Immersive Ambient Events: Settings menu created
[8/10/2023 6:31:51 PM.414] LSPD First Response: Immersive Ambient Events: Creating general settings menu...
[8/10/2023 6:31:51 PM.421] LSPD First Response: 
[8/10/2023 6:31:51 PM.421] LSPD First Response: ==============================
[8/10/2023 6:31:51 PM.421] LSPD First Response: UNHANDLED EXCEPTION DURING GAME FIBER TICK
[8/10/2023 6:31:51 PM.421] LSPD First Response: ------------------------------
[8/10/2023 6:31:51 PM.421] LSPD First Response: Origin: Game fiber "<UNNAMED THREAD>".
[8/10/2023 6:31:51 PM.421] LSPD First Response: ------------------------------
[8/10/2023 6:31:51 PM.421] LSPD First Response: Exception type: System.ArgumentOutOfRangeException
[8/10/2023 6:31:51 PM.421] LSPD First Response: Exception message: value is greater than Maximum
[8/10/2023 6:31:51 PM.421] Parameter name: value
[8/10/2023 6:31:51 PM.421] LSPD First Response: ------------------------------
[8/10/2023 6:31:51 PM.421] LSPD First Response: Inner exceptions:
[8/10/2023 6:31:51 PM.421] LSPD First Response: ------------------------------
[8/10/2023 6:31:51 PM.421] LSPD First Response: Stack trace:
[8/10/2023 6:31:51 PM.421] LSPD First Response: at RAGENativeUI.Elements.UIMenuNumericScrollerItem`1.set_Value(T value)
[8/10/2023 6:31:51 PM.421] at ImmersiveAmbientEvents.Systems.SettingMenu.SetupGeneralSettingsSubmenu() in C:\Users\need2\Desktop\Immersive Ambient Events\ImmersiveAmbientEvents\Systems\RNUIMenu\SettingMenu.cs:line 163
[8/10/2023 6:31:51 PM.421] at ImmersiveAmbientEvents.Systems.Menu.CreateMenu() in C:\Users\need2\Desktop\Immersive Ambient Events\ImmersiveAmbientEvents\Systems\RNUIMenu\Menu.cs:line 46
[8/10/2023 6:31:51 PM.421] at Rage.GameFiber.Main()
[8/10/2023 6:31:51 PM.421] LSPD First Response: ==============================
[8/10/2023 6:31:51 PM.421] LSPD First Response: 
[8/10/2023 6:31:51 PM.425] LSPD First Response: [FATAL] Forced termination
[8/10/2023 6:31:51 PM.427] LSPD First Response: [TRACE] Released 0 entities from DefaultContentManager
[8/10/2023 6:31:54 PM.270] LSPD First Response: [INFO] LSPDFR has shut down
[08/10/2023 18:31:55.017] ====================================================================================================
[08/10/2023 18:31:55.018] Unhandled exception occurred in console command "ForceDuty"
[08/10/2023 18:31:55.018] Exception type: System.Threading.ThreadAbortException
[08/10/2023 18:31:55.018] Exception message: Thread was being aborted.
[08/10/2023 18:31:55.018] Stack trace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
[08/10/2023 18:31:55.018]    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
[08/10/2023 18:31:55.018]    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
[08/10/2023 18:31:55.018]    at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
[08/10/2023 18:31:55.018]    at Rage.ConsoleCommands.ConsoleCommand.Execute(Object[] arguments)
[08/10/2023 18:31:55.018]    at Rage.ConsoleCommands.ConsoleCommand.ParseAndExecute(String[] arguments)
[08/10/2023 18:31:55.018]    at Rage.ConsoleCommandGameFiber.Start()
[08/10/2023 18:31:55.018] ====================================================================================================


Congratulations on the initial release. I'm getting this error loading up your plugin. If I'm reading the log correctly, it doesn't seem to like the value I've set in the .ini from which the RNUI menu is reading from. Hopefully this is something you can take a look at as I personally set very high values between ambient events. Thanks. 🙂

.ini file below:

  Hide contents

 

// Immersive Ambient Events

 

[General]

//Time between events, in seconds.
//Events are set up to not start if youre in a pursuit, on a callout, in the middle of a traffic stop, or not available for calls
TimeBetweenEvents = 1800

TimeBetweenBOLOEvents = 900

//Enable or disable blips for events (yellow question mark on minimap)
EventBlips = false

//In order to configure the time format for your respective country, use this link: 
// https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oe376/6c085406-a698-4e12-9d4d-c3b0ee3dbc4a
//Copy the BCP-47 code on the far right column and paste it down below
TimeFormat = en-US

//Allows you to customize the format of the plate (which values are numbers, letters, or space) for those that have games based in the 
//UK or other places that have a specific plate format, the 46EEK572 is just for memes, any number/letter/space can be inputted.
//The maximum count is 8, if the value below is above 8 characters, it will be trimmed down to 8 automatically
PlateFormat = 46EEK572

[Keybinds]

//Key for the plugins menu
MenuKey = None

//Modifier key for the plugins menu, if you do not want to use a modifier key set this to "None"
MenuModifierKey = None

[WeatherEvent]

Enabled = false

//If this is set to true, the time displayed in the event notification will be based on 24 hour time, not 12 hour time
//(used mainly in the weather event)
24HTime = false

//Hours and minutes the weather event lasts (VIA IN GAME TIME, NOT IRL)
HoursItLasts = 0

MinutesItLasts = 45

//Option to disable the EAS audio, since some people may not like it
EASaudio = true

//Percentage chance of a power outage happening during the event
ChanceOfOutage = 20

//Time power outage lasts (in seconds)
TimeOutageLasts = 7200

[VehicleBOLOEvent]

Enabled = true

//Enable or disable the large yellow search areas for BOLOs
AreaBlips = true

//Sets up a percentage chance of an ambient unit starting a pursuit instead of you getting a suspect location update, set this
//to 0 to disable this feature
ChanceOfPursuit = 5

//Maximum distance in meters (in terms of you and the suspect) for an ambient unit to be able to start a pursuit
MaxDistanceForPursuit = 1000

//Maximum distance in meters (in terms of you and the suspect) for you to receive updates on the suspects location (if this is enabled in the menu)
MaxDistanceForUpdates = 1000

//Minimum and maximum range of time (in seconds) before you get an update on the vehicle BOLO
MinTimeForUpdate = 20
MaxTimeForUpdate = 50

//IRL days before the BOLo expires and a new one is made
DaysBeforeBOLOExpires = 7

[VehicleTroubleEvent]

Enabled = true

[HotboxingEvent]

Enabled = true

[AggressiveDriverEvent]

Enabled = true

[DrunkDriverEvent]

Enabled = true

[GasLeakEvent]

Enabled = true

[RevAtLightEvent]

Enabled = true

Ill increase the values in the next update, its currently capped at 1000. Just an fyi though the odds of you getting an event with those values is little to none, because whenever you accept a callout, start a traffic stop, or get into a pursuit etc, the timer stops and resets to the maximum value and starts over again once you're finished with what you were doing. You'd have to be 10-8 for that long before anything happens. 

9 hours ago, Wolfx101 said:

Well done on taking those extra steps and making the BOLOs more involved. I’d like to see more pedestrian-based ambient events in the future, taking inspiration from Rich’s Ambience plugin (always crashing has he doesn’t handle errors like you supposedly do as entities tend go invalid in the game)  

I have multiple new events planned, including new pedestrian ones 😄

Echooo

Members Author

1 hour ago, Mathox said:

I got a issue with the mod, wich make me unable to open the menu for this plugin.RagePluginHook.log

Will have it fixed in the next update. The issue seems to be with the gas leak event, disable that event temporarily until the next update.

Echooo

Members Author

1 hour ago, Helen14204 said:

mine crashes the entire game after it crashes lspdfr.. every time. log: 

RagePluginHookAmbient.log 143.36 kB · 1 download

You need to install the Newtonsoft.Json.Dll into your game directory, that file is missing and is causing the crash. 

Elenova78204

Members

23 hours ago, Echooo said:

You need to install the Newtonsoft.Json.Dll into your game directory, that file is missing and is causing the crash. 

I completely forgot about that....... thank u

 

DivineHustle

Members

Getting an error with this. Not sure, but it might be related to no peds being around when attempting to create an event?

RagePluginHook.log

Robbyboy119

Members

my antivirus thinks the files are a threat, which is why y'all might be having problems.

Echooo

Members Author

(edited)

1 hour ago, Helen14204 said:

i hath returned with a problem... plugin works great but it'll tell me a major error has occurred and when i go to end the event that did it, it will crash my entire game guarantied. 

RagePluginHook_12082023_203106.log 330.45 kB · 1 download RagePluginHook_12082023_204804.log 263.47 kB · 1 download

This is related to the gas leak event, It will be fixed in the next update that im aiming to get out either tmr or monday. For now just disable the gas leak event and that will fix the issue temporarily until the update.

 

21 minutes ago, DivineHustle said:

Getting an error with this. Not sure, but it might be related to no peds being around when attempting to create an event?

RagePluginHook.log 55.01 kB · 0 downloads

Not sure whats happening here, theres no logging for Immersive Ambient Events, so its not be related to my plugin at all, unless you accidentally uploaded the wrong log. 

Edited by Echooo

DivineHustle

Members

3 hours ago, Echooo said:

This is related to the gas leak event, It will be fixed in the next update that im aiming to get out either tmr or monday. For now just disable the gas leak event and that will fix the issue temporarily until the update.

 

Not sure whats happening here, theres no logging for Immersive Ambient Events, so its not be related to my plugin at all, unless you accidentally uploaded the wrong log. 

Here is another log, I booted the game up and received the error and immediately came to post. 

RagePluginHook.log

nathan24

Members

i was wondering if we could get more ped ambient so we do like foot patrol or even a bicycle patrol an the min not much we can do anyway this is a great mod thanks for making it keep up the good work cant wait for next update 

Echooo

Members Author

55 minutes ago, nathan24 said:

i was wondering if we could get more ped ambient so we do like foot patrol or even a bicycle patrol an the min not much we can do anyway this is a great mod thanks for making it keep up the good work cant wait for next update 

Next update will include a speeding ambient event, however after that ill be adding some more ped ambient events 🙂

TopCityPD

Members

(edited)

Sounds great can not wait to try it. The weather thing is a must considering here in Kansas we get odd things all the time. I also read to disable gas event since its causing crashes will do! I have a question will the weather event interfere with the Real Weather Mod?? Love the Eas in the video nice touch!!! 

Edited by TopCityPD

Officer Davie

Members

I really enjoy your plugin.

i just have one quick question, since i installed yours i frequently getting a popup messege telling me i don´t have a K9 partner, is this caused by one of the BOLO´s?

just asking so sort out the source of this messege.

Deactivated Member

Deactivated

(edited)

Very Good

Edited by Roaster021

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.