Code: Select all
if ($config{partyAutoShare} && $char->{party} && $char->{party}{users}{$accountID}{admin}) {
$messageSender->sendPartyOption(1, 0);
}
}
So I dumped the packets and looked them over. At first glance it seems $type is 1 on map changes and teleport, and it is 0 on move. (I did not check a real party join.) I had to guess, because I could not find any docs on it. So does anyone know what the values for $type are?
If my guess is right, this would be a valid fix:
Code: Select all
if ($config{partyAutoShare} && $char->{party} && $char->{party}{users}{$accountID}{admin} && $type) {
$messageSender->sendPartyOption(1, 0);
}
}