Hi, first sorry for my bad english,
I just start few code on a plugin who can quest :
This can maybe help somme people to develop whith that
It take the first dwarf quest and return it when the goal is reached.
I think if you add a Configuration form with possibility to import special profile with position of questgiver, profile to farm the goal, Item choice and position of questfinisher
you can make a plugin who can do quest and if you make a step by step profile it would can select quest you want in order you want then farm for them and comme back to finish them
I think Step by Step can make the plugin very usefull and customizable
. I would make by myself but no have time to do 
I just start few code on a plugin who can quest :
This can maybe help somme people to develop whith that

It take the first dwarf quest and return it when the goal is reached.
Code:
namespace Styx.Bot.CustomClasses
{
using Logic;
using System;
using Helpers;
using Logic.Pathing;
using System.Threading;
using System.Diagnostics;
using Logic.Common.Combat;
using Object_Dumping_Enumeration;
using CustomCombat.CombatInterface;
using Memory_Read_Write_Inject.Lua;
using Object_Dumping_Enumeration.WoWObjects;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Xml.Linq;
using System.Linq;
using System.Net;
using Styx.Plugins.PluginClass;
using Styx;
public class eStat : HBPlugin
{
public bool Debut = true;
public bool Encours=false;
public bool FinishQuest=false;
public override void Pulse()
{
if (Debut)
TakeQuest();
if (Encours)
TestFinishQuest();
if (FinishQuest)
{
Navigator.GeneratePathFromMe(new WoWPoint(-6236.74, 331.1129, 382.8276));
var wp = new WoWPoint(-6236.74, 331.1129, 382.8276);
while (wp.Distance(ObjectManager.Me.Location) > 5)
{
Navigator.MoveTo(new WoWPoint(-6236.74, 331.1129, 382.8276));
Navigator.Pulse();
}
Target(658);
ObjectManager.Me.CurrentTarget.Interact();
//Lua.DoString("SelectGossipActiveQuest(1)");
Thread.Sleep(2000);
Lua.DoString("CompleteQuest()");
Thread.Sleep(1000);
Lua.DoString("GetQuestReward(1)");
Thread.Sleep(1000);
Lua.DoString("CompleteQuest()");
Thread.Sleep(5000);
FinishQuest = false;
}
}
public bool Target(uint Nom)
{
ObjectManager.Update();
Thread.Sleep(5000);
foreach (WoWUnit wu in ObjectManager.GetObjectsOfType<WoWUnit>())
{
if (wu.Entry == Nom)
{
wu.Target();
}
}
Thread.Sleep(1000);
if (ObjectManager.Me.CurrentTarget.Entry == Nom)
{
return true;
}
return false;
}
public bool TakeQuest()
{
Navigator.GeneratePathFromMe(new WoWPoint(-6236.74, 331.1129, 382.8276));
var wp =new WoWPoint(-6236.74, 331.1129, 382.8276);
while (wp.Distance(ObjectManager.Me.Location)>5)
{
Navigator.MoveTo(new WoWPoint(-6236.74, 331.1129, 382.8276));
Navigator.Pulse();
}
Target(658);
ObjectManager.Me.CurrentTarget.Interact();
Thread.Sleep(1000);
Lua.DoString("Acceptquest()");
Encours = true;
Debut = false;
return (true);
}
public bool TestFinishQuest()
{
var items = ObjectManager.GetObjectsOfType<WoWItem>(true, false);
foreach (var item in items)
{
if (item.Name == "Tough Wolf Meat" && item.StackCount == 8)
{
Encours = false;
FinishQuest = true;
return true;
}
}
return false;
}
public override string Name { get { return "eQuest"; } }
public override string Author { get { return "Insidox "; } }
public override Version Version { get { return new Version(1, 1); } }
public override bool WantButton { get { return false; } }
}
}
I think if you add a Configuration form with possibility to import special profile with position of questgiver, profile to farm the goal, Item choice and position of questfinisher
you can make a plugin who can do quest and if you make a step by step profile it would can select quest you want in order you want then farm for them and comme back to finish them
I think Step by Step can make the plugin very usefull and customizable


Last edited: