Hello.I'm newbie in using ROM bot.I'm trying to make the bot take the quest from the npc using the Num 5 and 7 command when creatingpath.lua.The problem is that bot does't seems to see the click i made for taking the quest all times.IS there any way simple to do that? Good luck to you all.
Ex:
<waypoints>
<!-- # 1 --><waypoint x="-4072" z="-8255"> player:target_NPC("Laif Cindai");
player:mouseclickL(168, 293, 643, 480);
player:mouseclickL(135, 308, 643, 480);
</waypoint>
<!-- # 5 --><waypoint x="-3980" z="-8347"> </waypoint>
<!-- # 6 --><waypoint x="-3892" z="-8402"> </waypoint>
<!-- # 7 --><waypoint x="-3791" z="-8468"> </waypoint>
<!-- # 8 --><waypoint x="-3749" z="-8534"> </waypoint>
<!-- # 9 --><waypoint x="-3708" z="-8656"> player:target_NPC("Leighton");
player:mouseclickL(111, 203, 643, 480);
player:mouseclickL(108, 323, 643, 480);
player:target_NPC("Leighton");
player:mouseclickL(100, 170, 643, 480);
player:mouseclickL(119, 323, 643, 480);
</waypoint>
</waypoints>
How to accept/complete a quest ?
Re: How to accept/complete a quest ?
Your Ex:
OnClick_QuestListButton(1,X) ... Availible Quests List
OnClick_QuestListButton(3,X) ... Finished Quests List
Now its your turn to do the rest. Good Luck.
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-4072" z="-8255">
-- Obtain Quest: Report In
player:target_NPC("Laif Cindai");
player:rest(2);
sendMacro("OnClick_QuestListButton(1,1)"); yrest(2000);
sendMacro("AcceptQuest()"); yrest(2000);
sendMacro("CloseWindows()"); yrest(2000);
</waypoint>
<!-- # 5 --><waypoint x="-3980" z="-8347"> </waypoint>
<!-- # 6 --><waypoint x="-3892" z="-8402"> </waypoint>
<!-- # 7 --><waypoint x="-3791" z="-8468"> </waypoint>
<!-- # 8 --><waypoint x="-3749" z="-8534"> </waypoint>
<!-- # 9 --><waypoint x="-3708" z="-8656">
-- Finish Quest: Report In
player:target_NPC("Leighton");
player:rest(2);
sendMacro("OnClick_QuestListButton(3,1)"); yrest(2000);
sendMacro("CompleteQuest()"); yrest(2000);
sendMacro("CloseWindows()"); yrest(2000);
-- Obtain Quest: Weapon Claim
player:clearTarget();
player:rest(2);
player:target_NPC("Leighton");
player:rest(2);
sendMacro("OnClick_QuestListButton(1,1)"); yrest(2000);
sendMacro("AcceptQuest()"); yrest(2000);
sendMacro("CloseWindows()"); yrest(2000);
</waypoint>
</waypoints>
OnClick_QuestListButton(3,X) ... Finished Quests List
Now its your turn to do the rest. Good Luck.
Re: How to accept/complete a quest ?
arntom wrote:Your Ex:OnClick_QuestListButton(1,X) ... Availible Quests ListCode: Select all
<waypoints> <!-- # 1 --><waypoint x="-4072" z="-8255"> -- Obtain Quest: Report In player:target_NPC("Laif Cindai"); player:rest(2); sendMacro("OnClick_QuestListButton(1,1)"); yrest(2000); sendMacro("AcceptQuest()"); yrest(2000); sendMacro("CloseWindows()"); yrest(2000); </waypoint> <!-- # 5 --><waypoint x="-3980" z="-8347"> </waypoint> <!-- # 6 --><waypoint x="-3892" z="-8402"> </waypoint> <!-- # 7 --><waypoint x="-3791" z="-8468"> </waypoint> <!-- # 8 --><waypoint x="-3749" z="-8534"> </waypoint> <!-- # 9 --><waypoint x="-3708" z="-8656"> -- Finish Quest: Report In player:target_NPC("Leighton"); player:rest(2); sendMacro("OnClick_QuestListButton(3,1)"); yrest(2000); sendMacro("CompleteQuest()"); yrest(2000); sendMacro("CloseWindows()"); yrest(2000); -- Obtain Quest: Weapon Claim player:clearTarget(); player:rest(2); player:target_NPC("Leighton"); player:rest(2); sendMacro("OnClick_QuestListButton(1,1)"); yrest(2000); sendMacro("AcceptQuest()"); yrest(2000); sendMacro("CloseWindows()"); yrest(2000); </waypoint> </waypoints>
OnClick_QuestListButton(3,X) ... Finished Quests List
Now its your turn to do the rest. Good Luck.
Tnks.Very usefull!

Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests