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 


Cheat Engine Auto Debugging with Lua

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

Joined: 02 Jan 2011
Posts: 21

PostPosted: Sun Jun 08, 2014 1:57 pm    Post subject: Cheat Engine Auto Debugging with Lua Reply with quote

I've been looking around at this for some time and just cant seem to get the code for it correct and would really like some tips.

This is what I'm trying to accomplish:

1. Execute the auto assembler code BEFORE the lua code to allocate a codespace and write my function
2. Set a hardware breakpoint in the code i want to hook
3. When that breakpoint occurs make a copy of the eip register and replace it with the address for my function ( essentially a midfunction hook without needing to write a jmp)

I'm really terrible with lua, so any help on syntax and needed functions would be awesome.



Ok, well. I ended up figuring it out, and it did work. But it was far too slow to actually be useable, I guess I'll have to find another clever way of doing it.
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 Lua Scripting 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