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

Checkpoint Error.

Megser

Well-Known Member
Joined
Apr 17, 2010
Messages
1,389
Reaction score
73
Hello peeps.


Me here with another error that doesn't make sense to me. Looked at other profiles who use "Checkpoints" and I'm doing the exact same but it just WONT WORK.

I get:

Could not load profile: The start tag Checkpoint on row 122 does not match the end tag for QuestOrder. Row 207, position 7.


Cmon. Seriously.

Thanks for any help.
PHP:
SetGrindArea>
      <GrindArea>
        <TargetMinLevel>3</TargetMinLevel>
        <TargetMaxLevel>4</TargetMaxLevel>
	<Factions>189</Factions>
       <Hotspots>
    		<Hotspot X="-3388.907" Y="-249.1891" Z="60.7123" />
  	</Hotspots>
      </GrindArea>
    </SetGrindArea>
<GrindTo Level="5" />
<Checkpoint Level="5">

<CustomBehavior File="ForceSetVendor" VendorType="Train" />
<CustomBehavior File="WaitTimer" WaitTime="1000"/>

       <PickUp QuestName="Rite of Honor" QuestId="14460" GiverName="Adana Thunderhorn" GiverId="36694" />
                     <Objective QuestName="Rite of Honor" QuestId="14460" Type="CollectItem" ItemId="50473" CollectCount="1" />
               <TurnIn QuestName="Rite of Honor" QuestId="14460" TurnInName="Chief Hawkwind" TurnInId="2981" />
       
       <PickUp QuestName="Last Rites, First Rites" QuestId="24861" GiverName="Chief Hawkwind" GiverId="2981" />
               <If Condition="((HasQuest(24861)) &amp;&amp; (!IsQuestCompleted(24861)))" >
                     <UseItem ItemId="50465" QuestName="Last Rites, First Rites" QuestId="24861" X="-2907.939" Y="-254.3848" Z="59.73428" />
             </If>
               <TurnIn QuestName="Last Rites, First Rites" QuestId="24861" TurnInName="Chief Hawkwind" TurnInId="2981" />
       <PickUp QuestName="Rites of the Earthmother" QuestId="23733" GiverName="Chief Hawkwind" GiverId="2981" />

<If Condition="Me.Class == WoWClass.Hunter">
		<TurnIn QuestName="Etched Note" QuestId="3092" TurnInName="Harutt Thunderhorn" TurnInId="3059" />
                <PickUp QuestName="The Hunter's Path" QuestId="27021" GiverName="Lanka Farshot" GiverId="3061" />

<If Condition="!HasSpell(56641)">
			<CustomBehavior File="ForceSetVendor" QuestId="27021" VendorType="Train" />
                        <CustomBehavior File="WaitTimer" WaitTime="1000"/>
		</If>

		<CustomBehavior File="CastSpellOn" QuestId="27021" SpellId="56641" MobId="44848" NumOfTimes="5" HpLeftAmount="100" MinRange="7" X="-2869.347" Y="-249.1271" Z="59.95384" />
		<TurnIn QuestName="The Hunter's Path" QuestId="27021" TurnInName="Lanka Farshot" TurnInId="3061" />
                
	<ElseIf Condition="Me.Class == WoWClass.Paladin">
		<TurnIn QuestName="Consecrated Note" QuestId="27015" TurnInName="Sunwalker Helaku" TurnInId="37737" />
                 <PickUp QuestName="The Way of the Sunwalkers" QuestId="27023" GiverName="Sunwalker Helaku" GiverId="37737" />

<If Condition="!HasSpell(20271)">
			<CustomBehavior File="ForceSetVendor" QuestId="27020" VendorType="Train" />
		</If>

		<CustomBehavior File="CastSpellOn" QuestId="27015" SpellId="20271" MobId="44848" NumOfTimes="1" HpLeftAmount="100" MinRange="8" X="-2869.347" Y="-249.1271" Z="59.95384" />
		<TurnIn QuestName="The Way of the Sunwalkers" QuestId="27023" TurnInName="Sunwalker Helaku" TurnInId="37737" />
	</ElseIf>

	<ElseIf Condition="Me.Class == WoWClass.Priest">
		<TurnIn QuestName="Hallowed Note" QuestId="27014" TurnInName="Seer Ravenfeather" TurnInId="37724" />
                <PickUp QuestName="Healing in a Flash" QuestId="27066" GiverName="Seer Ravenfeather" GiverId="37724" />

