On Tue, 21 May 2002, Michael Weiss wrote: > Ok, I have a problem and I've been unsuccessful at figuring out why this is > happening. I installed Lopes colour yesterday and it seems to be working > fine, with one exception. Everything that is displayed to a character shows > up twice. In colour mode, the first instance shows up as expected. The > second instance shows up with colour tags in the display. In colour off > mode, both show up as a duplicate display. This duplication shows up for > all channels, emotes, socials and entry/exit messages.
First I'd like a little clarification: You said "everything that is displayed to a character shows up twice", then later you said "this duplication shows up for all channels, emotes, socials and entry/exit messages". Which is it? Without seeing any code, the best guess I have is that in the place where color codes are converted to ANSI, the converted string is sent to the character, but then the non-converted one is sent as well. I haven't looked at Lope's code in years, so I might be a little off on this. But I think I remember him converting the color codes into ANSI in several different places: send_to_char(), act(), etc. That is why I would like the symptoms clarified. With Lope's system, I don't know what could cause this duplication for *everything*. But if it's just channels, emotes, etc. (anything that calls the act() function), it could easily be an extra write_to_buffer() inside the act() function. > Any ideas? Has anyone encountered this before? > > Thanks for you insight. > > -Mike Without seeing some code, that's the best I can do. Dennis

