Jump to content

_yourram

Members
  • Posts

    62
  • Joined

  • Last visited

Everything posted by _yourram

  1. [ @kiynox ] thanks buddy! one more question ↓ is it useless to save values with different names? because when we use gg.loadResults(gg.getListItems(energy)) or gg.loadResults(gg.getListItems(health)) it gets all the values, well there is also an option for this we can use "refineNumber" but still it is useless for values which have same value. Example ↓ function Main() Menu = gg.choice({'Prepare Values','Search','Undo','Exit'}) if Menu == 1 then FIRST() end if Menu == 2 then FIRST1() end if Menu == 3 then FIRST2() end if Menu == 4 then Exit()end while true do if gg.isVisible() then gg.setVisible(false) Main() end end end function FIRST() -------------control -------------------- gg.searchNumber('55;873', 16) gg.refineNumber('55', 16) control = gg.getResults(10) gg.addListItems(control) gg.clearResults() -------------health -------------------- gg.clearResults() gg.searchNumber('47;67', 16) gg.refineNumber('47', 16) health = gg.getResults(10) gg.addListItems(health) gg.clearResults() -------------energy -------------------- gg.searchNumber('666;32;47', 16) gg.refineNumber('47', 16) energy = gg.getResults(10) gg.addListItems(engery) gg.clearResults() end function FIRST1() -------------control-------------------- gg.loadResults(gg.getListItems(control)) gg.refineNumber('55',16) gg.getResults(100) gg.editAll('-55', 16) gg.clearResults() -------------health -------------------- gg.clearResults() gg.loadResults(gg.getListItems(health)) gg.refineNumber('47',16) gg.getResults(100) gg.editAll('0', 16) gg.clearResults() -------------energy -------------------- gg.loadResults(gg.getListItems(energy)) gg.refineNumber('47',16) gg.getResults(100) gg.editAll('999', 16) gg.clearResults() end function FIRST2() -------------control-------------------- gg.loadResults(gg.getListItems(control)) gg.refineNumber('-55',16) gg.getResults(100) gg.editAll('55', 16) gg.clearResults() -------------health -------------------- gg.clearResults() gg.loadResults(gg.getListItems(health)) gg.refineNumber('0',16) gg.getResults(100) gg.editAll('47', 16) gg.clearResults() -------------energy -------------------- gg.loadResults(gg.getListItems(energy)) gg.refineNumber('999',16) gg.getResults(100) gg.editAll('47', 16) gg.clearResults() end function Exit() os.exit() end GOD=-1 while(true)do if gg.isVisible(true) then GOD=1 gg.setVisible(false) end if GOD==1 then Main() end end
  2. [ @kiynox ] --- mhm thanks, and i didn't use "end" function that's why I was getting the error lol --- its working, well bro where can I know more functions about the script?
  3. [ @kiynox ] bruh :! sorry but I couldn't upload a high resolution image
  4. [ @kiynox ] still got error :! gg.searchNumber('140', 16) results = gg.getResults(gg.getResultsCount()) edits = {} for k, v in ipairs({3,6,9}) do edits[#edits + 1] ={ address = results[v].address value = '999' --gg.TYPE_FLOAT = 16 flags = gg.TYPE_FLOAT } end gg.setValues(edits) gg.addListItems(edits) I read but I didn't understand anything so I asked
  5. [ @kiynox ] what does the script wants? --Search Float gg.searchNumber('140', 16) --Get search results results = gg.getResults(gg.getResultsCount()) --Store addresses that wants to be edited edits = {} --Edit 3,6,9 result for k, v in ipairs({3,6,9}) do if v ~= nil then edits[#edits + 1] ={ address = results[k].address value = results[k].value '17' --Change your value here flags = results[k].flags } end end --Apply edits gg.setValues(edits) --Save edits gg.addListItems(edits)
  6. [ @Count_Nosferatu ] why did i get the error, what mistakes i'm doing? gg.clearResults() gg.searchNumber('100;140', 16) gg.refineNumber('100', 16) controlvalue = gg.getResults(1) gg.addListItems(controlvalue) gg.clearResults() choice = gg.choice({'Edit it to 100','Edit it to -1','Edit it back'}) if choice == 0 then gg.alert() gg.setVisible(true) os.exit() end if choice == 1 then gg.setVlaues({{ address = controlvalue[1].address, flags = gg.TYPE_FLOAT, value = -100 }}) end if choice == 2 then gg.setVlaues({{ address = controlvalue[1].address, flags = gg.TYPE_FLOAT, value = -1 }}) end if choice == 3 then gg.setVlaues({{ address = controlvalue[1].address, flags = gg.TYPE_FLOAT, value = 100 }}) end gg.setVisible(true) os.exit()
  7. [ @CmP ] is there any alternative command for this? (I don't wanna search a code multiple times) --- For example, what kind of script commands do I need↓ gg.setVisible(false) function main() choice = gg.choice({'Prepare health value','Edit it to 100','Edit it to -1','Edit it back'}) if choice == 1 then gg.searchNumber('100;140', 16) gg.refineNumber('100', 16) controlvalue = gg.getResults(999) gg.clearResults() end if choice == 2 then a = {1} b = {} for i, v in ipairs(a) do table.insert(b, {address = controlvalue[1].address; flags = 16; value = '-100'}) end gg.setVlaues(b) end b = {} if choice == 3 then for i, v in ipairs(a) do table.insert(b, {address = controlvalue[1].address; flags = 16; value = '-1'}) end gg.setValues(b) end b = {} if choice == 4 then for i, v in ipairs(a) do table.insert(b, {address = controlvalue[1].address; flags = 16; value = '100'}) end gg.setVaalues(b) end end while true do if gg.isVisible() then gg.setVisible(false) main() end end
  8. [ @CmPor @MarioRossi93i] do you know how to run the "changed as search result" command in a script? ---
  9. @CmP thanks, but still i have a question how can I edit multiple values when using this? Example ↓ gg.clearResults() gg.searchNumber("-7041975695332343808", 32) gg.refineNumber("-7041975695332343808", 32) local results = gg.getResults(10) gg.clearResults() local values = {} for i, v in ipairs(results) do values[i] = {address = v.address + 0x10, flags = 16, value = "100", name = "Health"} end local values = {} for i, v in ipairs(results) do values[i] = {address = v.address - 0x16, flags = 16, value = "-140", name = "Power"} end gg.setValues(values) gg.addListItems(values)
  10. @MarioRossi93i sorry but can we can't change "address name" in this? gg.clearResults() gg.searchNumber("-7041975695332343808", 32) gg.refineNumber("-7041975695332343808", 32) local t = gg.getResults(10) gg.clearResults() e = {1} b = {} for i,v in pairs(e) do table.insert(b, {address = t[1].address - 0x0;flags = 16; value = '100'}) end gg.setValues(t) gg.addListItems(t) b = {}
  11. @MarioRossi93i bruh reply me as soon as possible because my script is waiting for your reply :!
  12. gg.clearResults() gg.searchNumber("-7041975695332343808", 32) gg.refineNumber("-7041975695332343808", 32) local t = gg.getResults(10) gg.clearResults() e = {1} b = {} for i,v in pairs(e) do ------------- first step [doesn't working] table.insert(b, {address = t[1].address - 0x0; t[1].name = 'Ram';flags = 16; value = '100'}) end gg.setValues(t) gg.addListItems(t) b = {} ------------- second step [doesn't working] table.insert(b, {address = t[1].address - 0x0;name = t[1].name = 'Ram';flags = 16; value = '100'}) end gg.setValues(t) gg.addListItems(t) b = {} ------------- third step [doesn't working] table.insert(b, {address = t[1].address - 0x0;name = 'Ram';flags = 16; value = '100'}) end gg.setValues(t) gg.addListItems(t) b = {} can you also give me an example how to work this function in this command?
  13. Just like we change the address "value" can we also change the address "name" while using the script? gg.clearResults() gg.searchNumber("8243116118139470284", 32) gg.refineNumber("8243116118139470284", 32) local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address - 0x30 t[i].flags = 1 t[i].value = 0 t[i].freeze = false gg.setValues(t) end local t = gg.getResults(10) for i,v in pairs(t) do t[i].address = t[i].address + 0x10 t[i].flags = 16 t[i].value = 48 t[i].freeze = true gg.setValues(t) end gg.clearResults()
  14. @Enybybruh my gg toast isn't visible/appearing, what should I do to solve this problem ?
  15. @Lord-Kingcan u share me those script values?
×
×
  • 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.