Download
(906Kb)
Download
Updated: 09-18-16 02:12 PM
Pictures
File Info
Compatibility:
Legion (7.0.3)
Updated:09-18-16 02:12 PM
Created:unknown
Downloads:9,858
Favorites:106
MD5:
Categories:Character Advancement, Action Bar Mods, Map, Coords, Compasses, RolePlay, Music Mods

Diplomancer  Popular! (More than 5000 hits)

Version: 7.0.3.0
by: Talyrius, Phanx

Changes your watched faction based on your current location.
Verändert die angezeigte Fraktion basierend auf dem aktuellen Standort.
Sigue automáticamente la facción asociada con tu lugar actual.
Surveiller automatiquement la faction associée ŕ votre position actuelle.
Segue automaticamente a facçăo associado ŕ sua localizaçăo actual.
Автоматически следить за выполнением фракция связана с вашего текущего местоположения.
현재 위치의 진영을 자동으로 감시합니다.

Diplomancer changes your watched faction as soon as you enter a particular area, instead of waiting until you gain reputation with a faction like most other faction-switching addons. It also recognizes faction champion tabards inside appropriately-leveled dungeons.

When you find yourself in a location without an associated faction — for example, if you’re a troll taking a weekend camping trip in the lovely Redridge Mountains — Diplomancer will watch your race’s faction. If you would prefer to watch another faction instead of your race’s faction in these cases, you can choose your own default faction.

Type “/dm” for options, or browse to the Diplomancer panel in the Interface Options window.
Feature Requests
I consider Diplomancer to be complete, and will probably not add any new features. If you would like to suggest something anyway, feel free to submit a suggestion ticket describing your idea.

Note: Support for the new, non-tabard champion system added in Patch 5.2 is planned, but not implemented yet.
Bug Reports
If you encounter a problem with Diplomancer, please try some quick troubleshooting steps, and then submit a bug report to let me know about the problem.

Please copy this list into your ticket and fill in as much of the requested information as you can.
  • Diplomancer version number
  • WoW language and patch number
  • Character race and level
  • Zone and subzone you are in when the problem happens
  • Faction tabard you are wearing when the problem happens, if any
  • Description of the problem
    Be specific! It’s nearly impossible to include too much information!
  • Steps I can follow to reproduce the problem
  • Whether the problem happens when all other addons are disabled
  • Exact text of the first related error message, if any
    Please do not include any lists of local variables or installed addons that your error display may add!
  • Screenshot, if the problem is graphical
Remember to check on your ticket after a few days, as I may need more information from you in order to find and fix the problem!
Language Support
Compatible with all languages. Translated into English, Deutsch, Espańol, Français, Italiano, Portuguęs, Русский, 한국어, 简体中文, and 繁體中文.

To add or update translations for Diplomancer, enter them on the Diplomancer localization page on CurseForge, and then leave a comment, or send me a PM here or on CurseForge, to let me know that you’ve made changes. If you don’t have a Curse account and don’t want to create one, you can PM me your translations instead. Thanks!

To add or update translations for subzone names, see the WowAce project page for LibBabble-SubZone-3.0. If your language is not yet supported by this library, Diplomancer will run with only partial functionality.

Version 7.0.3.0 (2016 Sep 18)
  • Updated for WoW 7.0
  • Added faction data for Legion zones (thanks Talyrius, as usual)

Version 6.2.0.46 (2015 Jul 11)
  • Updated for WoW 6.2
  • Added faction data for Tanaan Jungle

Version 6.1.0.45 (2015 Feb 26)
  • Updated for WoW 6.1
  • Added missing faction data for Gorgrond

Version 6.0.3.44 (2015 Feb 5)
  • Fixed the faction preference reset button

Version 6.0.3.43 (2015 Feb 4)
  • Added faction data for Draenor zones (thanks yet again Talyrius!)

Version 6.0.2.181 (2014 Oct 16)
  • Updated for WoW 6.0

