um AS svn 460 i think?!?!?!

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

Moderators: Ulminia, poetter

um AS svn 460 i think?!?!?!

Postby Ulminia » Mon Aug 17, 2009 2:30 am

updated armory sync to svn 460

added dual talent support for when roster is released...
added curl install check .. should fail if not active on server
randome spelling and code errors.... i was drunk when i finsihed this... still am posting ... leaning sideways in chair...
try enjoy more updates when i get to it

Ulminia
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: um AS svn 460 i think?!?!?!

Postby AnthonyB » Mon Aug 17, 2009 3:59 am

Hi Ulminia,

Just updated to AS SVN 460

Now getting following error when I run ArmorySync Character.

Parse error: syntax error, unexpected T_VARIABLE in C:\inetpub\wwwroot\roster\addons\armorysync\inc\2_talents.php on line 7


Line 7 is
Code: Select all
$i = 0;
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

Re: um AS svn 460 i think?!?!?!

Postby Ulminia » Mon Aug 17, 2009 6:13 am

updated to 463 or open the file in notepad++ there is a character befor the $ in the $i = 0; line
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: um AS svn 460 i think?!?!?!

Postby AnthonyB » Mon Aug 17, 2009 3:30 pm

cheers, that's fixed it.

That was weird though. I did a compare of the 2 files before updating and beyondComapre said there was a difference and yet that line showed absolutely identical despite me turning on and off every option I could find. I also opened them up on Notepad++ and still couldn't see that space before...
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

Re: um AS svn 460 i think?!?!?!

Postby AnthonyB » Mon Aug 17, 2009 3:49 pm

OK, run into new issue.

At some point as it's pulling stuff across (I watched at least 4-5) it dies.

The following debug stuff you're throwing up above the official error tab is:
Code: Select all
talent file loaded
Restoration Active 1

end return..--0532000100000000000000000000000000000000000000000000000000230033312231520531053313051000000000000000 ++ 1
Restoration Active 1

end return..-- ++ 1

end return..--0000000000000000000000000000503202032322012053120030313511203503012000000000000000000000000000000000 ++ 2

end return..--


the actual error I get in the normal error location is:
Code: Select all
Database Error
1366: Incorrect integer value: '' for column 'row' at row 1
SQL:
INSERT INTO `roster_talents` SET `member_id` = '101', `tree` = 'Restoration', `tooltip` = '\nRank 0/\n', `row` = '', `column` = '', `rank` = '0', `maxrank` = ''
File: lib\dbal\mysql.php
Line: 234
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

Re: um AS svn 460 i think?!?!?!

Postby Ulminia » Mon Aug 17, 2009 4:43 pm

got the latest svn right? because build should be in there some where ... this could also do with not haveing dual spec ial have to add array checks i compinsated for the roster but not the armory data go figure...

ial have a patch in a cuple days also thinking i may add pet talents if zanix decideds to keep them in the roster ...
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: um AS svn 460 i think?!?!?!

Postby AnthonyB » Mon Aug 17, 2009 11:46 pm

Yep, this was with AS 463.

In case it helps, this is the character it barfs on - http://www.wowarmory.com/character-shee ... re&n=Awneq

Prior to that, it happily parses the following characters:

Drotti
Tobyprayer
Ransin
Madgazza
Nytetrain
Bluedeath
Balzor
Awnek
Kuul

http://anthonyb.dyndns.org/roster/index ... ist&a=c:25
http://www.wowarmory.com/guild-info.xml ... s&cn=Awneq
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

Re: um AS svn 460 i think?!?!?!

Postby AnthonyB » Sat Sep 05, 2009 3:12 am

Hi Ulminia,

Any update on a fix for this?

Cheers
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia


Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 0 guests

cron