Splitwater Coast Daily: Hired Hands

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
User avatar
Aron009
Posts: 16
Joined: Fri Jan 09, 2015 8:09 am

Splitwater Coast Daily: Hired Hands

#1 Post by Aron009 » Mon Feb 15, 2016 9:50 am

The file has been updated!

Hi, I made this script since the Heal Wounds Daily is bugged on my server and the Rennovation Work Daily requires completion of a substantial portion of the main quest line.

It has one problem that needs resolving however, the bot fails at the last stage when the delivery cart has to be clicked. I get the following message:
Capture.JPG
The problematic section of the code:

Code: Select all

</waypoint>
	<!-- # 16 --><waypoint x="-10091" z="-13357" y="373">
			player:target_Object(123695) -- Heavy Food Bundle
	</waypoint>
	<!-- # 17 --><waypoint x="-10106" z="-13338" y="373" tag="Loop">
			player:target_Object(123757) -- Delivery Cart
				yrest(300)
			player:target_Object(123757) -- Delivery Cart
				yrest(300)
			player:target_Object(123757) -- Delivery Cart
				yrest(300)
			player:target_Object(123757) -- Delivery Cart
				yrest(300)
			player:target_Object(123757) -- Delivery Cart
				yrest(300)
			player:target_Object(123757) -- Delivery Cart
				yrest(300)
			player:target_Object(123757) -- Delivery Cart
				yrest(300)
			player:target_Object(123757) -- Delivery Cart
				yrest(300)
	if queststate == "complete" then
			player:target_NPC(123670) -- Carlie
			CompleteQuestByName(427164) -- Hired Hands
		else
	__WPL:setWaypointIndex(__WPL:findWaypointTag("Loop"))
				local dqCount, dqPerDay = RoMScript("Daily_count()");
					if dqCount == 10 then
					player:sleep();
			
	</waypoint>
</waypoints>
Attachments
D94c.xml
(2.46 KiB) Downloaded 149 times
Last edited by Aron009 on Tue Feb 16, 2016 8:26 am, edited 2 times in total.

User avatar
ThulsaDoom
Posts: 125
Joined: Mon Oct 19, 2015 2:46 pm

Re: Splitwater Coast Daily: Hired Hands

#2 Post by ThulsaDoom » Mon Feb 15, 2016 11:19 am

Dear;

You need to close the "if" with "end".

Code: Select all

if queststate == "complete" then
         player:target_NPC(123670) -- Carlie
         CompleteQuestByName(427164) -- Hired Hands
      else
  		 __WPL:setWaypointIndex(__WPL:findWaypointTag("Loop"))
           	 local dqCount, dqPerDay = RoMScript("Daily_count()");
               		if dqCount == 10 then
               			player:sleep();
         			end
end
Not tested yet. Is the first approach.

User avatar
Aron009
Posts: 16
Joined: Fri Jan 09, 2015 8:09 am

Re: Splitwater Coast Daily: Hired Hands

#3 Post by Aron009 » Mon Feb 15, 2016 11:41 am

Crap. Yes that would be it. I was so focused on the Delivery Cart I forgot to check for other mistakes!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests