Download
(366Kb)
Download
Updated: 06-28-12 12:37 AM
Pictures
File Info
Updated:06-28-12 12:37 AM
Created:unknown
Downloads:22,656
Favorites:141
MD5:

PortalBox  Popular! (More than 5000 hits)

Version: 1.1
by: iindigo [More]

PortalBox is a simple addon that gathers all of your portal and teleport spells into a single aesthetically-pleasing window and tracks your Runes of Teleportation and Runes of Portals. Its main window can be invoked by the following commands:

/port
/portalbox
Clicking on its minimap icon


New in 1.1:
• The PortalBox minimap button can now be locked.

• Tol Barad buttons.

• TOC updated for 4.3.


Fixed in 1.1:
• Cataclysm-specific errors fixed. Thanks Kharthus!

• Level requirements for portals and teleports updated to be in line with Cataclysm.

• "Keep window open after casting" option now acts properly under all circumstances.

• Version raised to 1.1 to account for dodzilla's fan update versioned at 1.0.

1.1 - Based on 0.9 fan update. Added Tol Barad, adjusted layout to accommodate more buttons, and brought "learned at" levels in line with Cataclysm. Also added minimap icon locking feature. Updated TOC to 4.3. Version number changed to 1.1 advance past dodzilla's 1.0 fan update.
0.8 - Added option to detach button from minimap, added right-click minimap button to open options panel, added /port config and /portalbox config commands, and fixed old slash commands. Fixed "close upon casting" bug. TOC updated for 3.3.
0.7 - Changed under-the-hood code to work on non-English clients, added compact mode, made the main window movable, and changed window closure upon casting to close at the start of a cast instead of afterwards. Also changed the strata level of the main window and minimap button to something more appropriate.
0.6 - Added Dalaran support, minimap button hiding, window closure upon casting, and untrained portal dimming. Fixed an error that occurs upon first run of addon. Also fixed bug of eating keystrokes while window was open and made a couple of aesthetic changes. Version number 0.6 used to avoid any possible confusion caused by the 0.5 fan update
0.2 - Added support for Horde mages, changed close button aesthetics
0.1 - Initial Public Release
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.0
8kB
05-16-10 10:08 AM
Addon


Post A Reply Comment Options
Unread 01-31-09, 06:07 AM  
Deantwo
A Kobold Labourer
 
Deantwo's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: PortalBox problem

Originally posted by iindigo
To Deantwo: Is your client English?
i should think it is... i mean it's all in English yes... and well... i can still use the teleport... but when i mouse over it it just says that it's unlearnable...

also... what about the other idea i said?... make the window disappear after you have picked what spell to use... cause it's kinda annoying to have the window stay after you have picked the port you wanted to cast...

