Re: Sound plugin - mud_filter_hook removes highlighting?

will guaraldi <[email protected]> Mon, 9 Aug 2004 09:03:01 -0500 (CDT)
Newsgroups gmane.comp.games.mud.client.lyntin
Message-ID <[email protected]>
I think you need to return args["dataadj"] and not args["data"].

It looks like the API docs haven't been updated on the web-site since 4.0
beta 2.  I'll try to do that today.  Even so, the documentation for the
mud filter hook looks the same.

I have no idea if the msp module works in Lyntin 4.0.  I suspect not.
Even so, it only worked in Linux, so (assuming your module works nicely)
I would keep your module the way it is since cross-platform and pymedia
are probably better architectural choices.

Nice work!  Lyntin benefits greatly from a sound module.

/will


On Mon, 9 Aug 2004 [email protected] wrote:
>
> Oups, I have to bother you again
>
> This time it's another stupid question. In my mud_filter_hook handling
> function, I simply return args['data'] in the end. This however only seems
> to work halfway - the filters I have defined with
>
> #highlight {yellow} {something}
>
> don't work any longer. I guess my returned value lacks some information, am
> I correct here? Unfortunately, I haven't found the required format in the
> documentation :(
>
> By the way, the 0.5 version of my sound plugin can be attained at my
> homepage: http://www.haslo.ch/permalink_303~en
>
> While browsing the Lyntin archives I have found a thread about MSP (MUD
> Sound Protocol) - I hope I'm not reinventing the wheel ... does the
> Lyntin sound module still work in Linux only? Maybe I'll rewrite my
> plugin otherwise to use that sound module. However, PyMedia looks really
> useful, and works cross-platform.
>
> Thanks
> Guido


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com