ArmorySync 2.6 beta svn[234] for Roster 2.0 Beta

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

Moderators: Ulminia, poetter

ArmorySync 2.6 beta svn[714] for Roster 2.0 Beta

Postby poetter » Sun Sep 16, 2007 9:46 am

ups, forgot to add memberlist.php to svn. will add that and reup
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

ArmorySync 2.6 beta svn[714] for Roster 2.0 Beta

Postby boyo » Sun Sep 16, 2007 9:53 am

Ok, one last error then I'll go work on my own addon, lol.
When I run realm-armory sync, I get an sql error.

Image

I am using mysql 5.0.27
I'm thinking the error is in bold here. I've had problems with coding before where the field name was to long.
lib/dbal/mysql.php
Line: 203
Function Called: die_quietly
Arguments:
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 'members.level >= 10 AND ( ISNULL(players.name) OR players.dateupdatedut' at line 1

I can provide any other hosting information you may need.
boyo
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Wed Jan 24, 2007 7:37 am

ArmorySync 2.6 beta svn[716] for Roster 2.0 Beta

Postby poetter » Sun Sep 16, 2007 9:58 am

moved my repository to roster1_addons. so from now on its grabbable there
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

ArmorySync 2.6 beta svn[716] for Roster 2.0 Beta

Postby zanix » Sun Sep 16, 2007 10:05 am

syncronise should be synchronize
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

ArmorySync 2.6 beta svn[220] for Roster 2.0 Beta

Postby poetter » Sun Sep 16, 2007 10:43 am

some updates. see first posting
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: ArmorySync 2.6 beta svn[220] for Roster 2.0 Beta

Postby Adric » Sun Sep 16, 2007 10:58 am

I absolutely love the icon choice...! :D
Last edited by Adric on Sun Sep 16, 2007 11:01 am, edited 1 time in total.
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

ArmorySync 2.6 beta svn[221] for Roster 2.0 Beta

Postby poetter » Sun Sep 16, 2007 9:03 pm

fixed realm syncing. see first post
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

ArmorySync 2.6 beta svn[221] for Roster 2.0 Beta

Postby bisaz » Sun Sep 16, 2007 11:32 pm

I get this:

Fatal error: Cannot instantiate non-existent class: datetime inaddons/armorysync/inc/armorysyncjob.class.php on line 411
bisaz
WR.net Apprentice
WR.net Apprentice
 
Posts: 24
Joined: Sun Dec 10, 2006 6:31 am

ArmorySync 2.6 beta svn[221] for Roster 2.0 Beta

Postby poetter » Sun Sep 16, 2007 11:35 pm

Your php version is lower that 5.1. I'm looking for a method you change this function on a lower php base. Till i found something i'm sorry you can't use ArmorySync.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: ArmorySync 2.6 beta svn[221] for Roster 2.0 Beta

Postby tuigii » Sun Sep 16, 2007 11:35 pm

Voila un traduction usUS => frFR ;-)

Code: Select all
<?php
/**
 * WoWRoster.net WoWRoster
 *
 * french localisaton
 *
 * LICENSE: Licensed under the Creative Commons
 *          "Attribution-NonCommercial-ShareAlike 2.5" license
 *
 * @copyright  2002-2007 WoWRoster.net
 * @license    http://creativecommons.org/licenses/by-nc-sa/2.5   Creative Commons "Attribution-NonCommercial-ShareAlike 2.5"
 * @version    SVN: $Id: frFR.php 713 2007-09-15 22:35:04Z daniel $
 * @link       http://www.wowroster.net
 * @package    ArmorySync
*/

// -[ frFR Localization ]-

// Button names
$lang['async_button']            = 'Armory Sync|Synchronize  your characters with Blizzards Armory';
$lang['async_button2']            = 'Armory Memberlist Sync|Synchronize  your memberlist with Blizzards Armory';

