Page 1 of 1

DAILY QUEST HELP

Posted: Wed Feb 24, 2010 9:40 am
by lamboii
When i run my daily script

Code: Select all

<waypoints>
	<!-- #  1 --><waypoint x="-3711" z="-8541"> </waypoint> --Bullettin
         player:rest(1.2)
         keyboardHold(key.VK_SHIFT); --hold shift to target through people
		player:mouseclickL(256, 293, 1024, 753);
                player:mouseclickL(256, 293, 1024, 753);
                player:rest(.8)
      sendMacro("OnClick_QuestListButton(1,2);"); 
  player:rest(.5)
      sendMacro("AcceptQuest();");
      player:rest(.2);

</waypoint>
	<!-- #  2 --><waypoint x="-3698" z="-8652">		
  player:rest(1.2)
player:target_NPC("Leighton");
 player:rest(1);
sendMacro("CompleteQuest();");
player:rest(.2)
        player.free_counter1 = player.free_counter1 + 1;
         if(player.free_counter1 == 10) then
           player:sleep();
end;
	</waypoint>
</waypoints>


it comes up with this error in the bot


Thu Feb 25 01:37:10 2010 : .../Desktop/293058/scripts/rom/classes/waypointlist.lua:21: XML Parse Error.
File: ...am/Desktop/293058/scripts/rom/waypoints/bulliten.xml
Line: 13
Column: 3
Pos: 445
Message: mismatched tag
Thu Feb 25 01:37:10 2010 : Execution error: Runtime error

what have i done wrong.

Re: DAILY QUEST HELP

Posted: Wed Feb 24, 2010 3:30 pm
by darknero
second line:
<!-- # 1 --><waypoint x="-3711" z="-8541"> </waypoint> --Bullettin
change to
<!-- # 1 --><waypoint x="-3711" z="-8541">--Bullettin

the </waypoint>-tag is double