ĐECKED 0 Posted January 2, 2023 Share Posted January 2, 2023 Does anyone know where this is calculated? Thank you. Link to comment Share on other sites More sharing options...
Active Member Draveniou1 715 Posted January 2, 2023 Active Member Share Posted January 2, 2023 constants.h extern const DWORD party_exp_distribute_table[PLAYER_EXP_TABLE_MAX + 1]; constnts.cpp const DWORD party_exp_distribute_table[PLAYER_EXP_TABLE_MAX + 1] = { 0, 10, 10, 10, 10, 15, 15, 20, 25, 30, 40, 50, 60, 80, 100, 120, 140, 160, 184, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510, 550, 600, 640, 700, 760, 820, 880, 940, 1000, 1100, 1180, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, }; change exp with your number Link to comment Share on other sites More sharing options...
ĐECKED 0 Posted January 2, 2023 Author Share Posted January 2, 2023 I don't get it, what do the values in this table represent? I see that there's a value for each level, but other than that, I can't make sense of it. If I wanted to make it so when killing a Wild Dog, for example, every player in the group receives the full 15 XP, what change do I have to make? Link to comment Share on other sites More sharing options...
Active Member Draveniou1 715 Posted January 2, 2023 Active Member Share Posted January 2, 2023 4 minutes ago, ĐECKED said: I don't get it, what do the values in this table represent? I see that there's a value for each level, but other than that, I can't make sense of it. If I wanted to make it so when killing a Wild Dog, for example, every player in the group receives the full 15 XP, what change do I have to make? 10, 10, 10, 10, 15, 15, 20, 25, 30, 40, 50, 60, 80, 100, 120, 140, 160, 184, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510, 550, 600, 640, 700, 760, 820, 880, 940, 1000, 1100, 1180, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, 1260, 1320, 1380, 1440, 1500, 1560, 1620, 1680, 1740, 1800, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, 3000, Here you change the board in the team with your own choice how much exactly you will take your team Change the numbers until you find the right exp for your whole team Link to comment Share on other sites More sharing options...
Active Member Draveniou1 715 Posted January 2, 2023 Active Member Share Posted January 2, 2023 1 hour ago, ĐECKED said: I don't get it, what do the values in this table represent? I see that there's a value for each level, but other than that, I can't make sense of it. If I wanted to make it so when killing a Wild Dog, for example, every player in the group receives the full 15 XP, what change do I have to make? when kill begin local mapindexbest = pc.get_map_index() if party.is_party() with mapindexbest == 1 or mapindexbest == 21 or mapindexbest == 41 then --Add map local party_give_exp_all = {party.get_member_pids()} for i = 1, table.getn(party_give_exp_all) do if pc.select_pid(party_give_exp_all[i]) != 0 then local give_experian = number(1, 2) if give_experian == 1 and pc.get_level() >= 90 and pc.get_level() < 100 then pc.give_exp2(15) --Change exp or what else if give_experian == 1 and pc.get_level() >= 90 and pc.get_level() < 100 then pc.give_exp2(15) --Change exp or what end end end end end end Try this so I made party exp on my own server You can define the maps you want. If you want exp to the whole team on a different map just make a second quest and set a new map with different exp when kill begin you change when 101.kill begin if you want them for specific mobs Link to comment Share on other sites More sharing options...
Contributor MrQuin 6402 Posted January 3, 2023 Contributor Share Posted January 3, 2023 what the fu*# am i reading... @ char_battle.cpp: (You can add a new party exp distribution mode) 1 My only accounts are here and on M2D, Don't trust anyone else from other shitty sites. Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10267 Posted January 3, 2023 Forum Moderator Share Posted January 3, 2023 https://metin2.dev/topic/13692-search-c-coder-for-group-system-like-shiro3/ 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...
ĐECKED 0 Posted January 3, 2023 Author Share Posted January 3, 2023 5 hours ago, MrQuin said: what the fu*# am i reading... @ char_battle.cpp: (You can add a new party exp distribution mode) Ok, thank you. This makes a lot more sense. Link to comment Share on other sites More sharing options...
Premium Syreldar 1875 Posted January 3, 2023 Premium Share Posted January 3, 2023 On 1/2/2023 at 5:36 PM, Draveniou1 said: when kill begin local mapindexbest = pc.get_map_index() if party.is_party() with mapindexbest == 1 or mapindexbest == 21 or mapindexbest == 41 then --Add map local party_give_exp_all = {party.get_member_pids()} for i = 1, table.getn(party_give_exp_all) do if pc.select_pid(party_give_exp_all[i]) != 0 then local give_experian = number(1, 2) if give_experian == 1 and pc.get_level() >= 90 and pc.get_level() < 100 then pc.give_exp2(15) --Change exp or what else if give_experian == 1 and pc.get_level() >= 90 and pc.get_level() < 100 then pc.give_exp2(15) --Change exp or what end end end end end end Try this so I made party exp on my own server You can define the maps you want. If you want exp to the whole team on a different map just make a second quest and set a new map with different exp when kill begin you change when 101.kill begin if you want them for specific mobs Look... no. There are things you shouldn't use a quest for, this is one of them. 2 1 "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar 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