Jump to content
  • 0

Offset Question


Fibel72

Question

I tried to make a script using offset.

But the offset is 'A720'

addressU = result[1].address + A720

So this error comes back.

attempt to index ? (a nil value) with key 'address' (field '1')

How to solve this?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

On 12/1/2020 at 2:37 AM, Fibel72 said:

I tried to make a script using offset.

But the offset is 'A720'

addressU = result[1].address + A720

So this error comes back.

attempt to index ? (a nil value) with key 'address' (field '1')

How to solve this?

A720 is an Hexadecimal notation cuently called Hex you can convert then to decimal in any tool tat permit or online Try this Hex converter that the most i used but I also have the apk Hex to Text Converter that all. Sorry for bad english.

Link to comment
Share on other sites

7 hours ago, Fibel72 said:

result[1].address

May be due to non results. 

7 hours ago, Fibel72 said:

attempt to index ? (a nil value) with key 'address' (field '1')

Check your amount of results. If its 0 then it will show just above one. 

And 

7 hours ago, Fibel72 said:

addressU = result[1].address + A720

Use 0xA720 instead of A720.

Addresses are in hex. gg translate them to string number. If you dont directly want to use 0x. Then you must add them by converting to string number urself. 

 

Use

addressU = result[1].address + 0xA720

or

addressU = result[1].address + 42784.

Or it can be error. 

Link to comment
Share on other sites

3 hours ago, Lover1500 said:

May be due to non results. 

Check your amount of results. If its 0 then it will show just above one. 

And 

Use 0xA720 instead of A720.

Addresses are in hex. gg translate them to string number. If you dont directly want to use 0x. Then you must add them by converting to string number urself. 

 

Use

addressU = result[1].address + 0xA720

or

addressU = result[1].address + 42784.

Or it can be error. 

Thanks.

Error solved.

By the way, how did you get '42784' ?

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.