D2Hackit v2.00
API Reference
What's New in v2.00
D2Hackit v2.00 is an improved version of the old D2Hackit(whatever
version it was before 2.00) that presents a lot of new features and API's which
would otherwise take the module developers thousands of code lines to achieve.
The following are some of the new features added in D2Hackit 2.00:
- Greatly improved the original "server->..." API set.
- Added new API set "me->...", this API set encapsulates player
attributes and game operations, "me->BackToTown();", for
example, will make the player cast a town portal and immediately use it to
return to town.
- Added screen drawing API.
- Introduced the "D2 Message System", which is similar to
"Windows message system" on Win32 plateforms, D2 messages will be
sent to your application(d2h modules) when something happens in the game.
This mechanism establishes an "Event Driving" interface between
the game and your application.
- Added "anti-detection".
- Added inter-module communication.
- Added command line ".banner
<0/1>" to hide/show the banner text displayed on the top middle
of the game screen.
- Added command line ".backtotown"
to make the player cast a town portal and quickly walk in.
- Added command line ".mystats"
to display player's important stats, including some hidden stats.
- Added command line ".sync"
to resync character position with the server, this is useful for recovering
from the infamous "black wall" lag and showing where the character
actually is.
- Added command line ".sendkey <keycode>"
to send a key-down message to the game window.
- And much more.
Backward Compatibility
Modules developed using old versions of D2Hackit are still able to be
functional in D2Hackit 2.00, however, those modules will not benefit from any
new features added in D2Hackit 2.00. It is strongly recommended that you rebuild
your old modules using D2Hackit 2.00.
Acknowledgement
As we all know, Thohell was the original author
of D2Hackit, although he stopped the development long ago, this new version, as
well as all of the d2h modules we've been using, would not even exist without his
excellent SDK. So I think it can only be fair if his name appears before mine.
:)
Also, I stole reused a lot of
code from Mousepad's MaphackTM, what can I say? He is THE genius, end
of discussion.
We shall never forget those who kept D2Hackit
improved to where it was, either. I do not know who you exactly are, but here
you have my respect.
Credits
D2HackIt!
- Thohell
- Bootyjuice
- Herzog_Zwei
- D'Flame
- Dan_Goon
1.09 to 1.10 Porting
Various other wonderful functions
Anti-Detection Methods, Compatibilities
Path Finding Algorithms
Documentation, Code Supporting,
Testing
More are to be added...
In case of code reusing, I'm only able to give
explicit credits to those whose code are directly reused in this project. For
example, if I used A's code, A used B's code, and B, in turn, used C's code, I
can only give credits to A since I may not know for sure who B and C are.
I'll try to get more people who
deserve rightful credits up on the list, this list is NOT ended and is absolutely not final...
License Agreement
- Developing or using any third-party applications on the Battle.net closed
realms are considered hacking and may therefore receive punishments from
Blizzard Entertainment, including, but not limited to, character deletion,
account closing, or CD-key removal. The authors shall hold no responsibility to
any damage or loss of data caused by use of this library. USE IT AT YOUR OWN RISK.
- This library and its source code may be used
in any way you desire, providing it is not sold for profit without the authors' written consent, and
providing that this notice and the authors' names are included. If the source code in this
library is used in any commercial application then acknowledgement must be made to the authors of this
library (in whatever form you wish).
- This library is provided "as is" with no expressed or implied
warranty.
API Reference
D2 Message System
http://newd2event.net