Jump to content

translation problem


Go to solution Solved by UnStoppable,

Recommended Posts

 

I implemented penger's system for red name on item drop etc 

 but i have 1 problem, when I pick up skill books, the skill name is in korean. Anyone know where I can translate it?

I found this line in item.cpp but I don;t know where to go next 

Quote
            case ITEM_SKILLFORGET:
            {
                const DWORD dwSkillVnum = (GetVnum() == ITEM_SKILLBOOK_VNUM || GetVnum() == ITEM_SKILLFORGET_VNUM) ? GetSocket(0) : 0;
                const CSkillProtopSkill = (dwSkillVnum != 0) ? CSkillManager::instance().Get(dwSkillVnum) : NULL;
                if (pSkill)
                    len = snprintf(szItemNamesizeof(szItemName), "%s"pSkill->szName);
 
                break;
            }

image of problem: 

Figured it out, it reads from database skill_proto

Spoiler

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

  • Solution
23 hours ago, semoka10 said:
  Quote
            case ITEM_SKILLFORGET:
            {
                const DWORD dwSkillVnum = (GetVnum() == ITEM_SKILLBOOK_VNUM | / GetVnum() = = ITEM_SKILLFORGET_VNUM)? GetSocket(0) : 0;
                const CSkillProto* pSkill = (dwSkillVnum != 0) ? CSkillManager::instance().Get(dwSkillVnum?NULL;
                if (pSkill)
                    len = snprintf(szItemNamesizeof(szItemName), "%s"pSkill->szName);
 
                break;
            }

 

If you need to know where it gets the data from, it should takes it from the skill_proto->szName column.

  • Metin2 Dev 1
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



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