xsonic 0 Posted August 25, 2017 Share Posted August 25, 2017 Hello all i have problem in lycan skill when active the skill and re make it the skill Disabled this video to Clarification the problem Link to comment Share on other sites More sharing options...
Johnny69 368 Posted August 25, 2017 Share Posted August 25, 2017 I think you are using marty source.(there i saw this problem) So let's explain: Active slot effect is set when skill affect is set. PythonPlayerSkill.cpp -> SetAffect In SetAffect function is called AffectIndexToSkillIndex to get skill index by affect type. (passing by reference) AffectIndexToSkillIndex search values in a vector and skill 174 (red possession) is not in that vector. Fix: Go in PythonPlayer.cpp , search: m_kMap_dwAffectIndexToSkillIndex.insert(make_pair(int(CInstanceBase::AFFECT_HEUKSIN), 79)); Add after: #ifdef ENABLE_WOLFMAN_CHARACTER m_kMap_dwAffectIndexToSkillIndex.insert(make_pair(int(CInstanceBase::AFFECT_RED_POSSESSION), 174)); #endif Link to comment Share on other sites More sharing options...
Premium finaltorment 53 Posted August 25, 2017 Premium Share Posted August 25, 2017 45 minutes ago, Johnny69 said: I think you are using marty source.(there i saw this problem) this problem is only whit the old free release, i suggest you to go to buy src from marty, not use the free one.. Link to comment Share on other sites More sharing options...
xsonic 0 Posted August 26, 2017 Author Share Posted August 26, 2017 13 hours ago, Johnny69 said: I think you are using marty source.(there i saw this problem) So let's explain: Active slot effect is set when skill affect is set. PythonPlayerSkill.cpp -> SetAffect In SetAffect function is called AffectIndexToSkillIndex to get skill index by affect type. (passing by reference) AffectIndexToSkillIndex search values in a vector and skill 174 (red possession) is not in that vector. Fix: Go in PythonPlayer.cpp , search: m_kMap_dwAffectIndexToSkillIndex.insert(make_pair(int(CInstanceBase::AFFECT_HEUKSIN), 79)); Add after: #ifdef ENABLE_WOLFMAN_CHARACTER m_kMap_dwAffectIndexToSkillIndex.insert(make_pair(int(CInstanceBase::AFFECT_RED_POSSESSION), 174)); #endif yes marty source thank you its working <3 12 hours ago, finaltorment said: this problem is only whit the old free release, i suggest you to go to buy src from marty, not use the free one.. dont say the free but it the old 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