Selection before Quest completing
Selection before Quest completing
Dear Community,
is it possible to get an object selected by the bot/script? It's needed before you can use CompleteQuest().
thxs in advance
is it possible to get an object selected by the bot/script? It's needed before you can use CompleteQuest().
thxs in advance
Re: Selection before Quest completing
click on first reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');
click on second reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item2"));');
..
etc.
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');
click on second reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item2"));');
..
etc.
-
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
Re: Selection before Quest completing
It doesn't work with me.x_art wrote:click on first reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');
click on second reward:
RoMScript('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item2"));');
..
etc.
Code: Select all
sendMacro("OnClick_QuestListButton(3,1)");
yrest(1000);
sendMacro('OnClick_QuestRewardButton(getglobal("SpeakQuestReward1_Item1"));');
yrest(1000);
sendMacro("CompleteQuest()");
yrest(1000);
Re: Selection before Quest completing
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;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.
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..")")
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
-
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
Re: Selection before Quest completing
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>
Re: Selection before Quest completing
I'm not sure what you are saying but that code looks correct. What exactly happens or doesn't happen?miximixi007 wrote: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.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>
- 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
-
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
Re: Selection before Quest completing
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
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
-
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
Re: Selection before Quest completing
Yes, I used streamline addon .do u resolve this problem?
-
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
Re: Selection before Quest completing
I removed streamline addon,add code sendMacro("AcceptQuest();") when accept quest,it`s work.
Re: Selection before Quest completing
I'd say you wouldn't need to remove streamline, just disable the quest options.miximixi007 wrote:I removed streamline addon,add code sendMacro("AcceptQuest();") when accept quest,it`s work.
- 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
-
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
Re: Selection before Quest completing
I see now.I'd say you wouldn't need to remove streamline, just disable the quest options.
Who is online
Users browsing this forum: Google [Bot] and 21 guests