Jump to content

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


Recommended Posts

  • Management Team

i can't seem to find it anywhere, have you got a link to the medical examiner livery used on that van? i'd love to have that in my game

 

I'm pretty sure that is included with >vdH METT/Coroner Mod.

"Work and ideas get stolen, then you keep moving on doing your thing."

Link to comment
Share on other sites

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
Link to comment
Share on other sites

 

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Management Team

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

"Work and ideas get stolen, then you keep moving on doing your thing."

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

 

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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. 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...