Page 1 of 1

MQ2ChatWnd lags after too much text

Posted: Sat Jun 05, 2004 11:14 am
by Midnight
Talked with MacroFiend last night and another guy in IRC about this problem last night.. and even MF couldn't figure it in the time we had.. so I figured I'd post the issue. Another guy had chimed in immediately after I brought up my concern, so I know that others are getting the same problem.

This was happening with the previous zip.. but is also happening in the June 2nd zip. According to MF, ChatWnd 'previously' appended a buffer file in ChatWnd that would result in intense lag after too much text was displayed in the window... yet it still exists after a full 'bottom up' install of MQ2 per the new zip.

It was suggested that I drop the #define MAX_CHAT_SIZE 700 down to 200.. I recompiled the plugin and the issue still occurred.

Basically what happens is this (an exacmple): When MQ2 first loads.. you can type /who npc.. and 100 mobs will show up.. type it 2 more times and it still displays at the normal fast rate. Type it 4th, 5th time.. it starts lagging me down to 2 or 3 fps .. and text comes in at about a line every quarter second or so. I did a /who in plane of knowledge last night and it took bout a minute to get through the list before I could even move my character again. It's not just /who.. its basic text coming into the window in general.. After using macros that display /echos for too long.. it starts slowing down macros and other commands that output text to the ChatWnd. I know this is a common issue now.. I tried compiling the new zip in VC6 as well as V.NET.

Just letting whoever know so they can take a look at it. Thanks much

Posted: Sat Jun 05, 2004 2:21 pm
by Amadeus
My suggestion is to not use the mq2chatwnd plugin :)

Real MQers use mq2chat without mq2chatwnd. The rest of you need to grow balls..haha.


..yea yea, I'm just kidding...don't everyone get your panties in a wad! I'm sure Lax will have an idea what is wrong...sounds like a memory issue of some sort.

Posted: Sat Jun 05, 2004 2:25 pm
by koad
This happens alot to me as well, especially after being on a while, then pushing big outputs in the buffer like /who npc

Posted: Sat Jun 05, 2004 5:44 pm
by GD
Reload the ui, always seems to help it for me.

Posted: Thu Jun 17, 2004 6:34 pm
by MSMage
I dont know that this was addressed and this may be wrong but editing out this line in MQ2chatwnd.cpp

Code: Select all

   strcat(szProcessed,"<br>"); 
seems to be what is causing this.When i compiled after the patch i forgot to edit that line, did a few /who npc's in highly populated zones(PoK) and it worked just fine, but the lag came back when i edited it out. I for one edited this out to remove the space between lines in the output window, anyway to get this changed so that it doesnt lag with it gone?