Edit: The actual problem is that everyone in the party can see the party leader, no matter where he is, but the party leader can see other members only if they're close. Also, members can see each other only if they're close to each other.
The function GetPartyMemberPosition returns 0 for x and 0 for y once I get a bit far. This of course happens every 3 seconds once it updates.
So I guess it's either a problem with this function:
bool CPythonPlayer::GetPartyMemberPosition(DWORD dwPID, D3DXVECTOR2* v2Position)
{
std::map<DWORD, TPartyMemberInfo>::const_iterator it = m_PartyMemberMap.find(dwPID);
if (it == m_PartyMemberMap.end())
return false;
v2Position->x = it->second.lX;
v2Position->y = it->second.lY;
return true;
}
Or the problem is server side, but I can't seem to figure it out.