RChat - Chat Replacement Add-On For Windower

Language: JP EN DE FR
New Items
2020-03-17
users online
Forum » Windower » General » rChat - Chat Replacement Add-On for Windower
rChat - Chat Replacement Add-On for Windower
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-06-26 21:55:29
Link | Quote | Reply
 
rChat - Windower Chat Replacement Add-On

This was originally written as just a text box replacement for tells and checking thechatlog without using sandbox if your multiboxing. After coding a majority of it I expanded to a bigger chat system replacement. Still a work in progress making style patterns for the text.

https://github.com/erupt321/ruptchat

__07.02.20__
New setting Battle_flash. This is a toggle for mentions that have to do with the battle log. If this is enable it'll flash the mention it finds along with the words on that line, this is useful for abilities, when it's on it also bypasses certain mention properties like ignoring if your currently viewing the battle window. All other mentions should still work like normal. I'm hoping this will be somewhat how people were wanting monster abilities to alert them. Also fixed some bugs with tabs not loading correctly on a reload, specifically empty tabs. Fixed a battle log style that was showing a [cr on the beginning of the spell cast.

__07.01_20__
Fixed mentions and redid some of it's processing features, if you have a docked window up for the tab being mentioned it will not display it. For 'All' mention tracking it always displays the alert and will go away when you have a 'All' tab opened for at least 5 log inputs. For mentions on other tabs the mention will go away as soon as you click on the tab. Fixed some issues where mentions were coming up from the wrong tabs input.

__06.30.20__
Added log_dwidth, which forces a different width setting on your undocked window so you can
have mixed window sizes to suit your screen setup.
Added snapback which will force the undocked window to follow your main window whenever you drag
the main. You can still move around the undocked while this is enable and it will not snapback
until the main window is dragged.

Features

*Most usability is point and click.

*Window is draggable as well as clickable.

*All tabs are clickable, all text windows are mouse wheel scrollable. Holding down ALT and clicking a tab will open a second window for that tab's chat.

*Clicking the [ - ] in the upper right corner will minimize the text box and leave just the tab menu.

*New tells recieved while in a none "All"/"Tell" tab will provide a Notification.

*Search system for searching through current tab. Can click to search next until finished.

*Can save as much chat log lines as you'd like but anything over 5000 can lag during save.

*Mentions can be added that alert you when a word is mentioned in a tab.


Newest Features

*Added Color Templates to enable custom color profiles saved in between code updates.


Console Commands

//rchat save (Force a chatlog save)

//rchat find <search terms> (Search current selected tab for search terms

//rchat mentions (Shows mention phrases you have saved for tabs)

//rchat addmention <tab> <phrase> (Add mention phrase for tab)

//rchat delmention <tab> <phrase> (Remove mention phrase for tab)

//rchat hide (Hide's text box from showing)

//rchat show (Show hidden text box)

//rchat drag (Disable Draggable boxes; requested option)

//rchat alpha <0-255> (Change background transparency)

//rchat size <font size> (Change font size, this will increase whole window size)

//rchat font <font name> (Change font, some fonts that are grossly different sizes will affect clickables)

//rchat length <Log Length> (Change log length size)

//rchat width <Log Width> (Change log width size; when wordwrap should take effect)

//rchat dwidth <Undocked Width> (Same as Log Width, if set to 0 will use Log_Width settings)

//rchat strict_width (Toggle maintaining the max log width; avoid box shrinking and expanding)

//rchat tab [tab name] (Change tab's without mouse input, goes to next tab if empty)

//rchat undock [tab name] (Opens a second dedicated chat window for that tab, off if empty)

//rchat snapback (When enabled the undocked window will follow your main window

//rchat battle_all (Toggle Battle Chat showing in the All tab)

//rchat battle_off (Toggle Battle Chat being process at all; totally off)

//rchat battle_flash (Toggle Battle Messages forced pop on screen with flashing)

//rchat incoming_pause **EXPERIMENTAL** (Will turn off vanilla windows receiving chat. Coupled with the "Reactive window sizing" setting will make your chat log vanish. This is more visually appealing but you'll be solely relying on this addon for all ingame text. If in doubt just unpause it again.)


===Issues===

*If mouse input lags, enable hardware mouse in windower settings.

*Timestamps could possibly cause some false reads on filters, do recommend you turn it off.


**Usage Examples**

My current usage is keeping battle_all = off, this prevents battle log messages in my main log window
then I launch a undocked 'battle' window so that I now have a split window setup. If I want to scroll
my battle log I'll just click into battle on my main window and scroll. If I'm in the middle of a /tell
conversation I will change the undocked to 'tell'. Plenty of options to customize how you want your windows
setup through log_length / log_width.





