Amadeus, if you are interested in doing it XML, it is pretty simple to write the data out. The XSLT could be made by someone else (that is what transforms the "data" in to something pretty). If the concensus is for XML, I'd be willing to help you write the output routine to properly form the XML data. Someone suggested using the .NET XML writer which is a good idea but would change the minimum requirements to compile and run MQ to be VS.NET or newer, eliminating VS6/VC++6 as a platform.
XML is a superset of HMTL. An example of a possible way to represent character details below.
Code: Select all
<CharInfo>
<Name>MacroFiend</Name>
<MOBClass>NPC</MOBClass>
<Stats>
<AGI>75</AGI>
<STR>110</STR>
<DEX>75</STR>
<WIS>90</WIS>
<INT>75</INT>
</Stats>
<StatModifiers>
<STR>45</STR>
<AGI>-70</AGI> <!-- I'm very overweight -->
</StatModifiers>
<Inventory>
<Bag num=0>
<Slot num=0>
<Item name="Rusty Dagger">
<ItemID>2342</ItemID>
</Item>
</Slot>
</Bag>
</Inventory>
</CharInfo>