Doing "help them grow" on alt problem.

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
SweetLove
Posts: 8
Joined: Wed Jul 31, 2013 11:24 am

Doing "help them grow" on alt problem.

#1 Post by SweetLove » Fri Sep 06, 2013 5:48 pm

I just have a small problem. When in doing the daily "help them grow" and im finnish on the character, it log out and i get a blank screen. Then the bot stops.

When i open the bot i write rom/bot.lua profile:dailyelf path:daily.

Here´s a img of my problem: tinypic.com/view.php?pic=14szj0m&s=5

And here is the waypoint:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
   <!-- #  1 --><waypoint x="31847" z="4592" tag ='Main'>
         
         local dqCount, dqPerDay = RoMScript("Daily_count()");
         if 10 > dqCount then   
            queststate = getQuestStatus("Helping Them Grow");
            if queststate == "complete" then
               -- Complete quest
               player:target_NPC("Blinsik");
               sendMacro("CompleteQuest()"); yrest(2000);
               -- Accept quest
               player:target_NPC("Blinsik");
               sendMacro("AcceptQuest()"); yrest(2000);
               --__WPL:setWaypointIndex(__WPL:findWaypointTag("Main"));   
            else
               -- Accept quest
               player:target_NPC("Blinsik");
               sendMacro("AcceptQuest()"); yrest(2000);
            end
         else
           sendMacro("Logout();"); yrest(60*1000);
player = CPlayer.new();
settings.load();
settings.loadProfile("DailyElf");
yrest (4000)
loadPaths("Daily");
         end
   </waypoint>
   <!-- #  2 --><waypoint x="31812" z="4849">   </waypoint>
   <!-- #  3 --><waypoint x="31415" z="5720" tag = "Item">
         queststate = getQuestStatus("Helping Them Grow")
         if queststate == "incomplete" then
            player:target_NPC("Cleansing Crystal");
            yrest(3000);
            __WPL:setWaypointIndex(__WPL:findWaypointTag("Item"));
         end
   </waypoint>
   <!-- #  4 --><waypoint x="31878" z="4692">   </waypoint>
   <!-- #  5 --><waypoint x="31843" z="4593">   </waypoint>
</waypoints>
Maybe i´ve forgot to add something to the waypoint, im not really sure.
I have login.xml in my runes of magic/interface folder
I have userfunction_LoginNextChar in userfunction.


Thank you.

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

Re: Doing "help them grow" on alt problem.

#2 Post by rock5 » Fri Sep 06, 2013 11:30 pm

login.xml, do you mean 'loginxml'?.

You didn't use any commands to change character, you just logoff. There are basically 2 options. You can use a command to just log into the next character in the current account or you can provide an account and character list and go through that list. Which do you want to do?
  • 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

SweetLove
Posts: 8
Joined: Wed Jul 31, 2013 11:24 am

Re: Doing "help them grow" on alt problem.

#3 Post by SweetLove » Sat Sep 07, 2013 7:41 am

rock5 wrote:login.xml, do you mean 'loginxml'?.

You didn't use any commands to change character, you just logoff. There are basically 2 options. You can use a command to just log into the next character in the current account or you can provide an account and character list and go through that list. Which do you want to do?
i mean loginxml.
i want the command that after the quest is done on this character it goes on to the next on the same account. Is it possible?

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

Re: Doing "help them grow" on alt problem.

#4 Post by rock5 » Sat Sep 07, 2013 8:18 am

Yes, use

Code: Select all

ChangeChar()
loadProfile("DailyElf")
yrest (4000)
loadPaths("Daily");
  • 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

SweetLove
Posts: 8
Joined: Wed Jul 31, 2013 11:24 am

Re: Doing "help them grow" on alt problem.

#5 Post by SweetLove » Sat Sep 07, 2013 8:35 am

rock5 wrote:Yes, use

Code: Select all

ChangeChar()
loadProfile("DailyElf")
yrest (4000)
loadPaths("Daily");
should i replase this with something in the waypont or i just ad it somewere?

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

Re: Doing "help them grow" on alt problem.

#6 Post by rock5 » Sat Sep 07, 2013 9:07 am

Replace
SweetLove wrote: sendMacro("Logout();"); yrest(60*1000);
player = CPlayer.new();
settings.load();
settings.loadProfile("DailyElf");
yrest (4000)
loadPaths("Daily");
  • 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

SweetLove
Posts: 8
Joined: Wed Jul 31, 2013 11:24 am

Re: Doing "help them grow" on alt problem.

#7 Post by SweetLove » Sat Sep 07, 2013 9:35 am

rock5 wrote:Replace
SweetLove wrote: sendMacro("Logout();"); yrest(60*1000);
player = CPlayer.new();
settings.load();
settings.loadProfile("DailyElf");
yrest (4000)
loadPaths("Daily");
OMG i love you so much!!!
It changed to the next character but then the bot stopped. Is there a way to continue with the same waypont on all characters?

here are the error that came:

tinypic.com/view.php?pic=110x9co&s=5

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

Re: Doing "help them grow" on alt problem.

#8 Post by rock5 » Sat Sep 07, 2013 9:57 am

I copied the loadPaths from your code. Obviously your waypoint file isn't called Daily.xml but DailyElf.xml. You can change it to

Code: Select all

loadPaths("dailyelf")
or you can change it so that it doesn't matter what the file is called.

Code: Select all

loadPaths(__WPL.FileName)
That just reloads the current file whatever it's called.
  • 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

SweetLove
Posts: 8
Joined: Wed Jul 31, 2013 11:24 am

Re: Doing "help them grow" on alt problem.

#9 Post by SweetLove » Sat Sep 07, 2013 10:23 am

rock5 wrote:I copied the loadPaths from your code. Obviously your waypoint file isn't called Daily.xml but DailyElf.xml. You can change it to

Code: Select all

loadPaths("dailyelf")
or you can change it so that it doesn't matter what the file is called.

Code: Select all

loadPaths(__WPL.FileName)
That just reloads the current file whatever it's called.
You my friend is a facking genius!!!
I love all the work you and the other moderators do to make this happen.
Keep up the good work, you are the best <3333333.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests