View Single Post
  #4  
Old 03-01-2012, 01:43 PM
lockjaws
Fire Beetle
 
Join Date: Jun 2008
Location: UK
Posts: 13
Default

Having gone through this wonderful post

http://www.eqemulator.org/forums/sho...ighlight=debug
I was able to create a call stack from the zone debugging.

This was in Charasis (howlingstones) when clicking on the west top platform door.
Any help with this is Greatly Appreciated, Thanks.
Code:
>	Zone.exe!EntityList::GetEntityCorpse(unsigned short id=553)  Line 886 + 0x14 bytes	C++
 	Zone.exe!EntityList::GetID(unsigned short get_id=553)  Line 973 + 0xf bytes	C++
 	Zone.exe!EntityList::GetFreeID()  Line 1166 + 0xd bytes	C++
 	Zone.exe!EntityList::AddCorpse(Corpse * corpse=0x0d7d1260, unsigned int in_id=4294967295)  Line 591 + 0x8 bytes	C++
 	Zone.exe!ZoneDatabase::LoadPlayerCorpse(unsigned int player_corpse_id=3516)  Line 1743	C++
 	Zone.exe!ZoneDatabase::GetPlayerCorpseItemAt(unsigned int corpse_id=3516, unsigned short slotid=16)  Line 1618 + 0xc bytes	C++
 	Zone.exe!XS_Client_GetCorpseItemAt(interpreter * my_perl=0x02a71024, cv * cv=0x0b9284c4)  Line 5113 + 0x13 bytes	C++
 	perl510.dll!28047f15() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for perl510.dll]	
 	perl510.dll!2806ef18() 	
 	perl510.dll!2802a27f() 	
 	perl510.dll!28029f9b() 	
 	Zone.exe!Embperl::dosub(const char * subname=0x0c542a08, const std::vector<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > > * args=[...](), int mode=6)  Line 346 + 0x13 bytes	C++
 	Zone.exe!PerlXSParser::SendCommands(const char * pkgprefix=0x0018f0d4, const char * event=0x008db610, unsigned int npcid=0, Mob * other=0x0c503fa0, Mob * mob=0x0c503fa0, ItemInst * iteminst=0x00000000)  Line 159 + 0xe3 bytes	C++
 	Zone.exe!PerlembParser::EventCommon(QuestEventID event=EVENT_CLICKDOOR, unsigned int objid=0, const char * data=0x0018f164, NPC * npcmob=0x00000000, ItemInst * iteminst=0x00000000, Mob * mob=0x0c503fa0, unsigned int extradata=0)  Line 775 + 0x2c bytes	C++
 	Zone.exe!PerlembParser::EventPlayer(QuestEventID evt=EVENT_CLICKDOOR, Client * client=0x0c503fa0, std::basic_string<char,std::char_traits<char>,std::allocator<char> > data="11 0", unsigned int extra_data=0)  Line 802	C++
 	Zone.exe!QuestParserCollection::EventPlayer(QuestEventID evt=EVENT_CLICKDOOR, Client * client=0x0c503fa0, std::basic_string<char,std::char_traits<char>,std::allocator<char> > data="11 0", unsigned int extra_data=0)  Line 161	C++
 	Zone.exe!Client::Handle_OP_ClickDoor(const EQApplicationPacket * app=0x0c5429d0)  Line 5959	C++
 	Zone.exe!Client::HandlePacket(const EQApplicationPacket * app=0x0c5429d0)  Line 456	C++
 	Zone.exe!Client::Process()  Line 740 + 0xf bytes	C++
 	Zone.exe!EntityList::MobProcess()  Line 488 + 0x1a bytes	C++
 	Zone.exe!main(int argc=3, char * * argv=0x02c31a80)  Line 480	C++
 	Zone.exe!__tmainCRTStartup()  Line 266 + 0x12 bytes	C
 	kernel32.dll!75873677() 	
 	ntdll.dll!77b39f02() 	
 	ntdll.dll!77b39ed5() 	
	Zone.exe!Parser::LoadScript(int npcid=-1961784568, const char * zone=0x8b500842, Mob * activater=0xe851d84d)  Line 1071 + 0x27 bytes	C++
 	4d8b0000()
where the > is it points to this

Code:
>          if (iterator.GetData()->GetID() == id)
		{
			return iterator.GetData();
		}
		iterator.Advance();
	}
	return 0;
Reply With Quote