Jump to content
Sign in to follow this  
Illus1on

Help coding a Bot for Eve Mining

Recommended Posts

Illus1on

So, after playing EVE for awhile I decided that it would be a good idea to code a auto mining bot for EVE. The only problem is, my code is simplistic and noob at best. I cannot repeat the working code I have going indefinitely so I have to restart the script every hour or so. I'm so confused and have no idea how to improve this code.

The code uses mouse clicks to perform the in-game commands.

1.) Undock from Station

2.) Warp to bookmarked asteroid

3.) Target Closest Asteroid

4.) Activate Mining Lasers

5.) Complete One Cycle (Fill Cargo Hold)

6.) Warp Back to Station

7.) Unload Cargo

8.) Repeat from the Beginning

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
WinWait("EVE","")
If Not WinActive("EVE","") Then WinActivate("EVE","")
WinWaitActive("EVE","")
MouseMove(19,763)
MouseDown("left")
MouseUp("left")
Sleep(30000)
;**********Undocking**********
MouseMove(346,158)
MouseDown("right")
MouseUp("right")
MouseMove(509,168)
MouseDown("left")
MouseUp("left")
Sleep (50000)
;**********Warped to Bookmark**********
MouseMove(836,202)
MouseDown("left")
MouseUp("left")
MouseMove(907,99)
MouseDown("left")
MouseUp("left")
Sleep(15000)
;**********Targeting Closest Asteroid**********
Send("{F1}{F2}{F3}{F4}{F5}{F6}{F7}")
Sleep(50000)
;**********Activating Mining Modules**********
WinWait("EVE","")
If Not WinActive("EVE","") Then WinActivate("EVE","")
WinWaitActive("EVE","")
MouseMove(94,724)
MouseDown("right")
MouseUp("right")
MouseMove(124,716)
MouseDown("left")
MouseUp("left")
Sleep(70000)
;**********Returning to Station**********
MouseMove(134,144)
MouseDown("left")
MouseUp("left")
Send("{CTRLDOWN}a{CTRLUP}")
MouseMove(100,145)
MouseDown("left")
MouseMove(107,317)
MouseUp("left")
;**********Emptied Cargo Hold to Station**********
;**********End Cycle**********

Can someone help me learn how to utilize this program to achieve my intended objective?

Share this post


Link to post
Share on other sites
Valik

Bots are against the EVE Online EULA therefore we will not aid you in your endeavor.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.