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

Sending a /tell while acting as a GM will send a GM Tell

GM Call was also fixed 3 commits ago, now works on players within instances
This commit is contained in:
JeidoUran 2019-01-06 02:03:33 +01:00
parent 32bfdefbc0
commit 15e206430a
2 changed files with 5 additions and 1 deletions

View file

@ -21,7 +21,7 @@ struct FFXIVIpcTell :
uint16_t u2b;
uint8_t preName;
uint8_t u3a;
uint8_t u3b; //Setting this to 1 seems to mark the tell as a GM tell (More research needed)
uint8_t u3b; //Setting this to 1 marks the tell as a GM tell
char receipientName[32];
char msg[1031];
};

View file

@ -656,6 +656,10 @@ void Sapphire::Network::GameConnection::tellHandler( FrameworkPtr pFw,
//tellPacket.data().u1 = 0x92CD7337;
//tellPacket.data().u2a = 0x2E;
//tellPacket.data().u2b = 0x40;
if( player.isActingAsGm() )
{
tellPacket->data().u3b = 0x01;
}
pTargetPlayer->queueChatPacket( tellPacket );
}