Daily from bullettin board

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
ciccione
Posts: 9
Joined: Sat Jan 30, 2010 8:36 am

Daily from bullettin board

#1 Post by ciccione » Mon Aug 08, 2011 2:42 am

Hi guys, I used this code some time ago to accept quest from a bullettin board, go to the npc, finish the quest and come back.
Now the bot opens the bullettin board but does not accept any quest and just gets stuck. I guess smthing has changed since i used it last time, what's wrong?

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="2812" z="-931" y="53">	</waypoint>
	<!-- #  2 --><waypoint x="2765" z="-865" y="54">
player:rest(1.2)
      keyboardHold(key.VK_SHIFT); 
      player:mouseclickL(640, 450, 1280, 972); 
      player:mouseclickL(640, 450, 1280, 972); 
      keyboardRelease(key.VK_SHIFT);
      player:rest(.8)
      sendMacro("OnClick_QuestListButton(2);"); 
      player:rest(.5)
      sendMacro("AcceptQuest();");
      player:rest(.2);
 </waypoint>
	<!-- #  3 --><waypoint x="2993" z="-718" y="53">	</waypoint>
	<!-- #  4 --><waypoint x="3094" z="-718" y="53">	</waypoint>
	<!-- #  5 --><waypoint x="3280" z="-549" y="53">
player:rest(1.2)
      player:target_NPC("Plinston");
      player:rest(1)
      sendMacro("CompleteQuest();");
      player:rest(.2)
        player.free_counter1 = player.free_counter1 + 1;
         if(player.free_counter1 == 10) then
           player:sleep();
            end;
	</waypoint>
	<!-- #  6 --><waypoint x="3083" z="-720" y="53">	</waypoint>
	<!-- #  7 --><waypoint x="2920" z="-745" y="55">	</waypoint>
	<!-- #  8 --><waypoint x="2867" z="-846" y="55">	</waypoint>
	<!-- #  9 --><waypoint x="2778" z="-860" y="54">	</waypoint>
</waypoints>

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Daily from bullettin board

#2 Post by rock5 » Mon Aug 08, 2011 3:23 am

OnClick_QuestListButton accepts 2 arguments, not 1. Maybe it changed.
http://www.theromwiki.com/API:OnClick_QuestListButton

You might also be interested in the QuestByName userfunction.
http://www.solarstrike.net/phpBB3/viewt ... =27&t=2184

You shouldn't be using mouse clicks anymore. Just use

Code: Select all

player:target_Object("board name")
and that will open the bulletin board.
  • 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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests