• Welcome to Valhalla Legends Archive.
 

IRC Bot / Script

Started by Krush[LM], January 13, 2005, 07:38 PM

Previous topic - Next topic

Krush[LM]

I don't know where exactly to post this.  But I'm attempting to either find a irc bot that I can get the code for to look at, or scripts to run through Your-Bot that can help me check in real-time the status of a World of Warcraft server so players can just check with the bot to see if the server is up or down.

Anyone got ideas where to start me out at?

hismajesty

pscode.com for the irc stuff
maybe ping the server? You might have to do it a certain way though, I'm not sure if the WoW servers react to being pinged the same as regular bnet servers.

Krush[LM]

#2
Quote from: hismajesty[yL] on January 13, 2005, 07:46 PM
pscode.com for the irc stuff
maybe ping the server? You might have to do it a certain way though, I'm not sure if the WoW servers react to being pinged the same as regular bnet servers.

That's what I was thinking, but according to Blizzard they don't know of a way to check the server status with a bot.  I emailed them about ping and no response yet.

Where on pscode.com am I supposed to be looking for the mirc stuff?

R.a.B.B.i.T


Krush[LM]

Quote from: R.a.B.B.i.T on January 13, 2005, 08:50 PM
Search for "mirc" -.-

That gave me alot of useless junk.  I didn't see anything that stuck out as a real use.

Stealth

AIRC might be what you're looking for, if you're writing in Visual Basic.
- Stealth
Author of StealthBot

Krush[LM]

Quote from: Stealth on January 13, 2005, 10:11 PM
AIRC might be what you're looking for, if you're writing in Visual Basic.

I'm not too familar with vb could you tell me if there is a function in there that is parsing the chat already?

Krush[LM]

I've got some code to handle the pinging of the server.  Is there anyway short of asking Blizzard for me to get the ip of the servers?

Kp

Sure.  Ask WoW's binary. :)  More specifically, monitor the servers it contacts when you get online to play.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Krush[LM]

#9
Quote from: Kp on January 14, 2005, 10:44 AM
Sure.  Ask WoW's binary. :)  More specifically, monitor the servers it contacts when you get online to play.

Ya i got it through netstats.

I only need to add 3 things at the moment:
Another button after DCC (that starts the server pinging).
And 2 options in Perferances, one that lets you type in things to Perform on connect, and another that lets you input the WoW server IP to ping.

If someone that knows vb could help me out that'd be great, i'm mostly a c/c++ guy :(

Krush[LM]

Reply from blizz

Hello,

Our servers do not respond to communications attempts by programs other then our own, pings fail and traceroutes time out.

We are making head way in improving the server status page and how it relays information so that might be an angle to pursue.

Anyone have an idea of how I could check http://www.worldofwarcraft.com/serverstatus/ for a specific servers status through a bot?

j0k3r

Quote from: Krush[LM] on January 14, 2005, 07:42 PM
Anyone have an idea of how I could check http://www.worldofwarcraft.com/serverstatus/ for a specific servers status through a bot?
I've never done this before and have little programming experience, but what the hell. Get the HTML code for the page, parse through it to find which server you want to check (serverStatus1 goes with Agrammar, goes on), and look at the gif image associated with it (the first cell).

<td class = "serverStatus1" align = "center"><img src = "/shared/wow-com/images/icons/serverstatus/uparrow.gif" width = "18" height = "18"></td>
<td class = "serverStatus1" NOWRAP><b class = "smallBold" style = "color: #234303;">Aggramar</b></span></td>
<td class = "serverStatus1" NOWRAP><small style = "color: #234303;">Normal</small></td>
<td class = "serverStatus1" align = "left"><small style = "color: #535600;">Medium</small></td>

Agrammar is serverStatus1, uparrow.gif would be the status (downarrow.gif would be down I presume), and the normal/medium is the other two things.
HTH.
QuoteAnyone attempting to generate random numbers by deterministic means is, of course, living in a state of sin
John Vo

hismajesty

There's a way to get around Blizzard not replying to ping on regular bnet servers, I don't recall how though. I know LoRd did it so maybe he'll see this thread and post. :)

Krush[LM]

Quote from: j0k3r on January 14, 2005, 08:40 PM
Quote from: Krush[LM] on January 14, 2005, 07:42 PM
Anyone have an idea of how I could check http://www.worldofwarcraft.com/serverstatus/ for a specific servers status through a bot?
I've never done this before and have little programming experience, but what the hell. Get the HTML code for the page, parse through it to find which server you want to check (serverStatus1 goes with Agrammar, goes on), and look at the gif image associated with it (the first cell).

<td class = "serverStatus1" align = "center"><img src = "/shared/wow-com/images/icons/serverstatus/uparrow.gif" width = "18" height = "18"></td>
<td class = "serverStatus1" NOWRAP><b class = "smallBold" style = "color: #234303;">Aggramar</b></span></td>
<td class = "serverStatus1" NOWRAP><small style = "color: #234303;">Normal</small></td>
<td class = "serverStatus1" align = "left"><small style = "color: #535600;">Medium</small></td>

Agrammar is serverStatus1, uparrow.gif would be the status (downarrow.gif would be down I presume), and the normal/medium is the other two things.
HTH.

You'd think that at first look but serverStatus1 is just the color of the row in the table it alternates between that and serverStatus2

j0k3r

Ah, well you get the idea I'm sure.
QuoteAnyone attempting to generate random numbers by deterministic means is, of course, living in a state of sin
John Vo