After a few tests, it does not fit my needs
I want to rotate 10 accounts once
I don't know when I'll launch AB, it can be at 9pm, at 3am, at 11 am, but I will definitly launch it once, every day.
So my setup : I scheduled the 10 accounts to run on schedule from 0 to 23:59, and a plugin to auto start.
This plugin will do a job then automatically close the client when done
The core problem :
When I launch AB, the first account is automatically launched : wonderfull
But then, after 10sec, it try to launch a second account, although the first one isnt even loaded. And it fails because I purposely use a 1 session key
And every 10 sec, it continues trying to launch another account
By the meantime, my first account was launched, the plugin ran, and after completion, shut down the game client.
Then the scheduler launched another account (the 6th...), then continue its silly routine, trying to launch every account
So my accounts are randomly launched and I dont benefit from the scheduler feature.
You should add a textbox in the settings to allow users to set how many concurrent accounts can be launched
This way, it will only rotate 1 by 1, or 2 by 2, or 3 by 3 accounts, depending on user preferences (I have 1 and 3 session keys, but some of my cpu cant handle more than 2 archeage sessions, so you shouldnt rely on the key possibilities)
If it can be of any help, here is the code I currently use to achieve this using autoit :
http://pastebin.com/aQmjDpbs
It use a configuration file like this :
[Timings]
CheckConnection=10000
WaitAfterClick=500
[PluginsToRun]
FirstAccount = PluginA.dll
FirstAccount = PluginB.dll
SecondAccount = PluginB.dll
ThirdAccount = PluginA.dll
...
For every account/plugin pair in the "PluginsToRun" section, it will launch the account then launch the plugin (this plugin is supposed to connect one or more characters, do its job, then close client when done)