• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Need help on a short script

    Discussion in 'Honorbuddy Forum' started by wmcrow, Feb 23, 2013.

    1. wmcrow

      wmcrow New Member

      Joined:
      Jan 15, 2013
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Hey,

      Im trying to write a short script which just makes the bot fly to a vendor in OG and buy a Virtuoso Inking Set.
      Here is what i got so far:

      <Professionbuddy>

      <FlyToAction Dismount="True" Location="1533.925, -4427.312, 20.53544" />
      <BuyItemAction NpcEntry="5817" Location="1.537,33, -4.445,31, 24,02" ItemID="39505" BuyItemType="SpecificItem" Count="1" BuyAdditively="False" />

      </Professionbuddy>

      Most of the time, the script works perfectly. But sometimes my character runs to the vendor, opens the vendor tab but buys nothing. Honorbuddy log says "Item 39505 not found"
      Is there a way to fix this?
       
    2. f299

      f299 Member

      Joined:
      Feb 20, 2011
      Messages:
      479
      Likes Received:
      8
      Trophy Points:
      18
      Try a different npc? 44780 = Orgrimmar vendor Isashi..
      I don't know much of scripts, that's all I got :)
       
    3. volkvin

      volkvin New Member

      Joined:
      Nov 25, 2012
      Messages:
      212
      Likes Received:
      3
      Trophy Points:
      0
      Try putting a delay between interaction and buying? Not sure if that is possible.
       
    4. wmcrow

      wmcrow New Member

      Joined:
      Jan 15, 2013
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Adding <WaitAction Condition="InbagCount (39505) >=1" Timeout="2000" /> fixed this issue for me
       
    5. f299

      f299 Member

      Joined:
      Feb 20, 2011
      Messages:
      479
      Likes Received:
      8
      Trophy Points:
      18
      Hm, glad you got it fixed then! :p
       

    Share This Page