Shopbot 0.50 module for D2Hackit by Cigamit (jimmy@advcs.org)
Shopbot 0.46beta module for D2Hackit by ackmed@gotwalls.com

Thanks to njaguar for a few code optimizations and fixes!!
Thanks to syadasti and all the others that have helped me out in anyway!


  This modules will auto-shop for magic items from an NPC of your choice.
shopbot.ini describes which items the bot should be looking for.

  Read the Help.txt file for information on setting up the bot to run.  Please
also look over the FAQ section in the Help.txt file if you have questions.  Please
make sure your question if not in FAQ before you email me about it, if it is, you
will probably be ignored.

  Please feel free to send me any suggestions that you may have!


Changelog 
---------------------
0.50 -> 0.51 (modifications by cigamit)
  - Code Optimizations
  - Random NPCs (Can randoms picks a NPC everytime through the WP and shops with him) (thanks razer_code@hotmail.com)
  - Option to disable Random walking
  - Re-Added AutoBuyStop
  - Re-Added the parse file
  - if no description is given for an item, it will display the real name
  - Added MustHavePrefix
  - Added MustHaveSuffix
  - Changed the structure a little more, added a docs and logs directory
  - Added Version display on bottom left of screen
  - Added State display on bottom left of screen
  - Added Bought Item count on bottom left of screen
  - Added Run count on bottom left of screen
  - Removed DisplayText option
  - Removed Textoverhead option
  - Added browsestart option to allow shopbot to start in browse mode
  - Added color option to allow you to change the text color
  - Added ability to detect any and every mod!!
  - Added code so it can not send invalid NPC and WP packets, EVER!
  - Added code so it will never get stuck outside of town (unless you lag out)
  - Added fix so it will not send the packet to re-enter town if lost and still in town
  - Added code to help with lag (if it detects that you are lagging, it suspends itself until it goes away)
  - Will display "Lag" (in red above the Shopbot Version) as long as Shopbot is suspended
  - Detects whether the Bind module is loaded (module must be called bind.d2h)
    If usebind is set, yet bind is not loaded, it will attempt to load it for you
    If it still fails, then it will not try to set the keys
  - Add total item counter, its tells how many items it has parsed
  - Added Gold counter
  - Added showwalk, now shows you walking!!!! YaY!
  - Fixed a bug dealing with Categories
  - Fixed a bug with selling items while in Browse Mode
  - JED and The Force browse mode compatible

0.49beta -> 0.50beta (modifications by cigamit)
  - Fixes to the random routines
  - Fixed a bug dealing with Sockets and Weapons
  - Fixed bug dealing with items with no Durability and the ED Filter (phase baldes ect..)
  - Fixed a bug dealing with Bows and Sockets
  - Fixed bug with Stop=0 (would still stop, had to delete Stop to make it not stop)
  - Fixed bug with Anya Portal

0.48beta -> 0.49 (modifications by cigamit)
  - Added some fixes and code to help those with slower bandwidth's
  - Added code to help from getting lost!!  (Finds NPC and walks to him)
  - Added date and time for item-bought file
  - Added Browse Mode
  - Added option to disable shopbots use of bind
  - Added Item Quality
  - Rewrote Buying Routines, accurately buys and verifies up to 9 buys per visit now
  - Removed autobuystop
  - Added Stop option, will stop if an item fails to buy, setable per item
  - Verifies that store is open
  - Waits until ALL items are recieved before it closes store
  - Moved NPC check routine so that you don't have to be near him before starting
  - Fixed a bug that would write the item into the boughtitem.txt
    file even if it failed to buy it
  - Fixed bug where items on ground would make you go back to wp
  - Removed the blue text overhead to make shopbot less detectable
  - Randomized movement to make shopbot less detectable
    (Also helps in not getting stuck!)
  - Randomized the Anti-Idle Mode steps
  - Made the displayed text a little prettier (ngdeao)
  - Changed option "notitemdisplay" to "showallitems"
  - Added Sockets option
  - Changed file layout slightly, now ini and text file is in shopbot directory
    where the paths were, and the paths are in shopbot\paths directory
  - Added ability to use multiple configs
  - Updated and added to the error messages
  - Removed Debug Mode
  - Renamed boughtitems.txt to items-bought.txt and shopbotitems.txt to items-all.txt
  - Removed shopbotitems2.txt, not needed anymore
  - Shopbot.txt is now Readme.txt to make it easier for newbee's to find :)
  - Added Help.txt and moved the FAQ to there.
  - Added text fixes for using the portal instead of WP

0.47beta -> 0.48beta (modifications by cigamit)
  - Added Categories
  - Added File of All Items
  - Added File of Bought Items
  - Added special item file for my online database of items :)
  - Ability to use Anya portal (try .shopbot loadpath anyaportal)
  - Added ability to bindkeys at load for ".shopbot start" , ".shopbot stop" , ".shopbot loadpath larzuk"
  - Now when you setnpc, it automatically sets the townwp for you
  - When you buy an item, if it fails, it will try 4 more times to buy it, if it still fails
    it will tell you whether you didn't have enough gold or enough space to buy it
  - Changed a little text to make it more understandable
  - Fixed bug with textabovehead
  - Fixed bug with you leaving a game without stopping it
  - Fixed a bug were he would buy an item, if you sold it
  - Fixed a bug where he would display items even when disabled
  - Fixed a bug where shopbot would get lost in other wp and couldn't recover
  - Fixed a few other bugs I can't remember

0.46beta -> 0.47beta (modifications by cigamit)
  - Added option to not display non matching items
  - Added option to display the text above your head
  - Added option to not display the movement texts
  - Added ability to shop for armors
  - Added ability to shop for gloves
  - Added ability to shop for boots
  - Added ability to shop for belts
  - Added ability to shop for helmets
  - Added ability to shop for shields

0.45beta -> 0.46beta
  - Added savepath / loadpath commands (Blackpower)
  - Added townwp / otherwp commands (ackmed)
  - Added workaround for bug/feature of d2hackit that can cause a crash on leaving a game (ackmed)
  - Updated the MINOR_VERSION define this time (ackmed)
0.20beta -> 0.45beta
  - Added itemcode lookups to get items real basename (ackmed)
  - Added basename=<string> support to config file (ackmed)
  - Added support for bows (ackmed)
  - Added code to make shopbot attempt to get unlost (ackmed)
  - Updated setnpc command (Blackpower)
  - Added code to autoget NPC's Id (Blackpower)
  - Removed 0x13 capture, no longer needed (Blackpower)
  - Added Client walk update (Blackpower)
  - Added autobuy code (berto)
  - Added global config section to ini file (ackmed)
  - Change to not allow the same step location twice in a row when recording (BlackPower)
  - Added all the waypoint code and unhardcoded waypoints (ackmed)
  - Removed clear command.  Previous path will autoclear when starting a new recording (ackmed)
  - Removed Config limits, and cut and paste it into pickit (ackmed)
  - Added townwp=<string> and otherwp=<string> to global config (ackmed)
  - Added steptime=n to global config (ackmed)
  - Made last step in NPC->WP path be the location of the WP (ackmed)
  - Added text patching for code->basename and magic suffixes/prefixes (ackmed)
  - Added Anti-idle code (ackmed)
  - Added autobuystop=n to global config (ackmed)
  - Added support for making the client play (some) sounds (ackmed)
