Jump to content
  • 0

Offset sequence error


kkbs4u

Question

Please help me to correct this getiing error

 

gg.clearResults()

gg.searchNumber("0;0~1;0;0;0;0;-139,100,160;144,670,709::29" , gg.TYPE_DWORD)

gg.refineNumber("-139100160", gg.TYPE_DWORD)

p = gg.getResults(1)

 

local q = {

{ -- First target address you wanna modified.

address = p[2].address + 0x164,

flags = gg.TYPE_DWORD,

value = 6

},

{ -- Make another table to modified other address.

address = p[2].address + 0x160, -- Offset

flags = gg.TYPE_DWORD,

value = 6

},

{ -- Make another table to modified other address.

address = p[2].address + 0x15C, -- Offset

flags = gg.TYPE_DWORD,

value = 6

},

{ -- Make another table to modified other address.

address = p[2].address + -368, -- Offset

flags = gg.TYPE_DWORD,

value = 6

},

{ -- Make another table to modified other address.

address = p[2].address + -372, -- Offset

flags = gg.TYPE_DWORD,

value = 6

},

{ -- Make another table to modified other address.

address = p[2].address + -376, -- Offset

flags = gg.TYPE_DWORD,

value = 9

},

{ -- Make another table to modified other address.

address = p[2].address + -380, -- Offset

flags = gg.TYPE_DWORD,

value = 0

}

}

gg.setValues(q)

gg.alert('Done')

 

 

 

 

 

 

 

_________________________________________________:

Script error: luaj.o: /storage/emulated/0/MKX NEW SCRIPT 3.0/Offset Test 26102020.lua:8

` address = p[2].address + 0x164,`

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

level = 1, const = 27, proto = 0, upval = 1, vars = 9, code = 101

GETTABLE v2 v2 "address"

; PC 24 CODE 01428087 OP 7 A 2 B 2 C 266 Bx 1290 sBx -129781

stack traceback:

/storage/emulated/0/MKX NEW SCRIPT 3.0/Offset Test 26102020.lua:8 in main chunk

[Java]: in ?

at luaj.LuaValue.f(src:989)

at luaj.LuaValue.c(src:2864)

at luaj.LuaValue.i(src:2767)

at luaj.LuaValue.w(src:1094)

at luaj.LuaClosure.a(src:363)

at luaj.LuaClosure.l(src:160)

at android.ext.Script.d(src:6056)

at android.ext.Script$ScriptThread.run(src:5785)

 

Sent from my HD1901 using Tapatalk

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.