Jump to content
  • 0

Help me to write a script


Nikhil336

Question

By using offsets I found a value v type Qword I want to search that value how to write a script

By using offsets I found a value type Qword I want to search that value how to write a script

function find()
     if menu == 1 then gg.clearResults()
gg.setRanges(gg.REGION_ANONYMOUS)
gg.searchNumber("1,072,861,020D;152,727D:21", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("152727", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)

local j = gg.getResults(100000, nil, nil, nil, nil, nil, nil, nil, nil)
gg.addListItems(j)
j = nil
gg.clearResults()
local copy = false
local j = gg.getListItems()
if not copy then gg.removeListItems(j) end
for i, v in ipairs(j) do
    v.address = v.address + 0x28
    v.flags = gg.TYPE_QWORD
    if copy then v.name = v.name..' #2' end
end
gg.addListItems(j)
j = nil
copy = nil

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.