ahmedhaies 50 Posted April 12, 2021 Share Posted April 12, 2021 (edited) Just now, MrQuin said: Works just fine so can you show me grpTextInstance.cpp Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 8 2 3 2 Link to comment Share on other sites More sharing options...
IGNEEL 24 Posted April 12, 2021 Share Posted April 12, 2021 (edited) 22 minutes ago, MrQuin said: Works just fine yes, It Works perfect! Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 3 1 1 1 Link to comment Share on other sites More sharing options...
ahmedhaies 50 Posted April 12, 2021 Share Posted April 12, 2021 (edited) Just now, IGNEEL said: yes, it's Works perfect! so can you show me grpTextInstance.cpp file ? Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 1 1 Link to comment Share on other sites More sharing options...
alexander113147 14 Posted June 26, 2021 Share Posted June 26, 2021 where is this function going emojiTextLine.SetText("|Eemoji/key_ctrl|e + |Eemoji/key_x|e + |Eemoji/key_rclick|e - Direct sell") 1 Link to comment Share on other sites More sharing options...
alexander113147 14 Posted July 3, 2021 Share Posted July 3, 2021 (edited) Revelación https://metin2.download/picture/QWzCkEP6ul1E2HI5GpSLGfW4iJLn6yoE/.png Help problem emoji text Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal 7 2 2 2 2 2 Link to comment Share on other sites More sharing options...
okany 0 Posted July 31, 2021 Share Posted July 31, 2021 Thanks Link to comment Share on other sites More sharing options...
Premium imWelly 26 Posted August 23, 2021 Premium Share Posted August 23, 2021 (edited) Since my fellow arabs don't like to share fixes here is how to make it work for arabic : search for the function in GrpTextinstance.cpp if (defCodePage == CP_ARABIC) then add the lines according to the tutorial above , make sure to add the lines Spoiler else if (ret == TEXT_TAG_IMAGE_START) { imageStep = 1; imageBuffer = L""; } else if (ret == TEXT_TAG_IMAGE_END) { kImage.x = x; char retBuf[1024]; int retLen = Ymir_WideCharToMultiByte(GetDefaultCodePage(), 0, imageBuffer.c_str(), imageBuffer.length(), retBuf, sizeof(retBuf) - 1, NULL, NULL); retBuf[retLen] = '\0'; char szPath[255]; _snprintf(szPath, sizeof(szPath), "icon/%s.tga", retBuf); if (CResourceManager::Instance().IsFileExist(szPath)) { CGraphicImage* pImage = (CGraphicImage*)CResourceManager::Instance().GetResourcePointer(szPath); kImage.pInstance = CGraphicImageInstance::New(); kImage.pInstance->SetImagePointer(pImage); m_imageVector.push_back(kImage); memset(&kImage, 0, sizeof(SImage)); for (int i = 0; i < pImage->GetWidth() / (pSpaceInfo->width - 1); ++i) x += __DrawCharacter(pFontTexture, dataCodePage, ' ', dwColor); if (pImage->GetWidth() % (pSpaceInfo->width - 1) > 1) x += __DrawCharacter(pFontTexture, dataCodePage, ' ', dwColor); } imageStep = 0; imageBuffer = L""; } under every Spoiler else if (ret == TEXT_TAG_HYPERLINK_START) { hyperlinkStep = 1; hyperlinkBuffer = L""; } else if (ret == TEXT_TAG_HYPERLINK_END) { if (hyperlinkStep == 1) { ++hyperlinkStep; kHyperlink.ex = kHyperlink.sx = x; // ½اء¦ إط½؛ئ®°، ½أہغµا´آ ہ§ؤ، } else { kHyperlink.text = hyperlinkBuffer; m_hyperlinkVector.push_back(kHyperlink); hyperlinkStep = 0; hyperlinkBuffer = L""; } } now it will be working fine https://metin2.download/picture/2VhJ58wlCePJfoXWOl8JNwH4OeH7ZsLL/.png kind regards Dream, Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal 8 5 3 Link to comment Share on other sites More sharing options...
dsfsddsf45 0 Posted September 9, 2021 Share Posted September 9, 2021 thanks Link to comment Share on other sites More sharing options...
Zimo2014 8 Posted September 16, 2021 Share Posted September 16, 2021 How can i wrote an emoji in chat? Link to comment Share on other sites More sharing options...
redscoutyt2 3 Posted September 28, 2021 Share Posted September 28, 2021 If safebox is open I want the CTRL + Right mouse button icon under the item bonuses, like in the first picture, I tried it in uitooltip, but i dont know where and what to call, can someone help me? Link to comment Share on other sites More sharing options...
4peppe 98 Posted October 17, 2021 Share Posted October 17, 2021 (edited) Hello, can you help me? I have this problem: https://metin2.download/picture/995084F4N6UkJ63m4151Fis1CbuT0tV5/.png Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Developer Mitachi 1456 Posted October 17, 2021 Developer Share Posted October 17, 2021 (edited) 3 hours ago, 4peppe said: Hello, can you help me? I have this problem: https://metin2.download/picture/995084F4N6UkJ63m4151Fis1CbuT0tV5/.png If you followed the tutorial correctly, it should work. If you have added macros, make sure the sheets arrive in Locale_inc.h Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
4peppe 98 Posted October 18, 2021 Share Posted October 18, 2021 9 hours ago, Mitachi said: If you followed the tutorial correctly, it should work. If you have added macros, make sure the sheets arrive in Locale_inc.h do I have to insert the icon folder of your pack inside an .eix / .epk archive? 43 minutes ago, 4peppe said: do I have to insert the icon folder of your pack inside an .eix / .epk archive? obviously it must be compacted in the icon archive, I solved; if it can help anyone, here it is 100% working GrpTextInstance.cpp link: https://pastebin.com/Qk3LpJup 1 Link to comment Share on other sites More sharing options...
CeLCiuSs 0 Posted December 7, 2021 Share Posted December 7, 2021 thanks Link to comment Share on other sites More sharing options...
haristhc 0 Posted March 27, 2022 Share Posted March 27, 2022 (edited) Hello, can you help me please? I go crazy if i don't make it.. I'm trying for 2/3h .. https://metin2.download/picture/OX289jvHwTOwNscTNhdWKz0C90o70zqy/.png Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Foxxielove 3 Posted October 31, 2022 Share Posted October 31, 2022 (edited) any one know what I did wrong? It doesn't load the icons but the tga files are located in icon/emoji/ Edited October 31, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Ruraku 0 Posted February 12, 2023 Share Posted February 12, 2023 Hello, can someone please tell me where I have to put that usage? emojiTextLine.SetText("|Eemoji/key_ctrl|e + |Eemoji/key_x|e + |Eemoji/key_rclick|e - Direct sell") Link to comment Share on other sites More sharing options...
Randaron 2 Posted May 24, 2023 Share Posted May 24, 2023 (edited) Thanks, I'll try it and see, I wait for new updates Edited May 24, 2023 by Randaron Link to comment Share on other sites More sharing options...
mellow2ghost 6 Posted November 21, 2023 Share Posted November 21, 2023 1121 12:40:38298 :: Traceback (most recent call last): 1121 12:40:38299 :: File "ui.py", line 1821, in OnOverInItem 1121 12:40:38299 :: File "ui.py", line 87, in __call__ 1121 12:40:38299 :: File "ui.py", line 78, in __call__ 1121 12:40:38300 :: File "uiInventory.py", line 975, in OverInItem 1121 12:40:38300 :: File "uiInventory.py", line 1151, in ShowToolTip 1121 12:40:38300 :: File "uiToolTip.py", line 554, in SetInventoryItem 1121 12:40:38301 :: NameError 1121 12:40:38301 :: : 1121 12:40:38301 :: global name 'emojiTextLine' is not defined 1121 12:40:38301 :: How to fix it? Link to comment Share on other sites More sharing options...
bicho3711 0 Posted June 10 Share Posted June 10 (edited) Hello, does anyone know how to fix this metin stone space problem? #fixed, i've changed def AppendTextLine to default... Edited June 10 by bicho3711 Link to comment Share on other sites More sharing options...
Recommended Posts