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: https://imgur.com/a/oKHgoEf

Figured it out, it reads from database skill_proto

Link to post

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.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



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