This is not a cd-key generator, so if you downloaded this thinking it would
give you a nice free connection to BattleNet, you are mistaken.  I in no way
take responsibility for how this program is used, but I am hoping that you,
the user, is using it for the purpose that it was created for.


How to use this program:


Launch the appropriate game and connect to BattleNet.  At the screen where
you enter your login/password, alt-tab out and click the Get CD-Key button.
If successful, your CD-Key should be displayed in the edit boxes.

Note: You don't have to fully login (enter your username and password) in
order to get your cd-key.


Details of this program:


The cd-key is packaged within the MPQ's (MoPaQ, I also recall seeing "MultiPaQ"
somewhere before which stuck with me) upon install.  Normally getting
this in plaintext would be a pain in the ass without a good MPQ viewer.  It
is also reported to be encrypted in the MPQ as well.  But since BattleNet
actually has to verify the cd-key, that means it has to decode the cd-key.
This program looks at the memory of the decoded cd-key and displays it to the
user.


History of the program:


This program was originally created in 1999 when I kept hearing complaints
in Open Tech Support about people losing their cases, but still having the
game installed.  I wrote this program to help those small few.

It then evolved into the "All-in-One BattleNet Program".
Due to the fact that half of the options in the All-in-One program became
obsolete, I brought this program back into existence.

This program was made in VC++, using MFC.  This is why it looks like it was
made in about 15 minutes, because it was.  I believe programs should
be based on their function, not their pretty interface.


About the Author:


On BattleNet I'm known as Magickian, or Blah[RIP].  I've been on BattleNet
since Diablo 1.0 (taking a few months break every so often).  Over this time
I've found many BattleNet flaws and have become liked by Blizzard for
reporting them in a professional manner.  I've graduated with a Bachelor's
Degree in Computer Information Systems, but yet I don't feel more educated
than when I first entered.  At least I have a $30,000 piece of paper now
though.

Send comments/complaints/spam/whatever to blah_rip@hotmail.com

Programmer's Log:
Stardate: 08/06/2003
Another no happening patch.  Another Tales from Hotel Hell will probably be
coming soon, as the dreaded "race week" or "speed week" approaches.  

Stardate: 07/15/2003
Well, Blizzard released a no happening patch for TFT/WC3.  The cd-key grabber
still functioned properly, but I updated the resource file so it reports that
it supports 1.11.  I also have the joyous tale of the router to include in
here.  It would seem that Linksys employs monkeys to do their programming,
and deaf/mutes to do their quality assurance.  I've had this wireless router
for about 2 years now, used to have the wireless working just fine on it
until I broke the antenna on my wireless network card.  Anyways, I've been
toying with the idea of setting up a wireless network for my bosses various
businesses and ordered up some PCI and PCMCIA cards.  Some students from a
university have been visiting the hotel quite often and have also tried their
wireless card to get on my network but to no avail.  I figured it was just a
support issue with their card, but as I said, my router seemed to be at fault.
Somewhere down the line after my wireless antenna broke I got the great idea
to upgrade the firmware of my router.  Then when it had problems I made sure
I got a newer later version, just to make sure it couldn't possibly be any
problem with my piece of equipment.  Well, eventually I get manuals, PCB
schematics, everything I can find from linksys's site.  None of it helps, so
I ask the modern God, omnipotent, omniscient, and omnipresent Google.
Google hears my prayers and says:
  "You poor misguided soul, you have not read my teachings well... Upgrading
  is the work of Satan himself!  He uses these upgrades to break certain
  functions you've grown used to.  He also uses them to start amassing great
  resources for his army, surely you've seen your CPU usage increase after
  'upgrading' to Windows XP.  Surely you've seen your resources skyrocket as
  Explorer.EXE eats up 20 megs of memory.  Why did you not heed the warning?
  Why does your router not work you ask?  Because you upgraded the firmware!"
So one downgrade later and everything's kosher with my wireless router.  And
I can just hope that God is able to speak loud enough for the deaf/mutes at
Linksys's QA department to hear, and I hope his words will be:
"A fucking wireless router without wireless capabilities does not make sense!"

