I know this was fixed as of SmaugFUSS, but I am running original smaug. Every round of combat, the mob sends the "mob lunges at player out of nowhere" and the "alas, we meet again, player" etc lines found in function found_prey in track.c. This is as far as Ive been able to trace the problem with my limited knowledge of C. My best guess is that when the player attacks the mob, the mob is set to track them, and its "finding" the player every single round. If I'm right, then I need to know where that track flag is set, and where to turn it off once combat starts. If I'm wrong, then I need to know whats really going on :) Any ideas guys?
mobs spam hunt strings each round of combat
Posted by Jeryx on Wed 06 Oct 2004 05:30 PM — 3 posts, 13,552 views.
I'm pretty sure it has to do with mob->hating field. It should be cleared when it attacks the player.
it is the hunting flag. the found_prey lines are not being sent every round, but every 2 or 3 rounds. I watched a mobs flags through mstat over the course of a fight, and it looks like every time the player hits the mob, the hunt flag is set again. Still trying to figure out how to fix this though. On an unrelated bug, mobs are sometimes up and walking off (not fleeing) during combat, and leaving the player stuck fighting "someone who has left". Where is the best place in fight.c for a check if the target is still in the room?