Page 1 of 1

MHS missing scanned addresses while CE was not

PostPosted: Thu Jul 23, 2009 4:13 pm
by andrew
Hi,
I came across this MHS and I think it is a great tool.
By accident, I noticed MHS was missing addresses when it scanned.

I usually used CE to search for addresses in game and I got 4 addresses which I used them to make a bot for myself.

My method was data type: long, evaluation type: exact value.

I tries the same method with MHS and it returned only two addresses. It missed the other two.

I might do something wrong or did not config MHS right, idk.

PostPosted: Thu Jul 23, 2009 4:58 pm
by L. Spiro
Check the search ranges.
Check the alignment.
Check the types of searchable chunks in the Options dialog.


L. Spiro

PostPosted: Fri Jul 24, 2009 12:04 am
by andrew
I tried it again with your suggestion.

Here is what I did:

First Scan
With CE:
Value: 10
Scan type: Exact Value
Value type: 4 bytes
Memory Scan Options: 32-bit, From 00400000 To 7FFFFFFF

With MHS:
Value to Find: 10
Evaluation Type: Exact Value
Data Type: Long
Aligned: checked
Enable "Same as Original" Sub Search: unchecked
Search Range: From 00400000 To 7FFFFFFF


Next Scan(CE) or Sub Search(MHS)

With CE:
Value: 0
The rest were the same

With MHS:
Value to Find: 0
The rest were the same

The result:

CE: returned 4 addresses, notes: I used all of them for my bot.
MHS: returned only 2 addresses.

Tested game: 12Sky2
Tested object: One of buffing skills
When char got buffed, it increase 10% of its stat and when expired it returned to 0%.

I'm pretty new to debugger tools. Just want to learn as much as I can.
About your last advise: "Check the types of searchable chunks in the Options dialog". I am not sure if I got this one with my search above. If I missed something, please correct me.
I'm appreciated.

PostPosted: Fri Jul 24, 2009 12:12 am
by [Psych]
Have you tried it with 'aligned scan' off in MHS? That's all I can think of at this stage. In CE it is known as 'fast scan', and I believe it is off by default. Perhaps this game assigns variables to locations which are not aligned(so don't end with 0, 4, 8, C basically).

PostPosted: Fri Jul 24, 2009 6:52 am
by L. Spiro
Disable Aligned as mentioned above.
The Options dialog allows you to specify which chunks to scan (MEM_MAPPED is disabled by default).

Adjust as needed.


L. Spiro

PostPosted: Fri Jul 24, 2009 8:32 am
by andrew
Thank you, L.Spiro and [Psych].

Disable Aligned does a trick. I will be able to get all 4 addresses now.

I've learned new thing about MHS today.