Originally Posted by
rexstopher
AHK can give you both screen and window coordinates if you right click on the scripts tray ICON and select Window Spy. Use this feature to get your left x y coordinate for the first buff slot all the way to say the 6th buff slot for your right x y coordinate for your resolution. Try to make sure the line is in the middle of the buff squares as well and not the top or bottom. All the script does is scan a horizontal line of pixels on the screen where buffs are located and looks for a specific purple color of the archon buff. When it detects the color it auto right clicks the buff off (so it does not interfere with CM spam) and returns the mouse cursor to its original position. At 50 milliseconds this all happens so fast I don't even notice it. I have not personally done any dps calculations for the build but I can tell you it is very satisfying to see an screen of trash mobs get one shot over and over.
Okay yeah i figured window spy would do it for me. So i tried the script with some editing, and i first noticed my cursor started to stutter when i moved it. After some google-fu i found that ahk pixel and image search didn't like windows aero. But before i found that out i tried doing the same thing with image search, with same results... After figuring out how image search works i made an awesome cm ww spam.
The code is here:
Code:
$f1::
Send {Shift down}
Send {LButton down}
While GetKeyState("f1","p")
{
ImageSearch, FoundX, FoundY, 511, 969, 773, 1034, c:\skill1.png
If ErrorLevel = 0
Send, 1
ImageSearch, FoundX, FoundY, 511, 969, 773, 1034, c:\skill2.png
If ErrorLevel = 0
Send, 2
ImageSearch, FoundX, FoundY, 511, 969, 773, 1034, c:\skill3.png
If ErrorLevel = 0
Send, 3
}
send, {shiftup}
send, {LButton up}
return
Basicly it searches your skills in 1 2 3 and looks for a skill that is not yet clicked. If it finds one it spams the key with insane speed. I have had other cm ww scripts before but with this one it really feels faster and i imagine it doesnt put as much strain on servers etc. It also sends shift down and mouse 1 down, so all i have to do is press f1 and watch stuff get frozen.