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

UseItemOn Notworking? Quest: "Flamebreaker " this is MADNESS

Zugga

New Member
Joined
Jun 6, 2010
Messages
280
Reaction score
2
Alllright so here is the fun. (this thread wont post the script for some reason pls view in other thread to see what has hasnt been tried : here http://www.thebuddyforum.com/honorb...itme-inventory-particular-npc.html#post214111

Info: this quest Flamebreaker - Quest - World of Warcraft and I am trying to get it to target A Npc (Blazebound Elemental 38896) and use item on it ( Flameseer's Staff 53107 )
So far ive tried.....
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem>
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem> He just ignored attempting to use the item and just initiates combat and kills it :P This exact same format worked for the quest Inciting the Elements where you have to target friendly npcs and they spawn another npc for you to fight.
///
<if condition="(HasQuest(25323)) && (HasItem(53107))"></if>
<useitem itemid="53107" questid="25323" targetid="38896" targettype="Npc" x="5237.96" y="-2799.46" z="1534.045"></useitem> He just ignored attempting to use the item and just initiates combat and kills it :P This exact same format worked for the quest Inciting the Elements where you have to target friendly npcs and they spawn another npc for you to fight.
///
<if condition="(HasQuest(25323)) && (HasItem(53107))">
<custombehavior file="UseItemOn" questid="25323" itemid="53107" mobid="38896" numoftimes="30" objecttype="Npc" x="5237.959" y="-2799.46" z="1534.044">
</custombehavior> </if>
^^^^ Gives Compile error

<custombehavior file="UseItemOn" questid="25323" itemid="53107" mobid="38896" numoftimes="30" objecttype="Npc" x="5237.959" y="-2799.46" z="1534.044"></custombehavior>
^^^^ Gives Compile error

Also used the "CombatUseItem" ^^^^Gives Compile error

Would like to attempt a runmacro.cs using something like this
<custombehavior file="RunMacro">
Macro="/target Blazebound Elemental\n/use Flameseer's staff"
NumOfTimes="1"
WaitTime="1000" /></custombehavior>
And I did follow the wiki to get it html encoded and ^ looks like this :

<CustomBehavior File="RunMacro"
Macro="/target Blazebound Elemental\n/use Flameseer's staff"
NumOfTimes="1"
WaitTime="1000" />
This Gives no error but does nothing in HB but stop the bot (a good sign I guess :P )

Atm too I also tried to even just use the runmacro to even /target Blazebound Elemental.. Wont even do that.
<custombehavior file="RunMacro">
Macro="/target Blazebound Elemental"
NumOfTimes="1"
WaitTime="1000" /></custombehavior>



Update, Also just tried: (ty Killakaz!)
<custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10"><custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000"><custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000">
<custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000"></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior></custombehavior>
<custombehavior file="RunMacro" macro="/target Blazebound elemental" numoftimes="1" waittime="10"><custombehavior file="RunMacro" macro="/use Flameseer's staff" numoftimes="1" waittime="1000">
^^^^Gives Compile error :(

Wow... So what next?</custombehavior></custombehavior>
 
Last edited:
did you read my post in the previous thread?

here it is:

try this:

make sure you have useitemon in your .../hb XXXX/quest behaviors folder =P

If it doesn't work, then I don't know

do note that there are 2 different staffs!

http://www.wowhead.com/search?q=flameseer's+staff

Baron Geddon uses 54463, Blazebound uses 53107

http://www.wowhead.com/quest=25323/flamebreaker <--- it uses the staff on on the Blazebound's which release the little spirits
PHP:
			<If Condition="HasQuest(25323)" >
				<CustomBehavior File="UseItemOn" QuestId="25323" ObjectType="Npc" MobId="38896" ItemId="53107" NumOfTimes="7" WaitTime="6000" CollectionDistance="2000" X Y Z />
			</If>

And for Baron Geddon: http://www.wowhead.com/quest=25464
PHP:
			<If Condition="HasQuest(25464)" >
				<CustomBehavior File="UseItemOn" QuestId="25464" ObjectType="Npc" MobId="40147" ItemId="54463" NumOfTimes="7" WaitTime="6000" CollectionDistance="2000" X Y Z />
			</If>

Note:

This doesn't stop the bot from trying to kill the blazebound. It may keep targetting it while getting owned by the little guys

FML stupid dev forum and it's non code/quote :(
 
Last edited:
was told to post here by Tony, and yes I read it ty very much, it as well does not work :O Same compile error, and yes I have the current version and current QB's I also am aware that there are 2 staffs. I am using the correct one but havent used the other one Maybe I will try to use the item number from Baron geddons Staff and see if it works (maybe a wowhead error) but I doubt it.
This quest is rougly 6 quests in if anyone wants to get there fresh lvl 80 or any 80+ that hasnt quested in Hyjal and test it out and see wtf is going on itd be really nice.
Also while I was not the op, I am having the same problem and did originally post in this thread (this new thread is not liking my script) : http://www.thebuddyforum.com/honorb...itme-inventory-particular-npc.html#post214111
 
I can also confirm the Useitemon custom behavior is not working with this quest
 
UseItemAtRange works - i don't know if this version of HB has released UseItemOn with a RangeWanted yet (hence why KaZ named it UseItemAtRange in the beginning)

PHP:
		<PickUp QuestName="Flamebreaker" QuestId="25323" GiverName="Malfurion Stormrage" GiverId="39857" />
			<If Condition="((HasQuest(25323)) &amp;&amp; (!IsQuestCompleted(25323)))" >
				<CustomBehavior File="UseItemAtRange" QuestId="25323" ObjectType="Npc" MobId="38896" ItemId="53107" NumOfTimes="20" WaitTime="11000" RangeWanted="18" CollectionDistance="500" X="5353.61" Y="-2988.206" Z="1549.939" />
			</If>
			<Objective QuestName="Flamebreaker" QuestId="25323" Type="KillMob" MobId="40065" KillCount="30" />
		<TurnIn QuestName="Flamebreaker" QuestId="25323" TurnInName="Malfurion Stormrage" TurnInId="39857" />
			<!-- If you don't do this quest manually, you will die, a lot -->
		<PickUp QuestName="The Return of Baron Geddon" QuestId="25464" GiverName="Malfurion Stormrage" GiverId="39857" />
			<If Condition="((HasQuest(25464)) &amp;&amp; (!IsQuestCompleted(25464)))" >
				<CustomBehavior File="UseItemAtRange" QuestId="25464" ObjectType="Npc" MobId="40147" ItemId="54463" NumOfTimes="20" WaitTime="8000" RangeWanted="20" CollectionDistance="30" X="5416.062" Y="-2805.125" Z="1516.155" />
			</If>
		<TurnIn QuestName="The Return of Baron Geddon" QuestId="25464" TurnInName="Malfurion Stormrage" TurnInId="39857" />
 

Attachments

Thanks for the help with that one Kick, I'll test that with my next toon that goes through Hyjal.
 
Back
Top