Introducing ArmorySync

Sync Blizzards' Armory data with WoWRoster (addon depreciated no longer works see ApiSync)

Moderators: Ulminia, poetter

Introducing ArmorySync

Postby fewyn » Sat Mar 24, 2007 5:16 am

Is there a way to set this up to synch the players in the guild list already as I use characterprofiler and guildprofiler already and it seems to be importing old members no longer with us and deleting members who have just recently joined.
User avatar
fewyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Wed Jul 05, 2006 8:38 am

Re: Introducing ArmorySync

Postby Bajah » Sat Mar 24, 2007 5:40 am

Kristoff22 wrote:
Bajah wrote:I must be stupid. I see in the first post that it says "You must edit your index.php" but I don't see anything anywhere about what inside that php I should be editing and there's (as mentioned) no documention.

I can't even get it to activate. I put the "&Activate=true" as instructed, but it doesn't do anything. I've tried Firefox and IE both. In IE it gives me the new IE7 version of a 404 and in Firefox, it just gives a blank white screen.

And then still says I need to activate it.

Did I miss something really easy? Prove me stupid, please.

http://sok.bajah.com/roster

(I created a fresh new roster and started from there for testing, so it's just a guild with no player updates)


it should be just http://sok.bajah.com/roster/addon.php?r ... ivate=true . However, it does take awhile to load - it could be up to 10 or 15 minutes.


No such luck. As I said, in IE, it thinks for a moment or two and then tells me that the page could not be found. In Firefox, it thinks for a moment and just loads a blank white page with "Done" in the status bar. I even tried letting it sit there for 20 minutes to be safe, but it still tells me that it needs to be activated if I try and click on it.

Sigh. Is there anything I need to do elsewhere before it will work? This is a fresh roster install, from scratch. I can't even GET to the errors everyone else is talking about ;)

Vanterax wrote:And I think that's my biggest problem right now. My browser (be it Firefox or IE7) will timeout before the process completes... Our guild has 428 members...

Vanterax's point makes sense to me, though, as our guild is almost at 500 members. :/
<img src="http://sok.bajah.com/rosteraddons/siggen/sig.php?member=Bajah ">
User avatar
Bajah
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Mon Aug 14, 2006 7:08 pm

Introducing ArmorySync

Postby fewyn » Sat Mar 24, 2007 5:45 am

It's probably timing out on you real quick for some reason... might want to check the php timeout limit in your php install by asking your host.
User avatar
fewyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Wed Jul 05, 2006 8:38 am

Introducing ArmorySync

Postby Vanterax » Sat Mar 24, 2007 5:47 am

It's not timing out real quick. It's waiting for a response from the server for a long time and eventually times out.
Vanterax
WR.net Apprentice
WR.net Apprentice
 
Posts: 66
Joined: Wed Dec 13, 2006 6:58 am

Introducing ArmorySync

Postby Bajah » Sat Mar 24, 2007 5:54 am

Upon actually looking at my roster memberlist, it is actually pulling down data from the Armory. Sorted by name, everyone who has logged in and out recently with a name beginning with A through O are actually showed as having uploaded profiles. WOOT. Anyone with P through Z are kind of screwed ;)

492 members. Argh.
<img src="http://sok.bajah.com/rosteraddons/siggen/sig.php?member=Bajah ">
User avatar
Bajah
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Mon Aug 14, 2006 7:08 pm

Introducing ArmorySync

Postby fewyn » Sat Mar 24, 2007 6:32 am

Eek... that's a big guild... guessing it's mostly alts?
User avatar
fewyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Wed Jul 05, 2006 8:38 am

Re: Introducing ArmorySync

Postby Bajah » Sat Mar 24, 2007 6:42 am

fewyn wrote:Eek... that's a big guild... guessing it's mostly alts?

About 65% or so, yar.
<img src="http://sok.bajah.com/rosteraddons/siggen/sig.php?member=Bajah ">
User avatar
Bajah
WR.net Apprentice
WR.net Apprentice
 
Posts: 38
Joined: Mon Aug 14, 2006 7:08 pm

Re: Introducing ArmorySync

Postby Vanterax » Sat Mar 24, 2007 7:10 am

fewyn wrote:Eek... that's a big guild... guessing it's mostly alts?


According to GuildAlts, 294 members and the rest are alts. Just like Bajah, I got a big chunk of profiles updated sucessfully, but then it stops. I don't really see a solution to this unless it's possible to pull all that data from the armory in smaller chunks.
Last edited by Vanterax on Sat Mar 24, 2007 7:49 am, edited 1 time in total.
Vanterax
WR.net Apprentice
WR.net Apprentice
 
Posts: 66
Joined: Wed Dec 13, 2006 6:58 am

Re: Introducing ArmorySync

Postby Kristoff22 » Sat Mar 24, 2007 8:37 am

There are definitely some optimizations that can be done with it, for sure. That should help out with guilds that have 400+ members.

In terms of getting only existing members of the guild, if you download the new version, it should do that by default. Because the interaction with the guild member portion of Armory is so buggy (Armory does not have an updated list by any means) I decided to grab all of the current members from Roster and synch them. Guild member synchronization should be done through uploading the CharacterProfiler.lua.
Kristoff22
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Mon Nov 13, 2006 5:54 am

Re: Introducing ArmorySync

