• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • QB: UseItemTargetLocation seems to be broken

    Discussion in 'Honorbuddy Support' started by Thumped, Mar 26, 2013.

    1. Thumped

      Thumped New Member

      Joined:
      Nov 1, 2010
      Messages:
      266
      Likes Received:
      3
      Trophy Points:
      0
      Running a quest Profile and when it calls for the UseItemTargetLocation quest behavior, it just hangs

      Tried 3 times, this one is at the bottom of the log...
      [00:43:04.005 D] Goal: UseItemTargetLocation: In Progress


      Thanks
       

      Attached Files:

    2. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Hi, Thumped,

      I've captured your report to the "to look at" list. I'm not familiar with the Sharecropper profile, and it could also be misusing the behavior. Could you point me to a copy of it?

      thanks!
      chinajade
       
    3. Thumped

      Thumped New Member

      Joined:
      Nov 1, 2010
      Messages:
      266
      Likes Received:
      3
      Trophy Points:
      0
      It is in my sig china... Thanks
       
    4. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Hi again, Thumped. Doh! ty

      I looked in your thread, and you must be working on a new profile that is not in your thread, yet. Alas, I'm also unfamiliar with the content you are trying to address.

      But...
      I did give a look at the UseItemTargetLocation code, and it will silently fail as you observe if the proper item is not in your bag. Are you certain you specified the correct ItemId in the profile invocation?

      Either way it goes, UseItemTargetLocation needs some work--silently failing is not an acceptable situation.


      cheers,
      chinajade
       
      Last edited: Mar 27, 2013
    5. Thumped

      Thumped New Member

      Joined:
      Nov 1, 2010
      Messages:
      266
      Likes Received:
      3
      Trophy Points:
      0
      Line 543 of the Enigma file and Line 542 of the Songbell file. Both files worked great until the last patch...
       
    6. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Hi again, Thumped,

      I think I see where the problem may lie. We've been having some real issues with correct "Cooldown" information being returned from the WoWclient since the last patch. I've been talking to the developers responsible for that area, but nothing has been resolved yet.

      I've modified a copy of UseItemTargetLocation.cs to confirm this is the problem. It won't fix the problem, but just confirm it. Would you be so kind as to give this a test, and show me a fresh log with it?


      thanks!
      chinajade
       
      Thumped likes this.
    7. Thumped

      Thumped New Member

      Joined:
      Nov 1, 2010
      Messages:
      266
      Likes Received:
      3
      Trophy Points:
      0
      I will give a try tonight...

      Thanks again Chinajade
       
    8. Thumped

      Thumped New Member

      Joined:
      Nov 1, 2010
      Messages:
      266
      Likes Received:
      3
      Trophy Points:
      0
      Works like it's supposed too..
       
    9. Dare932

      Dare932 New Member

      Joined:
      Sep 12, 2012
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      That is not just questing targetting...the entire bots targetting is not working....when I use BGBuddy my toon is just running up to people and following them around.
       
    10. CodenameG

      CodenameG New Member

      Joined:
      Jan 15, 2010
      Messages:
      38,369
      Likes Received:
      231
      Trophy Points:
      0
      so your good now?
       
    11. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Hi, Thumped,

      Can you show me the log please? If it actually repaired the issue, I will check in the change to the QB. But, I'd like to make certain first (with a log), as it wasn't supposed to actually fix your problem. :D

      cheers,
      chinajade

      P.S. - In the future, issues like this should probably be discussed in the Developer forum instead of the Support forum.
       
    12. Thumped

      Thumped New Member

      Joined:
      Nov 1, 2010
      Messages:
      266
      Likes Received:
      3
      Trophy Points:
      0
      Yes'm I will get you a log this afternoon, at work...bah.
       
    13. Thumped

      Thumped New Member

      Joined:
      Nov 1, 2010
      Messages:
      266
      Likes Received:
      3
      Trophy Points:
      0
      Here you go Chinajade
      Shorten up the profile so it would only test the Custom Behavior...log and profile are attached

      View attachment 6280 2013-03-28 17.09.txt
      View attachment PlantSongbellTest.xml
       
    14. Thumped

      Thumped New Member

      Joined:
      Nov 1, 2010
      Messages:
      266
      Likes Received:
      3
      Trophy Points:
      0
      Yeap!
       
    15. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      Hi, Thumped, and many thanks for the log.

      For the life of me, I don't see how the changes could've affected the outcome. I just altered the code to print messages if the item could not be found, or the item was on cooldown (which neither show up in the log). Previously, the behavior would just lock up with a silent failure.

      I'll check the changes in, but this lack of understanding why it now works bothers the fool out of me.

      Thanks again!
      chinajade
       

    Share This Page