Problems with AcceptBorderQuest()

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Romplayer
Posts: 120
Joined: Wed Jan 11, 2012 10:07 am

Problems with AcceptBorderQuest()

#1 Post by Romplayer » Wed Apr 24, 2013 9:26 pm

Hi i'm doing a quest which requires me to

Code: Select all

inventory:useItem(241329)
	yrest(2000)
	RoMScript('AcceptBorderQuest()')
	yrest(2000)
	player:target_NPC("Kelod Kallol");
	CompleteQuestByName()	
	yrest(1000)
	repeat
	inventory:useItem(241329)
	RoMScript('AcceptBorderQuest()')
	player:target_NPC("Kelod Kallol");
	CompleteQuestByName()	
	yrest(1500)
	until RoMScript('TBGet()') == 0
	end
The problem is that the first time it kinda bugs. It will leave the dialogue box open which messes up the process of accepting the quest repeatly for the first time. Sometimes it will be fine but some times it leave the box open so only one quest can be completed but it will continue to "use item" but quest will not be accepted. I found a solution to the problem but I must manuallly close the dialoge box that stayed open and then it proceeds to work the rest of the time. Is there a code I can use to make sure all dialogue boxes have been closed the first round so it can continue to repeat?

Romplayer
Posts: 120
Joined: Wed Jan 11, 2012 10:07 am

Re: Problems with AcceptBorderQuest()

#2 Post by Romplayer » Thu Apr 25, 2013 12:37 am

n/m i searched the forums and found a solution

you can delete this post.

Jig
Posts: 13
Joined: Tue Apr 23, 2013 4:14 pm

Re: Problems with AcceptBorderQuest()

#3 Post by Jig » Thu Apr 25, 2013 11:19 am

Can you share your solution, please?

Edit:

You can use

Code: Select all

		sendMacro("ChoiceOption(1or2or3or4);");
to close the window :)

Romplayer
Posts: 120
Joined: Wed Jan 11, 2012 10:07 am

Re: Problems with AcceptBorderQuest()

#4 Post by Romplayer » Thu Apr 25, 2013 5:22 pm

Code: Select all

RoMScript("ScriptBorder:Hide()")
that will close the window for sure

Jig
Posts: 13
Joined: Tue Apr 23, 2013 4:14 pm

Re: Problems with AcceptBorderQuest()

#5 Post by Jig » Fri Apr 26, 2013 7:05 am

thank you very much - that is a better solution.

Post Reply

Who is online

Users browsing this forum: No registered users and 74 guests