News:

So the widespread use of emojis these days kinda makes forum smileys pointless, yeah?

Main Menu

BNU-Bot now supports warden!

Started by Camel, September 16, 2009, 03:58:30 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Camel


<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

rabbit

#1
Three questions:
1. How do I override the version byte?
2. Does it create accounts?
3. How do I make it connect to not Battle.net?

Camel

#2
Quote from: rabbit on September 16, 2009, 04:35:50 PM
1. How do I override the version byte?
Use a BNLS server that has the correct verbyte.

Quote from: rabbit on September 16, 2009, 04:35:50 PM
2. Does it create accounts?
Yes, it will create the account you're logging in to if it doesn't exist.

Quote from: rabbit on September 16, 2009, 04:35:50 PM
3. How do I make it connect to not Battle.net?
Like PvPGN? That's non-trivial, because the bot needs to know what namespace it's on (@USEast, et al), which I consider to be a matter of security. You'd have to modify at least two different source files to hardcode a new server, or to enhance the bot to allow custom servers. If you want more info, PM or visit #Clan BNU@USEast.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

rabbit

(TextWindow) Couldn't open URL: Cannot run program "netscape": java.io.IOException: error=2, No such file or directory

It's assuming I'm using netscape?

Camel

It assumes you have a symlink named netscape or firefox or something common. I don't think it would work on Linux even if you did, though.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

warz

http://www.chyea.org/ - web based markup debugger

rabbit

Quote from: Camel on September 21, 2009, 04:21:59 PM
It assumes you have a symlink named netscape or firefox or something common. I don't think it would work on Linux even if you did, though.
Assuming is bad.  When u assume stuff about me, u make u an ass but not me.

Anyway, I use a build of Firefox called Swiftfox, and I am on Linux.
Also, can you help me make it work on PvPGN?

Camel

As I said, I don't think it would work even if you had real netscape. I've never tested it, since my Linux box doesn't have X.

Quote from: rabbit on September 21, 2009, 08:59:25 PM
Also, can you help me make it work on PvPGN?
Look at ConnectionSettings.java

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!