Postby Tazochai » Sat Mar 24, 2007 8:49 am

Kristoff22 wrote:
Tazochai wrote:this is the error I get.. Looks like armory.worldofwarcraft.com/character-sheet.xml should be armory.worldofwarcraft.com/#character-sheet.xml


Code: Select all
CRITICAL ERROR - no root XML node found: armory.worldofwarcraft.com/character-sheet.xml?r=Proudmoore&n=Abaca page
HTTP/1.0 411 Length Required Server: squid/2.5.STABLE12 Mime-Version: 1.0 Date: Wed, 21 Mar 2007 21:28:56 GMT Content-Type: text/html Content-Length: 1426 Expires: Wed, 21 Mar 2007 21:28:56 GMT X-Squid-Error: ERR_INVALID_REQ 0 X-Cache: MISS from wc01.inet.mesa1.secureserver.net Connection: close
ERROR
The requested URL could not be retrieved

While trying to process the request:

GET /character-sheet.xml?r=Proudmoore&n=Abaca HTTP/1.0
Host: armory.worldofwarcraft.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Connection: close
Content-Length: 41


The following error was encountered:

    * Invalid Request

Some aspect of the HTTP Request is invalid. Possible problems:

    * Missing or unknown request method
    * Missing URL
    * Missing HTTP Identifier (HTTP/1.0)
    * Request is too large
    * Content-Length missing for POST or PUT requests
    * Illegal character in hostname; underscores are not allowed

Your cache administrator is webmaster.



It looks like it's not sending armory.worldofwarcraft.com in the get request. It doesn't have to do with the # symbol.



Thanks I thought that might be the case.... btw godaaddy is sucking :(
Tazochai
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Mon Aug 07, 2006 9:24 am

Introducing ArmorySync

Postby Vanterax » Sat Mar 24, 2007 9:12 am

I am with GoDaddy and got it to work from Amannim's post. Try it.
Vanterax
WR.net Apprentice
WR.net Apprentice
 
Posts: 66
Joined: Wed Dec 13, 2006 6:58 am

Re: Introducing ArmorySync

Postby fewyn » Sun Mar 25, 2007 12:24 am

Hmmm... I'm now getting this error after updating to the latest version. >_>

HTTP/1.1 200 OK Date: Sat, 24 Mar 2007 16:16:45 GMT Server: Apache Content-Length: 0 Connection: close Content-Type: application/xml Retried 3times for: item-tooltip.xml?i=25936&r=Norgannon&n=Onnich〈=enUS
CRITICAL ERROR - no root XML node found: armory.worldofwarcraft.com/item-tooltip.xml?i=25619&r=Norgannon&n=Onnich〈=enUS page
HTTP/1.1 200 OK Date: Sat, 24 Mar 2007 16:16:45 GMT Server: Apache Content-Length: 0 Connection: close Content-Type: application/xml CRITICAL ERROR - no root XML node found: armory.worldofwarcraft.com/item-tooltip.xml?i=25619&r=Norgannon&n=Onnich〈=enUS page

Getting tons of them after it updates a few of the characters. Then it updates a few characters and does it again. Is this normal?
User avatar
fewyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Wed Jul 05, 2006 8:38 am

Introducing ArmorySync

Postby bsmorgan » Sun Mar 25, 2007 1:21 am

There have been quite a few code snippets posted in this topic since the zip file in the base topic was updated. I'm guessing that Kristoff22 is busy working on a new and improved version but I'm hoping that another "beta" can be released with some of the updates.

In particular, DopeFish posted some code with
Code: Select all
 ... password protection ...
 ... guild update ...
which isn't PHP and I'm not smart enough to turn it into PHP! I do, however, believe that Kristoff22 is smart enough to understand what to do!

I fully expect that if a new beta is posted soon, that not all the bugs reported in this topic will be fixed but it will be closer.

Thanks,

Brad Morgan
User avatar
bsmorgan
WoW Interface Developer
WoW Interface Developer
 
Posts: 160
Joined: Tue Nov 28, 2006 10:17 pm
Location: Colorado Springs, Colorado

Introducing ArmorySync

Postby bsmorgan » Sun Mar 25, 2007 1:31 am

I would like to suggest that the initial query:
Code: Select all
   $query = "SELECT name FROM " . ROSTER_MEMBERSTABLE;
be enhanced to select those guild members level 10 and higher and to order the result by last updated. This would help eliminate some of the critical errors for missing data as well as allowing multiple passes to make progress on larger guilds.

Regards,

Brad Morgan
User avatar
bsmorgan
WoW Interface Developer
WoW Interface Developer
 
Posts: 160
Joined: Tue Nov 28, 2006 10:17 pm
Location: Colorado Springs, Colorado

Introducing ArmorySync

Postby Seekers » Sun Mar 25, 2007 11:55 am

Ummm, i get:
Fatal error: Call to undefined function synchPlayers() in /usr/home/web/*******/shaolin-knights.com/skull/main/modules/WoWRosterDF/addons/ArmorySynch/index.php on line 27

when i try run the activate thingy.
I am useing the WoWRosterDF version

It seems like it works with my normal roster

Any suggestions :)?

Else, nice work.
User avatar
Seekers
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Tue Oct 10, 2006 1:38 pm

PreviousNext

Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron