Page 1 of 2

EVE Macro: Newbie autominer... updated with screenshots

Posted: March 24th, 2006, 3:00 am
by sphearion
This autoit script will Undock, warp to belt, approach a roid (from overview) lock it, start mining, wait a certain amount of time, and warp back to dock, drop of the load, rinse and repeat.

This is very rough, been working for me for quite some time now.... I use an amarr frig (tormentor) with 3x cargo expander 1's and 2x miner II's in 1.0 space, works well enough, im posting it so you guys can use it and hopefully get a prem acct to see better examples and possibly make something awesome someday. im still learning autoit so please bear with me, it can only get better from here.

Code: Select all

Global $Paused
HotKeySet("^+e","vExit")  ;hotkey to stop the script
HotKeySet("{PAUSE}","TogglePause")


Func TogglePause()
	$Paused = NOT $Paused
	While $Paused
	Sleep(100)
	Wend
EndFunc

Func vExit()
	Exit
EndFunc

Sleep (3000)

While 1 = 1

;undock
MouseClick ("left", 16, 736)
Sleep (30000)

;warp to belt
MouseMove(774, 630)
MouseWheel ("up", 300)
Sleep (2000)
MouseClick ("Right", 744, 630)
Sleep (1000)
MouseMove (812, 691)
Sleep (1000)
MouseClickDrag ("left", 812, 691, 719, 690)
Sleep (1000)
MouseClickDrag ("left", 719, 690, 812, 691)
MouseClick ("left")
;change the next value depending on time it takes to warp to belt
sleep (90000)

;approach roid / lock / mine
MouseClick ("left", 808, 184) 
sleep(1000)
MouseClick ("left", 730,94)
Sleep (100000)
MouseClick ("left", 830, 92)
sleep (5000)
MouseClick ("left", 598, 645)
sleep (1000)
MouseClick ("left", 645, 645)
;change this sleep for amount of time used mining, (until hold is full)
Sleep(180000) 
;wait for mining....
;run loop to check for full cargo hold

;go back to dock (own sub)
MouseClick ("right", 668, 740)
MouseMove (704, 754)
Sleep (1000)
MouseClickDrag ("left", 704, 754, 624, 757)
Sleep(1000)
MouseClickDrag ("left", 624, 757, 718, 703)
MouseClick ("left")
;Change this value if it takes longer to undock
Sleep(160000)
MouseMove (72, 455)
sleep(2000)
MouseClickDrag ("left", 72, 455, 420, 679)
sleep(2000)
Wend
[/code]

** Edit - Added scrolling the mouse out on undock to keep from getting hung up on other ships while clicking....

** EDIT - Added screenshots to show Cursor Positions

** EDIT -- I had planned on updating this script and probably will and will continue to update it.. would love to get a free account for this script. but I agree it is very basic!

Posted: March 28th, 2006, 11:43 am
by messsiahhh
you should post a screenshot of where your windows are placed, for ease of use by people like me who dont know coordinates!

Posted: June 2nd, 2006, 4:21 pm
by gerbilgenocide
very nice script and easy to customise and understand but what i couldnt figure out was. How to implement, or code even a cript that checks if the cargo hold is full or not.

Posted: June 2nd, 2006, 6:23 pm
by mystakilla
Its just a simple little script Gerbil, its all based on 'sleep time', he knows exactly how long it takes to fill a cargo hold so he makes the script 'pause' until a certain amount of time, then warps to the station, unloads and redoes it.
There are other more advanced ways of checking the cargo for pixels.

Posted: June 3rd, 2006, 4:42 am
by gerbilgenocide
Found out how to do it using pixelcheck

Posted: July 5th, 2006, 5:40 pm
by Tault_admin
Can premium members say yay or nay to this being moved to a confirmed section.

Posted: July 9th, 2006, 10:18 pm
by tault_buckw1
YES

Posted: July 10th, 2006, 8:48 am
by Tault_admin
One yay 2 more needed to move to confirmed unless buckw1 you are doing a mod yay so its moved to confirmed asap.

Posted: July 10th, 2006, 4:47 pm
by tault_buckw1
Someone else needs to give it a test and report back. The script is quite functional but as noted is very basic. Requires editing to suit individual needs. Good beginners script.

Posted: July 12th, 2006, 3:45 am
by blackmoon
Yay!

Why?

1. Not too many macros for Eve here.

2. We need more developers for Eve here.

3. He put some work into it.


Now... VERY basic, almost too basic for a Yay. But... he did put it up.

Posted: July 12th, 2006, 7:19 am
by Tault_admin
2 yays one more needed for premium.

Posted: July 14th, 2006, 6:44 pm
by tault_pesty
yay it works nuff said

Posted: July 15th, 2006, 5:07 am
by terminico
well, it works.
i made a few randomisers into the script and it worked really fine for me.
so YAY

Posted: July 15th, 2006, 8:22 am
by Tault_admin
3 yays moved to confirmed and premium granted.

Posted: August 8th, 2006, 11:07 pm
by diablofatt
yes I am newb.. wtf!!! do i do with this? plz help. ill sell you my soul.