Stardate: 07/14/2003
I finally had some spare time and inspiration to update the cd-key grabber.
Unfortunately at the same time I decided I wanted to see about optimizing my
system.  I downloaded the latest BIOS revision for my motherboard and
decided to give it a whirl.  One system lockup and "BIOS ROM Checksum error",
and I was a bit mad at my computer.  Luckily this BIOS will at least boot
from a floppy in case of a flash error, but since a floppy drive this
computer did not have, I was in a bit of trouble.  Since I was recently doing
some work on a friend's computer, I was able to steal their cd-rom drive and
attempt for a fun fun task of reflashing my BIOS.  Since this other computer
had no network card, I had to use my linux laptop to toss the items onto the
floppy, boot up the other computer, extract the files there, create a boot
disk, then take the floppy drive off of there, hook it up to this computer,
boot, and then flash.  Quite annoying, but at least now the computer is
functioning again and the BIOS revision date had not changed from the date I
saw before.  The web page lied I say!  The last time I checked April is a
separate month from June, and I do not believe Congress would let pass such
a merger.  Luckily I still had some energy, so I updated the cd-key grabber
as well.  It seems Blizzard has went with a different idea than they did with
Diablo II.  The window name remains unchanged with TFT, and the cd-key is
stored in the same area in both games' versions of 1.10.  So hopefully I
shouldn't run across any cross compatibility issues with War3: RoC and
War3: TFT. 

Stardate: 06/30/2003
Well, due to the upcoming release of The Frozen Throne, Blizzard has
upgraded Warcraft 3.  I have updated this program accordingly for v1.10 of
Reign of Chaos.  I will most likely not be testing any versions after this
one with Warcraft 3 Reign of Chaos, as the expansion will overwrite my
installation.  If this program fails to function for any newer versions of
Reign of Chaos, please let me know and I will update it accordingly.

Tales from Hotel Hell Episode 3:
"Plunderers" the eulogy of lost goods

I have seen some strange things in my days.  I thought I would never see
anything stranger than an Electronics Engineer student plugging the power
cable for a floppy drive straight into the set of BIOS jumpers, but fate has 
smiled upon me.  Now I always knew of people who would steal items from
hotels, so to have it happen at one of the ones where I work is not a big
deal.  A few towels, pillows, lightbulbs, tv remotes and ice buckets.  Wait a
second...  Lightbulbs?  Yes... it would seem that the area where our hotel is
located is quite ghetto in nature.  Supposedly there are a lot of crack and
meth heads around the premises, and occasionally they shack up in a room
here.  Thus they steal lightbulbs for making crack pipes out of.  Now after
I added those two together it kinda made sense, but then there is the case of
the missing shower curtain...  Our hotel doesn't even carry really nice
shower curtains, they're quite flimsy and like to stick to the body.  I had
to move rooms once and the shower head I got in my new room was quite crappy,
it basically misted my body instead of showering it.  The mist would seem to
drag the shower curtain in and it would basically molest me... I'd push it
away and it'd come back stronger!  Anyways, we also had an air conditioner
up and disappear too.  I don't believe that was theft though, I believe it
was probably just a maintenance error and one maintenance guy didn't let
anyone else know they replaced a broken a/c unit with that one or something.
So please, next time you are in a hotel room, by all means, steal a drawer
from the dresser.  Just to keep people like me wondering.

Stardate: 06/06/2003
Alas, Warcraft 3 1.06 has been released a few weeks before The Frozen
Throne's release.  Unfortunately I haven't been able to play The Frozen
Throne beta due to my new crappy connection.  I am greatly looking forward
to the single player campaign.  I have decided to add a section in talking
about my current employment.  These are actual events that have occured at
one of the hotels where I help out at, and they serve as a warning of some
of the issues that a hotel has to deal with.

Tales from Hotel Hell Episode 1:
"Towels" the epic tale of the man from room 131