[+]
 Fenrir.Aladeus
Offline
Server: Fenrir
Game: FFXI
user: Aladeus
Posts: 153
By Fenrir.Aladeus 2020-06-26 22:04:15
Link | Quote | Reply
 
looks quite a bit like wows chatlog system, which is a great thing
[+]
Offline
Posts: 463
By Aerison 2020-06-27 15:26:59
Link | Quote | Reply
 
Not sure if "//rchat strict_width" will prevent chat from expanding height wise, but with it enabled chat will still expand width if there's a long text and then eventually will come back to correct size set.

Size I set


Size it can sometimes expand to
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-06-27 16:22:26
Link | Quote | Reply
 
Aerison said: »
Not sure if "//rchat strict_width" will prevent chat from expanding height wise, but with it enabled chat will still expand width if there's a long text and then eventually will come back to correct size set.

I'll tweak the numbers some, most of my strict_width testing and use was for much wider width limits. There is a general minimum it's not going to take you to due to the top menu forcing it's own minimum width.
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-06-27 16:58:30
Link | Quote | Reply
 
I pushed out a new update that seems to solve the strict_width issue.
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-06-29 07:27:07
Link | Quote | Reply
 
Asura.Erupt said: »
Aerison said: »
Not sure if "//rchat strict_width" will prevent chat from expanding height wise, but with it enabled chat will still expand width if there's a long text and then eventually will come back to correct size set.

I'll tweak the numbers some, most of my strict_width testing and use was for much wider width limits. There is a general minimum it's not going to take you to due to the top menu forcing it's own minimum width.


I went ahead and went a step forward now and fixed strict width by font type, as well as added customization to the image map's by what type of font you are using. This is done by editing a table that has the font and some multiplier numbers that need to be adjusted according to how much space that font uses. So if anyone happens to play with those numbers for a new font I'd ask to submit those numbers to me so I can plug it in.

Here's an example of a font that probably takes up double the landscape of a typical font(Unispace):

Offline
Posts: 463
By Aerison 2020-06-29 08:10:50
Link | Quote | Reply
 
Few questions;

  • Is there anyway to get a strict_lenth? Sometimes when message/text spam happens it increases the length of the chat box.

  • Is there a way to adjust for different aspect ratios?

  • Have you run into an issue where clicking different tabs makes your character move? I realize this is probably a ffxi setting, just wondering if you've encountered it.



Also thanks for this, rchat is much cleaner imo.
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-06-29 08:32:36
Link | Quote | Reply
 
Aerison said: »
Few questions;

  • Is there anyway to get a strict_lenth? Sometimes when message/text spam happens it increases the length of the chat box.

  • Is there a way to adjust for different aspect ratios?

  • Have you run into an issue where clicking different tabs makes your character move? I realize this is probably a ffxi setting, just wondering if you've encountered it.



Also thanks for this, rchat is much cleaner imo.


The chat length should only move by 1 line at the most. Because of the word wrap feature I process the text in reverse so if the topmost chat line is wrapped then it creates a extra line. The alternative is to be missing a line instead, which I suppose I can make a toggle since some others have mentioned it(people really love box size consistency).

By aspect ratio, is that alot different then just changing text size? Changing text size already scales the full window down.

Clicking sometimes and moving is a issue with mouse events itself. Since I'm making these boxes capture mouse presses as well dragging if you drag too fast sometimes it can throw that to your vanilla UI instead of windower keeping the mouse input captured.


Thanks this was really just supposed to be a companion app to scroll tells easier since vanilla logs can bug out. Then just got kinda hooked on making it just a little more everyday.
Offline
Posts: 463
By Aerison 2020-06-29 08:39:29
Link | Quote | Reply
 
Asura.Erupt said: »
Aerison said: »
Few questions;

  • Is there anyway to get a strict_lenth? Sometimes when message/text spam happens it increases the length of the chat box.

  • Is there a way to adjust for different aspect ratios?

  • Have you run into an issue where clicking different tabs makes your character move? I realize this is probably a ffxi setting, just wondering if you've encountered it.



Also thanks for this, rchat is much cleaner imo.


The chat length should only move by 1 line at the most. Because of the word wrap feature I process the text in reverse so if the topmost chat line is wrapped then it creates a extra line. The alternative is to be missing a line instead, which I suppose I can make a toggle since some others have mentioned it(people really love box size consistency).

By aspect ratio, is that alot different then just changing text size? Changing text size already scales the full window down.

Clicking sometimes and moving is a issue with mouse events itself. Since I'm making these boxes capture mouse presses as well dragging if you drag too fast sometimes it can throw that to your vanilla UI instead of windower keeping the mouse input captured.


