Jump to content
×
×
  • Create New...
  • 1.1.4 Speed Zones


    • What issue are you experiencing? Vehicles that pass through a speedzone that is removed will not move.
    • What did you do for this bug to occur? Have 2 players in close proximity to each other, have one place a speedzone, and go to the edge of a speedzone, have the other player stand in the speedzone area, Have the other player delete the speed zone and Then all the vehicles will still be effected by that speed zone. This bug is more noticable in the 80-100 radius speed zones.
    • Do you own the server on which this bug occured? No
    • Attach a screenshot of your ingame console (Press F8 to open it) No mention of fivepd in the console.
    • Attach a picture or a GIF, but the best is if you can provide a full video of it! 

    image.thumb.png.9c0e745837fbdc44bc511cce3d6d79a6.png


    User Feedback

    Recommended Comments

    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:

    1. Player 1 places a speedzone (Speedzone 1).
    2. Player 2 places a speedzone (Speedzone 2).
    3. Player 1 deletes his own speedzone.
    4. Player 1 receives the error in the console  (Error 1).
    5. Speedzone 1 is deleted for both players.
    6. Player 2 deletes his own speedzone.
    7. Speedzone 2 is deleted for player 2, but not for player 1.
    8. Player 1 places a new speedzone (Speedzone 3).
    9. Player 1 receives another error in the console (Error 2).
    10. Scene Menu for player 1 is showing that there is a speedzone - see Screenshot 1.
    11. Player 1 deletes the new speedzone.
    12. 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 

     

    Screenshot1.png

     

    This person wrote a much more detailed report that me, so please refer to this as well

     

    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
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      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.


  • Recently Browsing   0 members

    No registered users viewing this page.

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.