Jump to content
  • 0
Sign in to follow this  
Selena

open how can i change it ? #1

Question

Hello guys ..

How can i change "Maxlevel" to " lv 250" ? 

p_1307chu8w1.png

i hope a slove with steps and details because I am a beginner ... 

Share this post


Link to post

9 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
  • 0

@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 !

Share this post


Link to post
  • 0
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 ? 

Share this post


Link to post
  • 0

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);
}

 

Share this post


Link to post
  • 0
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 ?

 

 

Share this post


Link to post
  • 0
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 ? 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.