A wanderer enters the hotel and pays up front for a month's stay.  The
manager is delighted, a customer... who pays! This man is no ordinary man
though...  The local turtle beats him across the street, and his lungs are
non existant, for he hacks up chunks of them every morning.  He mistakes the
sign on the motel outside for a sign that says "Bank of America" and thus
keeps asking if he can cash checks.  He mistakes the manager as a chauffer,
as he asks for rides to the store.  He calls repeatedly to the front desk,
because he is sure that many calls were not transferred to him.  Afterall,
everyone would want to talk to such an individual.  He does not dress himself
as maids clean his room, as his figure is of magnificent beauty as all men
age 90+ are and then.  And finally, he does not like the feel of toilet
paper against his ass, he likes the feel of hotel towels.  So a tub full of
10+ towels are found in his bathtub, as he has not bathed in at least a week
and these towels have been reported to not be only stained, but to still have
live chunks of fecal matter upon them.

Tales from Hotel Hell Episode 2:
"Water, water everywhere but nary a drop to drink" the angry water god

So, a few weeks back we had some water problems.  Whilest in my room I hear
a loud "boom" and decide to go see what's going on outside.  As soon as I
exit the phone, I hear the phone ring, so I rush back into my room to
answer it.  It is the front desk, "Joe! Joe! it's flooding everywhere down
here" says the front desk assistant.  I head on down to check out what's
going on and sure enough, water pouring from the ceiling right down into our
newly built manager's office.  This office was out of commission for about
six months because of a leak from an air conditioning hose that dripped down
from the above room.  The AC leak ruined quite a bit in the office and a new
ceiling was in order.  This ceiling was installed and all office equipment
moved back in about two days prior to the brand new flood.  The main water
line broke and no employee nor city official could figure out how to turn
the water line off.  One hour later the water finally gets shut off and the
pipe is repaired about two hours later.  Meanwhile we were cleaning up the
mess the flood left behind.  I made sure the computers weren't fried as
others sucked the water out of the carpet with our wet-dry-vacuum deal.  The
water was turned back on and we thought we were safe for awhile.  I opt to
take the night shift, as the manager was quite stressed out due to personal
issues as well as work issues and they just seemed to be compounding.  So
about three hours into my desk shift, I hear a loud boom and I yell an
"oh fuck".  Sure enough, the pipe has broken again.  We get my boss back on
the phone, he gets the city workers back out to try and shut the water off
again.  Our dry carpet is wet, the new office's ceiling is falling down, and
my arms were getting tired of dumping waste cans full of water.  I help out
until the place is pretty well cleaned up at around midnight, then go off to 
sleep.  The night of hell was over, but this night would be relived many
times.  First they replace the whole pipe on Friday, but alas, this does not
please the water god, as he smites the pipe down mightily.  Next the pipe is
replaced and set to cure/sit for a day, but the water was not completely
off, so it did not cure as intended.  A day later it breaks again.  This
time the water gets shut off completely and the pipe seems to be fixed
pretty well.  Then a few days later a sprinkler line breaks, same effect as
our water main breaking.  This gets repaired, and the ordeal is considered
to be over.  No breaks for about a week and a half, but alas, on today (June
6th), the water line bursts in the boiler room.  We are up to about 7 pipe
breaks, and while these breaks occur, the water needs to be off.  This means
no showers, and worst of all, no air conditioning.  The hotel is essentially
closed and all customers sent to another hotel that my boss owns.
Unfortunately, I stay upstairs, and I tried for 2-3 days to sleep without
A/C, but I cannot due to the heat generated by my computer, as well as from
below, causing it to be about 90 degrees in my room.  

Stardate: 04/10/2003
Ack!  Blizzard has decided to upgrade SC/BW to fix some crashes and
unfortunately I moved to where the only internet access is dial-up and
satelite.  Recently I moved from Washington on March 22nd, and by a fluke
I ended up getting a job in a town called Wendover on the stateline of Utah 
and Nevada on my move back.  But now I'm stuck on a 28.8k modem connection
and I'm not sure how long my employment here will last.  I am currently
working on a few projects, but I fear that will run out in the next few
months.  Either way, it's earning me a bit of money and my room and board
and utilities are all paid for.  Oh yeah, and 1.10 support was added.

Stardate: 02/13/2003
The network... it is dead! it has ceased to be!  The owner of where I was
hosting my personal website (www.aztecmgt.com/joe/) cancelled his contract
with Cox@Work.  Unfortunately I was only notified about 12 hours before the
connection was taken offline.  A new location will be added to this readme
as soon as it's stablized.

Stardate: 01/30/2003
A no-happening Warcraft III update.  Unfortunately it was enough to throw
off my version checking.  Works fine now though! I updated the readme
a little bit.  Then Blizzard decides to update it again with another
no-happening patch.  Oh well, such is life :)

Stardate: 10/25/2002
Robin: Holy cow Batman! The cd-key grabber doesn't work with Diablo 2 Classic!
Batman: This is a situation indeed, but not for us two superheroes.  No, a
  higher power of superhero is needed!

*** The sign of the bat is removed from above gotham city and the sign of a
  spyglass is put in its place

Watson: I do say old chap, it does appear that the cd-key grabber does not
  work as reported!
Sherlock: Yes, that seems to be the case my dear friend, however I have
  tracked the culprit down.  It would seem that the cd-key is not kept in
  BattleNet memory for Diablo 2 Classic.
Watson: Bloody hell you're right Holmes, how did you figure it out?
Sherlock: By checking the memory of the process before and after certain
  function calls, I found out that the cd-key does in fact get unloaded in
  Diablo 2 Classic only.
Watson: But if it disappears, then the cd-key grabber will never be able to
  grab it, right?
Sherlock: Wrong my dear friend, by making a few modifications to the
  BattleNet code, one can easily move the cd-key to a valid location where it
  can then be read.
Watson: Good show old chap! Good show!

Stardate: 10/09/2002
Well, Blizzard slipped an update in for Warcraft 3.  The program has been
updated accordingly.

Stardate: 08/15/2002
Another update, another day.  I have been doing lots of web development
lately it seems.  I will soon be moving out of this hellish temperature into
a more cool atmosphere in Washington.  Now all I need is a nice steady job :)

Stardate: 07/15/2002
I awoke from a cruddy sleep.  I stumbled over to my computer, and before I
got my daily caffeine injection, I decided to finish updating this program.
Warcraft 3 support was added, it took a bit longer than I expected due to the
fact that I had to go through two pointer addresses rather than one like it
has been in other games.  A grueling ten minutes later, and the program was
updated to work with Warcraft 3 :)


Stardate: 02/07/2002
It would appear that blizzard finally ignores the ICMP error that is received
under XP.  Unfortunately, this means I needed to spend the five minutes to
update this program!

Stardate: 01/20/2002
Due to two years of violation, the mouse had finally passed on.  This put me
in a very peculiar position.  I could either live with a dead mouse for a
week and no longer play Return to Castle Wolfenstein, or I could travel to
unknown territory.  I sought the second option and found a race not very well
documented.  The destination was a place known as "Fry's Electronics".  I was
greeted by geeks that did not know anything about computing, but had the
"look" of an expert.  It may have been real intellect that they spotted, or
maybe they were attracted to my Right Guard Deoderant, but everywhere I went
they kept speaking in unknown tongues.  In English it sounded like:
"May I help you?" "Have you found everything alright?".  I felt I was in a
hostile environment, so I went directly to the software aisle and picked up
Warcraft 2 BNE and then to the accessories isle to pick up a non-violated
mouse.  It would appear that this strange new world would treat humans like
cattle, as they herded us to a line, then assigned us a number.  After we
were given a number, we were forced to pay a fee in order to leave the area.
I had made it back to my homeworld with only a mugging and a sense of fear.
Bluntly put, this program has been updated to reflect my purchasing of
Warcraft 2 BNE.

Stardate: 12/05/2001
It would appear that there was another wiley update to Diablo 2.  It would
also appear that Diablo 2 wasn't updated enough to cause me to have to update
my program.  If only it were always that simple.

Stardate: 11/14/2001
Recent updates have made my programming obsolete, resulting in about 10
e-mails asking for a new version.  Thanks guys, nice to know people use the
product, even one e-mail was sufficient for me to update.  Five minutes and
half a two liter bottle of Mountain Dew: Code Red later.  I was ready to
work.  Five more minutes pass.  Work has been completed, but no paycheck to
be found. I guess that's what sucks about public service, but alas I feel
warm and fuzzy inside.