Originally posted by cry4dawn
2. Allow the user to remove the button from the mini-map and place it anywhere on the screen. Like many people, I already have so many buttons on my mini-map I struggle with this issue.
well... do like i have done... i just disabled the mini-map button and then made a simple macro that just does "/port" (i think that's the command anyway)
Last edited by Deantwo : 01-31-09 at 06:11 AM.
Report comment to moderator  
Reply With Quote
Unread 02-01-09, 07:17 AM  
Fighter_XP
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Re: PortalBox problem

Originally posted by iindigo
Your problem is that your client is not English. I don't know how to localize addons, so I can't add multi-language support to PortalBox at the moment.
Hi, to make your Addon working with other localizations you have zu use the spellID instead of the spellname

This is an example:
Code:
        <scripts>
            <OnLoad>
                this:SetAttribute("type1", "spell")
                this:SetAttribute("spell1", GetSpellInfo(49358)) 
            </OnLoad>
            <OnShow>
            if (GetSpellInfo(GetSpellInfo(49358)) ~= nil) then 
                this:SetHighlightTexture("Interface\Buttons\ButtonHilight-Square", add)
                this:SetPushedTexture("Interface\Buttons\UI-Quickslot-Depress", add)
                this:SetAlpha(1.0)
                firstTeleHorde:SetDesaturated(false)
            else
                this:SetHighlightTexture(nil)
                this:SetPushedTexture(nil)
                this:SetAlpha(0.8)
                fifthTeleHorde:SetDesaturated(true)
            end
            </OnShow>
            <OnEnter>
                GameTooltip_SetDefaultAnchor(GameTooltip, UIParent)
                GameTooltip:SetText(GetSpellInfo(49358), 1.0, 1.0, 1.0 ) 
                if (GetSpellInfo(GetSpellInfo(49358)) == nil) then 
                GameTooltip:AddLine("Trainable at Level 35")
                GameTooltip:AddLine("Currently Unlearned")
                end
                GameTooltip:Show()
            </OnEnter>
            <OnLeave>
                GameTooltip:Hide()
            </OnLeave>
        </Scripts>
and in the portalbox.lua you have to edit this line
local raceL, race = UnitRace("player")
see http://www.wowwiki.com/API_UnitRace
for more declaration (change "Undead" -> "Scourge" in your code too)

This changes make your addon work with all clients

sry for my english :/
Last edited by Fighter_XP : 02-01-09 at 07:19 AM.
Report comment to moderator  
Reply With Quote
Unread 02-06-09, 06:55 AM  
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 16
Uploads: 1
Re: Re: Re: PortalBox problem

also... what about the other idea i said?... make the window disappear after you have picked what spell to use... cause it's kinda annoying to have the window stay after you have picked the port you wanted to cast...
Check the PortalBox options under Interface Options. I added a checkbox for that in the last update.

Fighter_XP, thanks for the information. I'll see if I can get an update out within the week.
Report comment to moderator  
Reply With Quote
Unread 02-11-09, 04:05 PM  
Deantwo
A Kobold Labourer
 
Deantwo's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Re: Re: PortalBox problem

Originally posted by iindigo
Check the PortalBox options under Interface Options. I added a checkbox for that in the last update.
yeah i saw that... but it makes the window disappear after the spell is done being cast that's 10 seconds of staring at the window...
not that it isn't pretty... but it's kinda in the way...

EDIT: no wait... it close the window 5 seconds after i started making a portal?... well... still 5 seconds too long...

2nd EDIT: ok... it seems to disappear when the portal has been cast... so 10 seconds of staring at the window...
Last edited by Deantwo : 02-13-09 at 03:41 PM.
Report comment to moderator  
Reply With Quote
Unread 02-15-09, 05:51 AM  
Jeania
An Aku'mai Servant
 
Jeania's Avatar

Forum posts: 39
File comments: 170
Uploads: 0
*pouts* Ldb Broker Support? *cheesy hopeful grin* lol this looks great, downloaded it and can't wait to try
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Words to Remember:

"You never really learn much from hearing yourself talk." ~ George Clooney

*۝*Jeania/Anjelie ~ Dalaran*۝*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Unread 02-15-09, 12:44 PM  
jpdhonda
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Thank you for creating this mod! I use FuBar and have been using TransporterFu for my teleportation needs for a very long time. Unfortunately, the author seems to have abandoned that mod and after looking at the code in an attempt to make it support Dalaran, I have given up. Which brings me here.

I would appreciate it if you might consider a few changes to your mod to make it more appealing to me (and potentially others).

1) I would prefer that once a spell has been cast by clicking on one of your buttons, that the UI disappear immediately. Perhaps you could have a textbox in your configuration UI that allows the user to enter a "delay" time, default it to 10 seconds as it does now but allow me to enter 0 so it closes immediately? Then everyone can tailor it to their own preference.

2) I would love to be able to move the window. I tried moving the window with my mouse and also did this in conjunction with Alt, Ctrl and Shift (which are commonly used by other mods to allow their window to be moved). Is there some way to move the portal window?

3) I would love to resize the portal window also. It is really large and I wish I could resize it to accommodate only the buttons, in a tighter bunch, without all the real estate being taken up.

4) In a similar vein, I think the Z coordinate of the portal window needs to be changed so that it is more "on top". Not sure if I'm using the right terminology here (I'm a Windows developer in real life so Z makes sense to me) but other elements on my user interface "show through" the portal window. I use Dominoes for my button bars and that, along with Decursive and "QuestClicks" all show through the portal window which makes it difficult to use/see.

Regardless of what you do, I want to thank you again for writing this mod and updating it and adding features to it. I was able to remove 2 buttons from my button bars (Dalaran teleport and portal) and the old FuBar mod as a result.

