Jump to content

about offset

Recommended Posts

The address is dynamic. I already know the feature code and offset. How can I write it in the script? I want to make a script. Just send me a script example. Thank you

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

  • Similar Content

    • By Kimiice7
      Help me to build this script..
      gg.searchNumber('0;1;2:', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
      gg.refineNumber('0', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
      --for information, i need to edit 100 items--
      --t[1], t[1].address +150, t[1].address +300, t[1].address +450, ..etc.--
      --I already know the pattern is t[1].address +(150*n)--
      --its for edit first item--
      t = gg.getResults(5)
      for i, v in ipairs(t) do
        t[1].value = 99
      --here the problem --
      --QUESTION : how to edit 2nd item untill 100th item in one command?--
      for i, v in ipairs(t) do
        t[1].address = t[1].address +150
        t[1].value = 99 --edit 2nd item--
      --its waste time to edit it one by one untill 100th item--
      --i did some trial and error to edit all of them in one shoot--
      --like n = (1~100) , t[1].address = t[1].address + (150*n)--
      --but fail, i tried on gg.alert(1~100) its show alert 101, i feel stupid 😁 --
      --READ Some guide on this web, but not yet found the answear.--
      gg.alert('THANKS FOR HELPING ME 🙏')
      Help Set Multiple Values.lua
    • By soffter
      hello, can anyone help me with this? after the offset I want to add another offset and then edit the value, I searched but I can't find a way to achieve it

      gg.searchNumber("100;300;450;25" , gg.TYPE_DWORD) 
      gg.refineNumber("25", gg.TYPE_DWORD) 
      p = gg.getResults(2)
      local q = {}
      q[1] = {}
      q[1].address = p[2].address + 16 
                                                             <----------- ADD OTHER OFFSET, BUT HOW?

      q[1].flags = 4 
      q[1].value = 100 
    • By imskeletonking
      I need help for coding of offsett 
      This topic is for pubg mobile

      The wallhack i.e vehicle wallhack and body wallhack is 804 offset distance from vehicle cokor and body color.....
      But 1 problem after every search the table location for vehicle color and body color change thats why i am not able to locate the exact position of that address
      The code i write with the offset is below
      Any help
      gg.searchNumber("3152519739159347240" , gg.TYPE_QWORD) ---your group search value / or your search number
      p = gg.getResults(20)  
      gg.editAll("36", gg.TYPE_QWORD)
                 -- saving the result
      for i, v in ipairs(p) do
       if v == nil then goto exit
       v.address = p.address + 0x804
       v.flags = gg.TYPE_QWORD
        v.value = "4878524296349089792"
        v.freeze = true
    • By Un_Known
      I found a value in Game located at  libgame.so + 0x8AE13.
      But when I would open lib in IDA what should be base address to which I have to add this offset to find that value?
      would it be 0000000 OR something else
    • By RogerAngell2018
      Great job with your new feature `record script` devs. It would be awesome if you guys make it to recognize offset. It is great feature to auto because sometimes the value we need to chage is not a constant but nearby values is. @Enyby@d2dyno
  • Create New...