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.

[API][WIP/REL] Callouts+ - Additional LCPDFR API Callouts

Featured Replies

  • Replies 718
  • Views 188.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Update Released!!!   Version 0.5 (beta release) is now available in the downloads section!   New Callouts: Road Traffic Collision (RTC) The all new RTC's are bigger and better than have ever been

  • Because sometimes it's fun to mess with people by forcing the LCPDFR callouts to crash instead of my own, just to see if anyone notices.     Press "start"     Because fat_cop be eating all the

  • Update Released!   The latest version, 0.7, is now available for download! It is built to run on LCPDFR 1.0d_2 (that is the first hotfix patch for 1.0d)   Changes   • IMPORTANT: Ambulance keybin

Seems to be a problem with 0.6. As soon as I start LCPDFR, Callouts+ crashes. Followed everything by the ReadMe, not sure what it could be.

 

Disregard that.

Edited by OfficerLund

Any idea about this crash? 

 

[ERROR - 4:42:28 AM] [PluginManager] Unhandled exception caught while processing plugin: Callouts+. Plugin will no longer be executed.
[ERROR - 4:42:28 AM] [Plugin.Callouts+] System.NullReferenceException: Object reference not set to an instance of an object.
   at m.a() in c:UsersLukeGoogle DriveC DevelopmentCallouts (Build)CalloutsBreakdown.cs:line 82
   at CalloutsPlus.CalloutsPlusMain.Process() in c:UsersLukeGoogle DriveC DevelopmentCallouts (Build)CalloutsCalloutsPlus.cs:line 47
   at .() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseEngineScriptingPluginsPluginManager.cs:line 158
[ERROR - 4:42:28 AM] [ExceptionHandler]  m.a() L_0461 
 CalloutsPlus.CalloutsPlusMain.Process() L_0362 
 ‫‎‮‏‪​‍‪‭‏‎‫‪‮‎‮‬‪‪‫‌​‬‌‮.​‌‭‮‌‏‬‮‬‬‬‭‏‫‏​‪‫‪‏‍‫‮‭‫‮() L_004b 
Error hash: A05F26B34B5EA0D891DF0CCECEB86E1632D5DEDA
 
Occured when placing a barrier

Edited by apocalypse

  • Author

 

Any idea about this crash? 

 

<snip>
 
Occured when placing a barrier

 

 

It seems you did something that tried interacting with the breakdown callout, but it went wrong.

Can you tell me exactly what you did leading up to the crash? If I can reproduce it I can fix it.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

It seems you did something that tried interacting with the breakdown callout, but it went wrong.

Can you tell me exactly what you did leading up to the crash? If I can reproduce it I can fix it.

 

Hm, its intermittent. I think it happens after completing some pursuit or callout, the next time I place the barrier, I get that crash log. The last time it happened, I completed a vehicle pursuit, then did a traffic stop. Got out of the car before triggering the traffic stop dialog, placed a barrier and the crash happened.

 

I'll try to get some consistent reproduction steps.

  • Author

Hm, its intermittent. I think it happens after completing some pursuit or callout, the next time I place the barrier, I get that crash log. The last time it happened, I completed a vehicle pursuit, then did a traffic stop. Got out of the car before triggering the traffic stop dialog, placed a barrier and the crash happened.

 

I'll try to get some consistent reproduction steps.

I had errors with placing barriers too, but it hasn't been consistent enough to find the circumstances where it happens.

 

Hmm strange, I'll take a look through the code later today and see if I can pinpoint the issues. Keep trying to place the barrier in random places if you have the time to deal with constantly restarting scripts, it may be a conflict between scripts. In which case you may well find the issue by trial and error.

 

 

EDIT: Solved one of the issues with the barrier interacting with the breakdown callout, thus causing a crash. Every other time I placed a barrier it worked fine. Will keep messing with it. In the meantime if you guys can carry on trying to place barriers, each time it crashes for you take note of what crashed (plugin or loader) and tell me what happened prior to the crash.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

I got another one, this time from trying to call a towtruck. This was a drunk driver stop, arrested the driver, I updated dispatch with Alt-E (I think), then called the tow truck, resulting in this log.

 

[ERROR - 10:03:02 PM] [PluginManager] Unhandled exception caught while processing plugin: Callouts+. Plugin will no longer be executed.
[ERROR - 10:03:02 PM] [Plugin.Callouts+] System.NullReferenceException: Object reference not set to an instance of an object.
   at k.a() in c:UsersLukeGoogle DriveC DevelopmentCallouts (Build)Dispatcher.cs:line 420
   at CalloutsPlus.CalloutsPlusMain.Process() in c:UsersLukeGoogle DriveC DevelopmentCallouts (Build)CalloutsCalloutsPlus.cs:line 47
   at .() in d:GTA IVLCPDFRSVNbranchesLCPDFR Ambient ActionLCPD First ResponseLCPD First ResponseEngineScriptingPluginsPluginManager.cs:line 158
