View Single Post
  #2  
Old 02-19-2013, 12:25 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

it looks as though it's because Client::OnDisconnect (which is where the parsing of that event happens) is only called if the client is a GM.

Code:
void Client::Handle_OP_Camp(const EQApplicationPacket *app) {
#ifdef BOTS
	// This block is necessary to clean up any bot objects owned by a Client
	Bot::BotHealRotationsClear(this);
	Bot::BotOrderCampAll(this);
#endif
	if(IsLFP())
		worldserver.StopLFP(CharacterID());

	if (GetGM()) 
	{
		OnDisconnect(true);
		return;
	}
	camp_timer.Start(29000,true);
	return;
}
i'm not sure if the original intent of the event was to catch anything except for sudden disconnects.
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote