News:

Pretty crazy that we're closer to 2030, than we are 2005. Where did the time go!

Main Menu

IRC Battle.net gateway

Started by nslay, October 26, 2007, 11:10:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nslay

Hi everybody,
Haven't worked much on ircbnet since a couple days ago ... I did the bare minimum to make BNX work.  I've thought of a better user interface and API for it but I wonder...would any of you
a) Have use for it
b) Expand it to use other battle.net protocols

If not, I don't really see any reason to finish it.

Here are some ideas for an improved interface:
- Allow multiple connections...each connection has its own IRC context
This would be accomplished by creating a fake login sequence and joining the client to "The Void" initially...the client then can issue a "/server <irc server> [<irc port>]" command to invoke a connect.  Could also add other connect-time commands.
- Generalized protocol API
This would be accomplished in C using a struct of generalized bnet protocol event function pointers (relevant to chatting!)...this way the IRC portion of the code can transparently translate IRC events to Battle.net events.  This is how bunker bnet operates...except without the IRC portion.
- More intelligent IRC context
Presently, the IRC code in ircbnet just does simple translations ... it does not store information about IRC (e.g. like the users in the channel)

One very big problem with this interface is that bots like BNX do not know to send "/server" command on login...

Thoughts, ideas, comments?
An adorable giant isopod!

rabbit

I like IRC, and I'd love to see this expanded on that front.  I'm not sure if I'd do anything on the Battle.net side, though.