-
arntom
- Posts: 15
- Joined: Fri Dec 11, 2009 2:40 am
#1
Post
by arntom » Thu Jan 14, 2010 1:05 am
Dear Community,
is it possible to get an object selected by the bot/script? It's needed before you can use CompleteQuest().
![Image](http://img193.imageshack.us/img193/6730/selection.png)
thxs in advance
-
x_art
- Posts: 23
- Joined: Thu Jun 11, 2009 2:22 am
#2
Post
by x_art » Thu Jan 14, 2010 1:47 am
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
#3
Post
by miximixi007 » Fri Jul 23, 2010 11:06 pm
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
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#4
Post
by rock5 » Fri Jul 23, 2010 11:49 pm
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.”
-
miximixi007
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
#5
Post
by miximixi007 » Fri Sep 10, 2010 12:54 am
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.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#6
Post
by rock5 » Fri Sep 10, 2010 2:39 am
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.”
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
#7
Post
by swietlowka » Fri Sep 10, 2010 3:56 am
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
#8
Post
by miximixi007 » Sun Sep 12, 2010 2:34 am
Yes, I used streamline addon .do u resolve this problem?
-
miximixi007
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
#9
Post
by miximixi007 » Sun Sep 12, 2010 7:30 am
I removed streamline addon,add code sendMacro("AcceptQuest();") when accept quest,it`s work.
-
rock5
- Posts: 12173
- Joined: Tue Jan 05, 2010 3:30 am
- Location: Australia
#10
Post
by rock5 » Sun Sep 12, 2010 6:07 pm
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.”
-
miximixi007
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
#11
Post
by miximixi007 » Thu Sep 16, 2010 2:13 pm
I'd say you wouldn't need to remove streamline, just disable the quest options.
![Sad :(](./images/smilies/icon_e_sad.gif)
I see now.
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 1 guest