Jump to content


  • Content Count

  • Donations

  • Joined

  • Last visited

Posts posted by MSuo

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

  • Create New...