Zeph 8 Posted October 13, 2018 Share Posted October 13, 2018 I have problem with maximum level in source. I made it from this guide: https://metin2dev.org/board/index.php?/topic/7718-cexpand-maximum-level/&page=4&tab=comments#comment-107270 But, i have a little problems: I have negative exp above 99 level. I can't offer exp to guild SS: Link to comment Share on other sites More sharing options...
iBeast 106 Posted October 13, 2018 Share Posted October 13, 2018 Have you made the point with constants.cpp properly? There is also possibility that you use instead of constants.cpp "database way"... Do you have something as exp_table in your common database? Hope I helped. iBeast Link to comment Share on other sites More sharing options...
Zeph 8 Posted October 13, 2018 Author Share Posted October 13, 2018 18 minut temu, iBeast napisał: Have you made the point with constants.cpp properly? There is also possibility that you use instead of constants.cpp "database way"... Do you have something as exp_table in your common database? Hope I helped. iBeast I don't have exp_table in my database. This is my constants.cpp, i made max 200 level. https://pastebin.com/tcn6Jhh9 Link to comment Share on other sites More sharing options...
iBeast 106 Posted October 13, 2018 Share Posted October 13, 2018 Just now, Zeph said: I don't have exp_table in my database. This is my constants.cpp, i made max 200 level. https://pastebin.com/tcn6Jhh9 What about syserrs? iBeast Link to comment Share on other sites More sharing options...
Zeph 8 Posted October 13, 2018 Author Share Posted October 13, 2018 1 minutę temu, iBeast napisał: What about syserrs? iBeast Nothing, syssers they are clean. Link to comment Share on other sites More sharing options...
iBeast 106 Posted October 13, 2018 Share Posted October 13, 2018 2 minutes ago, Zeph said: Nothing, syssers they are clean. Try to add in constants.cpp after level 99 exp values and higher "u". (In all consts.) Like that way: [...] 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2050000000, // 99레벨 일 때 필요경험치 (100레벨이 되기 위한) 2150000000u, // 100 2210000000u, 2250000000u, 2280000000u, 2310000000u, 2330000000u, // 105 2350000000u, 2370000000u, 2390000000u, 2400000000u, 2410000000u, // 110 [...] iBeast Link to comment Share on other sites More sharing options...
Zeph 8 Posted October 13, 2018 Author Share Posted October 13, 2018 22 minuty temu, iBeast napisał: Try to add in constants.cpp after level 99 exp values and higher "u". (In all consts.) Like that way: [...] 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2050000000, // 99레벨 일 때 필요경험치 (100레벨이 되기 위한) 2150000000u, // 100 2210000000u, 2250000000u, 2280000000u, 2310000000u, 2330000000u, // 105 2350000000u, 2370000000u, 2390000000u, 2400000000u, 2410000000u, // 110 [...] iBeast Don't work, i have negative exp an 100 lv. 1 Link to comment Share on other sites More sharing options...
Zeph 8 Posted October 13, 2018 Author Share Posted October 13, 2018 @iBeast I fixed the problem, i add above 99 2100000000 in all const and this is working, but still i can't offer exp to guild, maybe you know what is going on? Link to comment Share on other sites More sharing options...
iBeast 106 Posted October 13, 2018 Share Posted October 13, 2018 2 minutes ago, Zeph said: @iBeast I fixed the problem, i add above 99 2100000000 in all const and this is working, but still i can't offer exp to guild, maybe you know what is going on? You can not offer higher value or any? Can you offer e.x.: 10000 experience points? Link to comment Share on other sites More sharing options...
Zeph 8 Posted October 13, 2018 Author Share Posted October 13, 2018 10 minut temu, iBeast napisał: You can not offer higher value or any? Can you offer e.x.: 10000 experience points? When i try add 100 or 1000 points to guild, chat gives me this information. case GUILD_SUBHEADER_CG_OFFER: { DWORD offer = *reinterpret_cast<const DWORD*>(c_pData); if (pGuild->GetLevel() >= GUILD_MAX_LEVEL && LC_IsHongKong() == false) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> ±ćµĺ°ˇ ŔĚąĚ ĂÖ°í ·ąş§ŔÔ´Ď´Ů.")); } else { offer /= 100; offer *= 100; if (pGuild->OfferExp(ch, offer)) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> %uŔÇ °ćÇčġ¸¦ ĹőŔÚÇĎż´˝Ŕ´Ď´Ů."), offer); } else { THIS--------- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> °ćÇčġ ĹőŔÚżˇ ˝ÇĆĐÇĎż´˝Ŕ´Ď´Ů.")); } } } return SubPacketLen; Link to comment Share on other sites More sharing options...
iBeast 106 Posted October 13, 2018 Share Posted October 13, 2018 2 minutes ago, Zeph said: When i try add 100 or 1000 points to guild, chat gives me this information. case GUILD_SUBHEADER_CG_OFFER: { DWORD offer = *reinterpret_cast<const DWORD*>(c_pData); if (pGuild->GetLevel() >= GUILD_MAX_LEVEL && LC_IsHongKong() == false) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> ±ćµĺ°ˇ ŔĚąĚ ĂÖ°í ·ąş§ŔÔ´Ď´Ů.")); } else { offer /= 100; offer *= 100; if (pGuild->OfferExp(ch, offer)) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> %uŔÇ °ćÇčġ¸¦ ĹőŔÚÇĎż´˝Ŕ´Ď´Ů."), offer); } else { THIS--------- ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±ćµĺ> °ćÇčġ ĹőŔÚżˇ ˝ÇĆĐÇĎż´˝Ŕ´Ď´Ů.")); } } } return SubPacketLen; Contact me on skype mt2.ibeast. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now