Armory Synch does not update entire roster

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

Moderators: Ulminia, poetter

Armory Synch does not update entire roster

Postby Shadow7789 » Thu Jul 19, 2007 5:22 am

In simplest terms, my problem is that Armory Synch does not completely update the roster when I tell it to update. This causes the coexistence of characters with all "grey" items (from the last version) and characters whos color is parsed correctly (from the most recent version). I am not sure if this partial updating is intended behavior or not, but is there any way I can force a complete update of the data on my roster?

On a side note, is there any planned support for parsing talent data?


EDIT: I came to discover that the addon only updates the same characters every time I refresh it.
Last edited by Shadow7789 on Thu Jul 19, 2007 9:55 am, edited 2 times in total.
Shadow7789
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Wed Jul 18, 2007 12:44 am

Armory Synch does not update entire roster

Postby Pugro » Thu Jul 19, 2007 3:33 pm

To completely force a refresh you could try modifying the query that retrieves the members to update within index.php:

Code: Select all
   $query =
      "SELECT members.name " .
      "FROM `".ROSTER_MEMBERSTABLE."` members " .
      "LEFT JOIN `".ROSTER_PLAYERSTABLE."` players " .
      "ON members.name = players.name " .
      "WHERE members.level >= " . $addon_conf['ArmorySync']['MinLevel'] . " " .
      "AND ( ISNULL(players.name) " .
            "OR STR_TO_DATE(players.dateupdatedutc,'%m/%d/%y %H:%i:%s') <= DATE_SUB(NOW(), INTERVAL " . $addon_conf['ArmorySync']['SynchCutoffTime'] . " HOUR) ) " .
      "ORDER BY " . $addon_conf['ArmorySync']['MemberSorting'];


Try removing the lines:

Code: Select all
      "AND ( ISNULL(players.name) " .
            "OR STR_TO_DATE(players.dateupdatedutc,'%m/%d/%y %H:%i:%s') <= DATE_SUB(NOW(), INTERVAL " . $addon_conf['ArmorySync']['SynchCutoffTime'] . " HOUR) ) " .


and re-running again, that should try and update all characters no matter when the last update was detected.

May be worth backing up the roster DB before playing about with this though :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

Armory Synch does not update entire roster

Postby Shell » Mon Jul 23, 2007 10:39 am

I'm getting a similar problem, although I'm still testing the software to make sure it's suitable. It seems to import part of the guild info from the armory, then stops, and I'm left with a blank page.

As far as I can tell, it seems to be loading the same data over and over again.
Shell
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Mon Jul 23, 2007 10:36 am

Re: Armory Synch does not update entire roster

Postby Shell » Tue Jul 24, 2007 9:07 pm

I've switched off of curl, which cleared up my 500 error, but it still ends up with a blank page, and an incomplete guild update.

I already removed the above lines, and even uncommented this line:
Code: Select all
   synchGuild(); //Synchs the Guild Member List (does not update all players by default)
Shell
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Mon Jul 23, 2007 10:36 am


Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron