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 not scan any add in tModloader v2024.3.3.0

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
cancandodo
Advanced Cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 70

PostPosted: Wed May 01, 2024 7:12 am    Post subject: can not scan any add in tModloader v2024.3.3.0 Reply with quote

7FFF20C558A6 - 41 8B 80 C4050000 - mov eax,[r8+000005C4]

this add is a code to read player's hp

but

AOBScan(findhp,41 8B 80 C4 05 00 00 89 01 41 8B 80 C8 05 00 00)

can not work

{$lua}
if syntaxcheck then return 'define(findhp,0)' end
local result = AOBScanUnique('41 8B 80 C4 05 00 00 89 01 41 8B 80 C8 05 00 00', '+W+X-C')
--assert(result, 'AOBScan failed: no result found')
return ('define(findhp,%08X)'):format(result)
{$asm}
registersymbol(findhp)

can not work too

scan 41 8B 80 C4 05 00 00 89 01 41 8B 80 C8 05 00 00 in ce panel use "Array of Byte" can not work too



Snipaste_2024-05-01_21-11-49.png
 Description:
 Filesize:  45.82 KB
 Viewed:  2760 Time(s)

Snipaste_2024-05-01_21-11-49.png



Snipaste_2024-05-01_21-04-32.png
 Description:
 Filesize:  171.01 KB
 Viewed:  2760 Time(s)

Snipaste_2024-05-01_21-04-32.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed May 01, 2024 7:22 am    Post subject: Reply with quote

go to settings->scan settings and make sure mem_private, mem_image and mem_mapped are ticked
_________________
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
cancandodo
Advanced Cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 70

PostPosted: Wed May 01, 2024 7:40 am    Post subject: Reply with quote

Dark Byte wrote:
go to settings->scan settings and make sure mem_private, mem_image and mem_mapped are ticked


tick mem_mapped

it work! tks!

but how to write AOBScan code with lua mode by use mem_mapped?



Snipaste_2024-05-01_21-41-40.png
 Description:
 Filesize:  39.41 KB
 Viewed:  2739 Time(s)

Snipaste_2024-05-01_21-41-40.png




Last edited by cancandodo on Wed May 01, 2024 7:42 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed May 01, 2024 7:41 am    Post subject: Reply with quote

which option did you have to tick that wasn't already ticked? mem mapped ?
_________________
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
cancandodo
Advanced Cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 70

PostPosted: Wed May 01, 2024 7:44 am    Post subject: Reply with quote

Dark Byte wrote:
which option did you have to tick that wasn't already ticked? mem mapped ?


{$lua}
if syntaxcheck then return 'define(findhp,0)' end
local result = AOBScanUnique('41 8B 80 C4 05 00 00 89 01 41 8B 80 C8 05 00 00', '+W+X-C')
--assert(result, 'AOBScan failed: no result found')
return ('define(findhp,%08X)'):format(result)
{$asm}

but how to add mem mapped option to lua aob code?



Snipaste_2024-05-01_21-41-40.png
 Description:
 Filesize:  39.41 KB
 Viewed:  2737 Time(s)

Snipaste_2024-05-01_21-41-40.png


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

Joined: 06 Jul 2014
Posts: 4711

PostPosted: Wed May 01, 2024 12:03 pm    Post subject: Reply with quote

cancandodo wrote:
'+W+X-C'
Cheat Engine wrote:
Protect: Execute/Read only
read only means not writable
_________________
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
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed May 01, 2024 12:36 pm    Post subject: Reply with quote

Code:

getSettings().Value['MEM_MAPPED']='1'

reloadSettingsFromRegistry()

_________________
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
cancandodo
Advanced Cheater
Reputation: 0

Joined: 09 Mar 2012
Posts: 70

PostPosted: Wed May 01, 2024 6:06 pm    Post subject: Reply with quote

Dark Byte wrote:
Code:

getSettings().Value['MEM_MAPPED']='1'

reloadSettingsFromRegistry()


this code can work in ce mode
but can not work in exe trainer

when i save it to a single exe trainer file ,can not work
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 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