Thread Tools Display Modes
06-20-09, 05:20 PM   #1
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Mage Portal / Teleport Plugin Coming Soon ...

Rofl .. My first secure action buttons and an nUI plugin gets first chance at benefitting from it.

I've almost finished it but instead of the usual lets grab an addon and reparent and position it in an infopanel I went one step further and actually coded the addon as part for the infopanel framework.

Where it would usually check for the addon being loaded and running I actually create the frame and its functionality. The infopanel part of the code then repositions it as normal.

It's looking fine so far but not quite finished. I had a glitch with getting the buttons appearing but sorted that problem out with the help of Alestore (sp?) on the UI Official Forums.

I decided to do this as I have been using cryolosis 3 and they haven't made any changes to it in a long while and sometimes it decides to not work for some reason I have yet to fathom. So I thought , aha .. lets make an nUI plugin, so I don't got fumbling around my spell book when I need to port or teleport someone at the same time it decides to not work. Rofl, of course while testing it today cryo worked fine .. think it is getting scared .. rofl.

I did check similar addons but their frames were too big to fit in the infopanel so I thought I would just make one from scratch So you should see this ready for download sometime next week once I have finished off the functionality and tidied up the code.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-20-09, 06:37 PM   #2
spiritwulf
A Cobalt Mageweaver
 
spiritwulf's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2006
Posts: 202
Very nice Xrystal. I'm wondering however how inteligent youve made it or how far you are willing to go on it. Now i know there are several other versions of cryo out there for other classes such as locks and i think i remember seeing them for other classes as well like pallies and maybe priests. It dosnt seem that far of a stretch to consider that it could be adapted to be inteligent and recognize what class was using it and configure itself based off of a profile to work for any class that could possibly make use of it. Of course im basing this off of an image i have in my head and maybe dreaming of something that would more properly be considered a possible future feature of nUI rather than belonging to a plugin but a guy can dream cant he?
__________________
Traveling through the night on padded feet
the ghost in the dark
to rend and kill
not for pleasure
but for survival
 
06-20-09, 06:58 PM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Rofl. of course he can

At the moment it literally is just what it says portal and teleport buttons hidden away in an info panel until such a time as they're needed. The only intelligent thing about it is keeping the small database up to date with the spell IDs and whether it is horde or alliance based and display it related to that. I used PortalBox as inspiration but it was way too big to be anchored to the info panel frame.

I like to work my way up there 1 step at a time, but if you look at my Loot Alerter addon you can see I started small and added to it as I learnt something new that would help it grow.

And yeah, I've been using cryolosis for a while and even for those classes that aren't covered yet the 3 custom buttons have been useful as well as the mount button. But the last update there was way back in December and as far as I know Mage and Priests are pretty much the best covered in that addon which has been useful as they are my 2 best geared toons. At the moment that is

Rofl, with 5 70+ pretty active toons I'm sure it will come to a point where I will try to get one addon working for all of them Of course it helps that they are pretty much all casters.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-20-09, 08:57 PM   #4
Depresjon
A Chromatic Dragonspawn
 
Depresjon's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 191
* Cryolysis (Mage)
* HolyHope (Paladin)
* Necrosis (Warlock)
* Sabella (Rogue)
* Serenity (Priest)
* Totemus (Shaman)
* Venantes (Hunter)

Are there other classes that have an addon like this?

edit : Henge is a spherelike mod for all classes it says,but is out of date it seems
Lunarsphere seems oke too
__________________

Last edited by Depresjon : 06-20-09 at 09:10 PM.
 
06-21-09, 12:02 AM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Yeah I tried Lunarsphere but it was way too much stuff there for my liking but I am sure alot of people would like it.

Cryo I have used for years which is why I stumbled when it stopped working suddenly when someone wanted a port - rofl .. had to hunt it down in my spell book )
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-21-09, 12:05 AM   #6
Depresjon
A Chromatic Dragonspawn
 
Depresjon's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 191
i tried lunarsphere this morning and have to agree with you,might try cry3 on my mage.
__________________
 
