Fixes for Version 253

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

Moderators: Ulminia, poetter

Re: Fixes for Version 253

Postby poetter » Thu Aug 30, 2007 5:58 am

Ähm, the fixed version is always just updating one character after an other.
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Fixes for Version 253

Postby Slyver » Thu Aug 30, 2007 6:48 pm

Think you may have misunderstood. I want to update one character and only one character by name.
Slyver
WR.net Apprentice
WR.net Apprentice
 
Posts: 31
Joined: Tue Jul 11, 2006 10:27 pm

Fixes for Version 253

Postby louane » Thu Aug 30, 2007 7:02 pm

Getting a weird error, first my config

$addon_conf['ArmorySync']['Host'] = "www.wowarmory.com"; //European players use: armory.wow-europe.com
$addon_conf['ArmorySync']['MinLevel'] = 60; //The minimum level to be updated
$addon_conf['ArmorySync']['SynchCutoffTime'] = 60; //Time, in hours. All players who have not updated in the last (24) hours will be updated.
$addon_conf['ArmorySync']['UseCurl'] = true; //Set this to false if you want to use the original FileSocket function.
$addon_conf['ArmorySync']['DebugLevel'] = 2; //0 = no debug messages, 1 = some debug messages, 2 = verbose debug messages
$addon_conf['ArmorySync']['UpdateRoster'] = true; //Wether or not to update Roster. Useful if youre just debugging
$addon_conf['ArmorySync']['Locale'] = $roster_conf['roster_lang']; //The language used, but default it is the language that roster is configured to.
$addon_conf['ArmorySync']['ArmoryLocale'] = strtolower(substr($addon_conf['ArmorySync']['Locale'], 0, 2)) . "_" . strtolower(substr($addon_conf['ArmorySync']['Locale'], 2, 2)); //The Locale that armory is expecting, in the format of lowercase_lowercase (ie en_us or de_de).
$addon_conf['ArmorySync']['MemberSorting'] = "members.update_time DESC"; //alternatives are "members.update_time DESC" to use the last time the member was updated
$addon_conf['ArmorySync']['ServerMonth'] = array("January","February","March","April","May","June","July","August","September","October","November","December"); //just a list of the month names for the server. Change this to whatever language necessary.
$addon_conf['ArmorySync']['DateUpdatedFormat'] = "%m/%d/%y %H:%i:%s"; //Europeans change this to "%d/%m/%y %H:%i:%s"

Now the error

"Scanned Player: Nsfw
Non-Critical Error: Incomplete Data for Nsfw. Player has probably not updated in awhile.

0% complete (1 of 235)


Next Player: Wìld"

Weird thing is i set the conf to update only lvl 60 and above, Nsfw is lvl 38 it pops up that screen and then loads the main roster screen

server config

OS Linux
Server Software Apache
MySQL Version 4.1.22-max-log
PHP Settings phpinfo() page
PHP Version 4.3.11
PHP API Type cgi-fcgi
safe_mode Off
open_basedir Off
allow_url_fopen Off
file_uploads On
upload_max_filesize 2M




Cheers
Louane
Last edited by louane on Thu Aug 30, 2007 7:07 pm, edited 1 time in total.
louane
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Mon Aug 13, 2007 3:49 am

Fixes for Version 253

Postby Pugro » Thu Aug 30, 2007 10:05 pm

If you PM me your lua file and server / guild details I'll try and run it on my test server if you want?
--------------------------------
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: Fixes for Version 253

Postby dragaron » Fri Aug 31, 2007 12:36 am

louane wrote:Getting a weird error, first my config


I think you have forgot something!

$addon_conf['ArmorySync']['ArmoryLocale'] = strtolower(substr($addon_conf['ArmorySync']['Locale'], 0, 2)) . "_" . strtolower(substr($addon_conf['ArmorySync']['Locale'], 2, 2)); //The Locale that armory is expecting, in the format of lowercase_lowercase (ie en_us or de_de).

Now the error

"Scanned Player: Nsfw
Non-Critical Error: Incomplete Data for Nsfw. Player has probably not updated in awhile.

0% complete (1 of 235)


Next Player: Wìld"

Weird thing is i set the conf to update only lvl 60 and above, Nsfw is lvl 38 it pops up that screen and then loads the main roster screen

I have the same error in this php-version! Try 5.x


PHP Version 4.3.11


Cheers
Louane
dragaron
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sat Jul 22, 2006 3:50 pm

Re: Fixes for Version 253

Postby delirium » Sat Sep 01, 2007 4:30 am

Using the armorysynch_fixes_253_3 with eu server settings.
But the talents aren't updated..
Is there again a change on the blizz servers that break it :(

Tested it on our live server and on my own testsite both dont update the talents.
Code: Select all
Output of a random guildmember.

  [Talents] => Array
        (
            [] => Array
                (
                    [] => Array
                        (
                            [Location] => :
                            [Tooltip] =>
Rank 0/0

                            [Icon] =>
                            [Rank] => 0:0
                        )

                    [Order] =>
                    [Background] => Priest
                    [PointsSpent] => 61
                )

        )

)


Code: Select all
My xml file

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/layout/character-talents.xsl"?>

<page globalSearch="1" lang="en_gb" requestUrl="/character-talents.xml">
  <characterInfo>
    <character battleGroup (blablabla....) title=""/>
    <talentTab>
      <talentTree value="5000200000000000000000515051205313253135100300000000000000000000"/>
    </talentTab>
  </characterInfo>
</page>


