Jump to content

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


Recommended Posts

Noticed an error in the log

[WARNING - 5:44:47 AM] [PluginManager] Error while initializing plugin: Callouts+: Must specify valid information for parsing in the string.   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)

   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)

   at System.Enum.Parse(Type enumType, String value)

   at CalloutsPlus.CalloutsPlusMain.Initialize()

   at ay.a()

 

 

Link to comment
Share on other sites

Noticed an error in the log

[WARNING - 5:44:47 AM] [PluginManager] Error while initializing plugin: Callouts+: Must specify valid information for parsing in the string.   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)

   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)

   at System.Enum.Parse(Type enumType, String value)

   at CalloutsPlus.CalloutsPlusMain.Initialize()

   at ay.a()

 

That's just a warning but the only thing which could be causing that is if you set the paramedicPlayerHealth value to something other than an integer in the config file. Or you set one of the other values to something incorrect.

Edited by LukeD

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

That's just a warning but the only thing which could be causing that is if you set the paramedicPlayerHealth value to something other than an integer in the config file. Or you set one of the other values to something incorrect.

 

Hmm, here's my INI

 

[MAIN]

ParamedicPlayerHealthBelow=100



[KEYBINDS]

RequestParamedic=R

RequestParamedicModifier=LShiftKey



RequestRemoval=X

RequestRemovalModifier=LShiftKey



RevivePed=

RevivePedModifier=LShiftKey



RepairEngine=

RepairEngineModifier=LShiftKey



VehicleHazards=

VehicleHazardsModifier=None

Link to comment
Share on other sites

Hmm, here's my INI

RevivePed=
RevivePedModifier=LShiftKey

RepairEngine=
RepairEngineModifier=LShiftKey

VehicleHazards=
VehicleHazardsModifier=None

There is the issue.

The 3 functions have been given no assignment at all and so cannot parse a keybind from the blank string. If you want to disable the feature set it to "None" like you gave done with the hazard modifier. That will stop the warning from coming up.

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

Hi guys!

You have some cool ideas put into this mod!
Unfortunately, my game always crashes, when I recieve a callout, or at least I think so.
When I'm "busy" I dont get any crashes at all and all the features like removal team or paramedic work great!

But as soon as I am "no longer busy" the game crashes after a short time so I think it's caused by the callouts.

 

Can I post any files that would help you analyse my problem?

Btw, I use Wouter'sCallouts which work flawlessly, the Indicator Script, the Vehicle Speed Control Mod, TrafficFlow, vanilla Cars, LCPD:FR 1.0c and Version 0.4.2a of your mod.

Thanks in advance!

 

EDIT:

I tried re-downloading and re-installing your mod and strangely enough I don't have any more issues!
Must have been a one-time error with the download or whatever...

Thanks for your efforts, anyway.
Keep up the great work!

Edited by WReck3D
Link to comment
Share on other sites

I have the following Problem: 

I've set a Key to all the callout functions, but none of them seems to work in the game. 

What can I do ? 

Can you post the contents of your configuration file and the LCPDFR.log file please. (be sure to put them inside spoiler tags)

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

Error while processing callout: Race: Value cannot be null.
Parameter name: source at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at CalloutsPlus.Callouts.Races.Process()
at h0.Process()

 

LCPDFR 1.0C, VDH scripts, 1990s car pack.

Check out my YouTube channel to watch unique videos and get retro-themed mods first

Enjoying LSPDFR and retro police cars? Check out my YouTube Channel!

Link to comment
Share on other sites

Can you post the contents of your configuration file and the LCPDFR.log file please. (be sure to put them inside spoiler tags)

[MAIN]

ParamedicPlayerHealthBelow=75
 
[KEYBINDS]
RequestParamedic=R
RequestParamedicModifier=LShiftKey
 
RequestRemoval=X
RequestRemovalModifier=LShiftKey
 
RevivePed=Z
RevivePedModifier=LShiftKey
 
RepairEngine=E
RepairEngineModifier=LShiftKey
 
VehicleHazards=J
VehicleHazardsModifier=None

 

And I have 0.4.2a the latest I guess. 

Edited by SgtKyle
Link to comment
Share on other sites

Error while processing callout: Race: Value cannot be null.

Parameter name: source at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)

at CalloutsPlus.Callouts.Races.Process()

at h0.Process()

 

LCPDFR 1.0C, VDH scripts, 1990s car pack.

