| 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 (:
|
Posted: Sun Oct 26, 2008 9:26 pm Post subject: How to add RegisterSymbol to a Delphi Trainer?? |
|
|
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 |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Mon Oct 27, 2008 12:30 am Post subject: |
|
|
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.
_________________
|
|
| Back to top |
|
 |
Code_Zero Master Cheater
Reputation: 0
Joined: 23 May 2007 Posts: 490 Location: The S.W.e.A.T squad (:
|
Posted: Mon Oct 27, 2008 1:49 am Post subject: |
|
|
How can I add this type of script to a trainer made in delphi :O
_________________
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Wed Oct 29, 2008 5:07 pm Post subject: |
|
|
| Ignore RegisterSymbol...
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Wed Oct 29, 2008 5:15 pm Post subject: |
|
|
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 |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Wed Oct 29, 2008 5:22 pm Post subject: |
|
|
| O.o AutoASM=Real ASM except the extra functions that darkbyte added in.
|
|
| Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Wed Oct 29, 2008 5:26 pm Post subject: |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 26001 Location: The netherlands
|
Posted: Wed Oct 29, 2008 6:43 pm Post subject: |
|
|
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 |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Wed Oct 29, 2008 8:17 pm Post subject: |
|
|
| RegisterSymbol(symbol) = Allocate memory to represent an addrss and give the auto assembler a reference.
|
|
| Back to top |
|
 |
|