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 


Signature scan

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

Joined: 26 Jan 2018
Posts: 1

PostPosted: Fri Jan 26, 2018 6:56 pm    Post subject: Signature scan Reply with quote

Hi
I need automatically find address with value and change it
address + offset1 + offset 2 = value
"game.exe" + +002B6598 + C + 68A = 100

How can i find it auto?
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 8

Joined: 01 Feb 2016
Posts: 864

PostPosted: Fri Jan 26, 2018 6:58 pm    Post subject: Reply with quote

script, hook the instruction that writes to the address.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
patched cheat engine tutorials
Memory Hacker
Back to top
View user's profile Send private message Visit poster's website
FreeER
Grandmaster Cheater
Reputation: 23

Joined: 09 Aug 2013
Posts: 623

PostPosted: Fri Jan 26, 2018 7:11 pm    Post subject: Reply with quote

Looks like you already have a pointer path to it so regardless of which method you use to write to it (lua's writeInteger, memrec.Value, createThread script, [these don't need a pointer] read hook, write hook, etc.) it'll automatically be found as long as the pointer path is valid.

With lua you could simply use the string '[["game.exe" +002B6598] + C] + 68A' as the address, exactly the same for a memory record (just without the single quotes that make it a string) though you could also click the "Pointer" checkbox and split everything up. for a createThread script you'd use something like this to get the address

Code:
// assuming eax/rax is a free register, use eax for x86
// though I believe CE will change rax to eax if assembled into an x86 process
lea rax, ["game.exe" + 002B6598]
lea rax, [rax+C]
lea rax, [rax+68A]
// rax now holds the final address
mov [rax], #999 // writes 999


of course if you hook some code that already has the address then... you already have the address and don't need the pointer.

The simplest is probably to find something that reads from it (and only it) constantly, and hook it to move the value you want into that address.
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