Quote:
Originally Posted by کㅌrㅁ
I'll test it today
|
How your testing went?
Really need to know how to craft items, or alternatively how to use an already exsisting function for crafting:
Func CraftItemEx($aMatCount, $aModelID, $aTradeWindowID, $aQuantity, $aGold, $aItemNumber)
Local $aDstItem = MemoryRead(GetMerchantItemPtrByModelId($aModelID))
If (Not $aDstItem) Then Return 0x0
DllStructSetData($mCraftItemEx, 0x1, GetValue("CommandCraftItemEx"))
DllStructSetData($mCraftItemEx, 0x2, $aMatCount)
DllStructSetData($mCraftItemEx, 0x3, $aDstItem)
DllStructSetData($mCraftItemEx, 0x4, $aTradeWindowID)
DllStructSetData($mCraftItemEx, 0x5, $aQuantity * $aGold)
DllStructSetData($mCraftItemEx, 0x6, $aItemNumber)
Enqueue($mCraftItemExPtr, 0x18)
EndFunc ;==>CraftItemEx
can't get what should be $aTradeWindowID and so how to retrieve the information.