|
You last visited: Today at 10:20
Advertisement
Tailor Made Tools/Programs for You - AHK
Discussion on Tailor Made Tools/Programs for You - AHK within the CO2 Programming forum part of the Conquer Online 2 category.
04/22/2009, 01:46
|
#421
|
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
|
Alexios@
i thought about it, but if u check it out, due to no mana, even u right click the skill, u wont stand up or case magic, thus it will be the same result as waiting 8 seconds
|
|
|
04/22/2009, 01:55
|
#422
|
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
|
actually if you don't wait 8 seconds, stamina wouldn't be full... so you wouldn't meditate.
also, stamina skill does not need mana.
Btw,now I am thinking about it,there is not need to click 10 times with stig,SOA or shield because even elementary lvl needs 200 MP and fixed meditation gives 1020. It would need to click only 5 times.
Evan,
can you tell me how to do a background click and how to send f1 at a specific Conquer window which I select at the start(when I run the code). I mean run the code and then select the Conquer window, wait for 2 seconds and then the program starts right clicking and sending f1.
Thanks in advance,
Alexios
|
|
|
04/22/2009, 02:16
|
#423
|
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
|
Alexios@
sending background keys seems impossible as i couldnt find the control for the client
but control click works, and x110 is F1, x160 is F2..etc
so here is an example:
Code:
msgbox,4097,, Select client and press OK to continue
WinGet,id, ID, [C
loop
{
ControlClick, x110 y760,ahk_id %id%,,right
sleep 1000
}
|
|
|
04/22/2009, 14:08
|
#424
|
elite*gold: 0
Join Date: Aug 2007
Posts: 21
Received Thanks: 0
|
Im a noob with this so can u just tell me the coordinate of the center of the screen? is it 0,0 or what is it i dunno
|
|
|
04/22/2009, 15:54
|
#425
|
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
|
sithis6@
center of the screen = the client width/2 and height/2
so if u are using 1024x768, the center will be 512,384
|
|
|
04/22/2009, 15:59
|
#426
|
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
|
sithis6@
Get your screen's resolution and then get each number divide it by 2 and voila! You have the center of your screen.
Example: My screen's resolution is 1280*1024. I divide 1280 by 2, 1280/2=640 and then I divide 1024 by 2, 1024/2=512. The center of my screen is 640,512.
Evan_Lim@
Hi Evan.
I started learning a little bit about GUIs at AHK. Can you tell me how to add a second Radio Group? I read the Help of AHK but I didn't understand it completely. An example could help me.
Thanks in advance,
Alexios.
|
|
|
04/22/2009, 16:24
|
#427
|
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
|
Alexios@
Code:
Gui, Add, Radio, vMyRadioGroup1 Checked, 1
Gui, Add, Radio, vMyRadioGroup2, 2
Gui, Add, Radio, Group vMyRadioGroup3 Checked, 3
Gui, Add, Radio, vMyRadioGroup4, 4
Gui, Show, w100 h100
|
|
|
04/25/2009, 04:05
|
#428
|
elite*gold: 0
Join Date: Dec 2007
Posts: 39
Received Thanks: 8
|
Hey there Evan Lim
Could you make a Archer Spawn Bot for plvling similiar to evanxxxm's Archer bouncing bot (  Doesnt work anymore though.)
Could it have the following features:
Met/Db Pick up
Manual Char Name Address Changing
Also could you make it so that it doesn't aim at a specific monsters but just follows the path and scatter's randomly? I believe that right clicking control click scatter bots still work without sending you to auto click jail?
Thanks in advance. Much appreciated =D
|
|
|
04/25/2009, 04:33
|
#429
|
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
|
Billybob1233@
not tested
but what i changed about the bouncing bot is the memory address pointer
change all control clicks to normal clicks
and instead of searching monster health bar, it will scatter the direcation u are going
furthermore, u still have to find the correct memory address for current patch
Code:
#Persistent
IniRead, Charactername, %A_ProgramFiles%\path.ini, section1, Charactername
if CharacterName=Error
{
Charactername=0x50AE54
IniWrite, %Charactername%, %A_ProgramFiles%\path.ini, section1, Charactername
}
send {Ctrl up}
#Persistent
Menu, Tray, Icon, Shell32.dll, 44
Gui, +toolwindow
Gui, Add, Text,x10 y12 w80 h20, Log off after:
Gui, Add, Edit, x80 y10 w28 h20 vtimer,60
Gui, Add, Text,x110 y12 w80 h20, mins
Gui, Add, Text,x10 y32 w200 h20, Domain: -+
Gui, Add, Text,x10 y52 w200 h20, Range: -+
Gui, Add, Edit, x80 y30 w50 h20 vx1x,500
Gui, Add, Edit, x80 y50 w50 h20 vy1y,500
Gui, Add, Text,x10 y75 w200 h20, CharNameAddress:
Gui, Add, Edit, x10 y90 w70 h20 vCharactername,%Charactername%
Gui, Add, Button, x10 y122 w80 h20 vButton gStart, >Ok<
Gui, Show, x1 y1 h150 w150, CO Archer
return
GuiClose:
ExitApp
Gui, Show
return
Start:
Gui, Submit, Hide
choosepath=1
pathselect=1
timer *= 60000
StartTime := A_TickCount + timer
difcount=0
WinGet,id, ID,[Co
WinActivate, [Con
Process, Exist,Conquer.exe
pid = %ErrorLevel%
ProcessHandle := DllCall("OpenProcess", "int", 2035711, "char", 0, "UInt", PID, "UInt")
InputBox, name, Enter Character Name for memory address checking, , , 380,100
counter=0
StringSplit, nameArray, name
Loop, 4
{
counter++
this_name := nameArray%counter%
Transform, this_name2, asc, %this_name%
SetFormat, integer, hex
this_name2 += 0
StringReplace, this_name2, this_name2, 0x, , All
namehex=%this_name2%%namehex%
SetFormat, integer, d
}
namehex=0x%namehex%
SetFormat, integer, hex
addressS=%Charactername%
VarSetCapacity(outputA, 4)
DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", addressS, "Uint*", OutputA, "Uint", 4, "Uint *", 0)
if OutputA != %namehex%
{
msgbox, Wrong memory address`nPlease contact me in ELSE thread. `n%OutputA% -%namehex%
exitapp
}
SetFormat, integer, hex
adxxx:=Charactername + 68
adyyy:=adxxx + 4
WinActivate, ahk_id %id%
settimer, Timercheck, 5000
settimer, readXY, 800
settimer, hphp, 700
VarSetCapacity(orgX, 4)
VarSetCapacity(orgY, 4)
DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", adxxx, "Uint*", orgX, "Uint", 4, "Uint *", 0)
DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", adyyy, "Uint*", orgY, "Uint", 4, "Uint *", 0)
SetFormat, integer, d
lowerboundX := orgX - x1x
lowerboundY := orgY - y1y
UpperboundX := orgX + x1x
UpperboundY := orgY + y1y
lowerboundXa := lowerboundX
lowerboundYa := lowerboundY
UpperboundXa := UpperboundX
UpperboundYa := UpperboundY
IniWrite, %Charactername%, %A_ProgramFiles%\path.ini, section1, Charactername
difx := ceil(x1x / 10)
dify := ceil(y1y / 10)
sleep 1000
loop
{
loop 10
{
PixelSearch, outx, outy, 100, 100, 900, 600, 0xFF79FF,10,Fast
if ErrorLevel
{
gosub, function
}
else
{
tooltip, PickUp,1,1
click, %outx%,%outy%
}
sleep 600
}
gosub, function
}
return
return
;--------------------------------------function-------------------
function:
send {Ctrl down}
if pathselect = 1
{
if yyy < %lowerboundY%
{
choosepath = 2
pathselect = 2
}
}
else if pathselect = 2
{
if xxx > %UpperboundX%
{
choosepath = 3
pathselect = 3
}
}
else if pathselect = 3
{
if yyy > %UpperboundY%
{
choosepath = 4
pathselect = 4
}
}
else if pathselect = 4
{
if xxx < %lowerboundX%
{
choosepath = 1
pathselect = 1
lowerboundX += difx
lowerboundY += dify
UpperboundX -= difx
UpperboundY -= dify
difcount++
if difcount > 8
{
difcount=0
lowerboundX := lowerboundXa
lowerboundY := lowerboundYa
UpperboundX := UpperboundXa
UpperboundY := UpperboundYa
}
}
}
tooltip, Jump,1,1
if choosepath = 1
{
Click, 513 ,304
Click 513, 134
}
else if choosepath = 2
{
click, 593 ,384
Click 863, 384
}
else if choosepath = 3
{
click, 513,464
Click 513, 634
}
else if choosepath = 4
{
click, 433 ,384
Click 163, 384
}
send {Ctrl up}
click, right
return
return
;--------------------------------------HPcheck---------------------
hphp:
IfWinActive, ahk_id %id%
{
PixelSearch, , , 10, 720, 60, 720, 0x0B098F, 10, Fast
if ErrorLevel
{
ControlClick, x150 y740,ahk_id %id%,,RIGHT
sleep 1000
PixelSearch, , , 10, 720, 60, 720, 0x0B098F, 10, Fast
if ErrorLevel
{
ControlClick, x150 y740,ahk_id %id%,,RIGHT
send {F12}
sleep 300
winkill, ahk_id %id%
msgbox, PrintScreen saved in CO screenshot folder
ExitApp
}
}
}
else
{
Tooltip, CO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause`nCO not in focus`nBot Pause,1,1
pause
}
return
;--------------------------------------TimerCheck------------------
Timercheck:
ControlClick, x110 y740,ahk_id %id%,,RIGHT
End := A_TickCount
if End>=%StartTime%
{
winkill, ahk_id %id%
sleep 500
send {Ctrl up}
msgbox, DC timer activate!
reload
return
}
return
return
;--------------------------------------Memory check---------------
readXY:
VarSetCapacity(xxx, 4)
VarSetCapacity(yyy, 4)
DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", adxxx, "Uint*", xxx, "Uint", 4, "Uint *", 0)
DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", adyyy, "Uint*", yyy, "Uint", 4, "Uint *", 0)
return
return
;--------------------------------------HotKey---------------------
^r::
{
send {Ctrl up}
reload
}
^q::pause
|
|
|
04/25/2009, 07:51
|
#430
|
elite*gold: 0
Join Date: Dec 2007
Posts: 39
Received Thanks: 8
|
works, amazing thank you very much. =D
|
|
|
04/30/2009, 08:08
|
#431
|
elite*gold: 0
Join Date: Jan 2006
Posts: 10
Received Thanks: 1
|
How about a tool to repair equipped gear? Most importantly weaps?
|
|
|
04/30/2009, 08:12
|
#432
|
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
|
blacknamed@
as first post stated, u need to state the method of doing so too
so how?
|
|
|
04/30/2009, 18:43
|
#433
|
elite*gold: 0
Join Date: Jul 2006
Posts: 396
Received Thanks: 473
|
@Evan Lim
Hello Evan,
Could you please tell me how can I make the mouse click x-=5 co`ords and y+=20 and the next click to be in x+=10 and y-= 20 (just an example) I'm trying to do it the following way but it's not working :S
Code:
x1=106
y1=143
x2=882
y2=609
loop
{
IfWinActive, [Conquer2.0]
{
PixelSearch, Px, Py, x1, y1, x2, y2, 0x0303B8, 10, Fast
if ErrorLevel = 0
{
[COLOR="Red"][B]px+=89
py+=121[/B][/COLOR]
send {ctrl down}
sleep 100
click %px%,%py%
sleep 50
send {ctrl up}
[COLOR="Red"][B]px+=25
py+=34[/B][/COLOR]
click %px%,%py%
sleep 400
}
if errorlevel = 1
{
send {ctrl down}
Click 251,158
sleep 1000
click 251,158
sleep 1000
}
}
}
also tried,
Code:
x1=106
y1=143
x2=882
y2=609
loop
{
IfWinActive, [Conquer2.0]
{
PixelSearch, Px, Py, x1, y1, x2, y2, 0x0303B8, 10, Fast
if ErrorLevel = 0
{
{
[COLOR="Red"][B]px+=89
py+=121[/B][/COLOR]
send {ctrl down}
sleep 100
click %px%,%py%
sleep 50
send {ctrl up}
}
{
[COLOR="Red"][B]px+=25
py+=34[/B][/COLOR]
click %px%,%py%
sleep 400
}
if errorlevel = 1
{
send {ctrl down}
Click 251,158
sleep 1000
click 251,158
sleep 1000
}
}
}
also didn't work.
Thanks,
Darkyy
|
|
|
05/01/2009, 00:00
|
#434
|
elite*gold: 0
Join Date: Nov 2006
Posts: 4
Received Thanks: 0
|
Hello there sir evan.... I used to use your ElsePath bot a while ago, and I cant figure out the char name code to put for this patch we are on because I cant get the debugger to work right.... can you help me with this, or just post the newest charname value for me please and thanks
|
|
|
05/01/2009, 00:57
|
#435
|
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
|
Darkyy@
like this?
Code:
x1=106
y1=143
x2=882
y2=609
loop
{
IfWinActive, [Conquer2.0]
{
PixelSearch, Px, Py, x1, y1, x2, y2, 0x0303B8, 10, Fast
if ErrorLevel = 0
{
firstclickx := Px - 5
firstclicky := Py + 20
send {ctrl down}
sleep 100
click %firstclickx%,%firstclicky%
sleep 50
send {ctrl up}
secondclickx := Px + 10
secondclicky := Py - 20
click %secondclickx%,%secondclicky%
sleep 400
}
if errorlevel = 1
{
send {ctrl down}
Click 251,158
sleep 1000
click 251,158
sleep 1000
}
}
}
winstreak@
ehm, please use the new COELSE in bot section
in there, ADV setting > CharName Set > type in ur name > after updating check confirm edit > press OK
|
|
|
 |
|
Similar Threads
|
Tailer-made Tools thread - make ur dreams come true
10/28/2008 - Conquer Online 2 - 1577 Replies
Closed
Thread discontinued due to personal reasons
Thanks for the previous support
Hi elite users,
I am Evan. Not quite well-known in forum due to the fact i only release wicky and unpopular programs...Thx for a1 and others to scan/explain when others flame or questioned me. anyhow, i am a AHK (autohotkey) user, and i like programming more than games.
Lets get to the main point:
Tell me your ideas, i will try to create a tool that satisfy ur needs
Please be specific, examples:
|
Packet Crafter/CO2/CO 2/Hacks/Tools/Programs
06/27/2007 - CO2 Exploits, Hacks & Tools - 13 Replies
================================================== ==================
TCP/IP Packet Injector
====-v1.4-======================================= ===================
This Project is designed to be a command line based, portable human IP
stack for UNIX-like and Windows systems. The suite is broken down by protocol,
and should allow for useful scripting of injected packets from simple shell
scripts.
|
Net Tools /EXE Binder/CO2/Tools/Hacks/Programs
06/26/2007 - CO2 Exploits, Hacks & Tools - 22 Replies
Net Tools is cutting-edge security and network monitoring software for the Internet and Local Area Networks, providing clients with the ability and confidence to meet the challenges of tomorrow's technology. Keeping pace with the industry trends, we offer professional tools that support the latest standards, protocols, software, and hardware for both wired and wireless networks. The main goal is the creation of high quality software. Net Tools is a very strong combination of network scanning,...
|
All times are GMT +1. The time now is 10:20.
|
|