blocx Posted July 31, 2021 Share Posted July 31, 2021 (edited) 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 July 31, 2021 by blocx Link to comment Share on other sites More sharing options...
0 MonkeySAN Posted July 31, 2021 Share Posted July 31, 2021 .. t[1].freeze = true gg.addListItems(t)--replace gg.setValues for freeze 1 Link to comment Share on other sites More sharing options...
0 blocx Posted July 31, 2021 Author Share Posted July 31, 2021 @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 More sharing options...
0 MonkeySAN Posted July 31, 2021 Share Posted July 31, 2021 (edited) i dont think its posibble. Edited July 31, 2021 by MonkeySAN 1 Link to comment Share on other sites More sharing options...
0 blocx Posted July 31, 2021 Author Share Posted July 31, 2021 thanks Link to comment Share on other sites More sharing options...
0 Enzo_Funny_Gamer Posted July 31, 2021 Share Posted July 31, 2021 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 1 Link to comment Share on other sites More sharing options...
0 blocx Posted July 31, 2021 Author Share Posted July 31, 2021 thanks Link to comment Share on other sites More sharing options...
0 Enzo_Funny_Gamer Posted July 31, 2021 Share Posted July 31, 2021 7 minutes ago, blocx said: thanks no problem Link to comment Share on other sites More sharing options...
0 MonkeySAN Posted July 31, 2021 Share Posted July 31, 2021 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...?" 1 Link to comment Share on other sites More sharing options...
0 YeetMeister Posted July 31, 2021 Share Posted July 31, 2021 2 hours ago, MonkeySAN said: i dont think its posibble. lol 1 Link to comment Share on other sites More sharing options...
0 blocx Posted July 31, 2021 Author Share Posted July 31, 2021 yes still in savelist and if i remove save list it nofreeze Link to comment Share on other sites More sharing options...
0 MonkeySAN Posted July 31, 2021 Share Posted July 31, 2021 so how @Enzo_Funny_Gamer was able to freeze a value without adding it to the savelist? really curious about it because i no expert in making very advance script. 2 Link to comment Share on other sites More sharing options...
0 CmP Posted July 31, 2021 Share Posted July 31, 2021 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. 1 Link to comment Share on other sites More sharing options...
0 blocx Posted July 31, 2021 Author Share Posted July 31, 2021 thanks all for reply Link to comment Share on other sites More sharing options...
0 Enzo_Funny_Gamer Posted July 31, 2021 Share Posted July 31, 2021 3 hours ago, MonkeySAN said: so how @Enzo_Funny_Gamer was able to freeze a value without adding it to the savelist? really curious about it because i no expert in making very advance script. yes yes Link to comment Share on other sites More sharing options...
0 Enzo_Funny_Gamer Posted July 31, 2021 Share Posted July 31, 2021 3 hours ago, CmP said: There is no way to do that. Your understanding is absolutely correct. correct ,it looks like they meant to save the list(into a file) Link to comment Share on other sites More sharing options...
Question
blocx
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)
Edited by blocxgg.clearResults()
gg.toast(" ENJOY 999999999 GOLDS ")
end
Link to comment
Share on other sites
15 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now