rock5's "fastLogin Revisited"

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: rock5's "fastLogin Revisited"

#401 Post by lisa » Mon Feb 04, 2013 10:58 pm

grande wrote:Hi Lisa! Okay soo... I was way off in what I was trying to do LOL... errr yeah.

So, in AT script I'd just do "relog" option instead of "charlist"?
yup
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

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

Re: rock5's "fastLogin Revisited"

#402 Post by rock5 » Tue Feb 05, 2013 12:35 am

If you want to do all characters in an account then, yes, you use 'relog'. Your way would have worked but you were missing a pair of curly brackets. You were sending 3 groups of accounts to SetCharList but it only accepts 1 argument. When using multiple groups of accounts you have to surround all of them with a pairs of curly brackets to make it 1 table.

Code: Select all

      SetCharList({{
         {account=10, chars= {}},
      },{
         {account=11, chars= {}},
      },{
         {account=12, chars= {}},
      }})
This would have worked as you intended but with no characters specified you are better off with 'relog'. If you ever want to skip some characters then you would use this option.
  • 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

kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: rock5's "fastLogin Revisited"

#403 Post by kenzu38 » Tue Feb 05, 2013 6:58 am

Hey, rock. Just found out logging in from one account to another doesn't always work for me. Sometimes, I get an error saying I need the secondary password and the char couldn't login so my script gets stuck.

So can you tell me what might be causing this? Is it server lag or something? Or server security protocol perhaps?

Can you suggest some possible remedy or even a complete solution to this?

Thanks.

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

Re: rock5's "fastLogin Revisited"

#404 Post by rock5 » Tue Feb 05, 2013 9:55 am

What are you using? I'm not 100% sure about the old "LoginNextToon" option but "ChangeChar" and LoginNextChar has worked for me 100% every time. Pretty much, what we can do we've already done. If you get stuck at the login screen because the secondary password has popped up then there is not much more we can do.

Of course don't forget to double check your secondary passwords in logindialog.lua.
  • 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

kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: rock5's "fastLogin Revisited"

#405 Post by kenzu38 » Tue Feb 05, 2013 3:10 pm

I see. Well, I'm using the LoginNextChar(). I already double-checked, there's no typo.

It's probably bad server communication or strict server security? I remember some of my accounts got auto-blocked before when I was testing this addon out for the first time. I logged in too many accounts in one minute when I was testing it so they all got blocked lol.

Anyway, thanks for the fast reply. I guess I'll just have to check the bot once in a while to make sure the script doesn't get stuck.

kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: rock5's "fastLogin Revisited"

#406 Post by kenzu38 » Wed Feb 06, 2013 5:24 am

Hey rock, if you remember, I posted yesterday about having "bag full" errors with the MailMod, today I didn't run into any. And from what I can tell, what made the difference is that I was not lagging badly like yesterday when my chars were taking those mails.

So, I really think this is also the reason fastLogin is having login errors at times. And so, I just wanna know if I can add some kind of pause to the login script so that it waits a second or two before inputting the secondary password.

Is this possible? If so, can you please post the code. Thanks.

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

Re: rock5's "fastLogin Revisited"

#407 Post by rock5 » Wed Feb 06, 2013 7:02 am

The game doesn't have any way to add pauses. It's all react to this, react to that. So when the secondary popup pops up it reacts by entering the password. There is no way to add pauses.
  • 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

kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: rock5's "fastLogin Revisited"

#408 Post by kenzu38 » Wed Feb 06, 2013 8:27 am

I see. Too bad, really hoped there's something I could do to fix the problem. Oh well, guess I'll just have to find a way to lower my ping.

Thanks for the fast reply, btw. :)

Jamnyk
Posts: 28
Joined: Thu Nov 15, 2012 7:12 am

Re: rock5's "fastLogin Revisited"

#409 Post by Jamnyk » Thu Feb 07, 2013 3:17 pm

Hello. In elfdaily script i have that code

Code: Select all

    function relog()
        SetCharList({
         -- enter account number and char numbers that you like to run this script
		 {account=4 , chars= {}},  
		 {account=5 , chars= {}},  
		 {account=6 , chars= {}},  
         })
        LoginNextChar()
        loadProfile()
        loadPaths("ElfDaily");
      end		
