-
Questionmark
- Posts: 31
- Joined: Mon Apr 11, 2011 3:06 am
#1
Post
by Questionmark » Sat Jul 16, 2011 5:28 am
The dailyquest "If I Persevere" gives the best XP for level 62+. Therefore I tried to make a waypint file for it. For some reason I do get an error, but I can't figure out why.
Error
Code: Select all
12:15am - scripts\rom/bot.lua:766: Failed to compile and run Lua code for waypoint #7
Waypoint file
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="RUN">
<onLoad>
changeProfileOption("MAX_TARGET_DIST", 100);
changeProfileOption("WAYPOINT_DEVIATION", 0);
changeProfileOption("QUICK_TURN", true);
</onLoad>
<!-- # 1 --><waypoint x="-6757" z="43435" y="545">
local dailyQuestCount, dailyQuestsPerDay = RoMScript("Daily_count()");
if (dailyQuestsPerDay > dailyQuestCount) then
player:target_NPC("Michelle Kudd");
AcceptQuestByName("If I Persevere");
else
error("Bot finished", 0);
end
</waypoint>
<!-- # 2 --><waypoint x="-6778" z="43497" y="546"> </waypoint>
<!-- # 3 --><waypoint x="-6830" z="43564" y="545"> </waypoint>
<!-- # 4 --><waypoint x="-7040" z="43757" y="568"> </waypoint>
<!-- # 5 --><waypoint x="-7199" z="43908" y="565"> </waypoint>
<!-- # 6 --><waypoint x="-7319" z="43983" y="573">
if (inventory:itemTotalCount(208548) => 5)
__WPL:setWaypointIndex(__WPL:findWaypointTag("Move to EWP"));
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("Get more WFM"));
end
</waypoint>
<!-- # 7 --><waypoint x="-7396" z="44031" y="588" type="NORMAL" tag="Get more WFM"> </waypoint>
<!-- # 8 --><waypoint x="-7486" z="44182" y="589" type="NORMAL"> </waypoint>
<!-- # 9 --><waypoint x="-7391" z="44432" y="589" type="NORMAL"> </waypoint>
<!-- # 10 --><waypoint x="-7437" z="44704" y="589" type="NORMAL"> </waypoint>
<!-- # 11 --><waypoint x="-7446" z="44801" y="593" type="NORMAL"> </waypoint>
<!-- # 12 --><waypoint x="-7413" z="44815" y="597" type="NORMAL"> </waypoint>
<!-- # 13 --><waypoint x="-7347" z="44832" y="599" type="NORMAL"> </waypoint>
<!-- # 14 --><waypoint x="-7236" z="44843" y="589" type="NORMAL"> </waypoint>
<!-- # 15 --><waypoint x="-7072" z="44882" y="593" type="NORMAL"> </waypoint>
<!-- # 16 --><waypoint x="-7201" z="44772" y="589" type="NORMAL"> </waypoint>
<!-- # 17 --><waypoint x="-7123" z="44618" y="589" type="NORMAL"> </waypoint>
<!-- # 18 --><waypoint x="-7051" z="44427" y="589" type="NORMAL"> </waypoint>
<!-- # 19 --><waypoint x="-7007" z="44307" y="589" type="NORMAL"> </waypoint>
<!-- # 20 --><waypoint x="-7048" z="44228" y="589" type="NORMAL"> </waypoint>
<!-- # 21 --><waypoint x="-7140" z="44154" y="589" type="NORMAL"> </waypoint>
<!-- # 22 --><waypoint x="-7261" z="44059" y="587" type="NORMAL"> </waypoint>
<!-- # 23 --><waypoint x="-7507" z="43941" y="564" tag="Move to EWP"> </waypoint>
<!-- # 24 --><waypoint x="-7885" z="44154" y="619"> </waypoint>
<!-- # 25 --><waypoint x="-8091" z="44278" y="620"> </waypoint>
<!-- # 26 --><waypoint x="-8258" z="44278" y="620"> </waypoint>
<!-- # 27 --><waypoint x="-8377" z="44217" y="620"> </waypoint>
<!-- # 28 --><waypoint x="-8512" z="44132" y="620"> </waypoint>
<!-- # 29 --><waypoint x="-8533" z="43958" y="592"> </waypoint>
<!-- # 30 --><waypoint x="-8504" z="43769" y="531"> </waypoint>
<!-- # 31 --><waypoint x="-8440" z="43627" y="479"> </waypoint>
<!-- # 32 --><waypoint x="-8416" z="43506" y="442" tag="Get more EWP"> </waypoint>
<!-- # 33 --><waypoint x="-8311" z="43427" y="413"> </waypoint>
<!-- # 34 --><waypoint x="-8209" z="43456" y="377">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 35 --><waypoint x="-8090" z="43434" y="379">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 36 --><waypoint x="-8118" z="43276" y="386"> </waypoint>
<!-- # 37 --><waypoint x="-8190" z="43239" y="377">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 38 --><waypoint x="-8284" z="43115" y="377">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 39 --><waypoint x="-8202" z="43033" y="379"> </waypoint>
<!-- # 40 --><waypoint x="-8223" z="42981" y="379">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 41 --><waypoint x="-8346" z="42936" y="380">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 42 --><waypoint x="-8536" z="42851" y="377">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 43 --><waypoint x="-8484" z="42638" y="379">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 44 --><waypoint x="-8735" z="42725" y="379">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 45 --><waypoint x="-9133" z="42695" y="381"> </waypoint>
<!-- # 46 --><waypoint x="-9137" z="42828" y="379"> </waypoint>
<!-- # 47 --><waypoint x="-8898" z="42965" y="379">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 48 --><waypoint x="-8901" z="43219" y="377">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 49 --><waypoint x="-8779" z="43371" y="377">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 50 --><waypoint x="-8584" z="43212" y="384">
player:target_Object("Edible Wild Plant",5000);
</waypoint>
<!-- # 51 --><waypoint x="-8489" z="43211" y="385"> </waypoint>
<!-- # 52 --><waypoint x="-8451" z="43323" y="406">
if (inventory:itemTotalCount(208547) == 10)
__WPL:setWaypointIndex(__WPL:findWaypointTag("Move to questgiver"));
else
__WPL:setWaypointIndex(__WPL:findWaypointTag("Get more EWP"));
end
</waypoint>
<!-- # 53 --><waypoint x="-8465" z="43671" y="499" tag="Move to questgiver"> </waypoint>
<!-- # 54 --><waypoint x="-8497" z="43778" y="533"> </waypoint>
<!-- # 55 --><waypoint x="-8533" z="43969" y="595"> </waypoint>
<!-- # 56 --><waypoint x="-8526" z="44112" y="619"> </waypoint>
<!-- # 57 --><waypoint x="-8406" z="44211" y="620"> </waypoint>
<!-- # 58 --><waypoint x="-8271" z="44270" y="620"> </waypoint>
<!-- # 59 --><waypoint x="-8083" z="44274" y="620"> </waypoint>
<!-- # 60 --><waypoint x="-7885" z="44136" y="618"> </waypoint>
<!-- # 61 --><waypoint x="-7515" z="43940" y="564"> </waypoint>
<!-- # 62 --><waypoint x="-7297" z="43955" y="569"> </waypoint>
<!-- # 63 --><waypoint x="-7198" z="43908" y="565"> </waypoint>
<!-- # 64 --><waypoint x="-7038" z="43758" y="568"> </waypoint>
<!-- # 65 --><waypoint x="-6821" z="43556" y="546"> </waypoint>
<!-- # 66 --><waypoint x="-6758" z="43452" y="545"> </waypoint>
<!-- # 67 --><waypoint x="-6757" z="43435" y="545">
player:target_NPC("Michelle Kudd");
CompleteQuestByName("If I Persevere");
</waypoint>
</waypoints>
-
Attachments
-
- l64-65_lom-poss-dq.xml
- This is the current version with changes from Kanta, Rock5 and myself.
- (5.89 KiB) Downloaded 340 times
Last edited by
Questionmark on Sun Jul 17, 2011 7:29 am, edited 1 time in total.
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#2
Post
by lisa » Sat Jul 16, 2011 7:39 am
Code: Select all
if (inventory:itemTotalCount(208548) => 5)
try >=
Code: Select all
if (inventory:itemTotalCount(208548) >= 5)
-
MiesterMan
- Posts: 543
- Joined: Tue Jul 06, 2010 9:15 pm
- Location: Between the Second and Third Circles of Hell
#3
Post
by MiesterMan » Sat Jul 16, 2011 10:16 am
How much exp do you get for this?
It sounds familiar but for some reason it I have an image of 200k exp in my head.
I heard somewhere there's a lvl 62+ daily that gives more exp than the lvl 50 266k ones (though with the exp bonus from bag quests you get 319k exp per quest with those so it's hard to believe). Is this that one?
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#4
Post
by rock5 » Sat Jul 16, 2011 11:28 am
lisa wrote:try >=
Code: Select all
if (inventory:itemTotalCount(208548) >= 5)
Also, there is no "then" on that line.
Code: Select all
if (inventory:itemTotalCount(208548) >= 5) then
http://www.runesdatabase.com reports 290693 xp. That's pretty good. How much harder is it to do though? How much longer will it take than the 266k ones?
- 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.”
-
Questionmark
- Posts: 31
- Joined: Mon Apr 11, 2011 3:06 am
#5
Post
by Questionmark » Sat Jul 16, 2011 2:23 pm
Oh yes, I was missing the "then". How sloppy...
This quest is pretty good. The foxes are easy and there are more than enough flowers. I think it's a bit slower than the Butterflies, but the 290k are worth it in my opinion. Besides that, the area is closer to Redhill Mountains and that saves me Transport Runes.
-
MiesterMan
- Posts: 543
- Joined: Tue Jul 06, 2010 9:15 pm
- Location: Between the Second and Third Circles of Hell
#6
Post
by MiesterMan » Sat Jul 16, 2011 5:17 pm
That's awsome. I'll give this a go when I get a chance.
-
kanta
- Posts: 424
- Joined: Thu Nov 11, 2010 4:08 pm
#7
Post
by kanta » Sat Jul 16, 2011 6:37 pm
Good work. I made an adjustment though. I put in a check at the gather points to see if there's already been 10 plants collected so it doesn't stand there trying to gather when it doesn't need to.
Code: Select all
<onLoad>
changeProfileOption("MAX_TARGET_DIST", 100);
changeProfileOption("WAYPOINT_DEVIATION", 0);
changeProfileOption("QUICK_TURN", true);
function getewp()
if (inventory:itemTotalCount(208547) ~= 10) then
player:target_Object("Edible Wild Plant",5000);
end
end
</onLoad>
Then for gather waypoints 34 through 50 I do
Code: Select all
<!-- # 34 --><waypoint x="-8209" z="43456" y="377">
getewp();
</waypoint>
You could just put the code to check at each waypoint, my method just keeps the file a little cleaner.
**UPDATE**
I've also changed the following code because it would occasionally not pick the quest up before continuing
Code: Select all
<!-- # 1 --><waypoint x="-6757" z="43435" y="545">
local dailyQuestCount, dailyQuestsPerDay = RoMScript("Daily_count()");
if (dailyQuestsPerDay > dailyQuestCount) then
repeat player:target_NPC("Michelle Kudd");
AcceptQuestByName("If I Persevere");
until getQuestStatus( "If I Persevere" ) == "incomplete"
else
error("Bot finished", 0);
end
</waypoint>
Scout/Knight/Rogue 70/66/66
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#8
Post
by rock5 » Sun Jul 17, 2011 1:07 am
They are good changes but I would use the item id instead of the name so that it will work in different languages.
Code: Select all
player:target_Object(117035,5000); -- "Edible Wild Plant"
Also I would use IDs for the npc and quest name so it can be used in other languages, similar to what I did in my egg script. I'd add the following to the onload section
Code: Select all
questname = GetIdName(423722) -- "If I Persevere"
npcname = GetIdName(116530) -- "Michelle Kudd"
And use those variables when targeting the npc and aceepting and completing the quest.
Also I would merge the first and last waypoint as they are the same location.
Code: Select all
<!-- # 1 --><waypoint x="-6757" z="43435" y="545">
player:target_NPC(npcname);
CompleteQuestByName(questname);
local dailyQuestCount, dailyQuestsPerDay = RoMScript("Daily_count()");
if (dailyQuestsPerDay > dailyQuestCount) then
repeat
player:target_NPC(npcname);
AcceptQuestByName(questname);
until getQuestStatus(questname) == "incomplete"
else
error("Bot finished", 0);
end
</waypoint>
Now that I've made these changes I'll try it out today.
- 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.”
-
Questionmark
- Posts: 31
- Joined: Mon Apr 11, 2011 3:06 am
#9
Post
by Questionmark » Sun Jul 17, 2011 7:26 am
Thanks Kanta and Rock, with your help the script is working a more efficient now.
I've edited waypoint #22. I removed...
because the script would try to attack the Grafu Soldier near the fence, but it couldn't because of the fence.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#10
Post
by rock5 » Sun Jul 17, 2011 10:57 am
Finally went and found Michelle Kudd but no quests. Is there a pre quest requirement?
There can't be because I've done most of the quests here. Maybe it's only available on certain servers.
- 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.”
-
Questionmark
- Posts: 31
- Joined: Mon Apr 11, 2011 3:06 am
#11
Post
by Questionmark » Sun Jul 17, 2011 3:42 pm
Guess so. I've done a similar quest in the quest line that started with Morrok Wallinder (in Limo Dessert). But what I don't know is which quest is the actual pre quest.
-
MiesterMan
- Posts: 543
- Joined: Tue Jul 06, 2010 9:15 pm
- Location: Between the Second and Third Circles of Hell
#12
Post
by MiesterMan » Sun Jul 17, 2011 4:00 pm
I don't know about a daily but I do remember doing a "fox meat" and "Edible plant" quest. Maybe that's the prequest?
-
kanta
- Posts: 424
- Joined: Thu Nov 11, 2010 4:08 pm
#13
Post
by kanta » Sun Jul 17, 2011 7:26 pm
Yes, there's an actual quest you get from this NPC before you can do the daily. Pretty much the whole zone's daily quests depends on you having completed *all* the quests up to them. There's no particular "quest line".
Scout/Knight/Rogue 70/66/66
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#14
Post
by rock5 » Mon Jul 18, 2011 2:18 am
Except Michelle Kudd is not giving me either a daily or regular quest. I've pretty much unlocked all the other dailies in the zone and completed all the quests. The only exclamation marks left in the zone that are not dailies are "Corpse Doctor Edward" and "Tyre Jillo". I think they were quests that were too hard.
- 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.”
-
kanta
- Posts: 424
- Joined: Thu Nov 11, 2010 4:08 pm
#15
Post
by kanta » Mon Jul 18, 2011 6:11 pm
Ya, I believe those need to be done before you can do the fox meat quest.
Scout/Knight/Rogue 70/66/66
-
Questionmark
- Posts: 31
- Joined: Mon Apr 11, 2011 3:06 am
#16
Post
by Questionmark » Tue Jul 19, 2011 2:30 am
rock5 wrote:Except Michelle Kudd is not giving me either a daily or regular quest. I've pretty much unlocked all the other dailies in the zone and completed all the quests. The only exclamation marks left in the zone that are not dailies are "Corpse Doctor Edward" and "Tyre Jillo". I think they were quests that were too hard.
Well, I don't think it a quest from either of them since they are quests for Grafu Castle and I'm not even ready for that instance. I thought I got the similar regular quest from the quest that started at Morrok Wallinder in Limo Dessert near Shattered Hand Research Camp. Some of my guildies seem to have problems picking up the quest. So, it might even be bugged, but I don't know for sure.
Last edited by
Questionmark on Tue Jul 19, 2011 10:28 am, edited 1 time in total.
-
kanta
- Posts: 424
- Joined: Thu Nov 11, 2010 4:08 pm
#17
Post
by kanta » Tue Jul 19, 2011 9:16 am
Ok, I'll explain this as clear as I can. You need to have completed the quest(s) from Wallinder when you come into the new zone. Finish those and new quests come up. These new quests are not linked in a series, but you must do them in order for the next set to appear. If you miss or do not do a quest, you most likely will not be able to do any after them. It isn't like previous zones where the majority of quests became available after a certain level. They are triggered by quests leading up to them. If you really need to view it in a certain way, just look at this zone as one big quest chain with the exception of the Grafu Castle quests. Many of the quests that you do in this zone unlock a daily with the originating NPC.
Scout/Knight/Rogue 70/66/66
Who is online
Users browsing this forum: Ahrefs [Bot] and 4 guests