X9Kong9X How do I cheat? Reputation: 0
Joined: 05 Feb 2024 Posts: 1
|
Posted: Mon Feb 05, 2024 6:59 pm Post subject: Cheat Engine Script Broken and Only Works Sometimes |
|
|
So i play this game called Plants Vs. Zombies: Battle For neighborville and when i first ran this script, it worked fine, and then after a while of using it, it just randomly stopped working and only works 20% of the time.
Here is this script below:
symbols = createSymbolList();
symbols.register();
function onOpenProcess(pid)
symbols.unregister();
symbols = createSymbolList();
symbols.register();
reinitializeSymbolhandler();
if (pid == 4) then
return;
end
local proc = dbk_getPEProcess(pid);
--printf("proc: %08X", proc);
local peb = readQword(proc + 0x550);
--printf("peb: %08X", peb);
local ldr = readQword(peb + 0x18);
--printf("ldr: %08X", ldr);
local index = readQword(ldr + 0x10);
--printf("index: %08X\n", index);
while (index ~= ldr + 0x10) do
local mod = readQword(index);
--printf("mod: %08X", mod);
local name = readString(readQword(mod + 0x58 + 0x8), readSmallInteger(mod + 0x58), true);
--printf("name: %s", name);
local base = readQword(mod + 0x30);
--printf("base: %08X", base);
local size = readInteger(mod + 0x40);
--printf("size: %04X\n", size);
symbols.addModule(name, "", base, size, true);
index = readQword(mod);
end[/code][/b]
|
|