Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the chat gateway protocol #14

Open
carlbennett opened this issue Sep 27, 2015 · 6 comments
Open

Implement the chat gateway protocol #14

carlbennett opened this issue Sep 27, 2015 · 6 comments
Assignees
Labels
Milestone

Comments

@carlbennett
Copy link
Owner

It's already added to the configuration window, but doesn't work online.

@carlbennett carlbennett self-assigned this Sep 27, 2015
@carlbennett
Copy link
Owner Author

Turns out it's not even implemented. Nothing happens after it sends 0x03.

@madhatr
Copy link

madhatr commented Sep 29, 2015

Don't you have to send 0x03 0x04 ?

@carlbennett
Copy link
Owner Author

0x03 tells bnetd that you want to use the Telnet protocol. 0x04 tells bnetd that you want to disable echoing your input back. Although no custom servers properly handle 0x04 and BNETDocs is lacking in that area.

I have plans to refactor the documentation on the subject.

@madhatr
Copy link

madhatr commented Sep 29, 2015

I see you are correct, I've changed my bot to just send only 0x03 byte. It connects to emwar servers just fine without the 0x04.

@carlbennett
Copy link
Owner Author

Using emNet as a source of truth is asking for trouble. They only just yesterday implemented packet overflow protection. They still don't have UDP support, so clients that actually ask the server for its UDP code instead of always providing 0x74656e62 (bnet if you decode it as a string) will always have the plug icon (like BNRBot).

See also:

emNet doesn't implement these PKTs yet.

@carlbennett
Copy link
Owner Author

This issue should be reverified to see if it's still an issue. There have been changes to the way BNRBot handles Telnet/Chat protocols since the implemenation of Init 6 in #41.

@carlbennett carlbennett modified the milestone: BNRBot v2 Jan 26, 2017
@carlbennett carlbennett changed the title Get the telnet protocol working Implement the chat gateway protocol Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants