Rust-Kits

Moved

Total Downloads: 70,148 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018

4.96216/5, 185 likes
  1. Before posting an error always check above posts
     
  2. hey guys when i added a kit and i wanted to see gui it says :
    Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.9' (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 :0 at Oxide.Plugins.Kits.CreateKitEntry (.BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer& element, System.String panel, System.Single[] pos, System.String entry) [0x00000] in :0 at Oxide.Plugins.Kits.RefreshKitPanel (.BasePlayer player, UInt64 guiId, Int32 page) [0x00000] in :0 at Oxide.Plugins.Kits.NewKitPanel (.BasePlayer player, UInt64 guiId) [0x00000] in :0 at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in :0 at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0



    and i got a black windows without close ,
    what should i do ?
     
  3. Kits
    click above link
     
  4. can you help me for find ? lot's posts ... :| and differents errores
     
    Last edited by a moderator: Mar 30, 2018
  5. In rcon type
    o.unload Kits
    Then go to your data folder and delete kits_data.json file and make sure you only delete that file
    Then in rcon type
    o.reload Kits
    If no more errors it's fixed but if you are still getting them you will need to upload two files to here in your data folder I will need kits.json file and in your config folder I will need kits.json file
     
  6. i deleted kits_data but i got crashed with that error and that black window again :(
     

    Attached Files:

  7. You are meant to remove the two samples from the config
    Code:
    {
      "NPC - GUI Kits": {
        "0": {
          "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>",
          "kits": [
            "kit1",
            "kit2",
            "starter"
          ]
        },
        "1235439": {
          "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>",
          "kits": [
            "kit1",
            "kit2"
          ]
        },
        "8753201223": {
          "description": "<color=red>VIPs Kits</color>",
          "kits": [
            "kit1",
            "kit3"
          ]
        }
      },
      "CopyPaste - Parameters": [
        "deployables",
        "true",
        "inventories",
        "true"
      ],
      "Custom AutoKits": {
        "0": "KitName",
        "1": "KitName",
        "2": "KitName"
      },
      "UI KeyBinding": "",
      "Kit - Logging": false,
      "Show All Kits": false,
      "Background - URL": ""
    }
    so it looks like
    Code:
    {
      "NPC - GUI Kits": {
        "0": {
          "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>",
          "kits": [
            "Starter"
          ]
        },
        "1235439": {
          "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>",
          "kits": [
            "kit1",
            "kit2"
          ]
        },
        "8753201223": {
          "description": "<color=red>VIPs Kits</color>",
          "kits": [
            "kit1",
            "kit3"
          ]
        }
      },
      "CopyPaste - Parameters": [
        "deployables",
        "true",
        "inventories",
        "true"
      ],
      "Custom AutoKits": {
        "0": "KitName",
        "1": "KitName",
        "2": "KitName"
      },
      "UI KeyBinding": "",
      "Kit - Logging": false,
      "Show All Kits": false,
      "Background - URL": ""
    }
    You also have no items saved so start again unload the plugin upload the config I have uploaded here.
    Then
    Delete the two files from the data folder
    Then reload plugin
    Then do the following
    Add the items you want in the kit when in game
    Then
    In game chat copy and paste each of these lines
    /kit add "Starter"
    /kit items description "Help to get started, usable twice at 1hour interval" cooldown 3600
     

    Attached Files:

  8. Hello is there was to disable the GUI
    i only want the /kit list
     
  9. watch the videos on the overview it explains what to do
     
  10. thanks buddy :p
     
  11. I seem to be having a similar issue... I attempted to unload plugin, delete data file, update config file with @Resistance 's attached file, then reload it and ran the exact chat commands to make a kit and am receiving a black blank kits overlay in game, and in console am seeing this error.
    Not quite sure what's wrong.
     

    Attached Files:

  12. Did you delete the kits_data.json file first or last if you can please upload all json files you have mins the kits_data.json one
     
  13. Thanks for your Reply Resistance. So i deleted the Kits_data.json first.
    Here are my current files.
     

    Attached Files:

  14. first unload plugin then upload the file below to your data folder then delete kits_data.json then reload plugin
     

    Attached Files:

  15. That worked! Thanks @Resistance you da man! I was deleting it after reloading before that was definitely my issue. Thanks!
     
  16. Happy to help
     
  17. @Kappasaurus You have memory leak in line:
    Code:
    item.contents.AddItem(BuildItem(mod, 1, 0).info, 1);
    First argument required only ItemDefinition.
    [DOUBLEPOST=1523057343][/DOUBLEPOST]Try change on:
    Code:
    item.contents.AddItem(ItemManager.FindItemDefinition(mod), 1);
     
  18. 08:36 [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.9' (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 <filename unknown>:0
    at Oxide.Plugins.Kits.CreateKitEntry (.BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer& element, System.String panel, System.Single[] pos, System.String entry) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Kits.RefreshKitPanel (.BasePlayer player, UInt64 guiId, Int32 page) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Kits.NewKitPanel (.BasePlayer player, UInt64 guiId) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1523063119][/DOUBLEPOST]08:36 [Error] Failed to call hook 'cmdUI_AddKit' on plugin 'Kits v3.2.9' (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 <filename unknown>:0
    at Oxide.Plugins.Kits.CreateKitEntry (.BasePlayer player, Oxide.Game.Rust.Cui.CuiElementContainer& element, System.String panel, System.Single[] pos, System.String entry) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Kits.RefreshKitPanel (.BasePlayer player, UInt64 guiId, Int32 page) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Kits.cmdUI_AddKit (.Arg arg) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    [DOUBLEPOST=1523063135][/DOUBLEPOST]please help
     
  19. Check all image urls
     
  20. Yeah, I was going to rewrite it but I don't want to remove feature support. I meant to fix that a long time ago. Thanks for the reminder.