mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Test code for tracing zone crashes
This commit is contained in:
parent
a6b31017e3
commit
341bc0723b
@ -6728,7 +6728,11 @@ void Client::Handle_OP_GroupFollow2(const EQApplicationPacket *app)
|
|||||||
// Inviter and Invitee are in the same zone
|
// Inviter and Invitee are in the same zone
|
||||||
if (inviter != nullptr && inviter->IsClient())
|
if (inviter != nullptr && inviter->IsClient())
|
||||||
{
|
{
|
||||||
if (GroupFollow(inviter->CastToClient()))
|
if (!inviter->CastToClient()->Connected())
|
||||||
|
{
|
||||||
|
Log(Logs::General, Logs::Error, "%s attempted to join group while leader %s was zoning.", GetName(), inviter->GetName());
|
||||||
|
}
|
||||||
|
else if (GroupFollow(inviter->CastToClient()))
|
||||||
{
|
{
|
||||||
strn0cpy(gf->name1, inviter->GetName(), sizeof(gf->name1));
|
strn0cpy(gf->name1, inviter->GetName(), sizeof(gf->name1));
|
||||||
strn0cpy(gf->name2, GetName(), sizeof(gf->name2));
|
strn0cpy(gf->name2, GetName(), sizeof(gf->name2));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user