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

Questing - Using an itme in inventory on a particular NPC

just tried this = compile error
<If Condition="HasQuest(25323)" >
<CustomBehavior File="UseItemOn" QuestId="25323" ObjectType="Npc" MobId="38896" ItemId="53107" NumOfTimes="7" WaitTime="6000" CollectionDistance="2000" MaxRange="20" X="5291.873" Y="-2827.849" Z="1522.722" />")
</If>

Range is 20 because ive noticed you can use the staff at 20 yards or so because other spells go white and red at the same time as the staff on your hotbar..
 
just so you know even if you are on an admin account or on windows 7 you still have to "run as administrator" for it to work properly i tried running it regular and i got similar notices about cannot compile, then re-ran it with "run as administrator" and the errors were gone. just my experience
 
also using the wiki's version of useitem and poster above me compile error as well

<CustomBehavior File="UseItemOn"
QuestId="25323"
ObjectType="Npc"
MobId="38896"
ItemId="53107"
NumOfTimes="1"
WaitTime="1500"
CollectionDistance="20"
X="5291.873"
Y="-2827.849"
Z="1522.722" />
 
Ok.... Ive never made a password on this pc and ive reformatted twice now... How do I make an administrator password on a pc thats never had one?
 
Ok.... Ive never made a password on this pc and ive reformatted twice now... How do I make an administrator password on a pc thats never had one?

if your on vista or windows 7 right-click the honorbuddy.exe and click "run as administrator"
 
Yes I know I am unable to run as administrator. I never created a password (as far as I know my last reformat was ages ago) When I run as admin it asks for a password. Since I did not make a password its sopposed to be blank... in the password field
BUT I get a logonfailure possible reasons are blank passwords are not allowed etc
 
Since other people who are having the same problem with this ever be fixed?
 
OOook SO after going through the hassle of finding out my admin password to run as admin....
I click, runas admin.. it works.. then I go to load HB and upon pressing it it says "invalid executor used in GetObjectName"
..........
PC LOAD LET WTF DOES THAT MEAN?! thermal-fax-machine-6.webp any Help?
 
works fine for me, could just be a quest issue.


<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="4" WaitTime="2000" CollectionDistance="20" ObjectType="Npc" X="5291.873" Y="-2827.849" Z="1522.722" />

Also note, that it is CRITICAL that you have them in the correct order. Try the above.
 
Oh wow, yes so NO compile error! Im so happy for that! But what happens to me is... She will walk to my xyz coord enter combat kill it and THEN use the item lol at this point im glad its doing everything I ask just want it to do it right! How to fix this then? A Runto like someone else said?
 
Nuok said:
Also note, that it is CRITICAL that you have them in the correct order. Try the above.

The order of attributes to a CustomBehavior shouldn't matter.

It uses a random-access data structure is used to get the needed information. What is critical is the parameter names are spelled correctly, and the case is honored. If you're experiencing a problem that the order of parameters matters, then something else is going on, and we need to chase it down.

cheers,
chinajade
 
Ok, can someone try this out... I'm at work until 5pm CST. I have an idea... not sure if it will work. The blazebound elementals spawn in 3 different areas. I think when you use the Flameseer's Staff they break up into 10 Unbound Flame Spirit. So would the following work IF someone were to populate the x,y,z coordinates for the 3 different locations:

<PickUp QuestName="Flamebreaker" QuestId="25323" GiverName="Malfurion Stormrage" GiverId="39857" />
<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="1" ObjectType="NPC" X="" Y="" Z="" />
<Objective QuestName="Flamebreaker" QuestId="25323" Type="KillMob" MobId="40065" KillCount="10" />
<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="1" ObjectType="NPC" X="" Y="" Z="" />
<Objective QuestName="Flamebreaker" QuestId="25323" Type="KillMob" MobId="40065" KillCount="10" />
<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="1" ObjectType="NPC" X="" Y="" Z="" />
<Objective QuestName="Flamebreaker" QuestId="25323" Type="KillMob" MobId="40065" KillCount="10" />
 
Last edited:
Kinda Works...

I looked in the Wiki and it showed me how to just "use an item" or use an item in a specific location but how do I use it on a specific target, such as the Flameseer's Staff in Hyjal on Blazebound Elementals? Itired the following code below but it did not work, does anyone know if this can be done?

<UseItem ItemId="53107" QuestName="Flamebreaker" QuestId="25323" MobId="38896"/>

Ok, I tested out the below last night and it kinda half-ass works. I run into 2 problems, 1) If I'm in combat it won't use the item and 2) It attempts to use the item on a dead Blazebound Elemental and that counts as part of the "NumOfTimes". Is there a better way of doing this or any workarounds? I used the same kind of logic for the next part in that chain for Baron Geddon and it works kinda half-assed too because it dies alot due to Geddon's AoE and me not knowing how to put in the QuestOrder how to watch out for that.

<PickUp QuestName="Flamebreaker" QuestId="25323" GiverName="Malfurion Stormrage" GiverId="39857" />
<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="2" ObjectType="NPC" X="5344.108" Y="-2981.748" Z="1547.65" />
<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="2" ObjectType="NPC" X="5344.108" Y="-2981.748" Z="1547.65" />
<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="2" ObjectType="NPC" X="5344.108" Y="-2981.748" Z="1547.65" />
<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="2" ObjectType="NPC" X="5467.431" Y="-2774.65" Z="1517.644" />
<CustomBehavior File="UseItemOn" QuestId="25323" MobId="38896" ItemId="53107" NumOfTimes="2" ObjectType="NPC" X="5466.459" Y="-2833.025" Z="1518.266" />
<Objective QuestName="Flamebreaker" QuestId="25323" Type="KillMob" MobId="40065" KillCount="30" />
 
yes the only mild success ive gotten is using the item on a dead npc after its killed it.
Something has changed with HB im sure of it.
Before I have used HB using tubas at the time 1-12, 1-29 goblin questing profile they worked just as he said.
Now with the newer versions of HB I can not use them and now get compile errors every time. This is quite annoying.
I am constantly getting errors with that stupid Tripper.dll and saying CC's cant be loaded.
Am I using the wrong .Net Framework? could this be the problem?
 
Back
Top