Cesrarr
Member
- Joined
- Oct 3, 2018
- Messages
- 34
- Reaction score
- 7
Im using Tfs 1.3, was searching about it, and found some topics:
Solved - Weird monster behaviour in TFS 1.1?
Windows - Monsters lagging/appear to be dashing
"As you can see in the first video (TFS 0.4 REV 3777), there's really nothing weird about how the monster behaves, it instantly follows you when you run away etc."
"In the second video however (LATEST TFS 1.1 REV), the monster always stops for awhile if you're running away and sometimes he just stops at random times when chasing you."
Then the solution to it was change in creature.cpp:
It also solved my problem here with weird monster behavior.
Now im trying solve that behavior from NPCs when chasing any monster:
Its a npc that attack near monsters, the problem is he attack, stop, attack stop, etc.
Any idea on change it?
Solved - Weird monster behaviour in TFS 1.1?
Windows - Monsters lagging/appear to be dashing
"As you can see in the first video (TFS 0.4 REV 3777), there's really nothing weird about how the monster behaves, it instantly follows you when you run away etc."
"In the second video however (LATEST TFS 1.1 REV), the monster always stops for awhile if you're running away and sometimes he just stops at random times when chasing you."
Then the solution to it was change in creature.cpp:
Code:
if (hasFollowPath) {
isUpdatingPath = false;
g_dispatcher.addTask(createTask(std::bind(&Game::updateCreatureWalk, &g_game, getID())));
}
It also solved my problem here with weird monster behavior.
Now im trying solve that behavior from NPCs when chasing any monster:
Its a npc that attack near monsters, the problem is he attack, stop, attack stop, etc.
Any idea on change it?