Diego Rodrigues Vieira
Diego Rodrigues Vieira
Open **game.cpp** Edit the method **processAttackCancel** ``` c++ void Game::processAttackCancel(uint seq) { if(isAttacking() && (seq == 0 || m_seq == seq)) cancelAttack(); if(isFollowing()) cancelFollow(); } ```
Private video?
Now, works!
I have a solution to this problem, but I'm still testing...
I have clean map working...but needs more tests...
I have a command to clear the whole map Currently, my map is small, I do not know about the performance on a global map
video: https://www.youtube.com/watch?v=pQMDxJpb_YM
https://github.com/Mkalo/forgottenserver/commit/1f9a8c7b92a0beb0d65ff3413a4cd6b19190753d
``` void Player::doAttacking(uint32_t interval) { if(lastAttack == 0){ // - 1 to compensate for timer resolution etc. lastAttack = OTSYS_TIME() - getAttackSpeed() - 1; } // Can't attack while pacified...
@peonso I'll make a pull request later. thanks!