Re: mccp module
"S.Aeschbacher" <[email protected]> Tue, 14 Dec 2004 23:24:06 +0100
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your answer. I will test your mccp module with the mud I am using and give you feedback. regards Stefan On Mon, Dec 13, 2004 at 12:24:00PM -0600, will guaraldi wrote: > > You're right--that's a total screwup on my part when I re-designed the > network module. It really requires a re-write of the module and handling > of incoming and outgoing data. > > However, I wrote an MCCP module based on... hrm... based on Conan's > code. Though I didn't have a good place to test it since I don't play on > any MCCP-enabled muds. Anyhow, it's attached. See if this module > helps your success rate with MCCP. > > /will > > > On Sun, 12 Dec 2004, S.Aeschbacher wrote: > >Hi > > > >I hacked together a module which would offer MCCP functionality. > >On the server I use it SOMETIMES works (with MCCPv2). > > > >One problem I see is the following: > >According to the specification of MCCP [1], the server starts > >to send compressed data directly after having sent the telnet > >option (IAC SB COMPRESS2 IAC SE for MCCPv2) which indicates the start > >of the compressed data. So this option can be at the start of a > >chunk of data that is compressed (all except the option). > >The problem is, _filterIncomingData has already been called when > >the handleNego method is running. When this first part is not sent > >through the decompressor object, the whole stream is out of > >sync and nothing works... > > > >At the moment I don't see how I can repass the data through the > >decompressor. Any hints or ideas? > >Or am I searching in the wrong place? > > > >regards > > > >Stefan > > > > > >[1] (http://mccp.afkmud.com/protocol.html) > > > > -- > whatever it is, you can find it at http://www.bluesock.org/~willg/ > except Will--you can only see him in real life. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/