Jump to content

Recommended Posts

  • Replies 16
  • Created
  • Last Reply

Top Posters In This Topic

It gives me this error

https://metin2.download/picture/8lUsvXiwyXmvwOw8xA711H1gbNj4RdZa/.png

I leave my item.cpp on attatchment so anyone can help me see whats the problem.

Thank you.

This is the hidden content, please

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

  • 1 month later...

The solution to your problem is easier than you think.

Find:

	                    if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON)
#ifdef __CHANGELOOK_SYSTEM__
                        DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum();
                        m_pOwner->SetPart(PART_WEAPON, dwRes);
#else
                        m_pOwner->SetPart(PART_WEAPON, GetVnum());
#endif
	

Change:

	                    if (m_wCell == INVENTORY_MAX_NUM + WEAR_WEAPON)
#ifdef __CHANGELOOK_SYSTEM__
                    {
                        DWORD dwRes = GetTransmutation() != 0 ? GetTransmutation() : GetVnum();
                        m_pOwner->SetPart(PART_WEAPON, dwRes);
                    }
#else
                        m_pOwner->SetPart(PART_WEAPON, GetVnum());
#endif
	

And your problem will disappear ;)

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



  • Similar Content

  • Activity

    1. 24

      Experimental Renderer

    2. 11

      Multi Language System

    3. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    4. 4

      Feeding game source to LLM

    5. 0

      Quest 6/7 Problem

    6. 5

      Effect weapons

    7. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    8. 3

      Crystal Metinstone

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