-
rambo66
- Posts: 58
- Joined: Fri Dec 17, 2010 6:51 am
- Location: Germany
#1
Post
by rambo66 » Thu Jun 14, 2012 5:04 am
Hi...
I have a small problem, trying to get the right code.. but till now not successfull..
Code: Select all
<waypoint x="31845" z="4588">
player:target_NPC("xyz");
sendMacro("OnClick_QuestListButton(3, 1)"); yrest(750);
sendMacro("CompleteQuest()"); yrest(2000);
The dialog opens, but then nothing is selected.
The dialog is 2x clicking the first/uppest button..
Can someone give me please a hint...
thx
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#2
Post
by lisa » Thu Jun 14, 2012 5:15 am
There is a function included in bot to do all the work for you.
and
Code: Select all
CompleteQuestByName(_name, _rewardnumberorname)
are part of the bot now.
Also,
Code: Select all
AcceptAllQuests()
CompleteAllQuests()
CancelQuest(nameorid)
Code: Select all
<waypoint x="31845" z="4588">
player:target_NPC("xyz");
CompleteAllQuests()
That will probably do the trick.
--=== Edit ===--
I copy, pasted it from a post Rock made just yesterday in another topic of yours, does it not work for you???
-
rambo66
- Posts: 58
- Joined: Fri Dec 17, 2010 6:51 am
- Location: Germany
#3
Post
by rambo66 » Thu Jun 14, 2012 9:18 am
hi Lisa,
thx,
ohha... sorry seems i was to fixed at adressing the board first.. thx
-
Ego95
- Posts: 564
- Joined: Tue Feb 28, 2012 12:38 pm
-
Contact:
#4
Post
by Ego95 » Thu Jun 14, 2012 3:55 pm
It's part of the bot now? So I don't need the userfunction_QuestByName anymore?
-
lisa
- Posts: 8332
- Joined: Tue Nov 09, 2010 11:46 pm
- Location: Australia
#5
Post
by lisa » Thu Jun 14, 2012 6:57 pm
AlterEgo95 wrote:It's part of the bot now? So I don't need the userfunction_QuestByName anymore?
Correct, the function that is part of the bot is also much more improved on the old userfunction.
-
Ego95
- Posts: 564
- Joined: Tue Feb 28, 2012 12:38 pm
-
Contact:
#6
Post
by Ego95 » Thu Jun 14, 2012 8:21 pm
lisa wrote:Correct, the function that is part of the bot is also much more improved on the old userfunction.
Ok, thanks. Then I can delete the old userfunction.
I'll take a look at the integrated new one

-
Uniden65
- Posts: 151
- Joined: Thu Aug 20, 2009 5:17 pm
#7
Post
by Uniden65 » Fri Jun 22, 2012 10:54 am
rambo66 how did u fix the Emptu dialog window issue?
-
rambo66
- Posts: 58
- Joined: Fri Dec 17, 2010 6:51 am
- Location: Germany
#8
Post
by rambo66 » Fri Jun 22, 2012 11:05 am
hi..
I'm not sure what you are asking..
at the moment I'm "contacting" the npc standing next to the board
Last edited by
rambo66 on Sun Jun 24, 2012 1:18 pm, edited 1 time in total.
-
rambo66
- Posts: 58
- Joined: Fri Dec 17, 2010 6:51 am
- Location: Germany
#10
Post
by rambo66 » Fri Jun 22, 2012 2:49 pm
I#M doing it now like this:
Code: Select all
<waypoint x="2" z="2" y="2">
player:target_NPC("Tagesquest-Verwalter"); <!-- accept TQ's -->
AcceptAllQuests();
</waypoint>
.....
<waypoint x="3" z="3" y="3">
player:target_NPC("Ab"); <!-- finish TQ's -->
CompleteAllQuests();
</waypoint>
And works fine..

thx Lisa & Rock
Who is online
Users browsing this forum: Bing [Bot] and 4 guests