Jump to content

Lover1500

Contributor
  • Posts

    340
  • Joined

  • Last visited

  • Days Won

    17

Posts posted by Lover1500

  1. On 3/8/2023 at 10:25 AM, Jakerr1 said:

    The VIP works but can't claim the prizes,

    It was possible to claim rewards before. But the devs fixed it and banned acc afterward. For now, vip is only for speeding up battle and some other things.

     

    On 3/8/2023 at 10:25 AM, Jakerr1 said:

    also if u claim vip exp after activate the full vip script, the vip resets back to original untill u restart the game

    I noticed it too. But cant do anything since even static values I used to find vip value changed after get vip points. I might fix it someday

  2. -Goto AndroidMinisfest.xml

    -under <application tag, find 

    android:extractNativeLibs="false"

    -Make it true

    -Sign and install

    -Now, game will export its libs outside as normal.

     

    If the game has apk signature protection, dont forget to kill signature before you edit AndroidMinifest.xml.

  3. 11 minutes ago, HorridModz said:

    But the problem is, these scripts only work for one game update. I am trying to make something permanent.

    Code to autoupdate the function. Like ByNameModding.

  4. 45 minutes ago, ctbear said:

    1. Add an API for converting byte array to string

    gg has already it. Use :Hi for utf-8 and ;Hi for utf-16 in gg.searchNumber().

    gg.searchNumber(";Hi")

    script will automatically convert into corresponding hex and will search it.

    -----

    54 minutes ago, ctbear said:

    Why do I want to automatically convert the address value of a negative number to a positive number?

    I often encounter this situation: the value of the address 0x10001000 is 0x90001000. I want to get the value on the address 0x90001000.

    Code:

    local value = gg.getValues({{address = 0x10001000, flags = gg.TYPE_DWORD}})[1].value;

    Now: value = -1879044096, the hexadecimal form is 0xffffffff90001000.

    You are trying to convert signed pointer values of armv-7 into positive address. But becuz of this one, gg should not convert all negative values into positive. There are not only pointers which use negative value.

    you can try this short code to convert into positive hex.

    local arch64 = gg.getTargetInfo().x64 --to check if arm32 or arm64
    
    local function negativeToPositive(value)
      if not arch64 and value<0 then
        return value & 0xffffffff
      else
        return value
      end
    end
    
    local value = gg.getValues({{address = 0x10001000, flags = gg.TYPE_DWORD}})
    value[1].value = negativeToPositive(value[1].value)
    print(value[1].value)
    

    -----

    1 hour ago, ctbear said:

    Add API for file operating system to allow scripts to create folders.

    Lets wait for enyby.

  5. gg.searchNumber('', gg.TYPE_FLOAT)
    gg.refineNumber('', gg.TYPE_FLOAT)
    local count = gg.getResultsCount()
    local res = gg.getResults(count)
    
    local x, y = {}, {}
    local xChecker, yChecker = {}, {}
    
    --get values at offset 0x44 and 0x4c
    for i, v in ipairs(res) do
      xChecker[i] = {address=v.address+0x44, flags=gg.TYPE_FLOAT}
      yChecker[i] = {address=v.address+0x4c, flags=gg.TYPE_FLOAT}
    end
    xChecker, yChecker = gg.getValues(xChecker), gg.getValues(yChecker)
    
    --put addresses with value zero into table x and y
    for i, v in ipairs(xChecker) do
      if v.value==0 then x[#x+1] = xChecker[i] end
      if yChecker[i].value==0 then y[#y+1] = yChecker[i] end
    end
    
    --check if the result amount of x and y are equal
    if #x~=#y then return print('Ohh the results of x and y are not equal. check maually please') end
    
    --loop
    local total = #x+#y
    for loop=1, total/2 do
      for i, v in ipairs(x) do
        v.value=x[loop].value
      end
      gg.setValues(x)
      
      for i, v in ipairs(y) do
        v.value=y[loop].value
      end
      gg.setValues(y)
      gg.sleep(500)
    end

    i dont understand the loop part what you want to do.

  6. 1 hour ago, blocx said:

    Script terminé:
    class name is 
    PlayerProfile

    And field offset is 0x104

    Actually, i make this script for modders. in dump.cs, the value you find will be like this.

    search class PlayerProfile

    check the field offset 0x104. its your value. If you want use hooking, aim that offset.

     

    I'll also make a script how you can get the value using update void. So please wait a while.

  7. Class name and Field offset searcher


    Sometimes, we could find the value with gg. But in dump.cs, we dont know which value under which class is the right one for modding.

    Testing one by one takes time. In those cases, how did you continue your modding journey? 

    This script do search the class name and field offset of the value. So you will easily know what one to be editted.

     

    Usage

    -search your value.

    -when you get the value, run script.

    -script will give you class and offset of that value.

     

     

     


     

  8. You cant. because you editting values in memory. after you edit, it will change. Either using second gg or using other memory viewer can see it.

    Ahh i see why you ask to check running processes. You are going to detect second gg and if it is running, you will stop your values to edit. like that?

    wont be easy to detect gg.

  9. 2 hours ago, zolotov123344 said:

    the script should receive gg.getTabInfo for each running process

    You mean gg.getTargetInfo()? can get process name etc from it. yeah.

     

    2 hours ago, zolotov123344 said:

    I need to make protection against theft of my functions through the second Game Guardian.

    i think it cant be stopped. depend on how you edit values. if you edit hex in Xa, its so easy to find with second gg.

     

    What relates between checking running process and protecting against from second gg? i cant imagine what you want.

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