View previous topic :: View next topic |
Author |
Message |
gamers01 Cheater
Reputation: 0
Joined: 27 Sep 2013 Posts: 45
|
Posted: Fri Jan 31, 2014 9:32 am Post subject: How to make This? |
|
|
4 byte replacer? |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Fri Jan 31, 2014 10:20 am Post subject: |
|
|
Could you be more specific? _________________
|
|
Back to top |
|
 |
gamers01 Cheater
Reputation: 0
Joined: 27 Sep 2013 Posts: 45
|
Posted: Fri Jan 31, 2014 11:16 am Post subject: |
|
|
i mean there is two edit box so how can we make 4 byte replacer? |
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Jan 31, 2014 11:20 am Post subject: |
|
|
Still, too little informations. _________________
|
|
Back to top |
|
 |
gamers01 Cheater
Reputation: 0
Joined: 27 Sep 2013 Posts: 45
|
Posted: Fri Jan 31, 2014 11:26 am Post subject: |
|
|
i mean that i create two edit box in a form and a button then i want to give the button a function that will change a 4 byte value of a game or any other thing we connect for example aob replacer like this i want 4 byte replacer |
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Jan 31, 2014 11:45 am Post subject: |
|
|
Well, that will not work. There are high chances that there will be too many addresses having the same 4-byte value.
For example you want to change value 65 to 105.
Script will find 10 (more or less) to 500000 addresses (or more) which have value 65, which one you want to change? _________________
|
|
Back to top |
|
 |
gamers01 Cheater
Reputation: 0
Joined: 27 Sep 2013 Posts: 45
|
Posted: Fri Jan 31, 2014 11:48 am Post subject: |
|
|
just tell me the script i will use it for changing high values only |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Jan 31, 2014 12:43 pm Post subject: |
|
|
"aob replacer", "aobswap"
Code: | function AOBSwap(aobIn,aobOut)
aobOut = aobOut:gsub('[^%w]','')
local address = 0
local _aobOut=''
for i=1,#aobOut,2 do
_aobOut = _aobOut..aobOut:sub(i,i+1)..' '
end
local aobs = AOBScan(aobIn,'+W*X-C')
if(aobs ~= nil) then
for i = 0,aobs.Count-1 do
address = aobs.String[i]
autoAssemble(address..[[:
db ]].._aobOut)
end
aobs.destroy()
end
end |
is insecure if we have too short byte array.
And _4ByteSwap function (it uses AOBSwap function)
Code: | function _4ByteSwap(findValue,replaceWith)
local findValue = string.format('%08X',findValue)
local replaceWith = string.format('%08X',replaceWith)
local tmp=findValue
tmp = tmp:sub(7,8)..tmp:sub(5,6)..tmp:sub(3,4)..tmp:sub(1,2)
findValue = tmp; tmp=replaceWith
tmp = tmp:sub(7,8)..tmp:sub(5,6)..tmp:sub(3,4)..tmp:sub(1,2)
replaceWith=tmp
AOBSwap(findValue,replaceWith)
end |
is insecure too.
Small 4byte values, high 4byte values, it doesn't matter.
Number between 0 and 4294967295 is not that unique.
I strongly suggest to use "groupscan" method. _________________
Last edited by mgr.inz.Player on Sat Feb 01, 2014 11:57 am; edited 3 times in total |
|
Back to top |
|
 |
gamers01 Cheater
Reputation: 0
Joined: 27 Sep 2013 Posts: 45
|
Posted: Sat Feb 01, 2014 12:15 am Post subject: |
|
|
i really need 4 byte replacer can't u change ur script from aob to 4 byte ? plz |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Sat Feb 01, 2014 12:58 am Post subject: |
|
|
gamers01 wrote: | i really need 4 byte replacer can't u change ur script from aob to 4 byte ? plz | Well, 4 bytes is an AOB. It's just an array that's only 4 large.
But seriously you should learn what you're doing before you start changing around game code or memory values. Or at least give us more info. _________________
|
|
Back to top |
|
 |
gamers01 Cheater
Reputation: 0
Joined: 27 Sep 2013 Posts: 45
|
Posted: Sat Feb 01, 2014 1:22 am Post subject: |
|
|
as u know that there is aob replacer so how to make a 4 byte replacer
atleast there should be a function that u write 4 byte value instead of aob so it will change to what value u want |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
Posted: Sat Feb 01, 2014 4:04 am Post subject: |
|
|
Holy shit dude.
4 BYTES IS AN AOB.
AOB = Array of Bytes
As in a group of bytes.
Like 4F 93 11 C3.
See that?
Four bytes?
It's also an array of bytes.
Seriously, learn what you want to do, then tell us what you want to do. _________________
|
|
Back to top |
|
 |
gamers01 Cheater
Reputation: 0
Joined: 27 Sep 2013 Posts: 45
|
Posted: Sat Feb 01, 2014 4:20 am Post subject: |
|
|
yeah i know but in 4 byte the values are different
for e.g :
200 <--- 4 byte (i want like this)
C8 <---- AOB |
|
Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
|
Back to top |
|
 |
|