Simonetos wrote: ↑Thu May 04, 2017 12:03 pm
Hello my friend Aranaktu and congratulations for your excellent work!!! I have a question... How can I save all my choices in Cheat Engine so don't have to set them everytime again and again? Thank you for your time!!!
With .lua script.
Code: Select all
getAddressList().getMemoryRecordByDescription("x").Active=true
Where "x" is script name.
In Cheat Engine main window click on "Table" -> "Show cheat table lua script" or press "CTRL + ALT + L" -> Copy and paste this lua script (This is my lua script to activate Training everyday, 5 star skill moves etc.):
Code: Select all
function AutoAttach()
local ProcessName = "FIFA17.exe"
local ProcessName_Trial = "FIFA17_TRIAL.exe"
local UseAutoActivator = true
local ProcIDNormal = getProcessIDFromProcessName(ProcessName)
local ProcIDTrial = getProcessIDFromProcessName(ProcessName_Trial)
if ProcIDNormal ~= nil then
openProcess(ProcessName)
timer_setEnabled(AutoAttachTimer, false)
AutoActivator(UseAutoActivator)
elseif ProcIDTrial ~= nil then
openProcess(ProcessName_Trial)
timer_setEnabled(AutoAttachTimer, false)
AutoActivator(UseAutoActivator)
end
end
function AutoActivator(UseAutoActivator)
if UseAutoActivator ~= true then
return
end
getAddressList().getMemoryRecordByDescription("ActivateItFirst").Active=true
getAddressList().getMemoryRecordByDescription("Training sim - A").Active=true
getAddressList().getMemoryRecordByDescription("Training Everyday").Active=true
getAddressList().getMemoryRecordByDescription("Reveal player data").Active=true
getAddressList().getMemoryRecordByDescription("SCOUT_REPORT_PLAYERS = 15").Active=true
getAddressList().getMemoryRecordByDescription("Only 16yo players").Active=true
getAddressList().getMemoryRecordByDescription("Reveal ovr and pot").Active=true
getAddressList().getMemoryRecordByDescription("PRIMARY_ATTRIBUTES_RANGE = [10, 20]").Active=true
getAddressList().getMemoryRecordByDescription("SECONDARY_ATTRIBUTES_RANGE = [10, 20]").Active=true
getAddressList().getMemoryRecordByDescription("Disable Morale").Active=true
getAddressList().getMemoryRecordByDescription("In-Game Hacks").Active=true
getAddressList().getMemoryRecordByDescription("Home - 5 stars skill moves").Active=true
getAddressList().getMemoryRecordByDescription("Away - 5 stars skill moves").Active=true
getAddressList().getMemoryRecordByDescription("transfer.ini").Active=true
end
AutoAttachTimer = createTimer(nil)
timer_onTimer(AutoAttachTimer, AutoAttach)
timer_setInterval(AutoAttachTimer, 1000)
timer_setEnabled(AutoAttachTimer, true)
-> Press "Execute script" button -> save cheat table.
And now when you will open the table it will ask you something like "this table contains lua script, do you want to execute it?" and just press "yes" or "yes to all" and you should be auto attached to the game process with activated scripts.