Jump to content

Recommended Posts

Hi guys. I tried to compile my server source and gave me this error. Anyone can help me?

https://metin2.download/picture/yLJf0chFAUuTNmNEHR4AQUeOI2T8XjBB/.png

Best Regards

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/18535-compile-source-error/
Share on other sites

  • 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
https://metin2.dev/topic/18535-compile-source-error/#findComment-101202
Share on other sites

Yeah sorry. At my file it appears differently I don't know why...

https://metin2.download/picture/SsbFdKLK7KTzpB27Pb153ZVG4qwr2Ktv/.png

It solved the 1010 and 2465 but not the 876 line

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/18535-compile-source-error/#findComment-101209
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
https://metin2.dev/topic/18535-compile-source-error/#findComment-102502
Share on other sites

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.