• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Own Profile won't load [Condition?!]

    Discussion in 'Archives' started by Elexarie, Jun 10, 2011.

    1. Elexarie

      Elexarie New Member

      Joined:
      Jun 5, 2011
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      Hello Comm,

      I write a Profile for NightElfs and I stuck directly in the beginning.

      My problem is this:

      Sense-Translation:

      Coud not load profile: While analyse of 'EntityName' occurs a Error. Line: 16, Position 48.

      My XML Code looks like this:

      PHP:
      <HBProfile>
          <
      NameNightElf 1-60 Questing </Name>
          <
      MinDurability20.0 </MinDurability>
          <
      MinFreeBagSlots>5</MinFreeBagSlots>
          <
      MinLevel>1</MinLevel>
          <
      MaxLevel>86</MaxLevel>
          <
      MailGrey>False</MailGrey><MailWhite>False</MailWhite>
          <
      MailGreen>True</MailGreen>
          <
      SellGrey>True</SellGrey>
          <
      SellWhite>True</SellWhite>
          <
      SellGreen>True</SellGreen>
          <
      SellBlue>False</SellBlue>
          <
      SellPurple>False</SellPurple>
          <
      QuestOrder>
              <
      Checkpoint Level "1">
              <If 
      Condition "Me.Race == WoWRace.NightElf && Me.Level <10">
                  <
      CustomBehavior File"LoadProfile" ProfileName="SubProf\1-10 NightElf"/>
              </if>
          </
      QuestOrder>
      </
      HBProfile>


      Error is at:
      PHP:
      <If Condition "Me.Race == WoWRace.NightElf && Me.Level <10">

      What might it be?!

      Thank you! :)
       
    2. vlad0327

      vlad0327 New Member

      Joined:
      Feb 4, 2011
      Messages:
      291
      Likes Received:
      10
      Trophy Points:
      0
      It should look like this:
      HTML:
      <If Condition = "Me.Race == WoWRace.NightElf &amp;&amp; Me.Level &lt; 10">
      And another thing.. You don't need either the Checkpoint or the Me.Level since they do the same thing in your case.
       
    3. Megser

      Megser Well-Known Member

      Joined:
      Apr 17, 2010
      Messages:
      1,389
      Likes Received:
      73
      Trophy Points:
      48
    4. meistermonty

      meistermonty Member

      Joined:
      Jun 6, 2010
      Messages:
      289
      Likes Received:
      1
      Trophy Points:
      18
      I am testing to write my own Questing profiles too but iam failing ... =( and Megser thx for your vid guides i will watch both tomorrow!
      I think Queting profiles are very hard to write ....
       
    5. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      You might also find this helpful...
      [wiki]HonorBuddy: Getting Started as a Profile Writer[/wiki]

      Its not hard to get the hang of writing questing profiles. You'll quickly find the hard part about questing profiles is all the testing involved, and a bit of research for each quest (what level is required, what pre-reqs, what classes/races/sexs, etc).

      Anyone can slam a questing profile together. Making them graceful requires a lot of hard work and testing.

      cheers,
      chinajade
       
    6. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      you're tellin me!
       
    7. Unknown

      Unknown Member

      Joined:
      Apr 4, 2010
      Messages:
      574
      Likes Received:
      14
      Trophy Points:
      18
      lol...I'm just a little noob in terms of starting to write questing profiles, and believe me, I have so much more respect for those of you who have been suppling the community with profiles...I really didn't realise there was so much involved! I am finding it rewarding tho, just giving a little back to the community that I myself take from is a reward in itself...and lets face it, who doesn't like it when someone uses your profile and thanks you for it :)

      for anyone starting out, I can't stress enough how usefull and informative the Wiki is...you'll learn a massive amount by reading and copy / pasting the examples on there...I did anyway :)
       
    8. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      here, use this as a basis for a lot of the common profile behaviors

      Hint: it's not blank! :D
       

      Attached Files:

    9. Unknown

      Unknown Member

      Joined:
      Apr 4, 2010
      Messages:
      574
      Likes Received:
      14
      Trophy Points:
      18
      OOh, thanks for that!!! <3
       

    Share This Page