-
Posts
1,813 -
Joined
-
Last visited
-
Days Won
119
Community Answers
-
MonkeySAN's post in How to implement Nearby Search in LUA Script for address that keeps changing was marked as the answer
gg.searchNumber("0.10000000149;2.5;6.0::9", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("6", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 0) -- Get up to 10 results just in case local results = gg.getResults(10) local offset = 0x500 local allResults = {} -- Loop through each address from results for _, v in ipairs(results) do local baseAddress = v.address gg.clearResults() gg.searchNumber("-1", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, baseAddress, baseAddress + offset, 0) -- Get all found results for this address range local found = gg.getResults(10) for _, addr in ipairs(found) do table.insert(allResults, addr) -- Collect each valid result end end -- Load all results found for target value if #allResults > 0 then gg.loadResults(allResults) end
-
MonkeySAN's post in Set the value too high accidentally now the value is shown as NaN was marked as the answer
Great.
now refine to value 13 and put all of it into the savelist.
in the savelist, select all then tap that button(red arrow) :
which bring this menu then select the option(in red box) :
fill it as shown below then OK :
-
MonkeySAN's post in gg.copyText() not copying spaces ..? was marked as the answer
try this..
... gg.copyText(printRes,false)
-
MonkeySAN's post in How to check game guardian version in script? was marked as the answer
you can try this
if gg.VERSION < "101.1" then gg.alert("Please use the latest version of GameGuardian.") os.exit() end or this.
if gg.VERSION == "101.1" then else gg.alert('Please use GameGuardian version 101.1') os.exit() end