Skip to content
Permalink
Browse files

Changed variable name to new name.

Changed Questing_AFKModeWhitelist to QuestingProfiles_AFKModeWhitelist.
  • Loading branch information...
EchoTiger committed Aug 4, 2017
1 parent 3eec4ae commit 7f14092ad20dbdcc17e499e8e9a501fcfa5c05ac
@@ -175,9 +175,9 @@
<If Condition="!QuestDone(384)" >
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(2894);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
</If>
@@ -165,9 +165,9 @@

<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(23676);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>

@@ -171,9 +171,9 @@
<If Condition="!QuestDone(12870)" > <!-- Protect Relic of Ulduar from the AFK Mode sell logic -->
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(42780);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
</If>
@@ -761,11 +761,11 @@
<TurnIn QuestName="Ancient Relics" QuestId="12870" TurnInName="Rork Sharpchin" TurnInId="29744" X="6684.773" Y="-211.0891" Z="949.1566" />
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
if (whitelist.Contains(42780))
{
whitelist.Remove(42780);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
}
]]>
</Code>
@@ -946,9 +946,9 @@
<If Condition="!QuestDone(12930)" > <!-- Protect Frostweave Cloth from the AFK Mode sell logic -->
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(33470);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
</If>
@@ -264,9 +264,9 @@
<If Condition="!QuestDone(9882)" >
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(25416);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
</If>
@@ -576,9 +576,9 @@
<If Condition="!QuestDone(10476)" >
<Code File="RunCode"> <!-- Protect Obsidian Warbeads -->
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(25433);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
</If>
@@ -603,11 +603,11 @@
<TurnIn QuestName="Fierce Enemies" QuestId="10476" TurnInName="Warden Moi'bff Jill" TurnInId="18408" X="-2567.699" Y="7268.29" Z="15.35339" />
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
if (whitelist.Contains(25433))
{
whitelist.Remove(25433);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
}
]]>
</Code>
@@ -219,10 +219,10 @@
<PickUp QuestName="Jun&apos;ik&apos;s Coverup" QuestId="12177" GiverName="Hidetrader Jun&apos;ik" GiverId="27037" X="3239.493" Y="-2263.477" Z="114.4817" />
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(30817);
whitelist.Add(3857);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
<Code File="InteractWith" MobId="26868" NonCompeteDistance="0" InteractByBuyingItemId="30817" BuyItemCount="5" QuestId="12177" QuestObjectiveIndex="2" X="3198.785" Y="-2298.937" Z="107.6756" />
@@ -157,9 +157,9 @@
<If Condition="!QuestDone(12882)" > <!-- Protect Relic of Ulduar from the AFK Mode sell logic -->
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(42780);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
</If>
@@ -813,11 +813,11 @@
<TurnIn QuestName="Ancient Relics" QuestId="12882" TurnInName="Olut Alegut" TurnInId="30472" X="7847.222" Y="-787.6952" Z="1183.117" />
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
if (whitelist.Contains(42780))
{
whitelist.Remove(42780);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
}
]]>
</Code>
@@ -1122,9 +1122,9 @@
<If Condition="!QuestDone(12930)" > <!-- Protect Frostweave Cloth from the AFK Mode sell logic -->
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(33470);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
</If>
@@ -391,9 +391,9 @@
<If Condition="!QuestDone(9882)" >
<Code File="RunCode">
<![CDATA[
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("Questing_AFKModeWhitelist");
var whitelist = (List<uint>)AppDomain.CurrentDomain.GetData("QuestingProfiles_AFKModeWhitelist");
whitelist.Add(25416);
AppDomain.CurrentDomain.SetData("Questing_AFKModeWhitelist", whitelist);
AppDomain.CurrentDomain.SetData("QuestingProfiles_AFKModeWhitelist", whitelist);
]]>
</Code>
</If>

0 comments on commit 7f14092

Please sign in to comment.
You can’t perform that action at this time.