• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ Nostalrius bug attack

Jhon_

Well-Known Member
Joined
May 7, 2019
Messages
56
Reaction score
61
Engine.

the monster cannot attack the player when he is walking, but in the player he can attack the monster, has anyone identified this bug?

Movie: showing what's going on


does anyone here know how to fix this bug?

Up

Up

Up
 
I fixed it on my Nostalrius project.

You need modify sources in monster.cpp file, method doAttacking.
Change:
C++:
if (OTSYS_TIME() >= earliestAttackTime && !isFleeing()) {
To this:
C++:
if (OTSYS_TIME() >= earliestAttackTime) {



1610052100552.png

And recompile sources.

I hope I helped you =]
 
Sorry to hear these many people are having this issue, I will try to debug and fix it when I have time and commit the bug fix to GitHub Nostalrius, which might be later tonight or tomorrow, trying to find time among my real life duties and works.
 
Sorry to hear these many people are having this issue, I will try to debug and fix it when I have time and commit the bug fix to GitHub Nostalrius, which might be later tonight or tomorrow, trying to find time among my real life duties and works.
Did you find the bug on sources?
 
Back
Top