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 


Can someone give me an example..

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
That Bastard
Newbie cheater
Reputation: 0

Joined: 30 Jan 2015
Posts: 20

PostPosted: Tue Mar 31, 2015 5:30 pm    Post subject: Can someone give me an example.. Reply with quote

Of 2 cheats in one script? Because I wanna try to put 2 scripts in one script. But I kind of need an example. I'd download a bunch of cheat tables but I don't wanna download random stuff.. q-q;
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Tue Mar 31, 2015 7:49 pm    Post subject: Reply with quote

Code:
[ENABLE]
aobscanmodule(inject1,calc.exe,48 89 74 24 08 48 89 7C 24 10 41)
aobscanmodule(inject2,calc.exe,48 81 EC B0 00 00 00 83)
alloc(newmem1,$1000,"calc.exe"+1B9D0)
alloc(newmem2,$1000,"calc.exe"+1B9DC)

label(code1)
label(return1)
label(code2)
label(return2)

newmem1:
code1:
  mov [rsp+08],rsi
  jmp return1
inject1:
  jmp code1
return1:

newmem2:
code2:
  sub rsp,000000B0
  jmp return2
inject2:
  jmp code2
  nop
  nop
return2:

registersymbol(inject1)
registersymbol(inject2)

[DISABLE]
inject1:
  db 48 89 74 24 08
inject2:
  db 48 81 EC B0 00 00 00
unregistersymbol(inject1)
unregistersymbol(inject2)
dealloc(newmem1)
dealloc(newmem2)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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