a unique question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Gremlin
Forum Newbie
Posts: 13
Joined: Thu May 02, 2002 7:03 pm
Location: California
Contact:

a unique question

Post by Gremlin »

_is there any way that anyone may know of to take a chat bot and retrieve information from it in such a way that i can display the informtion ona web page?

specifically, i would like to use a chewbot sitting in a battle.net chat room
and a webpage to display a /who <channel> list of the people in the channel.

is this at all possible? i don't need explicit source, just an answer from someone who may be willing to look into this with me.

would the bot have to reside on the same server that the apache build is running from?

would be a very nice bit of code to have.. if not a bot, does anyone know a method of querying an irc server room?
Anthron
Forum Newbie
Posts: 8
Joined: Mon May 20, 2002 6:25 pm
Location: usa
Contact:

Re: a unique question

Post by Anthron »

Gremlin wrote:_is there any way that anyone may know of to take a chat bot and retrieve information from it in such a way that i can display the informtion ona web page?

specifically, i would like to use a chewbot sitting in a battle.net chat room
and a webpage to display a /who <channel> list of the people in the channel.

is this at all possible? i don't need explicit source, just an answer from someone who may be willing to look into this with me.

would the bot have to reside on the same server that the apache build is running from?

would be a very nice bit of code to have.. if not a bot, does anyone know a method of querying an irc server room?
In case you didn't know, battle.net no longer allows access of telnet bots, which basically means, you can't do that with battle.net
User avatar
fatal
Forum Contributor
Posts: 118
Joined: Sat Apr 20, 2002 10:47 am
Location: East Coast

Post by fatal »

Are you talking about an IRC Bot?
Anthron
Forum Newbie
Posts: 8
Joined: Mon May 20, 2002 6:25 pm
Location: usa
Contact:

Post by Anthron »

fatal wrote:Are you talking about an IRC Bot?
bnet (http://www.battle.net) does not use IRC protocols.
they use an altered version of the irc protocols, but it's not irc (at least i'm pretty sure of that).
User avatar
fatal
Forum Contributor
Posts: 118
Joined: Sat Apr 20, 2002 10:47 am
Location: East Coast

Post by fatal »

Gremlin wrote:would be a very nice bit of code to have.. if not a bot, does anyone know a method of querying an irc server room?
I was reffering to that Anthron.

Now to connect to IRC and preform commands, read up on this Gremlin:

http://www.php.net/manual/fi/ref.ircg.php
Gremlin
Forum Newbie
Posts: 13
Joined: Thu May 02, 2002 7:03 pm
Location: California
Contact:

actually.

Post by Gremlin »

you can still log bots into battle.net, the current chewbot and zd's bot emulate connections by making bnet think it is logged in as an older battlenet enabled game (starcraft, broodwars, diablo1, warcraft 2 bnet edition) and they DO require a valid cd-key to do so.

thanks for the reading reference, but alas, bnet doesnt allow standard irc connections.. i believe chewbot can dump its chat contents into a cache file, i could probably do it that way.
have the bot do the query, dump to a txt file, read text file into array,. spit it out.. erase text file contents..

id like any input on an easier way though...
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

back in my day - the days of starcraft, our clan would always load up our 30 bots our so and raid channels on battle.net

heh heh heh

the good ol' days...

even though this has nothing to do with the question, just thought i'd share ;)
Post Reply