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.
-
zargophian
- Posts: 4
- Joined: Thu Nov 26, 2015 3:52 pm
#81
Post
by zargophian » Fri Nov 27, 2015 6:43 am
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.
-
beanybabe
- Posts: 647
- Joined: Wed Mar 06, 2013 1:27 am
#82
Post
by beanybabe » Thu Dec 03, 2015 1:33 pm
You need to make a path that is safe to the housegirl and add that to the script.
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#83
Post
by lisa » Thu Dec 03, 2015 8:36 pm
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
-
beanybabe
- Posts: 647
- Joined: Wed Mar 06, 2013 1:27 am
#84
Post
by beanybabe » Fri Dec 04, 2015 3:41 am
somewhere there was a wp that used tickets for this one. Its been a while since i seen it.
-
beanybabe
- Posts: 647
- Joined: Wed Mar 06, 2013 1:27 am
#85
Post
by beanybabe » Fri Dec 04, 2015 4:00 am
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.
-
Attachments
-
- Function Daily_Flameseed 4_2 tkt mod.xml
- (1.17 KiB) Downloaded 186 times
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests