Jump to content
  • 0

How To Freeze Values By Offset? Possible?


Enzo_Funny_Gamer

Question

How To Freeze Values By Offset? Possible?

Can any One Help?

I tried adding Freezing Methots In The table Of Offset But Fails Every Time

 

[added 0 minutes later]
Just now, Enzo_Funny_Gamer said:

How To Freeze Values By Offset? Possible?

Can any One Help?

I tried adding Freezing Methots In The table Of Offset But Fails Every Time

 

We Normaly use 

gg.searchNumber("19811;10616;10606;10611:512",gg.TYPE_DWORD)

local Lapiss = gg.getResults(gg.getResultsCount())

for i,v in pairs(Lapiss) do
    if v.value == 19811 then
       v.value = <your value>
       v.freeze = true
    end
 end
gg.addListItems(Lapiss)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

If I understand you correctly, you can just construct a table with values at desired addresses and then call "addListItems" function with that table as argument: 

gg.searchNumber("19811;10616;10606;10611:512", gg.TYPE_DWORD)

local Lapiss = gg.getResults(gg.getResultsCount())

local values = {}
local offset = 0x20
local desiredValue = "123"
for i, v in pairs(Lapiss) do
  if v.value == 19811 then
    values[#values + 1] = {address = v.address + offset, flags = v.flags, value = desiredValue, freeze = true}
  end
end
gg.addListItems(values)
Link to comment
Share on other sites

3 minutes ago, CmP said:

If I understand you correctly, you can just construct a table with values at desired addresses and then call "addListItems" function with that table as argument: 


gg.searchNumber("19811;10616;10606;10611:512", gg.TYPE_DWORD)

local Lapiss = gg.getResults(gg.getResultsCount())

local values = {}
local offset = 0x20
local desiredValue = "123"
for i, v in pairs(Lapiss) do
  if v.value == 19811 then
    values[#values + 1] = {address = v.address + offset, flags = v.flags, value = desiredValue, freeze = true}
  end
end
gg.addListItems(values)

Thanks But I Figured it out my self

Link to comment
Share on other sites

18 hours ago, Enzo_Funny_Gamer said:

How To Freeze Values By Offset? Possible?

Can any One Help?

I tried adding Freezing Methots In The table Of Offset But Fails Every Time

 

[added 0 minutes later]

We Normaly use 

gg.searchNumber("19811;10616;10606;10611:512",gg.TYPE_DWORD)

local Lapiss = gg.getResults(gg.getResultsCount())

for i,v in pairs(Lapiss) do
    if v.value == 19811 then
       v.value = <your value>
       v.freeze = true
    end
 end
gg.addListItems(Lapiss)

Why is my Lapiss code here. Anyway the offset will also help me for the topic.

 

Link to comment
Share on other sites

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.