Help needed with curl

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

Moderators: Ulminia, poetter

Help needed with curl

Postby zanix » Sun Dec 09, 2007 2:28 pm

Fixed svn[1514]
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: Help needed with curl

Postby tuigii » Mon Dec 10, 2007 4:37 am

zanix wrote:Fixed svn[1514]


Humm.

Didn't find the patch-to-patch in the svn[1514] (I'm looking at this page: http://www.wowroster.net/websvn/filedet ... ns.lib.php )
but it concerns a 'break' statement in the non-curl part - so I thought : let go for it.

I took the entire urlgrabber function out of 1514 SVN and update it in my functions.lib.php file.

Well, Poetter, I had a 100 % correct sync for all my 117 members.
A Guild-member-list sync was also correct.

I synced a member that never upped is character manually, and it syncs well with the roster : all stuff/tooltips came in nearly perfect.
'Nearly' because the roster doesn't 'like' the items coming from the Armory - I got many grey boxes.
Example : http://www.papy-team.fr/roster/index.ph ... fo&a=c:100
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: Help needed with curl

Postby poetter » Mon Dec 10, 2007 5:00 am

Yes, thats right but already fixed in my next commit. Great to hear curl is working so.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Re: Help needed with curl

Postby poetter » Mon Dec 10, 2007 9:09 am

One more error in functions.lib.php

Code: Select all
--- C:/Dokumente und Einstellungen/Daniel/Lokale Einstellungen/Temp/functions.lib.php-revBASE.svn000.tmp.php   Mon Dec 10 01:07:27 2007
+++ D:/xampp/roster.com/htdocs/lib/functions.lib.php   Mon Dec 10 01:05:43 2007
@@ -1128,7 +1128,7 @@
  * @param  string $user_agent   | Useragent to use for connection
  * @return mixed      | False on error, contents on success
  */
-function urlgrabber( $url , $timeout = 5 , $user_agent=false )
+function urlgrabber( $url , $timeout = 5 , $user_agent=false, $loopcount = 0 )
 {
    global $roster;
 
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Help needed with curl

Postby zanix » Mon Dec 10, 2007 11:23 am

Fixed svn[1516]
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: Help needed with curl

Postby tuigii » Mon Dec 10, 2007 11:31 am

Upped your ArmorySync Version 2.6.0.325

But I better wait for roster beta 1.9.9.1515 (or higher - Zanix is already on 1516 while I was typing :wink: ) sees daylight to use it.

Maybe I should sheck how to grab a diff from the SVN without loading the entire think over and over ...
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

Help needed with curl

Postby PleegWat » Mon Dec 10, 2007 2:25 pm

svn diff -r <from>:<to> <path_or_url>
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

Previous

Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 1 guest

cron