Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 21:15

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old 05/01/2009, 09:52   #436
 
Darkyy's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 396
Received Thanks: 473
[QUOTE=Evan Lim;2145809]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
 }
}
}
thanks
Darkyy is offline  
Old 05/04/2009, 17:49   #437
 
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
Hi Evan!
When you can, make a program that I will give the memory address for HP/name/whatever I want, and it will write it in Tooltip.
Mostly I want the code, to see how I can do things with the "information" I get from memory addresses.
Thanks in advance,
Alexios.
Alexios is offline  
Old 05/04/2009, 19:12   #438
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Alexios@
for how many bytes? (in multiple of 4 will be good)
for example if ur CharName is Alexios, and u output 4 bytes, it will be Alex in hex numbers
however if u say u want to output 12bytes, sure it will display Alexios, but if there exists other memory address after byte 7. it will display those too
another example will be, if a number is greater than 65535, it requires 8 byte. like if u say output is 4 byte, but actually number is bigger than 65535, certainly it will display the wrong number
Evan Lim is offline  
Old 05/04/2009, 19:16   #439
 
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
Hmm... I dk. let's say 8 bytes and if I want I can change it,right?
Alexios is offline  
Old 05/04/2009, 19:27   #440
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Alexios@
i only have 4 byte function in my library function folder
but if u want to read 8 byte, u can simple read two times, for example, read 0x123123 8 bytes, then u can read 0x123123 and 0x123123+4=0x123127
and just combine the results
Code:
loop 
{
value:=ReadMemory(0x123123,"[Conquer2.0]")
tooltip, %value%
sleep 1000
}

ReadMemory(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%

VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)

Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)

return, result 
}
Evan Lim is offline  
Thanks
1 User
Old 05/04/2009, 19:51   #441
 
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
@Evan_Lim

If I give it an address with text, in tool tip it gives me a number... How can I correct that?

Also if I want to read 8 byte, I will write
Code:
value:=ReadMemory(0x123123,"[Conquer2.0]")
value2:=ReadMemory(0x123127,"[Conquer2.0]")
tooltip, %value%%value2%
sleep 1000
instead of

Code:
value:=ReadMemory(0x123123,"[Conquer2.0]")
tooltip, %value%
sleep 1000
I am waiting your answer!
Alexios is offline  
Old 05/04/2009, 19:53   #442
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
convert hex to string, try google it first
i am studying an exam at 4pm
so probably i will do that afterwards if u still couldnt find any results
Evan Lim is offline  
Old 05/04/2009, 19:59   #443
 
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
O.o! Go study!
After you finish with your exam,then come back here!
Btw, Good luck at your exam!

Edit: I searched a little bit and I couldn't find how to do it in AHK(in other languages there were some programs that they were doing it, but I did not find one for AHK). When you finish with your exam, if you can, make a program or tell me how to convert it.
Thanks!
Alexios is offline  
Old 05/05/2009, 02:13   #444
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Alexios@
ok what i add is a little bit of conversation from hex to character
Code:
loop 
{
value:=ReadMemory(0x123123,"[Conquer2.0]")
tooltip, output: %value%,1,1
sleep 1000
}

ReadMemory(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%
VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)
Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)
SetFormat, IntegerFast, Hex
result+=0
count=1

loop 4
{
count+=2
StringMid, c, result, %count%, 2
c=0x%c%
c:=chr(c)
final=%c%%final%
}
return, final 
}
Evan Lim is offline  
Old 05/05/2009, 15:00   #445
 
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
Hi Evan!
Thanks a lot for your help!
Could you tell me what should I change in the following code? (I combined the first version with the second,because I want Numbers and text appear at the tooltip)
Code:
CoordMode, ToolTip, Screen
loop 
{
value:=ReadMemoryText(0x5DAC50,"[Conquer2.0]")
value2:=ReadMemoryNumber(0x5DB6DC,"[Conquer2.0]")
value3:=ReadMemoryNumber(0x5DB688,"[Conquer2.0]")
tooltip, Text:%value%`nNumber: %value2% `nNumber: %value3%,1,1
sleep 1000
}

ReadMemoryText(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%
VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)
Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)
SetFormat, IntegerFast, Hex
result+=0
count=1

loop 4
{
count+=2
StringMid, c, result, %count%, 2
c=0x%c%
c:=chr(c)
final=%c%%final%
}
return, final 
}

ReadMemoryNumber(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%

VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)

Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)

return, result 
}

^q::pause
Thanks in advance,
Alexios

EDIT: The problem is that I see the numbers in Hex and not Dec.
EDIT 2: I found it!
I added the following in ReadMemoryNumber function.
Code:
SetFormat, IntegerFast, DecimalPlaces
result+=0
Thanks anyway!
Alexios is offline  
Old 05/05/2009, 15:54   #446
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Alexios@
Code:
CoordMode, ToolTip, Screen
loop 
{
value:=ReadMemoryText(0x8d3c02,"The Warlords")
value2:=ReadMemoryNumber(0x8D5b93,"The Warlords")
value3:=ReadMemoryNumber(0x8D5b93,"The Warlords")
tooltip, Text:%value%`nNumber: %value2% `nNumber: %value3%,1,1
sleep 1000
}

ReadMemoryText(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%
VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)
Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)
SetFormat, IntegerFast, Hex
result+=0
count=1

loop 4
{
count+=2
StringMid, c, result, %count%, 2
c=0x%c%
c:=chr(c)
final=%c%%final%
}
return, final 
}

ReadMemoryNumber(MADDRESS,PROGRAM)
{
winget, pid, PID, %PROGRAM%
[COLOR="Blue"]SetFormat, IntegerFast, d[/COLOR]

VarSetCapacity(MVALUE,4,0)
ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)

Loop 4
result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)

return, result 
}

^q::pause
Evan Lim is offline  
Old 05/05/2009, 22:32   #447
 
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
@Evan_Lim

Hi Evan!
Is it possible to send a file or the contain of a file to an email or to an url? Without the user does anything?

Thanks in advance,
Alexios
Alexios is offline  
Old 05/06/2009, 00:02   #448
 
Evan Lim's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 976
Received Thanks: 668
Alexios@
it is possible, but need external dll
and it is a sensitive topic in AHK forum as it can be a security issue
so u might find it difficult in finding a copy and paste code
also, i dont know how yet
Evan Lim is offline  
Old 05/06/2009, 19:17   #449
 
elite*gold: 12
Join Date: Mar 2009
Posts: 383
Received Thanks: 1,317
@Evan_Lim
I see. If you are interested in it and you learn how to do it, could you send me a PM?
I was going to search at AHK forum, but from the next week, my final exams are starting so, I can't spend that much time now.
Thanks!
Alexios is offline  
Old 05/08/2009, 01:46   #450
 
elite*gold: 0
Join Date: Jun 2008
Posts: 16
Received Thanks: 0
Evan_Lim

ill be so happy if u can make a Nobility Rank bot for me.

For example..
in the conquer i play..i can have all cps i want..so i can donate 2 Millions cps every time...and 2 million cps = 999999999999 i think...well..the thing is that 1 guy said he have the bot cuz he developed it..

So...ill like a nobility rank bot that allows me to donate more than 2 Million cps each time..for example..ill like that it donates 10 Millions CPS each time so it will donate like 99999999999999999 XD...well i hope u understand me.. ill appreciate it to much.
And the server i play is TQ binary patch 5065

Bye

PD: i saw u make Codes..so if u could make what i want...how i use that Code O.o ? sorry..im noob on this.
XLoRdKiKeX is offline  
Reply

« :) | question »

Similar Threads 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 21:15.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.