Ryuuhou / AHKanColle

Click script for KanColle (艦これ) expeditions written in AHK
10 stars 1 forks source link

How do you get the x,y pixels on kancolle viewer? #28

Closed dice4321 closed 7 years ago

dice4321 commented 8 years ago

Im trying to make some anti detection features, where instead of clicking directly to go to supply, it would go through a few random screens first, I've tried the AHK pixel detection thing, it just doesnt make any sense with the pixel map @Ryuuhou pls!

Ryuuhou commented 8 years ago

Hey, sorry for the late response. I've been busy this week. I wrote a new tool called XYColor. You can find it on the master branch here https://github.com/Ryuuhou/AHKanColle/commit/6244a5b26cd603ab9701be94ff9dcf8efc0e9e7a Just open the AHK file and right click the game where you want to find the X,Y and pixel color at that position. Remember that you will always be in reference to FX and FY, so if XYColor says FX +50 and FY -20, you need to write that in the code. FX+50 and FY-20.

dice4321 commented 7 years ago

@Ryuuhou thanks mate, I'll make you proud.