aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/DataStores/DBCStores.cpp10
-rwxr-xr-xsrc/server/game/Server/Protocol/Opcodes.h14
2 files changed, 12 insertions, 12 deletions
diff --git a/src/server/game/DataStores/DBCStores.cpp b/src/server/game/DataStores/DBCStores.cpp
index 0300f3bf61f..2f4daa2d2c9 100755
--- a/src/server/game/DataStores/DBCStores.cpp
+++ b/src/server/game/DataStores/DBCStores.cpp
@@ -704,11 +704,11 @@ void LoadDBCStores(const std::string& dataPath)
}
// Check loaded DBC files proper version
- if (//!sAreaStore.LookupEntry(5839) || // last area (areaflag) added in 4.22 (5839 is wrong? why?)
- !sCharTitlesStore.LookupEntry(279) || // last char title added in 4.22
- !sGemPropertiesStore.LookupEntry(1860) || // last gem property added in 4.22
- !sMapStore.LookupEntry(968) || // last map added in 4.22
- !sSpellStore.LookupEntry(102129) ) // last spell added in 4.22
+ if (!sAreaStore.LookupEntry(4559) || // last area (areaflag) added in 4.2.2 (14545)
+ !sCharTitlesStore.LookupEntry(279) || // last char title added in 4.2.2 (14545)
+ !sGemPropertiesStore.LookupEntry(1860) || // last gem property added in 4.2.2 (14545)
+ !sMapStore.LookupEntry(968) || // last map added in 4.2.2 (14545)
+ !sSpellStore.LookupEntry(102129) ) // last spell added in 4.2.2 (14545)
{
sLog->outError("You have _outdated_ DBC files. Please extract correct versions from current using client.");
exit(1);
diff --git a/src/server/game/Server/Protocol/Opcodes.h b/src/server/game/Server/Protocol/Opcodes.h
index 25e47be9783..a35e376b1b0 100755
--- a/src/server/game/Server/Protocol/Opcodes.h
+++ b/src/server/game/Server/Protocol/Opcodes.h
@@ -33,7 +33,7 @@ enum Opcodes
NULL_OPCODE = 0,
CMSG_ACCEPT_LEVEL_GRANT = 0xDC4B,
- CMSG_ACCEPT_TRADE = 0x00,
+ CMSG_ACCEPT_TRADE = 0xB4A5,
CMSG_ACTIVATETAXI = 0x8CDB,
CMSG_ACTIVATETAXIEXPRESS = 0x5E7F,
CMSG_ADD_FRIEND = 0x5C57,
@@ -43,8 +43,8 @@ enum Opcodes
CMSG_AREATRIGGER = 0x5862,
CMSG_AREA_SPIRIT_HEALER_QUERY = 0xDC7E,
CMSG_AREA_SPIRIT_HEALER_QUEUE = 0x8846,
- CMSG_ARENA_TEAM_ACCEPT = 0x00,
- CMSG_ARENA_TEAM_DECLINE = 0x00,
+ CMSG_ARENA_TEAM_ACCEPT = 0xDA42,
+ CMSG_ARENA_TEAM_DECLINE = 0x8E73,
CMSG_ARENA_TEAM_DISBAND = 0x4A5A,
CMSG_ARENA_TEAM_INVITE = 0x4862,
CMSG_ARENA_TEAM_LEADER = 0x8F3,
@@ -56,7 +56,7 @@ enum Opcodes
CMSG_ATTACKSWING = 0xDE66,
CMSG_AUCTION_LIST_BIDDER_ITEMS = 0x187A,
CMSG_AUCTION_LIST_ITEMS = 0xDC5F,
- CMSG_AUCTION_LIST_OWNER_ITEMS = 0x00,
+ CMSG_AUCTION_LIST_OWNER_ITEMS = 0x9CDA,
CMSG_AUCTION_PLACE_BID = 0x8E76,
CMSG_AUCTION_REMOVE_ITEM = 0xCEC3,
CMSG_AUCTION_SELL_ITEM = 0xCE6,
@@ -77,7 +77,7 @@ enum Opcodes
CMSG_BATTLEFIELD_STATUS = 0x00,
MSG_BATTLEGROUND_PLAYER_POSITIONS = 0x00,
CMSG_BATTLEMASTER_JOIN_ARENA = 0x00,
- CMSG_BEGIN_TRADE = 0x00,
+ CMSG_BEGIN_TRADE = 0x3724,
CMSG_BINDER_ACTIVATE = 0x58FB,
CMSG_BOT_DETECTED2 = 0x00,
CMSG_BUG = 0x1A77,
@@ -460,7 +460,7 @@ enum Opcodes
MSG_GM_SHOWLABEL = 0x00,
MSG_GM_SUMMON = 0x00,
MSG_GUILD_BANK_LOG_QUERY = 0x00,
- MSG_GUILD_BANK_MONEY_WITHDRAWN = 0xDE77, // Can be 0xDE77
+ MSG_GUILD_BANK_MONEY_WITHDRAWN = 0x00,
MSG_GUILD_EVENT_LOG_QUERY = 0xCEDA,
MSG_GUILD_PERMISSIONS = 0xDC73,
MSG_INSPECT_ARENA_TEAMS = 0xDA4F,
@@ -983,7 +983,7 @@ enum Opcodes
SMSG_STOP_MIRROR_TIMER = 0x00,
SMSG_SUMMON_REQUEST = 0x9A52,
SMSG_SUPERCEDED_SPELL = 0xDE53,
- SMSG_TALENTS_INFO = 0x00,
+ SMSG_TALENTS_INFO = 0x5EC6,
SMSG_TAXINODE_STATUS = 0x8CFB,
SMSG_TOGGLE_XP_GAIN = 0x8A5B,
SMSG_TEXT_EMOTE = 0x9E5A,