| View previous topic :: View next topic |
| Author |
Message |
mdbr How do I cheat?
Reputation: 0
Joined: 09 Feb 2012 Posts: 1
|
Posted: Thu Feb 09, 2012 2:43 pm Post subject: Autochange value on process startup |
|
|
Hello everyone.
I know the address that contains the value I need to change, and I'm looking for a way to set and freeze that value on that address when the process starts up, because that value is used only once, shortly after startup, and it's no use to manually select the process and manually enter the needed value. I know there is an "auto-attach to process" option, but beyond that I'm lost
Any help would be greatly appreciated.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25956 Location: The netherlands
|
Posted: Fri Feb 10, 2012 4:52 am Post subject: |
|
|
Add the address you wish to freeze to the cheat table (make it the first one in the list, else update the following script)
Then execute this lua script:
| Code: |
strings_add(getAutoAttachList(),"Yourprocessname.exe")
function onOpenProcess(processid)
local al=getAddressList()
reinitializeSymbolhandler()
mr=addresslist_getMemoryRecord(al,0) --get the first entry in the cheat table
memoryrecord_freeze(mr)
end;
|
It will then check every second if the given process exists and if it finds it attach to the process and freeze the first entry in the table
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|