<If Condition="!HasSpell(2061)">
			<CustomBehavior File="ForceSetVendor" QuestId="27066" VendorType="Train" />
		</If>

		<CustomBehavior File="CastSpellOn" QuestId="27066" SpellId="2061" MobId="45199" NumOfTimes="5" HpLeftAmount="100" MinRange="8" X="-2880.177" Y="-225.9676" Z="61.34525" />
		<TurnIn QuestName="Healing in a Flash" QuestId="27066" TurnInName="Seer Ravenfeather" TurnInId="37724" />
	</ElseIf>

	<ElseIf Condition="Me.Class == WoWClass.Warrior">
		<TurnIn QuestName="Simple Note" QuestId="3091" TurnInName="Harutt Thunderhorn" TurnInId="3059" />
                <PickUp QuestName="The First Lesson" QuestId="27020" GiverName="Harutt Thunderhorn" GiverId="3059" />
                <RunTo X="-2871.837" Y="-248.5042" Z="60.14921" />
<If Condition="!HasSpell(100)">
			<CustomBehavior File="ForceSetVendor" QuestId="27020" VendorType="Train" />
		</If>
		<CustomBehavior File="CastSpellOn" QuestId="27020" SpellId="100" MobId="44848" NumOfTimes="1" HpLeftAmount="100" MinRange="8" X="-2869.347" Y="-249.1271" Z="59.95384" />
		<TurnIn QuestName="The First Lesson" QuestId="27020" TurnInName="Harutt Thunderhorn" TurnInId="3059" />

	</ElseIf>

	<ElseIf Condition="Me.Class == WoWClass.Druid">
                <TurnIn QuestName="Verdant Note" QuestId="3094" TurnInName="Gart Mistrunner" TurnInId="3060" />
                <PickUp QuestName="Rejuvenating Touch" QuestId="27067" GiverName="Gart Mistrunner" GiverId="3060" />

<If Condition="!HasSpell(2061)">
			<CustomBehavior File="ForceSetVendor" QuestId="27066" VendorType="Train" />
		</If>
		<CustomBehavior File="CastSpellOn" QuestId="27066" SpellId="774" MobId="45199" NumOfTimes="1" HpLeftAmount="100" MinRange="8" />
		<TurnIn QuestName="Rejuvenating Touch" QuestId="27067" TurnInName="Gart Mistrunner" TurnInId="3060" />
	</ElseIf>

	<ElseIf Condition="Me.Class == WoWClass.Shaman">
		<TurnIn QuestName="Rune-Inscribed Note" QuestId="3093" TurnInName="Meela Dawnstrider" TurnInId="3062" />
                <PickUp QuestName="Primal Strike" QuestId="27027" GiverName="Meela Dawnstrider" GiverId="3062" />

<If Condition="!HasSpell(73899)">
			<CustomBehavior File="ForceSetVendor" QuestId="27027" VendorType="Train" />
		</If>

		<CustomBehavior File="CastSpellOn" QuestId="27066" SpellId="774" MobId="44848" NumOfTimes="3" HpLeftAmount="100" MinRange="1" X="-2880.177" Y="-225.9676" Z="61.34525" />
		<TurnIn QuestName="Primal Strike" QuestId="27027" TurnInName="Meela Dawnstrider" TurnInId="3062" />
	</ElseIf>
                </If>
    </QuestOrder>
   </HBProfile>
 
The problem is, you are missing a / sign, correct syntax:
HTML:
<Checkpoint Level="5" />
else it will look for a </Checkpoint> tag, which will make it throw an error.
 
Thanks Vlad, but it just didn't make it in the PHP code, it's in the profile.

That should probably fix it, thanks SO MUCH Shakazara! THANKS EVERYONE.
 
Back
Top