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 


How to add RegisterSymbol to a Delphi Trainer??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Code_Zero
Master Cheater
Reputation: 0

Joined: 23 May 2007
Posts: 490
Location: The S.W.e.A.T squad (:

PostPosted: Sun Oct 26, 2008 9:26 pm    Post subject: How to add RegisterSymbol to a Delphi Trainer?? Reply with quote

How to add a RegisterSymbol to a trainer that is made in delphi?
example if i want to add :

[ENABLE]
registersymbol(dem); //<< I want to add this registersymbol to the trainer
alloc(dem,256);

dem:
cmp dword ptr ss:[esp], 005C77E4
jnz VariantInit

push edx
push ecx
push eax
mov edx, dword ptr ds:[00971DF8]
mov ecx, [edx+0D58]
mov eax, [edx+0D5C]
mov dword ptr ds:[ebx+488], ecx
mov dword ptr ds:[ebx+48C], eax
pop eax
pop ecx
pop edx
jmp VariantInit

008E32F8:
dd dem

[DISABLE]
008E32F8:
dd VariantInit

unregistersymbol(dem)
dealloc(dem)

_________________
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Mon Oct 27, 2008 12:30 am    Post subject: Reply with quote

registering a symbol is just representing an address as a word in the human language. So... wherever you allocated dem is actually the "registeredsymbol".

Although that script does seem remeniscent. Wink

_________________
Back to top
View user's profile Send private message
Code_Zero
Master Cheater
Reputation: 0

Joined: 23 May 2007
Posts: 490
Location: The S.W.e.A.T squad (:

PostPosted: Mon Oct 27, 2008 1:49 am    Post subject: Reply with quote

How can I add this type of script to a trainer made in delphi :O
_________________
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed Oct 29, 2008 5:07 pm    Post subject: Reply with quote

Ignore RegisterSymbol...
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Wed Oct 29, 2008 5:15 pm    Post subject: Reply with quote

First, Go learn real ASM.
Next, learn the differences and functions of what Auto Assembly actually does.

After that you can probably do this on your own.

_________________
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed Oct 29, 2008 5:22 pm    Post subject: Reply with quote

O.o AutoASM=Real ASM except the extra functions that darkbyte added in.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Wed Oct 29, 2008 5:26 pm    Post subject: Reply with quote

dnsi0 wrote:
O.o AutoASM=Real ASM except the extra functions that darkbyte added in.


The only real part of it is the actual instructions, everything else is macro'd.
It is also made a shit load easier with a lot of short cuts.

_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Wed Oct 29, 2008 6:43 pm    Post subject: Reply with quote

CasutiLo, if you want to use script like this in your own trainer just add the autoassembler unit and it's dependencies to your own project and make use of those functions
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
rapion124
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Mar 2007
Posts: 1095

PostPosted: Wed Oct 29, 2008 8:17 pm    Post subject: Reply with quote

RegisterSymbol(symbol) = Allocate memory to represent an addrss and give the auto assembler a reference.
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 programming 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