Download
(24Kb)
Download
Updated: 08-21-24 10:28 AM
Pictures
File Info
Compatibility:
The War Within (11.0.2)
Cataclysm Classic (4.4.0)
Classic (1.15.2)
Updated:08-21-24 10:28 AM
Created:07-28-12 04:20 PM
Downloads:7,582
Favorites:21
MD5:
Categories:Mage, Cataclysm Classic, Classic - General, nUI: Info Panel Plugins
11.0.2

XMage : Portals  Popular! (More than 5000 hits)

Version: 2024-08-21
by: Xrystal [More]



Introduction
This is another recode of my MagePorts addon. This time from the ground up and made cross version compatible with most files workable in all versions ( so far ).

Tested Environments

Uploaded: 2024-08-21

WoW Retail/Mainline : 11.0.2.56196
nUI Version: 11.0.2.56196.0
Version: 11.0.2.56196.0

WoW Cataclysm Classic : 4.4.0.56014
nUI Version : 4.4.0.54737.0
Version: 4.4.0.56014.0

WoW Classic Era/Vanilla : 1.15.3.55917
nUI Version: 1.15.2.54262.0
Version: 1.15.3.55917.0

With and without nUI loaded to ensure all users have a similar experience.


Localizations
Where possible WoW Locale text is utilised. It may mean changes down the line if they change the word utilised but worth it. Otherwise default language is English (enUS/enGB). If you wish to add more localizations take a copy of localization.lua and change the relevant portions appropriately and upload as a patch. I'll incorporate it into the addon at the next opportunity.

Support Links
Bug Reports
Feature Requests


---------------------------------------------------------------------------
11.0.2.56196.0 - Mainline
4.4.0.56014.0 - Classic ( Currently Cataclysm )
1.15.3.55917.0 - Vanilla
---------------------------------------------------------------------------

* nUI_MagePorts.lua
* Vanilla\nUI_MagePorts.lua
> Added nUI's Scaling to the buttons on the Retail Client due to Retails Scaling changes in 11.0
> This meant that Vanilla and Classic versions needed a non scaled version


* SpellInfo.lua
* Common.lua
* Vanilla\Common.lua
> Added C_Spell namespace where needed and used table returns accordingly for Retail Clients
> This meant that Vanilla and Classic versions needed their own Common.lua file


IMPORTANT NOTE:
nUI doesn't work well with WoW's uiScale and instead creates its own scaling values which are used everywhere
This means that the nUI InfoPanel is scaled via nUI's Dashboard frame scaling setup
11.0 threw in additional scaling changes which meant that retail version of nUI is forced to use 100% uiScale
Vanilla and Classic versions however work best without using the uiScale but will work with values under 100% better
than those over.
The additional change in 11.0 meant that I had to adjust MagePorts inside the nUI InfoPanel to use nUI's scaling


NOTE:
Vanilla ( used by Classic) Specific files are as follows:
- Common.lua
- LayoutSettings.lua
- nUI_MagePorts.lua
- SpellInfo.lua



---------------------------------------------------------------------------
10.2.6.54358.0 - Mainline
4.4.0.54427.0 - Cata Classic
1.15.2.54332.0 - Vanilla
---------------------------------------------------------------------------
Addon has been rewritten with relative portions taken from the old version.

Outline of files for those interested

The following hold the frame template information
> Templates.lua
> Templates.xml

The following for Localization purposes
> Localization.lua

The following handle the spells used
> Data.lua
> SpellInfo.lua ( also a Vanilla version)
> History.lua

The following are related to the main window frames
> LayoutSettings.lua ( also a Vanilla version also used by Cataclysm Classic)
> Common.lua
> HeaderFrame.lua
> ButtonFrame.lua
> ControllerFrame.lua

The following setup the frame as a whole
> XMage_Portals.lua

The following are related to nUI's InfoPanel System
> nUI_MagePorts.lua
> nUI_InfoPanel.lua

The following file loads the above files in, in the listed order
> XMage_Portals_Mainline.xml - Retail
> XMage_Portals_Vanilla.xml - Classic Era
> XMage_Portals_Classic.xml - Classic Cataclysm

Leaving the toc file that starts everything off
> XMage_Portals_Mainline.toc - Retail
> XMage_Portals_Vanilla.toc - Classic Era
> XMage_Portals_Classic.toc - Classic Cataclysm
Optional Files (2)
File Name
Version
Size
Author
Date
Type
5.2.0.16733.01
19kB
04-02-13 04:04 AM
Addon
1.0
1kB
10-02-12 05:41 AM
Patch


