Deadfast Posted July 27, 2006 Share Posted July 27, 2006 Would it be possible to make a script that simply moves ore from your ship's cargohold to the jetcan each time it is mined? No other fancy stuff... just simple move from one window to the next. Eve players will know what I mean. And yes... I've seen the eve-mining bot post... but it's not what I'm looking for atm.. Link to comment Share on other sites More sharing options...
trixs Posted August 9, 2006 Share Posted August 9, 2006 Yes its actually very easy to do. Read up! Trixs! Link to comment Share on other sites More sharing options...
Buckw1 Posted August 9, 2006 Share Posted August 9, 2006 Would it be possible to make a script that simply moves ore from your ship's cargohold to the jetcan each time it is mined? No other fancy stuff... just simple move from one window to the next. Eve players will know what I mean. And yes... I've seen the eve-mining bot post... but it's not what I'm looking for atm..Extremely easy....this code has both cargo and can window on left side of screen, use Autoit Window Info tool to get locations... MouseClick("right", 125, 337, 1, 2) ; Right clik BETWEEN ore ensures we have a select all option. Sleep(1500) MouseClick("left", 150, 347, 1, 2) Sleep($Short_Pause) MouseClickDrag("left", 66, 337, 66, 144) Sleep(1000) Link to comment Share on other sites More sharing options...
TRichardson Posted June 13, 2007 Share Posted June 13, 2007 Extremely easy....this code has both cargo and can window on left side of screen, use Autoit Window Info tool to get locations... MouseClick("right", 125, 337, 1, 2) ; Right clik BETWEEN ore ensures we have a select all option. Sleep(1500) MouseClick("left", 150, 347, 1, 2) Sleep($Short_Pause) MouseClickDrag("left", 66, 337, 66, 144) Sleep(1000)Nice! I modified that script to loop, and pause in between cargo fills. While 1 MouseClick("right", 1111, 718, 1, 2) ; Right clik BETWEEN ore ensures we have a select all option. Sleep(1500) MouseClick("left", 1136, 728, 1, 2) Sleep(1500) MouseClickDrag("left", 1074, 723, 1074, 545) Sleep(60000) Wend Screen size 1280x800, window mode. "My Cargo", resize to smallest and put in bottom right corner. "Floating Cargo", resize to smallest and put directly on top of "My Cargo" window. Pauses for 60secs to give a chance for the "My Cargo" to fill up a bit. Modify as needed. Link to comment Share on other sites More sharing options...
Hest Posted March 7, 2008 Share Posted March 7, 2008 I have made a little script for doing exactly that. The script will pause and can be started with the "pause" key on the keyboard (pause/break key) 1. Place the mouse over the ore in your ship and press pause 2. Place mouse over the jetcan window where you want the ore to be dropped and press pause 3. Press pause again to run the script. It will keep running and can be paused when you travel back to the station or whatever you wanna do. Its the only thing it does, just so you dont have to watch the computer all the time expandcollapse popup; Waiting time between transfer from window to window in ms. $time_to_wait = 120000 ;*************************************************************************************************** ; Hot Keys Global $Paused HotKeySet("{ESC}", "request_end") HotKeySet("{PAUSE}", "TogglePause") ;*************************************************************************************************** ; Pause script and let user enter game Send("{PAUSE}") ; get position for pickup $mouse_pickup = MouseGetPos() $mouse_pickup_x = $mouse_pickup[0] $mouse_pickup_y = $mouse_pickup[1] Sleep(200) MouseMove(600, 512, 0) ; Pause script and let user move mouse to place Send("{PAUSE}") ; get position for place $mouse_place = MouseGetPos() $mouse_place_x = $mouse_place[0] $mouse_place_y = $mouse_place[1] Sleep(200) MouseMove(600, 512, 0) ; Pause script and wait for the first pickup Send("{PAUSE}") While 1 = 1 ; Move the mouse to pickup MouseMove($mouse_pickup_x, $mouse_pickup_y, 0) ; Do the pickup MouseClickDrag("left", $mouse_pickup_x, $mouse_pickup_y, $mouse_place_x, $mouse_place_y) Sleep(500) MouseMove(600, 512, 0) sleep($time_to_wait) WEnd ; ************************************************************************************************** func request_end() Exit 0 endfunc ; ************************************************************************************************** Func TogglePause() $Paused = NOT $Paused While $Paused sleep(1000) ToolTip('"Pause"',0,0) WEnd ToolTip("") EndFunc Software:Model Train Calculator (Screen)Autoit3 beginner! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now