// Config strings
$lang['admin']['armorysync_conf']            = 'ArmorySync Configuration';
$lang['admin']['armorysync_host']            = 'Host|Host to syncronise with.';
$lang['admin']['armorysync_minlevel']        = 'Minimum Level|Minimum level of characters to syncronise.';
$lang['admin']['armorysync_synchcutofftime']    = 'Sync cutoff time|Time in days.<br>All characters not beeing updated in last (x) days will be syncronised.';
$lang['admin']['armorysync_reloadwaittime']    = 'Reload wait time|Time in seconds.<br>Time in seconds befor next syncronisation will be done.';
//$lang['admin']['armorysync_usecurl']        = 'Use Curl|Auf false setzen wenn du die original FileSocket function benutzen möchtest.';
//$lang['admin']['armorysync_debuglevel']        = 'Debug level';
//$lang['admin']['armorysync_updateroster']    = "Update Roster|Das Roster aktualisieren oder nicht.<br>Sinnvoll fürs Debuggen.";
//$lang['admin']['armorysync_ismysqllower411']    = "MySQL < 4.1.1|Auf True setzen wenn deine MySQL Version kleiner als 4.1.1 ist.";
$lang['admin']['armorysync_protectedtitle']    = "Protected Guild Title|Characters with this guild titles are protected<br>from beeing deleted by a syncronisation off the meberlist against the armory.<br>The problem often occours with bank characters.<br>Multivalue possible with seperation by \",\". F.e. Banker,Stock";


// [done]
$lang['bindings']['bind_on_pickup'] = "Lié quand ramassé"//"Binds when picked up";
$lang['bindings']['bind_on_equip'] = "Lié quand équipé"//"Binds when equiped";
$lang['bindings']['bind'] = "Lié"// "Soulbound";

// Addon strings [done]
$lang['RepStanding']['Exalted'] = 'Exalté';
$lang['RepStanding']['Revered'] = 'Révéré';
$lang['RepStanding']['Honored'] = 'Honoré';
$lang['RepStanding']['Friendly'] = 'Amical';
$lang['RepStanding']['Neutral'] = 'Neutre';
$lang['RepStanding']['Unfriendly'] = 'Inamical';
$lang['RepStanding']['Hostile'] = 'Hostile';
$lang['RepStanding']['Hated'] = 'Détesté';

// [done]
$lang['Skills']['Class Skills'] = "Compétences de classe";
$lang['Skills']['Professions'] = "Métiers";
$lang['Skills']['Secondary Skills'] = "Compétences secondaires";
$lang['Skills']['Weapon Skills'] = "Compétences d'armes";
$lang['Skills']['Armor Proficiencies'] = "Armures utilisables";
$lang['Skills']['Languages'] = "Langues";

// [done]
$lang['Classes']['Druid'] = 'Druide';
$lang['Classes']['Hunter'] = 'Chasseur';
$lang['Classes']['Mage'] = 'Mage';
$lang['Classes']['Paladin'] = 'Paladin';
$lang['Classes']['Priest'] = 'Prêtre';
$lang['Classes']['Rogue'] = 'Voleur';
$lang['Classes']['Shaman'] = 'Chaman';
$lang['Classes']['Warlock'] = 'Démoniste';
$lang['Classes']['Warrior'] = 'Guerrier';

// [done]
$lang['Talenttrees']['Druid']['Balance'] = "Equilibre";
$lang['Talenttrees']['Druid']['Feral Combat'] = "Combat farouche";
$lang['Talenttrees']['Druid']['Restoration'] = "Restauration";
$lang['Talenttrees']['Hunter']['Beast Mastery'] = "Maîtrise des bêtes";
$lang['Talenttrees']['Hunter']['Marksmanship'] = "Précision ";
$lang['Talenttrees']['Hunter']['Survival'] = "Survie";
$lang['Talenttrees']['Mage']['Arcane'] = "Arcanes";
$lang['Talenttrees']['Mage']['Fire'] = "Fue";
$lang['Talenttrees']['Mage']['Frost'] = "Givre";
$lang['Talenttrees']['Paladin']['Holy'] = "Sacré";
$lang['Talenttrees']['Paladin']['Protection'] = "Protection";
$lang['Talenttrees']['Paladin']['Retribution'] = "Vindicte";
$lang['Talenttrees']['Priest']['Discipline'] = "Discipline";
$lang['Talenttrees']['Priest']['Holy'] = "Sacré";
$lang['Talenttrees']['Priest']['Shadow'] = "Ombre";
$lang['Talenttrees']['Rogue']['Assassination'] = "Assassinat";
$lang['Talenttrees']['Rogue']['Combat'] = "Combat";
$lang['Talenttrees']['Rogue']['Subtlety'] = "Finesse";
$lang['Talenttrees']['Shaman']['Elemental'] = "Elemental";
$lang['Talenttrees']['Shaman']['Enhancement'] = "Enhancement";
$lang['Talenttrees']['Shaman']['Restoration'] = "Restauration";
$lang['Talenttrees']['Warlock']['Affliction'] = "Affliction";
$lang['Talenttrees']['Warlock']['Demonology'] = " Démonologie";
$lang['Talenttrees']['Warlock']['Destruction'] = "Destruction";
$lang['Talenttrees']['Warrior']['Arms'] = "Armes";
$lang['Talenttrees']['Warrior']['Fury'] = "Fureur";
$lang['Talenttrees']['Warrior']['Protection'] = "Protection";