06-21-09, 01:40 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Okay, the layout is done. Just need to work on the alpha level for unknown spells and figure out how to get the tooltips working.

Here's a couple of images to show you what it looks like.

The first should be of my level 80 mage and the second my level 11 mage that I use for testing addons
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_062109_202959.jpg
Views:	652
Size:	352.8 KB
ID:	2935  Click image for larger version

Name:	WoWScrnShot_062109_203109.jpg
Views:	646
Size:	290.0 KB
ID:	2936  
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-21-09, 03:23 PM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
That's really very nicely done... thanks.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
06-22-09, 08:26 AM   #9
Petrah
A Pyroguard Emberseer
 
Petrah's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 2,988
Wow Xrystal, those look pretty darn nice. If I had a mage, I would use it!!
__________________
♪~ ( ) I My Sonos!
AddOn Authors: If your addon spams the chat box with "Addon v8.3.4.5.3 now loaded!", please add an option to disable it!
 
06-22-09, 08:45 AM   #10
havoxx
A Chromatic Dragonspawn
 
havoxx's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 152
Ohhhh ohhh ME!!! ME!!!!! , I want!, very nice addon, I have one that gives you a raidwarning if you port in a team , tells ya that you are leaving people behind lol.
__________________
 
06-22-09, 09:18 AM   #11
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Originally Posted by havoxx View Post
Ohhhh ohhh ME!!! ME!!!!! , I want!, very nice addon, I have one that gives you a raidwarning if you port in a team , tells ya that you are leaving people behind lol.
Ah .. cool idea that .. quite a few times Ive teleported by mistake instead of porting. Will add it promptly

Have the alpha level sorted and figured out the tooltip thanks to a post elsewhere here that Scott posted in reply to another posters query.

Currently working on a cooldown feature which is almost there. And could probably add the reagent restocking option that cryo has just for the portal and teleport runes.

I've added the ability to update the buttons when you learn a new spell just in case it is one that it uses but I don't have a mage close enough to fully test it on but it definitely executes the function on learning a new spell and the update routine works in other situations so the two together should work fine.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-22-09, 09:53 AM   #12
Depresjon
A Chromatic Dragonspawn
 
Depresjon's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 191
wow,looks sooo nice.
I Will lvl my mage thanks to this addon
__________________
 
06-22-09, 12:17 PM   #13
havoxx
A Chromatic Dragonspawn
 
havoxx's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 152
Originally Posted by Xrystal View Post
Ah .. cool idea that .. quite a few times Ive teleported by mistake instead of porting. Will add it promptly

Have the alpha level sorted and figured out the tooltip thanks to a post elsewhere here that Scott posted in reply to another posters query.

Currently working on a cooldown feature which is almost there. And could probably add the reagent restocking option that cryo has just for the portal and teleport runes.

I've added the ability to update the buttons when you learn a new spell just in case it is one that it uses but I don't have a mage close enough to fully test it on but it definitely executes the function on learning a new spell and the update routine works in other situations so the two together should work fine.

Is it possible to have a class check on it? Like the totem bar addons that won't load if you aren't on a shaman?

Believe it's this part of the code(taken from Call Of Elements)
Code:
--[[ ----------------------------------------------------------------
    METHOD: COE:Init
    
    PURPOSE: Loads submodules and initializes data
-------------------------------------------------------------------]]
function COE:Init(self)
    COE:Message( "Call of Elements v" .. COE_VERSION );
    
    -- load only for shamans
    -- ----------------------
    local _, EnglishClass = UnitClass( "player" );
    if( EnglishClass ~= "SHAMAN" ) then
        COE:Message( COESTR_NOTASHAMAN );
        COE.Initialized = false;
    else
        COE.Initialized = true;

        self:RegisterEvent( "VARIABLES_LOADED" );
    
        -- register shell command
        -- -----------------------
        SlashCmdList["COE"] = COEProcessShellCommand;
        SLASH_COE1="/coe";
        
    end

end
__________________

Last edited by havoxx : 06-22-09 at 12:20 PM.
 
06-22-09, 02:25 PM   #14
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Yeah, I was planning to do a class check on this and unload the addon if it is the wrong class. I think I saw and unloadAddon function somewhere.

