View previous topic :: View next topic |
Author |
Message |
marine7000 How do I cheat?
Reputation: 0
Joined: 26 Apr 2008 Posts: 9
|
Posted: Tue Apr 29, 2008 1:43 pm Post subject: simple question |
|
|
how do i change this code from decreasing by 1 and make it increase by 2 code is here
00456c13 - ff 8b 0c 03 00 00 - dec [ebx+0000030c]
|
|
Back to top |
|
 |
Chase Payne Grandmaster Cheater
Reputation: 1
Joined: 20 Mar 2008 Posts: 533
|
Posted: Tue Apr 29, 2008 2:21 pm Post subject: |
|
|
add [ebx+0000030c],2
I can give you entire script if you give me pass for step 7.
|
|
Back to top |
|
 |
marine7000 How do I cheat?
Reputation: 0
Joined: 26 Apr 2008 Posts: 9
|
Posted: Tue Apr 29, 2008 2:30 pm Post subject: |
|
|
its 090453
|
|
Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Apr 29, 2008 2:37 pm Post subject: |
|
|
Chase Payne wrote: | I can give you entire script if you give me pass for step 7. |
You can make one with the information you got now.
00456c13 - ff 8b 0c 03 00 00 - dec [ebx+0000030c]
Thats all you need.
Very simple solution would be to do this.
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
456c13:
jmp newmem
returnhere:
newmem:
inc [ebx+0000030c]
inc [ebx+0000030c]
originalcode:
exit:
jmp returnhere
[DISABLE]
456c13:
dec [ebx+0000030c]
dealloc(newmem)
Last edited by Labyrnth on Tue Apr 29, 2008 3:27 pm; edited 1 time in total |
|
Back to top |
|
 |
marine7000 How do I cheat?
Reputation: 0
Joined: 26 Apr 2008 Posts: 9
|
Posted: Tue Apr 29, 2008 2:42 pm Post subject: |
|
|
ok ty i jus need 2 get back there now
|
|
Back to top |
|
 |
Chase Payne Grandmaster Cheater
Reputation: 1
Joined: 20 Mar 2008 Posts: 533
|
Posted: Tue Apr 29, 2008 2:50 pm Post subject: |
|
|
Lab... your script didn't work step 7 is 013370
Code: | alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
00456c13:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
add [ebx+0000030c],2
exit:
jmp returnhere
| this should work
|
|
Back to top |
|
 |
marine7000 How do I cheat?
Reputation: 0
Joined: 26 Apr 2008 Posts: 9
|
Posted: Tue Apr 29, 2008 3:18 pm Post subject: |
|
|
holy aww crud now i gotta do step 8 lol
|
|
Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Apr 29, 2008 3:28 pm Post subject: |
|
|
Agh yes, Chase i didnt change dec to inc. Now check it out.
It will work now lmfao.......
|
|
Back to top |
|
 |
marine7000 How do I cheat?
Reputation: 0
Joined: 26 Apr 2008 Posts: 9
|
Posted: Tue Apr 29, 2008 3:29 pm Post subject: |
|
|
thanx chase im new 2 this so thnx
|
|
Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Apr 29, 2008 3:40 pm Post subject: |
|
|
Dude Chase dont do your scripts like this man. You could overwrite bytes of following instructions and cause a complete crash of th target.
Your code needs to be under "newmem:"
If the bytes of this instruction is the same number of bytes as the original then you can do it similar to this without allocating a cave.
Right now you have a cave allocated and didnt even use it.
originalcode:
add [ebx+0000030c],2
-----------------------------------
If the bytes are same size, which i doubt they are.
But you could do it like this if the bytes size matched.
[ENABLE]
00456c13:
add [ebx+0000030c],2
[DISABLE]
00456c13:
dec [ebx+0000030c]
|
|
Back to top |
|
 |
Psy Grandmaster Cheater Supreme
Reputation: 1
Joined: 27 Mar 2008 Posts: 1366
|
Posted: Tue Apr 29, 2008 3:45 pm Post subject: |
|
|
Might as well save your breath Lab...
|
|
Back to top |
|
 |
Chase Payne Grandmaster Cheater
Reputation: 1
Joined: 20 Mar 2008 Posts: 533
|
Posted: Tue Apr 29, 2008 3:50 pm Post subject: |
|
|
Yes you should do your scripts in newmem... I just wrote it in original code because it will work in tutorial
Dark Byte wrote: | In some games the original code can exist out of multiple instructions, and sometimes, not always, it might happen
that a code at another place jumps into your jump instruction end will then cause unknown behaviour. If that
happens, you should usually look near that instruction and see the jumps and fix it, or perhaps even choose to use a
different address to do the code injection from. As long as you're able to figure out the address to change from inside
your injected code.
|
And yes step 8 is the hardest, and most stressfull without help ... step 9 is a breeze
|
|
Back to top |
|
 |
marine7000 How do I cheat?
Reputation: 0
Joined: 26 Apr 2008 Posts: 9
|
Posted: Tue Apr 29, 2008 4:50 pm Post subject: |
|
|
can u lead me through it
|
|
Back to top |
|
 |
|