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

<UseItem> not working?

live4gaming

Member
Joined
Feb 23, 2010
Messages
117
Reaction score
3
I have been trying to write a questorder for "Feed of Evil" quest where you must take "Adana's Torch" and use it next to the zombie boar's troughs to set them on fire. They aren't selectable so it's a case of moving to the hotspot and using <UseItem>.

When I do the bot just sits there doing nothing? I used the UseItem on a quest last night and it worked but still didn't on "Feed of Evil", nor did another quest I tried which was a standard <UseItem> with no hotspot.

I have it in the profile like this:
Code:
	<PickUp QuestName="Feed of Evil" QuestId="14461" GiverName="Adana Thunderhorn" GiverId="36694" />
	<UseItem ItemId="49539" QuestName="Feed of Evil" QuestId="14461" X="-3357.74" Y="-232.4098" Z="62.93039" />
   	<UseItem ItemId="49539" QuestName="Feed of Evil" QuestId="14461" X="-3391.927" Y="-210.8096" Z="63.12126" />
   	<UseItem ItemId="49539" QuestName="Feed of Evil" QuestId="14461" X="-3406.106" Y="-265.6183" Z="62.68423" />

This is what the debug says:
Code:
[21:13:16:86] Cleared POI
[21:13:16:236] Picking up Feed of Evil : 14461
[21:13:16:236] Goal: Picking up Feed of Evil
[21:13:16:236] Changed POI to: Type: QuestPickUp
[21:13:16:403] interact: 0x1F12F8C0
[21:13:16:419] interact done: 0x1F12F8C0
[21:13:19:433] Cleared POI
[21:13:19:568] Goal: Using item for Feed of Evil
[21:17:39:353] System.Threading.ThreadAbortException: Thread was being aborted.
   at n.h()
   at Styx.Helpers.InfoPanel.b()
   at Styx.WoWPulsator.Pulse(PulseFlags flags)
   at Styx.Logic.BehaviorTree.TreeRoot.b()
   at Styx.Logic.BehaviorTree.TreeRoot.a()
[21:17:39:353] System.Threading.ThreadAbortException: Thread was being aborted.
   at Styx.Logic.BehaviorTree.TreeRoot.a()

Baring in mind the last bit is just the error where I clicked Stop on the bot...

I know those are the right hotspots, quest ids and giver ids, but I don't know what is going on lol!
 
Last edited:
Looking at your profile fragment, I can see absolutely nothing wrong with it.


live4gaming said:
zombie boar's troughs to set them on fire. They aren't selectable

Are the troughs "sparkling" in the WoWclient? If so, are you sure the X-Y-Z you've selected is with 'interaction distance' of the trough? Does it work if you stand in that exact position, and use the torch without Honorbuddy running?

This one's a stumper, and if we can't figure it out, its a candidate for BugTracker.

cheers,
CJ
 
The troughs aren't sparkling no but if I use the item in the EXACT position it stops on it works fine.

Even more odd is that I used the item and it didn't move to the next hotspot so I clicked to move to the next trough and when I went to click the item it went to the last trough and used the item!

I don't know wtf is going on :( I guess I will have to post it in the bug tracker.
 
Try rewriting it like this:

Code:
<PickUp QuestName="Feed of Evil" QuestId="14461" GiverName="Adana Thunderhorn" GiverId="36694" />

<RunTo QuestId="14461" X="-3357.74" Y="-232.4098" Z="62.93039" />
<UseItem ItemId="49539"  QuestId="14461" />
<RunTo QuestId="14461" X="-3391.927" Y="-210.8096" Z="63.12126" />
<UseItem ItemId="49539" QuestId="14461"  />
<RunTo QuestId="14461" X="-3406.106" Y="-265.6183" Z="62.68423" />
<UseItem ItemId="49539" QuestId="14461"  />

Even if this works... I'd submit a BugTracker, because what you're trying to do isn't wrong.

cheers,
CJ
 
I tried your version of the code and it's still not working :(

I submitted the bug, fingers crossed it will be working soon!
 
Back
Top