Jump to content

[HELP] VegaS Country and Empire Flag


Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

What?

I dont know where can i find this. Cuz i have this lines:

 

              Char.cpp:

Quote

 strlcpy(addPacket.language, "hu", sizeof(addPacket.language));      

 

Input_main.cpp:

Spoiler

#ifdef ENABLE_LANG_AND_EMPIRE_FLAG
                strlcpy(pack.bLanguage, "hu", sizeof(pack.bLanguage));
                strlcpy(pack.bEmpire, GetEmpireFlag(ch->GetName()).c_str(), sizeof(pack.bEmpire));
#endif

Quote

#ifdef ENABLE_LANG_AND_EMPIRE_FLAG
    if (CHAT_TYPE_SHOUT == pinfo->type)
    {
        std::string c_pszEmpire = ConvertEmpireIndexToStr(ch->GetEmpire()).c_str();        
        std::string temp_buf = chatbuf;
        
        if (strlen(c_pszEmpire.c_str()) > 0)
        {
            len = snprintf(chatbuf, sizeof(chatbuf), "/lang/ro//empire/%s/%s", c_pszEmpire.c_str(), temp_buf.c_str());
            //sys_err(chatbuf);        // enable for some chat test if that need.
        }
    }
#endif

Quote

std::string c_pszLanguage = "ro";

So where can i add this lines what u say? O.o

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.