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:

  1. Greatly improved the original "server->..." API set.
  2. 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.
  3. Added new API set "screen->...", this API set encapsulates game screen hooking(permanent text drawing) and screen attributes access. Always wished to mess the screen up like what D2JSP does? Now you've got to love this.
  4. 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.
  5. Added "anti-detection". 
  6. Added inter-module communication.
  7. Added command line ".banner <0/1>" to hide/show the banner text displayed on the top middle of the game screen.
  8. Added command line ".backtotown" to make the player cast a town portal and quickly walk in.
  9. 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!

Various other wonderful functions

Anti-Detection Methods, Compatibilities

Item Parsing Algorithms

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...


About the Author

Author of v2.00 Abin
Email abinn32@yahoo.com
Homepage http://www.wxjindu.com/abin/d2hackit/

License Agreement

  1. 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 author holds no responsibility to any damage of data caused by use of this library. USE IT AT YOUR OWN RISK.
  2. This library and its source code may be used in any way you desire.
  3. This library is provided "as is" with no expressed or implied warranty.

API Reference


D2 Message System