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 make Copy Paste Script
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
ulysse31
Master Cheater
Reputation: 2

Joined: 19 Mar 2015
Posts: 324
Location: Paris

PostPosted: Thu May 19, 2016 8:22 am    Post subject: Reply with quote

ParkourPenguin wrote:
Code:
alloc(newmem,2048)
createthread(newmem)
newmem:
  mov eax,[address1]
  mov [address2],eax
  push 10
  call kernel32.Sleep
  jmp newmem

Besides that, you're going to need to give more information. Do you have a static pointer to these addresses? Can you find an instruction that only accesses these addresses?


Isn't there a risk that the thread starts and executes faster than CE would write the newly allocated memory ?
Shouldn't it be better to use this code
Code:
alloc(newmem,2048)
newmem:
  mov eax,[address1]
  mov [address2],eax
  push 10
  call kernel32.Sleep
  jmp newmem
createthread(newmem)

or is the thread created only after all the instructions have been written anyway ?
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
Goto page Previous  1, 2
Page 2 of 2

 
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