rekt 2 Posted March 24, 2017 Share Posted March 24, 2017 When i use horse skill - no reaction I use with horse level 21+ character level 50+ In instanceBase.cpp - return 3 for military horse. case 20107: case 20108: case 20109: [...] return 3; Char_skill.cpp: [...] bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const [...] [...] if (true == IsRiding()) { if(GetMountVnum()) { if ((GetMountVnum() >= 20107 && GetMountVnum() <= 20109) || (GetMountVnum() >= 25001 && GetMountVnum() <= 35000)) return true; } else return false; switch(dwSkillVnum) { case SKILL_HORSE_WILDATTACK: case SKILL_HORSE_CHARGE: case SKILL_HORSE_ESCAPE: case SKILL_HORSE_WILDATTACK_RANGE: return true; } } [...] char_horse.cpp: [...] bool CHARACTER::CanUseHorseSkill() { if(IsRiding()) { if (GetHorseGrade() == 3) return true; else return false; if(GetMountVnum()) { /*if (GetMountVnum() >= 20107 && GetMountVnum() <= 20109) return true;*/ if (GetMountVnum() >= 25001 && GetMountVnum() <= 35000) return true; if (CMobVnumHelper::IsRamadanBlackHorse(GetMountVnum())) return true; } else return false; } return false; } [...] I have official skill_proto: 137 Cięcie z Siodła 5 1 1 50 HP -(atk+(2*atk*k)) 60+80*k 5-(4*k) ATTACK,USE_MELEE_DAMAGE,CRUSH NONE 0 0 MELEE 10 1 300 0 138 Stąpnięcie Konia 5 1 1 52 HP -(2.4*(200+1.5*lv)+(3*200*k)) 60+120*k 15 ATTACK,USE_MELEE_DAMAGE,SPLASH,CRUSH_LONG MOV_SPEED 50 5 0 0 MELEE 6 1 400 100 139 Fala Mocy 5 1 1 55 HP -(2*(200+1.5*lv)+(3*200*k)) 60+160*k 20 ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,CRUSH NONE 0 0 MELEE 12 1 400 250 140 Grad Strzał 5 1 1 50 HP -(atk+(2*atk*k)) 60+80*k 10 ATTACK,USE_ARROW_DAMAGE,CRUSH NONE 0 0 5 1 2500 0 this is funny. Such a banal mistake. Anyone help me? XDD Link to comment Share on other sites More sharing options...
rekt 2 Posted March 25, 2017 Author Share Posted March 25, 2017 #F5 When i use command: /full_set Skill horse work, but when i logout and use horse skill after @up command not working Link to comment Share on other sites More sharing options...
Premium Syreldar 1873 Posted March 25, 2017 Premium Share Posted March 25, 2017 /full_set sets ur skills to P, which bugs your horse_skills, set them to M1 and your horse_level to 21. "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...
rekt 2 Posted March 25, 2017 Author Share Posted March 25, 2017 2 godziny temu, Syreldar napisał: /full_set sets ur skills to P, which bugs your horse_skills, set them to M1 and your horse_level to 21. I know man. Im not green bro. When i have horse skills on M1 and 21 lvl horse - skills not working When i use comman /full_set - Working, but after teleport not working. Link to comment Share on other sites More sharing options...
Premium Syreldar 1873 Posted March 25, 2017 Premium Share Posted March 25, 2017 char_skill.cpp: Substitute the IsRiding snippet (the one you posted) with this one: bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const [...] [...] if (IsRiding()) { switch(dwSkillVnum) { case SKILL_HORSE_WILDATTACK: case SKILL_HORSE_CHARGE: case SKILL_HORSE_ESCAPE: case SKILL_HORSE_WILDATTACK_RANGE: return true; } } [...] char_horse.cpp: Substitute your CanUseHorseSkill with this: bool CHARACTER::CanUseHorseSkill() { return IsRiding() && GetHorseGrade() == 3; } In any case, if the skills do not totally go off, it's a binary problem, 100%. "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...
rekt 2 Posted March 26, 2017 Author Share Posted March 26, 2017 17 godzin temu, Syreldar napisał: char_skill.cpp: Substitute the IsRiding snippet (the one you posted) with this one: bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const [...] [...] if (IsRiding()) { switch(dwSkillVnum) { case SKILL_HORSE_WILDATTACK: case SKILL_HORSE_CHARGE: case SKILL_HORSE_ESCAPE: case SKILL_HORSE_WILDATTACK_RANGE: return true; } } [...] char_horse.cpp: Substitute your CanUseHorseSkill with this: bool CHARACTER::CanUseHorseSkill() { return IsRiding() && GetHorseGrade() == 3; } In any case, if the skills do not totally go off, it's a binary problem, 100%. Same effect. So binary or client lulz Link to comment Share on other sites More sharing options...
Premium Syreldar 1873 Posted March 26, 2017 Premium Share Posted March 26, 2017 28 minutes ago, rekt said: Same effect. So binary or client lulz binary. "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...
rekt 2 Posted March 27, 2017 Author Share Posted March 27, 2017 F5 Link to comment Share on other sites More sharing options...
rekt 2 Posted March 30, 2017 Author Share Posted March 30, 2017 F5 Link to comment Share on other sites More sharing options...
rekt 2 Posted April 7, 2017 Author Share Posted April 7, 2017 F5 Link to comment Share on other sites More sharing options...
rekt 2 Posted April 12, 2017 Author Share Posted April 12, 2017 F5 Link to comment Share on other sites More sharing options...
rekt 2 Posted April 15, 2017 Author Share Posted April 15, 2017 F5! Link to comment Share on other sites More sharing options...
rekt 2 Posted April 15, 2017 Author Share Posted April 15, 2017 #FIXED HAHAHA XD just character must have skill summon horse on P Link to comment Share on other sites More sharing options...
notbugme 14 Posted May 15, 2018 Share Posted May 15, 2018 I have such a problem. I have a horse skill problem 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