15 January 2010

Rohan Hack: Rohan Damage Hack

You'll need to hack two different things for this one, you need to disable the animations for attacking while its in use and the actual attacking.

(If you leave the animation on, it won't work correctly.)

This is probably going to be a long one so bear with me. :x

Disable Attack Animation
Go to 0048A7EB and change the command there to JE 0048A87D .

This will disable the attack animation for players. (Yourself and others)

Damage Hack
I'm just going to copy and paste the code to make things shorter, and then explain what it does and what not.

For this hack, I'll be using 00427AF4 as the start of the code cave.

Go to 00487C31 and change that code to CALL 00427AF4.
This command will jump to our custom code.

Go to 00487C37, right click it, go to Binary, and Fill With NOPs.
This change will disable the client from setting the current attack state.

Go to 00487C67, right click it, go to Binary, and Fill With NOPs.
This change will disable attack speed, so your next attack is called instantly.


Now go to 00427AF4 and put this code. (Make sure it's perfect)

XOR EDI,EDI
MOV EDX,DWORD PTR DS:[0AF1264]
MOV EAX,DWORD PTR DS:[0AF1260]
MOV ECX,DWORD PTR DS:[0AC2F38]
PUSH EDX
PUSH EAX
PUSH 0
PUSH 1308
CALL 004070C0
MOV EDX,DWORD PTR DS:[0AF1264]
MOV EAX,DWORD PTR DS:[0AF1260]
PUSH EDX
PUSH EAX
LEA ECX,DWORD PTR SS:[ESP+1C]
PUSH ECX
MOV ECX,DWORD PTR DS:[0AC2F38]
PUSH 1307
CALL 004070C0
INC EDI
CMP EDI,4
JL SHORT 00427AF6
MOV EDI,EBP
RETN

This code sends 4 sets of stop attacking / start attacking commands to the server.

The 4 in CMP EDI, 4 is how many loops it does, so you can change it to suit your needs.
(I dont suggest going over 20, 4 should be the perfect number for everyone.. Going too high may make you do less damage.)

I think that's everything I should post about this, but I'm tired.. So if I forgot anything, I'll edit it later.