{ "765xxxxxxxxxxxx62": { "Name": "noplayer", "Count": 3, "Points": 13, "WarnData": { "1": { "Category": "test", "Reason": "test", "Acknowledged": false, "ExpDate": "03/04/2023 12:18:39", "WarnDate": "03/04/2023 12:09:09", "WarnedBy": "noadmin" }, "2": { "Category": "sign", "Reason": "Inappropriate signage", "Acknowledged": false, "ExpDate": "03/18/2023 12:09:29", "WarnDate": "03/04/2023 12:09:29", "WarnedBy": "noadmin" }, "3": { "Category": "Specific", "Reason": "testing specific", "Acknowledged": false, "ExpDate": "03/18/2023 12:09:38", "WarnDate": "03/04/2023 12:09:38", "WarnedBy": "noadmin" } } } } /warn clear 765xxxxxxxxxxxx62 1 /warn clear 765xxxxxxxxxxxx62 "1" (12:12:19) | Failed to call hook 'cmdWarnGUI' on plugin 'SmartWarnings v2.5.8' (KeyNotFoundException: The given key was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0 at Oxide.Plugins.SmartWarnings.ClearPlayerWarnings (Oxide.Core.Libraries.Covalence.IPlayer player, System.String adminName, System.String warnId) [0x000e8] in <09ecea6d4bbe45f3bf5d6912c8db692c>:0 at Oxide.Plugins.SmartWarnings.cmdWarnGUI (Oxide.Core.Libraries.Covalence.IPlayer player, System.String cmd, System.String[] args) [0x002d6] in <09ecea6d4bbe45f3bf5d6912c8db692c>:0 at Oxide.Plugins.SmartWarnings.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00669] in <09ecea6d4bbe45f3bf5d6912c8db692c>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 /warn clear 765xxxxxxxxxxxx62 all (12:12:25) | Failed to call hook 'cmdWarnGUI' on plugin 'SmartWarnings v2.5.8' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Game.Rust.Libraries.Player.Message (BasePlayer player, System.String message, System.String prefix, System.UInt64 userId, System.Object[] args) [0x0004e] in <395e4326ed58434196c2d9228e1e144c>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in <395e4326ed58434196c2d9228e1e144c>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message, System.String prefix, System.Object[] args) [0x0000f] in <395e4326ed58434196c2d9228e1e144c>:0 at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message) [0x00008] in <395e4326ed58434196c2d9228e1e144c>:0 at Oxide.Plugins.SmartWarnings.ClearPlayerWarnings (Oxide.Core.Libraries.Covalence.IPlayer player, System.String adminName, System.String warnId) [0x000b3] in <09ecea6d4bbe45f3bf5d6912c8db692c>:0 at Oxide.Plugins.SmartWarnings.cmdWarnGUI (Oxide.Core.Libraries.Covalence.IPlayer player, System.String cmd, System.String[] args) [0x002d6] in <09ecea6d4bbe45f3bf5d6912c8db692c>:0 at Oxide.Plugins.SmartWarnings.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00669] in <09ecea6d4bbe45f3bf5d6912c8db692c>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 ---------------------------------------------------------------------------------------------------------- [rustserver@ct-lab-rust-alma8 ~]$ cat serverfiles/oxide/data/SmartWarnings_PlayerData.json { "765xxxxxxxxxxxx62": { "Name": "noplayer", "Count": 3, "Points": 13, "WarnData": { "1": { "Category": "test", "Reason": "test", "Acknowledged": false, "ExpDate": "03/04/2023 12:18:39", "WarnDate": "03/04/2023 12:09:09", "WarnedBy": "noadmin" }, "2": { "Category": "sign", "Reason": "Inappropriate signage", "Acknowledged": false, "ExpDate": "03/18/2023 12:09:29", "WarnDate": "03/04/2023 12:09:29", "WarnedBy": "noadmin" }, "3": { "Category": "Specific", "Reason": "testing specific", "Acknowledged": false, "ExpDate": "03/18/2023 12:09:38", "WarnDate": "03/04/2023 12:09:38", "WarnedBy": "noadmin" } } } } #// warn issued from console while target player online. #// player saw and ack'd warning, but now the other three warnings disappeared from the file [rustserver@ct-lab-rust-alma8 ~]$ cat serverfiles/oxide/data/SmartWarnings_PlayerData.json { "765xxxxxxxxxxxx62": { "Name": "noplayer", "Count": 1, "Points": 10, "WarnData": { "4": { "Category": "test", "Reason": "test", "Acknowledged": true, "ExpDate": "03/04/2023 12:40:15", "WarnDate": "03/04/2023 12:30:45", "WarnedBy": "Server Console" } } } }[rustserver@ct-lab-rust-alma8 ~]$