mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[7298] Switch to support client 3.0.9 (3551).
This commit is contained in:
parent
595d1477da
commit
1932ce1ae7
4 changed files with 11 additions and 12 deletions
2
NEWS
2
NEWS
|
|
@ -15,7 +15,7 @@ http://mangos.lighthouseapp.com/
|
||||||
|
|
||||||
Version 0.13
|
Version 0.13
|
||||||
* Under discussion.
|
* Under discussion.
|
||||||
* Upgrade to client version 3.0.8 (build 9506).
|
* Upgrade to client version 3.0.9 (build 9551).
|
||||||
|
|
||||||
Version 0.12
|
Version 0.12
|
||||||
* Migrate from SVN to GIT.
|
* Migrate from SVN to GIT.
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,8 @@ enum LoginResult
|
||||||
|
|
||||||
// we need to stick to 1 version or half of the stuff will work for someone
|
// we need to stick to 1 version or half of the stuff will work for someone
|
||||||
// others will not and opposite
|
// others will not and opposite
|
||||||
// will only support WoW, WoW:TBC and WoW:WotLK 3.0.8 client build 9506...
|
// will only support WoW, WoW:TBC and WoW:WotLK 3.0.9 client build 9551...
|
||||||
|
|
||||||
#define EXPECTED_MANGOS_CLIENT_BUILD {9506, 0}
|
#define EXPECTED_MANGOS_CLIENT_BUILD {9551, 0}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -503,14 +503,13 @@ void LoadDBCStores(const std::string& dataPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check loaded DBC files proper version
|
// Check loaded DBC files proper version
|
||||||
if( !sSpellStore.LookupEntry(54909) || // last added spell in 3.0.8a
|
if( !sSpellStore.LookupEntry(62735) || // last added spell in 3.0.9
|
||||||
!sSpellStore.LookupEntry(49184) || // last added spell in 3.0.8a
|
!sMapStore.LookupEntry(624) || // last map added in 3.0.8a/3.0.9
|
||||||
sSpellStore.LookupEntry(49184)->RecoveryTime!=5000||// last changed spell in 3.0.8a
|
!sGemPropertiesStore.LookupEntry(1557) || // last gem property added in 3.0.8a/3.0.9
|
||||||
!sMapStore.LookupEntry(624) || // last map added in 3.0.8a
|
!sItemExtendedCostStore.LookupEntry(2589) || // last item extended cost added in 3.0.8a/3.0.9
|
||||||
!sGemPropertiesStore.LookupEntry(1557) || // last gem property added in 3.0.8a
|
!sCharTitlesStore.LookupEntry(144) || // last char title added in 3.0.8a/3.0.9
|
||||||
!sItemExtendedCostStore.LookupEntry(2589) || // last item extended cost added in 3.0.8a
|
!sAreaStore.LookupEntry(2769) || // last area (areaflag) added in 3.0.8a/3.0.9
|
||||||
!sCharTitlesStore.LookupEntry(144) || // last char title added in 3.0.8a
|
!sItemStore.LookupEntry(45037) ) // last client known item added in 3.0.9
|
||||||
!sAreaStore.LookupEntry(2769) ) // last area (areaflag) added in 3.0.8a
|
|
||||||
{
|
{
|
||||||
sLog.outError("\nYou have _outdated_ DBC files. Please extract correct versions from current using client.");
|
sLog.outError("\nYou have _outdated_ DBC files. Please extract correct versions from current using client.");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7297"
|
#define REVISION_NR "7298"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue