1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-05 18:27:47 +00:00

Merge pull request #397 from NotAdam/develop

ReqServiceAccountList -> ClientVersionInfo, only version info is in the packet
This commit is contained in:
Mordred 2018-10-14 09:37:46 +02:00 committed by GitHub
commit 7b9fb7a04b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -33,7 +33,7 @@ enum ClientLobbyIpcType :
{
ReqCharList = 0x0003,
ReqEnterWorld = 0x0004,
ReqServiceAccountList = 0x0005,
ClientVersionInfo = 0x0005,
ReqCharDelete = 0x000A,
ReqCharCreate = 0x000B,

View file

@ -409,8 +409,9 @@ void Core::Network::GameConnection::handleGamePacket( Packets::FFXIVARR_PACKET_R
switch( *reinterpret_cast< uint16_t* >( &packet.data[ 2 ] ) )
{
case ReqServiceAccountList:
case ClientVersionInfo:
{
// todo: validate client version based on sha1 or gamever/bootver
sendServiceAccountList( packet, tmpId );
}
break;