Jump to content
SurfMo

Group Search 'wait/skip' Variable?

Recommended Posts

Hello everyone,

So I've made a script on CE and it works perfectly on the Emulator, and I want to replicate it as a GG lua.

With CE my group search input?is: 4:444444 w:128?4:0 w:16 4:10000

That pretty much guarantees to find the correct game characters. I've looked through the documentations and I can't find anything a feature similar to "w;" (skipping a certain number of bytes), so I came here looking for help.

The closest I could get to is?444444D;????;0D;????;10000D::153

I'm just really bummed out that I don't know what the skip variable is for group search.

Also, while I'm here, since I haven't started writing the script yet, assuming if?444444D;????;0D;????;10000D::153 does find something, will it return 1 item or 3 items?

Share this post


Link to post
Share on other sites

Read about 0~~0 in the help.

Share this post


Link to post
Share on other sites
17 hours ago, Enyby said:

Read about 0~~0 in the help.

From what I've read,?0~~0 can be any number of bytes (not sure if that's entirely correct), what if I need to skip exactly 128 bytes?

Share this post


Link to post
Share on other sites

You can not skip 128 bytes.

Max is 30*4 = 120 bytes.

But you can use two group searches: one with equals, second with not equals.

For example

search equal 1;2::133

refine not equal 1;2::132

In result only left 1 and 2 which have 128 bytes between them.

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...
bt365体育官bt365体育官网