Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Legion quester manual profile programming

Featured Replies

Hello guys,

Right now i'm trying to program the druid starter quest in Dalaran and it has been a pain in the ass, so far.

The quest consist on picking up the quest in Dalaran, then teleport to the druid area in Kalimdor and turn in the quest.

In the meanwhile, the quest giver changes his position and ID. So far I have been managing to pick up the quest and do the teleport. but once there the bot will no turn in the quest. I have been working on that stuff for almost 20 hours straight now so it's quite a serious issue for me.

Also if you find I have too much xml code and I should put more stuff in classes please do tell me.

Here are the samples of code for the quest : 

C# : 

using wManager;
using robotManager;

public sealed class aSummonsFromMoonglade : QuestClass
{

    public aSummonsFromMoonglade()
    {
        // http://www.wowhead.com/quest=40643
        Name = "A Summons From Moonglade";

        QuestId.Add(40643);

    }
}

XML

<?xml version="1.0" encoding="utf-8"?>
<QuesterProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <QuestFile>Intros\druid-intro.cs</QuestFile>
 
 <QuestsSorted>
   
      <QuestsSorted Action="WriteLog" NameClass="Compiling Legion introductory druid quests" />
   
      <!-- 2: A Summons From Moonglade -->
   
      <QuestsSorted Action="PickUp" NameClass="aSummonsFromMoonglade" />
   
        <QuestsSorted Action="If" NameClass="(wManager.Wow.Helpers.Quest.HasQuest(40643) &amp;&amp; !wManager.Wow.Helpers.Quest.GetQuestCompleted(40643) 
         &amp;&amp; wManager.Wow.Helpers.Usefuls.MapZoneName != &quot;Moonglade&quot;
         &amp;&amp; wManager.Wow.Helpers.Usefuls.MapZoneName != &quot;Reflet-de-Lune&quot;
         &amp;&amp; wManager.Wow.Helpers.Usefuls.MapZoneName != &quot;Claro de la Luna&quot;
         &amp;&amp; wManager.Wow.Helpers.Usefuls.MapZoneName != &quot;Radaluna&quot;
         &amp;&amp; wManager.Wow.Helpers.Usefuls.MapZoneName != &quot;Mondlichtung&quot;
         &amp;&amp; wManager.Wow.Helpers.Usefuls.MapZoneName != &quot;Clareira da Lua&quot;
         &amp;&amp; wManager.Wow.Helpers.Usefuls.MapZoneName != &quot;Лунная поляна&quot;)" />  <!-- All languages supported -->
            <QuestsSorted Action="RunCode" NameClass="wManager.wManagerSetting.CurrentSetting.CloseIfPlayerTeleported = false;" />
            <QuestsSorted Action="RunCode" NameClass="wManager.Wow.Helpers.SpellManager.CastSpellByIdLUA(18960);" />
        <QuestsSorted Action="EndIf" NameClass="" />

     <QuestsSorted Action="TurnIn" NameClass="aSummonsFromMoonglade" />
 
 </QuestsSorted>
  
  <NpcQuest>

    <NPCQuest Id="101061" Name="Archdruid Hamuul Runetotem" GameObject="false">
      <PickUpQuests>
        <int>40643</int>
      </PickUpQuests>
      <Position>
        <X>-833.6385</X>
        <Y>4403.738</Y>
        <Z>737.4111</Z>
        <Type>None</Type>
      </Position>
    </NPCQuest>

    <NPCQuest Id="101064" Name="Archdruid Hamuul Runetotem" GameObject="false">
      <TurnInQuests>
        <int>40643</int>
      </TurnInQuests>
      <Position>
        <X>8001.76</X>
        <Y>-2680.266</Y>
        <Z>512.0837</Z>
        <Type>None</Type>
      </Position>
    </NPCQuest>

  </NpcQuest>
  
  <Npc></Npc>
  
  <Blackspots></Blackspots>
  
</QuesterProfile>

Thanks in advance, not much hairs left on my head ;)

Edited by Xolem
Wrong section - Can a moderator move it to "Developers assistance" ?

  • 2 weeks later...
  • Author

Thanks, had done the part interactwithnpc, but didn't knew about the method. Nice to know about it.

CompleteQuest();

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.