Initial MSVC 2008 projects workspace

This commit is contained in:
alexey.min
2012-02-01 05:25:08 +00:00
commit 03de3bdc95
1446 changed files with 476853 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include "stdafx.h"
#include "Logger.h"
#include "L2Client.h"
void L2Client::ph_AuthLoginFail( class L2Client *pcls, L2GamePacket *p )
{
L2Game_AuthLoginFail *paf = new L2Game_AuthLoginFail(
(unsigned char *)p->getBytesPtr(), p->getPacketSize() );
if( paf->parse() )
{
char reason[256] = {0};
L2Game_AuthLoginFail::reasonCodeToString( paf->p_reasonCode, reason );
log_error( LOG_ERROR, "AuthLognFail: %s\n", reason );
pcls->addChatToTabFormat( CHAT_SYS, L"Game AuthLoginFail: %S", reason );
}
delete paf;
paf = NULL;
pcls->disconnectClient(true);
}