Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/25/2021 in all areas

  1. The solution above from MonkeySAN is correct, but has some minor issues and redundancies. Slightly modified version of it: gg.clearResults() gg.searchNumber("131842", gg.TYPE_DWORD) local t = gg.getResults(50000) for i, v in ipairs(t) do v.flags = gg.TYPE_QWORD -- referencing the constant by it's name instead of substituting it with it's value v.value = "288515153958273024" -- using value of type expected by the function instead of relying on implicit conversion of number to string end gg.setValues(t) gg.clearResults()
    4 points
  2. You are comparing the results as a table you should try something like if gg.getResultsCount() <= 1 then else end You could use getResults if the goal was to compare the value of the result itself but you'd need to use the indexes of the table such as if res[1].value <= 1 then else end
    3 points
  3. hideUiButton and isUiButtonClicked is 1000% a better alternative thank you
    2 points
  4. @nio04I think you saw my post XD But script will go to next line only after gg.searchNumber. So putting checking wont prevent for the first search. Or may be this one? https://gameguardian.net/help/classgg.html#a46b78a631174e0c2ea89664c51426440
    2 points
  5. gg.clearResults() gg.searchNumber("131842", gg.TYPE_DWORD) local t = gg.getResults(50000) for i,v in pairs(t) do if v.value == 131482 then v.value = 288515153958273024 v.flags = 32-- is type Qword end end gg.setValues(t) gg.clearResults() end
    2 points
  6. Hi its crystal mods back with another tutorial. i will show you how to call a lua script with one lua script i have been using this ever since to add extra features or just add imports but its files not actually importing in the text editor. 1. Make 2 files one can be your main script the other will be your script you will be calling from your main script Main Script: (file name: Main.lua) (warning: menu doesn't have to be a local variable but i just do that you don't have to make it local! function exec(thisPath) doFile(thisPath) --using dofile the script will try to execute the other script :D end local menu = gg.choice({"Call File","Exit"},nil,"Main Script") if menu == 1 then exec("/storage/emulated/0/Download/Import.lua") --We pass the file path in which the import file is located. end if menu == 2 then os.exit(gg.toast("Script Killed")) end Now we code our import script Import Script: (name: Import.lua) --import code gg.sleep(300) gg.toast("x") gg.sleep(300) gg.toast("xx") gg.sleep(300) gg.toast("*****") gg.sleep(300) gg.toast("xxxx") gg.sleep(300) gg.toast("xxxxx") gg.sleep(300) gg.toast("Script Loaded") gg.alert("I have been imported") dofile("/storage/emulated/0/Download/Main.lua") --We call back to the main script because the import script has finished its operation You can use this for hiding stuff, or whatever you would like Hey Enyby think you can get around the import feature? i have been using this for months now and no one has gotten my values or ranges ever since with this import i write my scripts the weirdest as they can. Give me your opinions guys i want to know what you think about this feature?? alright im out! (neck hurts :P)
    1 point
  7. If you had your script indefinitely running gg.setVisible(false) then you could just have a conditional check if its ever true in the search function then to exit else to do the searching and editing
    1 point
  8. 1 point
  9. Range search 100~500 Refine the range couple of time Then to know which are the exact value, do "add to value, do not replace''
    1 point
  10. thanks for having taken a look, indeed it is all server based as I thought nevertheless its a great game enjoy it have a great day !
    1 point
  11. Did you read through this post: Unlimited gem Evil Hunter Tycoon (#d96ms7bz) You might get some ideas from there. Game just closes if I try to run it.
    1 point
  12. downloaded and installed x8 ....... all solved.
    1 point
  13. I'll download your two lua.main and call file.I can directly run your second lua. You should set a connection between two file. to avoid running only one file by user. If the search is long enough, i can also check what you are you looking for.
    1 point
  14. Oh sorry my bad, i thought he was unsure of what exactly is returned from the prompt class I figured I was over explaining something simple This made me think that he was unsure of what was being done with the prompt, and that it made me think that he thought it was the prompt itself that resulted in action rather than a table with value of the input from the slider... Misunderstanding maybe there's an English/french translation problem that threw me off No worries I can see how me quoting you made it seem like I was just providing a further unnecessary explanation
    1 point
  15. Just change this into gg.editAll(input[1] **AND THE ARGUMENTS FOR YOUR EDIT SUCH AS FLAGS**) Must be done after getResults ofcourse. The slider is all the same. Saves input as table what's done with this table is up to the rest of the script.
    1 point
  16. local input = gg.prompt({"Select value :[0;10]"},{0},{"number"}) if input == nil then return else gg.searchNumber(input[1], 4) ....
    1 point
  17. Little tweak to the solution above, so that returned string will look like address in GG: function toHexString(n) return string.format('%08X', n):sub(-8) end print(toHexString(12398754))
    1 point
  18. If you need 32-bit hex value (8 hex digit) it must be: p = ("%x"):format(-1469129008):sub(-8) Because if you try use -1 with your code, you can get empty string.
    1 point
  19. thank you again it was an incredibly simple one line solution if anyone else needs to do it. p = string.gsub(("%x"):format(-1469129008), "ffffffff", "")
    1 point
  20. All android use little-endian. In any case, you can use google for understand what is that. And find byte swap algorithm and so on.
    1 point
  21. Use getResults for get value. Use value as address. It is called pointer.
    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.