Tailor Made Tools/Programs for You - AHK

08/28/2009 06:27 Evan Lim#721
vegetasupersaiyan6@
if u are using client that starts with [C
if u are using 1024x768
and that doesnt right click at 110, 760 (F1 slot) i dont know how to fix it
08/28/2009 07:54 Acidburncx#722
im using 800x600
08/28/2009 09:35 Evan Lim#723
vegetasupersaiyan6@
ok, within the script, i did make some comments on if u are not using 1024x768
u can change the y760 to y595
08/28/2009 15:13 Acidburncx#724
Ok i will try it
08/28/2009 15:19 MegaCheater#725
I need an aimbot )=
08/28/2009 15:40 Acidburncx#726
Can you tell me the command for left click,right click,and control left click and movement up,down,left and right if possible so i can make my own ahk?
08/28/2009 16:45 Evan Lim#727
vegetasupersaiyan6@
well, lets use the script earlier as an example (it follows closely to the macro script u provided, so u should compare with that as u read)
the WinGet line is a must, as it declare which client it hooks to
then the ControlClick lines are the left and right clicks
depends on the ending word, as we can see, it ends with right and left to indicate that its right or left click
Ctrl+Left click is a lot trickier, its not as simple as it sounds like
but well, u can do copy and paste of the LeftClick and ControlFromPoint function (the 2 long functions at the end)
then when u want to call a Ctrl+Left click, then simply just declare where X,Y to click, and use "GoSub" to call the LeftClick function
lastly, movement up, down, left, right are nothing but just clicking at coordinates at the client, so it can be done with the left ControlClick
08/28/2009 17:59 Acidburncx#728
and which part for background clicks?
08/28/2009 18:15 Evan Lim#729
vegetasupersaiyan6@
all clicks mention above or in the script are background clicks

Quote:
then the ControlClick lines are the left and right clicks
...
Ctrl+Left click is a lot trickier, its not as simple as it sounds like
but well, u can do copy and paste of the LeftClick and ControlFromPoint function (the 2 long functions at the end)
then when u want to call a Ctrl+Left click, then simply just declare where X,Y to click, and use "GoSub" to call the LeftClick function
08/28/2009 19:57 Acidburncx#730
Evan Lim is it possible also to make macro express a background clicks?thank you in advance again
08/28/2009 20:07 Evan Lim#731
vegetasupersaiyan6@
nope, i dont think so
08/28/2009 21:24 Th3Design3R#732
hey
i wanna ask if you can make a program that clicking on some npc?
08/28/2009 22:23 Acidburncx#733
Evan Lim i made a autoscript but cant loop it and also cant background click can you correct this?

WinWait, Vegeta [Conquer] Raiding Clans,
IfWinNotActive, Vegeta [Conquer] Raiding Clans, , WinActivate, Vegeta [Conquer] Raiding Clans,
WinWaitActive, Vegeta [Conquer] Raiding Clans,
MouseClick, left, 367, 318
Sleep, 100
Send, {F1}
Sleep, 10000
MouseClick, left, 346, 321
Sleep, 100
MouseClick, right, 346, 321
Sleep, 5000
MouseClick, left, 353, 320
Sleep, 100
MouseClick, right, 353, 320
Sleep, 5000
Send, {F1}
Sleep, 10000
MouseClick, left, 472, 259
Sleep, 100
MouseClick, right, 470, 259
Sleep, 5000
MouseClick, left, 470, 259
Sleep, 100
MouseClick, right, 470, 259
Sleep, 5000

thank you in advance again :)
08/29/2009 00:13 Evan Lim#734
Th3Design3R@
probably not, unless the npc can be lead to by the CO path function

vegetasupersaiyan6@
Code:
WinGet, id, id, Vegeta [Conquer] Raiding Clans
loop
{
ControlClick, x367 y318,ahk_id %id%,,left
sleep 100
ControlClick, x346 y321,ahk_id %id%,,left
sleep 100
ControlClick, x346 y321,ahk_id %id%,,right
sleep 5000
ControlClick, x353 y320,ahk_id %id%,,left
sleep 100
ControlClick, x353 y320,ahk_id %id%,,right
sleep 5000
ControlClick, x110 y595,ahk_id %id%,,right
sleep 10000
ControlClick, x472 y259,ahk_id %id%,,left
sleep 100
ControlClick, x470 y259,ahk_id %id%,,right
sleep 5000
ControlClick, x470 y259,ahk_id %id%,,left
sleep 100
ControlClick, x470 y259,ahk_id %id%,,right
sleep 5000
}
08/29/2009 03:51 Acidburncx#735
thank you works great :)