View previous topic :: View next topic |
Author |
Message |
TheBlock- How do I cheat? Reputation: 0
Joined: 23 Jul 2015 Posts: 5
|
Posted: Thu Jul 23, 2015 10:53 pm Post subject: Repeating a difference? |
|
|
Let's say I have a ton of addresses and they all change at once.
How would I repeat exactly the change that happened?
I would like to be able to "capture" the values that I have in my cheat table, and then when they changed, be able to capture the new value and compare what kind of difference took place and what was subtracted,added to each.
How would I repeat exactly the change that happened?
Can someone help me? I've searched everywhere.
|
|
Back to top |
|
|
kanakis Cheater Reputation: 0
Joined: 19 Feb 2015 Posts: 28
|
Posted: Fri Jul 24, 2015 12:03 am Post subject: |
|
|
i don't know if that is what you ask for, but you can make a program in c++ that assigns to variables the values on your cheat table.
then you can apply conditional statements to monitor your variables
but that's probably not what you ask for.
I would suggest to be more specific about what you are trying to achieve in your game.
|
|
Back to top |
|
|
TheBlock- How do I cheat? Reputation: 0
Joined: 23 Jul 2015 Posts: 5
|
Posted: Fri Jul 24, 2015 12:38 am Post subject: |
|
|
I mean via CE
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Fri Jul 24, 2015 1:48 pm Post subject: |
|
|
Unless you hook directly into the game code, the best you can do is query the value constantly, waiting for a change.
You could setup a timer in Lua and monitor each address value.
Then execute some code when the value changes and do whatever it is you want.
Of course, you'd be coding this whole thing in the same manner as you would a C++ program.
|
|
Back to top |
|
|
TheBlock- How do I cheat? Reputation: 0
Joined: 23 Jul 2015 Posts: 5
|
Posted: Fri Jul 24, 2015 4:55 pm Post subject: |
|
|
How would I do something like that though?
For example, if one value was 4956 and it changed to 6923 it would output for that address that it changed +1967
Or, if one value was 7452 and it changed to 2354 it would output for that address that it changed -5098
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Fri Jul 24, 2015 5:04 pm Post subject: |
|
|
Learn Lua.
Code: | [ENABLE]
{$lua}
io.output("C:/mydata.txt")
address = "blahblah"
previous = 0
timer=createTimer(nil)
timer.Interval = 100
timer.OnTimer = function(timer)
local current = readInteger(address)
if current != previous then
io.write("%s = %d (%d)\n":format(address, current, current - previous))
previous = current
end
end
timer.Enabled = true
{$asm}
[DISABLE]
{$lua}
timer.Enabled = false
io.close()
{$asm} |
|
|
Back to top |
|
|
TheBlock- How do I cheat? Reputation: 0
Joined: 23 Jul 2015 Posts: 5
|
Posted: Sun Jul 26, 2015 5:26 pm Post subject: Woow man, thanks! |
|
|
Thanks man!
|
|
Back to top |
|
|
|