Tailor Made Tools/Programs for You - AHK

08/22/2009 13:05 Acidburncx#706
Evan Lim would it be possible for you to make a speed hack that activate only on xp skill activates and deactivates speed hack when xp skill is over i mean for ninja class?
08/22/2009 15:48 Alexios#707
Hi Evan!
I want a simple GUI that will have 3 Edit-Boxes and a button. The user will write a number at the first and second edit-boxes(and he could write and at 3rd one) and when he clicks the button the sum of the numbers which are at the first and second eidt-boxes will appear in the 3rd edit-box.
Thanks in advance,
Alex
08/22/2009 22:09 omar3000#708
i want item type plz
08/23/2009 02:54 Terry_Tate#709
is it possible to have a macro that will click vip and then repair and ok within a certain time period?
08/23/2009 03:21 Evan Lim#710
vegetasupersaiyan6@
yea sure, if u can tell me how to make a speed hack and how to detect whether the character is on XP or not

Alexios@
Code:
Gui, Add, Edit, vE1 w50, 0
Gui, Add, Edit, vE2 w50, 0
Gui, Add, Edit, vE3 w50, 0
Gui, Add, button, w50 gOK, OK
Gui, show, w100 h150
return
OK:
Gui, Submit, nohide
ans := E1 + E2
GuiControl,, E3, %ans%
return
omar3000@
dont know how to edit itemtype

Terry_Tate@
probably yes, u have to provide me with the coordinates where to click or press
08/23/2009 09:50 mo9#711
Hey evan i read u thread and if u want me to be that specific i wanted to ask u if u could make a program like aim bots for tornado if u can ty :)
08/23/2009 10:00 Evan Lim#712
mo9@
aimbot can only be done in proxy
cant do it
08/27/2009 14:50 Acidburncx#713
made by macroexpress Evan Lim can you make this on autoit but runs on background

here's a 2 screen shot

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
08/27/2009 15:02 trash#714
Quote:
aimbot can only be done in proxy
Evan Lim@
/fasle
08/27/2009 19:13 Evan Lim#715
vegetasupersaiyan6@
what is "text type: <Control>s"?
other than that, yea sure, i can make one
even though quite sure it will send u to autoclick jail because it will involve background left clicks
08/28/2009 00:42 Acidburncx#716
Its control s is for sitting down its my hotkey
08/28/2009 01:38 Evan Lim#717
vegetasupersaiyan6@
i dont know how to send background keys
so if u can put the sit icon in the F-slot, i can do a background click
08/28/2009 01:52 Acidburncx#718
Ok put it on F1 key
08/28/2009 02:19 Evan Lim#719
vegetasupersaiyan6@
modify urself if needed
Code:
WinGet,id, ID,[C
msgbox, start

loop
{
sleep 100
ControlClick, x110 y760,ahk_id %id%,,right ; assuming u are using 1024x768, if not change y760 to y595
sleep 11300
X=677
Y=366
gosub, leftclick
sleep 100
ControlClick, x677 y366,ahk_id %id%,,right
sleep 100
gosub, leftclick
sleep 1000
ControlClick, x677 y366,ahk_id %id%,,right
sleep 100
ControlClick, x110 y760,ahk_id %id%,,right ; assuming u are using 1024x768, if not change y760 to y595
sleep 11300
X=608
Y=407
gosub, leftclick
sleep 1000
ControlClick, x608 y407,ahk_id %id%,,right
sleep 100
gosub, leftclick
sleep 1000
ControlClick, x608 y407,ahk_id %id%,,right
sleep 100
ControlClick, x110 y760,ahk_id %id%,,right ; assuming u are using 1024x768, if not change y760 to y595
sleep 11300
gosub, leftclick
sleep 1000
ControlClick, x608 y407,ahk_id %id%,,right
sleep 100
gosub, leftclick
sleep 1000
ControlClick, x608 y407,ahk_id %id%,,right
sleep 100
ControlClick, x110 y760,ahk_id %id%,,right ; assuming u are using 1024x768, if not change y760 to y595
sleep 11300
X=674
Y=398
gosub, leftclick
sleep 1000
ControlClick, x674 y398,ahk_id %id%,,right
sleep 100
gosub, leftclick
sleep 1000
ControlClick, x674 y398,ahk_id %id%,,right
sleep 100
}




leftclick:

    hwnd := ControlFromPoint(X, Y, "ahk_id " id,"", cX, cY)
    PostMessage, 0x201, 0x8 | 0x1, cX & 0xFFFF | (cY & 0xFFFF) << 16,, ahk_id %hwnd%
    PostMessage, 0x202, 0x8      , cX & 0xFFFF | (cY & 0xFFFF) << 16,, ahk_id %hwnd%
return
return

ControlFromPoint(X, Y, WinTitle="", WinText="", ByRef cX="", ByRef cY="", ExcludeTitle="", ExcludeText="")
{
    if !(hwnd := WinExist(WinTitle, WinText, ExcludeTitle, ExcludeText))
        return false
    
    VarSetCapacity(pt,8)

    VarSetCapacity(wi,60), NumPut(60,wi)
    DllCall("GetWindowInfo","uint",hwnd,"uint",&wi)
    NumPut(X + (w:=NumGet(wi,4,"int")) - (cw:=NumGet(wi,20,"int")), pt,0)
    NumPut(Y + (h:=NumGet(wi,8,"int")) - (ch:=NumGet(wi,24,"int")), pt,4)
    
    Loop {
        child := DllCall("ChildWindowFromPointEx","uint",hwnd,"int64",NumGet(pt,0,"int64"),"uint",0x5)
        if !child or child=hwnd
            break
      
        DllCall("MapWindowPoints","uint",hwnd,"uint",child,"uint",&pt,"uint",1)
        hwnd := child
    }
    cX := NumGet(pt,0,"int")
    cY := NumGet(pt,4,"int")
    return hwnd
}

return
08/28/2009 05:33 Acidburncx#720
Evan Lim for some reason it doesnt sit i already put it on F1 keyfor sit but it doesnt seem to be sitting?