Jump to content

Official Transmutation / Change Look


Recommended Posts

  • Active Member

https://metin2.download/picture/6dXkiMV90fb1knt2iXR8hSMJ9X2nFVU4/.gif
https://metin2.download/picture/S799pTaqTZNA6mk0Q0164Tq7gPPlWhLA/.gif

Does someone had the same problems and solved it that can help? 

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

  • Active Member
3 minutes ago, Mali said:

Please stop spamming the topic.  I said before, I do not support custom systems.  weapon costume, hide costume etc.

I am really sorry! 
For me, I was just searching for help from others that could have this problem aswell so that they could help me

  • Love 1
Link to comment
Share on other sites

  • Active Member

@ Mali

While the item is in the inventory, the transmutated icon is not visible even though it has been transmutated , but there is no problem when wearing the item. I added the codes again, but it didn't help, what could it be? no syserr

 

spacer.png

Edited by Metin2 Dev
Core X - External 2 Internal

hasanmacit

Link to comment
Share on other sites

  • Honorable Member
37 minutes ago, hasanmacit said:

@ Mali

While the item is in the inventory, the transmutated icon is not visible even though it has been transmutated , but there is no problem when wearing the item. I added the codes again, but it didn't help, what could it be? no syserr

 

spacer.png

You did a mistake. Just compare your codes with official codes.

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

 

Link to comment
Share on other sites

  • 1 month later...

 

spacer.png

 

Hahahaha 🙂
These files are completely corrupt. You will have problems with the zodiac temple. This fault only applies to the zodiac trader. Shops like normal market gun dealers are not problematic. I'm removing this mirroring system from my files immediately. Very dangerous.

 

I advise you to use other mirroring system files. I do not recommend these files. It causes a lot of problems that you don't know about. Coincidentally I went out the zodiac multiples and found this problem. 🙂 That's why this system is very dangerous.

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

  • 3 weeks later...
  • Active Member
On 16/1/2022 at 14:17, hasanmacit said:

@ Malí

Mientras el artículo está en el inventario, el ícono transmutado no es visible a pesar de que ha sido transmutado, pero no hay problema al usar el artículo. Agregué los códigos nuevamente, pero no sirvió de nada, ¿qué podría ser? sin sistema

 

espaciador.png

Sorry to revive this again, you can solved the problem?, i try to compare others changelooks systems / codes, i try to create new codes, new rutes, change rutes, icon, etc but doesn't work, i don't know how to solved this, but the system work great, btw i use Great Offline and i have error to create shop

Quote

0316 17:31:18525 ::   File "uiPrivateShopBuilder.py", line 742, in Refresh

0316 17:31:18525 :: UnboundLocalError
0316 17:31:18525 :: : 
0316 17:31:18525 :: local variable 'i' referenced before assignment
0316 17:31:18525 :: 
 

Quote

        if app.BL_TRANSMUTATION_SYSTEM:
            inventyp, pos = self.itemStock[i]  <---This is the line give me error
            if not player.GetChangeLookVnum(inventyp, pos) == 0:
                self.itemSlot.SetSlotCoverImage(i, "d:/ymir work/ui/game/quest/slot_button_00.sub", "d:/ymir work/ui/game/quest/slot_button_00.sub", "d:/ymir work/ui/game/quest/slot_button_00.sub", "icon/item/ingame_convert_mark.tga", FALSE, FALSE)
            else:
                self.itemSlot.EnableSlotCoverImage(i,False)
 

Some one know about the problem? or can give me any idea to try to fix it?

btw2: if i can solved, i put solution, but actually i can't, thanks 🙂

Edited by Metin2 Dev
Core X - External 2 Internal

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • Active Member
On 16/3/2022 at 17:33, nazox said:

Sorry to revive this again, you can solved the problem?, i try to compare others changelooks systems / codes, i try to create new codes, new rutes, change rutes, icon, etc but doesn't work, i don't know how to solved this, but the system work great, btw i use Great Offline and i have error to create shop

Some one know about the problem? or can give me any idea to try to fix it?

btw2: if i can solved, i put solution, but actually i can't, thanks 🙂

Up

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • Active Member
On 18/3/2022 at 5:50, nazox said:

Arriba

-Well, if someone have the sames problems, for the 1 error,

-add again the python part, using official code and compare, and add the new code.

1-

This is the hidden content, please

2-To solved problem when  you want add items on offline shop by great, you need edit uiNewshop.py and replace function:

