Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/22/2025 in Posts

  1. Hmm... I know one value that will lead us to all the addresses we need But I'm not sure it can be called unique This value is dynamic and may differ for some heroes I'll show you it on video
    1 point
  2. You can write code like this: function search(value) gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber(value[1], gg.TYPE_FLOAT) -- Finding the value. FLOAT data type local results = gg.getResults(gg.getResultsCount()) if results == nil or #results == 0 then gg.alert("Value not found") mainMenu() return end local arrayValues = { {refine = "1,066,666,666~1,222,222,222", offset = 0x4}, -- An array of values for filtering and offsets {refine = "0", offset = 0x4}, {refine = "0", offset = 0x4}, {refine = "0", offset = 0x4}, {refine = "1", offset = 0x4}, {refine = "0", offset = 0x4}, {refine = "1~40", offset = 0x20} -- Skill Level } for i = 1, #arrayValues do for j, v in ipairs(results) do v.address = v.address + arrayValues[i].offset -- The offset value from the array v.flags = gg.TYPE_DWORD -- DWORD data type end gg.loadResults(results) gg.refineNumber(arrayValues[i].refine, gg.TYPE_DWORD) -- Filtering values results = gg.getResults(gg.getResultsCount()) -- Applying new results if results == nil or #results == 0 then gg.alert("Filtering has been stopped\nThere are no results left") mainMenu() return end end for i, v in ipairs(results) do v.address = v.address - 0x34 v.flags = gg.TYPE_FLOAT -- v.value = "0" -- v.freeze = true end gg.addListItems(results) gg.toast("Done!") end function prompt() local value = gg.prompt({"Enter the value"}, {""}, {"number"}) if value == nil or value == "" then mainMenu() return end search(value) end
    1 point
  3. I made a script to speed things up here, but I don't know the values of all the heroes. We can speed up this process by searching for the known values together and adding an on/off button without having to type them over and over again after each match. This script enabled the hero in the video you gave to hit the skill repeatedly, and it was successful. If you can write the other values, I can get this done faster. TilesSurviveV1.1.lua
    1 point
×
×
  • 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.