hemersonkla1 Cheater
Reputation: 0
Joined: 24 Jun 2015 Posts: 34
|
Posted: Fri Oct 28, 2016 2:46 pm Post subject: Help Delphi text replacer memory hack. |
|
|
hi friends i need a help with this in delphi.
this code is in cheat engine code
| Code: | function TextReplacer(sender);
local search2 = control_getCaption(UDF2_CEEditCode1);
local change2 = control_getCaption(UDF2_CEEditCode2);
if search2:len() ~= change2:len() then
messageDialog(country.samelenght,4,2);
end
if search2:len() == change2:len() then
local searchTable = {}
for i=1,search2:len() do
searchTable[i]=string.format('%X',search2:byte(i)); end
local searchHexString = table.concat(searchTable);
local aobs2 = AOBScan(searchHexString);
if(aobs2 ~= nil) then
for i=0,stringlist_getCount(aobs2)-1 do
local address=stringlist_getString(aobs2,i);
writeString('0x'..address,change2); end
object_destroy(aobs2);
aobs2=nil
end
|
| Description: |
|
| Filesize: |
29.21 KB |
| Viewed: |
3664 Time(s) |

|
|
|