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:
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>