Version 5.4.8.176 (2014 Jul 14)
  • Updated options panel

Version 5.4.1.172 (2013 Nov 30)
  • Updated for WoW 5.4
  • Added faction data for the Timeless Isle (thanks again Talyrius)

Version 5.3.0.171 (2013 Jul 13)
  • Updated for WoW 5.3
  • Updated deDE translations
  • Added a half-second delay on zone changes to avoid a race condition causing "script ran too long" errors

Version 5.2.0.167 (2013 Apr 3)
  • Added faction data for Bizmo's Brawlpub, Brawl'gar Arena, Isle of Thunder, and Throne of Thunder (thanks Talyrius)
  • All Wrath dungeons now default to Hand of Vengeance (H) or Valiance Expedition (A) if you're not wearing a faction champion tabard
  • Fixed an issue causing unwanted expansion of collapsed headers in the faction panel while it was being viewed

Version 5.2.0.163 (2013 Mar 12)
  • Fix for human racial faction typo

Version 5.2.0.162 (2013 Mar 8)
  • Dear Blizzard, Please stop changing function names for no reason. Thanks.

Version 5.2.0.160 (2013 Mar 5)
  • Updated for 5.2
  • Removed dependency on LibBabble-Faction-3.0
  • Fixed some misspelled faction names for the Alliance
  • Added default factions for Utgarde Keep and Pinnacle
  • Added a few more subzones for the Ogri'la faction

Version 5.1.0.152 (2012 Dec 5)
  • Updated for WoW 5.1

Version 5.0.5.147 (2012 Oct 18)
  • Added more MoP data from Talyrius
  • Fixed issues with zone detection when viewing another zone's map
  • Updated frFR translations from L0relei on CurseForge

