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 


Problem finding offset for an instante of a vector

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Lem0nz
How do I cheat?
Reputation: 0

Joined: 24 Feb 2017
Posts: 1

PostPosted: Fri Feb 24, 2017 8:40 pm    Post subject: Problem finding offset for an instante of a vector Reply with quote

Hello!


I'm currently trying to create a bot to farm for me.
I'll tell you what I have.

Atm I need to get access to the vector (a C++ vector), I've got my hands on the source code (found it on the web) and was able to confirm that this information is true.
I've also found that the vector only has RENDERED mobs, which I can see.

I've already found elements inside the vector and even tried to reduce the number of rendered mobs to 1 so the element I would find by looking up for his ID would be the only element inside the vector.
But, how will I find the offset?

I think what I have to do is get the process first address and add the offset to the vector instance so I can get access to his members and iterate (x bytes at a time and casting it to the template of the vector) and then I could get the coordinates of the monsters.

How can I find out the correct address (which the process uses first to alocate memory) so I can subtract the address of the vector and get the offset?


Is my logic correct? Please give me an insight if you can, this is my first time trying something like this.

By the way, the bot will work based on a dll I will inject in the game (I've tested it and I can inject without problems).
The game in question is Metin2, and I'm playing on a private server.


Thank you for your time.
Lem0nz
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