Thread Tools Display Modes
03-26-09, 12:13 PM   #1
Treboron
A Cyclonian
Join Date: Mar 2009
Posts: 35
Extra Chat Window Linked to Combat Log?

Would it be possible to create a new tab (ie a guild tab) that could be linked to the combat info window?

I don't want an extra button to access, I just wish i could create a new tab and hook it onto the combat text window that currently sits in the lower right window.

I personally don't use the combat text window and rarely look at omen, so having my guild chat window there most of the time would be ideal...
 
03-26-09, 12:17 PM   #2
Treboron
A Cyclonian
Join Date: Mar 2009
Posts: 35
Short term I'm trying to turn off all the combat message and turn on Guild based message for that chat window.

non nUI... but can't seem to turn off "crafting" message in combat log
ie... noob creates bandage

Last edited by Treboron : 03-26-09 at 12:23 PM.
 
03-26-09, 01:10 PM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
This could very easily be done as a plugin if someone wants to take it on. I've been wanting to, just haven't had the time.
__________________

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/
 
03-26-09, 05:17 PM   #4
todd3835
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 89
Originally Posted by Treboron View Post
Short term I'm trying to turn off all the combat message and turn on Guild based message for that chat window.

non nUI... but can't seem to turn off "crafting" message in combat log
ie... noob creates bandage
If I'm getting this right, you just want to add guild info to the combat log window and get rid of bandages right? If so, you can right click on the "Combat" tab, go into options, and turn OFF tradeskills messages, that will get rid of the bandages issue. You should also be able to add in guild messages. If not, just make a new custom tab that has combat and guild only. Not really seeing how the UI itself could accomplish these personally..... I highly recommend Prat for chat windows though, has some nice features like class colors, lvl of known players, and timestamps among other things.
 
03-26-09, 06:07 PM   #5
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
The quick solution to this is to grab the Combat log plugin out of the [ nUI > Layouts > Default ] tree and modify it to grab chat panel 3 instead of 2 (which is the combat log) and then set the chat frame to be the guild chat frame. You can then use the nUI_InfoPanel_Minimap plugin as the framework to make this a standalone plugin for nUI.

It really is only a few hours work at the very if you know Lua already. An hour if you're already familiar with making WoW mods.
__________________

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/
 
03-27-09, 04:41 AM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,893
I've been using WoW Instant Messenger to handle whispers. Some mistells could mess a person up (especially considering I whisper my US fiance alot while I'm in the UK). But moving on swiftly.

Whats cool with WIM, in case you weren't aware, is that it stores x days of messages with options to limit or expand as fits your needs. Imagine you've gone afk longer than you were expected and come back to find yourself logged out. You log in unaware that 10 minutes earlier your guild friend had asked you to make him something before logging out not realising you didn't receive the message in time. This stops that from happening as you can check to see what messages you received when you log back in.

So, I was thinking that it would be cool to create a guild chat window to do a similar thing. maybe keep 7 days of guild chat in storage. Maybe less. You could always expand on the in game addon by extracting the information and store offline for guild reading at a later date if you so wish. Also, you could have an officer chat window to stop the accidental officer chat slipping into the guild chat.

Having it as an infopanel would be one step nearer to what I was thinking about but I personally cannot imagine the first steps to do that beyond drawing a frame on screen and saying 'Hello <name> of <server>' etc Although, helping identify problems and their causes in nUI is helping me figure out some things.
 
03-27-09, 06:09 AM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,893
Grr, well I just rigged up something that looked like it should be but when trying to use it in game in came up with the following message:

Interface\FrameXML\UIParent.lua:2613: attempt to call method 'GetEffectiveScale' (a nil value)

I can't see anything in either the minimap nor the combat log to help me identify what is trying to call this. In fact if I disable my addon the game has no problems.

Well, managed to get the window displayed ( set infomode value to higher than Ive seen so far ) but still getting that error.

Also, I see all it sets up is A chat window not a specific guild chat window. I'm guessing the initialisation of what to accept in the window is up to the addon user so I best go cracking.
 
03-27-09, 06:24 AM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
If you can... grab a copy of Swatter or BugSack and then post the actual error you're getting... I'll see if I can help.
__________________

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/
 
03-27-09, 06:31 AM   #9
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,893
Thanks Scott, doing that now.

What I did notice though was that the combat log window seems to be similarly afflicted and showing the default tradeskills etc messages.

But I found the command to disconnect them so should be able to filter them off automatically.


edit: *whistles innocently*
I don't know how this code got in here but this seems to be where the problem was according to Bug Grabber

in setSelected function
GUILDCHAT_LOG.showButtons( MouseIsOver( COMBAT_LOG ) );

Somehow the person that was replacing all the COMBAT_LOG parts of your Combat Log plugin missed this one.

Yep, reloaded ui and now no errors found.

Now to get it (s p e c i a l i s e d) (grr darn filter) or we could simply have it called RightHandChatWindow - rofl. Nope, GuildChat seems better to me.


edit 2: I really should check the code out before saying somethings not work *rofl*. Still had the CombatLog settings in the channels to use list. All working so far just adding some more stuff and then I'll throw up screen shot of it up and running.

Last edited by Xrystal : 03-27-09 at 08:01 AM.
 
03-27-09, 09:14 AM   #10
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,893
Well, try as I might I cannot get it to be turned off if the character entering world is not in a guild.

I am using IsInGuild() function to validate the "player" but no joy. But it's working later on when setting the Chat Windows Tab Name with the Guild Name or "Not in a Guild".

Anyway, here's screen shots with one of my toons who are in a guild and thus showing the guild name and one not in the guild showing the appropriate name in the window tab.

