Jump to content
  • 0

Need help in writing a script


Nikhil336

Question

By using offsets I found a value type Qword then I have to search that value but I don't know what to write further

 

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(1, 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.