Tuesday, February 12, 2013

Hacking ATTACK RANGE, ATTACK SPEED and ATTACK DAMAGE


Postby WhiteHat » Fri May 02, 2008 10:48 am
 
Obtaining attack range address is easy: Use any heroes with ability to alter their attack range.

First time i did this, i used Dwarven Sniper. His Take Aim ability was very helpful since it change Kardel’s attack range gradually..

But, again, we can’t use standard Data-Type Search and Sub-Search for Attack Range since most heroes have static attack range. So, we’re gonna use Group Search.

Before we begin, we have to know how to obtain the value of our attack range. There are two ways in DotA:
- Hovering your mouse pointer to the Attack Icon, below your EXP bar.
- Read the Attack Range value in Heroes brief description before you choose them.
Please note that you can only use the 2nd option to obtain attack range for Melee Heroes...

Now that i found the address of Kardel’s Attack Range. Next thing to do is ALWAYS study the values arround it...

After several trial with various heroes, i managed to make the Group Search pattern base on this hex-editor:
Image

So the Group Search would be like this:
Image

Hero’s Attack Speed and Attack Damage addresses are just a few hundreds bytes before Attack Range address like shown in this Hex Editor:
Image
In above picture:
- Attack Range = 605.00 float (0x44174000)
- Awareness Range = 800.00 float (0x44480000)
- Attack Speed = 1.21 float (0x3F9AE147)
- Attack Damage = 34 Unsigned Long (0x00000022)
I got that values by clicking each address and check the value in Conversions Tab of Helper Window...

Note that for Attack Damage, the value shown in game slightly differ in Hex Editor. However, it is the right address...

Finally, we can make the table regards these attacking things:
Image

I used above method to hack Elazor's Attack Range and Attack Damage, enabled him to destroy scourge tower out-range of the tower itself...
Image
Pay attention to the range from where Elazor destroy the tower (the gold he gained confirm that he is the one who destroy the tower)...


This conclude my tutorial series of Hacking DotA Heroes. There are still lot things to hack though, so we can’t just stop here...

Feel free to ask anything related to this tutorial. I’ll do my best to answer them... Also, feel free to make any corrections should there are any..

I have to apologize for using a lot of pictures due my bad English... I humbly hope that these tutorial would be useful..

Have fun... Peace... :)

No comments:

Post a Comment