Spawning issue when using vehicle mods. Not a huge amount I can do about but will try and find a way to create a safety catch for it.

 

 

[MAIN]

ParamedicPlayerHealthBelow=75
 
[KEYBINDS]
RequestParamedic=R
RequestParamedicModifier=LShiftKey
 
RequestRemoval=X
RequestRemovalModifier=LShiftKey
 
RevivePed=Z
RevivePedModifier=LShiftKey
 
RepairEngine=E
RepairEngineModifier=LShiftKey
 
VehicleHazards=J
VehicleHazardsModifier=None

 

And I have 0.4.2a the latest I guess. 

 

I need the LCPDFR log too because your ini file seems perfectly fine.

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

Spawning issue when using vehicle mods. Not a huge amount I can do about but will try and find a way to create a safety catch for it.

 

I need the LCPDFR log too because your ini file seems perfectly fine.

Oh, now it works fine, seemed to be some starting failure.  :wallbash: 

Alright, thanks for your help.  :thumbsup:

Link to comment
Share on other sites

Spawning issue when using vehicle mods. Not a huge amount I can do about but will try and find a way to create a safety catch for it.

Try to do it. I think I'm not alone with this problem. On vanilla vehicles game is quite different.

Check out my YouTube channel to watch unique videos and get retro-themed mods first

Enjoying LSPDFR and retro police cars? Check out my YouTube Channel!

Link to comment
Share on other sites

Try to do it. I think I'm not alone with this problem. On vanilla vehicles game is quite different.

No you are not alone, the issue has been reported before and again the user reporting it was using vehicle mods. I have never seen this error occur with the vanilla cars. But I will see what can be done extra to help catch 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

No you are not alone, the issue has been reported before and again the user reporting it was using vehicle mods. I have never seen this error occur with the vanilla cars. But I will see what can be done extra to help catch it.

I will wait for the update and hope that this problem will be solved. Thank you!

Check out my YouTube channel to watch unique videos and get retro-themed mods first

Enjoying LSPDFR and retro police cars? Check out my YouTube Channel!

Link to comment
Share on other sites

  • 2 weeks later...

New Release!!!

 

Version 0.4.3a has been released and is available for download at the >download page.

 

Changelog:

• Hopefully solved the "race: value cannot be null" issue, but as I have never witnessed it myself in all my testing I will need reports on this if it still causes issues.

• Added a catch to both the paramedic and removal team allowing the player to disregard them should they magically end up in an unrecoverable position (like the ocean).

 

How the new catch works:

To disregard a removal/paramedic simply hit the keybind you specified in the config file again, it acts as a toggle feature. Meaning only 1 paramedic/removal can be called at a given time.  HOWEVER once the paramedic/removal reaches the specified distance to the player they cannot be disregarded and must be allowed to go through their routine (removing a car/reviving a ped) as they would normally. But to be honest if they arrived without issues I don't see why you would disregard them.

 

If the script faults and fails to spawn something it will automatically reset so you can call another, no need to disregard something which doesn't exist.

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

Good. Script Race today started from 3rd time. On 0.4.2a he didn't launch


[ERROR - 8:56:32 PM] [script.CalloutManager] Error while processing callout: Race: Value cannot be null.
Parameter name: source at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at CalloutsPlus.Callouts.Races.Process()
at h0.Process()
[ERROR - 8:56:32 PM] [script.Race] System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at CalloutsPlus.Callouts.Races.Process()
at h0.Process()
[ERROR - 8:56:32 PM] [ExceptionHandler] System.Linq.Enumerable.Count(IEnumerable`1 source, Func`2 predicate) L_0003
CalloutsPlus.Callouts.Races.Process() L_0021
h0.Process() L_022e
Error hash: 1D2F505B16A5DBC0A3F8E865DDA2DFB4C6BDEB01
[WARNING - 20:56:44] [AudioDatabase] GetAudioFileForAction: No file found for: DENVER_AVE
[ERROR - 8:56:47 PM] [script.CalloutManager] Error while processing callout: Race: Value cannot be null.
Parameter name: source at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at CalloutsPlus.Callouts.Races.Process()
at h0.Process()
[ERROR - 8:56:47 PM] [script.Race] System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
at CalloutsPlus.Callouts.Races.Process()
at h0.Process()
[ERROR - 8:56:47 PM] [ExceptionHandler] System.Linq.Enumerable.Count(IEnumerable`1 source, Func`2 predicate) L_0003
CalloutsPlus.Callouts.Races.Process() L_0021
h0.Process() L_022e
Error hash: 1D2F505B16A5DBC0A3F8E865DDA2DFB4C6BDEB01
[WARNING - 20:57:06] [serverCommunication] UpdateServerValue: Failed to update server stat: chases
[WARNING - 20:57:46] [serverCommunication] UpdateServerValue: Failed to update server stat: helis
[WARNING - 8:58:41 PM] [AudioHelper] formattedStreet Columbus_Ave
[WARNING - 8:58:41 PM] [AudioHelper] audioFilePath E:Program Files (x86)Rockstar GamesGrand Theft Auto IV - Episodes From Liberty CitylcpdfrAudioPoliceScannerStreetsCOLUMBUS_AVE.wav
[WARNING - 8:58:41 PM] [AudioHelper] streetName Columbus_Ave
[WARNING - 8:59:00 PM] [AudioHelper] formattedStreet Bismarck_Ave
[WARNING - 8:59:00 PM] [AudioHelper] audioFilePath E:Program Files (x86)Rockstar GamesGrand Theft Auto IV - Episodes From Liberty CitylcpdfrAudioPoliceScannerStreetsBISMARCK_AVE.wav
[WARNING - 8:59:00 PM] [AudioHelper] streetName Bismarck_Ave
[WARNING - 20:59:57] [AudioDatabase] GetAudioFileForAction: No file found for: DENVER-EXETER_AVE
[WARNING - 8:59:57 PM] [AudioHelper] formattedStreet Denver-Exeter_Ave
[WARNING - 8:59:57 PM] [AudioHelper] audioFilePath
[WARNING - 20:59:57] [AudioDatabase] GetAudioFileForAction: No file found for: NICKEL_ST
[WARNING - 8:59:57 PM] [AudioHelper] formattedStreet Nickel_St
[WARNING - 8:59:57 PM] [AudioHelper] audioFilePath
[WARNING - 9:00:49 PM] [Chase] Process: Attempt to assign fleeing task while being busted
[WARNING - 9:00:50 PM] [Chase] Process: Attempt to assign fleeing task while being busted
[WARNING - 9:00:50 PM] [Chase] Process: Attempt to assign fleeing task while being busted
[WARNING - 9:00:54 PM] [Chase] Process: Attempt to assign fleeing task while being busted
[WARNING - 9:00:59 PM] [Chase] Process: Attempt to assign fleeing task while being busted
[WARNING - 9:01:04 PM] [Chase] Process: Attempt to assign fleeing task while being busted
[WARNING - 9:01:05 PM] [Chase] Process: Attempt to assign fleeing task while being busted
[WARNING - 9:01:15 PM] [AudioHelper] formattedStreet Kunzite_St
[WARNING - 9:01:15 PM] [AudioHelper] audioFilePath E:Program Files (x86)Rockstar GamesGrand Theft Auto IV - Episodes From Liberty CitylcpdfrAudioPoliceScannerStreetsKUNZITE_ST.wav
[WARNING - 9:01:15 PM] [AudioHelper] streetName Kunzite_St
[WARNING - 21:01:38] [AudioDatabase] GetAudioFileForAction: No file found for: NICKEL_ST
[WARNING - 9:02:56 PM] [AudioHelper] formattedStreet Frankfort_Ave
[WARNING - 9:02:56 PM] [AudioHelper] audioFilePath E:Program Files (x86)Rockstar GamesGrand Theft Auto IV - Episodes From Liberty CitylcpdfrAudioPoliceScannerStreetsFRANKFORT_AVE.wav
[WARNING - 9:02:56 PM] [AudioHelper] streetName Frankfort_Ave

Check out my YouTube channel to watch unique videos and get retro-themed mods first

Enjoying LSPDFR and retro police cars? Check out my YouTube Channel!

Link to comment
Share on other sites

Good. Script Race today started from 3rd time. On 0.4.2a he didn't launch

 

Not sure what you're trying to say, could you explain a little more for me?

 

Yay that's great! Thanks a lot man. :smile:

You're welcome :)

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

Not sure what you're trying to say, could you explain a little more for me?

When i launch old version i input "startcallout race" and it not launch chase, only errors.

On the new version of the chase started up after the third command input.

Check out my YouTube channel to watch unique videos and get retro-themed mods first

Enjoying LSPDFR and retro police cars? Check out my YouTube Channel!

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