From 3892934a60feb29ccf38594585a53d289558fff9 Mon Sep 17 00:00:00 2001 From: collett Date: Fri, 20 Mar 2020 17:35:26 +0900 Subject: [PATCH] remove wrong packet --- src/common/Network/PacketDef/Ipcs.h | 2 +- src/world/Actor/Player.cpp | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/common/Network/PacketDef/Ipcs.h b/src/common/Network/PacketDef/Ipcs.h index 34bef1b2..1ffb99a7 100644 --- a/src/common/Network/PacketDef/Ipcs.h +++ b/src/common/Network/PacketDef/Ipcs.h @@ -156,7 +156,7 @@ namespace Sapphire::Network::Packets PlayerStats = 0x03E1, // updated 5.21 hotfix ActorOwner = 0x03C8, // updated 5.21 hotfix PlayerStateFlags = 0x00AA, // updated 5.21 hotfix - PlayerClassInfo = 0x016B, // updated 5.21 + PlayerClassInfo = 0x0169, // updated 5.21 hotfix CharaVisualEffect = 0x030C, // updated 5.21 hotfix ModelEquip = 0x03A2, // updated 5.21 hotfix diff --git a/src/world/Actor/Player.cpp b/src/world/Actor/Player.cpp index 2bb25c5f..653f61d0 100644 --- a/src/world/Actor/Player.cpp +++ b/src/world/Actor/Player.cpp @@ -1833,15 +1833,6 @@ void Sapphire::Entity::Player::sendZonePackets() queuePacket( unk320 ); } - //this is needed from 5.21, after InitZone and before FinishLoadingHandler - auto classInfoPacket = makeZonePacket< FFXIVIpcUpdateClassInfo >( getId() ); - classInfoPacket->data().classId = static_cast< uint8_t > ( getClass() ); - classInfoPacket->data().level1 = getLevel(); - classInfoPacket->data().level = getLevel(); - classInfoPacket->data().nextLevelIndex = getLevel(); - classInfoPacket->data().currentExp = getExp(); - queuePacket( classInfoPacket ); - // if( getLastPing() == 0 ) // sendQuestInfo();