README for bnet-bot by Will Lorentz
Last updated: 1999-10-06

= What is this? =

This code provides some essentials for writing a battle.net bot for
Linux/Unix.  It is similar to Blizzard's GreetBot code for Windows.  If
you meant to download that, you can find it here:

ftp://ftp.blizzard.com/pub/unsupped/greetbot.zip

It uses Unix sockets to connect to battle.net using a supplied username
and password, and then proceeds to listen for events.  One who was
interested in writing her or his own bot could easily build on top of
this, adding the necessary code to the event functions.  However, if
you're new to protocols used by battle.net, you might want to start
reading this message board:

http://www.gamersx.com/messages/overview.asp?board_id=2396

And this bot-writing FAQ is most helpful:

http://matrixbot.fsgs.com/botfaq.html


= Installing =

gunzip bnet-bot.tar.gz
tar xf bnet-bot.tar
cd bnet-bot
[ ..and to compile.. ]
gcc bot.c


= Notes =

Some changes made to Blizzard's code:

* Replaced Winsocks with Unix sockets.
* Changed some syntax from Visual C++ to C.
* Made the code a little shorter.

I'm still working to optimise the code some more.  Right now it's a 
bit sloppy.


= Questions? =

You can e-mail me at wlorentz@san.rr.com.
