 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
oddgamer Advanced Cheater
Reputation: 0
Joined: 19 Jan 2013 Posts: 60
|
Posted: Mon Apr 04, 2022 10:11 pm Post subject: Last Digits not working? +... defaults? |
|
|
So I'm trying to find addresses in a game where the lowest address is something in the high 1 xx xx xx xx xx range, and all the addresses I'm looking for end in 0. 20, 60, A0, or E0. So I thought I'd use the 'Last Digits' search option. But it doesn't work. No matter what I have in the box, it comes back with addresses that are 4-byte searched (ending in 0, 4, 8, or C). I'm using Cheat Engine 7.4 64-bit version (very recently downloaded). I've also tried using Alignment set to 10 and 16 (wasn't sure if it worked in hex or decimal), and both of those come back as 4-byte searched, too.
So am I doing something wrong here?
Side issue, 'recalculate new addresses' uses decimal values (has 'hex' as an option) while 'change record' uses hex values (no option to change it, but an option to 'change children, too'). Is there a way to set these to default to what is wanted? I always want to 'recalculate' based on Hex because the non-hex version fails at such high address values (it only goes up to 4-bytes, and that's a 6-byte address... well, likely 8 byte but you get the picture), and I always want 'change children, too' to be off. Which means, for either method, I need to change it every single time I want to use it!
|
|
Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1520
|
Posted: Tue Apr 05, 2022 8:03 pm Post subject: |
|
|
This scan code; lists addresses ending in "00, 20, 60, A0 or E0".
Code: | local findTbl={} --find address tbl
function findAobScan(code)
ind=0
aob=AOBScan(code)
if aob~=nil then
for i=0,aob.Count-1 do
findaob=aob[i]:sub(-2,-1)
if findaob=="00" or findaob=="20" or findaob=="60" or findaob=="A0" or findaob=="E0" then
ind=tonumber(ind) + 1
--print(aob[i])
findTbl[ind]=aob[i]
end
end
else
print("code not found!")
end
aob=nil
end
findAobScan("E8 03 00 00") --1000 ex code
for i,k in pairs(findTbl) do
print(i .. " - " .. k)
end |
_________________
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25793 Location: The netherlands
|
Posted: Tue Apr 05, 2022 9:31 pm Post subject: |
|
|
What value type do you use?
and is the fastscan checkbox enabled and checked?
_________________
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 |
|
 |
oddgamer Advanced Cheater
Reputation: 0
Joined: 19 Jan 2013 Posts: 60
|
Posted: Wed Apr 06, 2022 7:30 am Post subject: |
|
|
Sorry this is to both of you... I can't double post, it seems.
AylinCE wrote: | This scan code; lists addresses ending in "00, 20, 60, A0 or E0".
|
I very much appreciate the efforts, buuuut... can you also tell me how to install/use that? ... Sorry, my Cheat-Engine-Fu is weak. I have no idea how to implement that code.
Dark Byte wrote: | What value type do you use?
and is the fastscan checkbox enabled and checked? |
Ahhh..... I see where this may be an issue. I'm using Grouped scans, because I use it to reduce possibilities already (there's a cluster of values together and I know the order). I would guess, though, that grouped check doesn't work with last-digit scan (or, perhaps, with fast-scan at all, now that I think of it). A shame. With the two combined, it would severely cut down on possible addresses for the things I search for. If it matters, it was 4-bytes, 4-bytes, float, float (or sometimes wildcard for 4 bytes since I can't see this one but sometimes know what it is anyway), 4-bytes.
And yes, it was checked and set to last digit, and enabled.
|
|
Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1520
|
|
Back to top |
|
 |
oddgamer Advanced Cheater
Reputation: 0
Joined: 19 Jan 2013 Posts: 60
|
Posted: Wed Apr 06, 2022 3:54 pm Post subject: |
|
|
AylinCE wrote: | https://forum.cheatengine.org/viewtopic.php?p=5777758 |
That... tells how to use a group scan, not the code you posted in your first reply. When I was asking 'how to', I meant how do I use this part below:
Code: | local findTbl={} --find address tbl
function findAobScan(code)
ind=0
aob=AOBScan(code)
if aob~=nil then
for i=0,aob.Count-1 do
findaob=aob[i]:sub(-2,-1)
if findaob=="00" or findaob=="20" or findaob=="60" or findaob=="A0" or findaob=="E0" then
ind=tonumber(ind) + 1
--print(aob[i])
findTbl[ind]=aob[i]
end
end
else
print("code not found!")
end
aob=nil
end
findAobScan("E8 03 00 00") --1000 ex code
for i,k in pairs(findTbl) do
print(i .. " - " .. k)
end | [/quote]
|
|
Back to top |
|
 |
|
|
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
|
|