• Welcome to Valhalla Legends Archive.
 

[RB] Useing BNLS

Started by Luxer, July 19, 2004, 06:37 PM

Previous topic - Next topic

eBeL

Last I checked JXBot doesnt join private channels :|

eBeL

Quote from: eBeL on August 11, 2004, 03:27 PM
Last I checked JXBot doesnt join private channels :|

I compiled it fine after doing TONS of changes... but it doesnt connect!

MyndFyre

Quote from: eBeL on August 11, 2004, 03:54 PM
I compiled it fine after doing TONS of changes... but it doesnt connect!
Quote from: tA-Kane on August 11, 2004, 12:04 PM
Then it's just a matter of learning JXBot's code and redoing the connection code to support a binary connection.

Also, please do not post twice in a row.  If you are the last person to have posted, please click the "Modify" link of your post, unless the content matter has changed significantly enough to warrant everyone reading it again.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

eBeL

Oh sry I normally look for "Edit"

The thing is, I DO NOT KNOW BINARY :(

MyndFyre

#19
Quote from: eBeL on August 11, 2004, 07:52 PM
Oh sry I normally look for "Edit"

The thing is, I DO NOT KNOW BINARY :(

Quit whining and learn it then.

I didn't know how to make a binary connection to Battle.net before about a year ago.  If you demonstrate that you have motivation to work here, people will help you.

And now look at me!

011000110101101000110101001101011010111001011001110101001101110
001110011010101100011010000101000101010001111001010101000111100
0101010010111001010001101101010000111110101001011101010010101110101010101

[edit] I put in line breaks. [/edit]

And that's just a small portion of what I know!
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Eli_1

01100011 01011010 00110101 00110101 10101110 01011001 11010100 11011100 01110011 01010110 00110100 00101000 10101000 11110010 10101000 11110001 01010010 11100101 00011011 01010000 11111010 10010111 01010010 10111010
1010101

---->

cZ55®YÔÜsV4(¨ò¨ñRåPú—Rºª



You haven't learned anything!

MyndFyre

#21
LMAO!  omg Eli!  I was totally just typing random 1's and 0's, and after you posted what you posted -- was that what you had on the other thread -- we got the first 24 identically?!?

Psh that's not what you posted:
Quote from: Eli_1 on August 11, 2004, 06:09 PM
00111110 01100101 01101011 01101111 01101010 00101111 00111100 00100000 01010000 00111010 00100000 00100001 01111001 01110010 01100001 01101110 01101001 01100010 00100000 01110111 01101111 01101110 01101011 00100000 01001001

QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Eli_1

No, mine actually means somthing. I just spaced yours like mine so it lined up, oh so nicely.  :)

MyndFyre

Quote from: Eli_1 on August 11, 2004, 09:07 PM
No, mine actually means somthing. I just spaced yours like mine so it lined up, oh so nicely.  :)

Oh I see what you're saying now.

Mine is.... uh.... in... North...  Korean.....  They are just using the wrong encoding.  Yeah, that's it.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

eBeL

Quote from: MyndFyre on August 11, 2004, 07:55 PM
Quote from: eBeL on August 11, 2004, 07:52 PM
Oh sry I normally look for "Edit"

The thing is, I DO NOT KNOW BINARY :(

Quit whining and learn it then.

I didn't know how to make a binary connection to Battle.net before about a year ago.  If you demonstrate that you have motivation to work here, people will help you.

And now look at me!

011000110101101000110101001101011010111001011001110101001101110
001110011010101100011010000101000101010001111001010101000111100
0101010010111001010001101101010000111110101001011101010010101110101010101

[edit] I put in line breaks. [/edit]

And that's just a small portion of what I know!

How or where can I do that?

l)ragon

Quote from: eBeL on August 12, 2004, 10:11 AM
Quote from: MyndFyre on August 11, 2004, 07:55 PM
Quote from: eBeL on August 11, 2004, 07:52 PM
Oh sry I normally look for "Edit"

The thing is, I DO NOT KNOW BINARY :(

Quit whining and learn it then.

I didn't know how to make a binary connection to Battle.net before about a year ago.  If you demonstrate that you have motivation to work here, people will help you.

And now look at me!

011000110101101000110101001101011010111001011001110101001101110
001110011010101100011010000101000101010001111001010101000111100
0101010010111001010001101101010000111110101001011101010010101110101010101

[edit] I put in line breaks. [/edit]

And that's just a small portion of what I know!



How or where can I do that?

Grade 9 'general or advanced' intro to computers class.
*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*ˆ¨¯¯¨ˆ*^~·.,l)ragon,.-·~^*ˆ¨¯¯¨ˆ*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*

tA-Kane

Quote from: dRAgoN on August 12, 2004, 10:43 AM
Quote from: eBeL on August 12, 2004, 10:11 AMHow or where can I do that?
Grade 9 'general or advanced' intro to computers class.
I never went to 8th grade. I also have not been to 9th grade either.

eBeL, if you've seriously been able to get JXBot to compile after a number of fixes, then I congradulate you. You've now been further than about 20 other people I've talked to over emails.

Take some time and learn JXBot's code. REALbasic has a built-in debugger. Use that. Figure out why JXBot isn't connecting. Is it actually connecting, but parsing wrong? Are you telling it to connect, but it has the wrong address information input into the socket? All of these could be possible, it's your problem to find a solution.

If it were me, I'd set a breakpoint on the menu handler for connect (if I remember correctly, JXBot would connect via a menu). Then, I'd always do command-[ (step-into) to follow along the code as it goes, and find where it's going awry.

Also, even though JXBot is a CHAT bot (thusly, it cannot go into private channels, as you've stated), it's still a good code base. Chip away the old and bring about the new, and you will have a ready-made bot with ready users. Just don't be silly enough to change the name  ;)

I beleive you and Luxer were working on LuxerBot's auto-update feature together, were you not? If so, you could both look at this JXBot source code and try to devise a solution. Two heads are usually better than one.

If you can get JXBot to connect to the CHAT gateway, talk, display whispers and joins and leaves and all that, and have bot actions, I might help you with getting it working on a binary connection. Take the initiative to show you've got the intelligence.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

eBeL

#27
Alright, well I am off to get JXBot to connect :P
I think it may have to do with the IP for the Bnet servers.

EDIT:
I changes the server IPS and connect but this is what I get:
<••©2000 Kevin Wood••>
<••All rights reserved••>
Connected! Logging in...
Connectionfrom[**********]

Enteryouraccountnameandpassword.
Use'anonymous'ifyouonlywanttoissuequeries.


Username:

MyndFyre

Quote from: eBeL on August 12, 2004, 11:38 AM
Alright, well I am off to get JXBot to connect :P
I think it may have to do with the IP for the Bnet servers.

EDIT:
I changes the server IPS and connect but this is what I get:
<••©2000 Kevin Wood••>
<••All rights reserved••>
Connected! Logging in...
Connectionfrom[**********]

Enteryouraccountnameandpassword.
Use'anonymous'ifyouonlywanttoissuequeries.


Username:


As Kane has said no less than twice.... JXBot is a CHAT bot.  That means it uses the CHAT protocol, not binary protocol.  The CHAT protocol is essentially a telnet connection over port 6112.

Anyway, you'll enter your name and password there manually and be able to log in and chat in *public* channels.

What Kane also suggested you do after that is to look into converting into a binary connection.

There are ooodles and ooodles of information on binary connections in the vL forums.  Check out the forum above this one (Battle.net Bot Development Reference I believe it is called), and look for information on getting started.  Better yet, search!
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

eBeL

#29
It connects but doesnt log in, then loses the connection, I am going to look at the TCPsocket, it was usng a regular socket before, and get it to log in like with my chat bot I made before. (It is just a simple client with no commands and a very bad interface)

EDIT: I got it to connect!
Here is a screenshot, how can I fix the editfield? (the main chat box that receives people actions)
http://www.theipn.com/JX-OSX.jpg