Page 1 of 1

Changed createpath.lua for quests and some questions

Posted: Thu Apr 22, 2010 6:31 am
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

Re: Changed createpath.lua for quests and some questions

Posted: Sat Apr 24, 2010 7:15 am
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

Re: Changed createpath.lua for quests and some questions

Posted: Sat Apr 24, 2010 11:30 am
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);

Re: Changed createpath.lua for quests and some questions

Posted: Sun Apr 25, 2010 4:56 pm
by RoMain
Thank you very much! :D