Jump to content
  • 0

freeze value


blocx
 Share

Question

hi all someone please can tell me what i need if i want freeze the value off offset ? thank you

local function h1()

gg.setRanges(gg.REGION_C_ALLOC)

gg.searchNumber("712;498;262;133::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("712", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
r = gg.getResults(100)

local t = {}
t[1] = {}
t[1].address = r[1].address - 0x21C
t[1].flags = gg.TYPE_DWORD
t[1].value = 999999999

gg.setValues(t)
gg.clearResults()
gg.toast("👌 ENJOY 999999999 GOLDS 👍")
end
 

Edited by blocx
Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0

@MonkeySAN
ty it work but  want it no add to savelist it possoble ?

[added 3 minutes later]

local function h3()

gg.setRanges(gg.REGION_C_ALLOC)

gg.searchNumber("28271;29285;16384::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("29285", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
r = gg.getResults(100)

local t = {}
t[1] = {}
t[1].address = r[1].address + 0x20
t[1].flags = gg.TYPE_DWORD
t[1].value = 9999
t[1].freeze = true

gg.addListItems(t)
gg.clearResults()
gg.toast("👌 ENJOY UNLIMITED CHILIS👍")
end

Link to comment
Share on other sites

  • 0
32 minutes ago, MonkeySAN said:

i dont think its posibble.

yes it is ive done it many times

 

[added 3 minutes later]
46 minutes ago, blocx said:

@MonkeySAN
ty it work but  want it no add to savelist it possoble ?

[added 3 minutes later]

local function h3()

gg.setRanges(gg.REGION_C_ALLOC)

gg.searchNumber("28271;29285;16384::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("29285", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
r = gg.getResults(100)

local t = {}
t[1] = {}
t[1].address = r[1].address + 0x20
t[1].flags = gg.TYPE_DWORD
t[1].value = 9999
t[1].freeze = true

gg.addListItems(t)
gg.clearResults()
gg.toast("👌 ENJOY UNLIMITED CHILIS👍")
end

local function h3()

gg.setRanges(gg.REGION_C_ALLOC)

gg.searchNumber("28271;29285;16384::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
gg.refineNumber("29285", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
r = gg.getResults(100)

local t = {}
t[1] = {}
t[1].address = r[1].address + 0x20
t[1].flags = gg.TYPE_DWORD
t[1].value = 9999
t[1].freeze = true

gg.setValues(t)

gg.addListItems(t) --automaticly saves the list
gg.clearResults()
gg.toast(" ENJOY UNLIMITED CHILIS")

gg.loadResults(t)--loading the list
end

 

Link to comment
Share on other sites

  • 0

hmm..am i missing something here?

freezing a value will always get it into the savelist..

and by removing the savelist..it will unfreeze the value.

[added 1 minute later]
1 hour ago, blocx said:

MonkeySAN
ty it work but  want it no add to savelist it possoble ?

but you asked..

"no add to savelist...?"

Link to comment
Share on other sites

  • 0
14 minutes ago, MonkeySAN said:

so how @Enzo_Funny_Gamer was able to freeze a value without adding it to the savelist?

There is no way to do that.

1 hour ago, MonkeySAN said:

freezing a value will always get it into the savelist..

and by removing the savelist..it will unfreeze the value.

Your understanding is absolutely correct.

Link to comment
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
 Share

×
×
  • Create New...