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

Demonbuddy Xml profile schema

Nesox

Well-Known Member
Joined
Jan 15, 2010
Messages
1,563
Reaction score
48
Profile schema for Demonbuddy profiles.

Add the file in the directory with your profile then make sure you add this in the root element, "Profile"
PHP:
<Profile xmlns="http://tempuri.org/ProfileSchema.xsd" xmlns:xsi="http://tempuri.org/ProfileSchema.xsd">
If all is ok you should now be able to use intellisense for Demonbuddy profiles.

2cxi9gy0.jpg


If you use Notepad++ you need to download a plugin, visual studio got built in support for xml schemas.
Notepad++ plugin can be found HERE
SourceForge.net: Plugin Central - notepad-plus
 

Attachments

Last edited:
i add all files ant text
whats next? where is this all list for profiles etc? i use Notepad++
 
This is awesome. I just finish setting this up on my notepad++ and I really like this. By the way, the Xml plugin can be install directly from Notepad++ plugin Manager.

I think this is not the latest Schema version. See below what I get when I try to validate a Bounty Profile.

Code:
Validation of current file using XML schema:


ERROR: Element '{http://tempuri.org/ProfileSchema.xsd}GameParams', attribute 'act': [facet 'enumeration'] The value 'OpenWorld' is not an element of the set {'A1', 'A2', 'A3', 'A4'}.
ERROR: Element '{http://tempuri.org/ProfileSchema.xsd}GameParams', attribute 'act': 'OpenWorld' is not a valid value of the local atomic type.
ERROR: Element '{http://tempuri.org/ProfileSchema.xsd}GameParams': The attribute 'quest' is required but missing.
ERROR: Element '{http://tempuri.org/ProfileSchema.xsd}GameParams': The attribute 'step' is required but missing.
ERROR: Element '{http://tempuri.org/ProfileSchema.xsd}LogMessage', attribute 'output': The attribute 'output' is not allowed.
ERROR: Element '{http://tempuri.org/ProfileSchema.xsd}LogMessage': The attribute 'message' is required but missing.
ERROR: Element '{http://tempuri.org/ProfileSchema.xsd}TrinityMaxDeaths': This element is not expected.
ERROR: Element '{http://tempuri.org/ProfileSchema.xsd}TargetBlacklists': This element is not expected.

Under GameParams Xml Schema Validation here what change since the first post.

Add support for Act 5 and Adventure Mode
Code:
<xs:enumeration value="A5" />
<xs:enumeration value="OpenWorld" />

The quest and Step declaration are not required anymore.
Code:
<xs:attribute name="quest" type="xs:int" use="optional" />
<xs:attribute name="step" type="xs:int" use="optional" />

The difficulty is not required anymore so I think this can be removed or set to optional
Code:
<xs:attribute name="difficulty" type="xs:string" use="optional" />
 
Last edited:
Sadly the XSD ist not up to date. A description for some attributes would be also nice.
 
Dude what is this question????

What is "Intellisense?

What are you waiting to Google it and find your answer. Dude this should be your first reflex before wasting
you time writing this question.

Google in case you forget the url and start asking for it.
 
Back
Top