Tailor Made Tools/Programs for You - AHK

02/28/2010 22:08 Evan Lim#1006
mo9@
[Only registered and activated users can see links. Click Here To Register...]
03/01/2010 18:05 Maffiagang#1007
I need a bot for DexterityCo which will attack the mob designated by name (only DexterityCoL130 will be hunted with this), will pickup GoldBullions, Spam F10 for auto cyclone and presses Revive Here when dead, is this possible?

Will be used with Trojan only
03/02/2010 00:51 Evan Lim#1008
Maffiagang@
designated by names - no (but u can change the Monster.dat to disable all the others red health bar)
GoldBullions - no (but u can change the dds image to something pink)
revive dead can be done by pressing that icon every 60 seconds or so (whether u are dead or not)
if u can do the things above, u can just use COELSE. otherwise, no
03/04/2010 23:29 shimo diaz#1009
i need a bot for water skills like cure and star of accuracy with mana detector when mana is 50% it presses f1 (thanks)

note: if possible i don't want it to interfere with the computer or other clients (thanks again)
03/05/2010 02:11 Evan Lim#1010
shimo diaz@
cant detect mana amount, unless u know some methods of doing so (can make it time base though)
otherwise, i need the coordinates of where to right click for using skill
03/05/2010 02:25 shimo diaz#1011
I have another programs that detects mana amount so can you make something for the water to use the skill on himself without the need of coordinates
03/05/2010 03:48 Evan Lim#1012
shimo diaz@
zoom in if it doesnt click
Code:
msgbox, active the client you want to hook to and press OK
WinGet, id, id, A
loop
{
ControlClick, x513 y350, ahk_id %id%, Right,,NA
sleep 1000
}
03/05/2010 15:05 shimo diaz#1013
Sorry doesn't click maybe it's me I don't know how to use ahk properly so this is what is written in the script

PHP Code:
;
AutoHotkey Version1.x
Language:       English
Platform:       Win9x/NT
Author:         A.N.Other <myemail@nowhere.com>
;
Script Function:
;    
Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
;

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
msgboxactive the client you want to hook to and press OK
WinGet
ididA
loop
{
ControlClickx513 y350ahk_id %id%, Right,,NA
sleep 1000

03/05/2010 21:08 Evan Lim#1014
shimo diaz@
delete everything and try:
Code:
msgbox, active the client you want to hook to and press OK
WinGet, id, id, [Conq
loop 10
{
;ControlClick, x513 y350, ahk_id %id%, Right,,NA
click, 513, 350, right
sleep 1000
}
see where it is clicking
and if its clicking correctly at the position u want, then try:
Code:
msgbox, active the client you want to hook to and press OK
WinGet, id, id, [Conq
loop 
{
ControlClick, x513 y350, ahk_id %id%, Right,,NA
sleep 1000
}
if not clicking at the position u want, u can do shift screen or zoom in or change the 513/350 in the script
03/05/2010 23:58 shimo diaz#1015
Thanks but i have a question i made a script myself but there was a problem i couldn't stop the script and it kept working in other windows is there some code to pause or exit
and to specify a certain window so that the script won't interfere with other windows
03/06/2010 01:46 Evan Lim#1016
shimo diaz@
u can add a hotkey to pause or exit, like
Code:
^q::pause  ; put this at the end of the script, press Ctrl+Q to pause
show ur script, if u are using controlclick with WinGet hooking to a certain window, it shouldnt click on somewhere else
03/06/2010 10:25 shimo diaz#1017
Thanks evan :) i will try and answer you
03/06/2010 15:36 shimo diaz#1018
The script doesn't work
but can you please tell me how to do control click
i read the help file but there is one thing i couldn't understand what is WinText and how do i get it?
03/06/2010 15:49 Matze2010#1019
yes
03/06/2010 17:22 Evan Lim#1020
shimo diaz@
2 things to do ControlClick - WinGet to hook to the window u want, and use ControlClick to actually click to the hooked window with ahk_id %id%

Code:
WinGet, id, id, [Conq  ; the beginning of the window title, change this if u have private server with different starting name
ControlClick, x513 y350, ahk_id %id%, Right,,NA