Jump to content
  • 0

Please Help ,i found a value Qword. but how i make it as lua script?


Jibrilll
 Share

Question

13 answers to this question

Recommended Posts

  • 0
7 hours ago, MarioRossi93i said:

gg.searchNumber( 98784247823, 32 )

local qwordAddress = gg.getResults(1)

qwordAddress = qwordAddress[1].address

 

gg.setValues({{

address = qwordAddress+0xF8C,

flags = 4,

value = 9

}})

not work sir 😞

Link to comment
Share on other sites

  • 0
12 hours ago, Jibrilll said:

search number Qword 98784247823 - f8c - Go to - change dword 14 - 9 .. how to make it as lua script? thank you

I dont understand your question clearly. 

11 hours ago, MarioRossi93i said:

gg.searchNumber( 98784247823, 32 )

But it should be

gg.searchNumber( "98784247823", 32 ). 

Link to comment
Share on other sites

  • 0

add gg.refineAddress("F8C")

after search.

gg.searchNumber("98784247823", 32 )

gg.refineAddress("F8C")

local t = gg.getResults(1) 

gg.setValues({{

address = t[1].address,

flags = 4,

value = 9

}})

see if this work for you.

Edited by MonkeySAN
Link to comment
Share on other sites

  • 0
23 minutes ago, MonkeySAN said:

gg.searchNumber("98784247823", 32 )

It must be 98784247822.not 3.

If the address's last is the same monkey san's code will work correctly. 

If not then use this. 

lol = 0
gg.setRanges(32)
gg.searchNumber('98784247822',32)
local result = gg.getResults(9999)
local check1 = gg.getResults(9999)

for i,v in ipairs(check1) do
v.address = v.address+0xc
v.flags=4
end
check1 = gg.getValues(check1)

for i,k in ipairs(result) do
  if check1[i].value == 1610612736 then
    gg.setValues({{address=result[i].address,flags=4, value=9}})
    lol=lol+1 end end
print('edited '..lol..' values.\nCheck if it is right or wrong!')

 

Link to comment
Share on other sites

  • 0
42 minutes ago, MonkeySAN said:

add gg.refineAddress("F8C")

after search.


gg.searchNumber("98784247823", 32 )

gg.refineAddress("F8C")

local t = gg.getResults(1) 

gg.setValues({{

address = t[1].address,

flags = 4,

value = 9

}})

see if this work for you.

this is work, but when i opem gg again i got error 😞 

Script error: luaj.o: /storage/emulated/0/salieri/jjhyug:217
`address = t[1].address,`
attempt to index ? (a nil value) with key 'address' (field '1')
level = 1, const = 20, proto = 0, upval = 1, vars = 5, code = 48
GETTABLE v4 v4 "address"
 ; PC 26 CODE 02430107 OP 7 A 4 B 4 C 268 Bx 2316 sBx -128755
stack traceback:
    /storage/emulated/0/salieri/jjhyug:217 in function 'MAP'
    /storage/emulated/0/salieri/jjhyug:113 in function 'HOME'
    /storage/emulated/0/salieri/jjhyug:6205 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 luaj.LuaClosure.a(src:533)
    at luaj.LuaClosure.l(src:160)
    at luaj.LuaClosure.a(src:533)
    at luaj.LuaClosure.l(src:160)
    at android.ext.Script.d(src:6056)
    at android.ext.Script$ScriptThread.run(src:5785)

Edited by Jibrilll
Link to comment
Share on other sites

  • 0
gg.searchNumber("98784247822", 32 )

gg.refineAddress("F8C")

local r = gg.getResults(1) 

local t = {}
t[1] = {}
t[1].address = r[1].address + 0
t[1].flags = 4
t[1].value = 9
gg.setValues(t)
t = nil
gg.clearResults()
gg.toast("Done")
end

 

Link to comment
Share on other sites

  • 0
8 hours ago, Lover1500 said:

I dont understand your question clearly. 

But it should be

gg.searchNumber( "98784247823", 32 ). 

You don t neet to quote its a number 

[added 2 minutes later]
11 hours ago, Jibrilll said:

not work sir 😞

I thought f8c was an offset... sorry

Link to comment
Share on other sites

  • 0
On 11/4/2020 at 4:26 PM, MonkeySAN said:

gg.searchNumber("98784247822", 32 )

gg.refineAddress("F8C")

local r = gg.getResults(1) 

local t = {}
t[1] = {}
t[1].address = r[1].address + 0
t[1].flags = 4
t[1].value = 9
gg.setValues(t)
t = nil
gg.clearResults()
gg.toast("Done")
end

 

this is work sir, but why this is still error when i open gg again?

Script ended:
🔊 Copyright By FAMASU RE 🎶
By FAMASURE

Perhaps this script needs the latest version of GameGuardian. Try to update to the latest version.

Script error: luaj.LuaError: @/storage/emulated/0/salieri/SCRIPT VIP fms 12 juni 2820.lua:176
`t[1].address = r[1].address + 0`
attempt to index ? (a nil value) with key 'address'
level = 1, pc = 27
stack traceback:
    /storage/emulated/0/salieri/SCRIPT VIP fms 12 juni 2820.lua:176 in function 'radar1'
    /storage/emulated/0/salieri/SCRIPT VIP fms 12 juni 2820.lua:146 in function 'menuradar'
    /storage/emulated/0/salieri/SCRIPT VIP fms 12 juni 2820.lua:108 in function 'Start'
    /storage/emulated/0/salieri/SCRIPT VIP fms 12 juni 2820.lua:10597 in main chunk
    [Java]: in ?
    at luaj.LuaValue.error(Unknown Source:2)
    at luaj.LuaValue.indexerror(Unknown Source:35)
    at luaj.LuaValue.gettable(Unknown Source:46)
    at luaj.LuaValue.get(Unknown Source:0)
    at luaj.LuaClosure.execute(Unknown Source:459)
    at luaj.LuaClosure.call(Unknown Source:16)
    at luaj.LuaValue.callNotNull(Unknown Source:0)
    at luaj.LuaClosure.execute(Unknown Source:1859)
    at luaj.LuaClosure.call(Unknown Source:6)
    at luaj.LuaValue.callNotNull(Unknown Source:0)
    at luaj.LuaClosure.execute(Unknown Source:1848)
    at luaj.LuaClosure.call(Unknown Source:6)
    at luaj.LuaValue.callNotNull(Unknown Source:0)
    at luaj.LuaClosure.execute(Unknown Source:1848)
    at luaj.LuaClosure.call(Unknown Source:6)
    at android.ext.Script$ScriptThread.run(Unknown Source:716)

 

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.