6 compiler errors encountered in profile 'Bloodfang Armor, Recolor - Remote Version'
'CustomBehavior' xml element on line number 1140 has following errors with code:
bool HasArrived()
{
if (Me.ZoneId == 7078 || Me.ZoneId == 7004) return false; // Draenor Garrisons count as instanced locations.
if (StyxWoW.Me.MapId == 1 || Me.IsInInstance) return true;
return false;
}
bool InPriorityLocation()
{
if (StyxWoW.Me.IsAlliance)
{
if (StyxWoW.Me.ZoneId == 6142 || StyxWoW.Me.ZoneId == 6553) return true; // Alliance Shrine
}
else
{
if (StyxWoW.Me.ZoneId == 6554 || StyxWoW.Me.ZoneId == 6141) return true; // Horde Shrine
if (StyxWoW.Me.ZoneId == 4395) return true; // Dalaran, portal to Orgrimmar only applies for Horde.
}
return false;
}
bool HearthIsPriorityLocation()
{
if (StyxWoW.Me.IsAlliance)
{
if (StyxWoW.Me.HearthstoneAreaId == 6484) return true; // Alliance Shrine
}
else
{
if (StyxWoW.Me.HearthstoneAreaId == 6519) return true; // Horde Shrine
if (StyxWoW.Me.ZoneId == 4395) return true; // Dalaran, portal to Orgrimmar only applies for Horde.
}
if (Styx.WoWInternals.DBC.AreaTable.FromId(StyxWoW.Me.HearthstoneAreaId).MapId == 1) return true; // All Kalimdor inns.
return false;
}
bool HearthIsReady()
{
if (HasItem(64488) && !WoWSpell.FromId(94719).Cooldown) return true; // Innkeeper's Daughter
if (HasItem(6948) && !WoWSpell.FromId(8690).Cooldown) return true; // Hearthstone
if (SpellManager.CanCast(556)) return true; // Astral Recall
return false;
}
bool CastingInterrupted()
{
if (StyxWoW.Me.Combat || !Me.IsCasting) return true;
return false;
}
void Log(System.Windows.Media.Color color, string message)
{
Bots.Professionbuddy.PBLog.Log(System.Windows.Media.Colors.DeepSkyBlue, "[Azyul Navigator]: ", color, $"{message}");
}
1) Type '__CompiledBatchClass__' already defines a member called 'HasArrived' with the same parameter types at offset 1
2) Type '__CompiledBatchClass__' already defines a member called 'InPriorityLocation' with the same parameter types at offset 7
3) Type '__CompiledBatchClass__' already defines a member called 'HearthIsPriorityLocation' with the same parameter types at offset 20
4) Type '__CompiledBatchClass__' already defines a member called 'HearthIsReady' with the same parameter types at offset 34
5) Type '__CompiledBatchClass__' already defines a member called 'CastingInterrupted' with the same parameter types at offset 41
6) Type '__CompiledBatchClass__' already defines a member called 'Log' with the same parameter types at offset 46
Bot stopping! Reason: None Given
[LoadRemoteCode-vUnknown(fatal) @line 30]: LoadRemoteCode Failed.
Buddy.Coroutines.CoroutineStoppedException: Coroutine was stopped
at Buddy.Coroutines.Coroutine.Rmt";AvU\,j7\,KN6\,1CFtN\*b=#.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Pookthetook.QuestBehaviors.LoadRemoteCode.<MainCoroutine>d__9.MoveNext() in C:\Users/XXXXX\Desktop\ress+\Quest Behaviors\LoadRemoteCode.cs:line 298
Fatal error. Stopping Honorbuddy.