EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Unread 11-15-2012, 11:36 AM
Darqwood's Avatar
Darqwood Darqwood is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Posts: 969
Default

I went around in circles trying to do the same thing while I was working on the spellcast monitor -- getting "red text" messages into some kind of chat broadcast. The inline color codes are frustrating because the hex seems to be considered part of the string and never gets stripped out no matter what you push it through. My experience was that chat output was dropped completely if the inline color string came from anywhere other than the game code.

It just occurred to me that you might try concatenating some characters onto the beginning of the string, to fool the chat output into bypassing the code. Something like

x\#FF0000The mob starts to cast a powerful effect.
or
//\\#FF0000The mob starts to cast a powerful effect.

It may be that the inline code only gets processed if it's at the beginning of the line, or preceded by a non-alpha character. It wouldn't be pretty but it would at least be something you could reliably send to a chat channel. Not at my game computer right now so I can't test it.

Alternatively, you could come up with a list of known popup text strings including the inline color code, and test for the complete string. Known strings that include the character's name would have to be handled with ##


.
Reply With Quote
 



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
Forum Jump


All times are GMT -5. The time now is 12:50 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI