Quantcast
WoWInterface: SVN - UrbanAchiever - Rev 139 - /trunk/FactionSpecificAchievements.lua

WoWInterface SVN UrbanAchiever

[/] [trunk/] [FactionSpecificAchievements.lua] - Rev 139

Go to most recent revision | Compare with Previous | Blame | View Log

--List of faction specific achievements
--Alliance = 1
--Horde = 2
UrbanAchiever.factionAchs = {
        ["5318"] = 1,--20,000 Leagues Under the Sea
        ["4156"] = 1,--A Tribute to Immortality
        ["5853"] = 1,--A-Caroling We Will Go
        ["5129"] = 1,--Ambassadors
        ["4925"] = 1,--Ashenvale Quests
        ["5375"] = 1,--Baradin's Wardens
        ["4436"] = 1,--BB King
        ["5171"] = 1,--Blood Elf Slayer
        ["4926"] = 1,--Bloodmyst Isle Quests
        ["5195"] = 1,--City Attacker
        ["5131"] = 1,--Classic Battles
        ["5156"] = 1,--Classy Draenei
        ["5155"] = 1,--Classy Dwarves
        ["5154"] = 1,--Classy Gnomes
        ["5151"] = 1,--Classy Humans
        ["5153"] = 1,--Classy Night Elves
        ["6624"] = 1,--Classy Pandaren
        ["5157"] = 1,--Classy Worgen
        ["5226"] = 1,--Cloud Nine
        ["5340"] = 1,--Commander
        ["5331"] = 1,--Corporal
        ["4928"] = 1,--Darkshore Quests
        ["5130"] = 1,--Diplomacy
        ["5231"] = 1,--Double Jeopardy
        ["5229"] = 1,--Drag a Maw
        ["5126"] = 1,--Dungeon Diplomat
        ["4929"] = 1,--Dustwallow Marsh Quests
        ["6007"] = 1,--Extinguishing Northrend
        ["6013"] = 1,--Extinguishing the Cataclysm
        ["4873"] = 1,--Fading into Twilight
        ["4932"] = 1,--Feralas Quests
        ["5357"] = 1,--Field Marshal
        ["5221"] = 1,--Fire, Walk With Me
        ["5848"] = 1,--Fish or Cut Bait: Darnassus
        ["5847"] = 1,--Fish or Cut Bait: Ironforge
        ["5476"] = 1,--Fish or Cut Bait: Stormwind
        ["6011"] = 1,--Flame Warden of Cataclysm
        ["6008"] = 1,--Flame Warden of Northrend
        ["5453"] = 1,--Ghosts in the Dark
        ["5172"] = 1,--Goblin Slayer
        ["5343"] = 1,--Grand Marshal
        ["5441"] = 1,--Guild Battlemasters
        ["5432"] = 1,--Guild Commanders
        ["5436"] = 1,--Guild Field Marshals
        ["5438"] = 1,--Guild Grand Marshals
        ["4912"] = 1,--Guild Level 25
        ["5434"] = 1,--Guild Marshals
        ["5014"] = 1,--Guild Northrend Dungeon Hero
        ["6942"] = 1,--Hero of the Alliance
        ["6939"] = 1,--Hero of the Alliance: Cataclysmic
        ["6316"] = 1,--Hero of the Alliance: Ruthless
        ["5344"] = 1,--Hero of the Alliance: Vicious
        ["4298"] = 1,--Heroic: Trial of the Champion
        ["5111"] = 1,--Heroic: Trial of the Champion Guild Run
        ["5031"] = 1,--Horde Slayer
        ["5219"] = 1,--I'm in the White Lodge
        ["5327"] = 1,--In Service of the Alliance
        ["5322"] = 1,--In Service of the Alliance
        ["5268"] = 1,--In Service of the Alliance
        ["5718"] = 1,--Just Another Day in Tol Barad
        ["5320"] = 1,--King of the Mountain
        ["7526"] = 1,--Kite Fight
        ["5335"] = 1,--Knight
        ["5337"] = 1,--Knight-Captain
        ["5359"] = 1,--Knight-Champion
        ["5336"] = 1,--Knight-Lieutenant
        ["5842"] = 1,--Let's Do Lunch: Darnassus
        ["5841"] = 1,--Let's Do Lunch: Ironforge
        ["5474"] = 1,--Let's Do Lunch: Stormwind
        ["5339"] = 1,--Lieutenant Commander
        ["4899"] = 1,--Loch Modan and Wetlands Quests
        ["5341"] = 1,--Marshal
        ["5489"] = 1,--Master of Tol Barad
        ["5333"] = 1,--Master Sergeant
        ["6535"] = 1,--Mighty Roamin' Krasaranger
        ["7527"] = 1,--No Tank You
        ["4786"] = 1,--Operation: Gnomeregan
        ["5167"] = 1,--Orc Slayer
        ["6828"] = 1,--Pandaren Ambassador
        ["6644"] = 1,--Pandaren Embassy
        ["6532"] = 1,--Pandaren Slayer
        ["5330"] = 1,--Private
        ["4902"] = 1,--Redridge Mountains Quests
        ["7448"] = 1,--Scenario Roundup
        ["6874"] = 1,--Scenaterday
        ["5332"] = 1,--Sergeant
        ["5334"] = 1,--Sergeant Major
        ["4869"] = 1,--Sinking into Vashj'ir
        ["6537"] = 1,--Slum It in the Summit
        ["5213"] = 1,--Soaring Spirits
        ["4937"] = 1,--Southern Barrens Quests
        ["5152"] = 1,--Stay Classy
        ["4936"] = 1,--Stonetalon Mountains Quests
        ["6030"] = 1,--Taking the Show on the Road
        ["5168"] = 1,--Tauren Slayer
        ["7467"] = 1,--Theramore's Fall
        ["7523"] = 1,--Theramore's Fall
        ["5417"] = 1,--Tol Barad Veteran
        ["4296"] = 1,--Trial of the Champion
        ["7601"] = 1,--Tricks and Treat of Pandaria
        ["5836"] = 1,--Tricks and Treats of Northrend
        ["5837"] = 1,--Tricks and Treats of the Cataclysm
        ["5170"] = 1,--Troll Slayer
        ["5169"] = 1,--Undead Slayer
        ["5812"] = 1,--United Nations
        ["6300"] = 1,--Upjade Complete
        ["5328"] = 1,--Veteran of the Alliance
        ["5823"] = 1,--Veteran of the Alliance II
        ["5329"] = 1,--Warbound Veteran of the Alliance
        ["4903"] = 1,--Westfall and Duskwood Quests
        ["4885"] = 1,--Wildhammer Clan
        ["5481"] = 1,--Wildhammer Tour of Duty
        ["3676"] = 1,--A Silver Confidant
        ["948"] = 1,--Ambassador of the Alliance
        ["230"] = 1,--Battlemaster
        ["611"] = 1,--Bleeding Bloodhoof
        ["1686"] = 1,--Bros. Before Ho Ho Ho's
        ["908"] = 1,--Call to Arms!
        ["2777"] = 1,--Champion of Darnassus
        ["2779"] = 1,--Champion of Gnomeregan
        ["2780"] = 1,--Champion of Ironforge
        ["2781"] = 1,--Champion of Stormwind
        ["2782"] = 1,--Champion of the Alliance
        ["2778"] = 1,--Champion of the Exodar
        ["388"] = 1,--City Defender
        ["435"] = 1,--Commander
        ["470"] = 1,--Corporal
        ["610"] = 1,--Death to the Warchief!
        ["58"] = 1,--Deaths from Drek'Thar
        ["1757"] = 1,--Defense of the Ancients
        ["3856"] = 1,--Demolition Derby
        ["1035"] = 1,--Desecration of the Horde
        ["1737"] = 1,--Destruction Derby
        ["612"] = 1,--Downing the Dark Lady
        ["225"] = 1,--Everything Counts
        ["2817"] = 1,--Exalted Argent Champion of the Alliance
        ["2760"] = 1,--Exalted Champion of Darnassus
        ["2762"] = 1,--Exalted Champion of Gnomeregan
        ["2763"] = 1,--Exalted Champion of Ironforge
        ["2764"] = 1,--Exalted Champion of Stormwind
        ["2770"] = 1,--Exalted Champion of the Alliance
        ["2761"] = 1,--Exalted Champion of the Exodar
        ["1028"] = 1,--Extinguishing Eastern Kingdoms
        ["1029"] = 1,--Extinguishing Kalimdor
        ["1030"] = 1,--Extinguishing Outland
        ["434"] = 1,--Field Marshal
        ["1022"] = 1,--Flame Warden of Eastern Kingdoms
        ["1023"] = 1,--Flame Warden of Kalimdor
        ["1024"] = 1,--Flame Warden of Outland
        ["1279"] = 1,--Flirt With Disaster
        ["37"] = 1,--Fo' Grizzle My Shizzle
        ["614"] = 1,--For The Alliance!
        ["701"] = 1,--Freedom of the Alliance
        ["433"] = 1,--Grand Marshal
        ["2016"] = 1,--Grizzled Veteran
        ["709"] = 1,--Hero of the Stormpike Guard
        ["34"] = 1,--I've Toured the Fjord
        ["613"] = 1,--Killed in Quel'Thalas
        ["439"] = 1,--Knight
        ["711"] = 1,--Knight of Arathor
        ["438"] = 1,--Knight-Captain
        ["437"] = 1,--Knight-Champion
        ["472"] = 1,--Knight-Lieutenant
        ["246"] = 1,--Know Thy Enemy
        ["436"] = 1,--Lieutenant Commander
        ["1151"] = 1,--Loyal Defender
        ["473"] = 1,--Marshal
        ["3857"] = 1,--Master of Isle of Conquest
        ["441"] = 1,--Master Sergeant
        ["35"] = 1,--Might of Dragonblight
        ["3851"] = 1,--Mine
        ["1466"] = 1,--Most Alliance factions at Exalted
        ["2536"] = 1,--Mountain o' Mounts
        ["1192"] = 1,--Nagrand Slam
        ["1697"] = 1,--Nation of Adoration
        ["2421"] = 1,--Noble Garden
        ["1762"] = 1,--Not Even a Scratch
        ["203"] = 1,--Not In My House
        ["33"] = 1,--Nothing Boring About Borean
        ["3576"] = 1,--Now We're Cookin'
        ["899"] = 1,--Oh My, Kurenai
        ["1782"] = 1,--Our Daily Bread
        ["3556"] = 1,--Pilgrim's Paunch
        ["3580"] = 1,--Pilgrim's Peril
        ["3596"] = 1,--Pilgrim's Progress
        ["442"] = 1,--Private
        ["202"] = 1,--Quick Cap
        ["3846"] = 1,--Resource Glut
        ["1040"] = 1,--Rotten Hallow
        ["1255"] = 1,--Scrooge
        ["471"] = 1,--Sergeant
        ["440"] = 1,--Sergeant Major
        ["713"] = 1,--Silverwing Sentinel
        ["2419"] = 1,--Spring Fling
        ["707"] = 1,--Stormpike Battle Charger
        ["220"] = 1,--Stormpike Perfection
        ["1184"] = 1,--Strange Brew
        ["206"] = 1,--Supreme Defender
        ["1191"] = 1,--Terror of Terokkar
        ["764"] = 1,--The Burning Crusader
        ["942"] = 1,--The Diplomat
        ["1034"] = 1,--The Fires of Azeroth
        ["1038"] = 1,--The Flame Warden
        ["907"] = 1,--The Justicar
        ["1012"] = 1,--The Winds of the North
        ["1189"] = 1,--To Hellfire and Back
        ["966"] = 1,--Tricks and Treats of Eastern Kingdoms
        ["963"] = 1,--Tricks and Treats of Kalimdor
        ["969"] = 1,--Tricks and Treats of Outland
        ["3356"] = 1,--Winterspring Frostsaber
        ["604"] = 1,--Wrath of the Alliance

        ["5319"] = 2,--20,000 Leagues Under the Sea
        ["4079"] = 2,--A Tribute to Immortality
        ["5854"] = 2,--A-Caroling We Will Go
        ["5179"] = 2,--Alliance Slayer
        ["7844"] = 2,--Ambassadors
        ["4976"] = 2,--Ashenvale Quests
        ["4927"] = 2,--Azshara Quests
        ["4437"] = 2,--BB King
        ["5351"] = 2,--Blood Guard
        ["5338"] = 2,--Centurion
        ["5353"] = 2,--Champion
        ["5194"] = 2,--City Attacker
        ["5128"] = 2,--Classic Battles
        ["5163"] = 2,--Classy Blood Elves
        ["5165"] = 2,--Classy Goblins
        ["5160"] = 2,--Classy Orcs
        ["6625"] = 2,--Classy Pandaren
        ["5161"] = 2,--Classy Tauren
        ["5162"] = 2,--Classy Trolls
        ["5164"] = 2,--Classy Undead
        ["5227"] = 2,--Cloud Nine
        ["4256"] = 2,--Demolition Derby
        ["7843"] = 2,--Diplomacy
        ["5552"] = 2,--Double Jeopardy
        ["5177"] = 2,--Draenei Slayer
        ["4886"] = 2,--Dragonmaw Clan
        ["5482"] = 2,--Dragonmaw Tour of Duty
        ["5145"] = 2,--Dungeon Diplomat
        ["4978"] = 2,--Dustwallow Marsh Quests
        ["5175"] = 2,--Dwarf Slayer
        ["6010"] = 2,--Extinguishing Northrend
        ["6014"] = 2,--Extinguishing the Cataclysm
        ["5501"] = 2,--Fading into Twilight
        ["4979"] = 2,--Feralas Quests
        ["5222"] = 2,--Fire, Walk With Me
        ["5349"] = 2,--First Sergeant
        ["5477"] = 2,--Fish or Cut Bait: Orgrimmar
        ["5849"] = 2,--Fish or Cut Bait: Thunder Bluff
        ["5850"] = 2,--Fish or Cut Bait: Undercity
        ["6012"] = 2,--Flame Keeper of Cataclysm
        ["6009"] = 2,--Flame Keeper of Northrend
        ["5355"] = 2,--General
        ["4908"] = 2,--Ghostlands Quests
        ["5176"] = 2,--Gnome Slayer
        ["5346"] = 2,--Grunt
        ["5440"] = 2,--Guild Battlemasters
        ["5433"] = 2,--Guild Champions
        ["5435"] = 2,--Guild Generals
        ["5439"] = 2,--Guild High Warlords
        ["5492"] = 2,--Guild Level 25
        ["5124"] = 2,--Guild Northrend Dungeon Hero
        ["5437"] = 2,--Guild Warlords
        ["5376"] = 2,--Hellscream's Reach
        ["6941"] = 2,--Hero of the Horde
        ["6940"] = 2,--Hero of the Horde: Cataclysmic
        ["6317"] = 2,--Hero of the Horde: Ruthless
        ["5358"] = 2,--Hero of the Horde: Vicious
        ["4297"] = 2,--Heroic: Trial of the Champion
        ["5110"] = 2,--Heroic: Trial of the Champion Guild Run
        ["5356"] = 2,--High Warlord
        ["4895"] = 2,--Hillsbrad Foothills Quests
        ["5173"] = 2,--Human Slayer
        ["5220"] = 2,--I'm in the Black Lodge
        ["5324"] = 2,--In Service of the Horde
        ["5269"] = 2,--In Service of the Horde
        ["5323"] = 2,--In Service of the Horde
        ["5454"] = 2,--Joy Ride
        ["5719"] = 2,--Just Another Day in Tol Barad
        ["5321"] = 2,--King of the Mountain
        ["7529"] = 2,--Kite Fight
        ["5352"] = 2,--Legionnaire
        ["5475"] = 2,--Let's Do Lunch: Orgrimmar
        ["5843"] = 2,--Let's Do Lunch: Thunder Bluff
        ["5844"] = 2,--Let's Do Lunch: Undercity
        ["5354"] = 2,--Lieutenant General
        ["5490"] = 2,--Master of Tol Barad
        ["6536"] = 2,--Mighty Roamin' Krasaranger
        ["4177"] = 2,--Mine
        ["5174"] = 2,--Night Elf Slayer
        ["7530"] = 2,--No Tank You
        ["4933"] = 2,--Northern Barrens Quests
        ["6827"] = 2,--Pandaren Ambassador
        ["6664"] = 2,--Pandaren Embassy
        ["6533"] = 2,--Pandaren Slayer
        ["4176"] = 2,--Resource Glut
        ["7449"] = 2,--Scenario Roundup
        ["7509"] = 2,--Scenaterday
        ["5345"] = 2,--Scout
        ["5348"] = 2,--Senior Sergeant
        ["5347"] = 2,--Sergeant
        ["4894"] = 2,--Silverpine Forest Quests
        ["4982"] = 2,--Sinking into Vashj'ir
        ["6538"] = 2,--Slum It in the Summit
        ["5214"] = 2,--Soaring Spirits
        ["4981"] = 2,--Southern Barrens Quests
        ["5158"] = 2,--Stay Classy
        ["5350"] = 2,--Stone Guard
        ["4980"] = 2,--Stonetalon Mountains Quests
        ["6031"] = 2,--Taking the Show on the Road
        ["7524"] = 2,--Theramore's Fall
        ["7468"] = 2,--Theramore's Fall
        ["5418"] = 2,--Tol Barad Veteran
        ["7602"] = 2,--Tricks and Treat of Pandaria
        ["5835"] = 2,--Tricks and Treats of Northrend
        ["5838"] = 2,--Tricks and Treats of the Cataclysm
        ["5892"] = 2,--United Nations
        ["6534"] = 2,--Upjade Complete
        ["5325"] = 2,--Veteran of the Horde
        ["5824"] = 2,--Veteran of the Horde II
        ["5326"] = 2,--Warbringer of the Horde
        ["5342"] = 2,--Warlord
        ["5228"] = 2,--Wild Hammering
        ["5178"] = 2,--Worgen Slayer
        ["4790"] = 2,--Zalazane's Fall
        ["762"] = 2,--Ambassador of the Horde
        ["1175"] = 2,--Battlemaster
        ["449"] = 2,--Blood Guard
        ["1685"] = 2,--Bros. Before Ho Ho Ho's
        ["909"] = 2,--Call to Arms!
        ["448"] = 2,--Centurion
        ["447"] = 2,--Champion
        ["2783"] = 2,--Champion of Orgrimmar
        ["2784"] = 2,--Champion of Sen'jin
        ["2785"] = 2,--Champion of Silvermoon City
        ["2788"] = 2,--Champion of the Horde
        ["2787"] = 2,--Champion of the Undercity
        ["2786"] = 2,--Champion of Thunder Bluff
        ["1006"] = 2,--City Defender
        ["593"] = 2,--Deaths from Vanndar Stormpike
        ["2200"] = 2,--Defense of the Ancients
        ["1037"] = 2,--Desecration of the Alliance
        ["2476"] = 2,--Destruction Derby
        ["1164"] = 2,--Everything Counts
        ["2816"] = 2,--Exalted Argent Champion of the Horde
        ["2765"] = 2,--Exalted Champion of Orgrimmar
        ["2766"] = 2,--Exalted Champion of Sen'jin
        ["2767"] = 2,--Exalted Champion of Silvermoon City
        ["2771"] = 2,--Exalted Champion of the Horde
        ["2769"] = 2,--Exalted Champion of the Undercity
        ["2768"] = 2,--Exalted Champion of Thunder Bluff
        ["1031"] = 2,--Extinguishing Eastern Kingdoms
        ["1032"] = 2,--Extinguishing Kalimdor
        ["1033"] = 2,--Extinguishing Outland
        ["452"] = 2,--First Sergeant
        ["1025"] = 2,--Flame Keeper of Eastern Kingdoms
        ["1026"] = 2,--Flame Keeper of Kalimdor
        ["1027"] = 2,--Flame Keeper of Outland
        ["1280"] = 2,--Flirt With Disaster
        ["1357"] = 2,--Fo' Grizzle My Shizzle
        ["619"] = 2,--For The Horde!
        ["700"] = 2,--Freedom of the Horde
        ["706"] = 2,--Frostwolf Howler
        ["873"] = 2,--Frostwolf Perfection
        ["446"] = 2,--General
        ["2017"] = 2,--Grizzled Veteran
        ["468"] = 2,--Grunt
        ["708"] = 2,--Hero of the Frostwolf Clan
        ["443"] = 2,--High Warlord
        ["1356"] = 2,--I've Toured the Fjord
        ["617"] = 2,--Immortal No More
        ["1005"] = 2,--Know Thy Enemy
        ["469"] = 2,--Legionnaire
        ["444"] = 2,--Lieutenant General
        ["224"] = 2,--Loyal Defender
        ["901"] = 2,--Mag'har of Draenor
        ["3957"] = 2,--Master of Isle of Conquest
        ["1359"] = 2,--Might of Dragonblight
        ["926"] = 2,--Most Horde factions at Exalted
        ["2537"] = 2,--Mountain o' Mounts
        ["1273"] = 2,--Nagrand Slam
        ["1698"] = 2,--Nation of Adoration
        ["2420"] = 2,--Noble Garden
        ["2192"] = 2,--Not Even a Scratch
        ["1251"] = 2,--Not In My House
        ["1358"] = 2,--Nothing Boring About Borean
        ["3577"] = 2,--Now We're Cookin'
        ["1783"] = 2,--Our Daily Bread
        ["616"] = 2,--Overthrow the Council
        ["3557"] = 2,--Pilgrim's Paunch
        ["3581"] = 2,--Pilgrim's Peril
        ["3597"] = 2,--Pilgrim's Progress
        ["618"] = 2,--Putting Out the Light
        ["1502"] = 2,--Quick Cap
        ["1041"] = 2,--Rotten Hallow
        ["454"] = 2,--Scout
        ["259"] = 2,--Scrooge
        ["450"] = 2,--Senior Sergeant
        ["453"] = 2,--Sergeant
        ["2497"] = 2,--Spring Fling
        ["451"] = 2,--Stone Guard
        ["615"] = 2,--Storming Stormwind
        ["1203"] = 2,--Strange Brew
        ["1252"] = 2,--Supreme Defender
        ["1272"] = 2,--Terror of Terokkar
        ["763"] = 2,--The Burning Crusader
        ["714"] = 2,--The Conqueror
        ["710"] = 2,--The Defiler
        ["943"] = 2,--The Diplomat
        ["1036"] = 2,--The Fires of Azeroth
        ["1039"] = 2,--The Flame Keeper
        ["3677"] = 2,--The Sunreavers
        ["1011"] = 2,--The Winds of the North
        ["1271"] = 2,--To Hellfire and Back
        ["3778"] = 2,--Trial of the Champion
        ["967"] = 2,--Tricks and Treats of Eastern Kingdoms
        ["965"] = 2,--Tricks and Treats of Kalimdor
        ["968"] = 2,--Tricks and Treats of Outland
        ["3357"] = 2,--Venomhide Ravasaur
        ["445"] = 2,--Warlord
        ["712"] = 2,--Warsong Outrider
        ["603"] = 2,--Wrath of the Horde
}

