Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I need help with pointer in auto assemble

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
CassiOwOpeia
Newbie cheater
Reputation: 0

Joined: 29 Nov 2018
Posts: 18
Location: France

PostPosted: Thu Dec 27, 2018 8:57 pm    Post subject: I need help with pointer in auto assemble Reply with quote

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 ! Rolling Eyes Wink [/code]
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25287
Location: The netherlands

PostPosted: Fri Dec 28, 2018 2:12 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Fri Dec 28, 2018 3:30 am    Post subject: Reply with quote

- 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
View user's profile Send private message Visit poster's website
CassiOwOpeia
Newbie cheater
Reputation: 0

Joined: 29 Nov 2018
Posts: 18
Location: France

PostPosted: Fri Dec 28, 2018 9:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites