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 


Ask a CE expert to point out a CE script problem

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

Joined: 21 Jun 2022
Posts: 2

PostPosted: Tue Jun 21, 2022 10:17 pm    Post subject: Ask a CE expert to point out a CE script problem Reply with quote

I used the feature code to find the location of Taiko5dx.exe+462290
But what I really want is the location Taiko5dx.exe+24da1f0 inside ( ) in this location
I found that Taiko5dx.exe+462290 marked Mark2 (Picture 2)
What I want to ask is, what script command to use
You can make a mark in Taiko5dx.exe+462290(Mark2) ( Taiko5dx.exe+24da1f0 )
Such as (Figure 3), but only the location of Taiko5dx.exe+24da1f0 is marked (Figure 4)
I mean, found Taiko5dx.exe+462290, marked Mark2
Is there any script instruction that can mark the address as Mark3 with the address in ( ) of this location of Mark2
That is to say, after I find MARK2, the address position within ( ) is marked as Mark3
thanks
Find the script of mark2 like this[ENABLE]

registersymbol(Mark2)
aobscanmodule(Mark2,Taiko5DX.exe,488D05xxxxxxxx4883C4xxC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4883ECxx488D0DxxxxxxxxE8xxxxxxxx488D05xxxxxxxx4883C4xxC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4883ECxx488D0DxxxxxxxxE8xxxxxxxx488D05xxxxxxxx4883C4xxC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4883ECxx488D0DxxxxxxxxE8xxxxxxxx488D05xxxxxxxx4883C4xxC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4053)

[DISABLE]



未命名4.jpg
 Description:
 Filesize:  160.63 KB
 Viewed:  1475 Time(s)

未命名4.jpg



未命名3.jpg
 Description:
 Filesize:  163.6 KB
 Viewed:  1475 Time(s)

未命名3.jpg



未命名2.jpg
 Description:
 Filesize:  167.23 KB
 Viewed:  1475 Time(s)

未命名2.jpg



未命名.jpg
 Description:
 Filesize:  182.64 KB
 Viewed:  1475 Time(s)

未命名.jpg


Back to top
View user's profile Send private message
sbryzl
Master Cheater
Reputation: 6

Joined: 25 Jul 2016
Posts: 252

PostPosted: Fri Jun 24, 2022 7:21 am    Post subject: Reply with quote

Code:
[ENABLE]

aobscanmodule(Mark2,Taiko5DX.exe,488D05xxxxxxxx4883C4xxC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4883ECxx488D0DxxxxxxxxE8xxxxxxxx488D05xxxxxxxx4883C4xxC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4883ECxx488D0DxxxxxxxxE8xxxxxxxx488D05xxxxxxxx4883C4xxC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4883ECxx488D0DxxxxxxxxE8xxxxxxxx488D05xxxxxxxx4883C4xxC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4053)

label(Mark3)
registersymbol(Mark3)

Mark2+7+[Mark2+3]: // edit: (dword)[Mark2+3] designation should be necessary for 64 bit. thanks DB.
Mark3:

[DISABLE]

unregistersymbol(Mark3)


Last edited by sbryzl on Fri Jun 24, 2022 7:32 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri Jun 24, 2022 7:25 am    Post subject: Reply with quote

maybe Mark2+7+(DWORD)[Mark2+3]:
_________________
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
Tango221
How do I cheat?
Reputation: 0

Joined: 21 Jun 2022
Posts: 2

PostPosted: Sat Jun 25, 2022 6:50 am    Post subject: Reply with quote

First thanks to sbryzl and Dark Byte
This code is valid and does exactly what I want
Just don't know why when saving
will say error on line 8 of code (Mark2+7+(DWORD)[Mark2+3]: )
But I ignore the error message
Pressing YES still works
It would be better if there was a way to avoid errors
But there is no way,
At least it can have the effect I want
Thank you both very much



未命名6.jpg
 Description:
 Filesize:  184.07 KB
 Viewed:  1338 Time(s)

未命名6.jpg



未命名5.jpg
 Description:
 Filesize:  232.38 KB
 Viewed:  1338 Time(s)

未命名5.jpg


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