[Bug Fix] Hero forge armor bug on login and show helm toggle. (#4246)

* [Bug Fix] Hero forge armor bug on login and show helm toggle.

* Merge in KayenEQ provided revert of original work around

* Fix botched merge section.
This commit is contained in:
Paul Coene
2024-04-15 05:59:08 -04:00
committed by GitHub
parent a5e8a4c2cd
commit d6b5a9d343
8 changed files with 5 additions and 39 deletions
+5 -5
View File
@@ -757,8 +757,10 @@ void Client::CompleteConnect()
entity_list.SendTraders(this);
Mob *pet = GetPet();
SendWearChangeAndLighting(EQ::textures::LastTexture);
Mob* pet = GetPet();
if (pet) {
pet->SendWearChangeAndLighting(EQ::textures::LastTexture);
pet->SendPetBuffsToClient();
}
@@ -951,8 +953,6 @@ void Client::CompleteConnect()
safe_delete(p);
}
heroforge_wearchange_timer.Start(250);
RecordStats();
AutoGrantAAPoints();
@@ -16011,11 +16011,11 @@ void Client::Handle_OP_WearChange(const EQApplicationPacket *app)
return;
// Hero Forge ID needs to be fixed here as RoF2 appears to send an incorrect value.
if (wc->hero_forge_model != 0 && wc->wear_slot_id >= 0 && wc->wear_slot_id < EQ::textures::weaponPrimary)
if (wc->wear_slot_id >= 0 && wc->wear_slot_id < EQ::textures::weaponPrimary)
wc->hero_forge_model = GetHerosForgeModel(wc->wear_slot_id);
// we could maybe ignore this and just send our own from moveitem
entity_list.QueueClients(this, app, true);
entity_list.QueueClients(this, app, false);
}
void Client::Handle_OP_WhoAllRequest(const EQApplicationPacket *app)