ArmorySync 2.7.0.433 public test

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

Moderators: Ulminia, poetter

ArmorySync 2.7.0.433 public test

Postby Ulminia » Fri Mar 06, 2009 7:00 am

Ver 2.7.0.433 svn 433 is in the download section delete ! the as folder and copy the new one in .. no longer need to update armory.class.php dont need it all xml functions are intagrated... sweet...

guild sync, mem list sync, and character sync should all work now
and Warlocks are not rogues any more :P
talent icons are still busted...
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: ArmorySync 2.7.0.433 public test

Postby dunnothebull » Fri Mar 06, 2009 8:36 am

Getting errors..

Doing the Armory Sync for guilds.

Sync guilds characters with wow armory I get the following error.

Fatal error: Call to a member function setUserAgent() on a non-object in /home/owsdl/public_html/wowroster/addons/armorysync/inc/armorysync.class.php on line 888


ArmorySync Memberlist works.
dunnothebull
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Mon Jul 28, 2008 8:58 pm

ArmorySync 2.7.0.433 public test

Postby Subxero » Fri Mar 06, 2009 8:44 am

open:
/addons/armorysync/inc/armorysync.class.php

find:
Code: Select all
$armory->setUserAgent($userAgent);


change to:
Code: Select all
$armory->user_agent = $userAgent;
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: ArmorySync 2.7.0.433 public test

Postby dunnothebull » Fri Mar 06, 2009 8:54 am

OK getting somewhere here ; )

It is trying to update now.. But I am getting the circle with the line through it.. Instead of a check mark.

addons/armorysync/inc/armorysync.class.php
Notice line 319: Undefined variable: armory
Notice line 321: Undefined variable: realm
Notice line 321: Undefined variable: name
Warning line 1631: Missing argument 3 for ArmorySync::getCharacterData(), called in /home/owsdl/public_html/wowroster/addons/armorysync/inc/armorysync.class.php on line 321 and defined
Notice line 1633: Undefined variable: guild
Notice line 1753: Undefined property: ArmorySync::$debug_url
Notice line 1472: Use of undefined constant USE_CURL - assumed 'USE_CURL'
Last edited by dunnothebull on Fri Mar 06, 2009 9:15 am, edited 1 time in total.
dunnothebull
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Mon Jul 28, 2008 8:58 pm

Re: ArmorySync 2.7.0.433 public test

Postby Crazy_Land1 » Fri Mar 06, 2009 12:38 pm

still get this error while trying to install

Database Error
1366: Incorrect integer value: '' for column 'wrnet_id' at row 1
SQL:
INSERT INTO `roster_addon` VALUES (NULL,"armorysync","2.7.0.433","1",0,"Armory Sync","Syncronizes chars with Blizzard\'s Armory","a:7:{i:0;a:2:{s:4:\"name\";s:7:\"Ulminia\";s:4:\"info\";s:40:\"Author of 2.7 rewrite and new maintainer\";}i:1;a:2:{s:4:\"name\";s:21:\"poetter@WoWRoster.net\";s:4:\"info\";s:21:\"Author of 2.6 rewrite\";}i:2;a:2:{s:4:\"name\";s:24:\"kristoff22@WoWRoster.net\";s:4:\"info\";s:15:\"Original author\";}i:3;a:2:{s:4:\"name\";s:20:\"tuigii@wowroster.net\";s:4:\"info\";s:34:\"testing, bugfixing and translating\";}i:4;a:2:{s:4:\"name\";s:19:\"zanix@wowroster.net\";s:4:\"info\";s:34:\"testing, bugfixing and translating\";}i:5;a:2:{s:4:\"name\";s:16:\"ds@wowroster.net\";s:4:\"info\";s:10:\"supporting\";}i:6;a:2:{s:4:\"name\";s:17:\"ulminia@gmail.com\";s:4:\"info\";s:35:\"testing, bugfixing and code support\";}}","inv_misc_missilesmall_blue","",NULL);
File: lib\dbal\mysql.php
Line: 234

I have even gone into the database phpmyadmin and droped what ever was left there from the other tries and i still get the same error, is this in the code or could this be a database setting that is not set right??
User avatar
Crazy_Land1
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Sep 21, 2007 8:48 am
Location: Earth i Think

ArmorySync 2.7.0.433 public test

Postby Ulminia » Fri Mar 06, 2009 2:13 pm

ok serch for $armory-> in armorysync.class.php replace with //$armory->
the armory file is no longer used
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: ArmorySync 2.7.0.433 public test

Postby tuigii » Fri Mar 06, 2009 2:30 pm

Crazy_Land1 wrote:still get this error while trying to install
....


Crazy, note that I can copie the SQL you stated above, and drop it in phpmyadmin - it will add the record to the table roster_addon without any troubles.
The error being mentioned isn't ok : wrnet_id can be anything, even an empty string (your case) will be accepted - it will default to 0, as many addons have this value.
Even when wrnet_id isn't defined in the installer (in install.def.php : class armorysyncInstall) the the value thrown in the database table will default to 0.

This doesn't seem an armorysync error to me.

