Jump to content
  • 0

Offset Question


Fibel72

Question

Posted

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?

7 answers to this question

Recommended Posts

Posted
8 hours ago, Fibel72 said:

how did you get '42784' ?

Hex - Dec

1-1

9-9

a-10

b-11

c-12

d-13

e-14

f-15

10-16

11-17

A720 - 42784

Just converting between hex and dec. 

Posted
1 hour ago, Lover1500 said:

Hex - Dec

1-1

9-9

a-10

b-11

c-12

d-13

e-14

f-15

10-16

11-17

A720 - 42784

Just converting between hex and dec. 

Ok.

I got it.

Posted
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.

Posted
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. 

Posted
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' ?

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.