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 


Extending Cheat Engine pointer path

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
HelpMe1234
How do I cheat?
Reputation: 0

Joined: 15 Oct 2018
Posts: 6

PostPosted: Thu Jun 18, 2020 2:36 am    Post subject: Extending Cheat Engine pointer path Reply with quote

I'd like to extend Cheat Engine's pointer path in the address list by adding more operators (i.e., divide, bitwise and logical operators) and making offsets 64 bit.
Any tips on how to do that?


Last edited by HelpMe1234 on Thu Jun 18, 2020 6:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3356

PostPosted: Thu Jun 18, 2020 3:17 am    Post subject: Reply with quote

You ask Dark Byte real nice.
Dark Byte might say yes or no.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 153

Joined: 06 Jul 2014
Posts: 4734

PostPosted: Thu Jun 18, 2020 10:16 am    Post subject: Reply with quote

Not sure about 64-bit offsets (you might need to do that yourself in the Lua script), but offset fields can contain arbitrary Lua code that evaluates to an integer.
_________________
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
HelpMe1234
How do I cheat?
Reputation: 0

Joined: 15 Oct 2018
Posts: 6

PostPosted: Sat Jun 20, 2020 2:48 am    Post subject: Reply with quote

ParkourPenguin wrote:
Not sure about 64-bit offsets (you might need to do that yourself in the Lua script), but offset fields can contain arbitrary Lua code that evaluates to an integer.


Could you please provide an example? I am not really familiar with Lua script.
Thank you!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

Joined: 09 May 2003
Posts: 25874
Location: The netherlands

PostPosted: Sat Jun 20, 2020 3:51 am    Post subject: Reply with quote

you can for example give as offset:
Code:

getTickCount()/2

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
HelpMe1234
How do I cheat?
Reputation: 0

Joined: 15 Oct 2018
Posts: 6

PostPosted: Sun Jun 21, 2020 2:45 pm    Post subject: Reply with quote

Dark Byte wrote:
you can for example give as offset:
Code:

getTickCount()/2


Thanks for the response.
But with that method I unfortunately still can't achieve neither 64-bit offsets nor bitwise operators.
Perhaps my goal is clearer on the attached picture.

I'd like the "+" to be an xor or the "?" to be a 64 bit offset.
Thanks for helping me!



64bitoffset.PNG
 Description:
I'd like to change the "+" to be an xor or the "?" to be a 64 bit offset.
 Filesize:  27.66 KB
 Viewed:  2450 Time(s)

64bitoffset.PNG


Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3356

PostPosted: Sun Jun 21, 2020 3:54 pm    Post subject: Reply with quote

You should create a timer, calculate the pointer there and store it to a registered symbol.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

Joined: 09 May 2003
Posts: 25874
Location: The netherlands

PostPosted: Sun Jun 21, 2020 3:55 pm    Post subject: Reply with quote

use as offset
Code:

table.pack(...)[2]~0x10


Note that in the "Change Address" window this will not work as the base is not provided, but in the addresslist it will work

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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