Quote:
Originally Posted by Freshly_Baked
Have you checked out Blake's feather bot ? it drops the items with non expensive runes in them .
|
I could check. I made it so it loots all blue and purple runes so if i drop them it loots them again. Still have to make it better. Not sure how to use modstructs for those well yet
So i looked into that and tested in mine, i cant get the bot to drop runes, and since this **** autoit doesn't give any errors or anything i have no idea what could be causing this :s
This bot does a million things, manages inventory, salvages, store runes etc etc, open chests, everything one could possibly want, after hours of coding i cannot get it to drop the **** useless runes
Func DropAllByType($lType = 1000)
If GetMapLoading() <> 196 Then Return False
Out("aaaaaaaaaa")
Local $lItem = 0
For $i = 1 To 4
For $j = 1 To DllStructGetData(GetBag($i), 'Slots')
$lItem = GetItemBySlot($i, $j)
If DllStructGetData($lItem, 'ID') = 0 Then ContinueLoop
If DllStructGetData($lItem, 'Type') = $lType Then
DropItem($lItem, DllStructGetData($lItem, 'quantity'))
Sleep(250)
EndIf
Next
Next
EndFunc
checked dropitem and getitembyslot
both work
Changed $lType = 1000 to $lType = 0 which is salvage items, idk what else to check
(added the Out("aaaaaa") to see if it even reaches the function, it doesnt)