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 


Anyone experienced in injecting/code caves read...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
mStorm
Expert Cheater
Reputation: 0

Joined: 21 Feb 2009
Posts: 107

PostPosted: Mon Mar 09, 2009 5:05 pm    Post subject: Anyone experienced in injecting/code caves read... Reply with quote

I've been trying to find the base pointer for this game forever, it's just too complex and crashes too often when using needed options.

Note: All I want to do is read the address, so I just want to store it into a static address so I can always read the value.

What I'm resorting to is somehow to change the game's code to direct the memory address I want to read into a static address.

When I debug the game, I get the mov command, but there is important code below and above where it writes to the address. I was wondering if this is possible before I jump off the deep end and start fudging with it.

Can I change the line of code to jmp to a code cave that:

- stores the memory address into a static pointer
- do the operation that I overwrote with the "jmp" command
- return back to the next line of original code.

Does anyone have tutorials on this? I'm looking to write a program that nearly just reads current hp and target hp, I don't care about writing.

Thanks in advance.
Back to top
View user's profile Send private message
Lingon
Newbie cheater
Reputation: 0

Joined: 23 Jan 2009
Posts: 20
Location: SWEDEN

PostPosted: Mon Mar 09, 2009 5:39 pm    Post subject: Reply with quote

What game is this and what have you tried sofar?
this helps others help you better
when you searched did you find any pointer att all?, ussually the pointer that points to the none static address is not far from it,
and dont forget to set the correct offset so it can find the address its pointing to otherwise you wont be able to freeze the pointers value , the value that you need to change in the address that changes.

_________________
Never give up!
Back to top
View user's profile Send private message
mStorm
Expert Cheater
Reputation: 0

Joined: 21 Feb 2009
Posts: 107

PostPosted: Mon Mar 09, 2009 6:06 pm    Post subject: Reply with quote

I've actually traced it back about 6 levels to a green address. Saved that pointer, thought I had it.. restarted the game and it changed.

I've ran pointerscanners a bit and the injected crashes the game when I try to save and the default hasn't come up with any.

I've just spent too much time on it... and figure out some kind of injection could give me the solution I need.

Problem is: I'm experienced in C++, but not code injection.. i can figure that out, but i'm worried because the address of the opcode changeseverytime i start the game.


ahhhh help.
Back to top
View user's profile Send private message
Lingon
Newbie cheater
Reputation: 0

Joined: 23 Jan 2009
Posts: 20
Location: SWEDEN

PostPosted: Mon Mar 09, 2009 6:35 pm    Post subject: Reply with quote

Quote:
I've actually traced it back about 6 levels to a green address. Saved that pointer, thought I had it.. restarted the game and it changed

ok but did you set the offset?

_________________
Never give up!
Back to top
View user's profile Send private message
mStorm
Expert Cheater
Reputation: 0

Joined: 21 Feb 2009
Posts: 107

PostPosted: Mon Mar 09, 2009 7:02 pm    Post subject: Reply with quote

Yea, i sucsessfully created a 5 level pointer (using 5 offsets & memory addresses) from a static pointer, but it changed when i restarted.
Back to top
View user's profile Send private message
chadory8
Cheater
Reputation: 0

Joined: 05 Jan 2008
Posts: 29

PostPosted: Mon Mar 09, 2009 7:03 pm    Post subject: Reply with quote

Lingon wrote:
What game is this and what have you tried sofar?
this helps others help you better
when you searched did you find any pointer att all?, ussually the pointer that points to the none static address is not far from it,
and dont forget to set the correct offset so it can find the address its pointing to otherwise you wont be able to freeze the pointers value , the value that you need to change in the address that changes.


Either way most injectors work the same. So even if its Soldierfront Maplestory is does'nt make a difference Smile
Back to top
View user's profile Send private message
mStorm
Expert Cheater
Reputation: 0

Joined: 21 Feb 2009
Posts: 107

PostPosted: Mon Mar 09, 2009 8:41 pm    Post subject: Reply with quote

If the address with the opcode that accesses the address changes every time you load the game, does that rule out using injection to create a cave to store the memory address into a static variable?
Back to top
View user's profile Send private message
Lingon
Newbie cheater
Reputation: 0

Joined: 23 Jan 2009
Posts: 20
Location: SWEDEN

PostPosted: Mon Mar 09, 2009 9:04 pm    Post subject: Reply with quote

Pretty much so you need to find the base pointer address if you dont find that pointer adress you just cant throw the none static adress into any other static pointer, atleast what i know, you first need to find the right pointer witch points to the changing address and then set the correct offset, ones that is done you can build your cave and throw in your own code, thats the simple way,may not sound so simple but, ones you got it one time you it will be easier to do it the next time,
thats the way of dma, you cant just ignore it!

_________________
Never give up!
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Mon Mar 09, 2009 9:22 pm    Post subject: Reply with quote

yes yes all this and more is possible..
try finding a code signature that places you around the desired area and use SigSeek_FindCode() to do this..(google it) using this method should provide greater stability..

once you have found a reliable Signature

you can use
DWORD SigStart = SigSeek_FindCode(Module,Module+ModSize,&Sig,Sizeof(Sig));
SigStart (+/-) some bytes to get the address written to in the code
and access it that way..
Back to top
View user's profile Send private message MSN Messenger
mStorm
Expert Cheater
Reputation: 0

Joined: 21 Feb 2009
Posts: 107

PostPosted: Tue Mar 10, 2009 12:54 am    Post subject: Reply with quote

All I can find on the SigSeek function is 3 google sites about anti-dll injection, do you know of a site that has some examples?
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