Thanks this was really just supposed to be a companion app to scroll tells easier since vanilla logs can bug out. Then just got kinda hooked on making it just a little more everyday.

Yeah, I guess I'm one of those people that just like that consistency lmao. No worries if it's too difficult to implement.

For the aspect ratio, I play on 1440p so I scale my UI by like 1.3/4 in the windower settings. This makes it so I have to click a little to the right and below the chat tabs, if that makes sense. I know this is an issue with a lot of addons run on scaling not 1.0.

The issue with the mouse is not with dragging, I can just click once, trying to change chat tabs for instance. When I move my mouse the character will move. I can try and create a gif to demonstrate.
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-06-29 08:53:49
Link | Quote | Reply
 
The strict length should be super easy to do. I'll go ahead and change my ui scale a bit and see if I can make a easy fix to scale the maps. The ui scale might be one of the causes of your character moving as well.
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-06-29 15:27:00
Link | Quote | Reply
 
Aerison said: »
Yeah, I guess I'm one of those people that just like that consistency lmao. No worries if it's too difficult to implement.

I pushed out a version with strict_length now, I'll see if I have time later to try out some different ui scales.
[+]
 Asura.Zekie
Offline
Server: Asura
Game: FFXI
Posts: 18
By Asura.Zekie 2020-06-29 17:31:25
Link | Quote | Reply
 
Awesome addon! I like it so far. i have questions: is there a way to hide a vanilla chat box? or add dark black color to the background? (maybe u already have?) thank you for your work!
[+]
Offline
Posts: 463
By Aerison 2020-06-29 17:37:41
Link | Quote | Reply
 
Asura.Zekie said: »
Awesome addon! I like it so far. i have questions: is there a way to hide a vanilla chat box? or add dark black color to the background? (maybe u already have?) thank you for your work!

//rchat incoming_pause - stops chat

//rchat alpha 0-255 - changes transparency
[+]
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-07-01 07:00:08
Link | Quote | Reply
 
Added log_dwidth, which forces a different width setting on your undocked window so you can have mixed window sizes to suit your screen setup.

Added snapback which will force the undocked window to follow your main window whenever you drag the main. You can still move around the undocked while this is enable and it will not snapback until the main window is dragged.


[+]
 Asura.Lioncourt
Offline
Server: Asura
Game: FFXI
user: Ghamlund
Posts: 15
By Asura.Lioncourt 2020-07-01 08:29:43
Link | Quote | Reply
 
This is such an amazing addon, you sir are a hero.
[+]
 Bismarck.Zalena
VIP
Offline
Server: Bismarck
Game: FFXI
user: alyria
Posts: 9
By Bismarck.Zalena 2020-07-01 20:47:33
Link | Quote | Reply
 
Hey there Erupt,

I am using your addon and there are a few bugs on my side with it, how can I report them to you?

Also, is it possible to add for certain text to be a specific color? Such as the mob text when it readies a move. "Blah blah readies TP move". The text is white and blends in with remaining text of the effects.
 Leviathan.Frostrike
Offline
Server: Leviathan
Game: FFXI
user: Frostrike
Posts: 10
By Leviathan.Frostrike 2020-07-01 21:09:27
Link | Quote | Reply
 
Wow, awesome job on this addon!
[+]
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-07-01 22:45:17
Link | Quote | Reply
 
Bismarck.Zalena said: »
Hey there Erupt,

I am using your addon and there are a few bugs on my side with it, how can I report them to you?

Also, is it possible to add for certain text to be a specific color? Such as the mob text when it readies a move. "Blah blah readies TP move". The text is white and blends in with remaining text of the effects.


You can just PM them to me here I usually will fix most things the same day, might even have already fixed them in today's build. I'm thinking about doing some highlighting as a feature in the future maybe, having a custom style for a mob action might work better for you though. For more accurate reporting on any issues with how chat is outputting or formatted please enable the '//rchat debug' option and screenshot examples of that output to me.
 Asura.Erupt
Offline
Server: Asura
Game: FFXI
user: erupt
Posts: 38
By Asura.Erupt 2020-07-02 18:21:18
Link | Quote | Reply
 
New setting Battle_flash. This is a toggle for mentions that have to do with the battle log. If this is enabled it'll flash the mention it finds along with the words on that line, this is useful for abilities, when it's on it also bypasses certain mention properties like ignoring if your currently viewing the battle window. All other mentions should still work like normal. I'm hoping this will be somewhat how people were wanting monster abilities to alert them. Also fixed some bugs with tabs not loading correctly on a reload, specifically empty tabs. Fixed a battle log style that was showing a [cr on the beginning of the spell cast.

Log in to post.