View previous topic :: View next topic |
Author |
Message |
drewfist98 Newbie cheater Reputation: 0
Joined: 24 Mar 2015 Posts: 11
|
Posted: Sun Mar 29, 2015 2:25 am Post subject: (Question) Can i connect Notepad to CE to record values? |
|
|
I am wandering if there is a way to get cheat engine to record Address' Values and then paste them into a Notepad document for later viewing by me. (NOTE: The address' values ill be wanting to view will change alot of times.. about 10 times per second, Also will mainly be a Array of bytes)
Example: An address has a value of 10 .. Cheat engine will copy/paste it to notepad .. Whenever the value changes either by positive or negative, Cheat engine will copy/paste it to notepad and will continue to do it until i "Tell" it to otherwise.
Is this possible?
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Mar 29, 2015 8:10 am Post subject: |
|
|
Sorry I don't have any code, but I believe you can use LUA for this.
Set a breakpoint on an address and create an LUA function to handle that.
Should be able to write to a text file from within the script.
|
|
Back to top |
|
|
drewfist98 Newbie cheater Reputation: 0
Joined: 24 Mar 2015 Posts: 11
|
Posted: Mon Mar 30, 2015 12:18 am Post subject: |
|
|
Zanzer wrote: | Sorry I don't have any code, but I believe you can use LUA for this.
Set a breakpoint on an address and create an LUA function to handle that.
Should be able to write to a text file from within the script. |
Hm, Any other way to do this? I cannot attach the debugger to the program im playing
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Mon Mar 30, 2015 2:30 am Post subject: |
|
|
then you can use polling using a timer and readInteger/readFloat/readDouble and write that to a file. It won't be 100% accurate though
_________________
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 |
|
|
drewfist98 Newbie cheater Reputation: 0
Joined: 24 Mar 2015 Posts: 11
|
Posted: Mon Mar 30, 2015 1:12 pm Post subject: |
|
|
Dark Byte wrote: | then you can use polling using a timer and readInteger/readFloat/readDouble and write that to a file. It won't be 100% accurate though |
Sorry dark byte, can you give me any further in-depth instructions on your method?
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Mar 30, 2015 7:28 pm Post subject: |
|
|
Code: | myVal = 0
timer = createTimer(nil)
timer.Interval = 100
timer.OnTimer = function()
val = readInteger("address")
if val ~= myVal then
-- write to file
myVal = val
end
end |
|
|
Back to top |
|
|
|