Human 18 Posted August 2, 2016 Share Posted August 2, 2016 its really good but i got some problem that is everything working good but when when i change exp at mobproto database for level 100+ say a xxx mob - exp is 40000 but when i hit i get only 17500 exp per kill of that mob at 0% exp rate say priv_empire 4 0 100 when i keep 100% exp rate i get 23500 from same mob and 500% 34500 and 1000% 40000 and if i change the exp of xxx to 700000 in db same rate of exp... 17500 , 34500 , 40000 respectively so where is the problem? Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4864 Posted August 20, 2016 Bot Share Posted August 20, 2016 Hi, it works perfect! Thanks for guide. I have one question about tables in constants.cpp, there are three tables which look totally the same. Imho each table is for each other region, is there any way to combine them to just one? I'm talking about those: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1] Link to comment Share on other sites More sharing options...
bluedrago 28 Posted October 1, 2016 Share Posted October 1, 2016 (edited) level work perfect but i have one error in show my level -.- https://metin2.download/picture/7w90x9izw2m9oXw60rl9O54n8EZ3xG78/.jpg https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif where is my error? Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium TAUMP 825 Posted October 1, 2016 Premium Share Posted October 1, 2016 (edited) 4 hours ago, bluedrago said: level work perfect but i have one error in show my level -.- https://metin2.download/picture/7w90x9izw2m9oXw60rl9O54n8EZ3xG78/.jpg https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif where is my error? Something missing. Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Cilindro 14 Posted March 9, 2017 Share Posted March 9, 2017 i have a problem to offert exp to guild same one know this error Link to comment Share on other sites More sharing options...
cannabis93 0 Posted May 21, 2017 Share Posted May 21, 2017 How i can resolve that? if change functions in guild.cpp doesn't compile . sorry english, im spanish. i change BYTE for int in functions Link to comment Share on other sites More sharing options...
Zeph 8 Posted October 13, 2018 Share Posted October 13, 2018 @masodikbela Hello, can you help me? My problems: I can't offer exp to guild and make guild war ;c Link to comment Share on other sites More sharing options...
EricBloodaxe 0 Posted January 26, 2019 Share Posted January 26, 2019 Thank you. @ masodikbela Link to comment Share on other sites More sharing options...
Premium EnKor 42 Posted February 22, 2019 Premium Share Posted February 22, 2019 Fix for Status point: char.cppSearch this: void CHARACTER::ResetPoint(int iLv) { BYTE bJob = GetJob(); [...] [...] //PointChange(POINT_STAT, ((MINMAX(1, iLv, 99) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); ComputePoints(); // ȸº¹ [...] [...] } Then replace this: PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); to this: 300 is my level max PointChange(POINT_STAT, ((MINMAX(1, iLv, 300) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); void CHARACTER::ResetPoint(int iLv) { BYTE bJob = GetJob(); [...] [...] [...] PointChange(POINT_STAT, ((MINMAX(1, iLv, 300) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); [...] } if pc.get_sex() == true and npc.get_sex() == false then npc.purge() end Link to comment Share on other sites More sharing options...
yinl3441 0 Posted June 7, 2019 Share Posted June 7, 2019 On 7/14/2015 at 11:36 AM, masodikbela said: Hi there Devs, If you have question(s)/problem(s)/remark(s), feel free to post it here, or send me a PM. Have a nice day, ~masodikbela I'm sorry I get this error when logging into the game 0607 23:22:09271 :: networkModule.py(line:208) SetSelectCharacterPhasesystem.py(line:130) __pack_importsystem.py(line:110) _process_resultintroSelect.py(line:31) <module>system.py(line:130) __pack_importsystem.py(line:110) _process_resultinterfaceModule.py(line:66) <module>interfaceModule.py(line:791) InterfacenetworkModule.SetSelectCharacterPhase - <type 'exceptions.AttributeError'>:'module' object has no attribute 'ENABLE_DAMAGE_TOP'0607 23:22:09271 :: ============================================================================================================0607 23:22:09271 :: Abort!!!! Link to comment Share on other sites More sharing options...
I bims 1 WLAN 4 Posted December 26, 2021 Share Posted December 26, 2021 (edited) What does that mean?: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] const DWORD party_exp_distribute_table[PLAYER_MAX_LEVEL_CONST + 1] const int aiExpLossPercents[PLAYER_EXP_TABLE_MAX + 1] I expand to 500, what should I keep changing the numbers Quote And finally, edit the level colum in the player table in the player database. Set its type from tinyint to smallint (or int, it depends how high is the maximum level) and expand its size to 3 (or higher). ??? Edited December 26, 2021 by I bims 1 WLAN 1 Link to comment Share on other sites More sharing options...
Matteo 46 Posted December 27, 2021 Share Posted December 27, 2021 (edited) 12 hours ago, I bims 1 WLAN said: What does that mean?: const DWORD exp_table_euckr[PLAYER_EXP_TABLE_MAX + 1] const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] const DWORD exp_table_newcibn[PLAYER_EXP_TABLE_MAX + 1 ] const DWORD party_exp_distribute_table[PLAYER_MAX_LEVEL_CONST + 1] const int aiExpLossPercents[PLAYER_EXP_TABLE_MAX + 1] I expand to 500, what should I keep changing the numbers ??? In your source edit the needed array as you want with the desired level. Look for exp_table_common (for example) in your source and you will find the EXP table where you need to add as many exp values as many levels you want. (since you need exp value for every level) After in your MySQL server change the level field in your player table (which you can find in the player database) according to the instructions Edited December 27, 2021 by Minton System Administrator @ Hungarian Government System Administrator @ Vibestro Freelancer Developer @ Various projects Link to comment Share on other sites More sharing options...
I bims 1 WLAN 4 Posted December 27, 2021 Share Posted December 27, 2021 (edited) https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
xGalardo 13 Posted December 31, 2021 Share Posted December 31, 2021 Since the exp data type is DWORD by default, you will need to expand this if you want to enter more than 4294967295. 1 Link to comment Share on other sites More sharing options...
I bims 1 WLAN 4 Posted December 31, 2021 Share Posted December 31, 2021 (edited) 9 hours ago, xGalardo said: Since the exp data type is DWORD by default, you will need to expand this if you want to enter more than 4294967295. How? And next i have the Problem, after Relog he go back to lvl 255 and EXP -9 Edited December 31, 2021 by I bims 1 WLAN Link to comment Share on other sites More sharing options...
Trojan3D 1 Posted April 20, 2023 Share Posted April 20, 2023 I encounter a problem HP (vitality) is minus - Link to comment Share on other sites More sharing options...
Trojan3D 1 Posted April 21, 2023 Share Posted April 21, 2023 (edited) 13 hours ago, Trojan3D said: I encounter a problem HP (vitality) is minus - EnKor On 2/22/2019 at 9:47 AM, EnKor said: Fix for Status point: char.cpp Search this: Reveal hidden contents void CHARACTER::ResetPoint(int iLv) { BYTE bJob = GetJob(); [...] [...] //PointChange(POINT_STAT, ((MINMAX(1, iLv, 99) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); ComputePoints(); // ȸº¹ [...] [...] } Then replace this: PointChange(POINT_STAT, ((MINMAX(1, iLv, 90) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); to this: 300 is my level max PointChange(POINT_STAT, ((MINMAX(1, iLv, 300) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); Reveal hidden contents void CHARACTER::ResetPoint(int iLv) { BYTE bJob = GetJob(); [...] [...] [...] PointChange(POINT_STAT, ((MINMAX(1, iLv, 300) - 1) * 3) + GetPoint(POINT_LEVEL_STEP) - GetPoint(POINT_STAT)); [...] } I encounter a problem HP (vitality) is minus - https://metin2.download/picture/3apQX022sTa5t3bV3AwL3ercImRh9Y7w/.png Edited April 21, 2023 by Metin2 Dev International Core X - External 2 Internal Link to comment Share on other sites More sharing options...
mellow2ghost 6 Posted May 13, 2023 Share Posted May 13, 2023 Hey! How to fix it? constants.cpp:631: error: too many initializers for 'const DWORD [401]' constants.cpp:1071: error: too many initializers for 'const DWORD [401]' constants.cpp:1520: error: too many initializers for 'const DWORD [401]' Link to comment Share on other sites More sharing options...
Recommended Posts