Jump to content

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
https://metin2.dev/topic/24191-on-item-showing-the-98-etc-level/
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
  • 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
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
  • Premium
14 hours ago, Ace said:

 

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

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

 

 

 

I wanna buy the psd and all rights related to it, please lets discuss it on private

I plan to go retail in december

  • Confused 1
  • Active Member

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

  • 4 years later...
On 6/24/2020 at 3:37 PM, 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.

Maybe you can share it again for 24 hours ? )

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.