So tidying up the code somewhat and put some notes in there somewhere. The question is do you want me to add in the zip file of the final files here or is there something else that has to be done ?
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_032709_140232.jpg
Views:	748
Size:	337.9 KB
ID:	2405  Click image for larger version

Name:	WoWScrnShot_032709_151447.jpg
Views:	750
Size:	333.1 KB
ID:	2406  
 
03-27-09, 09:37 AM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Personally, having the "Not in a guild" message I don't see as being a problem at all. If they're not in a guild, then they can just click-off the info panel and use another panel that they need. So I wouldn't sweat that.

The question is do you want me to add in the zip file of the final files here or is there something else that has to be done ?
I'm actually not sure what you're asking here. You can uploaded it into chat if you like, I would suggest also uploading it to Info Panel Plugins download area at http://www.wowinterface.com/downloads/cat135.html

If you're asking me something else, please forgive me denseness... I think the last week of debate on the WoW UI forum has lowered my IQ by about 60 points ~lol~
__________________

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/
 
03-27-09, 10:07 AM   #12
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,893
No that was exactly what I was asking Scott. Wasn't sure what the procedure was.

edit:
Okay, after some more testing, its working but occasionally it causes an error when switching toons both in a guild. When I switched to a toon not in a guild everything was fine. I'll do some more testing after I've had more sleep so I'm a bit more alert for the raid tonight.

But here's what I have file wise so that people that want to test it can. The downside is that the bug messes up with the frames. Which isn't a good idea at all.

Is it my imagination or not Scott. All I had to do on that was add a few lines specific to what I want and copy and paste from the files yuo mentioned.
Attached Files
File Type: zip nUI_InfoPanel_GuildChat_v1_01_00.zip (4.2 KB, 684 views)

Last edited by Xrystal : 03-27-09 at 12:20 PM.
 
03-27-09, 06:44 PM   #13
Treboron
A Cyclonian
Join Date: Mar 2009
Posts: 35
Originally Posted by spiel2001 View Post
The quick solution to this is to grab the Combat log plugin out of the [ nUI > Layouts > Default ] tree and modify it to grab chat panel 3 instead of 2 (which is the combat log) and then set the chat frame to be the guild chat frame. You can then use the nUI_InfoPanel_Minimap plugin as the framework to make this a standalone plugin for nUI.

It really is only a few hours work at the very if you know Lua already. An hour if you're already familiar with making WoW mods.
Is there a specific line in a specific lua i could modify to grab panel 3 instead of panel 2? Or is it way more complicated than that?

I'm just trying to get rid of the floating "guild" window I have in the playable game window...
 
03-27-09, 06:52 PM   #14
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Xyrstal's post right before yours probably has what you're looking for in it.
__________________

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/
 
03-27-09, 07:09 PM   #15
Treboron
A Cyclonian
Join Date: Mar 2009
Posts: 35
Originally Posted by spiel2001 View Post
Xyrstal's post right before yours probably has what you're looking for in it.
I didn't see that post...

Do I just trying running that new addon, or do I need to turn the mini-map addon back on? (Its off from the recent bug issue).
 
03-27-09, 07:51 PM   #16
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
You should be able to download the update the minimap addon, I fixed that. This addon should be different from the minimap one. You should be able to just install it and go.
__________________

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/
 
03-28-09, 05:41 AM   #17
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,893
Thumbs up

Noticed a problem last night just before my Naxx 25 raid where it kicked up a fuss when you first logged in. For some reason the "Not in a Guild" or <Guild Name> part decided it would only work after you reloaded the ui. When you first log in it refuses to work. I had the GetGuildInfo function set at various obvious locations such as PLAYER_ENTERING_WORLD but to no avail.

Finally, after the 4hr long raid (or was it more?), I tracked down the little function at the bottom I had copied from either the CombatLog or Minimap one that had an OnChatUpdate function which was even more ideal.

Then I tried to add a fresh copy a few hours ago but the site was down, so I went to bed (ignoring the fact it was 8am by then), so will do a quick double test to make sure it still works between guildies and non guildies fresh logging in and reloading ui and then I'll post the latest one I have.

Note to Self: You'll just have to test things by logging out to character selection screen.
 
03-28-09, 07:27 AM   #18
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,893
Okay, after logging in and out repeatedly on multiple toons (thankfully while no-one else was in guild - rofl) I have finally got it to work regardless of guildieness and how the player refreshes the UI.

Added note files for both plugin developers and the user themselves.

Here's the final version of the files and will be uploading shortly via the link you gave earlier Scott.
Attached Files
File Type: zip nUI_InfoPanel_GuildChat_v1_01_00.zip (5.9 KB, 701 views)
 
03-28-09, 08:22 AM   #19
Treboron
A Cyclonian
Join Date: Mar 2009
Posts: 35
Originally Posted by Xrystal View Post
Okay, after logging in and out repeatedly on multiple toons (thankfully while no-one else was in guild - rofl) I have finally got it to work regardless of guildieness and how the player refreshes the UI.

Added note files for both plugin developers and the user themselves.

Here's the final version of the files and will be uploading shortly via the link you gave earlier Scott.
Ok thanks for the work so far!

There seems to be some conflicts with "chatter" addon... Something about "motd" not being able to post... Probably cause chatter loads before your addon.

I'm gonna try the update...

I"ll post swatter info when i get a chance

P.S. Maybe it should have been 1.01.01
 
03-28-09, 08:28 AM   #20
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Just wanted to tell you thanks Xrystal -- users picking up these kind of mantles has been my vision for nUI from the get-go... which was why I created an API in the first place. ~lol~

I suppose now is not the time to make any gestures in Bliz's direction, huh?

~grin~
__________________

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/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Suggestion Box » Extra Chat Window Linked to Combat Log?

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