Quote:
Originally Posted by Restia Ashdoll
might wanna post your salavge-its generally no issue i leave the fields unchecked
|
Code:
Func StartSalvage($aItem, $aSalvageKitID)
Local $lOffset[4] = [0, 0x18, 0x2C, 0x690]
Local $lSalvageSessionID = MemoryReadPtr($mBasePointer, $lOffset)
If IsDllStruct($aItem) = 0 Then
Local $lItemID = $aItem
Else
Local $lItemID = DllStructGetData($aItem, 'ID')
EndIf
DllStructSetData($mSalvage, 2, $lItemID)
DllStructSetData($mSalvage, 3, $aSalvageKitID)
DllStructSetData($mSalvage, 4, $lSalvageSessionID[1])
Enqueue($mSalvagePtr, 16)
EndFunc
I saw there is salvagematerials function as well but when i run that, gw crashes.
Code:
Func SalvageMaterials()
Return SendPacket(0x4, 0x74)
EndFunc