Jump to content
Ra12345

Freeze in a script is not working

Recommended Posts

I am not understanding why freeze is not working in the code listed below.Any help is appreciated

gg.searchAddress('7F4?????34',0xFFFFFFFFFF,gg.TYPE_FLOAT)
gg.getResults(999999)
gg.refineNumber('1.0~100.0',gg.TYPE_FLOAT)
Res=gg.getResults(999999)
gg.editAll('999999.9',gg.TYPE_FLOAT)
for i, v in ipairs(Res) do
    v.freeze=true
end
end

 

Share this post


Link to post
Share on other sites

gg.searchAddress('7F4?????34',0xFFFFFFFFFF,gg.TYPE_FLOAT)
gg.getResults(999999)
gg.refineNumber('1.0~100.0',gg.TYPE_FLOAT)
Res=gg.getResults(999999)
for i, v in ipairs(Res) do
    if v.flags == gg.TYPE_FLOAT then
    v.value = 999999.9
    v.freeze = true
    end
end
gg.setValues(Res)
gg.addListItems(Res)
Res = nil
gg.clearResults()
end

see if this work...

Share this post


Link to post
Share on other sites

What is the use of the setValues() and addListItems() and viewed the help but I am not understanding it.Can you explain me.

Share this post


Link to post
Share on other sites
1 hour ago, Ra12345 said:

Yes it worked.But why my code isn't working.

not the right code......maybe.

i dont know...its yours.

you should know why...not me.

Edited by zam535582

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

×
×
  • Create New...