(10-22-2013, 11:56 PM)f3re Wrote: Are you certain that its stealth related...did you test it without stealth? I've seen a similar issue but looking at the code I'm having a hard time seeing how stealth would be involved.
With stealth disabled never had the issue. It's like triggering stealth on makes the bot forgot that he's going to change the current gather marker, so it goes to the nearest resource node on the current gather marker. Once there, it checks again if it should gather it or change the marker, so it's changing it, goes in mob range, turns stealth on, then again he's mindblinded, forgets about the marker change instruction.
Turning stealth off right when it does this fixes the issue for the moment, it goes to the next marker as intended (hopefully the mob won't aggro or the bot will run fast enough to outpace the mob).