YeetMeister Posted November 9, 2019 Posted November 9, 2019 Hello, Please help me with Offset Editing. Don't do it for me though, j want to learn that, so if someone is able to help me please help me. I got here a List, maybe that helps a but more Including: Values, Offsets, Names(for Chams Hack), and Flags. Quote Start Point: Black/White Address: 484 Flag: DWORD 1,065,814,589 Offset: 0x134 Destination: Blue Address: 350 Flag: DWORD 24 Start Point: Black/White Address: 484 Flag: DWORD 1,065,814,589 Offset: 0x144 Destination: Green Address: 340 Flag: DWORD 9 Start Point: Black/White Address: 484 Flag: DWORD 1,065,814,589 Offset: 0x14C Destination: Red Address: 338 Flag: DWORD 8 Much appreciated, for those who can help!
ItsSC Posted November 9, 2019 Posted November 9, 2019 First, as normal, search the Dword value. then set a variable for found value. Create a loop and table with help of that variable, address= t[loop].address +0x134. Then check if that offset meet the value you need, then set value for table[1] and gg.setValues(t)
YeetMeister Posted November 9, 2019 Author Posted November 9, 2019 1 hour ago, ItsSC said: Create a loop and table with help of that variable Hey, seems like the address its searching is wrong, I also did something wrong with the loop that I can't fix. Can you have a look over it? Test.lua
ItsSC Posted November 9, 2019 Posted November 9, 2019 gg.setRanges(gg.REGION_VIDEO) gg.searchNumber("1,065,814,589", 4) local cB = gg.getResults(10000) for i = 1 , #cB do -- Start Loop local cA = { -- Define table cA {address = cB[i].address + 0x134, flags = 4}, -- Address that you want to edit } local Static = { {address = cB[i].address + (Offset), flags = 4 } -- Find a value that will not change every startup (More static address is better) } if Static[1].value == Static_value then -- If meet the constraint, edit cA[1].flags = 4 cA[1].value = 99999 gg.setValues(cA) end This is what I will do. I didn't tried a game that has static address after restart, so I expect gg.refineAddress("484", gg.TYPE_DWORD) cause the error.
YeetMeister Posted November 9, 2019 Author Posted November 9, 2019 7 minutes ago, ItsSC said: gg.setRanges(gg.REGION_VIDEO) gg.searchNumber("1,065,814,589", 4) cB = gg.getResults(10000) for i = 1 , #cB do -- Start Loop local cA = { -- Define table cA {address = cB[i].address + 0x134, flags = 4}, -- Address that you want to edit } local Static = { {address = cB[i].address + (Offset), flags = 4 } -- Find a value that will not change every startup (More static address is better) } if Static[1].value == Static_value then -- If meet the constraint, edit cA[1].flags = 4 cA[1].value = 99999 gg.setValues(cA) end This is what I will do. I didn't tried a game that has static address after restart, so I expect gg.refineAddress("484", gg.TYPE_DWORD) cause the error. For what Thanks alot, but I will need the address because I want to edit the rgb values of the thing yk, do you have discord?
Question
YeetMeister
Hello,
Please help me with Offset Editing.
Don't do it for me though, j want to learn that, so if someone is able to help me please help me.
I got here a List, maybe that helps a but more
Including: Values, Offsets, Names(for Chams Hack), and Flags.
Much appreciated, for those who can help!
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.