Jump to content
  • To far away to gathere


    Arcangelo
    • Version: All Product: Quester Type: Bug Status: Not a Bug

    Hi droidz

     

    Was just testing out the warden start area, and found that quest:

    14098 aka Evacuate the Merchant Square.

    You have to use the doors, but the bot is to far away to "gather" them, so is it possible to get fixed to a shorter range or simply add "max range" in the quester in gathere



    User Feedback

    Recommended Comments

    Hello, use quest type "OverridePulseCSharpCode" with code:

            var doorId = 1234;
            float distance = 2.5f;
            var o = wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWGameObject(wManager.Wow.ObjectManager.ObjectManager.GetWoWGameObjectByEntry(doorId));
            if (o.IsValid)
            {
                if (wManager.Wow.Bot.Tasks.GoToTask.ToPosition(o.Position, distance) && o.IsValid)
                {
                    wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress);
                }
            }
            return true;

     

    Link to comment
    Share on other sites

    Need Help that not working! with the class Worg Allianc.

    He go to the door, but he need just 0,2 distance more.

    i try to change distance from 2.5f to 1 then to 0,5...0,1 nothing help

    Its the Quest "Evacuate the Merchant Square" 

    Spoiler

     

     

    Link to comment
    Share on other sites

    here is my (code is in the spoiler) xml code with the start quest, and the quest bug with the door -.-

    And i have second question if i use  "OverridePulseCSharpCode" how i can add hotspots. 

    Because with your code he run to a door and stoped, and did you have a documention to the api functions.

    Sorry for my epic good english :D 

    PS: big thx for your help

    Spoiler
    
    <?xml version="1.0" encoding="utf-16"?>
    <EasyQuestProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <QuestsSorted>
        <QuestsSorted Action="PickUp" NameClass="Lockdown" />
        <QuestsSorted Action="TurnIn" NameClass="Lockdown" />
        <QuestsSorted Action="PickUp" NameClass="SomethingsAmiss" />
        <QuestsSorted Action="TurnIn" NameClass="SomethingsAmiss" />
        <QuestsSorted Action="PickUp" NameClass="AllHellBreaksLoose" />
        <QuestsSorted Action="PickUp" NameClass="EvacuatetheMerchantSquare" />
        <QuestsSorted Action="PickUp" NameClass="SalvagetheSupplies" />
        <QuestsSorted Action="Pulse" NameClass="AllHellBreaksLoose" />
        <QuestsSorted Action="Pulse" NameClass="SalvagetheSupplies" />
        <QuestsSorted Action="Pulse" NameClass="EvacuatetheMerchantSquare" />
        <QuestsSorted Action="TurnIn" NameClass="AllHellBreaksLoose" />
        <QuestsSorted Action="TurnIn" NameClass="EvacuatetheMerchantSquare" />
        <QuestsSorted Action="TurnIn" NameClass="SalvagetheSupplies" />
      </QuestsSorted>
      <NpcQuest>
        <NPCQuest Id="34850" Name="Prince Liam Greymane" GameObject="false">
          <PickUpQuests>
            <int>14078</int>
          </PickUpQuests>
          <TurnInQuests />
          <Position X="-1447.979" Y="1407.352" Z="35.55595" Type="Flying" />
        </NPCQuest>
        <NPCQuest Id="34863" Name="Lieutenant Walden" GameObject="false">
          <PickUpQuests>
            <int>14091</int>
          </PickUpQuests>
          <TurnInQuests>
            <int>14078</int>
          </TurnInQuests>
          <Position X="-1405.486" Y="1447.415" Z="35.55592" Type="Flying" />
        </NPCQuest>
        <NPCQuest Id="34913" Name="Prince Liam Greymane" GameObject="false">
          <PickUpQuests>
            <int>14093</int>
            <int>14098</int>
          </PickUpQuests>
          <TurnInQuests>
            <int>14091</int>
            <int>14093</int>
            <int>14098</int>
          </TurnInQuests>
          <Position X="-1437.955" Y="1401.148" Z="35.55593" Type="Flying" />
        </NPCQuest>
        <NPCQuest Id="34936" Name="Gwen Armstead" GameObject="false">
          <PickUpQuests>
            <int>14094</int>
          </PickUpQuests>
          <TurnInQuests>
            <int>14094</int>
          </TurnInQuests>
          <Position X="-1465.224" Y="1403.517" Z="35.55593" Type="Flying" />
        </NPCQuest>
      </NpcQuest>
      <Npc />
      <Blackspots />
      <BlackGuids />
      <EasyQuests>
        <EasyQuest>
          <Name>Lockdown!</Name>
          <QuestId>
            <int>14078</int>
          </QuestId>
          <QuestType>None</QuestType>
          <QuestClass />
          <ObjectiveCount1>0</ObjectiveCount1>
          <ObjectiveCount2>0</ObjectiveCount2>
          <ObjectiveCount3>0</ObjectiveCount3>
          <ObjectiveCount4>0</ObjectiveCount4>
          <ObjectiveCount5>0</ObjectiveCount5>
          <ObjectiveCount6>0</ObjectiveCount6>
          <ObjectiveCount7>0</ObjectiveCount7>
          <ObjectiveCount8>0</ObjectiveCount8>
          <ObjectiveCount9>0</ObjectiveCount9>
          <ObjectiveCount10>0</ObjectiveCount10>
          <AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
          <AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
          <AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
          <AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
          <AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
          <AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
          <AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
          <AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
          <AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
          <AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
          <CanCondition />
          <IsCompleteCondition />
          <RepeatableQuest>false</RepeatableQuest>
          <NotRequiredInQuestLog>false</NotRequiredInQuestLog>
          <PickUpQuestOnItem>false</PickUpQuestOnItem>
          <PickUpQuestOnItemID>0</PickUpQuestOnItemID>
          <Comment />
          <GossipOptionRewardItem>1</GossipOptionRewardItem>
          <RequiredQuest>0</RequiredQuest>
          <MaxLevel>999</MaxLevel>
          <MinLevel>0</MinLevel>
          <WoWClass>None</WoWClass>
        </EasyQuest>
        <EasyQuest>
          <Name>Something&amp;#039;s Amiss</Name>
          <QuestId>
            <int>14091</int>
          </QuestId>
          <QuestType>None</QuestType>
          <QuestClass />
          <ObjectiveCount1>0</ObjectiveCount1>
          <ObjectiveCount2>0</ObjectiveCount2>
          <ObjectiveCount3>0</ObjectiveCount3>
          <ObjectiveCount4>0</ObjectiveCount4>
          <ObjectiveCount5>0</ObjectiveCount5>
          <ObjectiveCount6>0</ObjectiveCount6>
          <ObjectiveCount7>0</ObjectiveCount7>
          <ObjectiveCount8>0</ObjectiveCount8>
          <ObjectiveCount9>0</ObjectiveCount9>
          <ObjectiveCount10>0</ObjectiveCount10>
          <AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
          <AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
          <AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
          <AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
          <AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
          <AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
          <AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
          <AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
          <AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
          <AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
          <CanCondition />
          <IsCompleteCondition />
          <RepeatableQuest>false</RepeatableQuest>
          <NotRequiredInQuestLog>false</NotRequiredInQuestLog>
          <PickUpQuestOnItem>false</PickUpQuestOnItem>
          <PickUpQuestOnItemID>0</PickUpQuestOnItemID>
          <Comment />
          <GossipOptionRewardItem>1</GossipOptionRewardItem>
          <RequiredQuest>0</RequiredQuest>
          <MaxLevel>999</MaxLevel>
          <MinLevel>0</MinLevel>
          <WoWClass>None</WoWClass>
        </EasyQuest>
        <EasyQuest>
          <Name>All Hell Breaks Loose</Name>
          <QuestId>
            <int>14093</int>
          </QuestId>
          <QuestType>KillAndLoot</QuestType>
          <QuestClass xsi:type="KillAndLootEasyQuestClass">
            <HotSpots>
              <Vector3 X="-1444.345" Y="1404.291" Z="35.55603" />
              <Vector3 X="-1440.055" Y="1366.365" Z="35.55597" />
              <Vector3 X="-1498.8" Y="1346.409" Z="35.55727" />
              <Vector3 X="-1503.725" Y="1387.399" Z="35.55613" />
              <Vector3 X="-1530.8" Y="1426.438" Z="35.55634" />
            </HotSpots>
            <EntryTarget>
              <int>34884</int>
            </EntryTarget>
            <IsGrinderNotQuest>false</IsGrinderNotQuest>
          </QuestClass>
          <ObjectiveCount1>6</ObjectiveCount1>
          <ObjectiveCount2>0</ObjectiveCount2>
          <ObjectiveCount3>0</ObjectiveCount3>
          <ObjectiveCount4>0</ObjectiveCount4>
          <ObjectiveCount5>0</ObjectiveCount5>
          <ObjectiveCount6>0</ObjectiveCount6>
          <ObjectiveCount7>0</ObjectiveCount7>
          <ObjectiveCount8>0</ObjectiveCount8>
          <ObjectiveCount9>0</ObjectiveCount9>
          <ObjectiveCount10>0</ObjectiveCount10>
          <AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
          <AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
          <AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
          <AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
          <AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
          <AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
          <AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
          <AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
          <AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
          <AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
          <CanCondition />
          <IsCompleteCondition />
          <RepeatableQuest>false</RepeatableQuest>
          <NotRequiredInQuestLog>false</NotRequiredInQuestLog>
          <PickUpQuestOnItem>false</PickUpQuestOnItem>
          <PickUpQuestOnItemID>0</PickUpQuestOnItemID>
          <Comment />
          <GossipOptionRewardItem>1</GossipOptionRewardItem>
          <RequiredQuest>0</RequiredQuest>
          <MaxLevel>999</MaxLevel>
          <MinLevel>0</MinLevel>
          <WoWClass>None</WoWClass>
        </EasyQuest>
        <EasyQuest>
          <Name>Evacuate the Merchant Square</Name>
          <QuestId>
            <int>14098</int>
          </QuestId>
          <QuestType>OverridePulseCSharpCode</QuestType>
          <QuestClass xsi:type="OverridePulseCSharpCodeEasyQuestClass">
            <Code>        var doorId = 195327;
            float distance = 0.1f;
            var o = wManager.Wow.ObjectManager.ObjectManager.GetNearestWoWGameObject(wManager.Wow.ObjectManager.ObjectManager.GetWoWGameObjectByEntry(doorId));
            if (o.IsValid)
            {
                if (wManager.Wow.Bot.Tasks.GoToTask.ToPosition(o.Position, distance) &amp;&amp; o.IsValid)
                {
                    wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress);
                }
            }
            return true;</Code>
          </QuestClass>
          <ObjectiveCount1>3</ObjectiveCount1>
          <ObjectiveCount2>0</ObjectiveCount2>
          <ObjectiveCount3>0</ObjectiveCount3>
          <ObjectiveCount4>0</ObjectiveCount4>
          <ObjectiveCount5>0</ObjectiveCount5>
          <ObjectiveCount6>0</ObjectiveCount6>
          <ObjectiveCount7>0</ObjectiveCount7>
          <ObjectiveCount8>0</ObjectiveCount8>
          <ObjectiveCount9>0</ObjectiveCount9>
          <ObjectiveCount10>0</ObjectiveCount10>
          <AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
          <AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
          <AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
          <AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
          <AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
          <AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
          <AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
          <AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
          <AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
          <AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
          <CanCondition />
          <IsCompleteCondition />
          <RepeatableQuest>false</RepeatableQuest>
          <NotRequiredInQuestLog>false</NotRequiredInQuestLog>
          <PickUpQuestOnItem>false</PickUpQuestOnItem>
          <PickUpQuestOnItemID>0</PickUpQuestOnItemID>
          <Comment />
          <GossipOptionRewardItem>1</GossipOptionRewardItem>
          <RequiredQuest>0</RequiredQuest>
          <MaxLevel>999</MaxLevel>
          <MinLevel>0</MinLevel>
          <WoWClass>None</WoWClass>
        </EasyQuest>
        <EasyQuest>
          <Name>Salvage the Supplies</Name>
          <QuestId>
            <int>14094</int>
          </QuestId>
          <QuestType>Gatherer</QuestType>
          <QuestClass xsi:type="GathererEasyQuestClass">
            <HotSpots>
              <Vector3 X="-1419.447" Y="1426.904" Z="35.76442" />
              <Vector3 X="-1478.105" Y="1414.177" Z="35.556" />
              <Vector3 X="-1505.981" Y="1436.539" Z="35.80274" />
              <Vector3 X="-1524.782" Y="1440.323" Z="35.97921" />
              <Vector3 X="-1558.467" Y="1431.757" Z="35.81641" />
              <Vector3 X="-1538.137" Y="1402.334" Z="35.55704" />
              <Vector3 X="-1539.812" Y="1385.25" Z="36.00492" />
              <Vector3 X="-1479.216" Y="1395.733" Z="35.55648" />
            </HotSpots>
            <EntryIdObjects>
              <int>195306</int>
            </EntryIdObjects>
          </QuestClass>
          <ObjectiveCount1>4</ObjectiveCount1>
          <ObjectiveCount2>0</ObjectiveCount2>
          <ObjectiveCount3>0</ObjectiveCount3>
          <ObjectiveCount4>0</ObjectiveCount4>
          <ObjectiveCount5>0</ObjectiveCount5>
          <ObjectiveCount6>0</ObjectiveCount6>
          <ObjectiveCount7>0</ObjectiveCount7>
          <ObjectiveCount8>0</ObjectiveCount8>
          <ObjectiveCount9>0</ObjectiveCount9>
          <ObjectiveCount10>0</ObjectiveCount10>
          <AutoDetectObjectiveCount1>false</AutoDetectObjectiveCount1>
          <AutoDetectObjectiveCount2>false</AutoDetectObjectiveCount2>
          <AutoDetectObjectiveCount3>false</AutoDetectObjectiveCount3>
          <AutoDetectObjectiveCount4>false</AutoDetectObjectiveCount4>
          <AutoDetectObjectiveCount5>false</AutoDetectObjectiveCount5>
          <AutoDetectObjectiveCount6>false</AutoDetectObjectiveCount6>
          <AutoDetectObjectiveCount7>false</AutoDetectObjectiveCount7>
          <AutoDetectObjectiveCount8>false</AutoDetectObjectiveCount8>
          <AutoDetectObjectiveCount9>false</AutoDetectObjectiveCount9>
          <AutoDetectObjectiveCount10>false</AutoDetectObjectiveCount10>
          <CanCondition />
          <IsCompleteCondition />
          <RepeatableQuest>false</RepeatableQuest>
          <NotRequiredInQuestLog>false</NotRequiredInQuestLog>
          <PickUpQuestOnItem>false</PickUpQuestOnItem>
          <PickUpQuestOnItemID>0</PickUpQuestOnItemID>
          <Comment />
          <GossipOptionRewardItem>1</GossipOptionRewardItem>
          <RequiredQuest>0</RequiredQuest>
          <MaxLevel>999</MaxLevel>
          <MinLevel>0</MinLevel>
          <WoWClass>None</WoWClass>
        </EasyQuest>
      </EasyQuests>
    </EasyQuestProfile>

    the xml quest code

     

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...