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

How to Ignore Combat in a Quest

thenrique87

Member
Joined
May 20, 2010
Messages
143
Reaction score
0
Hey... Here is the deal;

PHP:
	<If Condition="HasQuest(14236) &amp;&amp; IsQuestCompleted(14236)">
	<CustomBehavior File="WaitTimer" WaitTime="5000"/>
	<CustomBehavior File="RunLikeHell" NumOfTimes="1" AllowCombat="false">
	<Hotspot X="600.8375" Y="2783.495" Z="88.83977" />
	</CustomBehavior>
	</If>

	<TurnIn QuestName="Weed Whacker" QuestId="14236" TurnInName="Kilag Gorefang" TurnInId="35893" />        
        <PickUp QuestName="Back to Aggra" QuestId="14303" GiverName="Kilag Gorefang" GiverId="35893" />

	<If Condition="HasQuest(14303) &amp;&amp; IsQuestCompleted(14303)">
	<CustomBehavior File="WaitTimer" WaitTime="5000"/>
	<CustomBehavior File="RunLikeHell" NumOfTimes="1" AllowCombat="false">
	<Hotspot X="536.2184" Y="2689.7" Z="106.5525" />
	</CustomBehavior>
	</If>

My intention there was for while the toon performs both quests, 14236 and 14303, it doesnt target and/or attack anything. Problem is it only ignores mobs on the way to turning in 14236, then it attacks mobs, and after 30 min when it has time to pick up 14303, it will then again ignore mobs and turn in 14303. In other words, something like this;
<If Condition= I have these two quest, then dont attack anything > like below


PHP:
       <If Condition="HasQuest(14236) &amp;&amp; HasQuest(14236) [B]AND IGNORE COMBAT[/B]"> 
	<If Condition="HasQuest(14236) &amp;&amp; IsQuestCompleted(14236)">
	<CustomBehavior File="WaitTimer" WaitTime="5000"/>
	<CustomBehavior File="RunLikeHell" NumOfTimes="1" AllowCombat="false">
	<Hotspot X="600.8375" Y="2783.495" Z="88.83977" />
	</CustomBehavior>
	</If>

	<TurnIn QuestName="Weed Whacker" QuestId="14236" TurnInName="Kilag Gorefang" TurnInId="35893" />        
        <PickUp QuestName="Back to Aggra" QuestId="14303" GiverName="Kilag Gorefang" GiverId="35893" />

	<If Condition="HasQuest(14303) &amp;&amp; IsQuestCompleted(14303)">
	<CustomBehavior File="WaitTimer" WaitTime="5000"/>
	<CustomBehavior File="RunLikeHell" NumOfTimes="1" AllowCombat="false">
	<Hotspot X="536.2184" Y="2689.7" Z="106.5525" />
	</CustomBehavior>
	</If>
        </If>
I know its kinda hard to undertand but I can answer any questions. Ty.
 
Last edited by a moderator:
PHP:
<If Condition="HasQuest(14303) &amp;&amp; IsQuestCompleted(14303)">
<CustomBehavior File="WaitTimer" WaitTime="5000"/>
<CustomBehavior File="RunLikeHell" NumOfTimes="1" AllowCombat="false">
<Hotspot X="536.2184" Y="2689.7" Z="106.5525" />
</CustomBehavior>
</If>
</If>

Why two </If> close tags? Anyways...

Try removing the
PHP:
&amp;&amp; IsQuestCompleted(14303)
. It can sometimes fuck things up. Just keep the HasQuest tag.
 
so where exactly are you supposed to put the codes, since I would love if my bot didn't kill / waste time on mobs that it shouldnt kill.
 
OP, you need to learn some patience man. stop bumping threads. once a day is more than enough. It's the weekend, not a whole lot of ppl are going to respond

try something easier like usersettings pulldistance=1

if that doesn't work, try NoCombatMoveTo

Also, this isn't in the Dev forum - so that's another reason why you didn't get any help

As a side note - it's very helpful to link the quest from wowhead as well... which is the quest I thought it was. For some reason - run like hell isn't working properly (when I last used it) ... so check my goblin profile for how I did this quest (it's in my SVN)

http://www.wowhead.com/quest=14236
 
Back
Top