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...

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
-
Wulf Community Admin
-
AnExiledGod updated Usable To Belt with a new update entry:
Fixed the Version Number to fix Errors
-
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.
-
nice job men, dat is great
-
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.
-
AnExiledGod updated Usable To Belt with a new update entry:
Fixed Item Duping Issue
-
what about picking up a spear or other items from the ground ? Would that be possible to add as well ?
-
-
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.
-
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?
-
Wulf Community Admin
-
-
Wulf Community Admin
Wulf updated UsableToBelt with a new update entry:
1.2.0
-
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
-
Wulf Community Admin
Wulf updated UsableToBelt with a new update entry:
1.2.1
-
Items glitching from slot to slot after the update wulf.
-
Wulf Community Admin
-
Just spazzes out on load.... looks like a slot machine in your belt.
-
Wulf Community Admin
-
When the plugin loads.... I'll make a video