Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:02

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

Advertisement



Memory Address

Discussion on Memory Address within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
SaM.ThE.MaN's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 828
Received Thanks: 427
Memory Address

Hi,

Long time ago , i found a tut on epvp.

What i want to do is : $Hp = 0x53hdf5 <-- My character Hp address ,

I want to show it on Input1 ....
SaM.ThE.MaN is offline  
Old 12/07/2010, 12:15   #2
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
open the process with all access flag, read that adress, close the handle of the opened process, and the memory read stuff is done...

could be realized like this (guess the hp is stored as integer/dword):
Code:
Func memread($pid, $adress)
	Local $kernel32 = DllOpen('kernel32.dll'), $process = DllCall($kernel32, 'int', 'OpenProcess', 'int', 0x1F0FFF, 'int', 1, 'int', $pid), $struct = DllStructCreate('dword')
	DllCall($kernel32, 'int', 'ReadProcessMemory', 'int', $process[0], 'int', $adress, 'ptr', DllStructGetPtr($struct), 'int', DllStructGetSize($struct), 'int', '')
	DllCall($kernel32, 'int', 'CloseHandle', 'int', $process[0])
	DllClose($kernel32)
	Return DllStructGetData($struct, 1)
EndFunc
when u've got the value, you can simply use GuiCtrlSetData or ControlSetText to save it in an input/label...
lolkop is offline  
Reply


Similar Threads Similar Threads
memory address
01/23/2008 - Conquer Online 2 - 0 Replies
any1 can make a memory address on monster count?using cheat engine perhaps?
Memory Address
12/19/2007 - Conquer Online 2 - 0 Replies
Hello, I need help for making memory address's result based on what we need from MemAddr.ini. I.e: for C#/CSharp language:- // Declare the unmanaged functions. private static extern int GetPrivateProfileString(string lpAppName, string lpKeyName, string lpDefault, StringBuilder lpReturnedString, int nSize, string lpFileName);
memory address
12/07/2007 - Conquer Online 2 - 3 Replies
is it possible for memory address the monster count i could use 1 for 300 kills monster :P
Memory Address Help
06/15/2006 - Conquer Online 2 - 3 Replies
Currently I am trying to make a simple program to tell you if your health goes down. So far I just cannot get the value of HP via memory... well I can in a way; I end up with an address that counts your HP by 256s.... (I could not find the HP using exact value searches, so I did increase/decreased by X) I think this is a one-byte address, but I always thought HP was a 4-byte address, and I do have TSearch searching for 4-byte values. Here is my HP versus what the "256" HP address reads (I...



All times are GMT +1. The time now is 04:02.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.