Actually, I fixed this on my server...
The problem is (sorry Im not looking at my code, bear with the abstracts) a variable used as a flag to mark whether or not the timer has expired. All NPCs were using the SAME FLAG.
So, simple fix was to add the flag definition in the header for the NPCs (Mob.h i believe) and take the def. out of the main thread.
Voila, worked like a dream. Hunt through the code, you will see what I mean.
|