Difference between revisions of "RoM DailyLevel1Elves"
From SolarStrike wiki
m |
|||
Line 7: | Line 7: | ||
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL"> | <?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL"> | ||
− | <!-- # 1 --><waypoint x="31845" z="4588"> | + | <!-- # 1 --> |
− | + | <waypoint x="31845" z="4588"> | |
− | + | local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()"); | |
− | + | if 10 == dailyQuestCount then | |
− | + | printf ("Du hast "..dailyQuestCount.." von " .. dailyQuestsPerDay .. " Tagesquests erledigt. STOP."); | |
− | + | error("Bot gestoppt.", 0); -- ends the script. | |
− | + | else | |
− | + | printf("Du hast "..dailyQuestCount.." von " .. dailyQuestsPerDay .. " Tagesquests erledigt, bleiben noch " .. dailyQuestsPerDay - dailyQuestCount .. " Quests."); | |
− | + | end | |
− | + | player:target_NPC("Blinsik"); | |
− | + | sendMacro("OnClick_QuestListButton(1, 2)"); yrest(750); | |
− | + | sendMacro("AcceptQuest()"); yrest(2000); | |
− | + | </waypoint> | |
<!-- # 3 --><waypoint x="31863" z="4658"> </waypoint> | <!-- # 3 --><waypoint x="31863" z="4658"> </waypoint> | ||
<!-- # 4 --><waypoint x="31835" z="4880"> </waypoint> | <!-- # 4 --><waypoint x="31835" z="4880"> </waypoint> | ||
<!-- # 5 --><waypoint x="31737" z="5127"> </waypoint> | <!-- # 5 --><waypoint x="31737" z="5127"> </waypoint> | ||
− | <!-- # 6 --><waypoint x="31419" z="5721"> | + | <!-- # 6 --> |
− | + | <waypoint x="31419" z="5721"> | |
− | + | player:target_Object("Reinigungskristall", 8000); | |
+ | </waypoint> | ||
<!-- # 7 --><waypoint x="31737" z="5127"> </waypoint> | <!-- # 7 --><waypoint x="31737" z="5127"> </waypoint> | ||
<!-- # 8 --><waypoint x="31835" z="4880"> </waypoint> | <!-- # 8 --><waypoint x="31835" z="4880"> </waypoint> | ||
<!-- # 9 --><waypoint x="31863" z="4658"> </waypoint> | <!-- # 9 --><waypoint x="31863" z="4658"> </waypoint> | ||
<!-- # 10 --><waypoint x="31854" z="4599"> </waypoint> | <!-- # 10 --><waypoint x="31854" z="4599"> </waypoint> | ||
− | <waypoint x="31845" z="4588"> | + | <!-- # 11 --> |
− | + | <waypoint x="31845" z="4588"> | |
− | + | player:target_NPC("Blinsik"); | |
− | + | sendMacro("OnClick_QuestListButton(3, 1)"); yrest(750); | |
− | + | sendMacro("CompleteQuest()"); yrest(2000); | |
+ | </waypoint> | ||
</waypoints> | </waypoints> | ||
</source> | </source> |
Revision as of 08:02, 19 October 2010
- Save this waypoint file under micromacro/scripts/rom/waypoints/dq1.xml
- Stand in front of "Blinsik"
- Execute rom/bot.lua path:dq1
- Watch your character finish up to 10 daily quests
- To translate this into english, you have to replace "Reinigungskristall" with the english word.
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<!-- # 1 -->
<waypoint x="31845" z="4588">
local dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()");
if 10 == dailyQuestCount then
printf ("Du hast "..dailyQuestCount.." von " .. dailyQuestsPerDay .. " Tagesquests erledigt. STOP.");
error("Bot gestoppt.", 0); -- ends the script.
else
printf("Du hast "..dailyQuestCount.." von " .. dailyQuestsPerDay .. " Tagesquests erledigt, bleiben noch " .. dailyQuestsPerDay - dailyQuestCount .. " Quests.");
end
player:target_NPC("Blinsik");
sendMacro("OnClick_QuestListButton(1, 2)"); yrest(750);
sendMacro("AcceptQuest()"); yrest(2000);
</waypoint>
<!-- # 3 --><waypoint x="31863" z="4658"> </waypoint>
<!-- # 4 --><waypoint x="31835" z="4880"> </waypoint>
<!-- # 5 --><waypoint x="31737" z="5127"> </waypoint>
<!-- # 6 -->
<waypoint x="31419" z="5721">
player:target_Object("Reinigungskristall", 8000);
</waypoint>
<!-- # 7 --><waypoint x="31737" z="5127"> </waypoint>
<!-- # 8 --><waypoint x="31835" z="4880"> </waypoint>
<!-- # 9 --><waypoint x="31863" z="4658"> </waypoint>
<!-- # 10 --><waypoint x="31854" z="4599"> </waypoint>
<!-- # 11 -->
<waypoint x="31845" z="4588">
player:target_NPC("Blinsik");
sendMacro("OnClick_QuestListButton(3, 1)"); yrest(750);
sendMacro("CompleteQuest()"); yrest(2000);
</waypoint>
</waypoints>