Page 5 of 5
Re: [Daily & Public Event] Extinguish More Flames
Posted: Fri Nov 27, 2015 6:43 am
by zargophian
evilband7 wrote:new zone quest (Ancient Kingdom of Rorazan)
Daily quest info: Extinguish More Flames >> runesdatabase.com/quest/425186/extinguish-more-flames
Public event quest info info: Extinguish More Flames >> runesdatabase.com/quest/425182/extinguish-more-flames
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-21533" z="-22929" y="597" type="TRAVEL">
player:target_NPC("Diandon");
CompleteQuestByName("Extinguish More Flames");
yrest(500);
player:target_NPC("Diandon");
AcceptQuestByName("Extinguish More Flames");
yrest(500);
__WPL:setDirection(WPT_FORWARD);
</waypoint>
<!-- # 2 --><waypoint x="-21680" z="-23204" y="594" type="TRAVEL">
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
queststate = getQuestStatus("Extinguish More Flames");
if queststate == "incomplete" then
__WPL:setDirection(WPT_FORWARD);
else
__WPL:setDirection(WPT_BACKWARD);
end
else
__WPL:setDirection(WPT_BACKWARD);
end
</waypoint>
<!-- # 3 --><waypoint x="-21739" z="-23072" y="597" type="TRAVEL">
yrest(500);player:target_Object("Strange Flame Seedling");yrest(1000);
__WPL:setDirection(WPT_BACKWARD);
</waypoint>
</waypoints>
How do I add the daily reset tickets to this script. Thank you.
Re: [Daily & Public Event] Extinguish More Flames
Posted: Thu Dec 03, 2015 1:33 pm
by beanybabe
You need to make a path that is safe to the housegirl and add that to the script.
Re: [Daily & Public Event] Extinguish More Flames
Posted: Thu Dec 03, 2015 8:36 pm
by lisa
he wants to use reset tickets, not change class.
Ok so you want to add code after completing the quest to check if all 10 dailies are done and also check if you have any reset tickets, if both cases true then use a reset ticket.
Code: Select all
player:target_NPC("Diandon");
CompleteQuestByName("Extinguish More Flames");
yrest(500);
-- add code here to use resets
player:target_NPC("Diandon");
AcceptQuestByName("Extinguish More Flames");
There are already quite a few waypoints posted already that have the code for using resets, I mean hundreds of them.
Code: Select all
local dqCount = RoMScript("Daily_count()");
yrest(1000)
if dqCount == 10 then
if inventory:itemTotalCount(202434) >= 1 then
inventory:useItem(202434);
yrest(1000)
else
printf("No Daily Reset Cards left!\n")
player:sleep();
end
end
Re: [Daily & Public Event] Extinguish More Flames
Posted: Fri Dec 04, 2015 3:41 am
by beanybabe
somewhere there was a wp that used tickets for this one. Its been a while since i seen it.
Re: [Daily & Public Event] Extinguish More Flames
Posted: Fri Dec 04, 2015 4:00 am
by beanybabe
I was still working on this waypoint. I wanted to add code so it moved to different flame if someone was at the current one. I put in the ticket code but did not test it.