Problem with accepting/completing quests and harvesting

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Thealphabetic
Posts: 9
Joined: Thu Aug 22, 2013 1:13 am

Problem with accepting/completing quests and harvesting

#1 Post by Thealphabetic »

Hello all,

Im trying to run an macro made by a buddy of mine, but it wont accept/complete quests and it wont harvest. The macro runs with at him, so its no error in the code.

1 Problem i have is that ingame i get an igf_event error on line 48. It always happends, but i dont know why.

At accepting it says: We succesfully target and trying to open dialog. So it probably fails @ opening dialog.
At completing it says the same.
At harvesting it says: We found Cleansing crystal and try harvesting it. But it doesnt harvest :S

My question is: What else could cause these problems? Have i done something wrong with the configuration or micromacro, or with my rom configuration (maybe its gameforgeLive?)?

I hope you guys can help me!
User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: Problem with accepting/completing quests and harvesting

#2 Post by BlubBlab »

I have the feeling this will be troublesome to find.

1.) Which version of MM have you?
2.) Make sure you have the npc in target.
3.) Can you post the part of the code where it happens?
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226
Thealphabetic
Posts: 9
Joined: Thu Aug 22, 2013 1:13 am

Re: Problem with accepting/completing quests and harvesting

#3 Post by Thealphabetic »

1. I've done a checkout of micromacro this afternoon, so i have the newest version.
2. I guess so, it says that targeting was succesfull, but opening the dialog fails.
3.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<onLoad>
questEndNpcID1 = 112794
questName1 = GetIdName(422340) -- Helping Them Grow

function relog()
  SetCharList({
   {account=1 , chars= {1,2,3,4,5,6,7,8}},
   {account=2 , chars= {1,2,3,4,5,6,7,8}},
   })
      LoginNextChar()
      loadPaths("elfDaylie_1");
end
startGMDetect()


</onLoad>
 <!-- # 1 --><waypoint x="31847" z="4592" tag ="Main">
    local dqCount, dqPerDay = RoMScript("Daily_count()");
    if dqPerDay > dqCount then
       queststate = getQuestStatus(questName1);
       if queststate == "complete" then
          player:target_NPC(questEndNpcID1);
         yrest(300);
          CompleteQuestByName(questName1);
         yrest(300);
         __WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));
        else
          player:target_NPC(questEndNpcID1);
         yrest(300);
          AcceptQuestByName(questName1,questEndNpcID1);
         yrest(300);
       end
    else
	relog();
    end
    </waypoint>
   <!-- #  4 --><waypoint x="31847" z="4583" y="9">   
       queststate = getQuestStatus(questName1);
       if queststate == "not accepted" then
         __WPL:setWaypointIndex(1);
      end
   </waypoint>
   <!-- #  3 --><waypoint x="31860" z="4646" y="9">   </waypoint>
   <!-- #  2 --><waypoint x="31742" z="5070" y="-11">   </waypoint>
   <!-- #  1 --><waypoint x="31416" z="5715" y="-33" tag = "Item1">   
    queststate = getQuestStatus(questName1)
    if queststate == "incomplete" then
       player:target_Object(112976,300);
       yrest(2500);
       __WPL:setWaypointIndex(__WPL:findWaypointTag("Item1"));
   end
    </waypoint>
   <!-- #  1 --><waypoint x="31416" z="5715" y="-33">   </waypoint>
   <!-- #  2 --><waypoint x="31742" z="5070" y="-11">   </waypoint>
   <!-- #  3 --><waypoint x="31860" z="4646" y="9">   </waypoint>
   <!-- #  4 --><waypoint x="31847" z="4583" y="9">   </waypoint>
 
   
</waypoints>
This is the code i use.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Problem with accepting/completing quests and harvesting

#4 Post by rock5 »

Sounds like it should be working. Maybe your installation is corrupt. Do any of the rombot files have red or yellow icons next to them in Explorer?
  • 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
Thealphabetic
Posts: 9
Joined: Thu Aug 22, 2013 1:13 am

Re: Problem with accepting/completing quests and harvesting

#5 Post by Thealphabetic »

No its all green. Since i updated it this afternoon, i have a new directory named rom-bot with the same stuff in there as in the scripts directory and thats all green too. Maybe i should try reinstall? I have no idea why it goes wrong, but i do know that it works @ others.
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Problem with accepting/completing quests and harvesting

#6 Post by rock5 »

Maybe it's a problem addon. ExtraActionBars addon is known not to interfere with the bot. Are you using that addon?

If you only have the problem with 1 character then your 'macro.bsd' file might be corrupt. That can happen sometimes and causes strange results. To check that, you will need to back up the file, which is located in "My Documents/Runes of Magic/charactername" folder, then delete it and then restart the game so it recreates it. If that works then you'll need to recreate any macros you may have had.
  • 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
Thealphabetic
Posts: 9
Joined: Thu Aug 22, 2013 1:13 am

Re: Problem with accepting/completing quests and harvesting

#7 Post by Thealphabetic »

I've deleted all my addons and deleted the macro.bsd file. It still fails :S I dont know what to do anymore, but i might reinstall rom, to see if that works
Thealphabetic
Posts: 9
Joined: Thu Aug 22, 2013 1:13 am

Re: Problem with accepting/completing quests and harvesting

#8 Post by Thealphabetic »

Hee,

I've tried reinstalling RoM, but unfortunately that also didnt work. I think its just not possible for me to use rombot :(. Unless you guys have another option, i cant use it anomore :(
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Problem with accepting/completing quests and harvesting

#9 Post by rock5 »

Looking back I see a line I missed before.
ghossand wrote:1 Problem i have is that ingame i get an igf_event error on line 48. It always happends, but i dont know why.
That line has os.time() on it so I'm guessing the error you had was about that. The os functions were removed from the game some time ago so you need to use an addon such as d303fx to restore the os functions. http://www.curse.com/addons/rom/d303fix
  • 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