quest / NPC issue

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
rambo66
Posts: 58
Joined: Fri Dec 17, 2010 6:51 am
Location: Germany

quest / NPC issue

#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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: quest / NPC issue

#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.

Code: Select all

AcceptQuestByName(_name)
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???
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

rambo66
Posts: 58
Joined: Fri Dec 17, 2010 6:51 am
Location: Germany

Re: quest / NPC issue

#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

User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: quest / NPC issue

#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?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: quest / NPC issue

#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.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: quest / NPC issue

#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

Re: quest / NPC issue

#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

Re: quest / NPC issue

#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.

Uniden65
Posts: 151
Joined: Thu Aug 20, 2009 5:17 pm

Re: quest / NPC issue

#9 Post by Uniden65 » Fri Jun 22, 2012 1:29 pm

every time i try to pick up a quest u get

http://imageshack.us/photo/my-images/99/bugio.jpg/

Image


i get this every time with NOthing in it ...have tryed many different ways of setting it up


it should open like this

Image

rambo66
Posts: 58
Joined: Fri Dec 17, 2010 6:51 am
Location: Germany

Re: quest / NPC issue

#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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests