Can I suggest you make some changes to the way it looks for Dark Soil.
The main ones are to use tracing to detect the ground rather than detecting LoS (LoS check leaves soo many unlooted), and to use Flightor instead of Navigator ....
Code:
public void PickUpDarkSoil()
{
ObjectManager.Update();
WoWGameObject soil = ObjectManager.GetObjectsOfType<WoWGameObject>()
.Where(darksoil => darksoil.Entry == 210565)
.OrderBy(darksoil => darksoil.Distance)
.FirstOrDefault(obj => !GameWorld.TraceLine(StyxWoW.Me.Location, WoWMovement.CalculatePointFrom(obj.Location, 10), GameWorld.CGWorldFrameHitFlags.HitTestGround));
while (soil != default(WoWGameObject) && soil.IsValid)
{
if (soil.Distance >= 10)
{
Flightor.MoveTo(soil.Location);
}
else
{
if (!StyxWoW.Me.IsCasting && !StyxWoW.Me.IsMoving)
soil.Interact();
Lua.DoString("RunMacroText(\"/click StaticPopup1Button1\");");
}
ObjectManager.Update();
}
}
Seems to pick up way more soil than the stock version:
Also I'm a druid so there may be some changes necessary for mounts etc.