* fixed problem with CHAT_MSG_WHISPER_INFORM in chatAI. thx cobalt for pointing out the problem!

* reconnect also if realm server gives unknown answer in AuthResponse
* deleted old linux binary
This commit is contained in:
false_genesis 2008-06-17 20:56:59 +00:00
parent 342bce125e
commit e52420ae52
3 changed files with 10 additions and 7 deletions

Binary file not shown.

View File

@ -53,7 +53,7 @@ if ?{equal,${@myguid} ${@2}}
endif
// filter out CHAT_MSG_WHISPER_INFORM ("whisper to ... : blah blah")
if ?{equal,${@0} 7}
if ?{equal,${@0} 8}
return false
endif

View File

@ -524,14 +524,17 @@ void WorldSession::_HandleAuthResponseOpcode(WorldPacket& recvPacket)
{
uint8 errcode;
recvPacket >> errcode;
if(errcode==0xC){
logdetail("World Authentication successful, preparing for char list request...");
if(errcode == 0xC)
{
logdetail("World Authentication successful, preparing for char list request...");
WorldPacket pkt;
pkt.SetOpcode(CMSG_CHAR_ENUM);
SendWorldPacket(pkt);
} else {
logcritical("World Authentication failed, errcode=0x%X",(unsigned char)errcode);
GetInstance()->SetError();
SendWorldPacket(pkt);
}
else
{
logerror("World Authentication failed, errcode=0x%X",(unsigned char)errcode);
SetMustDie();
}
}