Staff Applications open to the public! ×
Jump to content
×
×
  • Create New...

HB117

Member
  • Posts

    14
  • Joined

  • Last visited

GPM TrustFactor Score

80% 80%

Recent Profile Visitors

279 profile views

HB117's Achievements

Patrol Officer

Patrol Officer (2/9)

  • 1 Year of Service

Recent Badges

7

Reputation

  1. I'm not one of the developers but I would think they're going to need a little bit more context in order to figure out what's causing it. I think it'll help a lot if you manage to get steps to reproduce the error. Also, I would suggest clearing out some of the callouts and see if the error persists. The reason I say this is, if this was an issue with core FivePD, I think it would've been a commonly reported error, which I don't think it is. It could be caused by one of the callouts.
  2. Does this just happen randomly, or are you actually trying to do something in FivePD? E.g. pull over a vehicle or accept a callout? Potentially one of the callouts is causing this, so you could maybe try disabling the callouts one by one using the Developer Menu?
  3. This is the bug reports section of the forum where you can report issues with the software. And with issues I mean specifically the types of issues where FivePD does not work as intended. Since you don't really have an idea what might be causing your issue, I would think it would be better suited in the support section of the forums. Have a look (and possibly search for a solution) in that section. If for good reason you still think that this is a bug, then at least read this topic that gives you an idea of what information the developers need to fix the bug.
  4. Also, are you aware you need to turn on your sirens or lights to actually make the vehicle pull over in the newer versions of FivePD? With the shift-button, you will only "mark" the vehicle you'd like to pull over, the siren or lights signal the selected vehicle to actually pull over.
  5. I ran into this issue as well and came up with a list of steps that need to be taken to reproduce. Requirements: 2 Players FivePD v1.1.4 Steps to reproduce: Player 1 places a speedzone (Speedzone 1). Player 2 places a speedzone (Speedzone 2). Player 1 deletes his own speedzone. Player 1 receives the error in the console (Error 1). Speedzone 1 is deleted for both players. Player 2 deletes his own speedzone. Speedzone 2 is deleted for player 2, but not for player 1. Player 1 places a new speedzone (Speedzone 3). Player 1 receives another error in the console (Error 2). Scene Menu for player 1 is showing that there is a speedzone - see Screenshot 1. Player 1 deletes the new speedzone. Player 1 receives another error in the console (Error 3), this is the same exception the OP reported. Error 1 Error invoking callback for event FIVEPD::_setSpeedzone: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException (System.ExceptionResource resource) [0x0000b] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Insert (TKey key, TValue value, System.Boolean add) [0x0007c] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <74fbbe963b7e417b8d715b858c5c584f>:0 at ykTm3nHxlaa9ၟ⼌؟ῳc׼ր᠐ۈኆᡡቦ⾋۪᝶ᢥཪῘա؄⽀׼ἰིᾂOဖGΊ཭ٵă⽙ᢇጺྂ⾭.ykTm3nHxlaa9Ἒ؄ؓὟ⻖὾Ἶ⾳⽖Ćஂ‫ጠ֩⾿ᡒډီፕչ፼ኔዀ⺇⻛ၵ௯Ῡၐቾጩஷὒἴንጴ (System.Single Ť, System.Single ť, System.Single Ŧ, System.Int32 ŧ, System.Single Ũ, System.Int32 ũ) [0x000be] in <cb6258fa00b248c6a3b5692cc65bb65f>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <74fbbe963b7e417b8d715b858c5c584f>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <74fbbe963b7e417b8d715b858c5c584f>:0 at CitizenFX.Core.EventHandlerEntry+<Invoke>d__5.MoveNext () [0x00064] in C:\gl\builds\edf06b9b\0\cfx\fivem\code\client\clrcore\EventHandlerDictionary.cs:89 Error 2 Error invoking callback for event FIVEPD::_deleteSpeedzone: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <31b946cfddcc4ab993dd6d559e89c25f>:0 at ykTm3nHxlaa9ၟ⼌؟ῳc׼ր᠐ۈኆᡡቦ⾋۪᝶ᢥཪῘա؄⽀׼ἰིᾂOဖGΊ཭ٵă⽙ᢇጺྂ⾭.ykTm3nHxlaa9Ἒ؄ؓὟ⻖὾Ἶ⾳⽖Ćஂ‫ጠ֩⾿ᡒډီፕչ፼ኔዀ⺇⻛ၵ௯Ῡၐቾጩஷὒἴንጵ (System.Single Ū, System.Single ū, System.Single Ŭ) [0x000aa] in <cb6258fa00b248c6a3b5692cc65bb65f>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <74fbbe963b7e417b8d715b858c5c584f>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <74fbbe963b7e417b8d715b858c5c584f>:0 at CitizenFX.Core.EventHandlerEntry+<Invoke>d__5.MoveNext () [0x00064] in C:\gl\builds\edf06b9b\0\cfx\fivem\code\client\clrcore\EventHandlerDictionary.cs:89 Error 3 Failed to run a tick for MenuController: System.InvalidOperationException: Sequence contains no matching element at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <31b946cfddcc4ab993dd6d559e89c25f>:0 at ykTm3nHxlaa9ၟ⼌؟ῳc׼ր᠐ۈኆᡡቦ⾋۪᝶ᢥཪῘա؄⽀׼ἰིᾂOဖGΊ཭ٵă⽙ᢇጺྂ⾭.ykTm3nHxlaa9Ἒ؄ؓὟ⻖὾Ἶ⾳⽖Ćஂ‫ጠ֩⾿ᡒډီፕչ፼ኔዀ⺇⻛ၵ௯Ῡၐቾጩஷὒἴንጷ () [0x0001a] in <cb6258fa00b248c6a3b5692cc65bb65f>:0 at ykTm3nHxlaa9ၟ⼌؟ῳc׼ր᠐ۈኆᡡቦ⾋۪᝶ᢥཪῘա؄⽀׼ἰིᾂOဖGΊ཭ٵă⽙ᢇጺྂ⾩+<>c.ykTm3nHxlaa9ὒᾧழቺ۲Ὀؤྲᢉ᠍བྷŌᠰ׺L፼ቆ؅ၜཪԿፘ⻊־஁ᝒٸၱྼ௉࿭༒ா᝞ķၻ࿥ (MenuAPI.Menu ŀ, MenuAPI.MenuItem Ł, System.Int32 ł) [0x00294] in <cb6258fa00b248c6a3b5692cc65bb65f>:0 at MenuAPI.Menu.ItemSelectedEvent (MenuAPI.MenuItem menuItem, System.Int32 itemIndex) [0x00001] in C:\projects\menuapi\MenuAPI\Menu.cs:193 at MenuAPI.Menu.SelectItem (MenuAPI.MenuItem item) [0x000d1] in C:\projects\menuapi\MenuAPI\Menu.cs:752 at MenuAPI.Menu.SelectItem (System.Int32 index) [0x0002e] in C:\projects\menuapi\MenuAPI\Menu.cs:712 at MenuAPI.MenuController+<ProcessMainButtons>d__70.MoveNext () [0x000dd] in C:\projects\menuapi\MenuAPI\MenuController.cs:317
  6. I have personally noticed as well that there are too many vehicles triggering ALPR alerts. I can trigger at least 5-10 driving down a busy street. Would it be possible to lower the chance of an ALPR hit, or making it so you can only get a maximum of one hit every 5 minutes (maybe even configurable) or so?
  7. You can actually already do this by setting the AI driving ability LukeD. I've got this working in a script already. It's not that performance heavy as it is supported in the game by default. Just need to loop through all the cars every 5-10 seconds or so to set the property.
  8. It'd be nice if there was an option for you to retrieve the current location in the Manage Department screen, just like you have in the Create Department screen. This is useful for when you want to make an update to the location of an existing department. Right now, you'd need a custom script to retrieve the coords.
  9. I've figured out that apparently .rar archives behave terribly on my computer, resulting in files not properly being extracted and copied into the target folder. After manually extracting the FivePD download and copying the necessary files it actually properly updated FivePD. Thread can be closed.
  10. I've updated from 1.0.5.2 to 1.0.6.1, following the steps, replacing the necessary files and folders. After starting the server I've noticed that there are 2 distinct errors in the client log: [ Five^4PD ^0]^1 An error has occured: Invalid `mdt_vehicles.json` file.^0 Exception during executing Post callback: System.ArgumentNullException: Value cannot be null. Parameter name: s at System.IO.StringReader..ctor (System.String s) [0x00009] in <74fbbe963b7e417b8d715b858c5c584f>:0 at (wrapper remoting-invoke-with-check) System.IO.StringReader:.ctor (string) at Newtonsoft.Json.Linq.JArray.Parse (System.String json, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x00000] in <d7f577efea6043649cddd7a978a2c473>:0 at Newtonsoft.Json.Linq.JArray.Parse (System.String json) [0x00000] in <d7f577efea6043649cddd7a978a2c473>:0 at obfuscated() [0x00061] in <dc489a6f4913480494484a2cc6cb8a52>:0 at obfuscated.ctor () [0x00647] in <dc489a6f4913480494484a2cc6cb8a52>:0 at obfuscated.MoveNext () [0x00306] in <dc489a6f4913480494484a2cc6cb8a52>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <74fbbe963b7e417b8d715b858c5c584f>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) [0x00000] in <74fbbe963b7e417b8d715b858c5c584f>:0 at CitizenFX.Core.CitizenSynchronizationContext+<>c__DisplayClass1_0.<Post>b__0 () [0x00000] in C:\gl\builds\edf06b9b\0\cfx\fivem\code\client\clrcore\CitizenTaskScheduler.cs:20 at CitizenFX.Core.CitizenSynchronizationContext.Tick () [0x00046] in C:\gl\builds\edf06b9b\0\cfx\fivem\code\client\clrcore\CitizenTaskScheduler.cs:41 [ Five^4PD ^0]^1 An error has occured: Could not load languages: System.ArgumentNullException: Value cannot be null. Parameter name: s at System.IO.StringReader..ctor (System.String s) [0x00009] in <74fbbe963b7e417b8d715b858c5c584f>:0 at (wrapper remoting-invoke-with-check) System.IO.StringReader:.ctor (string) at Newtonsoft.Json.Linq.JObject.Parse (System.String json, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x00000] in <d7f577efea6043649cddd7a978a2c473>:0 at Newtonsoft.Json.Linq.JObject.Parse (System.String json) [0x00000] in <d7f577efea6043649cddd7a978a2c473>:0 at obfuscated (System.String Ļ) [0x00169] in <a5e2e1ebee104e42b8820be7cb6f1aa4>:0 ^0 I saw in another post that doing a full reinstall of FivePD should solve the issue. I have done so, removing all the files from previous versions, without luck. My guess would be that there's something going on with the Newtonsoft.Json library, but I'm not positive. Any suggestions?

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.