• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • how do i make my bot not sell knothhide leather at vendor?

    Discussion in 'Archives' started by fordy8, Feb 1, 2010.

    1. fordy8

      fordy8 New Member

      Joined:
      Jan 20, 2010
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      using phelons 58-70 profile and it keeps my greens / blues but is vendoring my leather ive skinned, ive got lootfilter setup to keep greens+ and leather and quest items. thanks
       

      Attached Files:

    2. fpsware

      fpsware Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      5,287
      Likes Received:
      133
      Trophy Points:
      63
      Do a search of the forums, this is asked almost daily.

      Protected Items list.
       
    3. fordy8

      fordy8 New Member

      Joined:
      Jan 20, 2010
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      i tryed doing it but i get errors on the profile such as line 93 error etc can u give an example on tht profile and i can add to it please? cheers
       
    4. fpsware

      fpsware Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      5,287
      Likes Received:
      133
      Trophy Points:
      63
      You don't add it to the profile, you add it to the protecteditems.xml file.
       
    5. fordy8

      fordy8 New Member

      Joined:
      Jan 20, 2010
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      and where would i find that? sorry if im being ignorant i really cant find that in my hb folder and the profile didnt come with 1 :)
       
    6. Tony

      Tony "The Bee" Staff Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      128,834
      Likes Received:
      571
      Trophy Points:
      113
      is missing from the latest release
      edit this one to your preferences
       

      Attached Files:

      Last edited: Feb 1, 2010
    7. fordy8

      fordy8 New Member

      Joined:
      Jan 20, 2010
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      so just put it in my main hb fodler? or in profiles folder?
       
    8. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Just out of curiosity.

      Does the markup have to be with the actual item name or is the ID?
      I just had a look at the file, and it's made up in 3 different ways, so I wonder what is the correct way, or do all 3 ways work that I found in the file?

      Way 1:
      PHP:
        <!-- Instant Poison -->
        <
      Item name="Instant Poison" entry="6497" />
        <
      Item name="Instant Poison" entry="6949" />
      Here everything is called Instant Poison but the actual names differ.

      Way 2:
      PHP:
        <!-- Rune of Teleportation -->
        <
      Item name="" entry="17031" />
      Here we skip names altogether.

      Way 3:
      PHP:
        <!-- Enchanting -->
        <
      Item name="Runed Copper Rod" entry="6218" />
        <
      Item name="Runed Silver Rod" entry="7795" />
      Here they come with name and ID (I guess this could give problems with non english clients even though the ID is there as well?)

      And my last question is, is there anything that is hardcoded protected.
      If so, could I please get a list trough PM with the items that are hardcoded protected.

      I want to make a more complete of the protected items.xml file and then post it back here for common use (but in order to do that I will have to know the answers to my questions first).

      Thanks, LiquidAtoR.
       
    9. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Soz for the bump, but I would still like that hardcoded list of protected items ^^
       
    10. LAP87

      LAP87 Member

      Joined:
      Jan 15, 2010
      Messages:
      451
      Likes Received:
      0
      Trophy Points:
      16
      Aye, someone please answer Liquid! :O
       
    11. fpsware

      fpsware Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      5,287
      Likes Received:
      133
      Trophy Points:
      63
      I don't think this should be hardcoded. I personally sell leather to the vendor when my character has farmed sufficent quantities.
       
    12. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      I don't request this is gonna be hardcoded :S

      I want a list of items that ARE already hardcoded already (so I can ajust the protected.xml with all other logical items to protect).
      I still see some occasional items that disappear out of my bags that should not be vendored.
      But I also don't want to double code items (and risking errors due to it).
       

    Share This Page