Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 18:09

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

Advertisement



Getting value from an address.

Discussion on Getting value from an address. within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 7
Received Thanks: 4
Getting value from an address.

I have a question. How should i go about getting a value from an address ? In my case i have a health address and i want to get the value so i can use it for comparison with some other value. Is there any way to do that ?
metodski is offline  
Old 03/13/2011, 11:30   #2
 
black0utCpp's Avatar
 
elite*gold: 0
Join Date: Oct 2010
Posts: 381
Received Thanks: 210
Do you know CheatEngine excellent Software !
black0utCpp is offline  
Old 03/13/2011, 11:51   #3
 
elite*gold: 150
Join Date: Dec 2010
Posts: 112
Received Thanks: 159
there are ways to do this, of course.
If you use C/C++ you could do inline asm (there may be mistakes, because im new to all this):


in intel syntax it would be something like this:

in AT&T:

or use pointers:


you can also use memcpy, of course.
5769854332 is offline  
Old 03/14/2011, 14:36   #4
 
elite*gold: 0
Join Date: Aug 2007
Posts: 7
Received Thanks: 4
Thanks but all of those give me some access violation .

Unhandled exception at 0x5254cac4 (msvcr100d.dll) in Trainer.exe: 0xC0000005: Access violation reading location 0x03c870a0.
metodski is offline  
Old 03/14/2011, 19:56   #5
 
elite*gold: 150
Join Date: Dec 2010
Posts: 112
Received Thanks: 159
well, the above methods only work, if you read or write to memory of your own process (i should have mentioned that earlier, sry).

If you want to read or write memory of another process, then -in order to prevent access violations- you need ReadProcessMemory() and WriteProcessMemory(). Use Google, then you will find many example programs that use those functions.
5769854332 is offline  
Reply


Similar Threads Similar Threads
Address 31/8/10
08/31/2010 - WarRock Hacks, Bots, Cheats & Exploits - 13 Replies
address warrockby coccolo.txt :D
New address
08/27/2010 - WarRock Hacks, Bots, Cheats & Exploits - 8 Replies
Addr_AutoAmmo 0x008AE96C Addr_AutoRepair 0x008AE970 Addr_Scope 0x007CFE84
address HP and MP PLZ
03/10/2010 - 9Dragons - 0 Replies
I'm making a bot it does not seem to find the address of the HP and MP can someone help?
NEW ENG? Can't see the address?
06/07/2009 - Grand Chase - 12 Replies
i cant see any address while scanning 1 hit hack
[HELP] Finding Gm address & AoE address on CABAL
10/23/2008 - Cabal Online - 0 Replies
How can i find Gm address and Aoe Address on CABAL ? im using CE please help me. TNX! :bandit:



All times are GMT +1. The time now is 18:09.


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.