Cheers!
Report comment to moderator  
Reply With Quote
Unread 02-16-09, 07:20 AM  
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 16
Uploads: 1
Originally posted by Deantwo
yeah i saw that... but it makes the window disappear after the spell is done being cast that's 10 seconds of staring at the window...
not that it isn't pretty... but it's kinda in the way...

EDIT: no wait... it close the window 5 seconds after i started making a portal?... well... still 5 seconds too long...

2nd EDIT: ok... it seems to disappear when the portal has been cast... so 10 seconds of staring at the window...
I guess I can make it close immediately, but I had put in the delay as a sort of guard against clicking the wrong portal so the user can stop casting and select the one they really meant to cast.

Originally posted by Jeania
*pouts* Ldb Broker Support? *cheesy hopeful grin* lol this looks great, downloaded it and can't wait to try
Forgive my ignorance, but what is LDB Broker? Searching for that specifically yields no results and searching just "broker" comes up with a ton of plugins. I'm assuming it's some sort of Titan Panel/FuBar clone?

Originally posted by jpdhonda
1) I would prefer that once a spell has been cast by clicking on one of your buttons, that the UI disappear immediately. Perhaps you could have a textbox in your configuration UI that allows the user to enter a "delay" time, default it to 10 seconds as it does now but allow me to enter 0 so it closes immediately? Then everyone can tailor it to their own preference.
As mentioned before, I can make it close immediately, but I can't make it close after a delay of a certain number of seconds. World of Warcraft has no timers that measure seconds, only timers that are based on the user's FPS (and thus are very inaccurate). The current mechanic is supposed to trigger off the end of a spellcast, but it appears that it doesn't always do that.


Originally posted by jpdhonda
2) I would love to be able to move the window. I tried moving the window with my mouse and also did this in conjunction with Alt, Ctrl and Shift (which are commonly used by other mods to allow their window to be moved). Is there some way to move the portal window?
The window is currently immovable. I'll see if I can make it moveable, but since I'm a novice developer at this point, I can't guarantee anything.

Originally posted by jpdhonda
3) I would love to resize the portal window also. It is really large and I wish I could resize it to accommodate only the buttons, in a tighter bunch, without all the real estate being taken up.
I might be able to do just a plain window scale (as in the whole window, buttons and all shrink or enlarge), but I'm not so sure about being able to change window size while keeping the buttons centered. Once again, I'm really a greenhorn at this addon business. What might be easier to implement would be a one-click button/checkbox that switches the window between compact and full modes.


Originally posted by jpdhonda
4) In a similar vein, I think the Z coordinate of the portal window needs to be changed so that it is more "on top". Not sure if I'm using the right terminology here (I'm a Windows developer in real life so Z makes sense to me) but other elements on my user interface "show through" the portal window. I use Dominoes for my button bars and that, along with Decursive and "QuestClicks" all show through the portal window which makes it difficult to use/see.
Now this I should be able to do without a problem. I'll see about adjusting the window's strata level (z-index) in the next release.
Last edited by iindigo : 02-16-09 at 07:22 AM.
Report comment to moderator  
Reply With Quote
Unread 02-24-09, 01:17 PM  
pompachomp
A Fallenroot Satyr

Forum posts: 20
File comments: 43
Uploads: 0
__________________


Report comment to moderator  
Reply With Quote
Unread 02-28-09, 03:44 PM  
cry4dawn
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
More Changes

Well I downloaded the new patch and I do like the changes.

However here are my thoughts still.

1. Turning off the mini map icon is fine, but honestly what we need is this icon only shows up for Mages. If I am any other class this icon should not show up. If that is to hard to do then make it so we can turn off the Mini Map icon per character instead of all or nothing like it is now.

2. I am still pushing for a moveable mini map button for my mage.

3. I am wondering if you cant put the name of the location under each portal and teleport. Yes I do know that it shows on the tooltip but would seem faster to have like Dalaran under the teleport or portal icon and move the regs that we currently have above the portal icons instead of below.
Report comment to moderator  
Reply With Quote
Unread 02-28-09, 08:15 PM  
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 16
Uploads: 1
Re: More Changes

Originally posted by cry4dawn
1. Turning off the mini map icon is fine, but honestly what we need is this icon only shows up for Mages. If I am any other class this icon should not show up. If that is to hard to do then make it so we can turn off the Mini Map icon per character instead of all or nothing like it is now.