one week ago all was great and happy, but yesterday and today i have big problem. Bot go one char, three chars, one account... but then I have
--screen
and it finish work :(
it do one, two chars from 1 account :/
How to fix it?
Attachments
Bez tytułu.jpg

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

Re: rock5's "fastLogin Revisited"

#410 Post by rock5 » Thu Feb 07, 2013 10:30 pm

I've never heard about a problem that would cause it to skip characters. Did you try to log in to all those character manually and see if they work?
  • 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

Jamnyk
Posts: 28
Joined: Thu Nov 15, 2012 7:12 am

Re: rock5's "fastLogin Revisited"

#411 Post by Jamnyk » Fri Feb 08, 2013 2:22 am

Of course, I can do daily manually - I tested it. When i have "last player finished" at second char on first account I have to change code to

Code: Select all

    function relog()
        SetCharList({
         -- enter account number and char numbers that you like to run this script
       {account=4 , chars= {3,4,5,6,7,8}},  
       {account=5 , chars= {}},  
       {account=6 , chars= {}},  
         })
        LoginNextChar()
        loadProfile()
        loadPaths("ElfDaily");
      end      
And it work, but - you know - its very uncomfortable.

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

Re: rock5's "fastLogin Revisited"

#412 Post by rock5 » Fri Feb 08, 2013 2:57 am

You shouldn't have to change it. Try leaving it as

Code: Select all

{account=4 , chars= {}}, 
and when it fails, change to the 3rd character and restart the script. It should continue on from the 3rd character.

I'll have a look at what might cause it to end but I don't expect to find anything.
  • 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

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

Re: rock5's "fastLogin Revisited"

#413 Post by rock5 » Fri Feb 08, 2013 3:36 am

I'm not going to be able to figure out what's wrong without any debug printouts. Here is a version that prints some values as it changes character. Rename your userfunction_LoginNextChar.lua to userfunction_LoginNextChar.bak before copying the version I've attached here into your userfunctions folder.

When it tries to change character and fails, copy the MM output here so I can have a look. To learn how to copy and paste from a MM window, check out the link in my signature.
Attachments
userfunction_LoginNextChar.lua
(4.9 KiB) Downloaded 124 times
  • 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

Jamnyk
Posts: 28
Joined: Thu Nov 15, 2012 7:12 am

Re: rock5's "fastLogin Revisited"

#414 Post by Jamnyk » Fri Feb 08, 2013 8:23 am

Code: Select all

We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Paused. (Delete) to continue, (CTRL+L) exit to shell, (CTRL+C) quit
Resumed.
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
Current acc/char 7,1
checking account 7
no chars in list
next char on same acc, char 2
Changing to character 2 account 7.
Player address changed: 0x36450A00
Ranged skill found: MAGE_FLAME
Loading profile userdefault.xml
Testing 'ingamefunctions' macro. If it gets stuck here, please update the 'ingam
efunctions' by copying the 'ingamefunctions' folder from 'rom/devtools' to the g
ames 'interface/addons' folder.
MACRO Test: ok
Ranged skill found: MAGE_FLAME
Loaded waypoint path ElfDaily.xml
No return path with default naming ElfDaily_return.xml found.
We use the normal waypoint path ElfDaily.xml now.
zone:12
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest accepted: Helping Them Grow
Clearing target.
Moving to waypoint #2, (31847, 4583)
Moving to waypoint #3, (31860, 4646)
Moving to waypoint #4, (31742, 5070)
Moving to waypoint #5, (31416, 5715)
We found Cleansing Crystal and will harvest it.
Clearing target.
Moving to waypoint #5, (31416, 5715)
Moving to waypoint #6, (31416, 5715)
Moving to waypoint #7, (31742, 5070)
Moving to waypoint #8, (31860, 4646)
Moving to waypoint #9, (31847, 4583)
Moving to waypoint #1, (31847, 4592)
Use MACRO: Executing RoMScript "GetBagCount();".
We try to find NPC 112794:
We successfully target NPC Blinsik and try to open the dialog window.
Quest completed: Helping Them Grow
Current acc/char 7,2
checking account 4
no chars in list
checking account 5
no chars in list
checking account 6
no chars in list
Last player finished.
02/08/13 14:11:14  Auto-logging out.
Did not find any crashed game clients.
2:11pm - Exiting: Auto-logout


Please enter the script name to run.
Type in 'exit' (without quotes) to exit.
Script>
_____________________________________________________________________________________________________________________________
i run "elfdaily_two" - in this script i have accounts 7, 8 and 9.
__
@edit
I run on three clients in the same time, on scripts "elfdaily"-accounts 4,5,6,"elfdaily_two"-accounts 7,8,9,"elfdaily_three"-accounts 10,11

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

Re: rock5's "fastLogin Revisited"

#415 Post by rock5 » Fri Feb 08, 2013 8:47 am

Well it checked accounts 4,5,6 so there is something wrong with your charlist.

By the way, if the scripts are the same, you don't need to have 3 files just because you want to use 3 groups of accounts. You can use a charlist like this

Code: Select all

       SetCharList({{
         -- enter account number and char numbers that you like to run this script
          {account=4 , chars= {}}, 
          {account=5 , chars= {}}, 
          {account=6 , chars= {}}, 
       },{
          {account=7 , chars= {}}, 
          {account=8 , chars= {}}, 
          {account=9 , chars= {}}, 
       },{
          {account=10 , chars= {}}, 
          {account=11 , chars= {}}, 
       }})
  • 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

Jamnyk
Posts: 28
Joined: Thu Nov 15, 2012 7:12 am

Re: rock5's "fastLogin Revisited"

#416 Post by Jamnyk » Fri Feb 08, 2013 9:50 am

I d'like to run 3 accounts in the same time, no one after another

elfdaily -

Code: Select all

function relog()
        SetCharList({
         -- enter account number and char numbers that you like to run this script
		 {account=4 , chars= {}},  
		 {account=5 , chars= {}},  
		 {account=6 , chars= {}},  
         })
        LoginNextChar()
        loadProfile()
        loadPaths("ElfDaily");
      end		
elfdaily_two -

Code: Select all

function relog()
        SetCharList({
         -- enter account number and char numbers that you like to run this script
		 {account=7 , chars= {}},  
		 {account=8 , chars= {}},  
		 {account=9 , chars= {}},  
         })
        LoginNextChar()
        loadProfile()
        loadPaths("ElfDaily");
      end			
elfdaily_three -

Code: Select all

function relog()
        SetCharList({
         -- enter account number and char numbers that you like to run this script
		 {account=10 , chars= {}},  
		 {account=11 , chars= {}},  
         })
        LoginNextChar()
        loadProfile()
        loadPaths("ElfDaily");
      end		
so... i think it ignore text after _ and at all script after few minutes it load "ElfDaily"

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

Re: rock5's "fastLogin Revisited"

#417 Post by rock5 » Fri Feb 08, 2013 11:23 am

You have all of them loading the same file. " loadPaths("ElfDaily");". Each one should reload itself. So elfdaily_two should use " loadPaths("ElfDaily_two");" and elfdaily_three should use " loadPaths("ElfDaily_three");". Or a good idea to reload the samee file is to use "loadPaths(__WPL.FileName);". That way if you rename the file you don't need to rename the file name used in the loadPaths.

But what I said in my previous post will work. Let me explain it a bit better. With your 3 files the setcharlist command sends 1 group of 2 or 3 accounts and it goes through that group until finished. What I posted above was 3 groups of 2 or 3 accounts. If you use that setcharlist then it will work out which group to use based on the current account then load the next in the same group. When it reaches the end of that group it will stop as usual.

So if you use that setcharlist I posted above and start 3 clients with accounts 4, 7 and 10 then the first client will use the first group of accounts and end with account 6, the second client will use the second group of accounts and end with account 9 and the last client will use the third group of accounts and end with account 11.

Trust me. Try it, it will work.

Code: Select all

       SetCharList({{
         -- Group 1
          {account=4 , chars= {}},
          {account=5 , chars= {}},
          {account=6 , chars= {}},
       },{
         -- Group 2
          {account=7 , chars= {}},
          {account=8 , chars= {}},
          {account=9 , chars= {}},
       },{
         -- Group 3
          {account=10 , chars= {}},
          {account=11 , chars= {}},
       }})
  • 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

Jamnyk
Posts: 28
Joined: Thu Nov 15, 2012 7:12 am

Re: rock5's "fastLogin Revisited"

#418 Post by Jamnyk » Fri Feb 08, 2013 11:46 am

I use only one micromacro window? or must i open three mm windows and at all of them run "ElfDaily"?

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

Re: rock5's "fastLogin Revisited"

#419 Post by rock5 » Fri Feb 08, 2013 12:10 pm

The MM console connects to only 1 client. If you want to run 3 at a time you have to have an MM console per client.
  • 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

Jamnyk
Posts: 28
Joined: Thu Nov 15, 2012 7:12 am

Re: rock5's "fastLogin Revisited"

#420 Post by Jamnyk » Fri Feb 08, 2013 2:05 pm

Yeah, it work! You are a genius Rock! :)

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests