View previous topic :: View next topic |
Author |
Message |
daninthemix Cheater Reputation: 0
Joined: 29 Jul 2013 Posts: 39
|
Posted: Sun May 21, 2017 4:04 am Post subject: Can Cheat Engine 'listen' for a game that isn't running yet? |
|
|
Is there a way to do this (and if not, it would be REALLY useful in future).
Can you load a table, tell Cheat Engine the EXE to 'listen' for, and have it apply the cheats as soon as it sees that EXE running? Kind of like how trainers say 'Game not detected', but can then apply the cheats after the game is running?
This would be useful when streaming games to Steam Link, for instance.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sun May 21, 2017 4:24 am Post subject: |
|
|
Code: |
getAutoAttachList().add('tutorial-i386.exe') --ce will now watch the process
function onOpenProcess(pid)
local t=createTimer()
t.OnInterval=10000 --wait 10 seconds to let the game load (change this accordingly. If it's a cheat that needs to be activated after loading a game, set it to a minute or two)
t.OnTimer=function(x)
local al=getAddressList()
al.getMemoryRecordByDescription('Some kind of cheat').Active=true
al.getMemoryRecordByDescription('Another kind of cheat').Value=1000
x.destroy() --the timer is not needed anymore
end
end
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
daninthemix Cheater Reputation: 0
Joined: 29 Jul 2013 Posts: 39
|
Posted: Sun May 21, 2017 4:29 am Post subject: |
|
|
So, I:
1) Load a Cheat Table
2) Add the above as a Lua Script and click Execute Script
?
Sorry, bit of a noob here..
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Sun May 21, 2017 4:48 am Post subject: |
|
|
yes, you can add that script to your table's lua script section and load it each time your table loads
just make a few adjustments for your situation. (Like speed of your system, e.g how long it takes for the game to be fully loaded and your cheats will work, and the name of the cheats, what you want to do, etc...)
tip: Test it out in the lua engine window
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
daninthemix Cheater Reputation: 0
Joined: 29 Jul 2013 Posts: 39
|
Posted: Sun May 21, 2017 4:54 am Post subject: |
|
|
Awesome - thanks a lot
|
|
Back to top |
|
|
|