Selection before Quest completing

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
arntom
Posts: 15
Joined: Fri Dec 11, 2009 2:40 am

Selection before Quest completing

#1 Post by arntom »

Dear Community,
is it possible to get an object selected by the bot/script? It's needed before you can use CompleteQuest().
Image
thxs in advance
x_art
Posts: 23
Joined: Thu Jun 11, 2009 2:22 am

Re: Selection before Quest completing

#2 Post by x_art »

click on first reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');

click on second reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item2"));');
..
etc.
miximixi007
Posts: 94
Joined: Sat Apr 17, 2010 1:18 pm

Re: Selection before Quest completing

#3 Post by miximixi007 »

x_art wrote:click on first reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');

click on second reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item2"));');
..
etc.
It doesn't work with me.

Code: Select all

sendMacro("OnClick_QuestListButton(3,1)");
yrest(1000);
sendMacro('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');
yrest(1000);
sendMacro("CompleteQuest()");
yrest(1000);
Unsticking player... at position 31903,4467. Trial 3 from maximal 10 trials
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Selection before Quest completing

#4 Post by rock5 »

Be aware there are 2 ways to select the reward; selecting it from the quest dialog before using CompleteQuest()
or selecting it from the popup after using CompleteQuest().

I use this before using CompleteQuest() as I find it easier;

Code: Select all

sendMacro("SpeakFrame_ClickQuestReward(SpeakQuestReward1_Item"..reward..")")
Where 'reward' is 1 or 2 depending on which you want.

I'm not sure what the commands are if you want to select the reward from the popup after using CompleteQuest but it probably would involve StaticPopup_OnClick.
  • 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.”
          • Ronald Reagan
miximixi007
Posts: 94
Joined: Sat Apr 17, 2010 1:18 pm

Re: Selection before Quest completing

#5 Post by miximixi007 »

Code: Select all

	<!-- # 17 --><waypoint x="32131" z="4417">
		player:target_NPC("Samirat");
sendMacro("OnClick_QuestListButton(3,1)");
yrest(1000);
sendMacro("SpeakFrame_ClickQuestReward(SpeakQuestReward1_Item1)");
yrest(1000);
sendMacro("CompleteQuest()");
yrest(1000);
</waypoint>
When i finshed one quest can't communion with client ,reward trun quest priture at the top of game, can u help me resolve it ? this NPC at :valley of preparation.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Selection before Quest completing

#6 Post by rock5 »

miximixi007 wrote:

Code: Select all

	<!-- # 17 --><waypoint x="32131" z="4417">
		player:target_NPC("Samirat");
sendMacro("OnClick_QuestListButton(3,1)");
yrest(1000);
sendMacro("SpeakFrame_ClickQuestReward(SpeakQuestReward1_Item1)");
yrest(1000);
sendMacro("CompleteQuest()");
yrest(1000);
</waypoint>
When i finshed one quest can't communion with client ,reward trun quest priture at the top of game, can u help me resolve it ? this NPC at :valley of preparation.
I'm not sure what you are saying but that code looks correct. What exactly happens or doesn't happen?
  • 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.”
          • Ronald Reagan
swietlowka
Posts: 316
Joined: Wed Jun 16, 2010 8:16 am

Re: Selection before Quest completing

#7 Post by swietlowka »

i had similiar problem (i think i did anyway)
it happends when you have streamline addon set to automatic complete quest, if that happends u will get a popup menu and bot doesn't know what to do and wont complete the quest at all
miximixi007
Posts: 94
Joined: Sat Apr 17, 2010 1:18 pm

Re: Selection before Quest completing

#8 Post by miximixi007 »

Yes, I used streamline addon .do u resolve this problem?
miximixi007
Posts: 94
Joined: Sat Apr 17, 2010 1:18 pm

Re: Selection before Quest completing

#9 Post by miximixi007 »

I removed streamline addon,add code sendMacro("AcceptQuest();") when accept quest,it`s work.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Selection before Quest completing

#10 Post by rock5 »

miximixi007 wrote:I removed streamline addon,add code sendMacro("AcceptQuest();") when accept quest,it`s work.
I'd say you wouldn't need to remove streamline, just disable the quest options.
  • 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.”
          • Ronald Reagan
miximixi007
Posts: 94
Joined: Sat Apr 17, 2010 1:18 pm

Re: Selection before Quest completing

#11 Post by miximixi007 »

I'd say you wouldn't need to remove streamline, just disable the quest options.
:( I see now.
Post Reply