Fix chat to use GUID instead of host ID.

Fix randomly incorrect player names.
Fix script errors when connecting to an invalid IP address.
Adjust the server/client disconnection messages to be a bit more
accurate.

This was SVN commit r7946.
This commit is contained in:
Ykkrosh
2010-08-14 19:45:22 +00:00
parent 025b7960f8
commit 64daef95df
7 changed files with 43 additions and 36 deletions
+1 -1
View File
@@ -484,7 +484,7 @@ bool CNetServer::OnChat(void* context, CFsmEvent* event)
CChatMessage* message = (CChatMessage*)event->GetParamRef();
message->m_GUID = session->GetHostID();
message->m_GUID = session->GetGUID();
server.Broadcast(message);