pickit 0.83c module for D2Hackit by ngdeao@yahoo.com
pickit 0.82 module for D2Hackit by ackmed@gotwalls.com

This module allows you to be notified when items are dropped
and auto pick them up based on the pickit.ini config
file.  Please check out the config file for adding your own
item definitions.

Available commands

.pickit debug [devel|packet]
	toggle debugging.
	devel add some extra debugging
	packet added packet level debugging

.pickit toggle
	toggle picking up items.

.pickit dumpitems
	toggle to have pickit dump extra information when 
	items are dropped.  This is useful for getting the
	necessary information to build an item definition to 
	use in the config file.

.pickit reload
	reload the config file

.pickit radius <n>
	change the pickup radius.  The default is 7.

.pickit mingold <n>
	change the minimum gold amount to pickup.

.pickit start
	turn on picking up items.

.pickit start
	turn off picking up items.


Notes:
pickit will auto-disable item pickup if it sees an 
inventory full packet.  To re-enable pickup you will 
need to run '.pickit toggle'.  I would suggest using the 
bind module and bind this command to a key.

If an a defined item drops outside of your pickup radius
pickit will tell you which direct to go to get to the
dropped item.  The direction information will be of the form
north, southeast, west, etc.  The direction has been adjusted
so the north is directly up on your screen as opposed to north
to your character which is more of a upper-left direction.

Thanks to thohell, nuttzy, and proff for information about
itemdrop packets on the message boards.  

Changelog
0.83c: Modified the pickups some more, to help prevent potential lag
       by extra pickup requests.  It now will try closest item first.
0.83b: Fixed some errors in the config item name lookup.  Battle boots, and Battle belt
       were wrong.  Also made some changes in the item pickup section, so it
       shouldn't cause too much lag by flooding the server with pickup requests.
       Optimized some parts of the code for speed too.
       Added command to set minimum gold amount while running.
       Added start and stop commands, pretty much same functions as toggle.
0.83: added ability to add items in config by item name (code from shopbot)
      added a minimum gold amount config setting "MinGold".
	  If not set, all gold is picked up.
	  Cleaned up help commands.
	  Fixed a bug that would only reload config if grabit module was reloaded.
0.82: added work around for d2hackit feature/bug that was
        causing some people to crash when exiting a game.
      added isEthereal=0/1 support to config.
      updated the version number in the code this time
0.81: removed the config limit.
0.80: full rewrite
      added 'debug devel'
      added 'debug packet'
      changed command dumpinfo to dumpitems
      the trailing space is no longer required on the Code
      directive in the ini file.
      adjusted direction code (hopefully more precise)
0.76: fixed possible crash from reading beyond of end of a packet
      fixed typo in pickit.ini.  grand/large charm had the same
        section name
      added changelog to pickit.txt
0.75: initial release