View previous topic :: View next topic |
Author |
Message |
scarface010305 Newbie cheater Reputation: 0
Joined: 15 Jun 2017 Posts: 22
|
Posted: Mon Jul 09, 2018 2:52 am Post subject: Auto Assemble $process Variable |
|
|
Hey there,
i was just wondering if it is possible to use the $process Variable for this 'lea' example.
Code: | [ENABLE]
$process+17E41E:
db 90 90 90 90 90 90 90
[DISABLE]
$process+17E41E:
lea rdx,[game_v1.exe+17D2080] |
The Game.exe can have different Names like "game_v1.exe", "game_v2.exe" or completely different.
When i try to use:
Code: | [DISABLE]
$process+17E41E:
lea rdx,[$process+17D2080] |
Then i get the following error:
Code: | Not all code is injectable.
(Error in line 7 (lea rdx,[$process+17D2080]): This instruction can't be compiled)
Are you sure you wan't to edit it to this ? |
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Mon Jul 09, 2018 3:39 am Post subject: |
|
|
do you edit the code while currently attached to the process?
_________________
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 |
|
|
scarface010305 Newbie cheater Reputation: 0
Joined: 15 Jun 2017 Posts: 22
|
Posted: Mon Jul 09, 2018 3:43 am Post subject: |
|
|
yes ive attached the process.
And its working when i just use it like this:
Code: | lea rdx,[game_v1.exe+17D2080] |
But when i am running a different .exe (name) its not working.
I can Enable it, but not Disable..
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Mon Jul 09, 2018 5:24 am Post subject: |
|
|
just use the db xx xx xx xx method instead then
_________________
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 |
|
|
scarface010305 Newbie cheater Reputation: 0
Joined: 15 Jun 2017 Posts: 22
|
Posted: Mon Jul 09, 2018 5:58 am Post subject: |
|
|
oh ok ty thats it.
I just tried it how it looked like (not 2 bytes blocks)
Code: | db 48 8D 15 5B3C6901 |
thank you
its working like this:
Code: | db 48 8D 15 5B 3C 69 01 |
|
|
Back to top |
|
|
panraven Grandmaster Cheater Reputation: 54
Joined: 01 Oct 2008 Posts: 941
|
Posted: Mon Jul 09, 2018 6:15 am Post subject: |
|
|
Another work around.
Code: |
define(aProcess,$(GetAddressSafe(process)or-1))
[ENABLE]
globalalloc(__,$4000)
__+10:
dq $(GetAddressSafe(process)or-1), aProcess
$(GetAddressSafe(process)or-1)+1a:
mov ax,1234
mov bx,$(GetAddressSafe(process)or-1)-1a
aProcess+24:
mov ax,1234
mov bx,aProcess-24
[DISABLE]
|
I don't know when CE support expression (upgraded from just a variable name) with $, so may not work on older CE.
_________________
- Retarded. |
|
Back to top |
|
|
|