[gameprogrammer] Re: MUD Server "protocols"?
- From: Stephen Smith <gp@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sun, 11 Jun 2006 17:21:45 +0100
Matthew Weigel wrote:
Stephen Smith wrote:
Thanks for all your suggestions, but I've solved it, and it was a
pretty silly mistake. As I said, I was using the writeChars() method
to send the data back to the clients. This actually send each
character as two-bytes, which I guess the MUD clients interpreted as
two seperate characters, which rendered the text as gibberish. I now
use writeBytes().
I'm still curious about how come it still worked for telnet programs
though, but it works fine now.
Were you testing with any telnet other than Windows telnet?
Yes, I used standard Linux telnet as well. It worked equally well in both.
Steve
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- Follow-Ups:
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Alan Wolfe
- References:
- [gameprogrammer] MUD Server "protocols"?
- From: Stephen Smith
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Chris Nystrom
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Alan Wolfe
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Stephen Smith
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Matthew Weigel
Other related posts:
- » [gameprogrammer] MUD Server "protocols"?
- » [gameprogrammer] Re: MUD Server "protocols"?
- » [gameprogrammer] Re: MUD Server "protocols"?
- » [gameprogrammer] Re: MUD Server "protocols"?
- » [gameprogrammer] Re: MUD Server "protocols"?
- » [gameprogrammer] Re: MUD Server "protocols"?
- » [gameprogrammer] Re: MUD Server "protocols"?
Stephen Smith wrote:
Thanks for all your suggestions, but I've solved it, and it was a pretty silly mistake. As I said, I was using the writeChars() method to send the data back to the clients. This actually send each character as two-bytes, which I guess the MUD clients interpreted as two seperate characters, which rendered the text as gibberish. I now use writeBytes().
I'm still curious about how come it still worked for telnet programs though, but it works fine now.
Were you testing with any telnet other than Windows telnet?
Yes, I used standard Linux telnet as well. It worked equally well in both.
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Alan Wolfe
- [gameprogrammer] MUD Server "protocols"?
- From: Stephen Smith
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Chris Nystrom
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Alan Wolfe
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Stephen Smith
- [gameprogrammer] Re: MUD Server "protocols"?
- From: Matthew Weigel