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

Help with Quest Profile Tags....

Unknown

Member
Joined
Apr 4, 2010
Messages
574
Reaction score
14
OK, I have been reading the Wiki, but this is now driving me nuts, and after 2 days of trying to sort it out myself, I'm asking for a little help please!

I'm trying to re-do the worgen starter profile, thought it's as good an area to do as any.....one of the quests "Evacuate the Merchant Square" requires the bot to knock on 3 doors.....which I currently cannot make it do!

Attached is as far as I've got so far....

My bot knocks once, then tries to turn in the quest.....where am I going wrong?

Many thanks for your help :DView attachment [Unknown] Worgen Quests.xml
 
PHP:
      <If Condition="(HasQuest(14098)) &amp;&amp; (!IsQuestCompleted(14098))">
		<CustomBehavior File="UseGameObject" QuestId="14098" ObjectId="195327" UseCount="3" X="-1436.619" Y="1420.375" Z="35.5561"/>
     </If>

change to:

PHP:
      <While Condition="((HasQuest(14098)) &amp;&amp; (!IsQuestCompleted(14098)))">
	   <CustomBehavior File="InteractWith" QuestId="14098" MobId="195327" ObjectType="Gameobject" NumOfTimes="1" CollectionDistance="500" X="-1436.619" Y="1420.375" Z="35.5561"/>
     </While>

let me know what happens
 
Last edited:
Hi Kick, thanks for helping :)

Tried the above and got this:

An error occurred while parsing EntityName. Line 61, position 44.

I'm assuming that "&&" should in fact be "&amp;&amp;" ??

Sorry, I'm not good at the technical descriptions just yet ><
 
Last edited:
Why are you using a Subprofile? Delete it.
 
Why are you using a Subprofile? Delete it.

Why am I using it? No idea....just learning m8 :)

Will delete it if it isn't needed, thanks

PS. Megser - it was your tutorials that got me interested in this in the first place, so thank you :) (and I hope your nose is feeling better too!!!)
 
Hi Kick, thanks for helping :)

Tried the above and got this:



I'm assuming that "&&" should in fact be "&amp;&amp;" ??

Sorry, I'm not good at the technical descriptions just yet ><

yes, & amp ; & amp ; (no spaces)
 
Thought so, and it did indeed work - thanks!

If you have time, could you explain a little on what you changed and why please? It would help me to not bother you guys so much in the future if I can learn stuff now :)

btw...I'm doing this in notepad, but noticed that your font has color....any reason for that?
 
If you have time, could you explain a little on what you changed and why please? It would help me to not bother you guys so much in the future if I can learn stuff now :)

The &lt;If&gt; element evaluates its Condition once. If the Condition is true, the &lt;If&gt;'s body is executed, then control transfers to the next element in the QuestOrder following the &lt;/If&gt;. If the Condition evaluates to false, the &lt;If&gt; body is skipped, and control resumes immediately at the QuestOrder element after the &lt;/If&gt;.

The &lt;While&gt; element evaluates its Condition, and as long as its Condition is 'true', will continue to evaluate its body in a loop. When the &lt;While&gt; Condition goes false, control moves to the next step in the QuestOrder after the &lt;/While&gt;.

For quests you *know* will be completed by a single execution of a behavior, an &lt;If&gt; is appropriate. For quests that may require a behavior to be executed several times--such as your example of needing to knock on multiple doors because knocking on one door won't complete the quest--a &lt;While&gt; loop is appropriate.


btw...I'm doing this in notepad, but noticed that your font has color....any reason for that?

For editing profiles, Notepad++ is the tool of most author's choice. Not only does it colorize, but more importantly it provides line numbers, and provides 'tag' matching to see if you've structural errors.

As far as Kick colorizing in the forums, its all done by wrapping the profile fragment content using
PHP:
...
, or
HTML:
...
tags.



cheers,
chinajade
 
China, thank you so much for taking the time to explain that little lot!!

Also, thanks for all your work on the Wiki which has meant me not having to ask quite as much on how to do everything....it really is outstanding the amount of work you've put into it.

/salute :)
 
Why am I using it? No idea....just learning m8 :)

Will delete it if it isn't needed, thanks

PS. Megser - it was your tutorials that got me interested in this in the first place, so thank you :) (and I hope your nose is feeling better too!!!)

Awwwww. *Wipes away a tear*. Yes my nose feels a lot better :). Never be afraid to ask mate, we'll always help you out. When I was learning how to create questing profiles I asked the community A LOT and they always helped me. And now when I know how to create such profiles the least I can do is return the favor and help people learn. :)
 
Thanks dude, thats really nice to hear :)


and omg.......using Notepad++ makes all the difference doesnt it!!!! :)
 
Back
Top