Changed createpath.lua for quests and some questions

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
RoMain
Posts: 10
Joined: Wed Apr 21, 2010 8:49 pm

Changed createpath.lua for quests and some questions

#1 Post by RoMain »

Hi there,
i have changed the createpath.lua to be able to insert quest accept and complete commad.
It also inserts a one second break after target a npc and complete or accept a quest.

note for use:
if there is one quest to accept and under it one to complete then you must
use 1 instead of 2 because it scans only for completed quests.

Is there a way to make the bot.lua autostarting after executing?
And a command for rename the attached window with a waypoint?

Thank you in advance
Attachments
questcreatepath.rar
note for use:
if there is one quest to accept and under it one to complete then you must
use 1 instead of 2 because it scans only for completed quests.

----only german translations for the new options are given please add youreself
(37.65 KiB) Downloaded 144 times
RoMain
Posts: 10
Joined: Wed Apr 21, 2010 8:49 pm

Re: Changed createpath.lua for quests and some questions

#2 Post by RoMain »

Can't someone help me?

I only want the bot.lua to autostart after having executed in MicroMacro.
So that i don't have to press the Del key, it can loose the ability for multiclients.
I need this because i wrote a tool which is closing RoM and MicroMacro after loosing connection to the gameserver, and start it again.

Please help me !

thanks in advance
User avatar
Administrator
Site Admin
Posts: 5342
Joined: Sat Jan 05, 2008 4:21 pm

Re: Changed createpath.lua for quests and some questions

#3 Post by Administrator »

It would not work with multiclient, no. You'd have to disable that first. Open functions.lua, go to line 70. You'll see this:

Code: Select all

	local windowList = findWindowList("Runes of Magic", "Radiant Arcana");
Below that line, add this:

Code: Select all

if( #windowList > 0 ) then
  return windowList[1];
end
Now, open bot.lua, and go all the way to the bottom. You'll be changing the last line to this:

Code: Select all

startMacro(main, true);
RoMain
Posts: 10
Joined: Wed Apr 21, 2010 8:49 pm

Re: Changed createpath.lua for quests and some questions

#4 Post by RoMain »

Thank you very much! :D
Post Reply