| View previous topic :: View next topic |
| Author |
Message |
cancandodo Advanced Cheater
Reputation: 0
Joined: 09 Mar 2012 Posts: 70
|
Posted: Wed May 01, 2024 7:12 am Post subject: can not scan any add in tModloader v2024.3.3.0 |
|
|
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
| Description: |
|
| Filesize: |
45.82 KB |
| Viewed: |
2760 Time(s) |

|
| Description: |
|
| Filesize: |
171.01 KB |
| Viewed: |
2760 Time(s) |

|
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25819 Location: The netherlands
|
Posted: Wed May 01, 2024 7:22 am Post subject: |
|
|
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 |
|
 |
cancandodo Advanced Cheater
Reputation: 0
Joined: 09 Mar 2012 Posts: 70
|
Posted: Wed May 01, 2024 7:40 am Post subject: |
|
|
| 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?
| Description: |
|
| Filesize: |
39.41 KB |
| Viewed: |
2739 Time(s) |

|
Last edited by cancandodo on Wed May 01, 2024 7:42 am; edited 1 time in total |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25819 Location: The netherlands
|
Posted: Wed May 01, 2024 7:41 am Post subject: |
|
|
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 |
|
 |
cancandodo Advanced Cheater
Reputation: 0
Joined: 09 Mar 2012 Posts: 70
|
Posted: Wed May 01, 2024 7:44 am Post subject: |
|
|
| 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?
| Description: |
|
| Filesize: |
39.41 KB |
| Viewed: |
2737 Time(s) |

|
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4711
|
Posted: Wed May 01, 2024 12:03 pm Post subject: |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25819 Location: The netherlands
|
Posted: Wed May 01, 2024 12:36 pm Post subject: |
|
|
| 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 |
|
 |
cancandodo Advanced Cheater
Reputation: 0
Joined: 09 Mar 2012 Posts: 70
|
Posted: Wed May 01, 2024 6:06 pm Post subject: |
|
|
| 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 |
|
 |
|