| View previous topic :: View next topic |
| Author |
Message |
C0dereality.Frost Advanced Cheater
Reputation: 0
Joined: 28 May 2007 Posts: 61
|
Posted: Tue Jun 26, 2007 12:00 pm Post subject: Alrighty, so how do I get the trainer maker 2 change ecx.... |
|
|
at a specific static address? noping it will screw me as it sets my stamina. changing ecx for a higher hex value. fyi the game is planetside for those curious
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Jun 26, 2007 12:27 pm Post subject: |
|
|
Please post a little better when you want help.
So far w dont know anything but the game and you nopped a instruction that controls stamina.
|
|
| Back to top |
|
 |
C0dereality.Frost Advanced Cheater
Reputation: 0
Joined: 28 May 2007 Posts: 61
|
Posted: Tue Jun 26, 2007 12:43 pm Post subject: |
|
|
My apologies, i thought it to be a generic question
Info
PLanetside 2
Function is a code for afterburners in the air (though knowing this will help me with other codes)
mov [edi],ecx
I'm changing the the ecx register to much higher value of ff00 0000
The code is tested good in inside of cheat engine and bug free. However the trainer maker seems to only save nops.... am i mistaken? or is it simply a limitation?
**removed last question as it wouldnt apply to variables Ithink "Or are there engines like code breaker game shark for pc that you simply add in your new coding at the said addy?"
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Jun 26, 2007 1:17 pm Post subject: |
|
|
The problem with injection and using it ina trainer is you cannot use alloc.
You need to define your own cave. Then it will work in a trainer.
Example Script that will work in a trainer:
| Code: |
[ENABLE]
label(back)
addressofcave: <--- code cave address *This replaces alloc
mov ecx,384 <--- Moves 900 to ecx written in the cave
mov [edi],ecx <--- Moves 900 to [edi] written in the cave
jmp back <--- Jumps back to game code flo
originaladdress:
mov [edi],ecx
nop
back:
[DISABLE]
originaladdress:
mov [edi],ecx <--- writes the original code back and disables the cheat.
|
|
|
| Back to top |
|
 |
C0dereality.Frost Advanced Cheater
Reputation: 0
Joined: 28 May 2007 Posts: 61
|
Posted: Tue Jun 26, 2007 1:28 pm Post subject: |
|
|
ok i'm still new at ce specifically, i'm used to hex editing mostly. I would use the inject function, then save my table, and then use the trainer creator in ce? insert this code with proper addys ie hmmmm ok so allocate memory for a code cave? or use one already in the game?
For addressofcave i'm getttin a syntax error
Update: after looking through the auto assembler templates i got the following to work. Ad far as install still testing to see if it did what is intended but even then i don't see how to integrate this into the trainer?
[ENABLE]
label(back)
083BCB32:
mov ecx,384
mov [edi],ecx
jmp back
00658658:
mov [edi],ecx
nop
back:
[DISABLE]
00658658:
mov [edi],ecx
|
|
| Back to top |
|
 |
|