[ERROR - 10:03:02 PM] [ExceptionHandler]  k.a() L_039b 
 CalloutsPlus.CalloutsPlusMain.Process() L_02bb 
 ‫‎‮‏‪​‍‪‭‏‎‫‪‮‎‮‬‪‪‫‌​‬‌‮.​‌‭‮‌‏‬‮‬‬‬‭‏‫‏​‪‫‪‏‍‫‮‭‫‮() L_004b 
Error hash: 32928D2BB404BA2C88629C3CAF23FC3BF57A433D
  • Author

 

I got another one, this time from trying to call a towtruck. This was a drunk driver stop, arrested the driver, I updated dispatch with Alt-E (I think), then called the tow truck, resulting in this log.

 

<snip>

 

Yeaaaah, that shouldn't be causing you any issues at all. The line being reported as the cause of the error has nothing to do with the tow truck.

I'm in the process of running several upgrades and improving things, so bare with me.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Yeaaaah, that shouldn't be causing you any issues at all. The line being reported as the cause of the error has nothing to do with the tow truck.

I'm in the process of running several upgrades and improving things, so bare with me.

 

Cool, upgrades are good :)

 

Btw, are your callouts triggerable through the ScriptHook console? If so can you post a list of the callout names?

  • Author

Cool, upgrades are good :)

 

Btw, are your callouts triggerable through the ScriptHook console? If so can you post a list of the callout names?

Yes they are and I will add this to the user documentation so it's in the next release I make.

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

The Officer Down callout didn't glitch! That means update really works, and that's great.

 

One thing, though, for some reasons Callouts+ don't restart when I type "reloadcripts". Is that how it's supposed to be?

  • Author

The Officer Down callout didn't glitch! That means update really works, and that's great.

 

One thing, though, for some reasons Callouts+ don't restart when I type "reloadcripts". Is that how it's supposed to be?

It should do because it reloads LCPDFR which then reloads the plugins. It's also how I get away with not restarting my game every time I change a tiny bit of code :)

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

It should do because it reloads LCPDFR which then reloads the plugins. It's also how I get away with not restarting my game every time I change a tiny bit of code :)

Guess Callouts+ is (or ARE, its CalloutS? Can't get it) all right, it shows "Callouts+ activated" or similar in the console. Problem is, after I type that no scripts work, but I guess that's the wrong topic to discuss it. 

  • Author

Guess Callouts+ is (or ARE, its CalloutS? Can't get it) all right, it shows "Callouts+ activated" or similar in the console. Problem is, after I type that no scripts work, but I guess that's the wrong topic to discuss it. 

Double check what you're doing, it's "reloadscripts" not "reloadcripts" as you put it originally. It definitely works.

 

Oh and it's "callouts+ is" because you're referring to the plugin which is singular. (There ARE multiple callouts, there IS only 1 Callouts+) :)

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

Double check what you're doing, it's "reloadscripts" not "reloadcripts" as you put it originally. It definitely works.

 

Oh and it's "callouts+ is" because you're referring to the plugin which is singular. (There ARE multiple callouts, there IS only 1 Callouts+) :)

Thanks, I see that now :)

 

Ummm, looks like I broke your plugin *sadface*

 

I typed "reloadscripts" a few times, then tried 'reloadscripts callouts+' just in case (of course, to no avail), and then left the game. After that I changed the keys in the +.ini file, and now, when I start the game, it doesn't load Callouts+. I can tell because when Im leaving the station it doesn't show the usual notice that the plugin is running and no keys work. Are there any files I should submit to find the issue? meanwhile  here's the LCPDFR log.

  • Author

Thanks, I see that now :)

 

Ummm, looks like I broke your plugin *sadface*

 

I typed "reloadscripts" a few times, then tried 'reloadscripts callouts+' just in case (of course, to no avail), and then left the game. After that I changed the keys in the +.ini file, and now, when I start the game, it doesn't load Callouts+. I can tell because when Im leaving the station it doesn't show the usual notice that the plugin is running and no keys work. Are there any files I should submit to find the issue? meanwhile  here's the LCPDFR log.

I think you made a derp.

 

Error while initializing plugin: Callouts+: Requested value '[' was not found.

 

Show me your ini file please?

Live Streaming daily from 8pm GMT (UK) at https://twitch.tv/OfficialLukeD - I play a variety of things 😄

Join my official discord server for support, general chat and my stream schedule! https://discord.gg/Mddj7PQ

I think you made a derp.

 

Error while initializing plugin: Callouts+: Requested value '[' was not found.

 

Show me your ini file please?

I-I'm sorry officer I don't carry my ini with me 

 

Well, I can take it from here, didn't know that you can't insert [ and so on in the file. Thanks!

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.