|
Re: Looter deletes multiple bookmarks of same name 9 г., 4 мес. назад
|
Репутация: 34
|
|
Well the index could be at the end of the BM name. I've been asking for a way to query EPs belt index for years, LOL!
|
|
|
|
|
|
|
Re: Looter deletes multiple bookmarks of same name 9 г., 4 мес. назад
|
Репутация: 10
|
Slav2 wrote:
I may add this. Why to not add belt index to the end of bookmark name? This way bot may check just one top bookmark isn't it? If top bookmark is in approach distance - delete it and check next top bookmark.
This is what I came up with. It works the way I want it to and it scrubs 10 bm's in a couple seconds. VERY time efficient.
Got a functional script running. BTW Pulovers Macro Creator program is awesome!
Предупреждение: Помехи!
| Код: |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
;By Minesalot to remove duplicate BM's
;Inspired by Slav, Innominate and AbbadonDespoiler
;Intended to be used with Slav's stock Looter script modified and Innominates Corporate BM script
;vs1.1 - Had to add some sleeps to get it to slow down and imagesearch better. Changed a few variables
SetWorkingDir %A_ScriptDir%\CorpBMImages ; Ensures a consistent starting directory
ApproachLoc := "ApproachLocation.png"
RemoveLoc := "RemoveLocation.png"
BMName := "Ready.png" ; get a screen shot of part of your BM name and save as "Ready.png" in Corp Images
varY := 220
IfWinNotActive, EVE - , , WinActivate, EVE - ,
Sleep, 258
CoordMode, Pixel, Window
count:=0
while (count = 0){
sleep, 341
Random, RandomX, 480, 530
Random, RandomY, 680, 730
MouseMove, %RandomX%, %RandomY%, 10 ;Click in some random spot around capicitor to clear and open menues
Click
sleep, 352
ImageSearch, FoundX, FoundY, 70, varY, 380, 730, *30 %BMName%
If(FoundX != ""){
MouseMove, FoundX + 7, FoundY + 7, 10
Click Right
;Msgbox, % "-- " BMName " found at " FoundX "/" FoundY
sleep, 75
ImageSearch, tempX, tempY, FoundX, FoundY, FoundX + 200, FoundY + 200, *30 %ApproachLoc%
If(tempX != ""){
;Msgbox, "Found Approach Location"
sleep, 75
ImageSearch, temp2X, temp2Y, tempX, tempY, tempX + 200, tempY + 200, *30 %RemoveLoc%
If(temp2X != ""){
MouseMove, temp2X + 7, temp2Y + 7, 10
;Msgbox, "Found Remove Location"
sleep, 75
Click
}
} Else { ;Did not find "Approach" so skip this line
varY := FoundY + 20
}
} Else{ ;tick counter to get out of loop
count++
}
}
|
If it was part of your work...
1. It would work better, because your the almighty Slav.
2. Users would not need to make their own Ready.png. It could work off your "Unload to JetCont, Name Expression" Input Box?
|
|
|
|
Последнее редактирование: 16.05.2017 19:10 Редактировал Minesalot.Причина: Updated to v1.1
|
|
|
Re: Looter deletes multiple bookmarks of same name 9 г., 3 мес. назад
|
Репутация: 10
|
|
Woo Hoo for SLAV!
EP vs 7.18 fixes this issue.
[Looter] Looter will delete all corporation bookmarks in approach distance after use. Name of corp bookmark must start from the name defined in settings.
|
|
|
|
|
|
|