• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Profile Schema

    Discussion in 'Archives' started by nortonmi, Jan 6, 2011.

    1. nortonmi

      nortonmi New Member

      Joined:
      Sep 27, 2010
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      Is it possible to get a "schema" file for the profile creation?
       
    2. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      If you're talking something like an EBNF grammar, nae, one does not exist. I thought about creating an EBNF grammar at one point and dropping it in the Wiki, but after pondering some more, decided nobody would ever use such a thing.

      The best we can offer is to start at the documentation for <HBProfile> element (i.e., the 'root node'), and look at the "Tags allowed within this Element" section.

      I assume the rest of Honorbuddy is written similar to their CustomBehaviors that have shipped with the latest version. If that's the case, even the bot itself doesn't use normal parsing tools like FLEX/BISON/YACC.

      If you just need a sample profile to help get you started, look here...
      [wiki]Quest Order Starter Profile[/wiki]

      cheers,
      chinajade
       
    3. AlphaWolf

      AlphaWolf New Member

      Joined:
      Nov 12, 2010
      Messages:
      82
      Likes Received:
      2
      Trophy Points:
      0
      I would suspect nortonmi was refering to XML Schema Definition (XSD) given that profiles are written using XML. This is useful for validation and intellisense if using an IDE.

      -Alpha
       
    4. nortonmi

      nortonmi New Member

      Joined:
      Sep 27, 2010
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      This is correct... An XSD is what I am looking for.
      I have plenty of profiles to look at.
       
    5. axazol

      axazol New Member

      Joined:
      Jun 27, 2010
      Messages:
      308
      Likes Received:
      8
      Trophy Points:
      0
      I'm using Notepad++ wich can handle almost all formats of coding.
       
    6. AlphaWolf

      AlphaWolf New Member

      Joined:
      Nov 12, 2010
      Messages:
      82
      Likes Received:
      2
      Trophy Points:
      0
      Hi Axazol,

      I think you've misunderstood the request. Nortonmi isn't looking for an editor, he's looking for an XSD file which is an XML Schema Definition. This type of file defines "what you can do where" basically so that when you're using an editor it can validate the XML profile against the XSD but also you get the intellisense dropdowns if the editor has support which can help some people to be more productive.

      XML Schema (W3C) - Wikipedia, the free encyclopedia

      I hope that's a little clearer.

      -Alpha
       
    7. axazol

      axazol New Member

      Joined:
      Jun 27, 2010
      Messages:
      308
      Likes Received:
      8
      Trophy Points:
      0
      Oh.. my bad ^^ writed quest profile whole night... seems just need to go sleep.. =)
       
    8. nortonmi

      nortonmi New Member

      Joined:
      Sep 27, 2010
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      I am assuming there is no XSD for profiles... can someone correct me if I am wrong?
      If there is not one... it should be fairly easy to create one.
       
    9. AlphaWolf

      AlphaWolf New Member

      Joined:
      Nov 12, 2010
      Messages:
      82
      Likes Received:
      2
      Trophy Points:
      0
      As far as I'm aware no there isn't.

      -Alpha
       
    10. axazol

      axazol New Member

      Joined:
      Jun 27, 2010
      Messages:
      308
      Likes Received:
      8
      Trophy Points:
      0
      Maybe it help to start...
       

      Attached Files:

    Share This Page