forgottenserver icon indicating copy to clipboard operation
forgottenserver copied to clipboard

Fix monster follow creature

Open ramon-bernardo opened this issue 1 year ago • 3 comments

Pull Request Prelude

Changes Proposed

  • Fix https://github.com/otland/forgottenserver/issues/4865, introduced in https://github.com/otland/forgottenserver/pull/4811. close https://github.com/otland/forgottenserver/pull/4866

ramon-bernardo avatar Dec 07 '24 21:12 ramon-bernardo

Something is still broken with creatures that do not attack, like rabbit. (hostile="0") Instead of fleeing, they take one step at a time. It looks like they are random stepping and not running away. To me it looks like they aren't even considering me as a target to run from. It works fine with fleeing creatures on low health like dragon.

https://github.com/user-attachments/assets/60c2fdfa-9e94-453a-8e68-eec17b616dab

nekiro avatar Dec 09 '24 15:12 nekiro

I reproduced the same problem here, Im trying to find the PR, even reverting #4811, same problem

After back some PR (at #4804), the creature still runs away step-by-step. I also tried revert #4643, same result. #4804 fix problem with vcpkg, without it, an error occurs when compile.

@nekiro any idea?

image

ramon-bernardo avatar Dec 21 '24 22:12 ramon-bernardo

Linked issue was fixed by #4866. This pr is now obsolete. You can repurpose it to fix #4884 or close.

nekiro avatar Dec 29 '24 19:12 nekiro