Daily Resets Turn In!

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
woah
Posts: 44
Joined: Sat Dec 17, 2011 5:27 pm

Daily Resets Turn In!

#1 Post by woah » Mon Feb 20, 2012 6:50 pm

Daily Turn In v1.0

This code will:
Turn in your daily's.
Use a daily reset when needed.
Stop when you run out of either daily items or resets.


This is currently set up for "Poison Anteater Sac" Turn-Ins, but can be changed to a different quest.. vvv

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
changeProfileOption("TARGET_LEVELDIF_BELOW", "1")                   --To not attack a nearby mob for poison sac turn-ins.
</onload>
	<!-- #  1 --><waypoint x="-16424" z="41230" y="622">                                 --change the waypoint coordinates, must be a spot next to questgiver
			while inventory:itemTotalCount("Poison Anteater Sac") >= 10 do      --change the name of the daily item
			player:target_NPC("Allan Greenshovel");                                       --change the npc name
			AcceptQuestByName(); yrest(200);                                             --if npc has more then one quest, put the correct quest name in the ()
			sendMacro("CloseWindows();"); yrest(100);
			player:target_NPC("Allan Greenshovel");                                       --change the npc name
			CompleteQuestByName(); yrest(200);                                             --if npc has more then one quest, put the correct quest name in the ()
			sendMacro("CloseWindows();"); yrest(50);
			player:update()
			yrest(200)
local dailyQuestCount, dailyQuestsPerDay = RoMScript("Daily_count()")
if dailyQuestsPerDay - dailyQuestCount == 0 then -- out of dailies
   local reset = inventory:findItem(202434) -- "Daily Quest Ticket"
   if reset then
      reset:use()
   else
   error("Completed All Daily Resets.")
   end
end
end
error("Ran Out of Daily Items.")
	</waypoint>
</waypoints>
Have a carpal tunnel free day :D
Attachments
PoisonSacTurnIn.xml
(908 Bytes) Downloaded 159 times
Last edited by woah on Tue Feb 21, 2012 4:06 am, edited 1 time in total.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Daily Resets Turn In!

#2 Post by lisa » Mon Feb 20, 2012 8:59 pm

woah wrote:uires QuestByName
That has been integrated into the bot itself now, you can delete the userfunction =)
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

woah
Posts: 44
Joined: Sat Dec 17, 2011 5:27 pm

Re: Daily Resets Turn In!

#3 Post by woah » Tue Feb 21, 2012 4:07 am

Nice, I took that stuff out (:

bruenor9
Posts: 59
Joined: Sun Feb 05, 2012 11:42 pm

Re: Daily Resets Turn In!

#4 Post by bruenor9 » Thu May 24, 2012 5:19 pm

Anyway to integrate butterflies in here?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests