Forum Moderator VegaS™ 10274 Posted December 6, 2018 Forum Moderator Share Posted December 6, 2018 (edited) M2 Download Center This is the hidden content, please Sign In or Sign Up ( Internal ) This is the hidden content, please Sign In or Sign Up ( GitHub ) M: https://metin2.download/picture/QuI4fRkksSqm6UFD048UKu8SH5zfRuzN/.gif F: https://metin2.download/picture/6d7VPCh9jWxl2LeT32EjORzb7IXd79ef/.gif GitHub repository: This is the hidden content, please Sign In or Sign Up 02.03.2019 - Polymorph bug fixed. Edited August 27, 2022 by Metin2 Dev Core X - External 2 Internal 77 1 1 1 20 1 72 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
avertuss 48 Posted January 13, 2019 Share Posted January 13, 2019 (edited) Dnia 6.12.2018 o 13:46, VegaS™ napisał: M: https://metin2.download/picture/QuI4fRkksSqm6UFD048UKu8SH5zfRuzN/.gif F: https://metin2.download/picture/6d7VPCh9jWxl2LeT32EjORzb7IXd79ef/.gif GitHub repository: This is the hidden content, please Sign In or Sign Up @VegaS™ Any ideas? Edited August 27, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10274 Posted January 14, 2019 Author Forum Moderator Share Posted January 14, 2019 @avertuss Your compiler doesn't support this feature (list initialization (since C++11)). https://en.cppreference.com/w/cpp/language/list_initialization Replace: const std::vector<const std::string> vecTitleName{c_szTitleNameF, c_szTitleNameM}; With: std::vector<const std::string> vecTitleName; vecTitleName.push_back(c_szTitleNameF); vecTitleName.push_back(c_szTitleNameM); Or: const char * c_szTitles[] = {c_szTitleNameF, c_szTitleNameM}; const std::vector<const std::string> vecTitleName(c_szTitles, c_szTitles + sizeof(c_szTitles) / sizeof(c_szTitles[0])); 1 3 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
PeaceMaker 121 Posted January 14, 2019 Share Posted January 14, 2019 (edited) On 12/6/2018 at 2:46 PM, VegaS™ said: M: https://metin2.download/picture/QuI4fRkksSqm6UFD048UKu8SH5zfRuzN/.gif F: https://metin2.download/picture/6d7VPCh9jWxl2LeT32EjORzb7IXd79ef/.gif GitHub repository: This is the hidden content, please Sign In or Sign Up so if its female there's an F next to it ? or did i get it wrong Edited August 27, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Active Member Mind Rapist 188 Posted January 14, 2019 Active Member Share Posted January 14, 2019 1 hour ago, PeaceMaker said: so if its female there's an F next to it ? or did i get it wrong Exactly. Might seem a small system at first, but if you think about it many languages could use this to develop systems for better dialogs or information. GJ man 1 Link to comment Share on other sites More sharing options...
PeaceMaker 121 Posted January 14, 2019 Share Posted January 14, 2019 52 minutes ago, Mind Rapist said: Exactly. Might seem a small system at first, but if you think about it many languages could use this to develop systems for better dialogs or information. GJ man Yeah but having an F next to Alignment makes no sense xD Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10274 Posted January 14, 2019 Author Forum Moderator Share Posted January 14, 2019 2 minutes ago, PeaceMaker said: Yeah but having an F next to Alignment makes no sense xD Quote Title names for female are just for test, you can replace them how you want. In many games the alignment or grades are by specific sex. 1 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
Premium Galet 510 Posted January 14, 2019 Premium Share Posted January 14, 2019 il y a 31 minutes, PeaceMaker a dit : Yeah but having an F next to Alignment makes no sense xD It's for example purposes. You can change it for a lot of things and pretty much whatever you want. This system is really usefull as it changes alignment name based on the sex of the player, which is not especially useful in english but it is in a lot of languages. For example in French "Agressif / Agressive" "Cruel / Cruelle" "Chevalier / Chevaleresse". 2 Link to comment Share on other sites More sharing options...
PeaceMaker 121 Posted January 14, 2019 Share Posted January 14, 2019 2 minutes ago, Galet said: It's for example purposes. You can change it for a lot of things and pretty much whatever you want. This system is really usefull as it changes alignment name based on the sex of the player, which is not especially useful in english but it is in a lot of languages. For example in French "Agressif / Agressive" "Cruel / Cruelle" "Chevalier / Chevaleresse". Ahh gotcha . im english that's why 2 Link to comment Share on other sites More sharing options...
avertuss 48 Posted February 24, 2019 Share Posted February 24, 2019 (edited) @VegaS™ Hi Vegas. I updated vs2008 to vs2015 and i have problem with compile. logs 17> InstanceBaseEffect.cpp 17>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(665): error C2338: The C++ Standard forbids containers of const elements because allocator<const T> is ill-formed. 17> InstanceBaseEffect.cpp(750): note: see reference to class template instantiation 'std::allocator<_Ty>' being compiled 17> with 17> [ 17> _Ty=const std::string 17> ] 17>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(695): error C2535: 'const std::basic_string<char,std::char_traits<char>,std::allocator<char>> *std::allocator<_Ty>::address(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &) noexcept const': member function already defined or declared 17> with 17> [ 17> _Ty=const std::string 17> ] 17> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(689): note: see declaration of 'std::allocator<_Ty>::address' 17> with 17> [ 17> _Ty=const std::string 17> ] 17>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(930): error C2535: 'const std::basic_string<char,std::char_traits<char>,std::allocator<char>> *std::_Wrap_alloc<std::allocator<_Ty>>::address(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &) const': member function already defined or declared 17> with 17> [ 17> _Ty=const std::string 17> ] 17> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(924): note: see declaration of 'std::_Wrap_alloc<std::allocator<_Ty>>::address' 17> with 17> [ 17> _Ty=const std::string 17> ] 17> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(450): note: see reference to class template instantiation 'std::_Wrap_alloc<std::allocator<_Ty>>' being compiled 17> with 17> [ 17> _Ty=const std::string 17> ] 17> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(502): note: see reference to class template instantiation 'std::_Vec_base_types<_Ty,_Alloc>' being compiled 17> with 17> [ 17> _Ty=const std::string, 17> _Alloc=std::allocator<const std::string> 17> ] 17> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\vector(680): note: see reference to class template instantiation 'std::_Vector_alloc<std::_Vec_base_types<_Ty,_Alloc>>' being compiled 17> with 17> [ 17> _Ty=const std::string, 17> _Alloc=std::allocator<const std::string> 17> ] 17> InstanceBaseEffect.cpp(750): note: see reference to class template instantiation 'std::vector<const std::string,std::allocator<_Ty>>' being compiled 17> with 17> [ 17> _Ty=const std::string 17> ] code Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19679 Posted February 24, 2019 Honorable Member Share Posted February 24, 2019 Yeah, many languages have different ending of the words, but neither every word has the same ending too. Anyway, the initiation is good. 1 Link to comment Share on other sites More sharing options...
Ultor 1 Posted March 1, 2019 Share Posted March 1, 2019 Hi where can i solve that if it polymorph then do not write female rank for male character? 1 Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10274 Posted March 2, 2019 Author Forum Moderator Share Posted March 2, 2019 (edited) On 3/1/2019 at 10:07 AM, Ultor said: Hi where can i solve that if it polymorph then do not write female rank for male character? Thanks for report, i commited the fix and now works fine. This is the hidden content, please Sign In or Sign Up Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 3 6 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
Ultor 1 Posted March 3, 2019 Share Posted March 3, 2019 Thanks VegaS! ❤❤❤ Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 3, 2019 Share Posted March 3, 2019 (edited) Hi. Do you know why i have that errors when i want compile binary with this system? if i disable this system in locale.inc.h i can compile binary without errors. I'm using vs2015. Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
gweilo321 1 Posted March 3, 2019 Share Posted March 3, 2019 You can also change the colors for female right? Link to comment Share on other sites More sharing options...
Tallywa 35 Posted March 3, 2019 Share Posted March 3, 2019 I have this error 0303 23:34:25938 :: Traceback (most recent call last): 0303 23:34:25939 :: File "introLoading.py", line 207, in LoadData 0303 23:34:25939 :: File "introLoading.py", line 294, in __RegisterTitleName 0303 23:34:25939 :: NameError 0303 23:34:25939 :: : 0303 23:34:25939 :: global name 'enumerate' is not defined 0303 23:34:25939 :: and 0303 23:43:54710 :: <string>:292: Warning: 'yield' will become a reserved keyword in the future 0303 23:43:54729 :: networkModule.py(line:238) SetLoadingPhase system.py(line:130) __pack_import networkModule.SetLoadingPhase - exceptions.SyntaxError:invalid syntax (line 292) 0303 23:43:54729 :: ============================================================================================================ 0303 23:43:54729 :: Abort!!!! Function yield tuple(map(next, titleNamesTuple)) and for titleNameIndex, (titleNameFemale, titleNameMale) in enumerate(GetTitleNamesTuple(GetTitleData(locale.GENDER_FEMALE), GetTitleData(locale.GENDER_MALE))): chrmgr.RegisterTitleName(titleNameIndex, titleNameFemale, titleNameMale) Link to comment Share on other sites More sharing options...
dmitry 0 Posted March 22, 2019 Share Posted March 22, 2019 hi guys,i hawe some problem with python,my client wont compile(i think) some scripts after i add that improvements . so, can u help me and fix that ? syserr localeinfo uicharacter introloading Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10274 Posted March 22, 2019 Author Forum Moderator Share Posted March 22, 2019 @dmitry Your problem is in localeInfo.py (korean characters + bad encoding) Here's your localeInfo.py fixed. https://pastebin.com/1xWE4WEJ For those who have the same issue, check this reply, you'll find the file rewritted with non-korean shits and a lot of checks useless: 1 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
dmitry 0 Posted March 22, 2019 Share Posted March 22, 2019 2 hours ago, VegaS™ said: @dmitry Your problem is in localeInfo.py (korean characters + bad encoding) Here's your localeInfo.py fixed. https://pastebin.com/1xWE4WEJ For those who have the same issue, check this reply, you'll find the file rewritted with non-korean shits and a lot of checks useless: thank u,but i have the same eror in the end of file solve that(my bad im dummy,fogot endl in localeinfo.py) but now , client off when char is selected and syserr syserr sloved by update python to 2.7 from 2.2 Link to comment Share on other sites More sharing options...
Tallywa 35 Posted March 23, 2019 Share Posted March 23, 2019 I have an error in the character's page, we do not see the name of the rank and the points Link to comment Share on other sites More sharing options...
Tallywa 35 Posted March 26, 2019 Share Posted March 26, 2019 Bump, i cant compile client with vs 2017 with this system, but i can compile with vs 2013. I can compile client with vs 2017 without system. Link to comment Share on other sites More sharing options...
blue 0 Posted June 13, 2020 Share Posted June 13, 2020 On 1/15/2019 at 4:21 AM, VegaS™ said: In many games the alignment or grades are by specific sex. I agree. I'm guessing that you can have different titles for both sex. For eg: a male char could get 'Warrior' status for 20k align points while a female char would get 'Valkyrie' status for same align points. Simple and efficient @VegaS™ Gj Link to comment Share on other sites More sharing options...
tuguinham2 0 Posted June 28, 2020 Share Posted June 28, 2020 (edited) https://metin2.download/picture/l051i2ezvjOGcna4iGLBRP9C4vucfuAD/.png can someone help Edited September 4, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Poeta 5 Posted June 30, 2020 Share Posted June 30, 2020 Good idea @VegaS™ thank you Link to comment Share on other sites More sharing options...
Recommended Posts