skill178 19 Posted November 4, 2015 Share Posted November 4, 2015 (edited) is PARTY? https://metin2.download/picture/Y1RzfI1X2INShtZso9WwYHnu5Nc88r3A/.png SKILL_FLAG_PARTY = (1 << 28), https://metin2.download/picture/t5aKI4seGJZSHwx2CiZj4mweeDK5zgVF/.png Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 3 1 2 Link to comment Share on other sites More sharing options...
Cyxer 140 Posted November 14, 2015 Share Posted November 14, 2015 (edited) is PARTY? https://metin2.download/picture/Y1RzfI1X2INShtZso9WwYHnu5Nc88r3A/.png SKILL_FLAG_PARTY = (1 << 28), https://metin2.download/picture/t5aKI4seGJZSHwx2CiZj4mweeDK5zgVF/.png help please! Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Tasho 243 Posted November 15, 2015 Share Posted November 15, 2015 On 04.11.2015, 07:36:43, tierrilopes said: Party flag working perfectly, thank you again. To the people that want to use it to make the buff for the whole group, but also have they like they normally do (buff people of same kingdom without being at their party): SKIP this part of the tutorial Hidden Content At this part, do what is bellow instead Hidden Content Do this instead: Hidden Content tried you'r way, but now the skill is buffing like the normal one ... but using party_flag Link to comment Share on other sites More sharing options...
Premium tierrilopes 452 Posted November 15, 2015 Premium Share Posted November 15, 2015 4 hours ago, Tasho said: tried you'r way, but now the skill is buffing like the normal one ... but using party_flag With buffs like normal way if your not ina party. When you're in a party it will buff yourself and the party members. If that doesnt work i suggest doing Dash whole tutorial, and then see my post and remove only those parts. (with Party set on db.skill_proto) 1 Link to comment Share on other sites More sharing options...
Tasho 243 Posted November 16, 2015 Share Posted November 16, 2015 yep,sorry man ... I had Party on the 28 flag. Now it works how it should. Link to comment Share on other sites More sharing options...
Cyxer 140 Posted November 16, 2015 Share Posted November 16, 2015 help here guys please! https://metin2dev.org/board/index.php?/topic/9296-skill-buff-wolfman/ Link to comment Share on other sites More sharing options...
Cyxer 140 Posted November 24, 2015 Share Posted November 24, 2015 can you upload char_skill.cpp and skill.h please! Link to comment Share on other sites More sharing options...
WhoIsNice 6 Posted December 20, 2015 Share Posted December 20, 2015 Good job Dash! Nice work! But the problem is, if i want buff my mate without group, don't work.. I just buff myself.. I have try just replace what tierrilopes said but still don't work.. King regards! Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19679 Posted December 20, 2015 Honorable Member Share Posted December 20, 2015 This party flag allows you to buff your group members, not working like shamans buff skills. 1 Link to comment Share on other sites More sharing options...
WhoIsNice 6 Posted December 20, 2015 Share Posted December 20, 2015 Hmm Soo don't exist one way to make buffs with and without group? Link to comment Share on other sites More sharing options...
skill178 19 Posted December 28, 2015 Share Posted December 28, 2015 (edited) Help Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
silvermen 1 Posted November 10, 2016 Share Posted November 10, 2016 (edited) help Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Kronzu 11 Posted November 17, 2016 Share Posted November 17, 2016 Where and how do definitions to make it work from a given skill level? e.g. .: Level: G1+ Link to comment Share on other sites More sharing options...
Zeph 8 Posted April 2, 2017 Share Posted April 2, 2017 Don't work ;/ Link to comment Share on other sites More sharing options...
thespeedy 20 Posted October 25, 2017 Share Posted October 25, 2017 (edited) Am 21.8.2015 um 21:25 schrieb skill178: help error push same problem, any idea for Party FLAG and with/without party? Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Tacticus 73 Posted December 17, 2017 Share Posted December 17, 2017 same problem, it work only when i m at group...but when i try buff just player without group it now work...any idea why? Link to comment Share on other sites More sharing options...
Premium tierrilopes 452 Posted December 17, 2017 Premium Share Posted December 17, 2017 Read the whole topic. 1 Link to comment Share on other sites More sharing options...
Heathcliff 183 Posted September 24, 2018 Share Posted September 24, 2018 Hi Guys! I know this post is very old but I usually see this system in some server and I always find a mistake about it. Let me explain. If you implement this system with the fix that tierrilopes show to us, still you won't be able to buff someone if you are in a party and he is not. So you should exit your current party, and give buff to him. If you want to fix this bug too, you should go to char_skill.cpp and search for this line: GetParty()->ForEachOnMapMember(f, GetMapIndex()); After this line past this condition: //Fix where you should exit your party to buff someone who is not in your party// if (!pkVictim->GetParty()) ComputeSkill(dwVnum, pkVictim); Finally it should like this: else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY) && GetParty()) { FPartyPIDCollector f; GetParty()->ForEachOnMapMember(f, GetMapIndex()); //Fix where you should exit your party to buff someone who is not in your party// if (!pkVictim->GetParty()) ComputeSkill(dwVnum, pkVictim); for (std::vector <DWORD>::iterator it = f.vecPIDs.begin(); it != f.vecPIDs.end(); it++) { LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it); ComputeSkill(dwVnum, ch); } } Compile, and you are done! Result: For now, you can buff any player and doesn't matter you are in a party or not, but if you are in a party you will buff your teammates with the guy who is not in your team. It"s not a large modification, but I think it's useful. Sorry for my bad english! Best regards! 4 Link to comment Share on other sites More sharing options...
iShadoW 3 Posted December 14, 2018 Share Posted December 14, 2018 On 9/24/2018 at 4:37 PM, [email protected] said: Hi Guys! I know this post is very old but I usually see this system in some server and I always find a mistake about it. Let me explain. If you implement this system with the fix that tierrilopes show to us, still you won't be able to buff someone if you are in a party and he is not. So you should exit your current party, and give buff to him. If you want to fix this bug too, you should go to char_skill.cpp and search for this line: GetParty()->ForEachOnMapMember(f, GetMapIndex()); After this line past this condition: //Fix where you should exit your party to buff someone who is not in your party// if (!pkVictim->GetParty()) ComputeSkill(dwVnum, pkVictim); Finally it should like this: else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY) && GetParty()) { FPartyPIDCollector f; GetParty()->ForEachOnMapMember(f, GetMapIndex()); //Fix where you should exit your party to buff someone who is not in your party// if (!pkVictim->GetParty()) ComputeSkill(dwVnum, pkVictim); for (std::vector <DWORD>::iterator it = f.vecPIDs.begin(); it != f.vecPIDs.end(); it++) { LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it); ComputeSkill(dwVnum, ch); } } Compile, and you are done! Result: For now, you can buff any player and doesn't matter you are in a party or not, but if you are in a party you will buff your teammates with the guy who is not in your team. It"s not a large modification, but I think it's useful. Sorry for my bad english! Best regards! it works perfectly, ty 1 Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted January 11, 2019 Share Posted January 11, 2019 there no flag -> ATTACK_SLOW in source so it mean SLOW, not ATTACK_SLOW im right? Link to comment Share on other sites More sharing options...
Cripplez 40 Posted July 21, 2020 Share Posted July 21, 2020 I tested this with all the new edit, the only problem now is if the shaman is not in a party she can't buff others, but if she is in a party she can buff other people not in the party Anyone fixed this? Link to comment Share on other sites More sharing options...
PiColos 1 Posted January 21, 2021 Share Posted January 21, 2021 (edited) On 12/28/2015 at 12:09 PM, skill178 said: Help Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Premium ‚Point‘ 20 Posted March 1, 2021 Premium Share Posted March 1, 2021 (edited) Having a problem, that since I added the system with all fixxes here in the thread, heal shamans can't use "cure" anymore. Not on them self and on nobody else. Also if I set the Party flag to Cure the core is going to crash. Someone have an idea? Won't add a second Party flag since I'd like to make Cure able for the whole group too. Edited March 4, 2021 by ‚Point‘ Link to comment Share on other sites More sharing options...
Premium ‚Point‘ 20 Posted March 4, 2021 Premium Share Posted March 4, 2021 (edited) push Edited March 4, 2021 by ‚Point‘ Link to comment Share on other sites More sharing options...
Premium ‚Point‘ 20 Posted March 9, 2021 Premium Share Posted March 9, 2021 On 3/1/2021 at 7:55 PM, ‚Point‘ said: Having a problem, that since I added the system with all fixxes here in the thread, heal shamans can't use "cure" anymore. Not on them self and on nobody else. Also if I set the Party flag to Cure the core is going to crash. Someone have an idea? Won't add a second Party flag since I'd like to make Cure able for the whole group too. Looking for help Link to comment Share on other sites More sharing options...
Recommended Posts