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

Item Rules XML Schema

AzureusPT

New Member
Joined
Sep 25, 2012
Messages
439
Reaction score
1
I've created an XML Schema with the Item Rules XML syntax to make it easier to create or modify item rule's xml files.

With this you will enable validation and/or autocomplete in the rules xml file, making it easier to edit.

Visual Studio
LootRules.png


Notepad++
NPvalidate.jpg


How to use:
1) Download the file and unzip it in the same folder you will be creating/editing your loot rules.
2) Add the attributes xmlns="http://tempuri.org/ItemRuleSchema.xsd" xmlns:xsi="http://tempuri.org/ItemRuleSchema.xsd" to the ItemRules tag of the file your editing, like this:
PHP:
<ItemRules name="..." useRoundedValues="true" xmlns="http://tempuri.org/ItemRuleSchema.xsd" xmlns:xsi="http://tempuri.org/ItemRuleSchema.xsd">
3-1) If you're using Visual Studio or Visual Express, add the schema to your project.
3-2) If you're using Notepad++, you need to download the plugin XML Tools, then you can use the schema to validate your xml file.


Changelog
19/11: Updated types. Changed xmlns declaration.
14/11: Updated priority values. Added all missing stat types.
 
Last edited:
This sounds really good. Would it be possible to set up a small guide with picture on how to start using this?
 
Sweet! Thanks for this, the Schema for profiles was very helpful, and this will be as well. I'd also like to take the opportunity to thank you for filling out available options in items (from the item quickstart thread), a very helpful reference
 
This sounds really good. Would it be possible to set up a small guide with picture on how to start using this?
I've updated the post with a little more info. If you still have troubles setting it up, just post the issue here and I will try to help.
 
Back
Top