Garbage Bin — a free client + server release for staging and bulk-deleting junk items.
Players drag junk into a 6x6 window (or Ctrl+click it) and delete the whole batch with one confirmation, instead of destroying items one by one.
The key design choice: no custom packets. Most trash-system tutorials add a custom HEADER_CG_TRASH / HEADER_GC_TRASH pair. This one reuses the item-destroy packet the client already sends (HEADER_CG_ITEM_DESTROY) — the UI queues items and fires one ordinary destroy per queued item on confirm. Cleaner to install, and nothing new for the netcode to desync on.
How it works
• Dragging an item into the bin records only a reference (slot, vnum, count). The item never moves or changes state until you confirm.
• Confirm replays the ordinary ITEM_DESTROY request once per queued item — the exact path your server already handles for a single-item delete.
• No custom packet types. Server-side it's the existing DestroyItem flow plus the normal game-to-db deletion path.
Features
• Drag-and-drop into a 6x6 grid, or Ctrl+click an inventory item to add it instantly
• Ctrl+click yields to other open windows first (chest, trade window, shop), so it never steals a shortcut you were already using
• Nothing is moved or destroyed until you confirm — items stay exactly where they are in your real inventory
• Queued items are visually blocked in the inventory so you can't double-add them
• Manually placed grid positions are preserved on refresh
• Server rejects invalid, locked, trading, bound, quest-running, dead, or observer-mode action
Compatibility
• Tested under the Martysama base.
• Reuses the existing item-destroy packet — no new packet types to register.
• Client source only needed if you use Cython.
Credits: my own work, free to use. Please don't resell it or claim it as your own. A credit back to M2Workshop is appreciated but not required.
More of my work: m2workshop.dev/systems
*Poze / Video (obligatoriu):
*Link download:
*Link scanare VirusTotal (obligatoriu):


la acest mesaj și conținutul se va afișa automat.