Accept quest from Logar mailbox

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Reymauro
Posts: 54
Joined: Wed Apr 27, 2011 1:01 pm

Accept quest from Logar mailbox

#1 Post by Reymauro »

Hi I'm having a little bit of trouble trying to accept the quest Golden Status Letter from the Logar mailbox this is what im trying to use

Code: Select all

	player:target_NPC("Loga mailbox",2000);
	sendMacro("OnClick_QuestListButton(3, 1)";  yrest(2000);
	sendMacro("CompleteQuest()"); yrest(2000);
I try this one two

Code: Select all

	player:target_Object("Loga mailbox",2000);
	sendMacro("OnClick_QuestListButton(3, 1)";  yrest(2000);
	sendMacro("CompleteQuest()"); yrest(2000);

Code: Select all

	player:target_Object("Mailbox",2000);
	sendMacro("OnClick_QuestListButton(3, 1)";  yrest(2000);
	sendMacro("CompleteQuest()"); yrest(2000);
Error (script\ROM/BOT.LUA:760: Failed to compile and run Lua code for waypopint #1

complete code

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-263" z="-6126" y="13">	</waypoint>
	<!-- #  2 --><waypoint x="-426" z="-6171" y="6">	</waypoint>
	<!-- #  3 --><waypoint x="-544" z="-6003" y="23">	</waypoint>
	<!-- #  4 --><waypoint x="-815" z="-5934" y="36">	</waypoint>
	<!-- #  5 --><waypoint x="-1009" z="-5869" y="46">	</waypoint>
	<!-- #  6 --><waypoint x="-1212" z="-5833" y="45">	</waypoint>
	<!-- #  7 --><waypoint x="-1260" z="-5833" y="62">	
	
	player:target_NPC("O'shel");
	sendMacro("OnClick_QuestListButton(3, 1)");  yrest(2000);
	sendMacro("CompleteQuest()"); yrest(2000);
	player:mouseclickL(1486, 460, 1920, 1148);
	sendMacro("OnClick_QuestListButton(1, 1)");  yrest(2000);
	sendMacro("AcceptQuest()"); yrest(2000);
	
	</waypoint>
	<!-- #  1 --><waypoint x="-1257" z="-5832" y="61">	</waypoint>
	<!-- #  2 --><waypoint x="-1096" z="-5953" y="36">	</waypoint>
	<!-- #  3 --><waypoint x="-756" z="-5961" y="30">	</waypoint>
	<!-- #  4 --><waypoint x="-599" z="-6114" y="19">	</waypoint>
	<!-- #  5 --><waypoint x="-447" z="-6006" y="21">	
	
	player:target_NPC("Logar mailbox",2000);
	sendMacro("OnClick_QuestListButton(3, 1)";  yrest(2000);
	sendMacro("CompleteQuest()"); yrest(2000);
	</waypoint>
</waypoints>
I'm a noob at this thx in advance
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Accept quest from Logar mailbox

#2 Post by rock5 »

Reymauro wrote:

Code: Select all

	player:target_NPC("Loga mailbox",2000);
	sendMacro("OnClick_QuestListButton(3, 1)";  yrest(2000);
	sendMacro("CompleteQuest()"); yrest(2000);

Code: Select all

	player:target_Object("Loga mailbox",2000);
	sendMacro("OnClick_QuestListButton(3, 1)";  yrest(2000);
	sendMacro("CompleteQuest()"); yrest(2000);

Code: Select all

	player:target_Object("Mailbox",2000);
	sendMacro("OnClick_QuestListButton(3, 1)";  yrest(2000);
	sendMacro("CompleteQuest()"); yrest(2000);
In all 3 of these examples the second line is missing a bracket to close the sendMacro function.
  • 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
User avatar
Reymauro
Posts: 54
Joined: Wed Apr 27, 2011 1:01 pm

Re: Accept quest from Logar mailbox

#3 Post by Reymauro »

Thanks for the fast reply
Post Reply