darkhorsept How do I cheat? Reputation: 0
Joined: 17 Mar 2024 Posts: 1
|
Posted: Sun Mar 17, 2024 1:31 pm Post subject: ramdomizing string using loop |
|
|
hi there guys. I would like to use CheatEngine and create someting where I input (on a window) my nickname and then it finds its memory value automaticly.
also randomize nickname changing only a value in it.
thanks in advance!
the script I have so far is this:
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() |
|
|