1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-07-10 14:27:45 +00:00

remove wrong packet

This commit is contained in:
collett 2020-03-20 17:35:26 +09:00
parent 44a5a3c243
commit 3892934a60
2 changed files with 1 additions and 10 deletions

View file

@ -156,7 +156,7 @@ namespace Sapphire::Network::Packets
PlayerStats = 0x03E1, // updated 5.21 hotfix PlayerStats = 0x03E1, // updated 5.21 hotfix
ActorOwner = 0x03C8, // updated 5.21 hotfix ActorOwner = 0x03C8, // updated 5.21 hotfix
PlayerStateFlags = 0x00AA, // 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 CharaVisualEffect = 0x030C, // updated 5.21 hotfix
ModelEquip = 0x03A2, // updated 5.21 hotfix ModelEquip = 0x03A2, // updated 5.21 hotfix

View file

@ -1833,15 +1833,6 @@ void Sapphire::Entity::Player::sendZonePackets()
queuePacket( unk320 ); 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 ) // if( getLastPing() == 0 )
// sendQuestInfo(); // sendQuestInfo();