本文整理汇总了C#中RoundZone类的典型用法代码示例。如果您正苦于以下问题:C# RoundZone类的具体用法?C# RoundZone怎么用?C# RoundZone使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RoundZone类属于命名空间,在下文中一共展示了RoundZone类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Mahadevi_Doska7")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(900))
return false;
if (!checkQuestCompletedOrAccepted(2906))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(18253.15, 8822.93, 50);
if (!host.movementModule.GpsMove("Quest_877_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 2493, 2494 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例2: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Bivre")) return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("Ferre_Bivre")) return false;
Zone zone = new RoundZone(22981.00, 8838.00, 70);
host.farmModule.SetFarmMobs(zone, new uint[] { 10040, 10041 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Ferre_Ogily")) return false;
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例3: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Headlands_Doska1")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompleted(3646))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(17230.77, 8313.72, 75);
if (!zone.ObjInZone(host.me))
if (!host.movementModule.GpsMove("Headlands_Archealogy")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 2953 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例4: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Tiger_Doska6")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(1062))
return false;
if (!checkQuestCompletedOrAccepted(1064))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(22299.25, 8563.30, 30);
if (!host.movementModule.GpsMove("Quest_1055_1")) return false;
if (host.me.dist(22299.25, 8563.30, 569.26) > 2)
return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 3349, 3350 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例5: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(1857))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(20725.05, 9552.75, 50);
if (!host.movementModule.GpsMove("Quest_1857_1"))
return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 5088 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("SingingLand_Dzao")) return false;
Thread.Sleep(1000);
host.CompleteQuest(id);
Thread.Sleep(1000);
}
return true;
}
示例6: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Headlands_Doska2")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(750))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(17153.01, 7342.73, 120);
if (!host.movementModule.GpsMove("Quest_750_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 2908 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例7: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Tiger_Panadi")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(1085))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(20865.71, 8320.23, 45);
if (!zone.ObjInZone(host.me))
if (!host.movementModule.GpsMove("Quest_1086_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 3362 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例8: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Mahadevi_Doska9")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
if (!checkQuestCompletedOrAccepted(3598))
return false;
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(19011.96, 7999.82, 80);
if (!host.movementModule.GpsMove("Quest_2133_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 2489, 2499 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例9: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Headlands_Mampha")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrPerfomed(765))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(17232.38, 7406.01, 50);
if (!host.movementModule.GpsMove("Quest_3707_1")) return false;
host.farmModule.SetFarmDoodads(zone, new uint[] { 9926 });
while (host.farmModule.farmState == Modules.FarmState.Doodads && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例10: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Megana")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(1441))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(23359.67, 8528.11, 100);
if (!zone.ObjInZone(host.me))
if (!host.movementModule.GpsMove("FerreLvl11_1_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 8116 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例11: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Mahadevi_Tarmillon")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
if (!checkQuestCompletedOrAccepted(1504))
return false;
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(18731.94, 7683.06, 80);
if (!zone.ObjInZone(host.me))
if (!host.movementModule.GpsMove("Quest_2902_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 2510 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例12: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (!checkQuestCompletedOrAccepted(1237))
return false;
if (!checkQuestCompletedOrAccepted(3442))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Doska_2")) return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
if (!host.movementModule.GpsMove("FerreLvl10_7_1")) return false;
Zone zone = new RoundZone(22861.85, 9037.23, 80);
host.farmModule.SetFarmMobs(zone, new uint[] { 4198 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例13: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Djulur"))
return false;
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(24132.51, 9823.89, 50);
if (!zone.ObjInZone(host.me))
if (!host.movementModule.GpsMove("FerreLvl4_4_1"))
return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 7927 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例14: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Ferre_Doska_4")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (!checkQuestCompletedOrAccepted(1433))
return false;
if (!checkQuestCompletedOrAccepted(6353))
return false;
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(23191.90, 8733.62, 100);
if (!zone.ObjInZone(host.me))
if (!host.movementModule.GpsMove("FerreLvl10_13_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 4194, 4193, 4190, 4191, 4192, 4195, 4196 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
return true;
}
示例15: RunQuest
public override bool RunQuest(Host host)
{
if (!base.RunQuest(host))
return false;
if (getQuest() == null)
{
if (!host.movementModule.GpsMove("Tiger_Tomiris")) return false;
Thread.Sleep(1000);
host.StartQuest(id);
Thread.Sleep(1000);
}
ArcheBuddy.Bot.Classes.Quest quest = getQuest();
if (quest != null && quest.status == QuestStatus.Accepted)
{
Zone zone = new RoundZone(21178.54, 8319.49, 40);
if (!host.movementModule.GpsMove("Quest_1078_1")) return false;
host.farmModule.SetFarmMobs(zone, new uint[] { 3356, 3357, 3358, 3359, 3360, 3361 });
while (host.farmModule.farmState == Modules.FarmState.Enabled && quest.status == QuestStatus.Accepted)
Thread.Sleep(100);
host.farmModule.StopFarm();
Thread.Sleep(1000);
}
if (quest != null && quest.status == QuestStatus.Performed)
{
if (!host.movementModule.GpsMove("Tiger_Tomiris")) return false;
host.CompleteQuest(id, 3);
Thread.Sleep(1000);
}
return true;
}