Register for your free account! | Forgot your password?

You last visited: Today at 01:10

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

Advertisement



wow character data lookup program

Discussion on wow character data lookup program within the WoW Exploits, Hacks, Tools & Macros forum part of the World of Warcraft category.

Reply
 
Old   #1
 
Lowfyr's Avatar
 
elite*gold: 235
The Black Market: 135/1/0
Join Date: Jul 2003
Posts: 16,562
Received Thanks: 17,758
sicher nützlich für den ein oder anderen
------------

A small program to demonstrate a method for obtaining a pointer to WOW's character data. This pointer can then be used to access various information such as your character's x, y, and z location.

I wrote this because I have only seen methods of obtaining this pointer by rummaging through WOW's stack. The problem with this is it doesn't always find the pointer and sometimes it can lead to crashes.

To accomplish this, I simply debugged WOW's process to see how it obtained the pointer. Unfortunately, the algorithm became quite complicated, so I encapsulated it inside a dll to make things a little easier. Included is a C++ program demonstrating the use of the dll along with source code for the dll itself. The dll has to make a LOT of reads to WOW's process, so it's terribly inefficient. It would be much faster if it were to execute from within WOW's address space. I didn't do that, however, because I knew there would be people that would feel uneasy about it.

Generally you want to call "FindCharacterPointer" whenever "time" has elapsed. Like every time your timer fires or the user presses a button you should call this function so you are sure your pointer is valid. Doing this will eliminate the need for a "refresh" button, and will help avoid crashes as the dll is fairly stable.

The other exported function "GetWOWHandle" will return a handle to WOW's process with query, read, and write access. This function doesn't really need to be included, but it just made things somewhat easier when I wrote that little test app. Not really important to use that if you don't want to. Note that it only get's updated after a call to FindCharacterPointer.

I made an effort to make the dll "version independent". There is a function that tries to locate the starting offset(which will change with each new version of WOW) instead of hard coding the value. I've tested it successfully with 1.2.1, 1.2.3, and 1.2.4. I wanted to test more than that, but I ran into problems like not being able to find a patch and/or working server. Maybe if I tried harder, but the versions tested are the most important ones anyway. Theoretically as long as Blizzard doesn't make any changes to their character objects, or whatever they are, this program will continue to work for future versions.

Feel free to use the code in anyway you see fit; think of it more as a tutorial. I tried to keep the code simple and provide ample comments so some people could actually learn something instead of blindly using it. If anyone runs into a problem/bug let me know and maybe I will fix it. I hope someone will find this example useful.

Finally, I want to thank the Mobius people, as I mercilessly ripped their x, y, and z offsets for the test program =P
Attached Files
File Type: ibf post-57-1110450814.ibf (35.4 KB, 80 views)
Lowfyr is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Request] Default character data user_character table
10/08/2009 - Dekaron Private Server - 5 Replies
hehehe, i was cleaning abit too much data today :mofo: Can someone post a tsql-txt dump of the default chars in user_char ? thanks alot! :handsdown:
[Request] Could anyone upload a program to unpack data.pak?
09/22/2009 - Dekaron Private Server - 8 Replies
Could anyone upload a program to unpack data.pak? pls because i have Pak file extraction tool but it gives me errors.... btw i need unpacer for Rusaki dekaron... thanks
there are some program to rename my character?
04/03/2009 - CO2 Programming - 1 Replies
plzz needd thanks.
Searching - Program that Reads Data - HELP ME
12/11/2007 - Conquer Online 2 - 7 Replies
I am searching for a program that can read data, becuase i want to make cyclone, luckytime, etc hacks for CO



All times are GMT +2. The time now is 01:10.


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