Jump to content
  • Register Now

    Sign up and take advantage of the features of our community! Some forums are only accessible to our members!

  • 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

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


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