Jump to content

On item, showing the "+9+8-etc" level


Recommended Posts

  • Premium

Hello Everyone. I looking for this "idonno what is this" thing.
I saw a picture about this. I link this picture. :D

 

imgur picture


And my horrible english. :)

 

Thanks for help. :)

Edited by Metin2 Dev
Core X - External 2 Internal

Ulthar

Link to comment
Share on other sites

3zUFaab.png

D7Ksaab.png

 

Download PSD: https://easyupload.io/s7jzm6

The psd file is automatically destroyed within 24 hours.

 

or wait until christmas, maybe you will get another suggestion. By then

you have finished the approx. 3k items, the PSD will help.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Lmao 3
Spoiler

Ymir Entertainment was founded in 1999 in Seoul, Korea and 
is currently headed by Byoung Gwan Kim as CEO. The company 
started developing its first 2D online game Metin the same 
year it was founded. The game was commercially launched in 
Korea a year later and received a prize from the Korean 
                    Ministry of Information and Communication in December of the 
                    same year. Following the success of their flagship game Ymir 
                    Entertainment immediately started work on the game’s sequel 
                    Metin 2, which went into Closed Beta in Korea in May 2004. 
                    The game was officially launched in Korea and China in March 
                    2005 before being launched in Asia, Europe and North America 
                    in the years that followed. In January 2011 all of the company’s 
                    shares were bought by Webzen Inc., a Korean game giant known for 
                    their popular MMORPG, MU Online. The company was also awarded 
                    Gameforge’s Global Best Partner of the Year in 2011.
                    
                    Source: https://mmos.com/publishers/ymir-entertainment
                    
                    Thank you ymir 🙂 ❤️ and F*** you Gameforge, 2011 you ruined it.

 

Link to comment
Share on other sites

  • Premium
8 hours ago, Ace said:

3zUFaab.png

D7Ksaab.png

 

Download PSD: https://easyupload.io/s7jzm6

The psd file is automatically destroyed within 24 hours.

 

or wait until christmas, maybe you will get another suggestion. By then

you have finished the approx. 3k items, the PSD will help.

Are you serious or trolling?

 

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

14 minutes ago, tierrilopes said:

Are you serious or trolling?

 

 

It's funny because it's not a troll.

If you do it like this, you have done something you can call your own. ?

 

 

Edited by Ace
  • Lmao 2
Spoiler

Ymir Entertainment was founded in 1999 in Seoul, Korea and 
is currently headed by Byoung Gwan Kim as CEO. The company 
started developing its first 2D online game Metin the same 
year it was founded. The game was commercially launched in 
Korea a year later and received a prize from the Korean 
                    Ministry of Information and Communication in December of the 
                    same year. Following the success of their flagship game Ymir 
                    Entertainment immediately started work on the game’s sequel 
                    Metin 2, which went into Closed Beta in Korea in May 2004. 
                    The game was officially launched in Korea and China in March 
                    2005 before being launched in Asia, Europe and North America 
                    in the years that followed. In January 2011 all of the company’s 
                    shares were bought by Webzen Inc., a Korean game giant known for 
                    their popular MMORPG, MU Online. The company was also awarded 
                    Gameforge’s Global Best Partner of the Year in 2011.
                    
                    Source: https://mmos.com/publishers/ymir-entertainment
                    
                    Thank you ymir 🙂 ❤️ and F*** you Gameforge, 2011 you ruined it.

 

Link to comment
Share on other sites

88o2aV.png

In eterPythonLib/PythonSlotWindow.h search:

CGraphicImageInstance * pInstance;

Add after:

CGraphicImageInstance * pInstanceLevel;

7AZXQW.png

Search for:

void Destroy();

Insert after:

void SetSlotLevelImage(DWORD dwIndex, CGraphicImage * levelImage);

qEn8Q5.png

 

Open eterPythonLib/PythonSlotWindow.cpp and search:

Slot.pFinishCoolTimeEffect = NULL;

Add after:

Slot.pInstanceLevel = NULL;

0yANA8.png

Search for:

void CSlotWindow::SetSlotCount(DWORD dwIndex, DWORD dwCount)

Insert after:

void CSlotWindow::SetSlotLevelImage(DWORD dwIndex, CGraphicImage * levelImage)
{
	TSlot * pSlot;
	if (!GetSlotPointer(dwIndex, &pSlot) || !levelImage)
		return;
	assert(NULL == pSlot->pInstanceLevel);
	pSlot->pInstanceLevel = CGraphicImageInstance::New();
	pSlot->pInstanceLevel->SetDiffuseColor(1.0, 1.0, 1.0, 1.0);
	pSlot->pInstanceLevel->SetImagePointer(levelImage);

}

znql1j.png

Search:

pSlot->dwCenterSlotNumber = 0xffffffff;

Add after:

if (pSlot->pInstanceLevel)
{
	CGraphicImageInstance::Delete(pSlot->pInstanceLevel);
	pSlot->pInstanceLevel = NULL;
}

Mk4gQ1.png

Search:

if (rSlot.bActive)

Add before:

if (rSlot.pInstanceLevel)
{
	rSlot.pInstanceLevel->SetPosition(m_rect.left + rSlot.ixPosition, (m_rect.top + rSlot.iyPosition + rSlot.byyPlacedItemSize*ITEM_HEIGHT) - 32);
	rSlot.pInstanceLevel->Render();
}

A3P6Mv.png

 

Open eterPythonLib/PythonWindowManagerModule.cpp and search:

void initwndMgr()

Add before:

PyObject * wndMgrSetSlotImage(PyObject * poSelf, PyObject * poArgs)
{
	UI::CWindow * pWin;
	if (!PyTuple_GetWindow(poArgs, 0, &pWin))
		return Py_BuildException();

	int iSlotIndex;
	if (!PyTuple_GetInteger(poArgs, 1, &iSlotIndex))
		return Py_BuildException();

	char * szImagePath;
	if (!PyTuple_GetString(poArgs, 2, &szImagePath))
		return Py_BuildException();

	if (!pWin->IsType(UI::CSlotWindow::Type()))
		return Py_BuildException();

	UI::CSlotWindow * pSlotWin = (UI::CSlotWindow *)pWin;
	CGraphicImage * pImage = (CGraphicImage *)CResourceManager::Instance().GetResourcePointer(szImagePath);
	if (!pImage)
		return Py_BuildException();
	pSlotWin->SetSlotLevelImage(iSlotIndex, pImage);
	return Py_BuildNone();
}

G3X2rb.png

Search:

{ "ShowOverInWindowName",        wndMgrShowOverInWindowName,            METH_VARARGS },

Add after:

{ "SetSlotLevelImage",            wndMgrSetSlotImage,                    METH_VARARGS },

9Glqj8.png

 

Open root/ui.py and search for:

wndMgr.SetSlotCount(self.hWnd, renderingSlotNumber, ItemCount)

Add after:

####Item level text/icon ###
		itemName=item.GetItemName().strip()
		itemNameP=item.GetItemName().rfind('+')
		if itemNameP>0 and len(itemName)>itemNameP+1:
			level=itemName[itemNameP+1:]
			if level.isdigit():
				wndMgr.SetSlotLevelImage(self.hWnd, renderingSlotNumber, ("icon/level/%d.tga"%int(level)))
####Item level text/icon END ###

mEZ7nZ.png

The 'level' directory will be in icon/level/ .

Here are the files. There is also a PSD file ?  https://mega.nz/file/VslF2RDa#AVG_5vk3OUd2YhKmCoOmAWZBQkyXBMTv8vPIJB0gQMM

Quote

Source: turkmmo

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Love 5

spacer.png

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.