NullReferenceException at UI.LoadImageError

im also getting a depricated hook myself. Plug needs an update please

TY

Same Error. Time to do your thing Whispers88.
His vanish mod is suffering from the update too. He is going to need a minute lol.
tyty46
His 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>:0


Merged post

For those who has issues where Kit freezes. Just do an oxide.reload. 

And yes this Plugin really needs fixing.  Whenever certain Kits are added, things will just go wrong and freeze. :(

Was getting excited when a new update came though. Great plugin Whipser. :)
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 <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
Do you have any kits created i think i was having the same issue created a new kit with chat command then reloaded the plugin.
just reload the kit plugin and it will work fine
That error has been there for over a year
No one wants to fix it
Failed to call hook 'cmdConsoleKitShow' on plugin 'Kits v3.2.95' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Kits+UI.LoadImage 
I get this error
Same.

Merged post

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
Rocky

Failed 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?