Search array of byte

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
KevinDA
Cheater
Cheater
Posts: 34
Joined: Thu Apr 16, 2020 12:28 pm
Reputation: 0

Search array of byte

Post by KevinDA »

Good evening, I would like to do an array of byte search:



XX 00 00 00 00 00 01 00 00 XX



Or there is the XX is different from 00.



How to do ?

User avatar
GreenHouse
GreenHouse!
GreenHouse!
Posts: 499
Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 381

Search array of byte

Post by GreenHouse »

If you mean doing a search with wilcards(meaning that the specified bytes can be anything), then this is one of the formats that you can use:

[B]?? 00 00 00 00 00 01 00 00 ??[/B]
Last edited by GreenHouse on Thu Jan 01, 1970 12:00 am, edited 1 time in total.

KevinDA
Cheater
Cheater
Posts: 34
Joined: Thu Apr 16, 2020 12:28 pm
Reputation: 0

Search array of byte

Post by KevinDA »

No it doesn't work ...

I always have 00

User avatar
happyTugs
Table Makers
Table Makers
Posts: 64
Joined: Mon Apr 20, 2020 1:01 am
Reputation: 14

Search array of byte

Post by happyTugs »

KevinDA wrote:I always have 00
00 what?
Last edited by happyTugs on Sun Jun 28, 2020 7:00 pm, edited 1 time in total.

KevinDA
Cheater
Cheater
Posts: 34
Joined: Thu Apr 16, 2020 12:28 pm
Reputation: 0

Search array of byte

Post by KevinDA »

In my research where there are XX I don't want 00

User avatar
happyTugs
Table Makers
Table Makers
Posts: 64
Joined: Mon Apr 20, 2020 1:01 am
Reputation: 14

Search array of byte

Post by happyTugs »

If what you are aiming for is to find aob results that do not have 00 on the XX/??, you might have to script it in Lua.

In the meantime, you could make the signature more unique instead. In other words, you add more bytes/wildcards to the signature to consistently find the correct aob (the one without 00 on the XX/??).

For example.
DE AD BE EF ?? 00 00 00 00 00 01 00 00 ?? AB CD EF 12 ?? ?? 34 ?? AA

Obviously, that example signature won't work (i would be surprised if it did); you are going to have make the signature more 'unique' yourself.

I think it would be a good idea to post your question at the Cheat Engine forum, specifically the 'Lua Scripting' forum if you haven't posted it already. They can answer your question if you frame it properly.

https://forum.cheatengine.org/index.php
Last edited by happyTugs on Sun Jun 28, 2020 6:59 pm, edited 10 times in total.

KevinDA
Cheater
Cheater
Posts: 34
Joined: Thu Apr 16, 2020 12:28 pm
Reputation: 0

Re: Search array of byte

Post by KevinDA »

What script should I put I am a beginner :-(

mflvs
Expert Cheater
Expert Cheater
Posts: 65
Joined: Fri Mar 03, 2017 8:55 pm
Reputation: 5

Re: Search array of byte

Post by mflvs »

for a beginner might i suggest looking at rydian's guide. thats what i used when i started doing aob's . and happyTugs is right the more unique your signature the better changes are for an exact match
https://forum.cheatengine.org/viewtopic.php?t=570083

Post Reply

Who is online

Users browsing this forum: No registered users