Hello Community, first of all, excuse me for all of my questions, but it's new for me and it's a bit complicated. Following Quest: Following Code: PHP: <HBProfile> <Name> NightElf 1-60 Questing </Name> <MinDurability> 20.0 </MinDurability> <MinFreeBagSlots>5</MinFreeBagSlots> <MinLevel>1</MinLevel> <MaxLevel>86</MaxLevel> <MailGrey>False</MailGrey><MailWhite>False</MailWhite> <MailGreen>True</MailGreen> <SellGrey>True</SellGrey> <SellWhite>True</SellWhite> <SellGreen>True</SellGreen> <SellBlue>False</SellBlue> <SellPurple>False</SellPurple> <QuestOrder> <PickUp QuestName="Das Gleichgewicht der Natur" QuestId="28713" GiverName="Ilthalaine" GiverId="2079" /> <Objective QuestName="Das Gleichgewicht der Natur" QuestId="28713" Type="KillMob" MobId="2031" KillCount="6" /> <TurnIn QuestName="Das Gleichgewicht der Natur" QuestId="28713" TurnInName="Ilthalaine" TurnInId="2079" /> <PickUp QuestName="Daemonische Diebe" QuestId="28715" GiverName="Melithar Staghelm" GiverId="2077" /> <PickUp QuestName="Verderbtes Teufelsmoos" QuestId="28714" GiverName="Ilthalaine" GiverId="2079" /> <Objective QuestName="Verderbtes Teufelsmoos" QuestId="28714" Type="CollectItem" ItemId="3297" CollectCount="6" /> <Objective QuestName="Daemonische Diebe" QuestId="28715" Type="CollectItem" ItemId="46700" CollectCount="5" /> <TurnIn QuestName="Daemonische Diebe" QuestId="28715" TurnInName="Melithar Staghelm" TurnInId="2077" /> <TurnIn QuestName="Verderbtes Teufelsmoos" QuestId="28714" TurnInName="Ilthalaine" TurnInId="2079" /> <PickUp QuestName="Geheiligtes Siegelzeichen" QuestId="3119" GiverName="Ilthalaine" GiverId="2079" /> <TurnIn QuestName="Geheiligtes Siegelzeichen" QuestId="3119" TurnInName="Shanda" TurnInId="3595" /> <PickUp QuestName="Die Verwundeten heilen" QuestId="26949" GiverName="Shanda" GiverId="3595" /> <Objective QuestName="Die Verwundeten heilen" QuestId="26949" Type ="KillMob" MobId="44617" KillCount="5"/> <TurnIn QuestName="Die Verwundeten heilen" QuestId="26949" TurnInName="Shanda" TurnInId="3595" /> </QuestOrder> <Quest Id="28714" Name="Verderbtes Teufelsmoos"> <Objective Type="CollectItem" ItemId ="3297" CollectCount="6"> <HotSpot> <Hotspot X="10272.57" Y="943.5242" Z="1339.787" /> <Hotspot X="10272.56" Y="966.9799" Z="1340.547" /> </HotSpot> </Objective> </Quest> <Quest QuestName="Die Verwundeten heilen" QuestId="26949" GiverName="Shanda" GiverId="3595"> <while Condition="!IsQuestCompleted(26949)"> <Objective Type ="KillMob" MobId="44617" KillCount="5"> <HotSpots> <Hotspot X="10413.51" Y="776.0096" Z="1322.698" /> </HotSpots> <CustomBehavior File="CastSpellOn" MobId="44617" SpellId="2061" X="10426.69" Y="783.4464" Z="1338.772" NumOfTimes="1" QuestId="26949" /> </Objective> </while> </Quest> </HBProfile> Error in Log:
<code><code>Custom Behaviours are placed inside questorder tags, not in the override as you did it. Also the </code></code><code><code><Objective QuestName="Die Verwundeten heilen" QuestId="26949" Type ="KillMob" MobId="44617" KillCount="5"/> is wrong , you want to heal them not kill them, dont you? How about? </code></code> PHP: <PickUp QuestName="Die Verwundeten heilen" QuestId="26949" GiverName="Shanda" GiverId="3595" /> <CustomBehavior File="CastSpellOn" MobId="44617" SpellId="2061" X="10426.69" Y="783.4464" Z="1338.772" NumOfTimes="5" QuestId="26949" /> <TurnIn QuestName="Die Verwundeten heilen" QuestId="26949" TurnInName="Shanda" TurnInId="3595" /> I can't guarantee that this works, since i havent tested it, but at least it looks better than your solution.
Thanks. It's works! And whats to use, to learn the cast before? I tried: PHP: <PickUp QuestName="Die Verwundeten heilen" QuestId="26949" GiverName="Shanda" GiverId="3595" /> <CustomBehavior File="ForceSetVendor" QuestId="26949" VendorType="Train" /> <CustomBehavior File="CastSpellOn" MobId="44617" SpellId="2061" X="10426.69" Y="783.4464" Z="1338.772" NumOfTimes="5" QuestId="26949" /> <TurnIn QuestName="Die Verwundeten heilen" QuestId="26949" TurnInName="Shanda" TurnInId="3595" /> But it won't work!
there is an option to have hb train new spells on levelup. You can't rely on it to be active though. Neither can you rely on people to have "find vendors automatically" active. I add all vendors that i want to be used in my profile and do it like this: HTML: <Vendors> <!-- Klassenlehrer --> <Vendor Name="Pfadpirscher Kariel" Entry="15285" Type="Train" TrainClass="Rogue" X="10384.53" Y="-6404.986" Z="38.53176" /> </Vendors> <If Condition="Me.Class == WoWClass.Priest"> <PickUp QuestName="Ausbildung zum Priester" QuestId="8564" GiverName="Magistrix Erona" GiverId="15278" X="10351.96" Y="-6359.932" Z="34.03239" /> <TurnIn QuestName="Ausbildung zum Priester" QuestId="8564" TurnInName="Matrone Arena" TurnInId="15284" X="10372.4" Y="-6428.843" Z="38.53239" /> <PickUp QuestName="Die Verwundeten heilen" QuestId="10072" GiverName="Matrone Arena" GiverId="15284" X="10372.4" Y="-6428.843" Z="38.53239" /> <If Condition="!HasSpell(2061)"> <CustomBehavior File="ForceSetVendor" QuestId="10072" VendorType="Train" /> </If> <CustomBehavior File="CastSpellOn" QuestId="10072" SpellId="2061" MobId="44857" NumOfTimes="5" HpLeftAmount="100" MinRange="3" Range="35" X="10347.56" Y="-6412.284" Z="38.53149" /> <TurnIn QuestName="Die Verwundeten heilen" QuestId="10072" TurnInName="Matrone Arena" TurnInId="15284" X="10372.4" Y="-6428.843" Z="38.53239" /> </If> Hb checks if we know the spell already, and if not, goes to train at the trainer i added as vendor. We could also use the usersettings custom behaviour and switch both options i mentioned to on before you gain the new level, but i think this way looks a bit better.</vendor>
Honorbuddy & Gatherbuddy Wiki - Buddy Wiki is a great source of information about all aspects of hb and profiles
This should cover some things: http://www.thebuddyforum.com/honorb...ow-write-questing-profile-[megs]-{video}.html
Thanks! I knew it. Reading on it next to frequently asked questions If I use: PHP: <Vendor Name="Alyissia" Entry="3593" Type="Train" TrainClass="Warrior" X="10526.61" Y="778.0858" Z="1329.6" > </Vendor> and PHP: <If Condition="!HasSpell(100)"> <CustomBehavior File="ForceSetVendor" QuestId="26945" VendorType="Train" /> </If> He just goes to repair.. :X