UsableToBelt

Any usable item will be moved to your belt if there is space

Total Downloads: 697 - First Release: Jun 11, 2015 - Last Update: Aug 8, 2016

3.375/5, 8 likes
  1. Wulf

    Wulf Community Admin

    AnExiledGod submitted a new resource:

    Usable To Belt - Any usable item will be moved to your belt if there is space.

    Read more about this resource...
     
  2. Great idea but it's bugged somehow. Took me a while to narrow it down to this but it causes stuff that you craft sometime to get stuck in your inventory, usually people C4 is what was happening a lot to people on my server. I'm guessing it's when they craft C4 and their belt is already full so it goes into the inv like normal but after that you can't drop it or use it, it's just stuck there and the only way we found to get it out is for the person to die and have someone chop up their body before they respawn. Then if someone picks up the bugged C4 that the body coughed up when it was chopped up it gets stuck in the new persons inv.
     
  3. nice job men, dat is great :)
     
  4. Yes, I see now, what I didn't do was check if a stack already exists in the inventory. I'll look into a solution.
     
  5. AnExiledGod updated Usable To Belt with a new update entry:

    Fixed Item Duping Issue

     
  6. what about picking up a spear or other items from the ground ? Would that be possible to add as well ?
     
  7. Sure! I didn't even think of that for some reason haha. I'll add it to the to-do list and get to work on it. I remember how annoying it is to pick up a spear then have to move it.
     
  8. Looking into how to do on pickup items, but I can't seem to figure it out. I can use the OnItemAddedToContainer, but I can't figure out how to detect only items that were picked up. Will revisit this later.
     
  9. So is this a plug in that replaces an item that i have just used? i.e if i have 1 door in my belt and i place it down, another one in my inventory will take its place?
     
  10. Wulf

    Wulf Community Admin

    Yes, that should be what it does.
     
  11. Thanks, i'll give it ago.
     
  12. Wulf

    Wulf Community Admin

    Wulf updated UsableToBelt with a new update entry:

    1.2.0

     
  13. when trying to craft
    Code:
    [Oxide] 22:32 [Error] Failed to call hook 'OnItemCraftFinished' on plugin 'UsableToBelt v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 22:32 [Debug]   at Oxide.Plugins.UsableToBelt.HandleItem (.Item item, .BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.UsableToBelt.OnItemCraftFinished (.ItemCraftTask task, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.UsableToBelt.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  14. Wulf

    Wulf Community Admin

    Wulf updated UsableToBelt with a new update entry:

    1.2.1

     
  15. Items glitching from slot to slot after the update wulf.
     
  16. Wulf

    Wulf Community Admin

    Slot to slot or belt to main?
     
  17. Just spazzes out on load.... looks like a slot machine in your belt.
     
  18. Wulf

    Wulf Community Admin

    On load with what?
     
  19. When the plugin loads.... I'll make a video