Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. Follow these steps
    • unload plugin
    • delete kits_data.json file from data folder
    • upload the two files
    • reload plugin
    • login to game and type /kit you will see the option to now add the kits
     

    Attached Files:

  2. Hey again.

    I think there are some misunderstanding here. My problem is each time I HAVE added the kit, Kits plugin GUI freezes, console print error and needs to be reloaded. Soon as the reload is done, the GUI works, the kits are there and works. Something happens between "add kit" to kit comes up in GUI.
    I have testet clean install and more. But thanks for trying to help me, I'll just keep on reload the Kit plugin each time I add a new kit. Deleting kits works without any fuzz. Just the add part/GUI freeze issue.
     
  3. No one else has reported this problem
     
  4. True! Thats why I think there has to be a other plugin making this GUI issue happen to my server.
    I have a testserver running beside the main one, to add and remove and reload and unload all of the plugins to find out what crashes with what.
    (Little messy since there are 57 plugins running)
     
  5. Yes thats the best way to find out what plugin is causing the problems unload each one until you find out the problem plugin
     
  6. Update pluguin kits !!!!
     
  7. Wulf

    Wulf Community Admin

    Please provide details, errors, etc.
     
  8. I don't have the Pictures of the kits
     
  9. Its very strange, on one server its working fine, on another server it is reloading fine etc, but when you type /kit you get nothing or /kit kitname it says this kit doesn't exist..
     

  10. I have the same problem.
     
  11. I just noticed it was working fine until you add a new kit..
    [DOUBLEPOST=1524172063][/DOUBLEPOST]I removed the new kit and it worked again..
     
  12. Not for me. xd
    [DOUBLEPOST=1524172969][/DOUBLEPOST]All Available kits are alredy in this Menu.

    But the kits can not be seen in the menu.

    },
    "UI KeyBinding": "",
    "Kit - Logging": false,
    "Show All Kits": true,
    "Background - URL": ""
     
    Last edited by a moderator: Apr 19, 2018
  13. Good Day

    I trust you are well

    I recently setup a VIP Starter kit

    with :
    10 K stone
    5K wood
    5K Metal Frags
    Hazmatsuit
    nailgun & ammo

    I added a description and permission
    kit.vipstarter
    I used the item commands to copy over the items to the kit
    so in theory the kit is setup correctly

    But when you redeem it it gives an error message that the kit is not available or the kit is empty
    Code:
      "My Profile": {
        "build": {
          "max": 1,
          "cooldown": 1524176043.0811918
        },
        "wood_armor": {
          "max": 1,
          "cooldown": 0.0
        },
        "combat01": {
          "max": 1,
          "cooldown": 1524170641.6120448
        },
        "vip starter": {
          "max": 0,
          "cooldown": 0.0
    
    KIT setup
    Code:
    "vip starter": {
          "name": "VIP Starter",
          "description": "10K stone, 5k wood, hazmat suit, nailgun",
          "max": 2,
          "cooldown": 0.0,
          "authlevel": 0,
          "hide": false,
          "npconly": false,
          "permission": "kits.vipstart",
          "image": null,
          "building": null,
          "items": [
            {
              "itemid": 523855532,
              "container": "wear",
              "amount": 1,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": -892070738,
              "container": "main",
              "amount": 10000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 3655341,
              "container": "main",
              "amount": 5000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 688032252,
              "container": "main",
              "amount": 5000,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 590532217,
              "container": "main",
              "amount": 36,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 590532217,
              "container": "main",
              "amount": 64,
              "skinid": 0,
              "weapon": false,
              "mods": []
            },
            {
              "itemid": 449769971,
              "container": "belt",
              "amount": 1,
              "skinid": 0,
              "weapon": true,
              "mods": []
            }
          ]
        }
      }
     
    Last edited by a moderator: Apr 20, 2018
  14. Code:
     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
     
  15. My server no Kits !!!!

    Help Wulf for pluguin.
     
  16. You need to upload two files kits.json from config folder and same name file from data folder
    [DOUBLEPOST=1524267812][/DOUBLEPOST]
    Then go make some see this link here
     
  17. delite file Kits_Data in folder oxide\data and reload plugin
    [DOUBLEPOST=1524378847][/DOUBLEPOST]and the plugin will work
     
  18. how do i give the whole server permission to see the basic kits and not the vip kits? if I type /kit i dont see the list of kits. If i type /kit starter it redeems it but doesnt show me a list of kits
     
  19. Code:
    Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.9' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.UInt64,System.String].get_Item (UInt64 key) [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 
    Is kit create in game broken with last update ?
     
  20. unload plugin then delete kits_data.json then reload it