Originally Posted by havoxx View Post
Is it possible to have a class check on it? Like the totem bar addons that won't load if you aren't on a shaman?

Believe it's this part of the code(taken from Call Of Elements)
Code:
--[[ ----------------------------------------------------------------
    METHOD: COE:Init
    
    PURPOSE: Loads submodules and initializes data
-------------------------------------------------------------------]]
function COE:Init(self)
    COE:Message( "Call of Elements v" .. COE_VERSION );
    
    -- load only for shamans
    -- ----------------------
    local _, EnglishClass = UnitClass( "player" );
    if( EnglishClass ~= "SHAMAN" ) then
        COE:Message( COESTR_NOTASHAMAN );
        COE.Initialized = false;
    else
        COE.Initialized = true;

        self:RegisterEvent( "VARIABLES_LOADED" );
    
        -- register shell command
        -- -----------------------
        SlashCmdList["COE"] = COEProcessShellCommand;
        SLASH_COE1="/coe";
        
    end

end
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-22-09, 10:20 PM   #15
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Well the class check seems to work. But didn't get much chance to test anything else out as I spent hours repatching after a corrupted wow file cause a rollback to 3.0.1 version - rofl.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-23-09, 10:08 AM   #16
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Okay, I think the initial is all ready .. a quick look through the events/spell/character functions to see if anything useful appears before posting it ... nope .. nothing else there .. you will soon find it available for download
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-23-09, 09:37 PM   #17
Depresjon
A Chromatic Dragonspawn
 
Depresjon's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 191
Originally Posted by Xrystal View Post
Okay, I think the initial is all ready .. a quick look through the events/spell/character functions to see if anything useful appears before posting it ... nope .. nothing else there .. you will soon find it available for download
Sweet cherrypie
gief gief gief

I'll be one of those that will use this
__________________
 
06-24-09, 04:06 PM   #18
Randlore
A Murloc Raider
Join Date: Apr 2009
Posts: 8
hello guys

if it is pos how do i get this plugin to work on my laptop

i am runin the game in 1024*768 but the icons do not show up right

is they anything i can do to make then resize them to make that sshow up right plz
 
06-24-09, 04:17 PM   #19
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,925
Hi Randlore, in case you haven't seen it yet I have just uploaded the fix to the bug you spotted about the same time I did . rofl.

Anyway, if you want to try testing different sizes for the icons try adjusting these values in the mageports.lua file.

Button:SetWidth(36);
Button:SetHeight(36);

Each time you change it though you will need to do a /rl to get the latest codefile incorporated. If a different number helps your set up let me know and I will shift it up higher in the file to where the other customizable values are. I am trying to avoid a config set up to minimize code but may incorporate slash commands to change those values while in game in a later version.

Also, at the moment I haven't got it resizing buttons based on resolution like Scott does with the nUI base code but if needed I will look into that aspect too.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-24-09, 04:19 PM   #20
Randlore
A Murloc Raider
Join Date: Apr 2009
Posts: 8
Originally Posted by Xrystal View Post
Hi Randlore, in case you haven't seen it yet I have just uploaded the fix to the bug you spotted about the same time I did . rofl.

Anyway, if you want to try testing different sizes for the icons try adjusting these values in the mageports.lua file.

Button:SetWidth(36);
Button:SetHeight(36);

Each time you change it though you will need to do a /rl to get the latest codefile incorporated. If a different number helps your set up let me know and I will shift it up higher in the file to where the other customizable values are. I am trying to avoid a config set up to minimize code but may incorporate slash commands to change those values while in game in a later version.

Also, at the moment I haven't got it resizing buttons based on resolution like Scott does with the nUI base code but if needed I will look into that aspect too.
did not want to mess with a good programe just wood like it to work on a screen runig at 1024*768

ty for the info will go now and download the update ones more ty for the help

here is what i am geting plz find pic

[IMG][/IMG]

Last edited by Randlore : 06-24-09 at 06:05 PM.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Plugin Support » Mage Portal / Teleport Plugin Coming Soon ...

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off