Powell 8 Posted April 13, 2023 Share Posted April 13, 2023 Description of the problem: If you press the [Space key] while you are riding, while there is no weapon in your hand, it gives an error like this and keeps a syserr record every second. How to fix: If you want to fix that problem you will be find on your client source folder in this file ActorInstanceBattle.cpp. Client Source>GameLib>ActorInstanceBattle.cpp Find: if (wComboIndex == 0) { TraceError("CActorInstance::__RunNextCombo(wComboType=%d, wComboIndex=%d)", wComboType, wComboIndex); return; } Add under: else if (m_wcurMotionMode == 9) { return; } That is all. 2 4 Link to comment Share on other sites More sharing options...
Active Member Ulas 172 Posted April 20, 2023 Active Member Share Posted April 20, 2023 On 4/13/2023 at 11:28 PM, Powell said: Description of the problem: If you press the [Space key] while you are riding, while there is no weapon in your hand, it gives an error like this and keeps a syserr record every second. How to fix: If you want to fix that problem you will be find on your client source folder in this file ActorInstanceBattle.cpp. Client Source>GameLib>ActorInstanceBattle.cpp Find: if (wComboIndex == 0) { TraceError("CActorInstance::__RunNextCombo(wComboType=%d, wComboIndex=%d)", wComboType, wComboIndex); return; } Add under: else if (m_wcurMotionMode == 9) { return; } That is all. I think this is not fix but this is your chooice 1 Link to comment Share on other sites More sharing options...
Powell 8 Posted April 20, 2023 Author Share Posted April 20, 2023 You're right this is not very well nicely solution. If you are know a better solution than this, im glad to listening to you. But that was the only solution that came to my mind at that moment Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted April 20, 2023 Premium Share Posted April 20, 2023 I'm not sure about the enum you used. Maybe is better: if (m_wcurMotionMode == CRaceMotionData::MODE_HORSE) return; 1 Link to comment Share on other sites More sharing options...
Amsterdam 339 Posted December 2, 2023 Share Posted December 2, 2023 (edited) bool CActorInstance::CanAttack() { if (!CanAct()) return false; if (IsUsingSkill()) { if (!CanCancelSkill()) return false; } if (CRaceMotionData::MODE_HORSE == GetMotionMode()) // fix return false; return true; } Edited December 2, 2023 by brolah 1 Link to comment Share on other sites More sharing options...
Premium WeedHex 635 Posted December 3, 2023 Premium Share Posted December 3, 2023 19 hours ago, brolah said: bool CActorInstance::CanAttack() { if (!CanAct()) return false; if (IsUsingSkill()) { if (!CanCancelSkill()) return false; } if (CRaceMotionData::MODE_HORSE == GetMotionMode()) // fix return false; return true; } The first solution is less heavy. 1 Link to comment Share on other sites More sharing options...
Randaron 2 Posted December 15, 2023 Share Posted December 15, 2023 Does anyone find a good and reliable fix? 1 Link to comment Share on other sites More sharing options...
TrC 1 Posted February 29 Share Posted February 29 (edited) On 12/3/2023 at 12:20 AM, Amsterdam said: bool CActorInstance::CanAttack() { if (!CanAct()) return false; if (IsUsingSkill()) { if (!CanCancelSkill()) return false; } if (CRaceMotionData::MODE_HORSE == GetMotionMode()) // fix return false; return true; } bool CActorInstance::CanAttack() { if (!CanAct()) return false; if (IsUsingSkill()) { if (!CanCancelSkill()) return false; } if (CRaceMotionData::MODE_HORSE == GetMotionMode()) return false; if (CRaceMotionData::MODE_FISHING == GetMotionMode()) return false; return true; } Edited February 29 by TrC 1 Link to comment Share on other sites More sharing options...
Filachilla 29 Posted February 29 Share Posted February 29 What to delete mounts? Just joking lmao Btw. Is that problem when you ride on horse or mount and try to attack with space without weapon as I think? (maybe in ride??) As I remember this make bug in some situations with run animations I dont know if thats correct, but what to just block attack from horse/mount, without weapon? Because you just simply cant, (doesnt exist animation for fist hit from horse) so its I think right fix to make correct way for that Ps: Sorry but some gif or video will be fine to understand more Link to comment Share on other sites More sharing options...
Recommended Posts