Jump to content
  • 0

how to place the address of values in a variable


zimerfm

Question

hello. 

when I try to place the address in a variable in order to further use the address itself in the script for searching, I have a bug.

main Address = {{}, {}}
if(k == 1) then
mainAddress[1] = result[1].address
mainAddress[2] = result[2].address
end

the output console outputs: 0x2205861408 0x2205861412, which makes further search impossible

 

I will clarify that I need an address in the form of 3f23fd, which can be used in the search. thanks

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

On 7/26/2022 at 12:35 AM, zimerfm said:

hello. 

when I try to place the address in a variable in order to further use the address itself in the script for searching, I have a bug.

main Address = {{}, {}}
if(k == 1) then
mainAddress[1] = result[1].address
mainAddress[2] = result[2].address
end

the output console outputs: 0x2205861408 0x2205861412, which makes further search impossible

 

I will clarify that I need an address in the form of 3f23fd, which can be used in the search. thanks

What did you do with that address?

If you use gg.searchNumber("result[1].address", gg.TYPE_DWORD) it should work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.