$lang['misc']['Rank'] = "Rang";

$lang['guild_short'] = "Guild";
$lang['character_short'] = "Char.";
$lang['skill_short'] = "Prof";
$lang['reputation_short'] = "Repu.";
$lang['equipment_short'] = "Equip";
$lang['talents_short'] = "Talent";

$lang['started'] = "Démarré";
$lang['finished'] = "Fini";

$lang['armorySyncTitle_Char'] = "ArmorySync pour Characters";
$lang['armorySyncTitle_Guild'] = "ArmorySync pour Guilds";
$lang['armorySyncTitle_Guildmembers'] = "ArmorySync pour Guildmemberlists";
$lang['armorySyncTitle_Realm'] = "ArmorySync pour Realms";

$lang['next_to_update'] = "Prochaine mise à jour : ";
$lang['nothing_to_do'] = "Rien à faire en ce moment";
 


[edited] => $lang['misc']['Rank'] = "Rang";
has been corrected.
Last edited by tuigii on Mon Sep 17, 2007 3:22 am, edited 2 times 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

ArmorySync 2.6 beta svn[221] for Roster 2.0 Beta

Postby poetter » Sun Sep 16, 2007 11:38 pm

@tuigii

Great job, Thx.

Is it working?
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: ArmorySync 2.6 beta svn[221] for Roster 2.0 Beta

Postby tuigii » Mon Sep 17, 2007 12:23 am

Just a word about /addons/memberslist/inc/update_hook.php - line 549 :
Code: Select all
$this->messages .= ' - '.$this->chars[$mainid]['name'].' written as main without alts<br/>'."\n"

name shouldn't be Name ?

Found this while happy syncing - when I changed name to Name, one php error just dissapeard :-)

Another one :
addons/armorysync/inc/armorysync.class.php
Notice line 627: Undefined offset: 4
Notice line 627: Undefined offset: 5
Notice line 627: Undefined offset: 5

Have a look at this :
A Level 65 Draeneï Chaman
All talents spents on Restaurantion : 56 !
There is an image missing : http://www.papy-team.fr/roster_20b1/ind ... &member=73

The french name of this image is "Flots de soins"

$talentIcons["shaman"][3][5][1] = "Spell_Nature_HealingWay";
and
$talentIcons["shaman"][2][5][2] = "Ability_Parry"; ??

the second Index goes to 5 (width ?) - and the third can go to 9 (height ?)
The talent tree is width 4 and height 9 max....

Or is it me ?
Last edited by tuigii on Mon Sep 17, 2007 9:29 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

ArmorySync 2.6 beta svn[221] for Roster 2.0 Beta

Postby poetter » Mon Sep 17, 2007 12:35 am

Hi,

i'm not sure about the case of the 'name' parameter. i will debug the upload of a cp.lua and will find out.

Yes the talent icons are from the old addon and very buggy. i already fixed some of them(silly work. have to comapre icon by icon with the armory). the shaman one was not one of them. Will add it to my todo list.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: ArmorySync 2.6 beta svn[221] for Roster 2.0 Beta

Postby tuigii » Mon Sep 17, 2007 1:20 am

poetter wrote:i'm not sure about the case of the 'name' parameter. i will debug the upload of a cp.lua and will find out.

Saw the php 'name' erro twice when roster syncing.

The Rank issue for more often.
Note that only a ['Guild']['Name'] is prsent in the XML array.
The ['Guild']['Rank'] isn't present (so: error)
Dono if it it's presnet on the Armory pages the Blizzard anyway, couldn't find when I was looking for it.

poetter wrote:Yes the talent icons are from the old addon and very buggy. i already fixed some of them(silly work. have to comapre icon by icon with the armory). the shaman one was not one of them. Will add it to my todo list.

On a V2 roster where your Add On isn't installed, the icon shows up on the concerning Talent page.
I'll have a look at it also....
You're right, this will be a one to one compare :cry:
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.6 beta svn[221] for Roster 2.0 Beta

Postby tuigii » Mon Sep 17, 2007 2:23 am

Found 3 errors in talenticons_shaman.php :
It's ok now.

Code: Select all


Gona hunt down the others :-)
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

PreviousNext

Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest