MasterC Posted April 9, 2022 Share Posted April 9, 2022 Hi guys... I need help I Need make a command for edit any value in Xor Example gg.searchNumber('1;2;3',gg.TYPE_DWORD) gg.editAll('24X8',gg.TYPE_DWORD) Error edit with Script -- 24X8 How did help me... Thanks... Link to comment Share on other sites More sharing options...
MasterC Posted April 12, 2022 Author Share Posted April 12, 2022 On 4/11/2022 at 5:37 AM, FloatKey said: Use this instead of your actual code : gg.editAll(24 .. "+X8" , gg.TYPE_DWORD) Thanks i'ts work for me... Link to comment Share on other sites More sharing options...
MAARS Posted April 10, 2022 Share Posted April 10, 2022 Make sure to search for your exact xor key, because x8 is not accurate. you Can make a simple function that handle convertion local xor = function (value, key) -- you can even set a xor key by default -- so you dont have to provide a key -- everytime you call the function key = key and key or 'whatever' return bit32.bxor(value, key) .. '' end gg.searchNumber('1;2;3',gg.TYPE_DWORD) gg.editAll(xor(24, 444444), gg.TYPE_DWORD) My question is: is 1,2,3 just for the example, because they are not xor encrypted, I don't see why you would edit not encrypted value with encryption Link to comment Share on other sites More sharing options...
MasterC Posted April 10, 2022 Author Share Posted April 10, 2022 My function is this function tnt() gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber("-2147483648D;-2147483648D;-1D::9", gg.TYPE_FLOAT, false, gg.SIGN_EQUAL, 0, -1, 1) gg.refineNumber("-1D", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.refineNumber("-1D", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(1) if gg.getResultsCount() <1 then gg.alert('error, try again...') else r = gg.getResults(1) local t = {} for i, v in ipairs(r) do t[i]={address=v.address+488, flags=4, value=24X8, freeze=true, gg.addListItems(t)} t[i]={address=v.address+488, flags=4, value=24X8, freeze=true, gg.addListItems(t)} end gg.toast('Success... Infinite Bombs TNT activated...') gg.clearResults() end end Link to comment Share on other sites More sharing options...
MAARS Posted April 10, 2022 Share Posted April 10, 2022 1 hour ago, MasterC said: t[i]={address=v.address+488, flags=4, value=24X8, freeze=true, gg.addListItems(t)} t[i]={address=v.address+488, flags=4, value=24X8, freeze=true, gg.addListItems(t)} This will return an error since X is not a ìn operator. seing your code i am a litle bit confuse, why you want to edit these values as xor encrypted since they dont seem to be encrypted Link to comment Share on other sites More sharing options...
FloatKey Posted April 11, 2022 Share Posted April 11, 2022 On 4/10/2022 at 1:14 AM, MasterC said: gg.editAll('24X8',gg.TYPE_DWORD) Use this instead of your actual code : gg.editAll(24 .. "+X8" , gg.TYPE_DWORD) Link to comment Share on other sites More sharing options...
Question
MasterC
Hi guys... I need help
I Need make a command for edit any value in Xor
Example
gg.searchNumber('1;2;3',gg.TYPE_DWORD)
gg.editAll('24X8',gg.TYPE_DWORD)
Error edit with Script -- 24X8
How did help me...
Thanks...
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.