Check the structure of your table roster_addon :
Code: Select all
CREATE TABLE IF NOT EXISTS `roster_addon` (
  `addon_id` int(11) NOT NULL auto_increment,
  `basename` varchar(16) NOT NULL default '',
  `version` varchar(16) NOT NULL default '0',
  `active` int(1) NOT NULL default '1',
  `access` int(1) NOT NULL default '0',
  `fullname` tinytext NOT NULL,
  `description` mediumtext NOT NULL,
  `credits` mediumtext NOT NULL,
  `icon` varchar(64) NOT NULL default '',
  `wrnet_id` int(4) NOT NULL default '0',
  `versioncache` tinytext,
  PRIMARY KEY  (`addon_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=155 ;
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: ArmorySync 2.7.0.433 public test

Postby Jolaus » Fri Mar 06, 2009 6:22 pm

Hi it works but dont update Characters

Line 147 inc/armorysync.class.php ArmorySync _getCharacterInfo Parsed character infos Failed
Line 86 inc/armorysync.class.php ArmorySync _getRosterData Parsed all armory data Failed
Line 972 inc/armorysyncjob.class.php ArmorySync synchMemberByID Synced armory data Cygnus with roster Failed

[img_l]http://www.playpic.net/files/wi6twrd99sckumdi81z6.jpg[/img_l]
Last edited by Jolaus on Fri Mar 06, 2009 8:12 pm, edited 1 time in total.
Jolaus
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Mon Feb 16, 2009 9:06 am

ArmorySync 2.7.0.433 public test

Postby Subxero » Fri Mar 06, 2009 6:54 pm

Crazy_Land1:
http://morinmoreshop.homeserver.com/Ban ... rosterdiag
With a Crazy m$ server with IIS 6.0

Try edit install.def.php and after line with version number define wrnet = 0 like
Code: Select all
var $version = '2.7.0.433';
var $wrnet_id = '0';


For login php errors do:
At armorysyncjob.class.php around line 1141
search:
Code: Select all
if( $roster_login->getAuthorized() < $addon['config'][$scope] )

change to:
Code: Select all
if( !$roster->auth->getAuthorized($addon['config'][$scope]))


armorysync.class.php need a very clean/redone functions at moment sync char its not working.

Ulminia you have a PM!
Last edited by Subxero on Fri Mar 06, 2009 8:36 pm, edited 2 times in total.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Re: ArmorySync 2.7.0.433 public test

Postby Movix » Fri Mar 06, 2009 9:08 pm

hi,
will this version work in the latest WoWRosterDf version ?
Image
DF 9.2.1 - RosterDF 1.7.3.0 (patched) - Roster 2.0 beta
User avatar
Movix
WR.net Apprentice
WR.net Apprentice
 
Posts: 59
Joined: Fri Dec 22, 2006 1:27 pm

Re: ArmorySync 2.7.0.433 public test

Postby zanix » Fri Mar 06, 2009 10:17 pm

Movix wrote:hi,
will this version work in the latest WoWRosterDf version ?

It should be working, I think Anaxent has tested it
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

ArmorySync 2.7.0.433 public test

Postby Ulminia » Sat Mar 07, 2009 12:15 am

ok this is what i get for having 3 dev servers... i was testing on an old copy and said the new changes worked ... ial post a new dl file today with some talent updates thanks sub.
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: ArmorySync 2.7.0.433 public test

Postby dunnothebull » Sat Mar 07, 2009 12:32 am

Hello All.

Thanks toe combined effort.

I am getting the EXACT same thing as Jolaus.

I have applied the following fixes.

open:
/addons/armorysync/inc/armorysync.class.php

find:
Code:

$armory->setUserAgent($userAgent);

change to:
Code:

$armory->user_agent = $userAgent;


ok serch for $armory-> in armorysync.class.php replace with //$armory->
the armory file is no longer used


For login php errors do:
At armorysyncjob.class.php around line 1141
search:
Code:

if( $roster_login->getAuthorized() < $addon['config'][$scope] )

change to:
Code:

if( !$roster->auth->getAuthorized($addon['config'][$scope]))



Here is the errors I get now.

147 0.0839 inc/armorysync.class.php ArmorySync _getCharacterInfo Parsed character infos Failed
86 0.0841 inc/armorysync.class.php ArmorySync _getRosterData Parsed all armory data Failed
972 0.0841 inc/armorysyncjob.class.php ArmorySync synchMemberByID Synced armory data Ragnoraxx with roster Failed



addons/armorysync/inc/armorysync.class.php
Notice line 319: Undefined variable: armory
Notice line 321: Undefined variable: realm
Notice line 321: Undefined variable: name
Warning line 1632: Missing argument 3 for ArmorySync::getCharacterData(), called in /home/owsdl/public_html/wowroster/addons/armorysync/inc/armorysync.class.php on line 321 and defined
Notice line 1634: Undefined variable: guild
Notice line 1754: Undefined property: ArmorySync::$debug_url
Notice line 1473: Use of undefined constant USE_CURL - assumed 'USE_CURL'
dunnothebull
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Mon Jul 28, 2008 8:58 pm

ArmorySync 2.7.0.433 public test

Postby Ulminia » Sat Mar 07, 2009 3:00 am

dident read my last post.... i said it dident work lol im posting the new svn ver now 437 ial open a new forum for that vesion.. allmost all talent icons should work properly now accept shaman
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com


Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 0 guests

cron