Version 5.0.5.144 (2012 Oct 10)
  • Added lots of faction data for MoP zones (thanks Talyrius)
  • Mapped Vashj'ir zones to The Earthen Ring
  • Fixed an error occurring in MoP dungeons while wearing a faction champion tabard (ticket #3)

Version 5.0.5.139 (2012 Sep 14)
  • Added detection for tabard changes outside of instances

Version 5.0.4.136 (2012 Sep 7)
  • Added Darkmoon Faire zone data (thanks Talyrius)

Version 5.0.4.134 (2012 Sep 4)
  • Fixed an error for users whose languages are missing translations in LibBabbleFaction-3.0

Version 5.0.4.133 (2012 Aug 29)
  • Updated for WoW 5.0.4

Version 4.3.4.127 (2012 Jul 21)
  • Fixed detection of Therazane tabard.
  • Fixed the faction selection cascade when ignoring Exalted factions.

Version 4.3.4.126 (2012 Jul 21)
  • Compatible with both 4.3 live realms and Mists of Pandaria beta realms. Use the “Load out of date addons” checkbox on beta realms — the TOC won’t be updated until Patch 5.0 goes live.
  • Improved the "Ignore Exalted" option — if you’re already exalted with the subzone’s faction, continue checking other relevant factions (zone, default, race) instead of just quitting.
  • Added racial factions for Horde and Alliance pandaren
  • Added new dwarf, gnome, human, night elf, orc, tauren, troll, and undead starting zones
  • Cleaned up some old data
  • Removed dependency on LibBabble-Zone-3.0
  • Added itIT translations, though Diplomancer will not work in Italian clients until LibBabbleSubzone-3.0 updates

Version 4.3.0.112 (2011 Dec 12)
  • Updated for WoW 4.3
  • Added ptBR translations
  • Added support for Ironforge champion tabard
  • Added Zul'Aman and Zul'Gurub to list of level 85 dungeons
  • Added/updated zone data for Ahn'Qiraj: The Fallen Kingdom, Arathi Highlands, Azshara, Baradin Hold, Darkshore, Feralas, Firelands, Gilneas City, Molten Front, Northern Barrens, Ruins of Gilneas, Southern Barrens, Stonetalon Mountains, The Lost Isles, The Veiled Sea, Thousand Needles, Tol Barad, and Tol Barad Peninsula
  • Added/updated subzone data for Southern Barrens and Thousand Needles
  • LibBabble-Zone-3.0, LibBabble-SubZone-3.0, and LibBabble-Faction-3.0 are now included in the main download for convenience. If you only play WoW in English, and are concerned about memory usage, you can safely delete these libraries from the Diplomancer > Libs folder.

Version 4.2.0.103 (2011 Jul 1)
  • Updated for WoW 4.2

Version 4.1.0.102 (2011 Apr 28)
  • Fixed localizing the Reset button tooltip
  • Added Korean translations from talkswind on CurseForge
  • Added Russian translations
  • Updated German and French translations
  • Updated for WoW 4.1

Version 4.0.6.98 (2011 Mar 2)
  • Updated some Kalimdor and Eastern Kingdoms zones for Cataclysm
  • Updated to work better in non-English locales

Version 4.0.6.96 (2011 Feb 28)
  • Added Spanish translations

Version 4.0.3.87 (2011 Jan 9)
  • Mapped Mount Hyjal to Guardians of Hyjal
  • Mapped Highbank in Twilight Highlands to Bilgewater Cartel for the Horde
  • Fixed The Krazzworks in Twilight Highlands
  • Changed the default faction dropdown menu to scroll instead of stretching off the screen, and exclude factions you’re already exalted with if the “Ignore Exalted factions” option is enabled

Version 4.0.3.84 (2011 Jan 1)
  • Added Alliance faction data for Twilight Highlands and Western Plaguelands

Version 4.0.3.79 (2010 Dec 27)
  • Added faction data for goblin and worgen races and starting zones
  • Added faction data for several low-level Alliance zones

Version 4.0.3.76 (2010 Dec 23)
  • Added faction data for several Cataclysm zones
  • Added an option to change your default faction based on which faction you’re currently championing
  • Added support for the expanded faction champion system in Cataclysm
  • Switched to using LibBabble-SubZone-3.0 for subzone translations in non-English locales, so Diplomancer no longer needs to maintain its own translations

Version 3.3.3.59 (2010 Apr 6)
  • Added Icecrown Citadel (The Ashen Verdict)
  • Added Explorers' League Outpost in Howling Fjord (Explorers' League; Alliance only)

Version 3.3.0.58 (2010 Jan 29)
  • Added zhTW localization
  • Updated zhCN localization

Version 3.3.0.57 (2010 Jan 17)
  • Added Howling Fjord - Steel Gate -> Explorers' League
  • Fixed external inclusion path for LibAboutPanel

Version 3.3.0.54 (2009 Dec 18)
  • Improved support for faction champion tabards
  • Added Borean Tundra - Kaskala -> The Kalu'ak
  • Added Borean Tundra - Njord's Breath Bay -> The Kalu'ak
  • Added Felwood - Timbermaw Hold -> Timbermaw Hold
  • Added Icecrown Citadel dungeons -> The Sunreavers/The Silver Covenant
  • Updated TOC for WoW 3.3

Version 3.2.0.47 (2009 Jul 29)
  • Add Trial of the Crusader zone
  • Fix issues with updating while in flight

Version 3.1.3.46 (2009 Jun 6)
  • Add Argent Tournament Grounds and related subzones

Version 3.0.9.43 (2009 Feb 19)
  • Add Eversong Woods zone
  • Remove Naxxramas zone (the level 80 version doesn’t give rep with a specific faction)

Version 3.0.8.42 (2009 Feb 8)
  • Add deDE and zhCN translations
  • Add The Filthy Animal subzone for Dalaran
  • Add Crusaders' Pinnacle, Scourgehome, and Valley of Echoes subzones for Icecrown

Version 3.0.3.34 (2008 Dec 25)
  • Debugging, QQ!

Version 3.0.3.33 (2008 Dec 25)
  • Fixed "champion" tabard support for The Wyrmrest Accord

