Jump to content

how can i change it ? #1


Go to solution Solved by Cunoo,

Recommended Posts

  • Contributor

@ClientSource : //IntanceBaseEffect.cpp

Search for

void CInstanceBase::UpdateTextTailLevel(DWORD level)

You'll find : 

if (IsPC()

Make it something similiar to :

    if (IsPC() || IsEnemy() || IsStone())
    {
        static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

        char szText[256];
		sprintf(szText, "Lv %d", level);
        CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
    }

Don't know if you have  : IsEnemy() || IsStone()

But it doesn't matter !

My only accounts are here and on M2D, Don't trust anyone else from other shitty sites.
266868740522639360.png

Link to comment
Share on other sites

4 minutes ago, MrQuin said:

@ClientSource : //IntanceBaseEffect.cpp

Search for


void CInstanceBase::UpdateTextTailLevel(DWORD level)

You'll find : 


if (IsPC()

Make it something similiar to :


    if (IsPC() || IsEnemy() || IsStone())
    {
        static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

        char szText[256];
		sprintf(szText, "Lv %d", level);
        CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
    }

Don't know if you have  : IsEnemy() || IsStone()

But it doesn't matter !

no i don't have IsEnemy() || IsStone()

but But the lines are not similiar as your lines

p_1307l1axc1.png

what should i do ? 

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

Open in client/src/UserInferface/IntanceBaseEffect.cpp

Search this function: 

void CInstanceBase::UpdateTextTailLevel(DWORD level)

Replace your function with this:

void CInstanceBase::UpdateTextTailLevel(DWORD level)
{
	//static D3DXCOLOR s_kLevelColor = D3DXCOLOR(119.0f/255.0f, 246.0f/255.0f, 168.0f/255.0f, 1.0f);
	static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

	char szText[256];
	sprintf(szText, "Lv. %d", level);
	CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
}

 

Link to comment
Share on other sites

10 minutes ago, Cunoo said:

Open in client/src/UserInferface/IntanceBaseEffect.cpp

Search this function: 


void CInstanceBase::UpdateTextTailLevel(DWORD level)

Replace your function with this:


void CInstanceBase::UpdateTextTailLevel(DWORD level)
{
	//static D3DXCOLOR s_kLevelColor = D3DXCOLOR(119.0f/255.0f, 246.0f/255.0f, 168.0f/255.0f, 1.0f);
	static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

	char szText[256];
	sprintf(szText, "Lv. %d", level);
	CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
}

 

Is this replacement correct? , Or have I replaced it with a wrong way?

Before:

p_1307l1axc1.png

After: 

p_1307k7da71.png

this right or not ?

if this right , i should do a compile client source ? right ?

 

 

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

18 minutes ago, Agorin said:

its ok, go compile

i'm already compile , and changed from " maxlevel" to " lv 250" successfuly

but  something strange appeared

p_1307216ul1.png

what's this ? and how can i remove it ? 

2 hours ago, Cunoo said:

Open in client/src/UserInferface/IntanceBaseEffect.cpp

Search this function: 


void CInstanceBase::UpdateTextTailLevel(DWORD level)

Replace your function with this:


void CInstanceBase::UpdateTextTailLevel(DWORD level)
{
	//static D3DXCOLOR s_kLevelColor = D3DXCOLOR(119.0f/255.0f, 246.0f/255.0f, 168.0f/255.0f, 1.0f);
	static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

	char szText[256];
	sprintf(szText, "Lv. %d", level);
	CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
}

 

 something strange appeared

p_1307216ul1.png

what's this ? and how can i remove it ? 

2 hours ago, MrQuin said:

@ClientSource : //IntanceBaseEffect.cpp

Search for


void CInstanceBase::UpdateTextTailLevel(DWORD level)

You'll find : 


if (IsPC()

Make it something similiar to :


    if (IsPC() || IsEnemy() || IsStone())
    {
        static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

        char szText[256];
		sprintf(szText, "Lv %d", level);
        CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
    }

Don't know if you have  : IsEnemy() || IsStone()

But it doesn't matter !

i'm already compile , and changed from " maxlevel" to " lv 250" successfuly

by this
 

void CInstanceBase::UpdateTextTailLevel(DWORD level)
{
	//static D3DXCOLOR s_kLevelColor = D3DXCOLOR(119.0f/255.0f, 246.0f/255.0f, 168.0f/255.0f, 1.0f);
	static D3DXCOLOR s_kLevelColor = D3DXCOLOR(152.0f/255.0f, 255.0f/255.0f, 51.0f/255.0f, 1.0f);

	char szText[256];
	sprintf(szText, "Lv. %d", level);
	CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);
}

but  something strange appeared

p_1307216ul1.png

what's this ? and how can i remove it ? 

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

  • Solution

Open in client/src/UserInferface/UserInferface.cpp

Search this line:

#ifdef _DISTRIBUTE 
		stRegisterDebugFlag ="__DEBUG__ = 0";
#else
		stRegisterDebugFlag ="__DEBUG__ = 1"; 
#endif

replace with this:

#ifdef _DISTRIBUTE 
		stRegisterDebugFlag ="__DEBUG__ = 0";
#elif _DEBUG
		stRegisterDebugFlag ="__DEBUG__ = 1";
#else
		stRegisterDebugFlag ="__DEBUG__ = 0";
#endif

 

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

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.