Quote

    def Refresh(self):
        self.CancelInputPrice()
        self.__OnClosePopupDialog()
        self.Edit["Board"].Hide()
        setItemID=self.ItemSlot.SetItemSlot
        for i in xrange(shop.SHOP_SLOT_COUNT):
            vnum=self.GetItemID(i)
            itemCount = self.GetItemCount(i)
            
            setItemID(i, vnum, itemCount)
            if app.BL_TRANSMUTATION_SYSTEM:
                changelookvnum = shop.GetItemChangeLookVnum(idx)
                if not changelookvnum == 0:
                    self.itemSlotWindow.SetSlotCoverImage(i,"icon/item/ingame_convert_Mark.tga")
                else:
                    self.itemSlotWindow.EnableSlotCoverImage(i,False)
        wndMgr.RefreshSlot(self.ItemSlot.GetWindowHandle())
        self.ItemSlot.RefreshSlot()

-Note you need edit maybe more code for great offline, and you need adapted system on src Game and Navicat -> player_shop_item and player_gift but actually i can't adapted system, so when i finish all, maybe i come here to add full fix, sorry my english.

  • Metin2 Dev 19
  • Love 4

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • 2 weeks later...
  • Bot

i have this error 

0330 12:47:14018 ::   File "networkModule.py", line 239, in SetGamePhase

0330 12:47:14018 ::   File "game.py", line 106, in __init__

0330 12:47:14018 ::   File "interfaceModule.py", line 433, in MakeInterface

0330 12:47:14018 ::   File "interfaceModule.py", line 234, in __MakeWindows

0330 12:47:14018 ::   File "uiInventory.py", line 303, in __init__

0330 12:47:14019 ::   File "uiInventory.py", line 534, in __LoadWindow

0330 12:47:14019 ::   File "uiInventory.py", line 704, in SetInventoryPage

0330 12:47:14019 ::   File "uiInventory.py", line 1013, in RefreshBagSlotWindow

0330 12:47:14019 ::   File "uiInventory.py", line 1814, in __HighlightSlot_Refresh

0330 12:47:14019 :: SystemError
0330 12:47:14019 :: : 
0330 12:47:14019 :: ..\Objects\longobject.c:1001: bad argument to internal function
0330 12:47:14019 ::

 

english_banner.gif

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
  • Honorable Member

I took the liberty to extend this system for costumes, including weapon skins and mounts.
As many of you know, it's possible to change the look of body costumes and weapon skins with armors and weapons, vice versa.

 

Check out the costume support branch here (

This is the hidden content, please
) / 
This is the hidden content, please

This is the hidden content, please

Please note that this support branch is only for adding costume items in the transmutation window, not any full costume system.

If you have any problems please let me know.

  • Metin2 Dev 65
  • Eyes 1
  • Angry 1
  • Confused 2
  • Scream 1
  • Lmao 1
  • Good 10
  • Love 2
  • Love 15
Link to comment
Share on other sites

  • 9 months later...
  • 1 month later...
  • 4 months later...

@ Mali Is here something special what I need add before this system in source? Using @ TMP4 source and have 2 problems.

1. Have bug with costume body - its all time showed when I unequip them. (only official costume is in game, not costume weapon or something more - just ymir base)

2. Reversal Transmut item dont work as anyone here said.. Lighting yellow but nothing happen when I drag it on transmuted item.

Btw. When I use upgraded version for costumes by @ Owsap first problem is solved, but u said here its compatible with 2014 game, I think so no, bcs costume body and hair is base in 2014.. Problem with reversal is in Owsap version too..

Link to comment
Share on other sites

  • 3 months later...

Good afternoon...

I have this problem in the Custom part:

https://metin2.download/video/9WcL1E5Irkk7fs2vYVeT019aI3EkP1Pi/.mp4

Sysser's are clean
@ Mali any idea what it could be?

I leave the part of the code with the error below:

				if (GetSubType() == COSTUME_BODY)
				{
					toSetPart = PART_MAIN;

					if (false == bAdd)
					{

						const CItem* pArmor = m_pOwner->GetWear(WEAR_BODY);
#if defined(__BL_TRANSMUTATION__)
						 if (pArmor)
						{
							const DWORD dwVnum = GetVnum();
							const DWORD dwTransmutationVnum = GetTransmutationVnum();
							toSetValue = dwTransmutationVnum != 0 ? dwTransmutationVnum : dwVnum;
						}
						else
						{
							toSetValue = m_pOwner->GetOriginalPart(PART_MAIN);
						}
#else
						toSetValue = (NULL != pArmor) ? pArmor->GetVnum() : m_pOwner->GetOriginalPart(PART_MAIN);
#endif
					}
				}

 

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

  • 2 months later...
On 12/18/2023 at 7:17 PM, Marcos17 said:

Good afternoon...

I have this problem in the Custom part:

https://metin2.download/video/9WcL1E5Irkk7fs2vYVeT019aI3EkP1Pi/.mp4

Sysser's are clean
@ Mali any idea what it could be?

I leave the part of the code with the error below:

				if (GetSubType() == COSTUME_BODY)
				{
					toSetPart = PART_MAIN;

					if (false == bAdd)
					{

						const CItem* pArmor = m_pOwner->GetWear(WEAR_BODY);
#if defined(__BL_TRANSMUTATION__)
						 if (pArmor)
						{
							const DWORD dwVnum = GetVnum();
							const DWORD dwTransmutationVnum = GetTransmutationVnum();
							toSetValue = dwTransmutationVnum != 0 ? dwTransmutationVnum : dwVnum;
						}
						else
						{
							toSetValue = m_pOwner->GetOriginalPart(PART_MAIN);
						}
#else
						toSetValue = (NULL != pArmor) ? pArmor->GetVnum() : m_pOwner->GetOriginalPart(PART_MAIN);
#endif
					}
				}

 

Did you fixed it?

Link to comment
Share on other sites

5 hours ago, Marcos17 said:

Not yet friend

This is the fix. item.cpp , search:
 

		case ITEM_COSTUME:
			{
				DWORD toSetValue = this->GetVnum();
				EParts toSetPart = PART_MAX_NUM;
				
				if (GetSubType() == COSTUME_BODY)

Replace the whole function with this:
 

				if (GetSubType() == COSTUME_BODY)
				{
					toSetPart = PART_MAIN;
					if (false == bAdd)
					{
						const CItem* pArmor = m_pOwner->GetWear(WEAR_BODY);
#if defined(__BL_TRANSMUTATION__)
						if (pArmor != NULL)
						{
							const DWORD dwVnum = pArmor->GetVnum();
							const DWORD dwTransmutationVnum = pArmor->GetTransmutationVnum();
							toSetValue = dwTransmutationVnum != 0 ? dwTransmutationVnum : dwVnum;
						}
						else
						{
							toSetValue = m_pOwner->GetOriginalPart(PART_MAIN);
						}
#else
						toSetValue = (NULL != pArmor) ? pArmor->GetVnum() : m_pOwner->GetOriginalPart(PART_MAIN);
#endif
					}
				}

 

Edited by Jimmermania
fixed.
  • Metin2 Dev 1
Link to comment
Share on other sites

On 3/14/2024 at 7:49 PM, Jimmermania said:

This is the fix. item.cpp , search:
 

		case ITEM_COSTUME:
			{
				DWORD toSetValue = this->GetVnum();
				EParts toSetPart = PART_MAX_NUM;
				
				if (GetSubType() == COSTUME_BODY)

Replace the whole function with this:
 

				if (GetSubType() == COSTUME_BODY)
				{
					toSetPart = PART_MAIN;
					if (false == bAdd)
					{
						const CItem* pArmor = m_pOwner->GetWear(WEAR_BODY);
#if defined(__BL_TRANSMUTATION__)
						if (pArmor != NULL)
						{
							const DWORD dwVnum = pArmor->GetVnum();
							const DWORD dwTransmutationVnum = pArmor->GetTransmutationVnum();
							toSetValue = dwTransmutationVnum != 0 ? dwTransmutationVnum : dwVnum;
						}
						else
						{
							toSetValue = m_pOwner->GetOriginalPart(PART_MAIN);
						}
#else
						toSetValue = (NULL != pArmor) ? pArmor->GetVnum() : m_pOwner->GetOriginalPart(PART_MAIN);
#endif
					}
				}

 

It's the same as mine

Link to comment
Share on other sites

On 3/14/2024 at 7:49 PM, Jimmermania said:

This is the fix. item.cpp , search:
 

		case ITEM_COSTUME:
			{
				DWORD toSetValue = this->GetVnum();
				EParts toSetPart = PART_MAX_NUM;
				
				if (GetSubType() == COSTUME_BODY)

Replace the whole function with this:
 

				if (GetSubType() == COSTUME_BODY)
				{
					toSetPart = PART_MAIN;
					if (false == bAdd)
					{
						const CItem* pArmor = m_pOwner->GetWear(WEAR_BODY);
#if defined(__BL_TRANSMUTATION__)
						if (pArmor != NULL)
						{
							const DWORD dwVnum = pArmor->GetVnum();
							const DWORD dwTransmutationVnum = pArmor->GetTransmutationVnum();
							toSetValue = dwTransmutationVnum != 0 ? dwTransmutationVnum : dwVnum;
						}
						else
						{
							toSetValue = m_pOwner->GetOriginalPart(PART_MAIN);
						}
#else
						toSetValue = (NULL != pArmor) ? pArmor->GetVnum() : m_pOwner->GetOriginalPart(PART_MAIN);
#endif
					}
				}

 

Working perfectly...
Thank you bro

  • Love 1
Link to comment
Share on other sites

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 2

      wait() function bug

    2. 0

      Remove Party Role Bonuses

    3. 1

      Fix CBar3D

    4. 1

      set_quest_state not working

    5. 1

      Fix CBar3D

    6. 1

      Game Source Code - where to call void methods to spawn mobs, move mobs and others - in game source side -?

    7. 112

      Ulthar SF V2 (TMP4 Base)

  • Recently Browsing

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