Code: Select all
player:target_NPC("120578");
yrest(500);
CompleteQuestByName(425504)
yrest(500);
Code: Select all
sendMacro("SpeakFrame_ListDialogOption(1, 2)")Code: Select all
sendMacro("ChoiceOption(2);");Code: Select all
player:target_NPC("120578");
yrest(500);
CompleteQuestByName(425504)
yrest(500);
Code: Select all
sendMacro("SpeakFrame_ListDialogOption(1, 2)")Code: Select all
sendMacro("ChoiceOption(2);");Code: Select all
AcceptQuestByName(questname,questtype)
CompleteQuestByName(questname,questtype)Code: Select all
AcceptQuestByName("Extinguish","public")Code: Select all
getTEXT("Sys425504_name")Code: Select all
CompleteQuestByName(getTEXT("Sys425504_name"),"daily")
Thanks bunches. Will fire off a reset and give it a run through shortly.lisa wrote:questtype is "daily" or "public"Code: Select all
AcceptQuestByName(questname,questtype) CompleteQuestByName(questname,questtype)
And thanks for this. I can imagine it will be very helpful in the new area next Tuesday/Wednesday/whenever the patch finishes. Very nice explanation of it here for those interested...lisa wrote:BTW for the quest you might want to use
Code: Select all
getTEXT("Sys425504_name")Code: Select all
CompleteQuestByName(getTEXT("Sys425504_name"),"daily")

Code: Select all
player:target_NPC("Myan Kellas");
yrest(6000);
--CompleteQuestByName(getTEXT("Sys425504_name"),"daily")
--yrest(1000);
Why, how were you trying to complete the quest without selecting the npc?McGuffin wrote: If I have the bot target the NPC and I then complete the quest it works just fine.
rock5 wrote:Why, how were you trying to complete the quest without selecting the npc?McGuffin wrote: If I have the bot target the NPC and I then complete the quest it works just fine.
Code: Select all
player:target_NPC("Myan Kellas");
yrest(6000);
--CompleteQuestByName(getTEXT("Sys425504_name"),"daily")
--yrest(1000);Code: Select all
CompleteQuestByName(425504)Code: Select all
CompleteQuestByName(getTEXT("Sys425504_name"),"daily")Code: Select all
sendMacro("SpeakFrame_ListDialogOption(1, 2)")Code: Select all
sendMacro("ChoiceOption(2);");Yea, I did look through that post. Figured out how to accept the quest from Rock's "RoMScript("AcceptBorderQuest()")" post in it.lisa wrote:There is another topic about the arrowhead public, maybe the answer is in that topic.
http://www.solarstrike.net/phpBB3/viewt ... =arrowhead
So it's working now?McGuffin wrote:Not using Daily Notes and letting the bot handle the quest turn in is where I am now.
1. I uninstalled Streamline and Daily Notes when bug hunting and the behavior remained. Reinstalled Daily Notes and but have had to turn it off for this character because it completes both Public and Daily when active.rock5 wrote:I see, it completes it then opens the dialog again and gets stuck in some sort of loop.
Here are the ideas I can think of.
- 1. Are you using an addon that auto completes the quest when you click on the npc, such as DailyNotes or Streamline?
2. Are you using some sort of loop to make sure you complete the quest?
3. Did you install the old QuestByName userfunction?
4. You said that it completes the quest then opens the dialog to what looks like a bugged dialog. If you manually complete the quest then open the dialog again does it show the bugged dialog?
Code: Select all
<!-- # 40 --><waypoint x="-2704" z="-17954" y="834">
yrest(500);
player:target_NPC("Myan Kellas");
yrest(6000);
--CompleteQuestByName(getTEXT("Sys425504_name"),"daily")
--sendMacro("CloseAllWindows()");
--yrest(1000);
--sendMacro("CloseAllWindows()");
</waypoint>
I miss-typed? Should have said "Not using Daily Notes and getting the bot handle the quest turn in is where I am now."rock5 wrote:So it's working now?McGuffin wrote:Not using Daily Notes and letting the bot handle the quest turn in is where I am now.
If I follow, do I have an errant player:target_NPC in there somewhere? There is not. I did look hard for that and moved some things (potion use and re-mounting) out of that WP to another just to make sure (zero sleep so I was not trusting my own eyes).lisa wrote:1. Are you using a loop of some sort, for the bot to retarget the NPC it must be told to do it somewhere in the code.
Yep.lisa wrote:2. Do you have both the daily and public quest accepted when handing in the daily?
Installed but still no joy.rock5 wrote:I figured out what causes it. I think it has something to do with getQuestStatus which the QuestByName functions use. The bot version can't distinguish between daily and public quests so it causes a problem (although I'm not sure how it causes the bugged dialog). Just install my questlog userfunction which has a replacement for getQuestStatus that does work.
http://www.solarstrike.net/phpBB3/viewt ... 676#p40676
rock5 wrote:It's strange because I was able to exactly reproduce your problem by disabling that userfunction. I even got the bugged dialog.