Jump to content

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


Recommended Posts

Ah, my mistake. Sorry everyone!

Not a problem :)

 

 

Oh by the way folks, I uploaded a hotfix fr 0.3a (imaginatively called 0.3.1a) because the ini file didn't like reading integers and I had completely overlooked that. My bad, fixed now :)

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

Hey, LukeD. I've been seeing a script error and I don't know where it's coming from.

2014-04-27 00:14:32 - Error during NetHook.Tick:
                      System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
                         at Scripting.NativeContext2.Invoke(SByte* name, NativeContext2* cxt)
                         at GTA.Native.Function.BaseCall(String Name, Parameter[] Arguments)
                         at GTA.Native.Function.Call(String Name, Parameter[] Arguments)
                         at GTA.Native.Template.Invoke()
                         at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev)
                         at GTA.ScriptDomain.ProcessRemoteEvents()
                         at GTA.ScriptDomain.Tick()
                         at GTA.NetHook.Tick()

 

Could this be related to your plugin?

Link to comment
Share on other sites

Hey, LukeD. I've been seeing a script error and I don't know where it's coming from.

2014-04-27 00:14:32 - Error during NetHook.Tick:
                      System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
                         at Scripting.NativeContext2.Invoke(SByte* name, NativeContext2* cxt)
                         at GTA.Native.Function.BaseCall(String Name, Parameter[] Arguments)
                         at GTA.Native.Function.Call(String Name, Parameter[] Arguments)
                         at GTA.Native.Template.Invoke()
                         at GTA.ScriptDomain.RemoteEvent(RemoteEventArgs ev)
                         at GTA.ScriptDomain.ProcessRemoteEvents()
                         at GTA.ScriptDomain.Tick()
                         at GTA.NetHook.Tick()

Could this be related to your plugin?

 

My plugin does seem to be causing some strange behaviour in the scripts. This as well as one related to calling in pursuits with ALT + E.

At the moment I have no indication as to why these things are happening but am trying to narrow it down as much as possible.

 

Are you using 0.3.1a or 0.3a? I released a hotfix last night because the ini file was causing a little error.

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

3.1a, but I think I was noticing it with 2.0a also.

Okie dokie. I'll keep my eyes open for the cause of this. Cheers.

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

Maybe you can ask a developer of the LCPDFR mod to help fix the crash with ALT + E.

 

That one is fixed already. For precisely that reason :P

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

My game still chrashes when i start a pursuit with ALT + E.

2014-04-27 16:12:43 - Unhandled Exception: System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: value
bei System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
bei freval_320.eval_1.eval_fr0(eval_0 A_0)
bei System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
bei System.Linq.Buffer`1..ctor(IEnumerable`1 source)
bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
bei freval_320.eval_fr0(String A_0, String A_1)
bei freval_118.eval_fr0(String A_0, Boolean A_1, String A_2)
bei freval_118.eval_fr9(Object A_0)
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart(Object obj)
2014-04-27 16:12:43 - CRASH!

 

 

Link to comment
Share on other sites

My game still chrashes when i start a pursuit with ALT + E.

2014-04-27 16:12:43 - Unhandled Exception: System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: value
bei System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
bei freval_320.eval_1.eval_fr0(eval_0 A_0)
bei System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
bei System.Linq.Buffer`1..ctor(IEnumerable`1 source)
bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
bei freval_320.eval_fr0(String A_0, String A_1)
bei freval_118.eval_fr0(String A_0, Boolean A_1, String A_2)
bei freval_118.eval_fr9(Object A_0)
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart(Object obj)
2014-04-27 16:12:43 - CRASH!

That's because when I said it as fixed I didn't mean it was fixed in my plugin. The issue is outside of my plugin, meaning you'll have to wait for the patch for LCPDFR.

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

Your script version 0.3.1 provokes error MSCORLIB. Yesterday I had version 0.2 and everything worked well. Error when trying to fall to announce the beginning of any pursuit. (call in pursuit, alt + E) The same error was the script for VIP defense.


2014-04-27 23:15:48 - Unhandled Exception: System.ArgumentNullException: Значение не может быть неопределенным.
Имя параметра: value
в System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
в freval_320.eval_1.eval_fr0(eval_0 A_0)
в System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
в System.Linq.Buffer`1..ctor(IEnumerable`1 source)
в System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
в freval_320.eval_fr0(String A_0, String A_1)
в freval_118.eval_fr0(String A_0, Boolean A_1, String A_2)
в freval_118.eval_fr9(Object A_0)
в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ThreadHelper.ThreadStart(Object obj)
2014-04-27 23:15:48 - CRASH!
2014-04-27 23:15:48 - Unhandled Exception: System.ArgumentNullException: Значение не может быть неопределенным.
Имя параметра: value
в System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
в freval_320.eval_1.eval_fr0(eval_0 A_0)
в System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()
в System.Linq.Buffer`1..ctor(IEnumerable`1 source)
в System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
в freval_320.eval_fr0(String A_0, String A_1)
в freval_118.eval_fr0(String A_0, Boolean A_1, String A_2)
в freval_118.eval_fr9(Object A_0)
в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ThreadHelper.ThreadStart(Object obj)
2014-04-27 23:15:48 - CRASH!