I hope it isnt the lang="en_gb" in it..
delirium
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sat Jul 08, 2006 9:58 pm

Re: Fixes for Version 253

Postby poetter » Sat Sep 01, 2007 7:54 am

is your Roster running en_GB too? If so you have to modifiy talents.php and change all enUS to enGB.
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: Fixes for Version 253

Postby trionix » Sat Sep 01, 2007 8:19 am

I have installed a complete new version of wowroster 1.7.3 and of your version 3 aof armorysync, but i alwys get this error:

Warning: require_once(talents.php) [function.require-once]: failed to open stream: No such file or directory in /home/kazmo/www/members/functions.synch.php on line 4

Fatal error: require_once() [function.require]: Failed opening required 'talents.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/kazmo/www/members/functions.synch.php on line 4


But I definetly have the talents.php, whitch is included in line 4, on the server....so what he wants from me? :D

thank you
trionix
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Sat Sep 01, 2007 7:05 am

Re: Fixes for Version 253

Postby delirium » Sat Sep 01, 2007 3:14 pm

poetter wrote:is your Roster running en_GB too? If so you have to modifiy talents.php and change all enUS to enGB.


Nope just a fresh install of 1.7.3.. but will test it later today.

Edit: just checked the settings and its roster_lang enUS


trionix wrote:I have installed a complete new version of wowroster 1.7.3 and of your version 3 aof armorysync, but i alwys get this error:

Warning: require_once(talents.php) [function.require-once]: failed to open stream: ........

so what he wants from me? :D
thank you


I had almost the same problem on our live server.
Some blablabla about opendir restrictions while the files were on the right spot.

I had to change all require_once lines to:
require_once($addonDir.'functions.synch.php');


Oh and the v3 of the addon has conf.php and in index.php it wants config.php.
Last edited by delirium on Sat Sep 01, 2007 3:29 pm, edited 3 times in total.
delirium
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sat Jul 08, 2006 9:58 pm

Re: Fixes for Version 253

Postby trionix » Sat Sep 01, 2007 6:09 pm

delirium wrote:I had almost the same problem on our live server.
Some blablabla about opendir restrictions while the files were on the right spot.

I had to change all require_once lines to:
require_once($addonDir.'functions.synch.php');


Oh and the v3 of the addon has conf.php and in index.php it wants config.php.


Thank you very much, that works! Very nice thing this addon! :D

Still one thing left: the update is just per one member, than he returns to the index site and you have to click again...so in my case i had to click 65 times for getting all my guildmates into the roster :)

is there a setting method to get all in one update?

thanks a lot, greetings, trionix
trionix
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Sat Sep 01, 2007 7:05 am

Re: Fixes for Version 253

Postby delirium » Sat Sep 01, 2007 8:05 pm

trionix wrote:Thank you very much, that works! Very nice thing this addon! :D

Still one thing left: the update is just per one member, than he returns to the index site and you have to click again...so in my case i had to click 65 times for getting all my guildmates into the roster :)

is there a setting method to get all in one update?

thanks a lot, greetings, trionix


Bumped into the same thing yesterday.

In conf.php ['IsWoWRosterDF'] is set to 1
If you dont have Dragonfly you must set this to 0
Last edited by delirium on Sat Sep 01, 2007 8:07 pm, edited 1 time in total.
delirium
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sat Jul 08, 2006 9:58 pm

Re: Fixes for Version 253

Postby poetter » Sat Sep 01, 2007 9:05 pm

delirium wrote:Nope just a fresh install of 1.7.3.. but will test it later today.

Edit: just checked the settings and its roster_lang enUS


No new ideas on that. Can you PM me your characterprofiler.lua ?

delirium wrote:I had almost the same problem on our live server.
Some blablabla about opendir restrictions while the files were on the right spot.

I had to change all require_once lines to:
require_once($addonDir.'functions.synch.php');


Oh and the v3 of the addon has conf.php and in index.php it wants config.php.


I will fix that in the next version
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: Fixes for Version 253

Postby delirium » Sat Sep 01, 2007 10:30 pm

poetter wrote:No new ideas on that. Can you PM me your characterprofiler.lua ?


Hmm will install today a new fresh install and a clean database.
I got an fresh install atm on my testserver but with an existing database.
Will report more info about my findings later today.


Edit:
installed it all clean from scratch still the talents arnt updated.
You got an pm.
Last edited by delirium on Sat Sep 01, 2007 11:15 pm, edited 1 time in total.
delirium
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sat Jul 08, 2006 9:58 pm

Re: Fixes for Version 253

Postby poetter » Sun Sep 02, 2007 12:14 am

Hmm, i was able to fetch all your infos including talents. Did you comment in the enUS locales in talents.php?
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: Fixes for Version 253

Postby delirium » Sun Sep 02, 2007 1:10 am

poetter wrote:Hmm, i was able to fetch all your infos including talents. Did you comment in the enUS locales in talents.php?


Ouch.. my head hurts now.. (was bumping it to much on my desk)

I have done this more then 4x wrong so it looked like this:
Code: Select all
<?php

/*   

druid talents:
$talentTrees["enUS"]["druid"]["Balance"]["rank"] = 1;
$talentTrees["enUS"]["druid"]["Feral Combat"]["rank"] = 2;
$talentTrees["enUS"]["druid"]["Restoration"]["rank"] = 3;
$talents["enUS"]["druid"][0]["name"] = "Starlight Wrath";


Feeling so stupid right now :( sorry for the time you spend on it.
delirium
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sat Jul 08, 2006 9:58 pm

PreviousNext

Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron