Jump to content
  • 0

Group search values a specific distance away?


stsa84

Question

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?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • Administrators

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

Link to comment
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.

Link to comment
Share on other sites

  • Administrators

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

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.