View previous topic :: View next topic |
Author |
Message |
CassiOwOpeia Newbie cheater Reputation: 0
Joined: 29 Nov 2018 Posts: 18 Location: France
|
Posted: Thu Dec 27, 2018 8:57 pm Post subject: I need help with pointer in auto assemble |
|
|
Hi all I have a problem.
I want to set in SomeValue the PlayerBase:
Code: |
[ENABLE]
alloc(_PlayerBase,$1000)
registersymbol(_PlayerBase)
_PlayerBase:
pop eax
push eax
lea eax,[[server.dll+8D2324]+04]
mov [_PlayerBase],eax
pop eax
[DISABLE]
dealloc(_PlayerBase)
unregistersymbol(_PlayerBase)
|
Code: |
_PlayerBase 58 pop eax
11B20001 50 push eax
11B20002 8D 05 5CC88C53 lea eax,[server.dll+9CC58C] (3A71DE28)
11B20008 A3 0000B1211 mov [_PlayerBase],eax (058D5058)
11B2000D 58 pop eax
|
The Pointer is :
server.dll+8D2324 + 04
Thanks ! [/code]
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Fri Dec 28, 2018 2:12 am Post subject: |
|
|
Code: |
push eax
mov eax,[server.dll+8D2324]
lea eax,[eax+4]
mov [_playerbase],eax
pop eax
|
_________________
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 |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Fri Dec 28, 2018 3:30 am Post subject: |
|
|
- code will not be executed (you need to create thread manually) from memory view -> tools "create thread"
- if you decided to create a thread then you dont need push/pop instructions
- bytes 58 50 8D 05 will change after mov [_playerbase],eax and you wont be able to get the address again (well you can but you must deactivate and then reactivate the script)
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
CassiOwOpeia Newbie cheater Reputation: 0
Joined: 29 Nov 2018 Posts: 18 Location: France
|
Posted: Fri Dec 28, 2018 9:26 am Post subject: |
|
|
Thanks but it don't work.
When I active. The _PlayerBase is the value of the pointer address and not the address.
Code: | mov eax,[server.dll+8D2324] (52ECC858)
lea eax,[eax+04]
mov [_PlayerBase],eax (938.36) |
The pointer is :
Code: | P->52ECC85C value=3A9ED420
server.dll+8D2324 = 52DD2324 and his value is 52ECC858 |
|
|
Back to top |
|
|
|