Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Find offset to next node in linked list, fishing for ideas.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
zonemikel
Newbie cheater
Reputation: 0

Joined: 20 Dec 2007
Posts: 18

PostPosted: Thu Mar 13, 2008 4:26 pm    Post subject: Find offset to next node in linked list, fishing for ideas. Reply with quote

Well the subject pretty much says it all. I will explain what i have done and a little more though.

Im almost sure that i have the pointer to an object's structure. I know when you select something a static address holds a pointer, if you select soemthing else this static address's value (pointer to obj) changes. I can use this pointer and add offsets to it to get mana/stam/hp name etc. So im pretty sure its the pointer to the object, it works for all objects whether its a npc, object in inventory or other player.

If anyone knows a sure shot way to prove if a object is part of a linked list let me know. But from what i can see in memory and the way the objects behave in memory im pretty sure they are all part of a linked list.

I also know the first couple of bytes in the objects structure can determine what it is. If the first couple of bytes are "H7T" its a object like a potion, if the first couple of bytes are "/&T" then it is a player or a NPC but not a mob. Mob's have another one that i dont recall right now. So i can search for items and people in memory pretty easily.

Now i have been trying to find the offset to the pointer from one object to the next but im not sure how to go about it. I have tried to get to a place in the game where there is just me and another mob and see if the mob's sturcture (mem dump) holds a address to mine and visa versa but as of now that has not been fruitfull. I have also tried searching in the memory dump to for a item (search text "h7t") and searching the next ones memory dump for the previous or next ones address. This second method is flawed because there could be a different type of item in between the two "object" items that is throwing my searching off.

So before i spend a whole lot of time on it i just thought i would fish for ideas and see if anyone else has and good pointers on how to find the offset from one node to the next in a linked list.

If you are wondering im making a program that iterates through all the objects in the memory and does stuff based off the objects. Pretty sure this is a comon thing to do when making farmbots and modifications.

TIA
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites