Page 1 of 1

Search array of byte

Posted: Sun Jun 28, 2020 2:00 am
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 ?

Search array of byte

Posted: Sun Jun 28, 2020 2:02 am
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]

Search array of byte

Posted: Sun Jun 28, 2020 2:21 am
by KevinDA
No it doesn't work ...

I always have 00

Search array of byte

Posted: Sun Jun 28, 2020 2:29 am
by happyTugs
KevinDA wrote:I always have 00
00 what?

Search array of byte

Posted: Sun Jun 28, 2020 2:44 am
by KevinDA
In my research where there are XX I don't want 00

Search array of byte

Posted: Sun Jun 28, 2020 3:32 am
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.

[Link]

Re: Search array of byte

Posted: Sun Jun 28, 2020 11:50 am
by KevinDA
What script should I put I am a beginner :-(

Re: Search array of byte

Posted: Sun Jun 28, 2020 11:55 am
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
[Link]