1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 06:27:45 +00:00

GMRank, name, statuseffectlist updated;

This commit is contained in:
Maru 2017-10-10 18:45:53 -03:00
parent 05ba4fd5a8
commit 3288ed7ca8
3 changed files with 9 additions and 7 deletions

View file

@ -66,7 +66,7 @@ namespace Packets {
BlackList = 0x00D4, // updated 4.1
LogMessage = 0x00D0,
LinkshellList = 0x00D1,
StatusEffectList = 0x00F0,
StatusEffectList = 0x00FA,
Effect = 0x00F1,
GCAffiliation = 0x00FC,
@ -78,9 +78,9 @@ namespace Packets {
HateList = 0x011A,
UpdateClassInfo = 0x011D,
InitUI = 0x012B, // updated 4.1
PlayerStats = 0x0138, // updated 4.1
ActorOwner = 0x012D, // updated 4.1
PlayerStateFlags = 0x013A, // updated 4.1
PlayerStats = 0x0138, // updated 4.1
PlayerClassInfo = 0x013B, // updated 4.1
ModelEquip = 0x013C, // updated 4.1
ItemInfo = 0x014C, // updated 4.1

View file

@ -340,15 +340,15 @@ struct FFXIVIpcPlayerSpawn : FFXIVIpcBasePacket<PlayerSpawn>
{
uint16_t title;
uint16_t u1b;
uint8_t gmRank;
uint8_t u2ab;
uint8_t u2b;
uint8_t u2ab;
uint8_t gmRank;
uint8_t onlineStatus;
uint8_t pose;
uint8_t u3a;
uint8_t u3b;
uint8_t u3c;
uint8_t u3d;
uint8_t pose;
uint32_t u4;
@ -726,7 +726,7 @@ struct FFXIVIpcInitUI : FFXIVIpcBasePacket<InitUI>
uint16_t unknown_005;
uint8_t unknown_114;
uint8_t padding_114;
uint8_t unknown_1141[52];
uint8_t unknown_1141[61];
uint8_t preNamePadding;
char name[32];
uint8_t unknown_54[16];

View file

@ -48,6 +48,8 @@ namespace Server {
//m_data.tPMax = 3000;
m_data.level = pPlayer->getLevel();
m_data.gmRank = pPlayer->getGmRank();
m_data.pose = 0;
memcpy( m_data.look, pPlayer->getLookArray(), 26 );
auto item = pPlayer->getInventory()->getItemAt( Inventory::GearSet0, Inventory::EquipSlot::MainHand );