[Bug Fix] Hero Forge armor graphics not displaying properly to other clients in zone. (#1883)

* fix part1

* updates

* Update inventory.cpp

* fixed

* Update inventory.cpp

* update

* [Bug Fix] Hero Forge armor graphics not displaying properly to other clients in zone.
This commit is contained in:
KayenEQ
2021-12-14 11:26:59 -05:00
committed by GitHub
parent 26b21673ad
commit 6da7116c66
8 changed files with 51 additions and 21 deletions
+5 -20
View File
@@ -747,28 +747,11 @@ void Client::CompleteConnect()
entity_list.SendAppearanceEffects(this);
int x;
for (x = EQ::textures::textureBegin; x <= EQ::textures::LastTexture; x++) {
SendWearChange(x);
}
// added due to wear change above
UpdateActiveLight();
SendAppearancePacket(AT_Light, GetActiveLightType());
Mob *pet = GetPet();
if (pet != nullptr) {
for (x = EQ::textures::textureBegin; x <= EQ::textures::LastTexture; x++) {
pet->SendWearChange(x);
}
// added due to wear change above
pet->UpdateActiveLight();
pet->SendAppearancePacket(AT_Light, pet->GetActiveLightType());
}
entity_list.SendTraders(this);
if (GetPet()) {
GetPet()->SendPetBuffsToClient();
Mob *pet = GetPet();
if (pet) {
pet->SendPetBuffsToClient();
}
if (GetGroup())
@@ -918,6 +901,8 @@ void Client::CompleteConnect()
worldserver.SendPacket(p);
safe_delete(p);
}
heroforge_wearchange_timer.Start(250);
}
// connecting opcode handlers