Would the "scholar" account not need the base pack for this to be feasible with their account?
As far as I remember you can't play SL without first purchasing the "starter pack" or whatever it's called... Tome or something like that.
Link to my account: https://genie.peakd.com/@klye
No, the 'Scholar' would not need to purchase a 'Spellbook'
I have accounts the scholar could use.
These accounts have the Spellbook then?
I could rip the function from the SL site to check for that.. Sanity checks to ensure proper execution of code functions is pretty important, what may seem like 3 simple functions is likely closer to a dozen functions by time you add the checks and balances, load balancers, API node test/changers, etc etc etc... and this is before any sort of GUI involvement.
I( can likely facilitate the code in order to accomplish this... Are you looking for something with a UX/GUI or just a simple app/script that you can run?
Are your accounts a CSV list or JSON object, or simple text document? How many accounts are we talking? We can likely hash out your exact requirements beyond the core objectives and get a build going here shortly.. Working on a few other things at the moment as well, but if this wish is something feasible for me to bang off quick here... Will certainly do so.
A) Yes, these accounts have the Spellbook.
B) Simple app/script is all I'm looking for.
C) The will only be 2 Accounts/instance.
Any need for HP / RC / Mana monitoring in order to ensure the account in question has enough resources to perform the actions needed?
2 accounts per an instance is arbitrary? It's honestly easier to design the thing to handle the total amount of accounts needed now and possibly in the future then break it up into a bunch of apps clustered running different accounts.. It's a file access / data integrity nightmare to have identical scripts running unless it's been specifically designed to play nice while running clustered.
Any need for logging / history / etc etc? Or do you prefer an app with only the output required to view it's operating as intended?
Just about got this nailed down I think.. Will probably take a few hours to get the thing running properly (bouncing between tasks today, busy monday) but I'm willing to take a crack at this.
No, no need for HP/RC/Mana monitoring- I have plenty of that for these accounts.
2 Accounts/Instance isn't arbitrary. The 'overall' picture is:
Which kicks off the next cycle.
For SPL, an account can 'store' 50 Energy. Each account gains 1 Energy/hr. Playing a game costs 1 Energy. Card Rentals are 48hrs.
For each Instance, there would be 2 Accounts. Each account would be active for 2 days and dormant for 2 days.
At 'handoff'- the newly active account would have stored up ~48 Energy. This would allow the scholar to play ~96 Battles over the next 48hrs, while the dormant account would be storing up Energy for the next cycle.
State management between applet closure is likely the most involved part of this to be honest. You know SQL eh? I'd propose using sequelize ORM with MariaDB(SQL of choice for me) or maybe a SQLite DB?
Appreciate the further flush out of the intended design / actions. Helps immensely
OR....
We
node-cron
everything and avoid the DB altogether for this initial biuld././ leave that for you to do?Side note.. My main coding language is JS/NodeJS/Typescript...
I can leave detailed instructions on how to install and run the script, or if required compile into an executable (depending on your OS).
Your call. Been a while since I messed with SL bots, but have some pre-existing code here I hopefully can leverage/modify to get your wish granted.
I know JS and can work my way through the rest (mostly fluent in SQL)
Will probably install this script on a Google Cloud so it just.... runs.
Ah, right on!
I'll leave the history and whatnot to you then.
Going to start on your script core here shortly!
Will try and get it done tonight.. worst case be done by noon Wednesday?
Side note: I'd personally never run code given to me by anyone online without it being audited / read through with my own eyes.. Always be careful with software acquired online, in this case I'm not malicious in the slightest but I can't speak for all HIVE devs.
Cheers! talk soon.
Yes, you would need a Spellbook to be able to earn on the account. I guess he didn't include this entry-level step in the process since it is only a one-time fee and does not need to be repeated to allow a scholar to play the account. I just assumed this list would be to get any random player to get started to scholar on a pre-existing account.
The accounts used in this scenario, would be mine. I have several accounts that I'm not using for anything.
Yeah... I'm just trying to narrow down all the fringe cases or potential snags something like this would have... 80% of software engineering is architecture design (often in ones mind) and sanity checks, with the other 20% being bug hunting and actual typing. :P