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

Simple question about protecteditems block

zeldrak

Well-Known Member
Joined
Oct 25, 2010
Messages
3,516
Reaction score
25
I read the wiki article and copied and pasted the list of protected items verbatim, from start to finish, and now I just need to know where to put it in the profiles? I'm not sure where, but from the few profiles I looked at it looks like it goes at the end. I'm gonna try it and see what happens. However, if anyone could tell me between what tags to put this whole block from the wiki then it would be super helpful. Thanks. :)
 
If you read the Wiki you would know that the <ProtectedItems> element doesn't belong in profiles. :D

The only time you should find a <ProtectedItems> in a Profile is in a Questing profile, and it just protects the items needed for any of the quests contained therein. Did you read the [wiki]HonorBuddy: About Protected Items[/wiki] article?

But to answer your question, the items go in between...
Code:
 <HBProfile>
    <!-- ... -->
    <ProtectedItems>
         <Item ... >
     </ProtectedItems>
 </HBProfile>

By convention, the element is placed toward the bottom because the information is "uninteresting" to most readers of the profile.

Once again, putting a ProtectedItems list in a profile is the wrong thing to be doing--except for questing profiles where it just protects the quest items. The <ProtectedItems> prototype in the Wiki expects to be placed in each user's Honorbuddy_install_directory/ProtectedItems.xml file.

cheers,
CJ
 
Last edited:
Back
Top