What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

How to get Honorbuddy to check current location?

Status
Not open for further replies.

Aionlasting

New Member
Joined
Nov 25, 2013
Messages
3
Reaction score
0
I'm writting a profile for the questing bot, basically building upon where the horde frostfire sample ends.

The problem is, Duraton, who gives the quest, "Free our Brothers and Sisters" is back in War'Gol but the quest line ends with you at Bladespire Fortress having the quest "Save the wolf home."

Now when I remove this statement:

<If Condition="!HasQuest(33807)" >

<PickUp QuestName="Free our Brothers and Sisters" QuestId="33807" GiverName="Durotan" GiverId="79415" />

</If>

The bot runs fine, it will fly to the destination and kill the mobs at the given location. When I put the above code back in and start off at Bladespire to see if it will still fly there and pick up the quest from Duraton at Wor'Gol, it says it can't find this ID for the questgiver and stops the bot.

How do i Get the bot to do a conditional if statement with the added check of the correct location? I know how to check Me.MapID=="" but this isn't a MapID issue, its more of being in the wrong town type of problem. Is there like a Me.Spot=="Wor'Gol" or some ID for Wor'Gol that I can use? The MapID's i found were only for the ZONES.

What I was thinking of doing was

<If Condition="!HasQuest(33807)" && Me.Location/Spot/="War'Gol" >

<PickUp QuestName="Free our Brothers and Sisters" QuestId="33807" GiverName="Durotan" GiverId="79415" />

</If>

This way, the bot will not try and find the quest giver if it isn't in the right location.

I have tried nesting the above if condition without the location check into the code for doing the "Save Wolf Home" quest but that doesn't fix it, the bot still says it can't find the npc.

It looked something like this:


<If Condition="!HasQuest(33468)">
<PickUp QuestName="Save Wolf Home" QuestId="33468" GiverName="Durotan" GiverId="70860" />
</If>

<If Condition="HasQuest(33468) &amp;&amp; !IsQuestCompleted(33468)" >

<If Condition="!HasQuest(33807)" >
<PickUp QuestName="Free our Brothers and Sisters" QuestId="33807" GiverName="Durotan" GiverId="79415" />
</If>

<Objective QuestName="Save Wolf Home" QuestId="33468" Type="KillMob" MobId="74700" KillCount="1" X="5900.082" Y="6339.591" Z="53.47049" />
<Objective QuestName="Save Wolf Home" QuestId="33468" Type="KillMob" MobId="81666" KillCount="1" X="5756.35" Y="6309.018" Z="98.10765" />
<Objective QuestName="Save Wolf Home" QuestId="33468" Type="KillMob" MobId="74708" KillCount="1" />
<Objective QuestName="Save Wolf Home" QuestId="33468" Type="KillMob" MobId="74702" KillCount="1" X="5935.717" Y="6161.438" Z="64.82158" />
<Objective QuestName="Save Wolf Home" QuestId="33468" Type="KillMob" MobId="74329" KillCount="15" />
</If>

Can anyone help me? I've tried searching the API but it is very poorly kept and there is so little information other than absolute bare bone basics. I tried digging for a list of possible condition checks I could use but couldn't find anything other than a few "Me.Class", "HasItem" etc...

Thanks,
Aion
 
I have another question: is there a way to force the bot to attack a mob even if that mob is currently preoccupied with another mob?

It appears that "GronnStalker Korhol" is not engageable by the bot for one reason or another. Even if I force the bot to move right onto him, she will engage and then disengage combat, as if there is some setting that prevents her from attacking a mob that is already "tagged." Strangely, Gronn is not grayed out, he's just fighting another NPC that is friendly to you. I just can't seem to get the bot to attack him.

This is the error I get everytime: "Could not create a performable quest objective for objective with ID 74700!"

Please help!
 
i cant help you with profile development, please use the developers section.
 
Status
Not open for further replies.
Back
Top