Jump to content
  • 0

translation problem


semoka10

Question

 

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

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

1 answer to this question

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 5
    2. 5

      Zodiac Roulette (Aeldra event concept)

    3. 0

      I am looking for a team for PVP Server!

    4. 0

      How about get quest flag from binary??

    5. 5

      Zodiac Roulette (Aeldra event concept)

    6. 5

      Zodiac Roulette (Aeldra event concept)

    7. 5

      Zodiac Roulette (Aeldra event concept)

    8. 12

      REAL_TIME_FIRST_USE items not being expired in the safe-box

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