ospider wrote: ↑Sat Dec 24, 2022 12:41 am
acecel wrote: ↑Sat Dec 24, 2022 12:13 am
You could use something like that :
Code: Select all
openProcess("GAME_NAME.exe")
getAddressList().getMemoryRecordByDescription("SP Multiplier").Active=true
getAddressList().getMemoryRecordByDescription("XP Multiplier").Active=true
This is such an amazingly quick answer!
I'll try it when I get on my PC
Super duper grateful Acecel
The script i use for all my tables to automatically attach to the game when i launch it :
Code: Select all
function OpenProcess(timer)
if
getProcessIDFromProcessName("PROCESS.exe") ~= nil
then
object_destroy(timer)
openProcess("PROCESS.exe")
getAddressList().getMemoryRecordByDescription("enable").Active=true
end
end
t=createTimer(timer)
timer_setInterval(t,1000)
timer_onTimer(t,OpenProcess)
Of course you paste it in Cheat Engine menu "Table"/"Show Cheat Table LUA Script" or use "CTRL+ALT+L" to show the window to put the script in (i don't say that you but for others who may not know).
Replace "PROCESS" with the game's executable name and "enable" with the script you want to activate when the game is attached.
I did not created this script per se but found it somewhere a long time ago and used it since.
It's a little easier to use as you can keep the table open before launching the game and it will automatically attach when you decide to start the game (though it may not work this way for table that require to activate after loading a save or something like that).