Author Topic: Client_CustomChat [v0.3.1-1] :: bitmaps bitmaps bitmaps  (Read 5440 times)

last topic was too old  :nes:


Extensively customize your in-game chat. That's all there is to it.
Forget only changing the font size, what is this 2007?

(note screenshots may be outdated)




New in v0.3.0: backgrounds!




Downloads:

Github: https://github.com/TheBlackParrot/blockland-chat-customizer-rewrite/releases/download/v0.3.1-1/Client_CustomChat.zip (DOES NOT AUTO-UPDATE)
Blockland Glass: https://blocklandglass.com/addons/addon.php?id=417




Changelog

v0.3.1-1
 - Fix issue with Blockland being a special snowflake and resetting the chat profile at odd times
 - <bitmap> markup removal added
 - Fix issue with newChatSO.addLine not updating the chat area
 - Added the ability to change the maximum bitmap height (can fix this issue)

v0.3.0-1
 - Host added as a rank tag
 - BLID tag now exists for custom strings (%id%)
 - Background boxes for chat
 - I now consider the addon stable enough for general release
 - Moved to Blockland Glass/Github releases

v0.2.0-1
 - Added the ability to use custom strings. You can now reorganize chat any way you wish to.
 - Servers can now override strings (and settings) per-client %client.CCOverrideData or server-wide $Pref::Server::CustomChat::Override.
 - Added a chat message counter (%i%, only accessible in custom strings right now)

v0.1.1-1
 - Fixed Slayer's dead chat not being interpreted as a chat message
 - Fixed chat being duplicated in the console if the option to echo was on while hosting a server
 - Slayer color name override is now optional
 - Admin cache will now update when someone's rank is changed
 - Portions of the GUI have been separated to allow easier updating/etc.

v0.1.0-1
 - Added a swear word filter, applies to all messages regardless if it's regular chat or not
 - Added an alpha/opacity slider for shadow color
 - Allow Slayer to override name colors if team colors are enabled in a minigame
 - Tagged string IDs are now sent with chat messages as per default chat (%fmsg)
 - Added an auto-punctuation toggle
 - Fixed chat messages involving Slayer + names recolored to a player's team not being interpreted as a chat message

v0.0.1-7
 - Support_Updater support
 - Fixed bug with Slayer(?) chat modifications

v0.0.1-6
 - Fixed colors not being updated correctly in profiles
 - Fixed tagged strings not related to chat improperly rendering as a standard chat message (e.g. onActivate > Minigame > chatMsgAll > "test")

v0.0.1-5
 - Fixed font and color tags not being stripped in specific use cases
 - Fixed ranks not showing up for ranked users in minigames

v0.0.1-4
 - Fixed conflicts with other addons using RGBToHex

v0.0.1-3
 - Fixed Admin/Super Admin Rank fields accepting color tags
 - "Example Chat" is now hidden in the options menu
 - Timestamps are no longer forced to 12-hour mode
 - Message blip mode settings were corrected in the GUI
 - Filename changes for sounds now take effect upon saving settings
 - Font sizes can no longer go over 64
 - The window now initially starts on the Appearance tab
 - Colors are reset to ""\c0"" when timestamps are visible on all messages (\cr and \co do not work, had to resort to conerting fontColors[0] to hex)

v0.0.1-2
 - The GUI editor likes to give "Button" as the text for buttons when you set them as blank. Fixed.




String replacers: https://github.com/TheBlackParrot/blockland-chat-customizer-rewrite/wiki/Custom-String-Replacers
String examples: https://github.com/TheBlackParrot/blockland-chat-customizer-rewrite/wiki/Example-Strings
« Last Edit: September 16, 2016, 12:33:56 AM by TheBlackParrot »

I can see me in it.
This is nice.


Does this load automatically when you join a server? If not, then you should probably make it so.

But nevertheless, this is fantastic!


Does this load automatically when you join a server? If not, then you should probably make it so.
...it's a client addon?

the chat font and size resets every time a server is joined or the options menu is opened until 'save' is pressed again.
the escape accelerator for the chat settings GUI isn't working for some reason.
there should be an option to remove <bitmap> tags.

tested on a clean installation with the same results.
please fix.

every settings except color resets when joining another server

other than that it's really amazing

i have no idea what you guys are running into when it's resetting, but i'll try this out on a clean installation later

will add the <bitmap> removal option at some point





I do have some suggestions.

A hotkey to quickly toggle between showing the custom chat effects and showing the default chat would be nice.

If you havent already, add mod/moderator tags if it's possible from the client side. Most moderator add-ons I've seen use isMod or isModerator.

Also a separate chat box for deaths would be nice. Perhaps let players pick what position the chat boxes are, at the bottom left above the paint can stuff, at the top left, or at the top right next to the inventory.

What I'm going for is using the default chat location for death messages only and put chat above the paint can to try to replicate garry's mod or other source engine games/mods

Looks real cool though, gonna be downloading this and checking it out. How compatable is this when servers screw with the chat system in their own way?
« Last Edit: September 15, 2016, 09:38:34 PM by Crispy_ »

I do have some suggestions.

A hotkey to quickly toggle between showing the custom chat effects and showing the default chat would be nice.
is there a use case for this? if not i'll just add it when i feel like it

If you havent already, add mod/moderator tags if it's possible from the client side. Most moderator add-ons I've seen use isMod or isModerator.
server addons would need to send data to clients over clientCmds or etc., it can't be done only on the client side

Also a separate chat box for deaths would be nice. Perhaps let players pick what position the chat boxes are, at the bottom left above the paint can stuff, at the top left, or at the top right next to the inventory.
i don't know how possible this would be or if it'd be worth my time to code a whole extra chatbox from scratch

What I'm going for is using the default chat location for death messages only and put chat above the paint can to try to replicate garry's mod or other source engine games/mods

Looks real cool though, gonna be downloading this and checking it out. How compatable is this when servers screw with the chat system in their own way?
most servers just use messageClient if they're doing heavy modding of chat, it works fine. logging is the only thing that really takes a hit (unable to log BL_IDs).



looking into the reset issue now

EDIT: pretty sure it has to do with me only modifying BlockChatTextSize1Profile and not the other 9. it should be forced to 1 though and i'm guessing for ~**~whatever special reason~**~ the game is switching it back to something other than 1.
sigh

EDIT 2:

   function newChatText::setProfile(%this, %profile) {
      if(strstr(%profile.getName(), "BlockChatTextSize") != -1) {
         %profile = BlockChatTextSize1Profile;
      }

      parent::setProfile(%this, %profile);
   }

adding this to CustomChatPackage in client.cs will fix it. i hate doing it this way but i want to avoid any potential issue blockland will cause. (this only applies to the BlockChatTextSize profiles)

will be present in the next update
« Last Edit: September 15, 2016, 11:13:15 PM by TheBlackParrot »