Broker_Portals
Why would you have actionbars filled with portals, or open your spellbook everytime you cast a portal? Just right click on icon or minimap button and you can access all portals so comfortably.
It is designed as DataBroker plug-in, that lets you access all portal and teleport spells from one spot. Addon will be attached to minimap by default, but if you want to move/customize it, you will have to install additional addon like TitanPanel, HidingBar, or Bazooka and there are many more.
Features:
- All mage portals, hearthstone and teleporting items available from simple dropdown menu
- Minimap button, so you don't have to install any additional addon
- Hearthstone location and cooldown in tooltip
- Reagent count in tooltip (for Cataclusm Classic)
- If hearthstone is on cooldown, Scroll of Recall will be used instead if possible
- Can announce, that you're casting a portal
Localization:
If you'd like to add/update localizations, do so here. Then leave a comment on WowAce or on Curse as I'm checking those more often than localization app itself, and I'll repack it.
Bugs / Suggestions:
If you have encountered any problem, or if you think theres something missing. Feel free to post a ticket here.
FAQ:
- I managed to hide my minimap icon, how do I turn it on again?
- Just simply type "/portals".
- Does it support teleportation items like engineering teleports or Kirin Tor rings?
- Yes.
TODO:
Enable adding custom items/spells
Original: local GetSpellName = GetSpellName
Fix: local GetSpellName = GetSpellInfo
GetSpellName is removed from game but GetSpellInfo returns what you want.
Here's the error:
1x Broker_Portals-1.8.10\portals.lua:108: attempt to call upvalue 'GetSpellName' (a nil value)
Broker_Portals-1.8.10\portals.lua:246: in function <Broker_Portals\portals.lua:232>
Broker_Portals-1.8.10\portals.lua:490: in function <Broker_Portals\portals.lua:489>
(tail call): ?:
Locals:
reagentCache =
TP_RUNE = false
TRUE = true
P_RUNE = false
}
(for generator) = <function> defined =[C]:-1
(for state) =
1 =
}
(for control) = 1
_ = 1
unTransSpell =
1 = 18960
2 = "TRUE"
}
spell = "Teleport: Moonglade"
_ = ""
spellIcon = "Interface\Icons\Spell_Arcane_TeleportMoonglade"
portals =
1 =
}
SetupSpells = <function> @ Broker_Portals\portals.lua:175:
getReagentCount = <function> @ Broker_Portals\portals.lua:158:
L =
MIN = "mins"
HEARTHSTONE = "Hearthstone"
ATT_MINIMAP = "Attach to minimap"
TP = "Teleports"
SEC = "secs"
ANNOUNCE = "Announce cast of portals"
N/A = "Not available"
P = "Portals"
SHOW_ITEM_COOLDOWNS = "Show items cooldowns"
TP_RUNE = "Rune of Teleportation"
P_RUNE = "Rune of Portals"
RCLICK = "Right-Click"
OPTIONS = "Options"
ANNOUNCEMENT = "Casting"
SEE_SPELLS = "to see list of spells"
READY = "Ready"
INN = "Inn:"
SHOW_ITEMS = "Show items"
}
GetSpellInfo = <function> defined =[C]:-1
methods =
}
---
local s = GetSpellBookItemName(i, BOOKTYPE_SPELL)
The function was renamed for Cata:
http://www.wowwiki.com/API_GetSpellName
The saved variables appear to be set correctly when you change the option from the tooltip dropdown menu. As in: ["announce"] = true,
and
["announce"] = false,
But the mod itself refuses/can't read it. Can't use the mod like this; back to what I was using before: FuBar_PortalFu...heh.
Hope you can fix it.