[gameprogrammer] Re: MUD Server "protocols"?

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.

Cheers,

Stephen



Alan Wolfe wrote:

i wrote a mud before a couple years back and if you do just straight up simple telnet, any mud client should work fine.
there are some muds out there which either use their own protocol or use an protocol that is extended from regular telnet.
BUT! any mud client which is a "general purpose mud client" and not aimed to work only with 1 specific type of mud client should work fine with your standard telnet mud.
smog, circle mud, etc all are just standard telnet.
So, i'd have to say it sounds like a problem with your code, especially if it's causing your mud server program to crash (:
On 6/11/06, *Chris Nystrom* <cnystrom@xxxxxxxxx <mailto:cnystrom@xxxxxxxxx>> wrote:


    On 6/11/06, Stephen Smith <gp@xxxxxxxxxxxxxxxxxxxxxxxx
    <mailto:gp@xxxxxxxxxxxxxxxxxxxxxxxx> > wrote:
    >
    > Is there some kind of protocol that I'm missing here?

    I have never written a MUD, but it looks like there might be more than
    one protocol:

    http://www.google.com/search?sourceid=gmail&q=mud%20protocol
    <http://www.google.com/search?sourceid=gmail&q=mud%20protocol>

    Chris

    --
    E-Mail: Chris Nystrom <cnystrom@xxxxxxxxx <mailto:cnystrom@xxxxxxxxx>>
    http://www.newio.org/ <http://www.newio.org/>
    AIM: nystromchris


--------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html








--------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: