• Visit Rebornbuddy
  • How do I make that the profile sells a particular item?

    Discussion in 'Honorbuddy Forum' started by HarveySpecter, Mar 29, 2015.

    1. HarveySpecter

      HarveySpecter Member

      Joined:
      Feb 26, 2015
      Messages:
      192
      Likes Received:
      0
      Trophy Points:
      16
      I would like to make "Relics of ulduar" sellable by the bot. Help please? :)
       
    2. Signal7

      Signal7 New Member

      Joined:
      Sep 27, 2010
      Messages:
      268
      Likes Received:
      7
      Trophy Points:
      0
      Can you elaborate more on what you want? Are you looking to just sell these to any vendor as vendor trash or are you looking to turn these in as currency to one of the vendors in Storm Peaks for consumables that can be obtained with them?
       
    3. HarveySpecter

      HarveySpecter Member

      Joined:
      Feb 26, 2015
      Messages:
      192
      Likes Received:
      0
      Trophy Points:
      16
      Vendor trash yes
       
    4. dellza

      dellza Community Developer

      Joined:
      Jul 29, 2010
      Messages:
      352
      Likes Received:
      3
      Trophy Points:
      0
      are you getting these from a grind or something ? you can make a vendor run and sell it with lua code but i dont know how to add it as a default trash item

      u can add this to the profile when its at the vendor with the vendor window open to sell it
      PHP:
      <CustomBehavior File="Misc\RunLua" NumOfTimes="10" WaitTime="2000" Lua="
                          if MerchantFrame:IsVisible()==true then
                              if buffer==nil or buffer&gt;4 then buffer=0 end
                              MerchantRepairAllButton:Click()
                              if buffer&lt;5 then
                                  for s=1,GetContainerNumSlots(buffer)
                                      do local n=GetContainerItemLink(buffer,s)
      if (n and strfind(n, &quot;42780&quot;)) then
                                              UseContainerItem(buffer,s)
                                          end
                                      end
                                  buffer=buffer+1
                                  end
                              end" 
      />
      or u can find a macro and do a simple run macro command
       
      Last edited: Mar 30, 2015
    5. Jiniix

      Jiniix Member

      Joined:
      Jan 10, 2012
      Messages:
      337
      Likes Received:
      14
      Trophy Points:
      18
      I know it's not profile-specific, but couldn't you just erase it from Protected Items, so every profile/bot would consider it a normal, white item? Should be sold if the profile is set to sell white items then.
       
    6. HarveySpecter

      HarveySpecter Member

      Joined:
      Feb 26, 2015
      Messages:
      192
      Likes Received:
      0
      Trophy Points:
      16
      How?
       
    7. Jiniix

      Jiniix Member

      Joined:
      Jan 10, 2012
      Messages:
      337
      Likes Received:
      14
      Trophy Points:
      18
      Your HB folder contains an XML file called ProtectedItems. Open that with notepad, ctrl-F and search for your item, then just delete that line.
       

    Share This Page