im also getting a depricated hook myself. Plug needs an update please
TY
im also getting a depricated hook myself. Plug needs an update please
TY
tyty46His vanish mod is suffering from the update too. He is going to need a minute lol.
Yea I see the Vanish mod is working too well now. It Vanishes all the ojects, bases, players and my girlfriend. But kits is probably first on the todo list.
I have completely, absolutely deleted every single thing named kits in every folder on my server and I STILL get this message and encounter a blank gray box when I use the kit command. I don't know what to do anymore.
(01:05:02) | Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.95' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits+UI.LoadImage (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panel, System.String img, System.String aMin, System.String aMax) [0x00000] in <57d4c54da386427d8f990aa0e49ead15>:0
at Oxide.Plugins.Kits.CreateKitEntry (BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer& element, System.String panel, System.Single[] pos, System.String entry) [0x0011b] in <57d4c54da386427d8f990aa0e49ead15>:0
at Oxide.Plugins.Kits.RefreshKitPanel (BasePlayer player, System.UInt64 guiId, System.Int32 page) [0x001de] in <57d4c54da386427d8f990aa0e49ead15>:0
at Oxide.Plugins.Kits.NewKitPanel (BasePlayer player, System.UInt64 guiId) [0x00022] in <57d4c54da386427d8f990aa0e49ead15>:0
at Oxide.Plugins.Kits.cmdChatKit (BasePlayer player, System.String command, System.String[] args) [0x0001a] in <57d4c54da386427d8f990aa0e49ead15>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0102a] in <57d4c54da386427d8f990aa0e49ead15>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <8a646463979e4a1d9c0e2f1298e9483f>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1fe782f4b27a43ae85d29ebb2d56c007>:0Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.95' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits+UI.LoadImage (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panel, System.String img, System.String aMin, System.String aMax) [0x00000] in <007702936c7d4b698dd3d445e799d1c7>:0
at Oxide.Plugins.Kits.CreateKitEntry (BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer& element, System.String panel, System.Single[] pos, System.String entry) [0x0011b] in <007702936c7d4b698dd3d445e799d1c7>:0
at Oxide.Plugins.Kits.RefreshKitPanel (BasePlayer player, System.UInt64 guiId, System.Int32 page) [0x001de] in <007702936c7d4b698dd3d445e799d1c7>:0
at Oxide.Plugins.Kits.NewKitPanel (BasePlayer player, System.UInt64 guiId) [0x00022] in <007702936c7d4b698dd3d445e799d1c7>:0
at Oxide.Plugins.Kits.cmdChatKit (BasePlayer player, System.String command, System.String[] args) [0x0001a] in <007702936c7d4b698dd3d445e799d1c7>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0102a] in <007702936c7d4b698dd3d445e799d1c7>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3e46d2a997e94a3cb08cf065508cd483>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1fe782f4b27a43ae85d29ebb2d56c007>:0 OK, I fixed it, sort of. Here's how: (yes, it's the method above, just stepped)
1. Make sure you have kits.admin permission.
1. type in chat /kit list for a list of kits
2. type in chat /kit edit <OneOfYourKits>
3. type in chat /kit image https://i.imgur.com/6ohsxkb.png
4. type /kit and see if the GUI works. If it does, yay. It's fixed. If it doesn't, then I guess I'm wrong. Feel free to come here and tell me so.
If you are using image library plugin you need to delete the data file and reload plugin should work fine after that
Failed to call hook 'CmdChatKit' on plugin 'Kits v3.3.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits.BuildWeapon (System.Int32 id, System.UInt64 skin, System.Collections.Generic.List`1[T] mods) [0x00009] in <ec93012b78cb46f89587fc0032eb23bc>:0
at Oxide.Plugins.Kits.GiveKit (BasePlayer player, System.String kitname) [0x00068] in <ec93012b78cb46f89587fc0032eb23bc>:0
at Oxide.Plugins.Kits.TryGiveKit (BasePlayer player, System.String kitname) [0x0001e] in <ec93012b78cb46f89587fc0032eb23bc>:0
at Oxide.Plugins.Kits.CmdChatKit (BasePlayer player, System.String command, System.String[] args) [0x003ba] in <ec93012b78cb46f89587fc0032eb23bc>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e1a] in <ec93012b78cb46f89587fc0032eb23bc>: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 RockyFailed to call hook 'CmdChatKit' on plugin 'Kits v3.3.0' (NullReferenceException: Object reference not set to an instance of an object)
Could you please PM me your kits data file and the name of the kit that caused it so i can reproduce it?