mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37: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:
parent
32bfdefbc0
commit
15e206430a
2 changed files with 5 additions and 1 deletions
|
@ -21,7 +21,7 @@ struct FFXIVIpcTell :
|
||||||
uint16_t u2b;
|
uint16_t u2b;
|
||||||
uint8_t preName;
|
uint8_t preName;
|
||||||
uint8_t u3a;
|
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 receipientName[32];
|
||||||
char msg[1031];
|
char msg[1031];
|
||||||
};
|
};
|
||||||
|
|
|
@ -656,6 +656,10 @@ void Sapphire::Network::GameConnection::tellHandler( FrameworkPtr pFw,
|
||||||
//tellPacket.data().u1 = 0x92CD7337;
|
//tellPacket.data().u1 = 0x92CD7337;
|
||||||
//tellPacket.data().u2a = 0x2E;
|
//tellPacket.data().u2a = 0x2E;
|
||||||
//tellPacket.data().u2b = 0x40;
|
//tellPacket.data().u2b = 0x40;
|
||||||
|
if( player.isActingAsGm() )
|
||||||
|
{
|
||||||
|
tellPacket->data().u3b = 0x01;
|
||||||
|
}
|
||||||
pTargetPlayer->queueChatPacket( tellPacket );
|
pTargetPlayer->queueChatPacket( tellPacket );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue