Report reply marduk Posted September 13, 2020 Failed to call hook 'OnPlayerConnected' on plugin 'TheButton v1.0.5' (ArgumentException: An item with the same key has already been added. Key: 76561198877323916) at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 at Oxide.Plugins.TheButton.OnPlayerConnected (BasePlayer player) [0x00026] in <b3e8dae0403f4519abe6b6eb75ad0fea>:0 at Oxide.Plugins.TheButton.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00169] in <b3e8dae0403f4519abe6b6eb75ad0fea>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 Quote Share this comment Link to comment
Report reply MikeHawke Posted September 15, 2020 Its hard to reproduce.. have a feeling that it was some timing issue.. something not firing off correctly.. was this around boot? Have a possible fix that I'm testing my end before posting anyway. Quote Share this comment Link to comment
Report reply marduk Posted September 15, 2020 not close to boot 6hours after Quote Share this comment Link to comment
Report reply MikeHawke Posted September 15, 2020 bottom.... okay.. let me try my version out a bit more and i'll push it tomorrow (11:30pm at the mo) Quote Share this comment Link to comment
Report reply MikeHawke Posted September 18, 2020 hopefully sorted.. can you try 1.0.6 for me and reopen this if the problem isnt sorted Quote Share this comment Link to comment
Report reply MikeHawke Posted September 18, 2020 Changed Status from Pending to ClosedChanged Fixed In to 1.0.6 1 Quote Share this comment Link to comment