I'll have to come back later for the rest of your comments, but this one really caught my eye. There are problems with having an executable that you ask the users to subsequently run, though. First off, not everyone in the player base is running under Windows, so your ".exe" will not be usable to everyone who is otherwise using the add-on. Second, making the process of collecting / submitting census data even more involved will likely decrease total submissions. Third, even for Windows users, not everyone will be comfortable with having an add-on that includes an executable that they are asked to run (with good reason, as account compromises have occurred in this manner).aberman wrote:Sorry I didn't answer this question.Kosh wrote:Uh, how? An addon has no way to access anything outside the game, including Armory web pages.aberman wrote:This would not have to be done live in the game at the same time as the "/who" lookup, but it could if programmed to do so.
It is clear that Census+ stores the data gathered in-game and maintains it in a file even when out of game. It is possible that when out of game, then user could click on a launching application (.exe file within the Census+ folder) that takes the in-game information which was gathered, access the armory via the web (still out of game), and import the missing information needed based on the players gathered while in-game. Since most people are dual-spec, you would probably use the one that has the "*" by it to indicate that is the spec with the best gear.
Personally, I am extremely opposed to using any add-ons that bundle an executable, and would stop using Census+ if that ever took place. Being bundled with some kind of (shell or other) script wouldn't be so bad, since anyone can examine what it does, but then that would probably exclude the majority of Windows users.
Ignoring the other issues with having each user run an Armory scraping program for the moment, doing such would be much less efficient (not to mention potentially being interpreted as a DDoS attack if / when several people happen to kick off the program at the same time). Any realm / faction which is "well covered" by several people will have mostly duplicate characters in each of those people's Lua files, leading to many duplicate pages being scraped on the Armory. I'll also point out, in case you didn't know, that unless you Purge, etc. your data in-game with Census+, the data file keeps growing with everyone you've seen during any run of C+, so unless you limited the look-ups to some arbitrary "last seen" window, you would be increasing the number of Armory queries (potentially quite dramatically) each time you would run the program after exiting the game.
Even though I think scraping the Armory is a bad idea for Census+ for several reasons, it would logically make the most sense for such activity to occur centrally (i.e., by warcraftrealms.com) to avoid so much duplication.
I am curious on where you got your information that "most [characters] are dual-spec". I took a quick visit to the Armory (man, it seems to get boggier every time I visit), and pulled up a few random characters. Yes, I only picked on 80's. Most of the ones I picked were not dual-spec, but I certainly didn't pull a statistically significant sample.