[OrderBot] A Realm Reborn Main Scenario
"Please complete the next Quest Objective manually.", TimeSpan.FromMilliseconds(25000), System.Windows.Media.Color.FromRgb(29,213,226), System.Windows.Media.Color.FromRgb(13,106,175), new System.Windows.Media.FontFamily("Gautami"));
await Coroutine.Sleep(26000);
]]>
"Please complete the unlocked Hard Mode Trial to progress the Main Scenario.", TimeSpan.FromMilliseconds(25000), System.Windows.Media.Color.FromRgb(29,213,226), System.Windows.Media.Color.FromRgb(13,106,175), new System.Windows.Media.FontFamily("Gautami"));
await Coroutine.Sleep(26000);
]]>
"Please buy a Storm Chocobo Issuance from the Storm Quartermaster.", TimeSpan.FromMilliseconds(25000), System.Windows.Media.Color.FromRgb(29,213,226), System.Windows.Media.Color.FromRgb(13,106,175), new System.Windows.Media.FontFamily("Gautami"));
await Coroutine.Sleep(26000);
]]>
"Give your Chocobo a Name!", TimeSpan.FromMilliseconds(25000), System.Windows.Media.Color.FromRgb(29,213,226), System.Windows.Media.Color.FromRgb(13,106,175), new System.Windows.Media.FontFamily("Gautami"));
await Coroutine.Sleep(26000);
]]>
= 4)
{
Navigator.PlayerMover.MoveTowards(_target);
await Coroutine.Sleep(100);
}
Navigator.PlayerMover.MoveStop();
}
npcId.Interact();
await Coroutine.Wait(10000, () => Talk.DialogOpen);
await Buddy.Coroutines.Coroutine.Sleep(500);
while (Talk.DialogOpen)
{
Talk.Next();
await Coroutine.Wait(1000, () => !Talk.DialogOpen);
await Coroutine.Wait(1000, () => Talk.DialogOpen);
await Coroutine.Yield();
}
await Coroutine.Wait(1000, () => SelectIconString.IsOpen);
if (!SelectIconString.IsOpen)
{
npcId.Interact();
await Coroutine.Wait(10000, () => SelectIconString.IsOpen);
}
await Coroutine.Wait(10000, () => SelectString.IsOpen);
await Buddy.Coroutines.Coroutine.Sleep(500);
{
ff14bot.RemoteWindows.SelectString.ClickSlot(0);
}
await Buddy.Coroutines.Coroutine.Sleep(1000);
await Coroutine.Wait(1000, () => JournalAccept.IsOpen);
JournalAccept.Accept();
]]>
i.TrueItemId == 2000616).UseItem(new Vector3(-222.736f, -65.90375f, 396.8414f));
await Coroutine.Sleep(1000);
]]>
bagslot.Item.ItemAction == 388))
{
bagslot.UseItem();
await Coroutine.Sleep(5000);
}
]]>
= 4)
{
Navigator.PlayerMover.MoveTowards(_target);
await Coroutine.Sleep(100);
}
Navigator.PlayerMover.MoveStop();
}
npcId.Interact();
await Coroutine.Wait(10000, () => Talk.DialogOpen);
await Buddy.Coroutines.Coroutine.Sleep(500);
while (Talk.DialogOpen)
{
Talk.Next();
await Coroutine.Wait(1000, () => !Talk.DialogOpen);
await Coroutine.Wait(1000, () => Talk.DialogOpen);
ff14bot.RemoteWindows.SelectString.ClickSlot(2);
await Coroutine.Yield();
}
await Buddy.Coroutines.Coroutine.Sleep(5000);
]]>
= 4)
{
Navigator.PlayerMover.MoveTowards(_target);
await Coroutine.Sleep(100);
}
Navigator.PlayerMover.MoveStop();
}
npcId.Interact();
await Coroutine.Wait(10000, () => Talk.DialogOpen);
await Buddy.Coroutines.Coroutine.Sleep(500);
while (Talk.DialogOpen)
{
Talk.Next();
await Coroutine.Wait(1000, () => !Talk.DialogOpen);
await Coroutine.Wait(1000, () => Talk.DialogOpen);
ff14bot.RemoteWindows.SelectString.ClickSlot(2);
await Coroutine.Yield();
}
await Buddy.Coroutines.Coroutine.Sleep(5000);
]]>
1.5f) { await Coroutine.Yield(); }
Navigator.PlayerMover.MoveStop();
rosary.Interact();
await Coroutine.Wait(1000, () => Core.Me.IsCasting);
await Coroutine.Wait(-1, () => !Core.Me.IsCasting);
await Coroutine.Wait(10000, () => QuestLogManager.InCutscene);
while (QuestLogManager.InCutscene)
{
ff14bot.RemoteAgents.AgentCutScene.Instance.PromptSkip();
if (ff14bot.RemoteAgents.AgentCutScene.Instance.CanSkip && SelectString.IsOpen) { SelectString.ClickSlot(0); }
if (Talk.DialogOpen) { Talk.Next(); }
await Coroutine.Yield();
}
await Coroutine.Sleep(1000);
]]>
r.IsTargetable && npcIds.Contains(r.NpcId)).OrderBy(r => r.Distance()).FirstOrDefault();
while (Core.Me.Location.Distance2D(dutyNpc.Location) > 1.5f)
{
await Coroutine.Yield();
Navigator.PlayerMover.MoveTowards(dutyNpc.Location);
}
Navigator.PlayerMover.MoveStop();
dutyNpc.Interact();
await Coroutine.Wait(5000, () => Talk.DialogOpen || DifficultySelectYesNo.IsOpen || SelectYesno.IsOpen);
while (!(DifficultySelectYesNo.IsOpen || SelectYesno.IsOpen))
{
Talk.Next();
await Coroutine.Yield();
}
await Coroutine.Wait(5000, () => DifficultySelectYesNo.IsOpen || SelectYesno.IsOpen);
if (DifficultySelectYesNo.IsOpen) { DifficultySelectYesNo.Proceed(2); }
else if (SelectYesno.IsOpen) { SelectYesno.Yes(); }
else
{
Logging.Write("Duty window didn't open.");
TreeRoot.Stop();
}
await Coroutine.Wait(2000, () => CommonBehaviors.IsLoading);
await Coroutine.Wait(-1, () => !CommonBehaviors.IsLoading);
while (QuestLogManager.InCutscene)
{
ff14bot.RemoteAgents.AgentCutScene.Instance.PromptSkip();
if (ff14bot.RemoteAgents.AgentCutScene.Instance.CanSkip && SelectString.IsOpen) { SelectString.ClickSlot(0); }
if (Talk.DialogOpen) { Talk.Next(); }
await Coroutine.Yield();
}
await Coroutine.Wait(2000, () => CommonBehaviors.IsLoading);
await Coroutine.Wait(-1, () => !CommonBehaviors.IsLoading);
await Coroutine.Wait(10000, () => !Core.Me.HasAura(1268));
Logging.Write("Duty commenced.");
await Coroutine.Sleep(1500);
]]>