--PHP CODE TO EXTRACT THE LIST FROM WOWHEAD
--[[<?php

$URLs = array(
        "http://www.wowhead.com/achievements?filter=si=-1;cr=9;crs=2;crv=4000" => 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, '<div id="lv-achievements" class="listview">');
        $wokingstring = substr($page, $pos);
        $wokingstring = str_replace('<div id="lv-achievements" class="listview"></div><script type="text/javascript">//<![CDATA[var _ = {};', '', $wokingstring);

        $pos = strpos($wokingstring, '_ = g_achievements;');
        $wokingstring = substr($wokingstring, 0, $pos);

        $wokingstring = str_replace(';$.extend(true, g_achievements, _);', "", $wokingstring);

        $workingarray = explode(';', $wokingstring);


        foreach($workingarray as $achievement){
                $pos = strpos($achievement, "',icon:'");
                $achievement = substr($achievement, 0, $pos);
                $achievement = str_replace(array("_[", "]={name_enus:'"), array('', '*-*'), $achievement);
                $achievement = explode('*-*', $achievement);
                $completearray[$achievement[0]]
        --[[ = $side . ',--' . str_replace('\\','',$achievement[1]);
}

}

foreach($completearray as $k => $v){
        echo '["' . $k . '"] = ' . $v . '<br />';
}

?>]]

Go to most recent revision | Compare with Previous | Blame