View previous topic :: View next topic |
Author |
Message |
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Apr 13, 2012 5:02 am Post subject: |
|
|
look at LUA code:
strings_add(getAutoAttachList(), "TheIsland2.exe")
If you save your trainer under "TheIsland2.exe" name. What do you think is going to happen?
_________________
|
|
Back to top |
|
|
Freiza Grandmaster Cheater Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Fri Apr 13, 2012 5:06 am Post subject: |
|
|
Oh, good. It will attach to itself since the trainer process was the last one getAutoAttachList() hooks the latest process.
Thank you very much.
And now please accept my request.
_________________
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Apr 13, 2012 5:15 am Post subject: |
|
|
Another thing, whats the point of "pop edx" at the beginning and "push edx" at the end?
_________________
|
|
Back to top |
|
|
Freiza Grandmaster Cheater Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Fri Apr 13, 2012 5:19 am Post subject: |
|
|
The code above it pushed some important address on the stack so I wanted to use it. So retrieved the stack used it here
and pushed it back again onto the stack.
Thanks to you for teaching me how to use stack.
_________________
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Apr 13, 2012 5:22 am Post subject: |
|
|
OK, I missed that "mov ebx,edx".
Edit:
But you overwrite edx original value.
_________________
|
|
Back to top |
|
|
Freiza Grandmaster Cheater Reputation: 22
Joined: 28 Jun 2010 Posts: 662
|
Posted: Fri Apr 13, 2012 10:06 am Post subject: |
|
|
Because the instruction just above it pushed EDX into the stack. So I was safe using it this way.
_________________
|
|
Back to top |
|
|
|