CTD: /itemnotify (using 4/24)

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Alisandra
orc pawn
orc pawn
Posts: 28
Joined: Fri Aug 30, 2002 9:55 pm

CTD: /itemnotify (using 4/24)

Post by Alisandra » Sun Apr 25, 2004 12:57 am

Output Window:

Code: Select all

[MQ2]CCommandHook::Detour(/ctrl /itemn ${FindItem[=Skin of Milk].InvSlot} leftmouseup)
[MQ2]FindInvSlotForContents(0x0F18A710) (0x0EE12228)
[MQ2]Trying pSlot=pInvSlotMgr->FindInvSlot(Slot)
[MQ2]pSlot=pInvSlotMgr->FindInvSlot(Slot) complete
[MQ2]ItemNotify: Calling SendWndClick
[MQ2]Trying CXRect rect= pWnd->GetScreenRect()
[MQ2]CXRect rect= pWnd->GetScreenRect() complete
[MQ2]Trying CXPoint pt=rect.CenterPoint()
[MQ2]CXPoint pt=rect.CenterPoint() complete
First-chance exception at 0x10000003 in eqgame.exe: 0xC0000005: Access violation writing location 0x00000000.
Last 'few' items from the call stack:

Code: Select all

 	EQGraphicsDX9.dll!10000003() 	
 	eqgame.exe!005576f8() 	
 	eqgame.exe!00409324() 	
 	eqgame.exe!005577b5() 	
 	EQGraphicsDX9.dll!10126d50() 	
 	EQGraphicsDX9.dll!10126b94() 	
 	EQGraphicsDX9.dll!10126d50() 	
 	EQGraphicsDX9.dll!1000ab95() 	
 	EQGraphicsDX9.dll!10010cfe() 	
 	EQGraphicsDX9.dll!100110a1() 	
 	EQGraphicsDX9.dll!100110be() 	
 	EQGraphicsDX9.dll!10003317() 	
 	EQGraphicsDX9.dll!10033a95() 	
 	EQGraphicsDX9.dll!1002a6b9() 	
 	EQGraphicsDX9.dll!101578cb() 	
 	eqgame.exe!004655d2() 	
 	eqgame.exe!004655db() 	
 	eqgame.exe!0054469f() 	
 	eqgame.exe!00543d87() 	
Code from where the crash occured (MQ2ChatHook.cpp@52)

Code: Select all

	VOID Detour(PCHAR szMsg, DWORD dwColor, DWORD dwUnknown) 
	{ 
		DebugSpew("CChatHook::Detour(%s)",szMsg); 
		gbInChat = TRUE; 


		CheckChatForEvent(szMsg);
 
 		BOOL Filtered=FALSE; 
		PFILTER Filter = gpFilters; 
		while (Filter && !Filtered) { 
			if (!Filter->pEnabled || (*Filter->pEnabled)) { 
				if (!strnicmp(szMsg,Filter->FilterText,Filter->Length)) Filtered = TRUE; 
			} 
			Filter = Filter->pNext; 
		} 

		if (!Filtered) { 
//			if (gTelnetServer && gTelnetConnection && !gPauseTelnetOutput) TelnetServer_Write(szMsg); 
			BOOL SkipTrampoline;
			Benchmark(bmPluginsIncomingChat,SkipTrampoline=PluginsIncomingChat(szMsg,dwColor));
			if (!SkipTrampoline)
				Trampoline(szMsg, dwColor, dwUnknown); 
		} 
		[color=green]gbInChat = FALSE; [/color]
	} 
Value of the locals/params inside that function:

Code: Select all

	dwColor	260	unsigned long
	dwUnknown	1	unsigned long
	gbInChat	0	int
-	szMsg	0x0012744c ""	char *
		0	char
	this	0x01890048	CChatHook * const
The 'Skin of Milk' exists in pack2 (not inside a backpack), and there are 16 in the stack if that makes any difference.

I get a crash using any variation of /itemn, with FindItem[] and with directly naming slots (mainhand, pack2, etc). Hope this helps track it down. I cant use half my macros atm since /click was altered to not work with packs/etc. Thanks!

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Sun Apr 25, 2004 2:18 am

solved now that i put in the debug spew. thanks.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0