Page 21 of 46

Re: rock5's "fastLogin Revisited"

Posted: Mon Feb 04, 2013 10:58 pm
by lisa
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

Re: rock5's "fastLogin Revisited"

Posted: Tue Feb 05, 2013 12:35 am
by rock5
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.

Re: rock5's "fastLogin Revisited"

Posted: Tue Feb 05, 2013 6:58 am
by kenzu38
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.

Re: rock5's "fastLogin Revisited"

Posted: Tue Feb 05, 2013 9:55 am
by rock5
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.

Re: rock5's "fastLogin Revisited"

Posted: Tue Feb 05, 2013 3:10 pm
by kenzu38
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.

Re: rock5's "fastLogin Revisited"

Posted: Wed Feb 06, 2013 5:24 am
by kenzu38
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.

Re: rock5's "fastLogin Revisited"

Posted: Wed Feb 06, 2013 7:02 am
by rock5
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.

Re: rock5's "fastLogin Revisited"

Posted: Wed Feb 06, 2013 8:27 am
by kenzu38
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. :)

Re: rock5's "fastLogin Revisited"

Posted: Thu Feb 07, 2013 3:17 pm
by Jamnyk
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?

Re: rock5's "fastLogin Revisited"

Posted: Thu Feb 07, 2013 10:30 pm
by rock5
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?

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 2:22 am
by Jamnyk
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.

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 2:57 am
by rock5
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.

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 3:36 am
by rock5
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.

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 8:23 am
by Jamnyk

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

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 8:47 am
by rock5
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= {}}, 
       }})

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 9:50 am
by Jamnyk
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"

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 11:23 am
by rock5
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= {}},
       }})

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 11:46 am
by Jamnyk
I use only one micromacro window? or must i open three mm windows and at all of them run "ElfDaily"?

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 12:10 pm
by rock5
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.

Re: rock5's "fastLogin Revisited"

Posted: Fri Feb 08, 2013 2:05 pm
by Jamnyk
Yeah, it work! You are a genius Rock! :)