Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Aion
You last visited: Today at 14:54

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

Advertisement



Help with memory reading. C++.

Discussion on Help with memory reading. C++. within the Aion forum part of the MMORPGs category.

Reply
 
Old   #1
 
Hate123's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 75
Received Thanks: 42
Help with memory reading. C++.

Hello people, I'm kinda new to memory reading in c++. Been doing similiar stuff, and done some other stuff like packet hacks etc but anyway, to the issue.

I get weird values from AION when reading. And I'm prolly going about this totally wrong so I'll post you the code and hopefully some kind soul out there will point me in the right direction.

Code:
        int address = 0xA82424;
        int value;
        DWORD pid;
        if(!GameWindow)
        {
           cout <<"Window not found!";
        } else {

         GetWindowThreadProcessId(GameWindow,&pid);
         HANDLE phandle = OpenProcess(PROCESS_ALL_ACCESS,0,pid);
         if(!phandle)
         
		 { cout <<"Could not get handle!"; } else {


           ReadProcessMemory(phandle,(LPVOID)address,&value,4,0);

           cout << endl << "value: " << value << endl;
		   cout << "hwnd: " << GameWindow << endl;
		   cout << "phandle: " << phandle << endl;
		   cout << "adress: " << (LPVOID)address << " - " << GameWindow+address << endl;

			int m;	
		   cin >> m;
           
           }

         }
GameWindow is the hwnd, I get it eariler in the code just so you know.

Result of THAT search is this:

value: 0
hwnd: 020D0224
phandle: 000007CC
adress: 00A82424 - 04AD92B4(this last one is just to test some).
Hate123 is offline  
Reply


Similar Threads Similar Threads
VB 08 Memory Reading
07/06/2010 - .NET Languages - 2 Replies
Hallo, Ich wollte in einem Spiel die HP auslesen lasse, dabei bin ich aber auf ein Problem gestoßen. Das Problem ist, das die Pointer Adresse so aussieht : "Hero.exe+".. http://www.imagebanana.com/img/o0org9ha/Problem.p ng Kann mir vllt. jmd sagen, wei ich das hinbekomme ?
Memory reading etc.
06/18/2008 - General Coding - 11 Replies
-
Memory reading help...
02/10/2007 - Conquer Online 2 - 1 Replies
Hi, I need to read the amount of arrows on an archer (0-500). I have the pointer and offset, and i can get the right number in cheat engine, however whenever i try to read it from autohotkey i always get 0. Don't know why. I've always read 4 byte data before so i don't really know if i have the right code for 2 byte data. Here's the autohotkey code ExtInt&#40;ByRef pSource, pOffset = 0, pIsSigned = false, pSize = 4&#41;; From AutoHotKey Help { Loop %pSize% result += *&#40;&pSource +...
Help with Reading Memory
01/28/2007 - Conquer Online 2 - 1 Replies
Hello, I've been programming my own Program, but im now busy with the hardest stuff, and i'm writing in VB.NET 2005 who can help me with a simple Example to read a memory adress and this convert to an TEXT label? the basic is:
VB.Net Memory Reading
11/03/2006 - .NET Languages - 0 Replies
Basically I'm doing a course in VB.Net and I'm wondering if theres anyone here who can teach me or show me how to read memory values in my project. My course does not cover this, so I'm stuck with either self-research or asking questions. If anyone can help then I'd be very grateful. PS: The target game I'll be testing on is Conquer Online 2



All times are GMT +1. The time now is 14:55.


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.