Jump to content

Boss Icon on Minimap


Recommended Posts

9 hours ago, coadapute123 said:

Preview :

  Hide contents

2bfe90f0062fe3f50ebff841599ea9df.png

Icon location: d:/ymir work/ui/minimap

Icon:  bossmark.tga

Code Boss marking system by andrew111.txt

bossmark.tga

Not bad I have searched this last days but now I have without extra image :)

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
  • Love 11
Link to comment
Share on other sites

Am 20.1.2020 um 23:48 schrieb coadapute123:

Preview :

  Inhalt unsichtbar machen

2bfe90f0062fe3f50ebff841599ea9df.png

Icon location: d:/ymir work/ui/minimap

Icon:  bossmark.tga

Code Boss marking system by andrew111.txt

bossmark.tga

can you share the new minimap marks wich u have there? the round icons

and its not possible to click on your link, it says error

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 3
Link to comment
Share on other sites

  • Bronze
Acum 18 minute, Mafuyu a spus:

can you share the new minimap marks wich u have there? the round icons

and its not possible to click on your link, it says error

Idk for me  works the downloads links , here for round icons 

This is the hidden content, please
 

  • Metin2 Dev 50
  • Dislove 1
  • Sad 1
  • Think 1
  • Lmao 1
  • Good 12
  • Love 1
  • Love 28
Link to comment
Share on other sites

  • Bronze
Acum 2 ore, Mafuyu a spus:

e42b5d0281.png

code : 

This is the hidden content, please

icon

This is the hidden content, please

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 44
  • Dislove 2
  • Confused 1
  • Good 14
  • Love 26
Link to comment
Share on other sites

vor 8 Minuten schrieb coadapute123:

code : 

This is the hidden content, please

icon

This is the hidden content, please

    if (GetRace() == 691)
        return TRUE;
    if (GetRace() == 692)
        return TRUE;
    if (GetRace() == 693)
        return TRUE;
    if (GetRace() == 791)
        return TRUE;
    if (GetRace() == 991)
        return TRUE;
    if (GetRace() == 992)
        return TRUE;
    if (GetRace() == 993)
        return TRUE;
    if (GetRace() == 1091)
        return TRUE;
    if (GetRace() == 1092)
        return TRUE;
    if (GetRace() == 1093)
        return TRUE;
    if (GetRace() == 1094)
        return TRUE;
    if (GetRace() == 1095)
        return TRUE;
    if (GetRace() == 2191)
        return TRUE;
    if (GetRace() == 1191)
        return TRUE;
    if (GetRace() == 1192)
        return TRUE;
    if (GetRace() == 1304)
        return TRUE;
    if (GetRace() == 1306)
        return TRUE;
    if (GetRace() == 1307)
        return TRUE;
    if (GetRace() == 1901)
        return TRUE;
    if (GetRace() == 1902)
        return TRUE;
    if (GetRace() == 1903)
        return TRUE;
    if (GetRace() == 2206)
        return TRUE;
    if (GetRace() == 2207)
        return TRUE;
    if (GetRace() == 2291)
        return TRUE;
    if (GetRace() == 2306)
        return TRUE;
    if (GetRace() == 2307)
        return TRUE;
    if (GetRace() == 2492)
        return TRUE;
    if (GetRace() == 2493)
        return TRUE;
    if (GetRace() == 2494)
        return TRUE;
    if (GetRace() == 2598)
        return TRUE;
    if (GetRace() == 3090)
        return TRUE;
    if (GetRace() == 3091)
        return TRUE;
    if (GetRace() == 3190)
        return TRUE;
    if (GetRace() == 3191)
        return TRUE;
    if (GetRace() == 3290)
        return TRUE;
    if (GetRace() == 3291)
        return TRUE;
    if (GetRace() == 3390)
        return TRUE;
    if (GetRace() == 3391)
        return TRUE;
    if (GetRace() == 3490)
        return TRUE;
    if (GetRace() == 3491)
        return TRUE;
    if (GetRace() == 3590)
        return TRUE;
    if (GetRace() == 3591)
        return TRUE;
    if (GetRace() == 3690)
        return TRUE;
    if (GetRace() == 3691)
        return TRUE;
    if (GetRace() == 3790)
        return TRUE;
    if (GetRace() == 3791)
        return TRUE;
    if (GetRace() == 3890)
        return TRUE;
    if (GetRace() == 3891)
        return TRUE;
    if (GetRace() == 5001)
        return TRUE;
    if (GetRace() == 5004)
        return TRUE;
    if (GetRace() == 5002)
        return TRUE;
    if (GetRace() == 5161)
        return TRUE;
    if (GetRace() == 5162)
        return TRUE;
    if (GetRace() == 5163)
        return TRUE;
    if (GetRace() == 6091)
        return TRUE;
    if (GetRace() == 6191)
        return TRUE;

