BetterChat V3 | Discontinued

Yes, I have seen this issue, however, I am unable to consistently replicate it in order to fix it, and if you can figure out how to do that, can you please forward this information to me? I think you need more than 3 people in a server, which is not something I can easily do, I can only test with two people myself.

My game has around a dozen players on the majority of the time, it should be a good replication environment. The issue mostly happens when you join an existing server but it also happens when you switch from a whisper chat back to main chat: Las Vegas at home - Roblox

It is also open source so if youā€™d like a copy of the game to verify I installed and configured correctly let me know.

1 Like

Something else I found. If you spam the Main button itā€™ll reload all the chat messages but there doesnā€™t seem to be a cooldown to this so it reload the same chat over and over.

1 Like

While I was fixing datastore limits being slammed by BetterChat I did some investigating to see if there were any other issues I could fix. Turns out thereā€™s a lot of them.



I canā€™t speak for the validity of these errors as they could be from a faulty install/config on my part, but I figured Iā€™ve leave these here in case anyone else comes across them. When Iā€™m off work next week Iā€™ll look into it more and hopefully offer a few solutions.

Plain text below so others can find these with Ctrl + F:
attempt to index nil with number
attempt to index nil with ā€˜pushā€™
Raw is not a valid member of Frame ā€œMessageā€
String contains invalid UTF-8
invalid argument #2 to ā€˜formatā€™ (string expected, got nil)
attempt to call missing method ā€˜updFontā€™ of table
attempt to index nil with ā€˜idā€™

Are you doing anything with the default characters? And is this the newest version?

Version 1.1.3. I donā€™t do anything major with characters, just getting their humanoids for humanoid.Changed events and heads for playertags.

I have a list of commands that change with gameplay and I have a modified autofill that checks a list of attributes on a folder named ā€œChatā€ under the player.

So far its working how I wanted it to,
image

My question is, these options only appear if I type two characters, I want to be able to type the command key and have the options appear. Iā€™ve tried doing autofill.beginsWith = "" but that didnā€™t work. How can I get options to appear just by typing the command key? Thanks!

Modified autofill code:

-- Author: @Jumpathy
-- Name: mention.lua
-- Description: Command autofill system

local player =  game:GetService("Players").LocalPlayer
local chat = player:WaitForChild("Chat")

local key_attribute = "cmndkey"

local autofill = {}
autofill.beginsWith = chat:GetAttribute(key_attribute) or "\\"
autofill.endsWith = " "

autofill.onCapture = function(matches)
	local fill = {}
	local match = matches[#matches]
	if match and (not match.hasClosing) then
		for attributeName, details in pairs(chat:GetAttributes()) do
			if attributeName ~= key_attribute
				and attributeName:sub(1, #match.text) == match.text
			then
				local command = (autofill.beginsWith .. attributeName)
				table.insert(fill, {
					text = command .. " "..details, -- button dropdown
					autofillBar = match.before .. autofill.beginsWith .. attributeName, -- autofill text
					gsub = {autofill.beginsWith .. match.text, command} -- replacement text
				})
			end
		end
	end
	if #fill == 0 then
		fill = nil
	end
	return {}, fill
end

return autofill
1 Like

Can you DM me on Discord? (Jumpathy), and also show me how your ā€˜Chatā€™ folder is structured attribute-wise so I can better help you?

Do you have Discord? Iā€™m going to need to be in better contact with you to resolve these issues more effectively. My username is Jumpathy, otherwise, can you please DM me with a way to replicate your bug?

I donā€™t have replication methods for these bugs at this time. Iā€™m only aware of their existence through experience analytics and havenā€™t done much in-game testing myself. Iā€™ve yet to receive any reports from my players about chat breakages apart from the double loading. Iā€™ll have more time allocated towards Better Chat next week once I fix other issues with my game. I sent you a friend request in discord, contact me at your convenience.

1 Like

1.1.4:

  • Fixed double messages
  • Fixed team chat duplications + the team chat failure to recognize youā€™re in a team on start
  • Fixed the autofill adding tabs (not intended behavior)
  • More api functionality
  • Added TypingIndicatorEnabled attribute to make it so you can toggle userā€™s typing indicators
  • Added new chat formatting option (fonts), format is: <font name / text>, toggleable in configuration module

image

I may have a lead on these bugs. My experience has StreamingEnabled which means some parts of the map wonā€™t be loaded, including characters.
Screenshot 2024-08-27 220204
If the client tries to mess with billboards that arenā€™t rendered then itā€™ll error. Thatā€™s my theory. Iā€™ll turn off StreamingEnabled for the time being to see if my suspicions are correct.

1 Like

Will there be cross server chatting in the next update?

1 Like

Whenever you use r15 i assume the gui is attached to torso so it bounces like crazy, when you walk
also logs would be nice like edit logs, chat logs, delteion, logs but that mgiht be a bit complex. also is the text deletion only for the user (as in can the user only delte thier text or can the rank delte any text). and will there be intergration with adoins (ie mute) or just sperate commands like mute and timeouts

This is an option in the settings module already:

Elaborate please?

Elaborate on use-cases. In addition, I had started to add this function to it, however, during the time messaging service didnā€™t have the limitations I needed to make it functional. I may however, look into this.

My suspicion was incorrect. StreamingEnabled has no influence on the errors. Will continue to investigate.

1 Like

I mean for the deletable messages, I would hope to see like a role that is able to delete messages other than their (Correct me if thats wrong that they can do already) and a text replacing the deleted message saying this message has been deleted in like grey text

The chat Gui is attachted to the torso I assume So when every you walk it moves up and down a lot, would be easier to create a part that stays stationary

Also will their be a update for chat logs, like deltions and filters, etc

1 Like

Is there any way to add a proximity-based channel? Would be a godsend for RP games.

1 Like

Confused on this.

It says ā€œunsentā€ right now, do you want an option to get rid of this / change the text?