• Welcome to Valhalla Legends Archive.
 

Open Source Project

Started by AnonProgrammer, March 19, 2004, 04:26 PM

Previous topic - Next topic

AnonProgrammer

I am an experienced .Net programmer that is interested in joining or starting an open source bot for WC3.  If there is an existing project please let me know, otherwise, can you point me to some source code (in any language) that implements a simple bot?

MyndFyre

That depends on exactly what you are looking for...

I am presently writing a .NET component, a class library, that encapsulates connecting to Battle.net with a well-known event interface (that is, an interface that can return several different types based on the requirements).

It isn't exactly "open-source," but if you are interested in either using the component or contributing to its development, you must talk to me.  I am willing to share my work, but I am hesitant of people who want to steal it.

As far as I know, I am the first one to write a binary bot in C#.  There are bots that use the chat protocol through a binary gateway such as BG3 (www.project-xbot.com is one), but they can't connect as Warcraft III.  Mine uses the vL BNLS server for authentication to Battle.net.

I'll lay the burden of getting more information on you, as you're the one interested, and I really don't care whether or not someone joins the team.

If you really don't care to do the work to actually connect to the server, then I would just wait on my component to be done.  I should have a workable beta within about a month or so, ready to connect to Battle.net, Diablo II Realms, and Botnet, and I'd be able to give it to you then.
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.

Fr0z3N

Quote from: Myndfyre on March 21, 2004, 11:40 PM

As far as I know, I am the first one to write a binary bot in C#.  There are bots that use the chat protocol through a binary gateway such as BG3 (www.project-xbot.com is one), but they can't connect as Warcraft III.  Mine uses the vL BNLS server for authentication to Battle.net.

Binary or BNLS?

Feanor made one that uses EASN

MyndFyre

Quote from: Fr0z3N on March 23, 2004, 12:11 AM
Quote from: Myndfyre on March 21, 2004, 11:40 PM

As far as I know, I am the first one to write a binary bot in C#.  There are bots that use the chat protocol through a binary gateway such as BG3 (www.project-xbot.com is one), but they can't connect as Warcraft III.  Mine uses the vL BNLS server for authentication to Battle.net.

Binary or BNLS?

Feanor made one that uses EASN

I'm not familiar with EASN.

Mine connects via BNLS.
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.

AnonProgrammer

The reason I mentioned Open Source is because I don't have the time to devote to writing my own bot with all the bells and whistles, but I do have some skills to contribute, and am curious as a programmer and WC3 player.  If you would like me to chip in send me an email at [email protected], but I understand if you don't want to share your code.  Is there any published info on BNLS, BG3 or others?

Tuberload

Quote from: AnonProgrammer on March 23, 2004, 07:56 PM
The reason I mentioned Open Source is because I don't have the time to devote to writing my own bot with all the bells and whistles, but I do have some skills to contribute, and am curious as a programmer and WC3 player.  If you would like me to chip in send me an email at [email protected], but I understand if you don't want to share your code.  Is there any published info on BNLS, BG3 or others?
http://www.valhallalegends.com/yoni/BNLSProtocolSpec.txt
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

Kp

Quote from: Myndfyre on March 23, 2004, 07:36 AMI'm not familiar with EASN.

If I remember correctly, EASN is a proxy that connects you to BNLS to do the actual work.  At least, that's how it worked back when I first heard about it.  It didn't seem worth keeping up with its development though. :P
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Dark-Feanor

No. EASN is a remote hash server that writes packets for you so that you can simply relay them to battle.net. It supports all clients except for War3 and W3XP. KP, it never worked like that, although Yoni PMed me on this forum, thinking that it did. I dont have any idea why people would think that. If you are for some reason interested, you can see the protocal here: http://www.crypticflare.com/exile/forums/index.php?showtopic=2. My clan members are mostly the only people who use the server.
I finishing wroting the connection script to my bot back in mid-november. I dont know when you had your connecting to battle.net, but I always assumed that I wrote the first C# binary bot to connect to battle.net. Recently, I have tried to write a BNLS connection in C#. PMed you (Myndfyre) for a little BNLS checksum help, but you never responded.
- Feanor[xL]
clan exile
Firebot
iago: "caps lock is like cruise control for cool"

hismajesty

QuoteI dont know when you had your connecting to battle.net, but I always assumed that I wrote the first C# binary bot to connect to battle.net.

I told you over a month ago that MyndFyre wrote it first, you even said you used some of the code he posted here. I'd think that would kind of clue you in that he had written a bot in C#.  :)

Kp

Quote from: DaRk-FeAnOr on March 28, 2004, 11:10 PMKP, it never worked like that, although Yoni PMed me on this forum, thinking that it did. I dont have any idea why people would think that.

It was stated in the vL homechannel from someone who sounded quite sure of himself.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Dark-Feanor

His packet buffer class that I latter used, was posted long after I had finished my connection script.
- Feanor[xL]
clan exile
Firebot
iago: "caps lock is like cruise control for cool"

MyndFyre

Quote from: DaRk-FeAnOr on March 29, 2004, 04:51 PM
His packet buffer class that I latter used, was posted long after I had finished my connection script.

It was also posted at least 6 months after I finished my first connection to Battle.net via both Starcraft/etc. and Warcraft III connections.
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.

Dark-Feanor

Well, then maybe you beat me to it.
- Feanor[xL]
clan exile
Firebot
iago: "caps lock is like cruise control for cool"

K

Quote from: Myndfyre on March 29, 2004, 08:53 PM
Quote from: DaRk-FeAnOr on March 29, 2004, 04:51 PM
His packet buffer class that I latter used, was posted long after I had finished my connection script.

It was also posted at least 6 months after I finished my first connection to Battle.net via both Starcraft/etc. and Warcraft III connections.

Did you use BNLS?  A while ago I ported all the necessary revision checking, decoding and hashing functions to C# (not hard at all!) without using any COM Interop -- I was suprised with how fast they were.

MyndFyre

Quote from: K on March 29, 2004, 10:38 PM
Quote from: Myndfyre on March 29, 2004, 08:53 PM
Quote from: DaRk-FeAnOr on March 29, 2004, 04:51 PM
His packet buffer class that I latter used, was posted long after I had finished my connection script.

It was also posted at least 6 months after I finished my first connection to Battle.net via both Starcraft/etc. and Warcraft III connections.

Did you use BNLS?  A while ago I ported all the necessary revision checking, decoding and hashing functions to C# (not hard at all!) without using any COM Interop -- I was suprised with how fast they were.

Yes, I use BNLS complete with revisioning and all that good stuff. :)
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.