WoWInterface SVN UrbanAchiever

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 138 to Rev 139
    Reverse comparison

Rev 138 → Rev 139

FactionSpecificAchievements.lua
425,4 → 425,49
["445"] = 2,--Warlord
["712"] = 2,--Warsong Outrider
["603"] = 2,--Wrath of the Horde
}
\ No newline at end of file +} + +--PHP CODE TO EXTRACT THE LIST FROM WOWHEAD +--[[ 1, + "http://www.wowhead.com/achievements?filter=si=-1;cr=9;crs=5;crv=4000" => 1, + "http://www.wowhead.com/achievements?filter=si=-2;cr=9;crs=2;crv=4000" => 2, + "http://www.wowhead.com/achievements?filter=si=-2;cr=9;crs=5;crv=4000" => 2 + ); +$completearray = array(); +foreach($URLs as $URL => $side){ + $page = file_get_contents($URL); + + $page = str_replace(array("\r\n", "\n", "\r"), '', $page); + + + $pos = strpos($page, '
'); + $wokingstring = substr($page, $pos); + $wokingstring = str_replace('