// This macro is for mining. // It should be started in a safe minefield. // It will not do combat, so it must be monitored. // Put one of each type of ore that you want to collect in your hold. This will ensure that // if your hold fills up with ore, you will still be able to pick up those desired ores. // For optimum mining, use a Lazarus, Cat's Paw and Golden Tooth (or similar). //-------------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------------// Constants MouseDelay=100 // How long to wait to click on an ore after moving mouse there NWait=300 NWait2=4000 End // Given an ore position of 'OreX' and 'OreY' // Check if slot is filled, if so, click on it to grab it, // If it goes empty wait for it to be tractored in // Then do any post mining procedure SetActiveWindow Earth & Beyond CommandDelay 250 Delay 2000 Keys {HOME} Delay 200 OBJVAR 12 // Initial startup buffs // MAKE SURE YOU ARE IN a safe default channel... Delay 1 sec MousePos 923, 600 // This is in targeting window Delay $NWait MousePos 962,437 // Bottom Right Ore spot Delay $NWait MousePos 906,437 // Bottom Left ore spot Delay $NWait MousePos 906,375 // next up Delay $NWait MousePos 906,312 //SecondOre Spot Delay $NWait MousePos 906,250 // First Ore Spot Delay $NWait MousePos 765,685 // end of shield bar Delay $NWait MousePos 655,685 // start of shield bar Delay $NWait MousePos 512,685 // center of warp button Delay $NWait MousePos 250,685 // start of energy bar Delay $NWait MousePos 430,685 // End of Energy Bar Delay $NWait MousePos 640,685 // end of hull bar Delay $NWait MousePos 585,685 // start of hull bar Delay $NWait MousePos 995,213 // Think this is mining close window Delay $NWait MousePos 852,538 // Target Shiel/hullbar Left End Delay $Nwait2 MousePos 990,538 // End of Target Shield/hullbar stop (* More locations gotten via screen capture and then paste to pbrush pbrush is nice enough to show pixel location in bottom right corner Group Boot Icon 889,251 box 918,278 FormUp Icon 929,249 box 962,281 Target Bar Y 538-544, HullX 852-893, ShieldX 906-997 FirstGroupMember Shield/HullbarY 480-486, HullX 848-890, ShldX 903-996 PickGrpMembersTargetIcon: 979,463 SecondGrpMember ShieldBarY: 439-445, HullX 848-890,ShldX 903-996 PickTarget 979,422 EnergyBar: Y 684-689, X 253-436 Hull 585-?, Shld: 658-685 InviteIcon: 989,513 (Gate icon probly goes here too, as does mining) Slots: Y=720, X's: 1=272,2=332,3=394,4=631,5=692,6=721 Mining/Loot window locations boxes are top of loot tech level text (black outline pixels) 884,228 229 884,291 292 884,353 x 943,412 354 884,415 416 next roy Y position is fuzzy 946 or 947 *)