• Welcome to Valhalla Legends Archive.
 

Here is my example of a Visual Basic 6 War3:FT login bot

Started by djuhn, October 18, 2006, 09:15 AM

Previous topic - Next topic

djuhn

The purpose of my bot is to
1. download a list of cdkeys from an internet page
2. check the availability of a cdkey (using bnls to encrypt the key)
3. 1-click cdkey changing of both warcraft 3 and frozen throne keys.

Why did I code this? sick of all my keys being in use all the time and having to change them manually.

Posting this just so people can see a (dirty) implementation of a logon sequence. I know I would have appreciated it when I made this.

I don't know how much there is by way of error catching as I never really intended this to go public.

What's needed to get it to work:
A text file containing cdkeys in pairs, a War3 key and an FT key then a War3 key then an FT key, etc, with hyphens in appropriate places and each key on a new line,  and a new line at the end of the file eg

-----------file starts below this-----------------------
ABCDEF-1234-ABCDEF-1234-ABCDEF
GHIJKL-5678-GHIJKL-5678-GHIJKL
MNOPQR-9012-MNOPQR-9012-MNOPQR
STUVWX-3456-STUVWX-3456-STUVWX

-----------file ends above this-----------------------
put this file on a webserver somewhere and change
Const sURL = "http://www.mywebserver.com/folder/keys.dat"
to point appropriately.

To change keys, put the cdkey changers (included) in the same folder as the project.

http://members.optusnet.com.au/djuhn/keychanger.zip

Ask here if you have any questions or if you want to tell me off for my dirty code.
(Possibly used the worst possible method to handle byte data, but hey, thats what you get from self teaching VB)

MyndFyre

Quote from: djuhn on October 18, 2006, 09:15 AM
Why did I code this? sick of all my keys being in use all the time and having to change them manually.
How about you just go BUY the game and then you don't need to worry about your key being in use?
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

AntiVirus

Quote from: MyndFyre[vL] on October 18, 2006, 01:27 PM
Quote from: djuhn on October 18, 2006, 09:15 AM
Why did I code this? sick of all my keys being in use all the time and having to change them manually.
How about you just go BUY the game and then you don't need to worry about your key being in use?
That doesn't always work.  I bought my game and my key for my client is always in use by some bot and I have never given out my key and/or put my key in a bot.  So eh?
"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

MyndFyre

Quote from: AntiVirus on October 18, 2006, 01:36 PM
Quote from: MyndFyre[vL] on October 18, 2006, 01:27 PM
Quote from: djuhn on October 18, 2006, 09:15 AM
Why did I code this? sick of all my keys being in use all the time and having to change them manually.
How about you just go BUY the game and then you don't need to worry about your key being in use?
That doesn't always work.  I bought my game and my key for my client is always in use by some bot and I have never given out my key and/or put my key in a bot.  So eh?
So eh what?  That's when you call Blizzard and say, "WTF???"
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

topaz

Quote from: AntiVirus on October 18, 2006, 01:36 PM
Quote from: MyndFyre[vL] on October 18, 2006, 01:27 PM
Quote from: djuhn on October 18, 2006, 09:15 AM
Why did I code this? sick of all my keys being in use all the time and having to change them manually.
How about you just go BUY the game and then you don't need to worry about your key being in use?
That doesn't always work.  I bought my game and my key for my client is always in use by some bot and I have never given out my key and/or put my key in a bot.  So eh?

Whine much?
RLY...?

Mystical

 You can buy CDKeys for 10$ each, no wonder the nerdy rich kids are loadin

Maddox

Quote from: Mystical on October 18, 2006, 06:34 PM
You can buy CDKeys for 10$ each, no wonder the nerdy rich kids are loadin
they probably disable the old one, you idiot
asdf.

rabbit

QuoteIf the CD case is missing then there will be a fee of $10 for your key replacement. In this instance, the existing key will not be disabled. You can send the manual or game CD with a $10 US dollar money order for each CD-Key replacement, no personal check or cash will be accepted. If it has been less than 90 days since you have purchased the game and you include a copy of the sales receipt showing the purchase date within 90 days, the $10 fee will be waived.
lern2rid
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Mystical

Quote from: Maddox on October 18, 2006, 08:13 PM
Quote from: Mystical on October 18, 2006, 06:34 PM
You can buy CDKeys for 10$ each, no wonder the nerdy rich kids are loadin
they probably disable the old one, you idiot

If i only was in this situation. =\

leax

Warcarft3 Custom Game Host Bot Development
http://www.codelain.com