Jump to content

96.0: Added nearby search - GameGuardian


Enyby
 Share



 Share


Recommended Comments

23 hours ago, TheMech said:

so can I use this function in scripts?

This question is answered in the comment above yours, but it seems that you don't understand how nearby search works, so I will try to clarify.

Nearby search works just like normal search, but it only searches for values at within certain distance before and/or after target value. For example, target value's address is 12345000 in hex. If you choose distance 1000 (also in hex) and select "Before" and "After", then the search will be performed only in the following range of addresses: [12345000 - 1000; 12345000 + 1000], i.e. from 12344000 to 12346000. You can achieve the same effect by inputting these numbers in "From" and "To" fields of the normal search dialog.

At this point it should be obvious, how can you use this feature in script. If it's not, read the comment above yours, then try to find the answer in documentation for "searchNumber" function.

Link to comment
3 hours ago, CmP said:

This question is answered in the comment above yours, but it seems that you don't understand how nearby search works, so I will try to clarify.

Nearby search works just like normal search, but it only searches for values at within certain distance before and/or after target value. For example, target value's address is 12345000 in hex. If you choose distance 1000 (also in hex) and select "Before" and "After", then the search will be performed only in the following range of addresses: [12345000 - 1000; 12345000 + 1000], i.e. from 12344000 to 12346000. You can achieve the same effect by inputting these numbers in "From" and "To" fields of the normal search dialog.

At this point it should be obvious, how can you use this feature in script. If it's not, read the comment above yours, then try to find the answer in documentation for "searchNumber" function.

....firstly I didn't see thew comment above mine and second I know how nearby search works...

Link to comment
3 minutes ago, TheMech said:

....firstly I didn't see thew comment above mine and second I know how nearby search works...

Then you should be grateful that someone who can see the comments pointed you to the answer to your question, shouldn't you?

And the explanation may be still useful for someone else.

Link to comment

 

Yes useful for me, thank you so much for the observation😁. But i don't know much about hex. I know Just the address and the values i search for it . 

Edited by MedoSatoor
Link to comment
4 hours ago, CmP said:

Then you should be grateful that someone who can see the comments pointed you to the answer to your question, shouldn't you?

And the explanation may be still useful for someone else.

I guess you are right...

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...