Jump to content

Official Party Member On Minimap [REVERSED]


Recommended Posts

  • Honorable Member
14 minutes ago, bl1nd3r said:

Nevermind, I'm blind, the icon is there, in the archive you shared. But I was right with the other thing, the archive uploaded here: 

This is the hidden content, please
 is not complete 😄 .

What are you talking about? New link contains reversed official codes and it is complete.

That icon and code in this topic was for old version.

I wrote this: 

Is it too hard to understand 😑...?

  • Metin2 Dev 10
  • Good 2
  • Love 2
  • Love 10

 

Link to comment
Share on other sites

5 hours ago, bl1nd3r said:

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. 

I got the exact same problem and i've checked it multiple times and couldn't find out why it happens.

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

For those who have problems between group leaders and other pgs beware of this:
 

//Find in bool CHARACTER::BuildUpdatePartyPacket(TPacketGCPartyUpdate & out)
		out.affects[6] = GetPoint(POINT_PARTY_DEFENDER_BONUS);
	}

///Add
#if defined(__BL_PARTY_POSITION__)
	out.x = GetX();
	out.y = GetY();
#endif

You are adding inside the bracket, you have to put it after, before return

Edited by Nuzzo
  • Metin2 Dev 1
  • Love 1
Link to comment
Share on other sites

  • 3 months later...
  • 5 months later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.