Waypoint or userfunction for daily level 90 in salioca

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
Nadanthiel
Posts: 10
Joined: Thu Jul 03, 2014 10:39 am

Waypoint or userfunction for daily level 90 in salioca

#1 Post by Nadanthiel » Wed Feb 25, 2015 9:30 am

Someone have a waypoint or other to do dailies in new map level 90, Salioca?

Please! thanks!

User avatar
Rintintin
Posts: 55
Joined: Tue Jan 01, 2013 7:45 am
Location: Germany

Re: Waypoint or userfunction for daily level 90 in salioca

#2 Post by Rintintin » Tue Mar 24, 2015 3:57 pm

This is my Waypoint for the Quest for Healing/treating the Mushrooms.
That takes approx. 2-3min per Day.

But riding to the quest is very annoying.
Coords: 72 / 37
Attachments
Walu-Pilzzucht.xml
V1.0
(2.21 KiB) Downloaded 267 times

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Waypoint or userfunction for daily level 90 in salioca

#3 Post by rock5 » Tue Mar 24, 2015 5:48 pm

You could just use TravelTo userfunction to get there automatically.

Hm... which reminds me. I need to update TravelTo with the new zone. Looks like I can't get to it. Do you have to do the quest chain to get there? Can someone get the info for me? I need the following.
  • - The ID of the Salioca Basin Snoop (Use getid.lua)
    - The coordinates of the Salioca Basin Snoop (Use getpos.lua)
    - Whether Wailing Fjord Snoop links to it and what name is displayed.
    - Whether Hortek Snoop links to it and what name is displayed.
    - What links are displayed in the Salioca Basin Snoop dialog.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
sauhard
Posts: 130
Joined: Wed Mar 05, 2014 10:30 am

Re: Waypoint or userfunction for daily level 90 in salioca

#4 Post by sauhard » Mon Apr 13, 2015 2:51 am

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
	time = os.time();		-- Startingtime of Waypoint
	questItemId 	= 209974;	-- WaluPilz
	batchieGras 	= 209975;		
	questGiverId 	= 123217; -- Gulali;
	questid 		= 426848;
	buffid			= 625116;
	questName 		= GetIdName(questid);
	questtype 		= "daily"; -- "public" or "daily";
	
	if not player:hasBuff(622537) then
		cprintf (cli.pink,"Pet for morer XP/TP not summoned. Continue?\n");
		player:sleep();
	end

	
	__WPL:setForcedWaypointType("TRAVEL")	
	
	pilztable = {}
	local objectList = CObjectList();
	objectList:update();
	local objSize = objectList:size()
	for i = 0,objSize do 
		obj = objectList:getObject(i)
		obj:update();
		if obj.Id == 123218 then
			table.insert(pilztable,obj)
		end
	end
	
	function questsDone()
		local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()");
		if (dailyQuestCount==dailyQuestsPerDay) then
			return true;
		else 
			cprintf(cli.pink,"Noch %s Dailys uebrig\n",dailyQuestsPerDay-dailyQuestCount);
			return false;
		end
	end	
	
function pilzeSammeln() 

		if inventory:itemTotalCount(batchieGras) == 0 then
			print ("Kein BatchieGrass - Quest neu annehmen!");
--			player:sleep();
			return false;
		end
	
		repeat 
			for k,v in pairs(pilztable) do 
				player:target(v)
				target = player:getTarget();
				if target:hasBuff("Insektenbiss") then
					inventory:useItem(GetIdName(batchieGras));
				end
			end
		until  getQuestStatus(GetIdName(questid)) == "complete" 

end
	

</onload>
	<!-- #  1 --><waypoint x="22116" z="25905" y="853" tag="questGiver">
		player:target_NPC(questGiverId) -- Koka Li
		if getQuestStatus(questName) == "complete" then
			CompleteQuestByName(questName);
			yrest(150);
			__WPL:setWaypointIndex(__WPL:findWaypointTag("questGiver"));
		else
			AcceptQuestByName(questName,questtype) 
		end
			
		if (questsDone() and questtype == "daily") or keyPressed(key.VK_SHIFT)  then
			cprintf (cli.pink,"Time spend for this daily: %s Minutes\n",(os.time()-time)/60);
			sendMacro("Logout();");
			error("TQ done.",0);
			
		end
	</waypoint>

<!-- #  2 --><waypoint x="22116" z="25905" y="855" tag="feld">pilzeSammeln();</waypoint>	
</waypoints>

How do we add a daily quest reset option in it? Like if i wanna spam dqt standing there all day long ? :P
Satisfaction is the end of desire!!

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Waypoint or userfunction for daily level 90 in salioca

#5 Post by rock5 » Mon Apr 13, 2015 8:43 am

Please use the Code button for code instead of Quote. I've changed it for you.

If you do a search on the forum for "daily reset" you should find lots of examples.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

User avatar
Rintintin
Posts: 55
Joined: Tue Jan 01, 2013 7:45 am
Location: Germany

Re: Waypoint or userfunction for daily level 90 in salioca

#6 Post by Rintintin » Tue Apr 14, 2015 2:30 pm

I created a waypoint which brings you from Sturopur to the regarding Daily.
When the char arrives the destination, it'll start the daily automatically.

It uses the userfunction "useGoodie" in the onLoad Section. See http://www.solarstrike.net/phpBB3/viewt ... =usegoodie for more details.


Please note:
You probably want to adjust the path to the files within the waypoint.

Line 168:

Code: Select all

loadPaths("tqs/Walu-Pilzzucht");
Attachments
weg_waldpilzTQ.xml
(9.96 KiB) Downloaded 176 times

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest