Jump to content

Essential Items in Source Code


Go to solution Solved by Gurgarath,

Recommended Posts

Are there any items that are required in the source, so that if they are removed, it could 
cause problems? For example, 'Yang' is required, so it’s not possible to remove it as an item.
Is there a list or any idea of how to list all such items?

 

best regards

Link to comment
https://metin2.dev/topic/32991-essential-items-in-source-code/
Share on other sites

  • Forum Moderator
  • Solution

Hello,

The answer is yes and no. Metin2 is really hardcoded, or at least some parts are and it suffers from some technical debt from being passed down to at least two to three teams. You can find a list of items that are deemed "essential" for some features in "unique_item.h". However, you will find stray vnums here (some duplicates from unique_item that use the vnum instead) and there. Your best bet to find some specific hardcoded items would be to look for "dwItemVnum" or "GetVnum() ==" in switch cases or checks.

As for REALLY mandatory items that will deeply affect the game, except from yangs, I do not see anything close to this.

Best regards,

Edited by Gurgarath
  • Good 1
  • Love 2

Gurgarath
coming soon
My Services

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.