Hi there guys how can I make a string change its value randomly or based on a list of names?
The script I have only changes from one string to another one. Here's my code:
local string_to_find = 'o(*_*)o'
local string_to_write = '^1o(*_*)o'
ms = createMemScan()
ms.firstScan(soExactValue, vtString, 0, string_to_find, "" , 0, 0xffffffffffffffff, "", fsmNotAligned, "1", false, false, false, false)
ms.waitTillDone()
f=createFoundList(ms);
f.initialize();
resultToWrite = stringToByteTable(string_to_write .. string.char(0))
for i = 0, f.Count - 1 do
writeString(f.Address[i], string_to_write)
writeBytes(("0x" .. f.Address[i]) + 4, 0)
end
f.destroy()
ms.destroy()
Thanks in advance!
I was trying to change a string.
Making a string change its value randomly, the code:
Examples:
Result: