Reply
 
Thread Tools Display Modes
Old 04-06-12, 03:42 AM   #1
Léthalvenom
A Cyclonian
 
Léthalvenom's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 45
error messages into chat frame

Hi guys,atm i m busy with a lighter and even cleaner version of my ui pack for upload. So my problem is that back in tbc i saw some one that had its errors not in the middle of the screen but in one of his chat tabs.(like : you re too far away , not enough energy etc )
I m using 3 chat windows myself and would like to see my error messages into the boss/creature emote chat window. So the errors itself shouldn t be hidden just not anymore in the middle of my screen. I only want to see them in my chat window.
Is there any one who knows an add-on that does this or can help me fix this?
Thnx in advance

Last edited by Léthalvenom : 04-06-12 at 04:14 AM.
Léthalvenom is offline   Reply With Quote
Old 04-06-12, 05:24 AM   #2
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,033
Unformatted I use the print command to go into the main chat frame. If I wan't something serious I usually use MessageFrame:AddMessage("text" [, red [, green [, blue [, alpha]]]]) - as taken from wowprogramming.com.

But if you wan't something really important to grab the users eye then the screen is the best way to handle that stuff.
__________________




Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
Version 5.07.27 contains the latest bugfixes.
The thread http://www.wowinterface.com/forums/s...t.php?p=267112 makes an adjustment missed off of the patch update.
Xrystal is offline   Reply With Quote
Old 04-06-12, 05:35 AM   #3
Léthalvenom
A Cyclonian
 
Léthalvenom's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 45
nah its not to catch important stuff,i just want it off the middle of my screen and be able to see or scroll back in one of my chat frames.
Playing wow for 6.5years now so most of the stuff we ve seen allready by now ^^
Léthalvenom is offline   Reply With Quote
Old 04-06-12, 06:03 AM   #4
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,131
Adjusted some of the code of IhasNoScope.
lua Code:
  1. --disable the default error frame
  2. UIErrorsFrame:UnregisterEvent"UI_ERROR_MESSAGE"
  3. --add new event trigger
  4. local event = CreateFrame"Frame"
  5. event.UI_ERROR_MESSAGE = function(self, event, error)
  6.   print(error)
  7. end
  8. event:RegisterEvent"UI_ERROR_MESSAGE"
Obviously you could replace print with any other message frame.

Like
Code:
CombatText_AddMessage(error, COMBAT_TEXT_SCROLL_FUNCTION, 1, 0, 0, "crit", nil)
RaidNotice_AddMessage(RaidBossEmoteFrame, error, ChatTypeInfo["RAID_WARNING"]) 
RaidNotice_AddMessage(RaidWarningFrame, error, ChatTypeInfo["RAID_WARNING"])
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 04-06-12 at 06:12 AM.
zork is offline   Reply With Quote
Old 04-06-12, 01:55 PM   #5
Léthalvenom
A Cyclonian
 
Léthalvenom's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 45
i must confess that i m really nab when it comes down to lua
Thats why i was searching for an add-on that might do what i need
Léthalvenom is offline   Reply With Quote
Old 04-06-12, 02:25 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,186
http://www.wowinterface.com/download...orMonster.html
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

Seerah is offline   Reply With Quote
Old 04-07-12, 04:19 AM   #7
Léthalvenom
A Cyclonian
 
Léthalvenom's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2011
Posts: 45
Ty once again Seerah
This is what i was searching for.
Hope it still works since its pretty old
Léthalvenom is offline   Reply With Quote
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » error messages into chat frame

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