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 I build something similar to a pointer with this?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
LastExceed
Expert Cheater
Reputation: 1

Joined: 05 Nov 2014
Posts: 130

PostPosted: Sun Jun 05, 2016 6:45 am    Post subject: Can I build something similar to a pointer with this? Reply with quote

I have an opcode that ALWAYS non-stop writes to 13 specific addresses which always have the same offsets (lowest address + 7B0 = next address ect).
However, I wasn't able to find any pointers with the pointer scanner for them (I have over 100 pointers for this game already and they all had 2 offsets, but even with 4 offsets i wasn't able to find anything). I haven't tried the debugger method though because I don't know how to do it and I can't find any tutorials for the current version ( also I read somewhere that if no pointers are found with the pointer scanner there is a high chance that you won't find any with the debugger method either).

Right now I always go to
Quote:
opcode > find out what this code writes to
but I want to build a trainer soon so I need to find out how to do this automatically.
My idea was to write a script that notes down all addresses the opcode writes to until it has 13 diffeent addresses saved, then sorts them by address and assigns them to their role based on that.
Would that be possible? If yes, how? If no, is there any other way to do it?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4700

PostPosted: Sun Jun 05, 2016 10:39 am    Post subject: Reply with quote

See this topic, section "Injection Copies". Make a list, check to see if the address is already in the list, add it if needed, and sort the list as desired.

If a code injection is out of the question, use breakpoints and Lua (namely the function debug_setBreakpoint; see main.lua).

_________________
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
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