Old version works good, this is my video with it.

http://www.youtube.com/watch?v=3OhUGu2oBWg

Edited by JohnLozano

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

Your script version 0.3.1 provokes error MSCORLIB. Yesterday I had version 0.2 and everything worked well. Error when trying to fall to announce the beginning of any pursuit. (call in pursuit, alt + E) The same error was the script for VIP defense.

2014-04-27 23:15:48 - Unhandled Exception: System.ArgumentNullException: Значение не может быть неопределенным.

Имя параметра: value

в System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)

в freval_320.eval_1.eval_fr0(eval_0 A_0)

в System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()

в System.Linq.Buffer`1..ctor(IEnumerable`1 source)

в System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

в freval_320.eval_fr0(String A_0, String A_1)

в freval_118.eval_fr0(String A_0, Boolean A_1, String A_2)

в freval_118.eval_fr9(Object A_0)

в System.Threading.ThreadHelper.ThreadStart_Context(Object state)

в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

в System.Threading.ThreadHelper.ThreadStart(Object obj)

2014-04-27 23:15:48 - CRASH!

2014-04-27 23:15:48 - Unhandled Exception: System.ArgumentNullException: Значение не может быть неопределенным.

Имя параметра: value

в System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)

в freval_320.eval_1.eval_fr0(eval_0 A_0)

в System.Linq.Enumerable.WhereArrayIterator`1.MoveNext()

в System.Linq.Buffer`1..ctor(IEnumerable`1 source)

в System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)

в freval_320.eval_fr0(String A_0, String A_1)

в freval_118.eval_fr0(String A_0, Boolean A_1, String A_2)

в freval_118.eval_fr9(Object A_0)

в System.Threading.ThreadHelper.ThreadStart_Context(Object state)

в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

в System.Threading.ThreadHelper.ThreadStart(Object obj)

2014-04-27 23:15:48 - CRASH!

Old version works good, this is my video with it.

 

 

 

I am aware that the script crashes the game when calling in a pursuit with versions 0.3a and higher. The issue however is not due to the plugins but more due to LCPDFR itself when running a n extra plugin for some reason. It has been addressed and will hopefully be resolved in the next hotfix for LCPDFR.

 

 Also nice video, I like 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

  • Management Team

Guess I'll have to use .2a for the time being since that bug makes the game near unplayable for me.

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

Link to comment
Share on other sites

When I called for an ambulance (LCPDFR) (CTRL + M) for to revive a dead person, then I suddenly realized that this Callouts+ has a feature to call in ambulance in less lethal, so I pressed Shift R (not sure) then control says ambulance .... ASAP, then suddenly it syas the script crashes by third party? DOes this crash is caused by calling an LCPDFR ambulance then call a Callouts+ ambulance simultaneously about for 4 seconds?

sig.jpg
Link to comment
Share on other sites

When I called for an ambulance (LCPDFR) (CTRL + M) for to revive a dead person, then I suddenly realized that this Callouts+ has a feature to call in ambulance in less lethal, so I pressed Shift R (not sure) then control says ambulance .... ASAP, then suddenly it syas the script crashes by third party? DOes this crash is caused by calling an LCPDFR ambulance then call a Callouts+ ambulance simultaneously about for 4 seconds?

 

Crash log?

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 am aware that the script crashes the game when calling in a pursuit with versions 0.3a and higher. The issue however is not due to the plugins but more due to LCPDFR itself when running a n extra plugin for some reason. It has been addressed and will hopefully be resolved in the next hotfix for LCPDFR.

 

 Also nice video, I like it :)

There is information when will the upgrade of LCPDFR? By the way there is a request to put the console commands for your calls. Old did not seem to work.

Glad you liked the video.

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

There is information when will the upgrade of LCPDFR? By the way there is a request to put the console commands for your calls. Old did not seem to work.

Glad you liked the video.

I'm afraid I'm not sure on when LCPDFR will be updated the devblog (http://devblog.lcpdfr.com/) says maybe this month.

 

As for console commands "startcallout" should still work 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

I'm afraid I'm not sure on when LCPDFR will be updated the devblog (http://devblog.lcpdfr.com/) says maybe this month.

 

As for console commands "startcallout" should still work fine.

I khow about "startcallout", but on 0.3a version startcallout race not work.

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

I khow about "startcallout", but on 0.3a version startcallout race not work.

I just checked the code, "startcallout Race" should work absolutely fine. Make sure you spelt it correctly.

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

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