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 


Pointer Help

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

Joined: 05 Nov 2009
Posts: 2

PostPosted: Wed Jul 28, 2010 5:13 pm    Post subject: Pointer Help Reply with quote

I was recently trying to find a pointer using the methods that I learned in the included Tutorial. Everything went fine up until a certain point; when I tried to do a scan (4-byte hex, just like in the Tutorial), I didn't come up with any results. And apparently, doing it again and again is no kind of solution. I don't have any programming experience and know next to nothing about how addresses and values are stored, so there's not really anything that I know to do about it. Any help would be appreciated.

Thanks in advance.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 891

PostPosted: Wed Jul 28, 2010 9:04 pm    Post subject: Reply with quote

You're probably searching for an offset address instead of the one the trace tells you to search for. Honestly, I'd stick to the pointer scanner.
Back to top
View user's profile Send private message
ryu1215
How do I cheat?
Reputation: 0

Joined: 05 Nov 2009
Posts: 2

PostPosted: Wed Jul 28, 2010 11:06 pm    Post subject: Reply with quote

The pointer scanner causes my poor computer to have an aneurysm. And no, I'm not searching for the wrong address. I didn't have this problem one time and then give up; I tried several times, all with the same degree of effectiveness.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 891

PostPosted: Thu Jul 29, 2010 12:18 am    Post subject: Reply with quote

You sound pretty confident that you're doing the right thing. Why do you think you're failing to come up w/ results?



In some games, I feel safe making assumptions regarding pointers - setting the maximum offset to something small like 256 and the maximum depth to something like three will significantly ease the burden of the pointer scan. You might be able to try filling in the offsets you've managed to find.

If you still fail, you might be looking at a more complex data structure or even a value with automatic scope. It is certainly possible that there is no static pointer you can use. Try using code-injection to grab the address or manipulate the value directly instead.

Cheers,
adude
Back to top
View user's profile Send private message
rain-13
Expert Cheater
Reputation: 0

Joined: 18 Mar 2009
Posts: 110

PostPosted: Thu Jul 29, 2010 4:55 am    Post subject: Reply with quote

Is code injection same as DLL injection? And how can code injection grab the address? Doesn't it mean that incected code must know address to grab? If so, then how does injected code know address?It still needs pointer or something?

Sorry if my questions are stupid, i am just noob who has similar problem.
Back to top
View user's profile Send private message
XaLeX
Expert Cheater
Reputation: 0

Joined: 19 Aug 2008
Posts: 226

PostPosted: Thu Jul 29, 2010 5:29 am    Post subject: Reply with quote

rain-13 wrote:
Is code injection same as DLL injection? And how can code injection grab the address? Doesn't it mean that incected code must know address to grab? If so, then how does injected code know address?It still needs pointer or something?

Sorry if my questions are stupid, i am just noob who has similar problem.
Say you have this code:
Code:

mov ecx,[0040c010]
add ecx,eax
mov [0040c010],ecx

40c010 is the address which stores the gold value, and eax is the gold you just picked up.
Instead of messing with pointers, you could modify it to this:
Code:

mov [0040c010],1000000
nop
nop
nop
nop

And it would just set your gold to 1.000.000 every time it goes through that code.

In your case the address will be stored in a register because it will be the result of the pointer calculation. Just get the exact piece of code that writes to that address and modify it like this one.

Once you get the basics of asm, look into code injection. There's far more you can do Wink
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