Nikhil336 Posted August 6, 2022 Share Posted August 6, 2022 After using offset I found a value type Qword and I want to print that value. Please tell me how to write it in a script I don't know is it possible or not. 1 Link to comment Share on other sites More sharing options...
1 zolotov_official0 Posted August 12, 2022 Share Posted August 12, 2022 (edited) 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. Edited August 12, 2022 by zolotov_official0 1 Link to comment Share on other sites More sharing options...
0 XEKEX Posted August 6, 2022 Share Posted August 6, 2022 if u want to use it in gg.alert/gg.toast functions u need to change the value to a string to print it gg.toast(tostring(the Qword value)) Link to comment Share on other sites More sharing options...
0 HEROGAMEOfficial Posted August 7, 2022 Share Posted August 7, 2022 print({}, 'String', 1234) Link to comment Share on other sites More sharing options...
0 MAARS Posted August 7, 2022 Share Posted August 7, 2022 Give more information if you want an accurate response, or people will just try to guess Link to comment Share on other sites More sharing options...
0 MANDO01 Posted August 8, 2022 Share Posted August 8, 2022 On 8/6/2022 at 10:11 AM, Nikhil336 said: After using offset I found a value type Qword and I want to print that value. Please tell me how to write it in a script I don't know is it possible or not. 6 hours ago, MAARS said: Give more information if you want an accurate response, or people will just try to guess I think he mean when he using offset he found let say 6 values he wants to print those numbers Link to comment Share on other sites More sharing options...
0 zolotov_official0 Posted August 10, 2022 Share Posted August 10, 2022 (edited) On 8/6/2022 at 10:11 AM, Nikhil336 said: After using offset I found a value type Qword and I want to print that value. Please tell me how to write it in a script I don't know is it possible or not. 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. Edited August 10, 2022 by zolotov_official0 1 Link to comment Share on other sites More sharing options...
0 Nikhil336 Posted August 12, 2022 Author Share Posted August 12, 2022 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 Screenrecorder-2022-08-12-12-33-43-507-mc.mp4 1 Link to comment Share on other sites More sharing options...
0 Nikhil336 Posted August 12, 2022 Author Share Posted August 12, 2022 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 Screenrecorder-2022-08-12-12-33-43-507-mc.mp4 1 Link to comment Share on other sites More sharing options...
0 Nikhil336 Posted August 13, 2022 Author Share Posted August 13, 2022 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 1 Link to comment Share on other sites More sharing options...
0 Nikhil336 Posted August 13, 2022 Author Share Posted August 13, 2022 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. 1 Link to comment Share on other sites More sharing options...
Question
Nikhil336
After using offset I found a value type Qword and I want to print that value.
Please tell me how to write it in a script
I don't know is it possible or not.
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now