That is actually a good idea, and I wish I had thought of in time to add it to the current release. It'll come out in an update once I have a few other improvements/changes to go along with it. It would be kind of silly to update it for a single small change.

Originally posted by cry4dawn 2. I am still pushing for a moveable mini map button for my mage.
I looked into it briefly during the development of 0.7, and from what I saw, it could really be a pain in the butt to implement. I can either make it permanently free-drag or permanently map-bound; snapping between the two is a messy process, at least at my current programming level.

Originally posted by cry4dawn 3. I am wondering if you cant put the name of the location under each portal and teleport. Yes I do know that it shows on the tooltip but would seem faster to have like Dalaran under the teleport or portal icon and move the regs that we currently have above the portal icons instead of below.
Possibly. This actually goes back to the whole window size thing. Part of the reason I made the frame large is so the icons would be large enough to easily distinguish and pick out at a glance. Nevertheless, I may make that layout an option. I'm slightly reluctant to, though, because all those labels will bring a lot of visual clutter to the frame.
Report comment to moderator  
Reply With Quote
Unread 03-01-09, 11:57 AM  
cry4dawn
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Re: Re: More Changes

Hello again

1. As far as the button I say make it completely moveable because if someone really wanted a mini map icon they could drag it to the mini map and place it around there. Totally moveable I believe is the key there. Most people use a lot of UI and have to worry about what buttons around there mini map they have like myself. This was my reasoning for this suggestion.

3. As far as the text thing, Honestly I find myself going which is which rather often. Portals you really dont use all that often you forget what is what if you understand my meaning. So I am still pushing for a revamp telling you what portal is what.

Finally having the mini map icon show up for non mages just really doesn't make any sense. As I said before try to find a way to allow us to toggle this per character or just have a tag that says NO MAGE no icon and do not load UI.

Thank you for all your time on this project. I really do enjoy the UI.

Originally posted by iindigo
That is actually a good idea, and I wish I had thought of in time to add it to the current release. It'll come out in an update once I have a few other improvements/changes to go along with it. It would be kind of silly to update it for a single small change.



I looked into it briefly during the development of 0.7, and from what I saw, it could really be a pain in the butt to implement. I can either make it permanently free-drag or permanently map-bound; snapping between the two is a messy process, at least at my current programming level.



Possibly. This actually goes back to the whole window size thing. Part of the reason I made the frame large is so the icons would be large enough to easily distinguish and pick out at a glance. Nevertheless, I may make that layout an option. I'm slightly reluctant to, though, because all those labels will bring a lot of visual clutter to the frame.
Report comment to moderator  
Reply With Quote
Unread 03-07-09, 12:13 AM  
jpdhonda
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Thank You

I just wanted to let you know that I appreciate the time and effort you put into this mod and to thank you for the changes you made recently. I really like everything now and just wanted you to know. Keep up the good work!
Report comment to moderator  
Reply With Quote
Unread 03-10-09, 03:50 PM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 642
Uploads: 4
Re: Re: Re: More Changes

Originally posted by cry4dawn

1. As far as the button I say make it completely moveable because if someone really wanted a mini map icon they could drag it to the mini map and place it around there. Totally moveable I believe is the key there. Most people use a lot of UI and have to worry about what buttons around there mini map they have like myself. This was my reasoning for this suggestion.
Why not download an addon like Detached Mini Buttons? There are several mods out there that allow moving the minimap buttons.

Plus, I think what you're asking for is a minimap button that is moveable around the minimap frame, not a detached button. Almost all mods have a button that is moveable around the map frame, and I don't believe it is too hard of an option to implement.
Last edited by xtoq : 03-10-09 at 03:50 PM.
Report comment to moderator  
Reply With Quote
Unread 03-11-09, 07:50 AM  
iindigo
An Aku'mai Servant
 
iindigo's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 16
Uploads: 1
Re: Re: Re: Re: More Changes

PortalBox's minimap button is already moveable around the frame. Just click it and drag it.

Also, while I make no promises, I *might* have found an easy way to keep both detached and minimap-bound modes for the button. I'll try it out, and if it works, will come out in a 0.7.1 release.
Report comment to moderator  
Reply With Quote
Unread 03-14-09, 07:31 PM  
cry4dawn
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
FYI

Detached Mini Buttons UI does not work with this UI.. I tried
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.