Archived Files (1)
File Name
Version
Size
Author
Date
2024-04-30
20kB
Xrystal
04-30-24 03:17 PM


Post A Reply Comment Options
Unread 06-19-19, 09:13 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6006
File comments: 283
Uploads: 29
8.2 and Classic Version : Information

I have tested MagePorts in 8.2 on the PTR and all seems well. I'll do a final test and any file update after 8.2 goes live.

As to Classic, initial test run only highlights button display problems with no actual errors ( but I would suppose if I had clicked the buttons they would have tried to do a spell that isn't correct ). Will test and fix over the weekend ( if I still have access ) and upload it. I will try and do it sooner than later so that other Beta testers can download and test it themselves.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 06-20-19, 12:27 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6006
File comments: 283
Uploads: 29
Classic ...

It's more awkward than I though as I had forgotten that the new Map functionality that I use in my addons has been taken out for Classic. It involves a rethink on what needs to be changed.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 10-01-20, 08:55 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6006
File comments: 283
Uploads: 29
Shadowlands Changes

I've had the opportunity to see the effect the expansion will have on this addon. Outside of tooltip info being incorrect that can be added once the revised information is known the only issue was the changes to the backdrop system.

For those that want to use this addon in the beta the only change required is as follows:

File : XMage_Portals_Templates.xml

The code block altered:
Replaced the < Backdrop > block with <KeyValues> block.

Lua Code:
  1. <!-- Border and Background setup, override in lua to change the visual elements -->
  2.     <Frame name = "XMP_BackdropTemplate" inherits = "BackdropTemplate" virtual = "true">
  3.     <KeyValues>
  4.         <KeyValue key="backdropInfo" value="BACKDROP_TOOLTIP_16_16_5555" type="global"/>
  5.         <KeyValue key="backdropColor" value="BLACK" type="global"/>
  6.         <KeyValue key="backdropBorderColor" value="WHITE" type="global"/>
  7.     </KeyValues>        
  8.         <!--Backdrop
  9.             bgFile="Interface\Tooltips\UI-Tooltip-Background.png"
  10.             edgeFile="Interface\Tooltips\UI-Tooltip-Border.png"
  11.             tile="true" >
  12.             <EdgeSize val="12"/>
  13.             <TileSize val="16"/>
  14.             <BackgroundInsets left="5" right="5" top="5" bottom="5"/>
  15.             <Color r = "1" g = "1" b = "0" a = "1" />
  16.             <BorderColor r = "0" g = "1" b = "1" a = "1" />
  17.         </Backdrop-->>             
  18.     </Frame>
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 11-03-22, 09:32 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6006
File comments: 283
Uploads: 29
Dragonflight Status

Barring an error which has an easy fix the addon works in Dragonflight Pre Patch fine.

The fix is as follows for those that need it working now rofl

In XMage_Portals_Config.lua around line 55
Lua Code:
  1. function XMP_Config_OnLoad(frame)
  2.     frame.isLocked = false
  3.     frame:RegisterForDrag(addonData.moveButton or "LeftButton")
  4. end

In XMage_Portals_Frames.lua around line 30
Lua Code:
  1. local function XMP_InitDragger(frame)
  2.     if addonData.isMovable then
  3.         frame.isLocked = false
  4.         frame:RegisterForDrag(addonData.moveButton or "LeftButton")
  5.     else
  6.         frame.isLocked = true
  7.         frame:RegisterForDrag(nil)    
  8.     end    
  9. end

However, tooltip info definitely needs a revamp, expansion pack requirement isn't a thing really so no longer needs to be there. The new level information since Shadowlands changed it I tried to get from wowhead but the information seemed inconsistent. So I am levelling up a new mage so that I can check the level requirements at the trainer before learning any teleport/portal spells.

Also, the nUI infopanel system that the addon plugs into limits the size of the frame and with the portal buttons for Shadowlands and Dragonflight still to be added to the list I may have to either remove the *Regular spells* button or relocate it. Although based on the space the individual map spells take up, I could create a special area in the center right that could house 4-6 spells all the time.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 04-27-24, 06:19 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6006
File comments: 283
Uploads: 29
I'm in the process of rewriting the addon to be more future proofed.

I currently have the frame work set up with the button frame able to house 32 buttons of a reasonable size
And a controller frame ( like before ) but this time instead of housing map imagery ( because they changed how that works and it isn't feasible that route now ) it uses buttons for Portals, Teleports and Historical Spells.

I think the frame is still small enough to fit within nUI's info panel frame but will test and make changes when that part is hooked back in ( it shouldn't need many changes to the older version ).

I may also consider a minimap button to show and hide the frame and may even see if I can add a list of the most used spells for easy access. But I have never done that type of functionality so I won't say it's a definite.

Edit 1: Next Day (Day 2 )
Working:
Header Frame movable but location not stored between sessions
Buttons, Cooldowns and History working as expected
Button Frames shown and hidden as required and as expected

StillToDo:
Frame Changes dependant on combat / regen situation
Minimap Button and/or Slash Command considerations
nUI Integration re-applied
Store frame location between sessions


Edit 2 : Following Day ( Day 3 )
Had things pretty much where I wanted them ( albeit the minimap button and any settings )
nUI Infopanel working as expected
In combat changes made as expected
Frame Location consistent as long as you didn't switch between nUI and non nUI

However ....
I decided to set the addon up to be cross version compatible to find that some of the code and the UI visual wasn't quite working right in Classic Era.

So ..
Time to get the version files and data set up so that only portions of the addon are version specific with the bulk version friendly.

The downside is that I don't have the ability to make a high level mage in Classic Era - due to it's current Season. So, I will just assume that things will correct themselves as people learn the spells.
However, I have limited the addon to Mage class only so, if there was a portal/teleport rune, there won't be an addon version for that scenario.


Edit 3,4:
I think I have managed to get most things working across all versions ( Retail, Classic Era, Cata Beta ) barring a few issues.
1. Going from nUI plugin to regular addon it is reactivating the wrong buttons
2. When in nUI plugin mode, the cooldown counter numbers do not appear because nUI ignores the counter display blizzard setting as they have their own.
3. When a new spell is learned, it isn't correctly updating the pages - appears to work now in Classic Cata tests
4. After a cooldown is triggered and the frame is hidden( combat/page switching) returning to the frame didn't update the cooldown - appears to work now in Classic Cata
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Last edited by Xrystal : 04-30-24 at 01:11 PM.
Report comment to moderator  
Reply With Quote
Unread 04-30-24, 03:23 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6006
File comments: 283
Uploads: 29
Finally .. New Version Uploaded

Tested with :
Classic Era / Vanilla ( with a low level mage with no portal spells )
Classic Cataclysm ( on Beta with a max level mage with most spells available in that version )
Retail / Mainline ( on PTR and Retail with both a high and low level mage )


The only issues I am seeing so far based on these tests are :

When in nUI plugin mode, the cooldown counter numbers do not appear because nUI ignores the counter display blizzard setting as they have their own. But the cooldown swipe works fine.

When a cooldown is triggered but you switch to history page, the spell there isn't immediately updated with the cooldown. Moving off and back on will update it however.

I won't worry about these however as one involves a big change to nUI and the other occurs in an unlikely common situation.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Unread 07-18-24, 02:17 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6006
File comments: 283
Uploads: 29
The War Within (TWW 11.0)

Unfortunately the PTR has turned off addon availability for the moment so I haven't been able to go through my small addons prior to the pre-expansion patch update. I will of course update here once I have tested it and updated it where necessary.

Where they have made spellbook changes I am suspecting that many of my addons are affected so will attempt to keep on top of fixable issues and keep an eye on problematic ones.

Where Portals is cross version compatible ( or was ), there may be more changes required as not all versions will be using the same Spellbook api until they update them in the future.

Edit: As of 18th July. This version still works on TWW PTR. No errors setting up the frames ( a little glitch but should be easily fixable ) and of course, I don't know the spell info for the new portals and teleports.
No changes required means it should also still work on the other versions. I don't play on Classic, so if you do find an issue with general usage, let me know.

Before doing an official 11.0 version upload after the Pre Expansion version hits I will do another quick run through in case they make changes nearer and on release day.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Last edited by Xrystal : 07-18-24 at 05:01 PM.
Report comment to moderator  
Reply With Quote
Unread 08-21-24, 03:45 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6006
File comments: 283
Uploads: 29
Yep, looks like they made some changes that messed up the addon badly.

Working on it ..
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 70 - Resto Druid
Gamaliel - 70 - Disc Priest
Lienae - 70 - Resto Shaman
Velandryn - 70 - Prot Paladin (TR)
+ 5 at 60+
+ 2 at 40+

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: