diff --git a/bin/pseuwow-release b/bin/pseuwow-release deleted file mode 100755 index 53e7e1b..0000000 Binary files a/bin/pseuwow-release and /dev/null differ diff --git a/bin/scripts/__core_chatAI.def b/bin/scripts/__core_chatAI.def index 118d88f..1f33d8a 100644 --- a/bin/scripts/__core_chatAI.def +++ b/bin/scripts/__core_chatAI.def @@ -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 diff --git a/src/Client/World/WorldSession.cpp b/src/Client/World/WorldSession.cpp index 6caf455..0afabb4 100644 --- a/src/Client/World/WorldSession.cpp +++ b/src/Client/World/WorldSession.cpp @@ -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(); } }