Jump to content
Sign in to follow this  
Enzo_Funny_Gamer

How To Freeze Values By Offset? Possible?

Recommended Posts

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)

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
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

Share this post


Link to post
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.

 

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...