Jump to content

Failed to call hook 'cmdWarnGUI

Can't Reproduce 2.4.2 2.5.0-beta2

BeePssY
BeePssY

Posted

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

 

 

FakeNinja

Posted

Changed Status from Pending to Work in Progress

FakeNinja

Posted (edited)

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
FakeNinja

Posted

Changed Status from Work in Progress to Can't Reproduce

Changed Fixed In to 2.5.0-beta2

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.6k

Files Sold

Total number of files sold.

2.1m

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.