You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Battlemod: color codes should not breakup ability names (chatmon incompatibility) #2244
There is currently a conflict with both Battlemod and Chatmon concerning color codes.
It seems that Chatmon does not strip color codes prior to making a match, and Battlemod rewrites the log to include a lot of color coding around targets and ability names,
To exacerbate this further, Battlemod breaks up multi-word ability names with additional color codes per word, even if the color is not changing, causing a mismatch.
It will have to be the former, since the fix for battlemod is not very simple. The reason battlemod does this is because the color formatting will disappear after line breaks (a line break resets the color). And since we cannot detect when that happens, the idea was to prepend the currently active color code before every word. Ideally we'd find a solution to that as well as fix Chatmon to strip formatting prior to text matching.
Activity
z16 commentedon Nov 23, 2022
It will have to be the former, since the fix for battlemod is not very simple. The reason battlemod does this is because the color formatting will disappear after line breaks (a line break resets the color). And since we cannot detect when that happens, the idea was to prepend the currently active color code before every word. Ideally we'd find a solution to that as well as fix Chatmon to strip formatting prior to text matching.
Xabis commentedon Nov 23, 2022
Thank you for providing context on the current behavior.
I have opened a ticket for Chatmon here:
Windower/Issues#1094
Xabis commentedon Dec 9, 2022
I wrote a lua version of chatmon, to address these issues, which is available below for any interested:
https://github.com/Xabis/Chatmon