Core: Implemented IPC (Inter-process communication) between worldserver and bnetserver using ZeroMQ library.
* Implemented ToonReady and ToonLoggedOut battle.net packets
This commit is contained in:
1 parent
40cff79b25
commit
f773a9e053
72 files changed
+4922
-68
No files matched your search
@@ -406,7 +406,7 @@ void WorldSocket::HandleAuthSession(WorldPacket& recvPacket)
|
||||
return;
|
||||
}
|
||||
|
||||
if (realmIndex != realmID)
|
||||
if (realmIndex != realmHandle.Index)
|
||||
{
|
||||
SendAuthResponseError(REALM_LIST_REALM_NOT_FOUND);
|
||||
TC_LOG_ERROR("network", "WorldSocket::HandleAuthSession: Sent Auth Response (bad realm).");
|
||||
@@ -485,7 +485,7 @@ void WorldSocket::HandleAuthSession(WorldPacket& recvPacket)
|
||||
stmt = LoginDatabase.GetPreparedStatement(LOGIN_GET_GMLEVEL_BY_REALMID);
|
||||
|
||||
stmt->setUInt32(0, id);
|
||||
stmt->setInt32(1, int32(realmID));
|
||||
stmt->setInt32(1, int32(realmHandle.Index));
|
||||
|
||||
result = LoginDatabase.Query(stmt);
|
||||
|
||||
|
||||
Reference in new issue
Block a user