// This macro is intended to cycle through local loot type icons // and tractor them in if possible. // it will not loot hulks, merely look for free floating lootable resources. // // Primary intent of this macro is for trade powerlevelling... // especially when formed up with a miner running a prospect macro that drops the resources // from tractor after pulling from roid but before it is loaded onboard. // // This line is necessary to select the proper window SetActiveWindow Earth & Beyond Delay 2000 OBJVAR 10 Constants DO=1 TractorDelay=4000 // how long to wait for something to be tractored in LootPopup=2000 // time for the looting hand to pop up once loot is targeted GD = 100 // typical lag time between when we doa command and check for its result ScanMax=2 S=1 end while $DO > 0 SetConst S=0 // start cycle over keys x // target nearest lootable resource while $S < $ScanMax delay $LootPopup IsObject LootHand at 979,506 MousePos 999,526 Delay $GD LeftClick MousePos 999,626 // move mouse away so it doesn't throw off future checks for LootHand Delay $TractorDelay SetConst S=$ScanMax // force loot cycle to restart else keys d inc $S end end end // the unhighlighted (as in no mouse over it) // loot hand icon Object LootHand // at 979,506 58=0,0|82=0,2|228=0,4|177=0,6|66=0,8|78=0,10|73=0,12|76=0,14|100=0,16|122=0,18|80=0,20 73=2,0|90=2,2|160=2,4|166=2,6|135=2,8|110=2,10|88=2,12|86=2,14|64=2,16|94=2,18|116=2,20 216=4,0|190=4,2|208=4,4|213=4,6|199=4,8|62=4,10|80=4,12|115=4,14|183=4,16|161=4,18|100=4,20 107=6,0|147=6,2|91=6,4|145=6,6|76=6,8|74=6,10|91=6,12|92=6,14|86=6,16|71=6,18|155=6,20 148=8,0|158=8,2|169=8,4|218=8,6|136=8,8|75=8,10|88=8,12|91=8,14|91=8,16|78=8,18|65=8,20 152=10,0|142=10,2|144=10,4|135=10,6|68=10,8|87=10,10|77=10,12|85=10,14|87=10,16|63=10,18|72=10,20 131=12,0|126=12,2|165=12,4|194=12,6|108=12,8|76=12,10|64=12,12|97=12,14|73=12,16|99=12,18|174=12,20 128=14,0|160=14,2|146=14,4|71=14,6|72=14,8|139=14,10|159=14,12|74=14,14|71=14,16|138=14,18|86=14,20 187=16,0|133=16,2|134=16,4|82=16,6|75=16,8|121=16,10|126=16,12|74=16,14|156=16,16|70=16,18|90=16,20 106=18,0|91=18,2|88=18,4|87=18,6|69=18,8|174=18,10|71=18,12|142=18,14|82=18,16|82=18,18|94=18,20 97=20,0|100=20,2|91=20,4|81=20,6|71=20,8|152=20,10|116=20,12|71=20,14|79=20,16|89=20,18|71=20,20 End