Jump to content

1x1

Members
  • Posts

    43
  • Joined

  • Last visited

Posts posted by 1x1

  1. Hi guys I wanna how to modify my app root folder destination by virtual space.

    Is easy for root user to modify the root folder of game but if is a virtual space, it may contain like /data/user/0/com.parallel.space/files/data/user/0/com.racing.carry/saves/coin.xml

     

    Is it possible for GG to detect it and find the correct path for virtual space user?

  2. Hi hacker, so I successfully created my own mod menu with this source I find in Github: https://github.com/LGLTeam/Mod-Menu-With-Memory-hack

     

    I coded and injected inside the apk perfectly fine. I'm testing this on MCPE 0.6.1

     

    I was able to create a C_ALLOC hack called Speed, Air Speed and Step hack from it.

    But when I try range CODE_APP and edit the value, the game crash. Ofc I didnt did any mistake, even changing the ranges to C_ALLOC work fine except for CODE_APP.

     

    I'm trying to create a gravity hack which is 0.08 float which will be edited to 0.01.

     

    The mod menu actually search the gravity value (3 results). But it isn't unable to edit it. Any hope?

     

    Sry if is off-topic.

  3. I wanna make a gg.prompt which can do main() or any function.

     

    Here is 1 example I made but it doesn't work with gg.prompt

     

    function test1()
      gg.alert('Test1 ok')
     end
    
    function abc()
      gg.alert('no bye')
      os.exit()
      end
    
    local response = gg.prompt({'Put function to call'}, {''}, {'text'})
    
    pcall(load(response[1]))

    but it doesn't work. When I put it function name instead of response[1] it work.

     

    I'm trying to make a database. 

  4. 22 hours ago, nok1a said:

    Seems to happen because one table is larger then the other. Change the [i] to [1] at the line you got the error.
    xCoordMe[i].value, yCoordMe[i].value, zCoordMe[i].value

    It's to be expected your filtering is accurate so that you only have 1 result for your characters coordinate.

    It save my player model id, but an error came. 

    Script ended:
    Perhaps this script needs the latest version of GameGuardian. Try to update to the latest version.
    Script error: luaj.LuaError: /storage/emulated/0/Download/Kizzy/player list to tp them.lua:42
    `  final[#final+1] = string.format("Your Player: x = %.15f, y= %.15f, z = %.15f", xCoordMe[1].value, yCoordMe[1].value, zCoor...`
    attempt to index ? (a nil value) with key 'value' (field '1')
    level = 1, const = 28, proto = 0, upval = 1, vars = 19, code = 220
    GETTABLE v17 v17 "value"
     ; PC 147 CODE 08C28447 OP 7 A 17 B 17 C 266 Bx 8970 sBx -122101
    stack traceback:
    	/storage/emulated/0/Download/Kizzy/player list to tp them.lua:42 in main chunk
    	[Java]: in ?
    	at luaj.LuaValue.error(LuaValue.java:989)
    	at luaj.LuaValue.indexerror(LuaValue.java:2864)
    	at luaj.LuaValue.gettable(LuaValue.java:2767)
    	at luaj.LuaValue.get(LuaValue.java:1094)
    	at luaj.LuaClosure.execute(LuaClosure.java:358)
    	at luaj.LuaClosure.call(LuaClosure.java:160)
    	at android.ext.Script.runScript(Script.java:5703)
    	at android.ext.Script$ScriptThread.run(Script.java:5441)

     

  5. 5 hours ago, nok1a said:

    There is a type fault in variable naming. Remove the underscores in the variables of the for loop, xCoord_Me needs to be xCoordMe. Do that for all variables that are used for tables. So that they are the same name as the local variables 

    local xCoordMe = {}
    local yCoordMe = {}
    local zCoordMe = {}
    local xCoordEnemy = {}
    local yCoordEnemy = {}
    local zCoordEnemy = {}

     

    now it show this

    Script ended:
    Perhaps this script needs the latest version of GameGuardian. Try to update to the latest version.
    Script error: luaj.LuaError: /storage/emulated/0/Download/Kizzy/player list to tp them.lua:42
    `  final[#final+1] = string.format("Your Player: x = %.15f, y= %.15f, z = %.15f", xCoordMe[i].value, yCoordMe[i].value, zCoor...`
    attempt to index ? (a nil value) with key 'value' (field '?')
    level = 1, const = 28, proto = 0, upval = 1, vars = 19, code = 220
    GETTABLE v17 v17 "value"
     ; PC 147 CODE 08C28447 OP 7 A 17 B 17 C 266 Bx 8970 sBx -122101
    stack traceback:
    	/storage/emulated/0/Download/Kizzy/player list to tp them.lua:42 in main chunk
    	[Java]: in ?
    	at luaj.LuaValue.error(LuaValue.java:989)
    	at luaj.LuaValue.indexerror(LuaValue.java:2864)
    	at luaj.LuaValue.gettable(LuaValue.java:2767)
    	at luaj.LuaValue.get(LuaValue.java:1094)
    	at luaj.LuaClosure.execute(LuaClosure.java:358)
    	at luaj.LuaClosure.call(LuaClosure.java:160)
    	at android.ext.Script.runScript(Script.java:5703)
    	at android.ext.Script$ScriptThread.run(Script.java:5441)

     

  6. On 6/4/2023 at 9:06 PM, nok1a said:

    Some example that i think can work but you have to adjust it here and there so it works for your game. Main thing to adjust is to separate your coords and that of enemy. I could not really test it so it can have some faults in syntax's or design.

    gg.setRanges(gg.REGION_ANONYMOUS | gg.REGION_C_ALLOC | gg.REGION_OTHER)
    gg.searchNumber('-0.082', gg.TYPE_FLOAT)
    t = gg.getResults(7)
    
    local check = {}
    for i, v in ipairs(t) do
      check[i] = {address = v.address + 0x10, flags = gg.TYPE_DWORD}
    end
    check = gg.getValues(check)
    
    local xCoordMe = {}
    local yCoordMe = {}
    local zCoordMe = {}
    local xCoordEnemy = {}
    local yCoordEnemy = {}
    local zCoordEnemy = {}
    
    for i, v in ipairs(check) do
      if v.value == 1 then -- the random value at the given offset to see if its enemy or you coordinates(1 result)
        xCoord_Me[#xCoord_Me + 1] = {address = v.address + 0x38, flags = gg.TYPE_FLOAT}
        yCoord_Me[#xCoord_Me + 1] = {address = v.address + 0x3C, flags = gg.TYPE_FLOAT}
        zCoord_Me[#xCoord_Me + 1] = {address = v.address + 0x40, flags = gg.TYPE_FLOAT}
      end
      
      if v.value == 2 then -- (6 results)
        xCoord_Enemy[#xCoord_Enemy + 1] = {address = v.address + 0x38, flags = gg.TYPE_FLOAT}
        yCoord_Enemy[#xCoord_Enemy + 1] = {address = v.address + 0x3C, flags = gg.TYPE_FLOAT}
        zCoord_Enemy[#xCoord_Enemy + 1] = {address = v.address + 0x40, flags = gg.TYPE_FLOAT}
      end
    end
    
    xCoordMe = gg.getValues(xCoordMe)
    yCoordMe = gg.getValues(yCoordMe)
    zCoordMe = gg.getValues(zCoordMe)
    xCoordEnemy = gg.getValues(xCoordEnemy)
    yCoordEnemy = gg.getValues(yCoordEnemy)
    zCoordEnemy = gg.getValues(zCoordEnemy)
    
    local final = {}
    local getCoordsEnemy = {}
    for i = 1, #xCoordEnemy do
      final[#final+1] = string.format("Your Player: x = %.15f, y= %.15f, z = %.15f", xCoordMe[i].value, yCoordMe[i].value, zCoordMe[i].value)
      final[#final+1] = string.format("Enemy Player: x = %.15f, y= %.15f, z = %.15f", xCoordEnemy[i].value, yCoordEnemy[i].value, zCoordEnemy[i].value)
      getCoordsEnemy[#getCoordsEnemy+1] = {[1] = xCoordEnemy[i].value, [2] = yCoordEnemy[i].value, [3] = zCoordEnemy[i].value} -- edited(wrong variable name)
    end
    
    menu = gg.choice(final)
    if menu == nil then
      gg.toast("nothing selected")
    else
      xCoordMe[1].value = getCoordsEnemy[menu][1]
      yCoordMe[1].value = getCoordsEnemy[menu][2]
      zCoordMe[1].value = getCoordsEnemy[menu][3]
      gg.setValues(xCoordMe)
      gg.setValues(yCoordMe)
      gg.setValues(zCoordMe)
    end

    Did some corrected in script.

    I may understand how the code work but it show an error.

     

    Script ended:
    Perhaps this script needs the latest version of GameGuardian. Try to update to the latest version.
    Script error: luaj.LuaError: /storage/emulated/0/Download/Kizzy/player list to tp them.lua:26
    `    xCoord_Enemy[#xCoord_Enemy + 1] = {address = v.address + 0x38, flags = gg.TYPE_FLOAT}`
    attempt to get length of a nil value (global 'xCoord_Enemy')
    level = 1, const = 34, proto = 0, upval = 1, vars = 19, code = 232
    LEN v13 v13
     ; PC 79 CODE 06800355 OP 21 A 13 B 13 C 0 Bx 6656 sBx -124415
    stack traceback:
    	/storage/emulated/0/Download/Kizzy/player list to tp them.lua:26 in main chunk
    	[Java]: in ?
    	at luaj.LuaValue.checkmetatag(LuaValue.java:2835)
    	at luaj.LuaValue.len(LuaValue.java:1989)
    	at luaj.LuaClosure.execute(LuaClosure.java:451)
    	at luaj.LuaClosure.call(LuaClosure.java:160)
    	at android.ext.Script.runScript(Script.java:5703)
    	at android.ext.Script$ScriptThread.run(Script.java:5441)

     

  7. 14 minutes ago, MC189 said:

    Hi @1x1, what games you're trying to hack? If it's an online multiplayer, there's a chance that the coordinate value is overrided by server.  Thus, you will be teleported back to your original position. X, Y, Z value is often in floats type or you can dump the game library if it's Unity based game (to make it more easier). I recommend to move this topic to Requests @Collen.

    I would say a offline game.

     

    what I mean is, I'm trying to create a gg script that make a gg.choice with all my enemy position.

     

    I'll use Y velocity value to find all of them.

    And it will show 7 results.

    1 results — Me

    6 Results — Enemy

     

    I can do offset and to get x, y, z pos.

    Pos are very near, same like jump, hitbox, velocity and size.

    Also tell if that is a player or enemy.

     

    So my script search for the y velocity -0.082

    Do offset and get my player position, then create a button one by one of Enemy with position in gg.choice

     

    I click the button of my enemy position then my position will be same as my enemy position.

     

    sry my English, if you don't understand, u can tell me. I'll try to fix it.

  8. Hi, so I learn already how to make offset and read the memory if this is my player or my enemy.

     

    So I wanna make a teleport script that teleport me to my enemy position.

    So I can easily make a script that search a model ID, do a offset to find my player (1 results), edit x, y, z position easily.

     

    Now I wanna make gg script that search a model ID, get my player model position (later use).

    Then it will go to my enemy model and get the position, do the same thing to my other enemy.

     

    Once it got all my enemy position, then it will create a button in gg.choice

     

    Something like this

    SCRIPT
    Your player position is:
    X: 32.5 Y: 50 Z: 20.5
    ----------------------------
    Enemy 1 (Pos X: 75.32 Y: 50 Z: 32.5)
    Enemy 2 (Pos X: 54.35 Y: 30 Z: 21.1)
    Enemy 3 (Pos X: 71.49 Y: 50 Z: 67.7)

    So ill click Enemy 2 since his position is almost near like mine.

     

    Then GG Script will edit my player x y z, the same value like the enemy 2.

     

    Then I successfully teleported myself to the enemy.

     

    sry for my English.

  9. Can anyone help me on how to make gameguardian request with Protocol, Method, URL, Query parameters, Headers.

     

    I'm trying to make send request aka API.

     

    I need those following in the top, so the server will accept my request.

     

    Please help, thx.

  10. 39 minutes ago, MonkeySAN said:

    maybe like this?

    ...
    
    for i, v in pairs (offsetValue) do 
        if v.value == check then
        gg.setValues({
              {address = offsetValue[i].address, flags = 4, value = 7}
    
    ...

    those codes wasnt mine actually..its from someone else.

    @CmP i think?

    Is perfectly working good!! thanks you very much bro

  11. 2 hours ago, MonkeySAN said:

    try this?

    local results = gg.getResults(1)
    
    local offsetValue = {}
    local check = "1234"
    
    for i, v in pairs (results) do 
       offsetValue[i] = {address = v.address + 0x4, flags = gg.TYPE_DWORD}
       end
    offsetValue = gg.getValues(offsetValue)
    
    for i, v in pairs (offsetValue) do 
        if v.value == check then
        gg.setValues({
              {address = offsetValue[1].address, flags = 4, value = 7}
         })
        else
        gg.alert("Wrong value = "..offsetValue[1].value.."\nCorrect Value = "..check)
        end
    end

     

    1 more things, sry if i annoy.

     

    the code you send me is very good, but i forget to say with multiple offset.

     

    If is 1234 then is going to multiple offset.

     

    Just like how your code works. It check the first results then read the target offset if is 1234.

     

    same like this but with multiple offset, example, Gems, Energy, Coin, Diamond, Golden

  12. 2 hours ago, MonkeySAN said:

    try this?

    local results = gg.getResults(1)
    
    local offsetValue = {}
    local check = "1234"
    
    for i, v in pairs (results) do 
       offsetValue[i] = {address = v.address + 0x4, flags = gg.TYPE_DWORD}
       end
    offsetValue = gg.getValues(offsetValue)
    
    for i, v in pairs (offsetValue) do 
        if v.value == check then
        gg.setValues({
              {address = offsetValue[1].address, flags = 4, value = 7}
         })
        else
        gg.alert("Wrong value = "..offsetValue[1].value.."\nCorrect Value = "..check)
        end
    end

     

    yes, thank you very much.

  13. Hi there.

     

    I wanna know how to read values when doing offset.

     

    here is a code i find:

    local t = gg.getResults(1)
    for i,v in pairs(t) do
       
    t[i].address = t[i].address + 0x4
    t[i].flags = 4
    t[i].value = 7
    t[i].freeze = false
      
    gg.setValues(t)
    gg.addListItems(t)
    end

    This is the part of offset, using 1 results to goto into a memory viewer to edit.

     

    But the 1 thing i really need.

    Is to read the offset value. Doing offset are static in this game. C++ Alloc

     

    I wanna do offset then gg.alert('The offset value is 3 (DWORD)')

     

    Then i wanna make it goes something like this

    local t = gg.getResults(1)
    for i,v in pairs(t) do
       
    t[i].address = t[i].address + 0x4
    t[i].flags = 4
    t[i].value = 7
    t[i].freeze = false
     
    if t[i].address + 0x4 == "1234" then
    gg.setValues(t)
        else
        gg.alert('The offset value is not 1234, meaning this is a trap value!')
        end
    gg.addListItems(t)
    end

    it only edit the offset if the target offset is the correct Value. if the value is not offset target value. Then it will ignore then go to another results.

  14. Hello, can someone code me how to save variable if a user agree Not to show again.

     

    Here is a example. I made a changelogs whatever they use my script. I also add a button called Don't show again.

     

    If a user click it then it going to make a file that the user doesn't want to see the message again.

     

    I remember someone making it on 2020, but i the video got private.

  15. 4 hours ago, CYBORG-WARRIOR said:

    Lgl mod menu use offset for hook 

    On gameguardian same use offset 

    You can use script hex patch in gameguardian

    I'm pretty new to it. Can make better explain? or just share the code here.

     

    I don't know how to get the Hex but i can do group search but is slower.

     

    If you can't understand this, just say it, is ok 🙂

×
×
  • 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.