Jump to content

Failed to call hook 'cmdWarnGUI

Can't Reproduce 2.4.2 2.5.0-beta2

im getting this error on both the new version and the 2.4.2 

its when i try to do (warn nickname something) in console.

 

 

Quote

 

Failed to call hook 'cmdWarnGUI' on plugin 'SmartWarnings v2.4.2' (ArgumentException: An item with the same key has already been added. Key: 4)

at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <fb001e01371b4adca20013e0ac763896>:0

at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Plugins.SmartWarnings.WarnPlayer (Oxide.Core.Libraries.Covalence.IPlayer targetPlayer, Oxide.Core.Libraries.Covalence.IPlayer adminPlayer, System.String preset) [0x00086] in <3c42ed2bb4f74a45901527496b389c0c>:0

at Oxide.Plugins.SmartWarnings.cmdWarnGUI (Oxide.Core.Libraries.Covalence.IPlayer player, System.String cmd, System.String[] args) [0x002b2] in <3c42ed2bb4f74a45901527496b389c0c>:0

at Oxide.Plugins.SmartWarnings.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004b4] in <3c42ed2bb4f74a45901527496b389c0c>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

 

 

Share this comment


Link to comment

Hi,

Can you send me (in private message): the oxide/data/SmartWarnings_PlayerData.json and tell me the exact command you used.

I will try to recreate it and patch it if there is an issue with the plugin. Thanks

Edited by FakeNinja

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.5k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

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.