why not

 

if (mobTable->bRank >= CPythonNonPlayer::MOB_RANK_BOSS)

     return TRUE;

 

would be much easier :D

 

my boss pushback fix, im sure this is usefull for this here too :D

	const CPythonNonPlayer::TMobTable* mobTable = CPythonNonPlayer::instance().GetTable(rkActorDst.GetRace());
	if (mobTable)
	{
		if (mobTable->bRank >= CPythonNonPlayer::MOB_RANK_BOSS)
		{
			return false;
		}
	}

 

  • Metin2 Dev 14
  • kekw 3
  • Eyes 1
  • Good 2
  • Love 1
  • Love 6
Link to comment
Share on other sites

  • Bronze
Chiar acum, Kori a spus:

 


 

BOOL CInstanceBase::IsBoss()

{

 const CPythonNonPlayer::TMobTable *pkTab = CPythonNonPlayer::Instance().GetTable(GetRace());

if(pkTab != nullptr) {

 if (pkTab->bRank >= 4 && !IsStone() && pkTab->bType == 0)

  return TRUE;

} 

 return FALSE;

}

 

Works too 

bug for /inv

Link to comment
Share on other sites

  • 2 months later...
  • 2 years later...
  • 3 months later...
  • 10 months later...
On 2/16/2023 at 8:57 PM, deyu3110 said:

same for me

 

PythonMiniMap, change like this

 

		else if (pkInstEach->IsEnemy())
		{
			if (pkInstEach->IsBoss())
			{
				aMarkPosition.m_fX = (m_fWidth - (float)m_WhiteMark.GetWidth()) / 2.0f + fDistanceFromCenterX + m_fScreenX;
				aMarkPosition.m_fY = (m_fHeight - (float)m_WhiteMark.GetHeight()) / 2.0f + fDistanceFromCenterY + m_fScreenY;

				m_BossPositionVector.push_back(aMarkPosition);
			}
			else
			{
				aMarkPosition.m_fX = (m_fWidth - (float)m_WhiteMark.GetWidth()) / 2.0f + fDistanceFromCenterX + m_fScreenX;
				aMarkPosition.m_fY = (m_fHeight - (float)m_WhiteMark.GetHeight()) / 2.0f + fDistanceFromCenterY + m_fScreenY;

				m_MonsterPositionVector.push_back(aMarkPosition);
			}
		}

 

Link to comment
Share on other sites

15 hours ago, devdeza said:

PythonMiniMap, change like this

 

		else if (pkInstEach->IsEnemy())
		{
			if (pkInstEach->IsBoss())
			{
				aMarkPosition.m_fX = (m_fWidth - (float)m_WhiteMark.GetWidth()) / 2.0f + fDistanceFromCenterX + m_fScreenX;
				aMarkPosition.m_fY = (m_fHeight - (float)m_WhiteMark.GetHeight()) / 2.0f + fDistanceFromCenterY + m_fScreenY;

				m_BossPositionVector.push_back(aMarkPosition);
			}
			else
			{
				aMarkPosition.m_fX = (m_fWidth - (float)m_WhiteMark.GetWidth()) / 2.0f + fDistanceFromCenterX + m_fScreenX;
				aMarkPosition.m_fY = (m_fHeight - (float)m_WhiteMark.GetHeight()) / 2.0f + fDistanceFromCenterY + m_fScreenY;

				m_MonsterPositionVector.push_back(aMarkPosition);
			}
		}

 

or move boss before IsEnemy it works too

 

Link to comment
Share on other sites

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.