Version 3.0.3.32 (2008 Dec 23)
  • Added basic support for level 80 "champion" tabards
  • Added more Wrath data (still need Alliance help!)
  • Moved options to Blizzard interface options panel

Version 3.0.3.26 (2008 Nov 19)
  • Added lots of data for Wrath of the Lich King

Version 2.4.3.20 (2008 Sep 11)
  • Fixed racial faction for Blood Elves
  • Added option to skip factions you’re already Exalted with

Version 2.4.3.10
  • Added full support for localization
  • I need translations of subzone names for all non-English locales. If you are willing to help, please see my portal for additional information, or send me a PM! :)

Version 2.4.3.6
  • Fixed zip file

Version 2.4.3.5
  • First public release
Post A Reply Comment Options
Unread 03-05-13, 06:28 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.2.0.160
  • Updated for 5.2
  • Removed dependency on LibBabble-Faction-3.0
  • Fixed some misspelled faction names for the Alliance
  • Added default factions for Utgarde Keep and Pinnacle
  • Added a few more subzones for the Ogri'la faction
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 12-05-12, 04:43 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.1.0.152
  • Updated for 5.1

Thanks again Talyrius.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 11-30-12, 06:57 AM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
Here is some new data for patch 5.1: Landfall.

Add to Subzone Factions:
Code:
	-- Krasarang Wilds
	[857] = {
		["Bilgewater Beach"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["Blacksand Spillway"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["Domination Point"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["Krasarang Cove"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["Lion's Landing"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["Oregrind's Dig"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["Quickchop's Lumber Farm"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["Sparkrocket Outpost"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["The Boiling Crustacean"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["The Skyfire"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		["The Southern Isles"] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
		--[[
		Necessary due to the following locations changing the zone text instead of the subzone text:
			Alliance ships: "Valor's Edge", "The Defiant"
			Caves: "Daxil's Dig", "Ruins of Ogudei"
		]]--
		[""] = isHorde and "Dominance Offensive" or isAlliance and "Operation: Shieldwall",
	},
Report comment to moderator  
Reply With Quote
Unread 10-18-12, 02:41 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.0.5.147
  • Added more MoP data from Talyrius
  • Fixed issues with zone detection when viewing another zone's map
  • Updated frFR translations from L0relei on CurseForge
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 10-15-12, 06:54 PM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
Originally Posted by Phanx
I think you meant WorldMapFrame.
Oops. Yes, indeed.
Report comment to moderator  
Reply With Quote
Unread 10-15-12, 05:18 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
I think you meant WorldMapFrame.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 10-13-12, 10:39 PM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
Can you add this function and use it in place of GetCurrentMapAreaID()? If you're flying around while looking at a different zone with the world map open and your zone or subzone changes, Diplomancer will watch the wrong faction.
Code:
local function getCurrentMapAreaID()
	local mapAreaID
	if WorldMapFrame:IsVisible() then
		local currentMapAreaID = GetCurrentMapAreaID()
		SetMapToCurrentZone()
		mapAreaID = GetCurrentMapAreaID()
		SetMapByID(currentMapAreaID)
	else
		mapAreaID = GetCurrentMapAreaID()
	end
	return mapAreaID
end
Last edited by Talyrius : 10-15-12 at 07:16 PM.
Report comment to moderator  
Reply With Quote
Unread 10-10-12, 09:49 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Added. I'll wait a couple of days to push another release in case you have more updates. Thanks again.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 10-10-12, 06:34 PM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
Here are some more data updates.

EDIT:
Jade Temple Grounds

Add to Zone Factions:
Code:
-- Shrine of Seven Stars
	[905] = isAlliance and "The August Celestials",
-- Shrine of Two Moons
	[903] = isHorde and "The August Celestials",
-- Valley of the Four Winds
	[807] = "The Tillers",
Remove from Subzone Factions:
Code:
	-- The Jade Forest
	[806] = {
		["Jade Temple Grounds"] = "Order of the Cloud Serpent",
	},
	-- Vale of Eternal Blossoms
	[811] = {
		["Chamber of Enlightenment"] = isAlliance and "The August Celestials",
		["Chamber of Masters"] = isHorde and "The August Celestials",
		["Chamber of Reflection"] = isAlliance and "The August Celestials",
		["Chamber of Wisdom"] = isHorde and "The August Celestials",
		["Ethereal Corridor"] = isAlliance and "The August Celestials",
		["Setting Sun Garrison"] = "Shado-Pan",
		["Hall of Secrets"] = isHorde and "The August Celestials",
		["Hall of the Crescent Moon"] = isHorde and "The August Celestials",
		["Hall of Tranquillity"] = isHorde and "The August Celestials",
		["Path of Serenity"] = isAlliance and "The August Celestials",
		["Summer's Rest"] = isHorde and "The August Celestials",
		["The Celestial Vault"] = isAlliance and "The August Celestials",
		["The Emperor's Step"] = isAlliance and "The August Celestials",
		["The Golden Lantern"] = isAlliance and "The August Celestials",
		["The Imperial Exchange"] = isAlliance and "The August Celestials",
		["The Imperial Mercantile"] = isHorde and "The August Celestials",
		["The Jade Vaults"] = isHorde and "The August Celestials",
		["The Keggary"] = isHorde and "The August Celestials",
		["The Star's Bazaar"] = isAlliance and "The August Celestials",
	},
	-- Valley of the Four Winds
	[807] = {
		["Cattail Lake"] = "The Tillers",
		["Halfhill"] = "The Tillers",
		["Skyrange"] = "The Tillers",
		["Springtail Crag"] = "The Tillers",
		["Sunsong Ranch"] = "The Tillers",
		["The Halfhill Market"] = "The Tillers",
		["The Heartland"] = "The Tillers",
		["The Lazy Turnip"] = "The Tillers",
	},
Add to Subzone Factions:
Code:
	-- The Jade Forest
	[806] = {
		["Jade Temple Grounds"] = "The August Celestials",
		["Oona Kagu"] = "Order of the Cloud Serpent",
		["The Widow's Wail"] = "Order of the Cloud Serpent",
	},
Last edited by Talyrius : 10-10-12 at 09:58 PM.
Report comment to moderator  
Reply With Quote
Unread 10-10-12, 04:18 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.0.5.144 (October 10th, 2012)
  • Added lots of faction data for MoP zones (thanks Talyrius)
  • Mapped Vashj'ir zones to The Earthen Ring
  • Fixed an error occurring in MoP dungeons while wearing a faction champion tabard (ticket #3)
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 10-01-12, 10:16 PM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
I'm sorry for any confusion I may have caused. I had intended that you merge the contents of both posts and add it to the data file. I made multiple revisions to my 9/29 post since you hadn't replied to it yet. In my 9/28 post, I only removed The Anglers from Krasarang Wilds's subzones since I recommended making it zone wide.
Report comment to moderator  
Reply With Quote
Unread 10-01-12, 08:17 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Added. I'd also added the data that was in your original post there, that's since been removed; should that not be included?
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 09-29-12, 04:35 AM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
Here are some additional changes (excluding those from my previous post).

EDIT:
Updated.

Champion Zones:
I've verified that championing a faction still works in the new dungeons.
Code:
	[90] = {
		-- 2: Heroic only
		-- 1: Normal and Heroic
		[871] = 2, -- Scarlet Halls
		[874] = 2, -- Scarlet Monastery
		[898] = 2, -- Scholomance
		[867] = 1, -- Temple of the Jade Serpent
		[876] = 1, -- Stormstout Brewery
		[885] = 1, -- Mogu'Shan Palace
		[877] = 1, -- Shado-pan Monastery
		[887] = 2, -- Siege of Niuzao Temple
		[875] = 2, -- Gate of the Setting Sun
	},
Zone Factions:
I've changed my mind about Krasarang Wilds. It's a pretty small zone and The Anglers' dailies dominate most of it.
Code:
-- Krasarang Wilds
	[857] = "The Anglers",
Subzone Factions:
There is a similar situtation as I decribed before (empty string return) within Vale of Eternal Blossoms. It happens around Mogu'Shan Palace and just as you walk over the threshold of the entryway to the Shrine of Two Moons/Shrine of Seven Stars.
Code:
	-- The Jade Forest
	[806] = {
		-- I changed the faction for these three.
		["Serpent's Overlook"] = "Order of the Cloud Serpent",
		["Serpent's Heart"] = "Order of the Cloud Serpent",
		["Jade Temple Grounds"] = "Order of the Cloud Serpent",
	},
	-- Valley of the Four Winds
	[807] = {
		["Halfhill"] = "The Tillers",
		["The Lazy Turnip"] = "The Tillers",
		["The Halfhill Market"] = "The Tillers",
		["Skyrange"] = "The Tillers",
		["Springtail Crag"] = "The Tillers",
		["Serpent's Spine"] = "Shado-Pan",
	},
	-- Krasarang Wilds
	[857] = {
		["Thunder Cleft"] = isHorde and "Thunder Bluff",
		["Dawnchaser Retreat"] = isHorde and "Thunder Bluff",
		["Sentinel Basecamp"] = isAlliance and "Darnassus",
	},
	-- Vale of Eternal Blossoms
	[811] = {
		[""] = "The August Celestials",
		["Mogu'shan Palace"] = "The August Celestials",
		["Serpent's Spine"] = "Shado-Pan",
		["Gate of the Setting Sun"] = "Shado-Pan",
		["Setting Sun Garrison"] = "Shado-Pan",
	},
Last edited by Talyrius : 09-30-12 at 01:24 PM.
Report comment to moderator  
Reply With Quote
Unread 09-28-12, 05:36 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Thanks for the data. I'll add it soon.

Originally Posted by Talyrius
It looks like my function for Krasarang Wilds doesn't do anything. I was trying to make it work without setting the whole zone to the faction. Any ideas? GetSubZoneText() only returns an empty string in the open water around the dailies hub.
It won't work that way because Diplomancer doesn't support functions in the data table; it expects values to be simple strings, and actually doesn't even do any verification on them because they're all hardcoded.

However, it should work to add an entry to the Krasarang Wilds subzones table whose key is an empty string, at least for English clients. The current localization code will probably strip it out since BabbleSubZone almost certainly doesn't include an entry for an empty string. I'll change the Update function to leave empty string subzones alone; the resulting extra table lookup won't hurt anything.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 09-28-12, 08:41 AM  
Talyrius
An Onyxian Warder
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 363
File comments: 259
Uploads: 3
Here are the additions I've made locally for Mists of Pandaria. I don't think any of the new instances reward repution, but these changes should cover just about everything on the new continent. If I find anything else, I'll let you know.

EDIT:
It looks like my function for Krasarang Wilds doesn't do anything. I was trying to make it work without setting the whole zone to the faction. Any ideas? GetSubZoneText() only returns an empty string in the open water around the dailies hub. It's too bad that Blizzard didn't give the area an actual name.

EDIT 2:
Removed The Anglers from subzone factions. See next comment.

Champion Factions:
Code:
	[126436] = { 15, "Huojin Pandaren" },
	[126434] = { 15, "Tushui Pandaren" },
Zone Factions:
Code:
-- The Jade Forest
	[806] = isHorde and "Forest Hozen" or isAlliance and "Pearlfin Jinyu",
-- Krasarang Wilds
	[857] = function() if GetSubZoneText() == "" then return "The Anglers" end end, -- Why?: Empty strings are set to nil in subzone.
-- Townlong Steppes
	[810] = "Shado-Pan",
-- Dread Wastes
	[858] = "The Klaxxi",
-- Vale of Eternal Blossoms
	[811] = "Golden Lotus",
Subzone Factions:
Code:
	-- The Jade Forest
	[806] = {
		["Serpent's Overlook"] = "The August Celestials",
		["Serpent's Heart"] = "The August Celestials",
		["Jade Temple Grounds"] = "The August Celestials",
		["Temple of the Jade Serpent"] = "The August Celestials",
		["Terrace of the Twin Dragons"] = "The August Celestials",
		["Fountain of the Everseeing"] = "The August Celestials",
		["The Scrollkeeper's Sanctum"] = "The August Celestials",
		["The Heart of Jade"] = "The August Celestials",
		["The Arboretum"] = "Order of the Cloud Serpent",
		["Windward Isle"] = "Order of the Cloud Serpent",
		["Mistveil Sea"] = "Order of the Cloud Serpent",
	},
	-- Valley of the Four Winds
	[807] = {
		["Sunsong Ranch"] = "The Tillers",
		["The Heartland"] = "The Tillers",
		["Cattail Lake"] = "The Tillers",
	},
	-- Krasarang Wilds
	[857] = {
		["Temple of the Red Crane"] = "The August Celestials",
		["Cradle of Chi-Ji"] = "The August Celestials",
		["Pedestal of Hope"] = "The August Celestials",
		["Dome Balrissa"] = "The August Celestials",
		["Angkhal Pavilion"] = "The August Celestials",
	},
	-- The Veiled Stair
	[873] = {
		["Tavern in the Mists"] = "The Black Prince",
	},
	-- Kun-Lai Summit
	[809] = {
		["Winter's Blossom"] = "Shado-Pan",
		["Shado-Pan Monastery"] = "Shado-Pan",
		["Shado-Li Basin"] = "Shado-Pan",
		["The Ox Gate"] = "Shado-Pan",
		["Serpent's Spine"] = "Shado-Pan",
		["Shado-Pan Fallback"] = "Shado-Pan",
		["Firebough Nook"] = "Shado-Pan",
		["Temple of the White Tiger"] = "The August Celestials",
		["Gate of the August Celestials"] = "The August Celestials",
	},
	-- Townlong Steppes
	[810] = {
		["Niuzao Temple"] = "The August Celestials",
	},
	-- Dread Wastes
	[858] = {
		["Soggy's Gamble"] = "The Anglers",
		["Lonesome Cove"] = "The Anglers",
		["Shelf of Mazu"] = "The Anglers",
		["Wreck of the Mist-Hopper"] = "The Anglers",
	},
	-- Vale of Eternal Blossoms
	[811] = {
		["Seat of Knowledge"] = "The Lorewalkers",
		-- Horde: Shrine of Two Moons
		["The Golden Terrace"] = "The August Celestials",
		["Hall of the Crescent Moon"] = "The August Celestials",
		["Chamber of Masters"] = "The August Celestials",
		["Summer's Rest"] = "The August Celestials",
		["Chamber of Wisdom"] = "The August Celestials",
		["The Keggary"] = "The August Celestials",
		["The Jade Vaults"] = "The August Celestials",
		["The Imperial Mercantile"] = "The August Celestials",
		["Hall of Tranquillity"] = "The August Celestials",
		["Hall of Secrets"] = "The August Celestials",
		-- Alliance: Shrine of Seven Stars
		["The Summer Terrace"] = "The August Celestials",
		["The Emperor's Step"] = "The August Celestials",
		["The Star's Bazaar"] = "The August Celestials",
		["The Golden Lantern"] = "The August Celestials",
		["Chamber of Reflection"] = "The August Celestials",
		["Chamber of Enlightenment"] = "The August Celestials",
		["The Imperial Exchange"] = "The August Celestials",
		["The Celestial Vault"] = "The August Celestials",
		["Path of Serenity"] = "The August Celestials",
		["Ethereal Corridor"] = "The August Celestials",
	},
Last edited by Talyrius : 09-30-12 at 09:29 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.