Jump to content
Sign in to follow this  

Retrieve values from next momory address

Recommended Posts

I'm new here and just start to learn gg and lua language. I did lots of google searchs but I cannot find what I need. Here's what I need.


gg.searchNumber('1234;2234', gg.TYPE_DWORD)


I can see the result like this.


1234 Address 00000000

9999 Address 00000004

8888 Address 00000008

2234 Address 0000000C


I know how to change the value from 9999 to 0 directly by adding the address, type, new value 0 into a new table and then gg.setValues()

but I'd like to retrieve the value of second line and compare with 9999, if true, set to 0. How can I retrieve the inf from second line?


Thank you for your help.




[added 3 minutes later]

I know I can do g.searchNumber('1234;9999;8888;2234', gg.TYPE_DWORD) but it's slow,  with g.searchNumber('1234;2234', gg.TYPE_DWORD) it's much faster ane less process except retrieveing value from next address, any idea?

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
Sign in to follow this  

  • Create New...