Replies: 2 comments 2 replies
-
First part sounds great, with For the second I was going to run them separately, but maybe we can have a variable at the end of config.ini |
Beta Was this translation helpful? Give feedback.
-
Maybe the sequential running can be planned for the future? My priority currently is to get basic functionality for my configuration (cron-ing accounts to run daily tasks at reset) so I can move to the main branch. I agree with specific names though, I have main account, SG account and test server account so I'd rather have them named than remember them by acc1-acc2 etc |
Beta Was this translation helpful? Give feedback.
-
I'd like to start this discussion to make sure we think about this correctly before attempting to develop it.
Goal
Have the script run on various accounts of the same email, taking into consideration
config
s andaccount-info
s for each account. Give users as much choice and freedom as possible.Brainstorming
How? Probably with a mix of new
config.ini
variables and flags.I'm thinking of a
config.ini
variable in thePlayer
section calledaccountNumber=0
which dictates which account thisconfig.ini
file is assigned to. The default value is0
, which would mean the script would not attempt to change accounts. If, however,accountNumber
is greater than0
, the script should attempt to click on the appropriate account inside the "Select Server" setting before executing, where the top one is1
and the bottom one6
. We'll probably have a maximum of 6 accounts by the looks of it, as more require scrolling. And who even has more than 6 accounts to run the script on... If you do, you're probably wanting to sell the account later and I don't like that anyways.Regarding flags, I'm guessing we'll have to use those to let the script know which config files to use. But various questions arise:
config.ini
files get sent to the emulator, while also relaunching the same script with anotherconfig.ini
?And I don't really have an answer to be honest.
./deploy.sh -a configAcc1.ini -a configAcc2.ini ...
)./deploy.sh -a "configAcc1.ini,configAcc2.ini"
)./deploy.sh -a 3
and there are threeconfigAcc[1|2|3]
files)Considerations
Beta Was this translation helpful? Give feedback.
All reactions