Jump to content

Nikhil336

Members
  • Posts

    17
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Nikhil336

  1. 11 hours ago, zolotov_official0 said:
    gg.setRanges(gg.REGION_ANONYMOUS)
    gg.searchNumber('1072861020;152727:21', gg.TYPE_DWORD)
    gg.refineNumber('152727', gg.TYPE_DWORD)
    local dwordNumber = gg.getResults(gg.getResultsCount())
    local qwordNumber = {}
    qwordNumber[1] = {}
    qwordNumber[1]['flags'] = gg.TYPE_QWORD
    qwordNumber[1]['address'] = dwordNumber[1]['address'] + 0x28
    qwordNumber = gg.getValues(qwordNumber)
    gg.clearResults()
    gg.searchNumber(qwordNumber[1]['value'], gg.TYPE_QWORD)
    local get = gg.getResults(2700)
    print(get)

    could write myself.

    Thanks for the help it works perfectly.

    Please suggest a beginner like me how can I get knowledge about coding and language for game modding. Game hacking is more interesting then playing.

  2. 11 hours ago, zolotov_official0 said:
    gg.setRanges(gg.REGION_ANONYMOUS)
    gg.searchNumber('1072861020;152727:21', gg.TYPE_DWORD)
    gg.refineNumber('152727', gg.TYPE_DWORD)
    local dwordNumber = gg.getResults(gg.getResultsCount())
    local qwordNumber = {}
    qwordNumber[1] = {}
    qwordNumber[1]['flags'] = gg.TYPE_QWORD
    qwordNumber[1]['address'] = dwordNumber[1]['address'] + 0x28
    qwordNumber = gg.getValues(qwordNumber)
    gg.clearResults()
    gg.searchNumber(qwordNumber[1]['value'], gg.TYPE_QWORD)
    local get = gg.getResults(2700)
    print(get)

    could write myself.

    Thanks for help

  3. On 8/10/2022 at 12:27 PM, zolotov_official0 said:

    gg.searchNumber('100', gg.TYPE_QWORD)
    local varTable = gg.getResults(gg.getResultsCount())
    for i=1,#varTable do
      print(varTable[i]['value'])
    end


    if you show your code, I can give a more accurate answer, but the principle of work will be the same.

    If I am able to print that value then I also be able to search that value for 2700 result I do it manually you will understand in the video(below)

    function find()
         if menu == 1 then gg.clearResults()
    gg.setRanges(gg.REGION_ANONYMOUS)
    gg.searchNumber("1,072,861,020D;152,727D:21", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
    gg.refineNumber("152727", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)

    local j = gg.getResults(100000, nil, nil, nil, nil, nil, nil, nil, nil)
    gg.addListItems(j)
    j = nil
    gg.clearResults()
    local copy = false
    local j = gg.getListItems()
    if not copy then gg.removeListItems(j) end
    for i, v in ipairs(j) do
        v.address = v.address + 0x28
        v.flags = gg.TYPE_QWORD
        if copy then v.name = v.name..' #2' end
    end
    gg.addListItems(j)
    j = nil
    copy = nil

    I don't know what to write further

     

     

  4. If I am able to print that value then I also be able to search that value for 2700 result I do it manually you will understand in the video(below)

    function find()
         if menu == 1 then gg.clearResults()
    gg.setRanges(gg.REGION_ANONYMOUS)
    gg.searchNumber("1,072,861,020D;152,727D:21", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)
    gg.refineNumber("152727", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0)

    local j = gg.getResults(100000, nil, nil, nil, nil, nil, nil, nil, nil)
    gg.addListItems(j)
    j = nil
    gg.clearResults()
    local copy = false
    local j = gg.getListItems()
    if not copy then gg.removeListItems(j) end
    for i, v in ipairs(j) do
        v.address = v.address + 0x28
        v.flags = gg.TYPE_QWORD
        if copy then v.name = v.name..' #2' end
    end
    gg.addListItems(j)
    j = nil
    copy = nil

    I don't know what to write further

     

     

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