Author Topic: BNU-Bot now supports warden!  (Read 5246 times)

0 Members and 1 Guest are viewing this topic.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
BNU-Bot now supports warden!
« on: September 16, 2009, 03:58:30 pm »
Read about it here.

<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!

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: BNU-Bot now supports warden!
« Reply #1 on: September 16, 2009, 04:35:50 pm »
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?
« Last Edit: September 16, 2009, 04:38:51 pm by rabbit »

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: BNU-Bot now supports warden!
« Reply #2 on: September 16, 2009, 05:20:06 pm »
1. How do I override the version byte?
Use a BNLS server that has the correct verbyte.

2. Does it create accounts?
Yes, it will create the account you're logging in to if it doesn't exist.

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.
« Last Edit: September 16, 2009, 05:22:03 pm by 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!

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: BNU-Bot now supports warden!
« Reply #3 on: September 21, 2009, 10:50:14 am »
(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?

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: BNU-Bot now supports warden!
« Reply #4 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.

<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!

Offline warz

  • Hero Member
  • *****
  • Posts: 1134
    • View Profile
    • chyea.org
Re: BNU-Bot now supports warden!
« Reply #5 on: September 21, 2009, 07:42:26 pm »
sounds bad
http://www.chyea.org/ - web based markup debugger

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: BNU-Bot now supports warden!
« Reply #6 on: September 21, 2009, 08:59:25 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?

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: BNU-Bot now supports warden!
« Reply #7 on: September 22, 2009, 01:28:53 pm »
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.

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!