|
bozimmerman Beginner
Joined: 17 Nov 2004 Posts: 12
|
Posted: Sat Jan 21, 2006 7:39 pm
Is there a MCCP client trick? |
I'm not sure this question would be overly welcome here, but I honestly had nowhere and noone else I could ask. So here goes.
I just implemented MCCP for the CoffeeMud codebase. ZMUD likes it just fine, once I made sure I was using the Z_DEFAULT_COMPRESSION for compression and Z_FLUSH_SYNC flush mode.
However, when I try to do the mirror side of this in Siplet (the little web-based applet mud client), I get nothing but garbage. Siplet waits for the proper telnet codes from the server, announcing that the compressed stream begins NOW (IAC,SB,COMPRESS2,IAC,SE) and then switches to the zlib compressed inputstream, using default compression and flush_sync just like the mud does. However, despite the zlib library's lack of complaint, I get nothing but garbage characters.
I'm wondering if the ZMUD authors might be willing to share any secret or trick they used in ZMUD to correctly begin decompressing the stream from mccp servers.
Thanks for any reply...
- Bo Zimmerman |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jan 23, 2006 6:12 pm |
No, I'm not aware of any tricks in zMUD. It's been a long time since I implemented it, but I remember just reading the MCCP spec and that it was pretty easy and straightfoward. I don't remember having any trouble like this.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|