Ongoing Changes in the Armory break some ArmorySync function

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

Moderators: Ulminia, poetter

Ongoing Changes in the Armory break some ArmorySync function

Postby poetter » Sat Nov 17, 2007 11:22 pm

Hi, as zanix already mentioned in another post, there are ongoing changes in the US Armory.

These changed right now breaks the guild adding and guild memberlist syncing for US and oceanic guilds.

As these changes are still ongoing i will wait until they are completed to adopt functionality again.

As a bonus there will be some new infos we can fetch from the Armory.

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

Ongoing Changes in the Armory break some ArmorySync function

Postby zanix » Sun Nov 18, 2007 12:33 am

As for the guild vault feature

The dev team will not allow addons to allow entry of WoW usernames passwords
So this means armory sync should not gather guild vault data
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

Re: Ongoing Changes in the Armory break some ArmorySync func

Postby Keviel » Sun Nov 18, 2007 2:26 am

goody - that should honestly be confined to CP anyway, for having reliable updates
Keviel
WR.net Apprentice
WR.net Apprentice
 
Posts: 60
Joined: Fri Oct 19, 2007 7:53 pm
Location: Copenhagen, Denmark

Ongoing Changes in the Armory break some ArmorySync function

Postby zanix » Sun Nov 18, 2007 10:15 am

Actually the guild vault data is gathered by GuildProfiler
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

Re: Ongoing Changes in the Armory break some ArmorySync func

Postby poetter » Sun Nov 18, 2007 10:22 am

zanix wrote:As for the guild vault feature

The dev team will not allow addons to allow entry of WoW usernames passwords
So this means armory sync should not gather guild vault data


What about entering the credentials during the update process?
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Ongoing Changes in the Armory break some ArmorySync function

Postby boyo » Sun Nov 18, 2007 12:40 pm

For the sake of account security I wouldn't want to do that. However, I did notice two things, one cookies are only session cookies and are not saved and two, if you open a second tab in firefox or IE you are still logged in holding the session cookie.

What I was thinking could be a solution is to have whomever is running the update to click a link to open the armory in a second tab and login, then go ahead and close out of it.

Then, if my understanding of ajax is correct, your session cookie would be passed on to the armory when you try to grab the bank data.

I think that would be the simplest solution for both security and the ability to get the information.

Edit:
I was thinking maybe you could put the login button to the armory and have it redirect back to your page after you login. I thought, and it may still be so, that you can pass an option with that login button to return to the page you were looking at, however i don't know if it would work with an external site.

You have more experience dissecting the armory then me..

Edit2:
How up to date is the guild bank data? I haven't been on to test it out and don't the time, energy or desire to tonight.
Last edited by boyo on Sun Nov 18, 2007 12:45 pm, edited 2 times in total.
boyo
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Wed Jan 24, 2007 7:37 am

Ongoing Changes in the Armory break some ArmorySync function

Postby boyo » Sun Nov 18, 2007 1:14 pm

Ok, dug into it a little bit more, and I found this...
Code: Select all
<form action="https://www.wowarmory.com/login.xml" name="loginRedirect" id="loginRedirect" method="post">
<input value="1" name="passThrough" id="passThrough" type="hidden">
<input value="/guild-info.xml?r=Blackwater+Raiders&amp;n=Sovereign&amp;p=1" name="redirectUrl" id="redirectUrl" type="hidden">
<a alt="" href="javascript: document.loginRedirect.submit()">
<div style="background: transparent url(../images/tab-key-3.gif) no-repeat scroll left top; display: block; float: left; vertical-align: baseline; margin-top: -2px; width: 25px; height: 23px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; margin-right: 4px;">
</div>Log In
</a>
</form>


I tried to change it to this;
Code: Select all
<form action="https://www.wowarmory.com/login.xml" name="loginRedirect" id="loginRedirect" method="post">
<input value="1" name="passThrough" id="passThrough" type="hidden">
<input value="http://www.guildsovereign.com/" name="redirectUrl" id="redirectUrl" type="hidden">
<a alt="" href="javascript: document.loginRedirect.submit()">
<div style="background: transparent url(http://www.wowarmory.com/images/tab-key-3.gif) no-repeat scroll left top; display: block; float: left; vertical-align: baseline; margin-top: -2px; width: 25px; height: 23px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; margin-right: 4px;">
</div>Log In
</a>
</form>


When this runs however, it redirects me to: www.wowarmory.comhttp%2F%2Fwww.guildsovereign.com
which is obviously a very bad link.

I tried to see if I could find a link interceptor like there is on the forums, but couldn't find any links to external sources. Example of forum link: http://forums.worldofwarcraft.com/interceptor.html?interceptedURL=http://www.google.com

I might try to brainstorm a little bit more here and see if i can find anything that will work. Oh, I even tried to see if logging into the forums would log you into the armory, I don't know why I tried it, other then hope, knowing that the cookie wouldn't transfer across domains.
Last edited by boyo on Sun Nov 18, 2007 1:25 pm, edited 1 time in total.
boyo
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Wed Jan 24, 2007 7:37 am

Ongoing Changes in the Armory break some ArmorySync function

Postby PleegWat » Sun Nov 18, 2007 11:49 pm

Boyo: Won't work. Your session cookie will be on your PC, yet for the update the web server is connecting to armory.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Ongoing Changes in the Armory break some ArmorySync function

Postby boyo » Mon Nov 19, 2007 1:24 pm

Hrm... you do have a point there that I had not realized.
I was just brainstorming out loud trying to help out, without a full understanding of how ajax worked.
boyo
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 103
Joined: Wed Jan 24, 2007 7:37 am

Re: Ongoing Changes in the Armory break some ArmorySync func

Postby Keviel » Mon Nov 19, 2007 11:56 pm

zanix wrote:Actually the guild vault data is gathered by GuildProfiler


Details, details....
Keviel
WR.net Apprentice
WR.net Apprentice
 
Posts: 60
Joined: Fri Oct 19, 2007 7:53 pm
Location: Copenhagen, Denmark

Ongoing Changes in the Armory break some ArmorySync function

Postby wallfw » Wed Nov 21, 2007 10:13 pm

both EU and US are done.. any new armorsync soon? :)
wallfw
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon Apr 30, 2007 7:52 pm

Re: Ongoing Changes in the Armory break some ArmorySync func

Postby moofa » Thu Nov 22, 2007 11:46 am

wallfw wrote:both EU and US are done.. any new armorsync soon? :)


Yeah they both appear to be completed now.

Any semi-working version to come?
User avatar
moofa
WR.net Apprentice
WR.net Apprentice
 
Posts: 34
Joined: Thu Dec 07, 2006 3:04 am
Location: Canada

Ongoing Changes in the Armory break some ArmorySync function

Postby poetter » Thu Nov 22, 2007 6:15 pm

Hey there,

this one's not going to be a quick fix. i have to manage a redirect and a session cookie, what will require changes to the function.lib.php and amory.class.php.

So please be patient.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: Ongoing Changes in the Armory break some ArmorySync func

Postby poetter » Sat Nov 24, 2007 7:14 am

Hi there,

update to latest roster svn[1462] or wait for next nightly build. The changes will bring ArmorySync back to work.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: Ongoing Changes in the Armory break some ArmorySync func

Postby Yssaril » Sat Nov 24, 2007 5:10 pm

poetter wrote:Hi there,

update to latest roster svn[1462] or wait for next nightly build. The changes will bring ArmorySync back to work.


updated to the latest roster version and its still not working? isnt there an update to armorysync required also?

http://www.bhguild.org/roster/
Yssaril
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Mon Nov 19, 2007 3:29 pm

Next

Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron