Functional Mining Drones Vs 2.0 (Dead project) (0 viewing)
 | | |
|
TOPIC: Functional Mining Drones Vs 2.0 (Dead project)
|
|
Re: Functional Mining Drones Vs 2.0 8 Years, 9 Months ago
|
Karma: 10
|
|
Any idea how I would go about having the Orca looter warp to 20K instead of warping to zero? I notice its fat ass getting stuck a lot and having to run unstuck.
With T2 tractors it can actualy park out 80km and be really safe from stuck, but that takes time to pull in from that far. I think 20-30KM should be enough.
I guess I could make a custom AHK script to find top BM and warp to 20. Then replace warp to CPBM algorithm with the AHK script.
|
|
|
|
|
|
|
Re: Functional Mining Drones Vs 2.0 8 Years, 9 Months ago
|
Karma: 33
|
|
"Orca looter warp to 20K..." Place BM 5km away from stuff. It'd be nice if EP's WarpingToLocation let you set the warp distance in addition to the line.
The problem with making a script warp to a BM is that EP no longer knows what BM# the bot is at, which negates all the benefit of how Slav makes it remember where the bot has been and whether there's roids there... (Another module that'd be nice.)
|
|
|
|
Last Edit: 2017/05/26 05:08 By innominate.
|
|
|
Re: Functional Mining Drones Vs 2.0 8 Years, 9 Months ago
|
Karma: 16
|
|
The actual in-game bookmarks for asteroid belts (like, when you warp to "System I - Planet II - Asteroid Belt IV" directly) should land you about 10-15km away from all the rocks. The asteroid belts extend around that point in a semi-circle, so if you just use that as your warp-in, you won't collide with anything and you'll be in range of the whole belt.
|
|
|
|
|
|
|
Re: Functional Mining Drones Vs 2.0 8 Years, 9 Months ago
|
Karma: 10
|
|
The Orca is the looter. He/she/it is warping to CorpBMs created by the miners using CorpBMV2. Since they are approaching to 5KM to maximize drones, that sometimes puts them right up on some roids. So the Orca gets stuck.
I am working on the looter BMapproach method. After it wipes the "Approach Location" duplicates, it picks the top one and...
It is not finding the "Warp to Location >" I have tried every method i can think of, look for the whole line, look for the >. imagesearch cant find it like the rest of the code does. So I have resorted to moving the mouse to known locations to hit warp to, open menu, move to warp to 10, then click. and after watching it go, it misses more often than it lands due to lag. But i have it reading and writing to ini so if it errors, it will go ahead and warp via warptocorpbm.
|
|
|
|
|
|
|
Re: Functional Mining Drones Vs 2.0 8 Years, 9 Months ago
|
Karma: 33
|
|
I made a right click method that does it for me automatically. I feed in an array of images and it clicks them as needed, even 3 images deep. If it is there it is found and clicked. (I rarely have problems with the PnP not being found, but that is a different story.)
Have you made a MsgBox displaying all the ImageSearch Inputs to make sure they are good? If you try to search for something else in the menu, does it work then? Also the right click menu is a little bit transparent. Have you tried bumping up the Variation? Making a loop that keeps searching for it until time expired or found, then sleeping a moment before clicking on it?
|
|
|
|
|
|
|
Re: Functional Mining Drones Vs 2.0 8 Years, 9 Months ago
|
Karma: 10
|
Got it working, don't know what I was doing wrong, but it is working.
Warning: Spoiler! | Code: |
;Warp to top CorpBM to 10 or 20 KM
varY := 220 ;reset Y to top of PnP list
while (1){
Random, RandomSleep, 333, 450
Random, RandomSleep1, 95, 150
Random, RandomXY, 3, 8
sleep, %RandomSleep1%
ImageSearch, FoundX, FoundY, 70, varY, 380, 760, *30 %BMName% ;Only look in the expanded PnP section
If(FoundX != ""){
MouseMove, (FoundX + RandomXY), (FoundY + RandomXY), 8
Click Right
sleep, %RandomSleep%
ImageSearch, tempX, tempY, FoundX, (FoundY + 20), (FoundX + 300), (FoundY + 50), *30 %WarpToLoc%
If(tempX != ""){
MouseMove, (tempX + (RandomXY*RandomXY)), (tempY + RandomXY), 8
sleep, %RandomSleep1%
ImageSearch, temp2X, temp2Y, tempX, tempY, (tempX + 300), (tempY + 100), *30 %WarpToDistance%
If(temp2X != ""){
MouseMove, (temp2X + (RandomXY*RandomXY)), (temp2Y + RandomXY), 8
sleep, %RandomSleep1%
Click
IniWrite, 1, EPVars.ini, Looter, EPControl ;Warping to BM report 1
sleep, %TimeToWarp%
ExitApp
}
}
}
Else{
IniWrite, 0, EPVars.ini, Looter, EPControl ;CorpBM not found report Error, and return home
ExitApp
}
}
|
|
|
|
|
|
|
|
 | | |
|
|
© Macro Laboratory 2026
All rights reserved!
|