Some Update for 4.3.4

Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
Salja 2012-08-01 18:03:19 +02:00 committed by Antz
parent 22bfaa12b0
commit a6f3ca6ab0
7 changed files with 12 additions and 9 deletions

View file

@ -1,10 +1,10 @@
alter table `characters`.`characters`
alter table `characters`
add column `power8` int(10) UNSIGNED DEFAULT '0' NOT NULL after `power7`,
add column `power9` int(10) UNSIGNED DEFAULT '0' NOT NULL after `power8`,
add column `power10` int(10) UNSIGNED DEFAULT '0' NOT NULL after `power9`,
drop column `ammoId`;
alter table `characters`.`character_stats`
alter table `character_stats`
add column `maxpower8` int(10) UNSIGNED DEFAULT '0' NOT NULL after `maxpower7`,
add column `maxpower9` int(10) UNSIGNED DEFAULT '0' NOT NULL after `maxpower8`,
add column `maxpower10` int(10) UNSIGNED DEFAULT '0' NOT NULL after `maxpower9`;

View file

@ -2309,7 +2309,7 @@ void AchievementGlobalMgr::SetRealmCompleted(AchievementEntry const* achievement
m_allCompletedAchievements.insert(achievement->ID);
}
void AchievementGlobalMgr::LoadAchievementCriteriaList()
/*void AchievementGlobalMgr::LoadAchievementCriteriaList()
{
if (sAchievementCriteriaStore.GetNumRows() == 0)
{
@ -2349,7 +2349,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaList()
sLog.outString();
sLog.outString(">> Loaded %u achievement criteria.", count);
}
}*/
void AchievementGlobalMgr::LoadAchievementReferenceList()
{

View file

@ -320,7 +320,7 @@ class AchievementGlobalMgr
bool IsRealmCompleted(AchievementEntry const* achievement) const;
void SetRealmCompleted(AchievementEntry const* achievement);
void LoadAchievementCriteriaList();
//void LoadAchievementCriteriaList();
void LoadAchievementCriteriaRequirements();
void LoadAchievementReferenceList();
void LoadCompletedAchievements();

View file

@ -19386,7 +19386,7 @@ bool Player::BuyItemFromVendorSlot(ObjectGuid vendorGuid, uint32 vendorslot, uin
/*if (uint32 extendedCostId = crItem->ExtendedCost)
{
ItemExtendedCostEntry const* iece = sItemExtendedCostStore.LookupEntry(extendedCostId);
ItemExtendedCostEntry const* iece = sItemExtendedCostStore.LookupEntry(extendedCostId);
if (!iece)
{
sLog.outError("Item %u have wrong ExtendedCost field value %u", pProto->ItemId, extendedCostId);

View file

@ -1193,7 +1193,7 @@ void World::SetInitialWorldSettings()
sLog.outString();
sLog.outString("Loading Achievements...");
sAchievementMgr.LoadAchievementReferenceList();
sAchievementMgr.LoadAchievementCriteriaList();
//sAchievementMgr.LoadAchievementCriteriaList();
sAchievementMgr.LoadAchievementCriteriaRequirements();
sAchievementMgr.LoadRewards();
sAchievementMgr.LoadRewardLocales();

View file

@ -299,6 +299,7 @@ void AuthSocket::SendProof(Sha1Hash sha)
case 11403: // 3.3.2
case 11723: // 3.3.3a
case 12340: // 3.3.5a
case 15595: // 4.3.4
default: // or later
{
sAuthLogonProof_S proof;
@ -954,6 +955,7 @@ void AuthSocket::LoadRealmlist(ByteBuffer& pkt, uint32 acctid)
case 11403: // 3.3.2
case 11723: // 3.3.3a
case 12340: // 3.3.5a
case 15595: // 4.3.4
default: // and later
{
pkt << uint32(0); // unused value

View file

@ -31,13 +31,14 @@ INSTANTIATE_SINGLETON_1(RealmList);
extern DatabaseType LoginDatabase;
// will only support WoW 1.12.1/1.12.2 , WoW:TBC 2.4.3 and official release for WoW:WotLK and later, client builds 10505, 8606, 6005, 5875
// will only support WoW 1.12.1/1.12.2, WoW:TBC 2.4.3, WoW:WotLK 3.3.5a and official release for WoW:Cataclysm and later, client builds 15595, 10505, 8606, 6005, 5875
// if you need more from old build then add it in cases in realmd sources code
// list sorted from high to low build and first build used as low bound for accepted by default range (any > it will accepted by realmd at least)
static RealmBuildInfo ExpectedRealmdClientBuilds[] =
{
{12340, 3, 3, 5, 'a'}, // highest supported build, also auto accept all above for simplify future supported builds testing
{15595, 4, 3, 4, ' '}, // highest supported build, also auto accept all above for simplify future supported builds testing
{12340, 3, 3, 5, 'a'},
{11723, 3, 3, 3, 'a'},
{11403, 3, 3, 2, ' '},
{11159, 3, 3, 0, 'a'},