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 


How to do this?

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

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Tue Nov 08, 2016 12:03 pm    Post subject: How to do this? Reply with quote

I don't know what to do about this. Someone please help.

Here is what I made.
Code:

aobscanmodule(Test,game.exe,AOB HERE)
alloc(newmem,$1000)

label(cheat)
label(return)

newmem:

AOBread:
  readmem(Test,9)

cheat:
  mov [ebp+08],#10001
  readmem(Test,9)
  jmp return

TimeHack:
  jmp newmem
  nop
  nop
  nop
  nop
return:
registersymbol(Test)
registersymbol(AOBread)

[DISABLE]

Test:
  readmem(AOBread,9)
unregistersymbol(Test)
unregistersymbol(AOBread)
dealloc(newmem)


Here are the 2 instructions which are being used in the above script:


    add ecx,[ebp+08]
    xor ecx,[game.exe+1101F14]
    (mov [ebp+08],#10001 is what I added)


So... in the instruction

    xor ecx,[game.exe+1101F14]

the address changes every time I restart the game (that's why under "cheat" there is a readmem) BUT what I need is not

    add ecx,[ebp+08]

but

    mov ecx,[ebp+08]

Is there a way to alter the read mem? so at the spot of the "add" bytes "03" there would be "mov" bytes "8B"?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4300

PostPosted: Tue Nov 08, 2016 12:22 pm    Post subject: Reply with quote

Code:
db 8B
readmem(Test+1,8)

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Tue Nov 08, 2016 12:24 pm    Post subject: Reply with quote

ParkourPenguin wrote:
Code:
db 8B
readmem(Test+1,8)


Thank you so much Smile

I tried doing just:

db 8B
readmem(Test,9)

but got something odd.
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