ELSE - multi-class ControlClick bot

12/08/2007 20:47 lanoblesse#46
The very much it world !!!!
I would like know how you change the the detec [Conque2.0]
with compilled decompile and what program thx for all
12/08/2007 21:17 evanxxxm#47
lanoblesse@
no problem, i can explain.
if u have look into the script (by any notepad will open)
Code:
WinGet,id, ID,[Conquer2.0]
this code will retrieves the specified window's unique ID, which in this case, this command will search for the first program name [Conquer2.0] that it can detect and output the unique ID to a variable name call "id"
and for the change detect for your case, i put in:
Code:
WinGet,id, ID,[Co
only, which means the program will search for the names that start with [Co and output the unique ID to variable id

My programs are made by [Only registered and activated users can see links. Click Here To Register...]language. after u install the program, u will be able to compile/decompile ahk exe files (only if the exe file does not contain a password)
12/08/2007 21:40 lanoblesse#48
i have change this WinGet,id, ID,[Conquer2.0]
In elsescript but he won't work so thx dfor the else french ^^
12/08/2007 21:43 lanoblesse#49
The futur else can take db and met ? or take a obget with [R] [E] .... With the itemtypoe change ?
12/08/2007 21:43 evanxxxm#50
lanoblesse@
u change it and save it back to the txt file, but...have u compile it?
it can pick up the items whatever u want, as long as its purple color
which means u need to change dds images to purple
example will be the ones that i upload in first page
it changes skytoken and earthtoken, and gems to purple dds image


MushyPeas@
yes it works perfectly, i will study it
sidenote: class name is wrong
Code:
Afx:400000:0:10011:0:0 <- your setting
Afx:400000:0:10013:0:0 <- mine
use WinGetClass function to get will be better
and actually, u can skip all those wingetclass thingys
just use:
Code:
instead of using:
winClass=Afx:400000:0:10011:0:0 
WinGet, hwndConquer, ID, ahk_class %winClass%
we can just do:
WinGet, hwndConquer, ID, [Conquer2.0]
[Only registered and activated users can see links. Click Here To Register...]
12/08/2007 22:10 lanoblesse#51
Ok but a am not very good on the computeur so Good Job for Elsle and if you creat a new else could you creat 1 for french conquer [Conquête2.0] ??
12/08/2007 22:33 MushyPeas#52
Quote:
Originally Posted by evanxxxm View Post
MushyPeas@
yes it works perfectly, i will study it
sidenote: class name is wrong
Code:
Afx:400000:0:10011:0:0 <- your setting
Afx:400000:0:10013:0:0 <- mine
use WinGetClass function to get will be better
and actually, u can skip all those wingetclass thingys
just use:
Code:
instead of using:
winClass=Afx:400000:0:10011:0:0 
WinGet, hwndConquer, ID, ahk_class %winClass%
we can just do:
WinGet, hwndConquer, ID, [Conquer2.0]
Ah I didn't check to see if the class changed (for most programs this stays the same) but yea you can use the [Conquer 2.0] title aswell, I just hoped the class name would stay the same for everyone so you wouldn't have to depend on the window title.
This process can be used to access any variable in conquer memory, not just the strings btw.
In the case of your bot though it might be best to build a list of open clients and add those to a drop down menu so you can pick which char / window you want to bot.
If you need any more help feel free to ask.
12/08/2007 22:37 evanxxxm#53
MushyPeas@
thanks
i was testing it for quite a while, edit/deleting this and that to make it shorter
can u please look into my script to see if it works? want to check if it works on other computers too =)

planning to add if it works
Code:
IniWrite, %Result_name%, C:test.ini, section1, Result_name
PS* where u get that name address? 0x4E0F74
12/08/2007 22:55 MushyPeas#54
Quote:
Originally Posted by evanxxxm View Post
MushyPeas@
thanks
i was testing it for quite a while, edit/deleting this and that to make it shorter
can u please look into my script to see if it works? want to check if it works on other computers too =)

planning to add if it works
Code:
IniWrite, %Result_name%, C:test.ini, section1, Result_name
PS* where u get that name address? 0x4E0F74
I think you made a type in the window title? [Conquer2.0] should have a space in it like this right? [Conquer 2.0]
Can't check right now cause my window titles are renamed :P
Your script works great after I changed it to my window title though.
And I got that address from the hackprograms united .inf file here: [Only registered and activated users can see links. Click Here To Register...]
12/08/2007 22:59 lanoblesse#55
how to star char read test ?
12/08/2007 23:09 evanxxxm#56
MushyPeas@
ok, i will look into those kind of stuff more, thanks

lanoblesse@
its just a script, if u want to play with it too, u can download the compile version:
u should see something like this [Only registered and activated users can see links. Click Here To Register...]
12/08/2007 23:13 lanoblesse#57
work for find the name

Is it possible a bot with detect pixel red but not the pixel red of his guard?
12/08/2007 23:56 fich#58
where in the script does it read to auto click the skill when it's set to f10?
12/09/2007 00:45 evanxxxm#59
fich@
Code:
Gui, Add, Checkbox, x33 y90 checked1 vxp , XP/skill :
[I]---and---[/I]
Gui, Add, ComboBox, w80 x116 y87 AltSubmit vfxp choose10, F1|F2|F3|F4|F5|F6|F7|F8|F9|F10
[I]---and---[/I]
xpp := 70 + (fxp * 40)
[I]---and---[/I]
ControlClick, x%xpp% y740,ahk_id %id%,,right
MushyPeas@
i just made this, it shown that many of the address is outdated already @@
[Only registered and activated users can see links. Click Here To Register...]
12/09/2007 00:59 MushyPeas#60
Quote:
Originally Posted by evanxxxm View Post
fich@
Code:
Gui, Add, Checkbox, x33 y90 checked1 vxp , XP/skill :
[I]---and---[/I]
Gui, Add, ComboBox, w80 x116 y87 AltSubmit vfxp choose10, F1|F2|F3|F4|F5|F6|F7|F8|F9|F10
[I]---and---[/I]
xpp := 70 + (fxp * 40)
[I]---and---[/I]
ControlClick, x%xpp% y740,ahk_id %id%,,right
MushyPeas@
i just made this, it shown that many of the address is outdated already @@
[Only registered and activated users can see links. Click Here To Register...]
Not all those variables are strings though, you need to parse quite a few of them as ints