Jump to content
stsa84

Group search values a specific distance away?

Recommended Posts

TL;DR

How would I group search for two values, an exact distance apart?

Longer version:

Is there a way to use group search to search for two values that are a specific distance away? In a game I'm working on now, there are some in-game items for which two stats are always offset 18. 

For example:

If an items power is 86 and it's accuracy is 14, I am searching 86;14:20, and get back 4 results, 2 of which are what I'm looking for, and 2 of which I'm not. I can easily change values and find the ones I'm interested in. I can calculate that the two values I'm interested in are 18 apart.

If, however, an items power is 3 and it's accuracy is 2, and I search 3;2:20, I will get hundred of results. If I slowly go through, and narrow things down, I can eventually find the two values I want, and they are again 18 apart.

In the example above, how could I search for 3 and 2, exactly 18 apart?

Share this post


Link to post
Share on other sites

It can not be 18 for Dword, because not completely divided by 4.

So I assume you use Word. 8 word items between desired:

3;0~~0;0~~0;0~~0;0~~0;0~~0;0~~0;0~~0;0~~0;2::19

Share this post


Link to post
Share on other sites

The values are actually Double. 

Here are screenshots of what I did.

Initial search for 3;63:30 finds 4 results. I change the first '3' to '17' and find the top two values are the ones I'm interested in. (I changed the bottom '3' first, which ended up not being the value I was interested in.)

1226121014_Screenshot_20200503-1603442.thumb.png.b63a00b75e0d8156b3059d514bc17fbf.png

I then click the checkboxes for the top two values, and run offset calculator. I thought this meant they were offset 18:

1760439073_Screenshot_20200503-1604252.thumb.png.93ac386b3671e94b525c53fa5aad80ad.png

One last screenshot, showing when I click 'Go to' on the values:813064063_Screenshot_20200503-1604532.thumb.png.e513d1bfaa2cb056bfa5394d47ec2534.png

 

What am I misunderstanding about this? Thanks.

Share this post


Link to post
Share on other sites

18 in hex. 24 in dec.

So you can never find this values by

1 hour ago, stsa84 said:

3;2:20

because 20 < 24.

So proper search for double:

3;0~~0;0~~0;0~~0;0~~0;0~~0;2::25

Share this post


Link to post
Share on other sites

I realized after the first post that I had actually been searching 3;2:30. 

Will try it out, thanks!

Share this post


Link to post
Share on other sites
Posted (edited)

Hmm, wasn't able to get it to work.

Searching 3;2:30 found close to 100 results, which included the two values I was interested in, but searching 3;0~~0;0~~0;0~~0;0~~0;0~~0;2::25 did not find any results.

Edited by stsa84

Share this post


Link to post
Share on other sites

Try as

3E;0~~0D;0~~0D;0~~0D;0~~0D;0~~0D;2E::25

Share this post


Link to post
Share on other sites

That worked, thanks!

Share this post


Link to post
Share on other sites

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...