Introducing ArmorySync

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

Moderators: Ulminia, poetter

Introducing ArmorySync

Postby Rahtak » Mon May 14, 2007 2:53 pm

also last update use the date armory was updated not the date roster was updated. might be why some poeple get update again after you just updated even with the 24 hour no update setting
Rahtak
WR.net Journeyman
WR.net Journeyman
 
Posts: 78
Joined: Fri Jul 14, 2006 11:54 am

Introducing ArmorySync

Postby Yevaud » Tue May 15, 2007 12:57 am

Ok I was getting some errors, and it takes quite a bit of reading and rereading (atleast for me) to find all the solutions, but the addon rocks!

Be sure you have the php curl stuff loaded and usable by php.
Be sure to use curl as the problem with a "Member not updated message" will be eliminated.
Be patient, it takes a while to load :)


Thanks,

Yevaud
Last edited by Yevaud on Tue May 15, 2007 5:14 am, edited 5 times in total.
User avatar
Yevaud
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Sat Apr 21, 2007 1:02 pm

Introducing ArmorySync

Postby Raichu » Tue May 15, 2007 11:22 am

I dunno , no matter what changes i make, it still timesout
Raichu
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Mon Jan 29, 2007 11:51 pm

Introducing ArmorySync

Postby Raichu » Tue May 15, 2007 12:15 pm

2. Added ability to synch using a player name in the URL (bypasses security, but only updates a single player). I have NOT made any changes to any listings to support said functionality, but there are members who have posted code to do so.


Whats the correct command to do this?
Raichu
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Mon Jan 29, 2007 11:51 pm

Introducing ArmorySync

Postby Pugro » Tue May 15, 2007 7:22 pm

Something like this I think:

Code: Select all
http://www.xyz.com/roster/addon.php?roster_addon_name=ArmorySynch&syncplayer=PLAYERNAME
Last edited by Pugro on Tue May 15, 2007 7:23 pm, edited 1 time in total.
--------------------------------
Pugro_
Ice and Trinity Guilds, Nordrassil, EU PvE
www.iceguild.org.uk, www.trinityguild.net
Image
Pugro
WR.net Journeyman
WR.net Journeyman
 
Posts: 79
Joined: Fri Jul 07, 2006 2:14 pm
Location: London, UK

Introducing ArmorySync

Postby Raichu » Tue May 15, 2007 8:14 pm

Thanks, that works nicely...

Just wonder why everything now set at update at : Thu May 10th, 8:00am
Raichu
WR.net Apprentice
WR.net Apprentice
 
Posts: 18
Joined: Mon Jan 29, 2007 11:51 pm

Re: Introducing ArmorySync

Postby kaleyn » Wed May 16, 2007 1:19 am

Is it possible to instead of pulling in the data from Armory, we could just change the person's link in the roster to fly out to the Armory and bring up their page?

Then you don't need to do anything ever...just click on the link.

I don't know where in the code, it displays this information for hte Roster. ANy insights would be helpful.

And I apologize if this is slighly off topic.
Johann Wolfgang Von Goethe --
Treat people as if they were what they ought to be and you help them to become what they are capable of being.
User avatar
kaleyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jan 08, 2007 7:59 pm

Introducing ArmorySync

Postby Pugro » Wed May 16, 2007 1:29 am

EU Armory is a bit "tempremental"...your own roster is likely to be a bit more reliable on a day to day basis probably :D
--------------------------------
Pugro_
Ice and Trinity Guilds, Nordrassil, EU PvE
www.iceguild.org.uk, www.trinityguild.net
Image
Pugro
WR.net Journeyman
WR.net Journeyman
 
Posts: 79
Joined: Fri Jul 07, 2006 2:14 pm
Location: London, UK

Re: Introducing ArmorySync

Postby cwhaland » Wed May 16, 2007 2:09 am

does anyone have a quick fix for this

1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ( ISNULL(players.name) OR STR_TO_DATE(players.dateupdatedutc,'%m/%d/%y %H:%i' at line 1


SQL:
SELECT members.name FROM `roster_members` members LEFT JOIN `roster_players` players ON members.name = players.name WHERE members.level >= AND ( ISNULL(players.name) OR STR_TO_DATE(players.dateupdatedutc,'%m/%d/%y %H:%i:%s') <= DATE_SUB(NOW(), INTERVAL HOUR) ) ORDER BY
File: index.php
Line: 37

Just downloaded and installed today. Perhaps someone has some directions for people that are not developers or experts in php and mysql.

thanks

P.S. using mysql version 5.0.33
using php version 5.2.1
cwhaland
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Wed May 16, 2007 12:16 am

Introducing ArmorySync

Postby Suzzanne » Thu May 17, 2007 6:15 pm

i keep getting the same thing

Non-Critical Error: Incomplete Data for Cazam. Player has probably not updated in awhile.
Cazam synched: 0 seconds. Total runtime: 0 seconds.
Non-Critical Error: Incomplete Data for Patella. Player has probably not updated in awhile.
Patella synched: 0 seconds. Total runtime: 0 seconds.
Non-Critical Error: Incomplete Data for Silluaè. Player has probably not updated in awhile.
Silluaè synched: 1 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Zoda. Player has probably not updated in awhile.
Zoda synched: 0 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Rabain. Player has probably not updated in awhile.
Rabain synched: 0 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Canas. Player has probably not updated in awhile.
Canas synched: 0 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Deathknell. Player has probably not updated in awhile.
Deathknell synched: 0 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Summer. Player has probably not updated in awhile.

Its only ever updated the same chars and thyats only 2 of them it wont do the rest of the guild is there a fix for this ?
Image
Image
Image
User avatar
Suzzanne
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Mon Aug 14, 2006 2:37 pm

Introducing ArmorySync

Postby darthsid » Fri May 18, 2007 7:55 pm

mine just seems to time out.

european armory. Tried setting the level to 60/70 still time outs.
:(
darthsid
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Mon Apr 23, 2007 9:28 pm

Re: Introducing ArmorySync

Postby jffire » Fri May 18, 2007 8:31 pm

Suzzanne wrote:i keep getting the same thing

Non-Critical Error: Incomplete Data for Cazam. Player has probably not updated in awhile.
Cazam synched: 0 seconds. Total runtime: 0 seconds.
Non-Critical Error: Incomplete Data for Patella. Player has probably not updated in awhile.
Patella synched: 0 seconds. Total runtime: 0 seconds.
Non-Critical Error: Incomplete Data for Silluaè. Player has probably not updated in awhile.
Silluaè synched: 1 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Zoda. Player has probably not updated in awhile.
Zoda synched: 0 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Rabain. Player has probably not updated in awhile.
Rabain synched: 0 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Canas. Player has probably not updated in awhile.
Canas synched: 0 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Deathknell. Player has probably not updated in awhile.
Deathknell synched: 0 seconds. Total runtime: 1 seconds.
Non-Critical Error: Incomplete Data for Summer. Player has probably not updated in awhile.

Its only ever updated the same chars and thyats only 2 of them it wont do the rest of the guild is there a fix for this ?


Those errors are habitually because those chars accounts have been deleted or suspended or that theyre not yet updated in the Armory site.
User avatar
jffire
WR.net Apprentice
WR.net Apprentice
 
Posts: 30
Joined: Wed Jul 26, 2006 8:38 pm

Re: Introducing ArmorySync

Postby kaleyn » Wed May 23, 2007 9:23 am

Pugro wrote:EU Armory is a bit "tempremental"...your own roster is likely to be a bit more reliable on a day to day basis probably :D


Agreed, but having to upload a new config file everytime I want to update is just as much as a pain in the arse as dealing with the actual armory website.

So...does anyone know how to do this?
Johann Wolfgang Von Goethe --
Treat people as if they were what they ought to be and you help them to become what they are capable of being.
User avatar
kaleyn
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Mon Jan 08, 2007 7:59 pm

Re: Introducing ArmorySync

Postby tuigii » Wed May 23, 2007 9:41 am

Please, let me get this straight.

I download and Install the latest and greatest.... (version 27/04/2007).

I'm using a French version (European server), so I assign "armory.wow-europe.com" to $addon_conf['ArmorySync']['Host'].
I do not touch any other config options. (Ok, I put debug to lvl 2 :twisted: ).

In the index.htm file I activate this line :
synchPlayer(null, "MyPerson"); //Synchs one player - Mine ;-)
and // all the others.

I go to my roster, click on Add On button, enter my password ..... and then I whait.
How long ? Finally, IE times out, no messages on the screen.

From what I can understand, curl_exec doesn't return .... anything.

When I read this entire thread, I found that for the French version a new curl_setopt ($ch, ... ad to be added. Is that still true ?

I tried the FileSocket version : same thing..... nothing comes back - no errors either. It just times out.

On the 'Armory', my character is very very up to date....
It's even rather fast the last couple of days.

I know that I have PHP 4.4.4 on my server - and curl is present....

How does one debug this stuff .... nothing gets printed on the page ....

I hardcoded an usUS server, and a Guild. I chose a recent character in this Guild.
Of course, I excluded Roster Updates.

This works 'rather fast' ... :scratch:

EDIT : forget about this post.
I reloaded everything ones again.
Change the config for a europen server (the first line).
Removed these for line in functions.general.php (i comment thme out) :
Code: Select all
//   if (!($content = strstr($content, "<" . $rootNode))) {
//      //Throw Error
//      print "CRITICAL ERROR - no root XML node found: " . $host . $request . " " . $rootNode . "<br>" . $buffer;
//   }

because $rootNode is always set to "page" anyway. (third argument).
I added the lines as said here :
http://www.wowroster.net/Forums/viewtop ... html#21666
(i'm using a fench roster) and all was PERFECT ! updated a 100+ guild in less then 30 secondes.

I'm amazed ..... and probably using the Armory arround major upgrade times just blew it out of the water - it's ok now.
Last edited by tuigii on Mon May 28, 2007 4:05 am, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Introducing ArmorySync

Postby Malkom » Tue May 29, 2007 6:34 pm

I've just install ArmorySynch on my roster.

I've changed $addon_conf['ArmorySync']['Host'] to armory.wow-europe.com because we are on European Server (French)

I've make the 2 little modification indicate by tuigi in functions.general.php

But when I do my synch, I have an "500 - Internal Server Error"...

PS : the password is the roster's password ?
Image
User avatar
Malkom
WR.net Journeyman
WR.net Journeyman
 
Posts: 144
Joined: Tue Jan 09, 2007 11:02 am
Location: France - 91 - Longjumeau

PreviousNext

Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron