From ed39d842f650c6d743086fc95be949ddd0be70e1 Mon Sep 17 00:00:00 2001 From: tomrus88 Date: Sun, 4 Apr 2010 02:29:32 +0400 Subject: [PATCH] Fixed realm flags enum. --- src/realmd/AuthSocket.cpp | 8 ++++---- src/realmd/AuthSocket.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/realmd/AuthSocket.cpp b/src/realmd/AuthSocket.cpp index c956e604950..979a5263a56 100644 --- a/src/realmd/AuthSocket.cpp +++ b/src/realmd/AuthSocket.cpp @@ -1020,10 +1020,10 @@ void AuthSocket::LoadRealmlist(ByteBuffer &pkt, uint32 acctid) /*if(realmFlags & REALM_FLAG_SPECIFYBUILD) { - pkt << uint8(0); // major - pkt << uint8(0); // minor - pkt << uint8(0); // revision - pkt << uint16(0); // build + pkt << uint8(3); // major + pkt << uint8(3); // minor + pkt << uint8(3); // revision + pkt << uint16(11723); // build }*/ } diff --git a/src/realmd/AuthSocket.h b/src/realmd/AuthSocket.h index 881b539186c..05d32978ceb 100644 --- a/src/realmd/AuthSocket.h +++ b/src/realmd/AuthSocket.h @@ -42,9 +42,9 @@ enum RealmFlags REALM_FLAG_SPECIFYBUILD = 0x04, // client will show realm version in RealmList screen in form "RealmName (major.minor.revision.build)" REALM_FLAG_UNK1 = 0x08, REALM_FLAG_UNK2 = 0x10, - REALM_FLAG_RECOMMENDED = 0x20, // client checks pop == 600f - REALM_FLAG_NEW = 0x40, // client checks pop == 200f - REALM_FLAG_FULL = 0x80 // client checks pop == 400f + REALM_FLAG_NEW_PLAYERS = 0x20, + REALM_FLAG_RECOMMENDED = 0x40, + REALM_FLAG_FULL = 0x80 }; /// Handle login commands