Page 1 of 1

MQ2 BUG: MQ Chat Window

Posted: Sat Nov 15, 2003 10:45 pm
by MacroFiend
When zoning, a new MQ Chat window is created. If you attempt to unload the MQChatWnd plugin after a second window has been created, you will CTD

Edit: Using 20031115d code

Posted: Sat Nov 15, 2003 10:59 pm
by Lax
ok. GameState goes through a series of changes during zoning, MQChatWnd was using this callback to initialize the window and ignored whether or not there was already a window allocated.

MQChatWnd.cpp

Code: Select all

PLUGIN_API VOID SetGameState(DWORD GameState)
{
	if (GameState==GAMESTATE_INGAME [color=red]&& !MQChatWnd[/color])
Updating cvs, zip will be fixed shortly.