
DrBesar1234566
Members-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by DrBesar1234566
-
EDIT ANOTHER ADRESS WITH ONLY ONE VALUE? TEACH ME
DrBesar1234566 replied to DrBesar1234566's question in Help
Btw i know it hard to understand, however,i finally founded the working template,and i have tested and it working. Thx so much for the offset example that has been taught, I am using new search code for the template and the code also i tracked from another fast script ^w^.The script using offset and i could conclude that it is easier that i ever thought.But without the offset knowledge i might not understand how it working. function BRAY() qmnb = { {["memory"] = gg.REGION_C_ALLOC}, {["name"] = "MENU"}, {["value"] = 1017159841, ["type"] = gg.TYPE_DWORD}, {["lv"] = 1075838976, ["offset"] = 0x44, ["type"] = gg.TYPE_DWORD}, {["lv"] = 512, ["offset"] = 0x14, ["type"] = gg.TYPE_DWORD}, } qmxg = { {["value"] = 1010550, ["offset"] = 0x14, ["type"] = gg.TYPE_DWORD}, {["value"] = -3146121216, ["offset"] = 0x44, ["type"] = gg.TYPE_QWORD}, } xqmnb(qmnb) end I used the 'another adress' with dword type bcuz the edit code is same which is 1010550. and the -3219128320 qword must be edit.and it become 1075838976 dword in the template..by the template i can edit it using a qword type which is -3146121216. finally i learned it,and it template.Thx so much, i am wondering if someone could write an scirpt example from the template if i want to gg.addListItems the valued edited at offset 44 and 14. here is the script i tested XRAYHAHAHA.lua -
EDIT ANOTHER ADRESS WITH ONLY ONE VALUE? TEACH ME
DrBesar1234566 replied to DrBesar1234566's question in Help
ohh i see,Thx MonkeySan and CrystalMod i really appreciate your help,now i understand what is offset and how to write them in simple script,thx so much for the scripting example and the videos. btw, the -3,219,128,320 Qword will get about 1-10 results.In the video above,i already remove the unwanted value and using only 1 code as example for the video. I knew i could use the group search as MonkeySan provided and there was a another easy example one, that goes like this > gg.searchNumber("7,1746481e-50F;-3219128320Q:512",gg.TYPE_AUTO,false,gg.SIGN_FUZZY_EQUAL,0,-1) gg.getResults(850) gg.editAll("1,4160822e-46",gg.POINTER_WRITABLE) gg.editAll("-3146121216",gg.TYPE_QWORD) but I know there must a be method for a faster editing multiple adress with the same search value,and use the offset in the script. I want to learn that knowledge ,bcuz in the game i am playing,the faster the code the better it be ^w^,Btw i really appreciate the example that have been provided,i might use it for another function cheat in the game.Thx so much. Let me describe how totally the cheat will work. 1)it is an xray code,after edit the values,i can see enemy bodies through wall 2)i get the code -3219128320 qword by tracking another fast script.Results will be under 10 values. 3)I have studied what is the working code,that is -all -3219128320 qword founded -1 another adress inside only 2 code/address/value from the results founded -the 1 another adress are not same inside the 2 values -512D ; 7,1746481e-50F ; 512Q -512D ; 7,1746481e-50F ; -4,294,966,784Q 4)Edit all -3219128320 from the results 5)edit 7,1746481e-50F ; 512Q from only 1 in the results 6)edit 7,1746481e-50F ; -4,294,966,784Q from only 1 in the results 7)both offset are same which is 30 8)gg.toast('done') -
EDIT ANOTHER ADRESS WITH ONLY ONE VALUE? TEACH ME
DrBesar1234566 replied to DrBesar1234566's question in Help
@Crystal_Mods100x I'm sorry ,did you mean like this? it didn't work Untitled 1_480p.mp4 [added 2 minutes later] @Crystal_Mods100x btw lets skip i found a template but i dont have the knowledge to rewrite it,and i think that the most fast excute code i've been using likely similar to this template, i am wondering if you could rewrite it like a real working script -- for more than 1 search results, more than 1 offset addresses , more than 1 data types. function change(szpy, edit) -- function for editing the values at offstes for x = 1, #(edit) do -- loop (#edit = 2) address = szpy + edit[x]["offset"] -- new address for editing type1 = edit[x]["type"] -- value type value = edit[x]["value"] -- edit value gg.setValues({[1] = {address = address, flags = type1, value = value}}) -- setting the values cnt = cnt + 1 -- counting the number of values edited end end function search(find) -- function for search gg.clearResults() gg.setRanges(find[1]["memory"]) -- memory range gg.searchNumber(find[3]["value"], find[3]["type"]) -- search gg.refineNumber(find[3]["value"], find[3]["type"]) sz = gg.getResultCount() sl = gg.getResults(sz) -- saving found results cnt = 0 for i = 1, sz do -- loop using results count pdsz = true -- save variable for getting nearby address value for v = 4, #(find) do -- loop using length of array if pdsz == true -- if true then pysz = {} -- variable array to save value ranges at the offset pysz[1] = {} -- first array pysz[1].address = sl[i].address + find[v]["offset"] -- address will be address of first result + offset pysz[1].flags = find[v]["type"] -- flag will be flag as defined in table szpy = gg.getValues(pysz) -- get values for list of items pysz(see gg.getValues in gg api) end end szpy = sl[i].address -- if true then new szpy will be the address of first result change(szpy, edit) -- calling the change function to edit the required values xgjg = true end if xgjg == true -- if true then success then gg.alert(find[2]["name"] .. "Success, Modified " .. cnt .. " codes") -- toast success if editing is successful else gg.alert(find[2]["name"] .. "Failed") -- other wise toast failed using name end end while true do--(Start of cycle) find = { -- values for search {["memory"] = gg.REGION_ANONYMOUS}, -- memory range {["name"] = "Using Offsets via Tables "}, {["value"] = 1, ["type"] = gg.TYPE_DWORD}, -- value and type {["offset"] = 12, ["type"] = gg.TYPE_DWORD}, -- offset and type(you can write any offset value here and required type) {["offset"] = 16, ["type"] = gg.TYPE_FLOAT}, --add more offsets if needed according to your required data type } edit = { -- values for edit at particular offset {["value"] =999999, ["offset"] = 12, ["type"] = gg.TYPE_DWORD}, {["value"] = 1000000, ["offset"] = 16, ["type"] = gg.TYPE_FLOAT}, --add edit value for the offsets you added in the table for find. } search(find) -- calling search fuunction from line 35 using given values break end gg.alert('Done') gg.clearResults() learning.lua -
Help me,i want to know what the right command for this. 1) i search -3,219,128,320 Qword 2) Get about 4 results 3)The cheat will work if i edit 2 code -the -3,219,128,320Q itself -and 1 adress inside the -3,219,128,320Q 4)The 1 adresses always be the same value never changed at all,even restart game. 5)The 1 adresses is 512D;7.17464814e-43F;512Q 6)editing 7.17464814e-43F > 1,4160822e-46F and -3219128320 > -3146121216 Question? What command is suitable for this issue ,I want only use Qword search without fuzzy search.