Tailor Made Tools/Programs for You - AHK

04/25/2010 01:31 Evan Lim#1066
shimo diaz@
are u sure ur CO client name is "Conquer"?
not something like "[Conquer...etc"
04/25/2010 07:47 shimo diaz#1067
@evan
OMG I thought that I needed the process name "Conquer.exe" but I needed the window name :D
WOW AHK is really easy compared to C# although C# is much stronger but AHK is better in simple programs :)
Time for a new questions :p
Does CheatEngine consume lots of my ram memory? because I was searching for some address and my CPU said that there isn't enough ram memory!
In conquer I can open 2 clients that means 2 windows with the same name how do I make the program recognize the wanted client window?
04/25/2010 18:30 Evan Lim#1068
shimo diaz@
Quote:
Does CheatEngine consume lots of my ram memory?
well u can check Cheatengine ram usage in task manager
Quote:
how do I make the program recognize the wanted client window?
with the earlier function, u cant. u need something like [VxE] #13 post
Code:
ReadMemory(MADDRESS=0,PROGRAM="")
{
   Static OLDPROC, ProcessHandle
   VarSetCapacity(MVALUE,4,0)
   If PROGRAM != %OLDPROC%
   {
      WinGet, pid, pid, % OLDPROC := PROGRAM
      ProcessHandle := ( ProcessHandle ? 0*(closed:=DllCall("CloseHandle"
      ,"UInt",ProcessHandle)) : 0 )+(pid ? DllCall("OpenProcess"
      ,"Int",16,"Int",0,"UInt",pid) : 0)
   }
   If (ProcessHandle) && DllCall("ReadProcessMemory","UInt"
   ,ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)
   return *(&MVALUE+3)<<24 | *(&MVALUE+2)<<16 | *(&MVALUE+1)<<8 | *(&MVALUE)
   return !ProcessHandle ? "Handle Closed: " closed : "Fail"
}
and then put a msgbox before that function to ask the user to open the active client (something similar to COELSE)
04/25/2010 20:30 shimo diaz#1069
@evan
Sorry I didn't get some of what you said
1- I must use this function you wrote can I rename this function something else so I could use both functions?
2- what do you mean by opening the active client? do you mean that I should make the client window active?
3- mind giving me an example?
4- would this SpeedHack lock me up in bot jail? :D
PHP Code:
^s::WriteMemory(2147483648,0xF71EFB,"[Conquer] Raiding Clans"WriteMemory(8388608,0xF71EFC,"[Conquer] Raiding Clans"WriteMemory(32768,0xF71EFD,"[Conquer] Raiding Clans"WriteMemory(128,00F71EFE,"[Conquer] Raiding Clans")
^
x::WriteMemory(0,0xF71EFB,"[Conquer] Raiding Clans"WriteMemory(0,0xF71EFC,"[Conquer] Raiding Clans"WriteMemory(0,0xF71EFD,"[Conquer] Raiding Clans"WriteMemory(0,00F71EFE,"[Conquer] Raiding Clans"
04/25/2010 22:34 Evan Lim#1070
shimo diaz@
1. yes, make sure u rename the output of the WinGet PID too, so they wouldnt overwrite the same variable
2. for same title window, WinGet will only select the top-most, so in order to hook to the correct client, u need to active the client u want to hook
3.
Code:
msgbox, 262144,, Active Target client and press OK to continue
memory function...etc
4. i never make a SH before, so not sure

the script u provide need to be in separate lines, example:
Code:
^s::
WriteMemory.......
WriteMemory.......
return
04/26/2010 23:32 shimo diaz#1071
I didn't try the function yet but just asking a question what happens if use WriteMemory and the process doesn't exist
04/27/2010 01:28 Evan Lim#1072
shimo diaz@
nothing happens
or
nothing i notice change of
05/04/2010 15:12 shimo diaz#1073
@evan
This is most likely impossible but is there a function in AHK to send packets to client and to the game server?
05/05/2010 02:18 Evan Lim#1074
shimo diaz@
yes, search for Winsock in AHK forum, but it wont be easy to learn/modify from those examples
(i have no experienced in Winsock)
05/05/2010 18:12 shimo diaz#1075
@evan
OMG Winsock is shit I can't understand anything from this function I can't even get the meaning of socket :S but I wonder if AHK has all this then why is C# and C++ stronger :S
05/05/2010 21:19 Evan Lim#1076
shimo diaz@
lets keep it simple, AHK can do the things that C++ can, because AHK is basically a wrapper/translator, its not a programming language by itself and for those complicated useful functions, it is usually wrap in a DLL, which can be used by all programming language that support DLLCALL.
so in short, if u cant find a function that AHK can do, but C++ can, its because no one has translated it yet, but it can be done

so back to WinSock, its not because AHK is so powerful that can do packet sending, its because AHK can DLLCALL "Ws2_32\socket" dll function that is created by another programming language
05/09/2010 09:17 Ian*#1077
I believe the sendpacket function starts at
0x005E0FF6 in winsock module (so if ya want to implement it with WriteMemory you can)

and if you want to receive packets 0x005E103C is where it starts, RecvPacket function might be a bit more tricky, but that's up to you guys, im not an AHK user ^^

Those are after the packet is decrypted (when you recieve) and before it's encrypted
when you send.
So basically you get the packets how they are
05/10/2010 12:31 kirayusri#1078
can u make a bot that can go to the specifict location i already post a question u can go here:[Only registered and activated users can see links. Click Here To Register...] it will be appereciate if u can help.so quest will be eassier
05/10/2010 13:39 shimo diaz#1079
@evan
Is there anyway to make an aimbot for scent sword using the pixel of the character's shadow? something like this
[Only registered and activated users can see links. Click Here To Register...]
05/10/2010 18:58 Evan Lim#1080
kirayusri@
COELSE does have a path function system
if u dont want COELSE to attack monsters while walking to the destination, just disable "show name"

shimo diaz@
not possible unless u can make that shadow a solid unique color