Rajeeb Posted April 13, 2021 Share Posted April 13, 2021 Hello guys (◔‿◔) I am bit confused with something so look at this and if you can help me. 0x7585CF7008 -- its an address that contain value 507,196,847,712Q or (761749B660 in hex) i want to create a script that take the value 761749B660 (hex value) and use it in next step as address (goto adress function). thanks in advance (. ❛ ᴗ ❛.) Link to comment Share on other sites More sharing options...
0 MAARS Posted April 15, 2021 Share Posted April 15, 2021 On 4/13/2021 at 3:14 PM, Rajeeb said: Hello guys (◔‿◔) I am bit confused with something so look at this and if you can help me. 0x7585CF7008 -- its an address that contain value 507,196,847,712Q or (761749B660 in hex) i want to create a script that take the value 761749B660 (hex value) and use it in next step as address (goto adress function). thanks in advance (. ❛ ᴗ ❛.) Notice that address need to be statics if you want to do this Link to comment Share on other sites More sharing options...
0 Rajeeb Posted April 15, 2021 Author Share Posted April 15, 2021 3 hours ago, MAARS said: Notice that address need to be statics if you want to do this Which one? If you talking about 0x7585CF7008 this, it's not a fixed address but I can easily get that. Ex. I searched value 6969 I got one result and the address is 0x585CF7000 and if I add +0x8 I can easily get that desired address. But the problem is how I can convert that addresses value to hex. Normally we do gg.searchNumber("6969" , gg.TYPE_DWORD) p = gg.getResults(1) local q = {} q[1] = {} q[1].address = p[1].address + 8 q[1].flags = 32 -- (32 = QWORD) gg.setValues(q) end but how i can copy the hex value of this address and use it for next search as goto address Link to comment Share on other sites More sharing options...
0 MAARS Posted April 15, 2021 Share Posted April 15, 2021 you only need the address for that, and after you use goto any other action require user interaction [added 2 minutes later] and hex value cant be saved to list items , only DWORD, QWORD, BYTE, FLOAT, XOR, WORD Link to comment Share on other sites More sharing options...
0 MAARS Posted April 15, 2021 Share Posted April 15, 2021 5 hours ago, Rajeeb said: but how i can copy the hex value of this address and use it for next search as goto address why you really need the value in Hex notation ? if you already got your value you can get any value around using this address + offset, no need hex notation in this case Link to comment Share on other sites More sharing options...
0 Rajeeb Posted April 15, 2021 Author Share Posted April 15, 2021 1 hour ago, MAARS said: why you really need the value in Hex notation ? if you already got your value you can get any value around using this address + offset, no need hex notation in this case I am trying to restore a pointer. If you know how pointer works then maybe you can understand what I am trying for. Don't talk about chainer.lua it's too complicated so I am trying for a simple way. [added 0 minutes later] 1 hour ago, MAARS said: you only need the address for that, and after you use goto any other action require user interaction [added 2 minutes later] and hex value cant be saved to list items , only DWORD, QWORD, BYTE, FLOAT, XOR, WORD That's my main problem :,-) Link to comment Share on other sites More sharing options...
0 CmP Posted April 15, 2021 Share Posted April 15, 2021 On 4/13/2021 at 4:14 PM, Rajeeb said: i want to create a script that take the value 761749B660 (hex value) and use it in next step as address (goto adress function). Then just use "value" field of one structure as "address" field of other structure. For example: local ptr = {{address = 0x11223348, flags = gg.TYPE_QWORD}} ptr = gg.getValues(ptr) -- Getting value of a pointer local val = {{address = ptr[1].value, flags = gg.TYPE_DWORD}} -- Using pointer value as address val = gg.getValues(val) print("Pointer at address " .. ptr[1].address .. " points to the value " .. val[1].value .. " at address " .. val[1].address) 1 Link to comment Share on other sites More sharing options...
0 Rajeeb Posted April 16, 2021 Author Share Posted April 16, 2021 10 hours ago, CmP said: Then just use "value" field of one structure as "address" field of other structure. For example: local ptr = {{address = 0x11223348, flags = gg.TYPE_QWORD}} ptr = gg.getValues(ptr) -- Getting value of a pointer local val = {{address = ptr[1].value, flags = gg.TYPE_DWORD}} -- Using pointer value as address val = gg.getValues(val) print("Pointer at address " .. ptr[1].address .. " points to the value " .. val[1].value .. " at address " .. val[1].address) Not working (+_+) Link to comment Share on other sites More sharing options...
0 CmP Posted April 16, 2021 Share Posted April 16, 2021 3 hours ago, Rajeeb said: Not working (+_+) Demonstration of work.mp4 2 Link to comment Share on other sites More sharing options...
0 Rajeeb Posted April 18, 2021 Author Share Posted April 18, 2021 On 4/16/2021 at 4:16 PM, CmP said: Demonstration of work.mp4 35.67 MB · 0 downloads My bad . It's working sorry about earlier 1 Link to comment Share on other sites More sharing options...
Question
Rajeeb
Hello guys (◔‿◔)
I am bit confused with something so look at this and if you can help me.
0x7585CF7008 -- its an address that contain value 507,196,847,712Q or (761749B660 in hex)
i want to create a script that take the value 761749B660 (hex value) and
use it in next step as address (goto adress function).
thanks in advance (. ❛ ᴗ ❛.)
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now