[Solved] Trouble with Item-Type Hashtable (Remove item from Marketplace with it's ItemID)

Status
Not open for further replies.

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
EDIT: Got it all working. Accidentally deleted most of the post but here's what I was having issues with. Didn't know how to remove/add Items to and from a Marketplace using Item Integers from my Hashtable. Figured it out:

  • Custom script: call RemoveItemFromStockBJ( LoadInteger(udg_ItemHashtable, udg_key1, udg_key2), udg_tempUnit )
  • Custom script: call AddItemToStockBJ( LoadInteger(udg_ItemHashtable, udg_key1, udg_key2), udg_tempUnit, 1, 1 )
 
Last edited:
Status
Not open for further replies.
Top