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

Order bot profile XSD

zamsel

New Member
Joined
Mar 21, 2015
Messages
4
Reaction score
1
I've been looking to get into learning how to author my own order bot profiles for some time but haven't had the time to scour these forums for guides to get me started. I figured the best way to get started is to jump in the deep end, decompile RebornBuddy.exe, reference object explorer, and look at some examples like the fantastic "All-in-one" profile that is kicking around. While I haven't wrote a single line of my own profile just yet, I did my best to come up with a very rough draft of an XML XSD file describing all order bot elements.

What this will enable (for me and anyone interested) is the ability for XML editors like Visual Studio or Oxygen Xml Developer to display intelligent suggestions while working on a profile. While it is certainly not perfect right now, and in some places might even be completely wrong, it is going to help me write some profiles of my own just a little easier. I hope it makes things easier for anyone interested.

This XSD was authored manually, so I apologize for glaring errors. I had considered using XSD.exe to generate the schema for me based on the RebornBuddy executable but it would have ended up being a clustered mess and ultimately untenable.

The latest copy of this XSD (Order.xsd) can be pulled from my GitHub project: https://github.com/zmsl/ZmslBuddy under /Profiles/Schema
 
Last edited:
In case anyone isn't familiar with this type of thing, I snapped a few pictures that show how to use the XSD file in Visual Studio and what it does for you.

Install step 1: Open / create profile and select XML > Schemas...
8hJmvm0.png


Install step 2: Add the XSD file to the schemas dialog that pops up
QGRX3Ka.png


Most (if not all) default RBB tags have been added to the schema file and will be shown by Visual Studio. This includes both the Order tag as well as complex tag nodes that contain tags of their own (e.g. While, If, etc)
C6H79Kz.png


Validation of attributes, casing, types, and formats are shown here
Ju3j9za.png
 
Nice! This should certainly be useful for a lot of people. Very good job.
 
Back
Top