Code: Select all
Unhandled exception at 0x04F15801 (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x00000004.Code: Select all
DrawHUDText(char *, unsigned long, unsigned long, unsigned long, unsigned long)Code: Select all
04F15801 cmp dword ptr [eax+4],2CallStack
Code: Select all
> MQ2Main.dll!DrawHUDText(char * Text, unsigned long X, unsigned long Y, unsigned long Argb, unsigned long Font) Line 113 C++
MQ2HUD.dll!OnDrawHUD() Line 456 C++
MQ2Main.dll!PluginsDrawHUD() Line 535 C++
MQ2Main.dll!DrawHUD() Line 94 C++
MQ2Main.dll!Heartbeat() Line 318 C++
MQ2Main.dll!Detour_ProcessGameEvents() Line 378 C++
Code: Select all
if (ppDWord[1]<=2)Code: Select all
DWORD* ppDWord=(DWORD*)((PCXWNDMGR)pWndMgr)->font_list_ptr;Code: Select all
VOID DrawHUDText(PCHAR Text, DWORD X, DWORD Y, DWORD Argb, DWORD Font)
{
DWORD sX=((PCXWNDMGR)pWndMgr)->ScreenExtentX;
DWORD sY=((PCXWNDMGR)pWndMgr)->ScreenExtentY;
CTextureFont* pFont=0;
DWORD* ppDWord=(DWORD*)((PCXWNDMGR)pWndMgr)->font_list_ptr;
if (ppDWord[1]<=2)
{
pFont=(CTextureFont*)ppDWord[0];
}
else
{
pFont=(CTextureFont*)ppDWord[2];
}
if(Font!=2 && Font<12)
pFont->Font=Font;
pFont->DrawWrappedText(&CXStr((char*)Text),X,Y,sX-X,&CXRect(X,Y,sX,sY),Argb,1,0);
pFont->Font=2; // reset back to 2 or it screws up other HUD sizes
}
#endif
output window
Code: Select all
[MQ2]mq2custombinds->SetGameState(5)
[MQ2]mq2chatwnd->SetGameState(5)
[MQ2]MQ2ChatWnd::SetGameState()
[MQ2]RemoveMQ2KeyBind(MQ2CSCHAT)
[MQ2]mq2itemdisplay->SetGameState(5)
First-chance exception at 0x04F15801 (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x00000004.
Unhandled exception at 0x04F15801 (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x00000004.

donations for this month's patches.