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

Profile writing newby - some questions

katzerle

New Member
Joined
Jan 18, 2011
Messages
917
Reaction score
68
Hello
I begin to advance the TolBarad Profiles for daylies and now I have some Questions about Profile writing.

First Question is about this Syntax:
Code:
< If Condition="HasQuest(28682)">              
< Objective QuestName="Claiming The Keep" QuestId="28682" Type="KillMob" MobId="47447" KillCount="1" />
< /If>
</IF>
<IF Condition="HasQuest(28682)">
<OBJECTIVE QuestName="Claiming The Keep" QuestId="28682" MobId="47447" KillCount="1" Type="KillMob" />
</IF>
There are no Hotspots specified and the Quest isn't somewhere else described in the Profile. Anyhow the Bot straightly walks to the Mob and kills him.
How does this work?

Second Question:
Has the Questorder in the Profile an affect of which quest the Bot completes first?

Third Question:
In my Honorbuddy I found in the folder Quest Behaviors the File "UseItemTargetLocation"
How does this work? In the Wiki this isn't explained.

thanks a lot
katzerle

Edit:
Just another Question:
Is there a Syntax for using something like Do ....... While (.....) in a Profile?
 
Last edited:
1) the bot knows where the npc is
2) the bot does objectives (and pickup / turnin) in the order that you tell it to
3) The wiki needs updates, check natfoth's 1-58 worgen profile for most of his CB's

I don't get the 4th question. explain it more
 
1) But from where he gets this Info?
3) Ok I will look there, thank you :)
4) For Example: I'm writing a Profile for Netherwing Questing at the Moment.
There are 2 Quests (a slow dead / Schumerang ...) where the Bot has to walk all over the Netherwing ledge and use Items on several Hotspots.
And I want to tell him:
"Walk through the Area and use the Items" untill "the Quests are completed"
In C++ you could use the Syntax Do ... Walk through the Area and use the Items ... While ( the Quests are not completed )
 
Last edited:
you can do RunTo X Y Z, or grind area and put hotspots there. grindto isquestcompleted()

if it's a simple "runto", do just that.

i'd have to see the quest myself to judge what i'd do. but these are some ideas :)
 
:) Sadly with GrindTo you could only loop to kill mobs in an Area not to use something.
I now scripted the Quests like this:
if condition hasquest and !questcomplete
useitem X Y Z
/if
if condition hasquest and !questcomplete
useitem X Y Z
/if
if condition hasquest and !questcomplete
useitem X Y Z
/if
if condition hasquest and !questcomplete
useitem X Y Z
/if
if condition hasquest and !questcomplete
useitem X Y Z
/if
.........

nearly 100 times, with a loop this would be easier. Maybe I write a Custom Behavior as my next Project :)
 
Last edited:
katzerle said:
Third Question:
In my Honorbuddy I found in the folder Quest Behaviors the File "UseItemTargetLocation"
How does this work? In the Wiki this isn't explained.
Kickazz006 said:
3) The wiki needs updates, check natfoth's 1-58 worgen profile for most of his CB's
Sorry about the Wiki being stale, but the CBs are being changed so fast, and new ones added its simply impossible to keep up at the moment. I'll probably wait a month and let things settle out before re-reading the code again to bring the Wiki up-to-date. In the meantime, Kick is right in that all the behaviors usually have the necessary comments at the top of their code. Look there to get you started.

katzerle said:
nearly 100 times, with a loop this would be easier
You are correct in that a looping construct provided by the HBcore is sorely needed. It would make the profiles much less 'brute force' for a repeated series of actions.

cheers,
chinajade
 
Has somebody an answer to Question 1?
--> From where does the Bot get the Info where the Mobs are, if not exaclty written in the Profile.
I'm asking this because the Bot in sometimes ignores my quest override in the Profile and farms the Items/Mobs where he wants to.
 
There are no Hotspots specified and the Quest isn't somewhere else described in the Profile. Anyhow the Bot straightly walks to the Mob and kills him.
How does this work?
Since you have told HB the mob ID it checks the data in the mesh files it downloads and if it finds the ID number in there it knows where to go. That is how I understand it to work. Sometimes HB has it wrong and that is when a quest override is needed to direct it to the right xyz spot. Katzerle if HB is not following your override I would suspect there is some code problem with your override and HB ignores it and goes back to its default information.
 
I would suspect there is some code problem with your override and HB ignores it and goes back to its default information.
That was exactly the Problem :) I loaded an old broken Profile
 
Back
Top