Jump to content


Popular Content

Showing content with the highest reputation since 08/22/2018 in Posts

  1. 4 points
    Check e_machine from specific lib using GameGuardian. function GetLibraryTextBase(lib) for _, __ in pairs(gg.getRangesList(lib)) do --print(string.format("%s | Start: 0x%08x | End: 0x%08x | Size: 0x%x | State: %s | Protection: %s", lib, __["start"], __["end"], __["end"] - __["start"], __["state"], __["type"])) if __["state"] == "Xa" or __["state"] == "Xs" then return __["start"], __["end"] end end return nil end function GetLibraryArch(LibName) e_machine = GetLibraryTextBase(LibName) + 0x12 -- e_machine offset _ = {{address = e_machine, flags = gg.TYPE_WORD }} return gg.getValues(_)[1].value & 0xFFFF -- Format end Arch = GetLibraryArch("libc.so") -- http://www.sco.com/developers/gabi/2000-07-17/ch4.eheader.html if Arch == 40 then ArchName = "Advanced RISC Machines ARM: " else ArchName = "Unknown" end gg.alert(string.format("libc.so\n\nArchitecture: %s (0x%02X)", ArchName, Arch)) References: http://www.sco.com/developers/gabi/2000-07-17/ch4.eheader.html
  2. 3 points
    Have you tried it at least? I highly doubt that searching for 500 consecutive addresses and editing all of them to one value can noticeably slow down your script. So are you sure that it does not suffice because of performance reasons? As pointed out above, editing values one-by-one in a loop is very inefficient. This approach should be used instead, if simple one with fuzzy search does not suffice: Example of implementing it: local startAddress = 0x12340000 local count = 500 local editValue = '555444' local values = {} for i = 1, count do values[i] = {address = startAddress; flags = gg.TYPE_DWORD; value = editValue} startAddress = startAddress + 4 end gg.setValues(values)
  3. 3 points
    You need to use "Changed/Unchanged" if you want to find xor-encrypted value with fuzzy search. "Increased/Decreased" won't work out because of how xor-encryption works.
  4. 2 points
    @noblack, you forgot to delete the line in function "main". Also isVisible function does not accept arguments, so that "true" in this line is redundant. Moreover, this only works because of how Lua deals with extra arguments. From the Lua 5.3 reference manual (https://www.lua.org/manual/5.3/manual.html#3.4.11) : Another thing is that value returned by "prompt" function needs to be checked (because the dialog may be cancelled, in some cases accidentally) as well as value that is stored in "Result[4]", but I suggest you to leave these improvements to be done by the author of the topic (if he needs them at all).
  5. 2 points
    Bro it's a log of Free fire script Log can't be a perfect code or script You need to understand the Lua language with game guardian https://gameguardian.net/help/classgg.html Go-to about link it will help you to learn If you want to write a script you need to know Basics Then Next...
  6. 2 points
    Call the select language function before "while true do" Example : local lang = {} local indo = {} local eng = {} indo.menu = {"Pilih Menu 1", "Pilih Menu 2", "Keluar"} indo.title = {"Pilih Menu"} indo.toast = {"Kamu pilih menu 1", "Kamu pilih menu 2"} eng.menu = {"Select Menu 1", "Select Menu 2", "Exit"} eng.title = {"Select Menu"} eng.toast = {"You select menu 1", "You select menu 2"} function Language() local l = gg.choice({"English","Indonesia"}, nil, "Select Language") if not l then os.exit() end if l == 1 then lang = eng end if l == 2 then lang = indo end end function MainMenu() local menu = gg.choice(lang.menu, nil, lang.title[1]) if menu ~= nil then if menu == 1 then gg.toast(lang.toast[1]) end if menu == 2 then gg.toast(lang.toast[2]) end if menu == 3 then os.exit() end end end Language() -- first run not repeat -- always repeat while true do if gg.isVisible() then gg.setVisible(false) MainMenu() end gg.sleep(100) end
  7. 2 points
    This is a very basic task. You need to: 1. Get first 5 results via getResults function and store them in a variable. 2. Remove first 5 results via removeResults function by passing variable from step 1 to the function as argument. Note: this will only work as expected, if you have exactly 6 results, so you may need to check count of results via getResultsCount function and/or consider possibility of getting different amount of results.
  8. 2 points
    Well I wasn't able to hack gold bars, but I managed to hack everything else via xor search and group search. I assume that is possible to hack lives as well. So what's the gold bar's purpose in this game anyways?
  9. 2 points
    1. Java, C. 2. Code. 3. Have skill, interest and prove it in my PM.
  10. 2 points
    Name: torque drift Script reuqest: ability to increasethe amount of money, gold and crates Link for game: https://play.google.com/store/apps/details?id=leagueofmonkeys.torquedrift

  • Create New...