Hmmm yeah maybe! Tabbed Chat is a thing so maybe you could have the ‘All’ messages tab, and the ‘Team’ and private messages tabs plus the ‘Donation’ tab you could develop. I think a Super Chat system could really help developers earn some money.
Look how small it is? I can barely read. You should implement a system for text to expand across multiple lines. Also chat shouldn’t fade away after a while and I’d prefer to have a scrollbar in the chat.
I am well aware of how Lua works. Creating a thread every single time a chat message is made is bad. Knowledge of the Roblox API would help you here! For example, TweenService tweens have a delay argument. This would eradicate any need to create a new thread or yield at all.
You can still tween your messages with UIListLayout.
This is not how you use pcalls. You should have no errors whatsoever with a chat script, (especially not in the local portion) if you do, it is the result of a mistake in your code somewhere. The only case where pcalls are necessary are when using APIs that can fail, i.e. FilterStringAsync, and even in that case, you should be handling them, not simply wrapping functions in them, because what good does that do? All you have to do on the server is make sure that their message argument is a string, and maybe even throttle it, that’s it.
I think you should be much more concerned about spamming a remote to indicate whether they are typing or not. That will lag the server immediately. Like I said, the Roblox API reference will help you here. All you have to do is fire one event when they focus the textbox and one event when they unfocus.
This is irrelevant. For example, you shouldn’t redefine a TweenInfo every time a message isa created when it stays the same each time.
I’m not sure what you mean by this. Simply calculate the size of the new TextLabel based on the desired text size. Once again, Roblox API! Try TextService::GetTextSize()!
No, I didn’t use it. I can tell enough about how your script works just by looking at your code. My concern was not your font, but either way—No need to apologize! As I said, it’s just my opinion. Take it or leave it. I think sizing the text correctly would do wonders for your design.
This is just immaturity on your part. What do you mean people like me? I am giving you constructive criticism to help you get better. if you can’t or won’t take it, then close your post or don’t post at all.
There is no need to be so defensive. Beginners make mistakes all the time, and I provided you resources for most of the problems to try to fix it. Like I said, you should not need to use wait, or spawn, or coroutine in a chat script at all, let alone in most scripts—they are antipatterns.
edit:
I will agree, this was an unnecessary addition and I apologize. What I provided in the post should be enough to fix it, but I would suggest rescripting it.
@Winky_y Criticism helps people grow. Your going to have to deal with it no matter what.
Right now yes I do agree but if Winky can figure out how to perhaps add a tabbed chat function and enable all the standard chat commands then that would massively help.
Yeah sizing the text correctly is going to need to be at the top of the list, it is hard to read when the message is too long. Yes I know Winky added a function to stop messages being too long but the default of 100 needs reconsidering. Right now it honestly needs to be 20-40 for people to see properly. (See text size below)
That is ridiculously small. TextScaled I don’t think is right here as it makes it far too small.
What needs to be done
Tabbed Chat Support
Standard Chat Commands Support
Third-Party Admin Commands Support
Text being sized properly
Resizeable Chat Support
Message when a friend joins you
Message when Roblox filter is experiencing issues
An actual Roblox TopBar button, if you need help with adding TopBar items I’d recommend going here
What I would like to see
A YouTube Super Chat Style System
Allow users to perhaps right click a message and give options such as ‘Private Message Player’, ‘Send Friend Request to Player’, ‘Copy Message’, ‘Follow Player’, ‘Block Player’, ‘Mute Player’ (yes you can mute people with the /mute command if you never knew), ‘View Players Avatar’ and finally ‘Report Player’
Emoji Support, I don’t see this often in Roblox chats, the only good emoji support in a Roblox game is probably in @Den_S’s Theme Park Tycoon 2, in that game I can use two colons and then in between I just type the emoji name, just like the DevForum
I think this is probably the most I’m going to say about what needs to be fixed.
Based on this post, there seems to be too many flaws. You must’ve considered posted it inside of the code review section.
This can’t clearly be used in a large scale projects in all seriousness. It might have been a good instructive project, but at its current state I don’t think that it should be used under any circumstances until fixes get added.
In sum, the problems listed greatly outweight the uses of the resources which doesn’t really seem to bring any additional features, I think that Roblox already made a good tutorial for changing a few elements of the chat interface and that’s what this thing seems to be used for even if someone could counter this from an esthetic standpoint,
For all the interface designers who are getting annoyed at sizing or anything, quick reminder, Its open sourced. This means you have the ability to edit it!
And things like this isn’t required unless your commissioning Winky
Admin Commands are widely used on Roblox. So I think having this is sensible. Also I might be a UI designer but I’m not one of those that do sizing or positioning, I’ve been criticised before on how I position/size GUI’s. I’m a person who makes icons, not GUI’s.
I can take contructive criticism, but what I can’t take is people scrutinizing for errors and only including that. Your original post was not set out like a post trying to build up, rather put down. e.g
Once you have posted what needs improving, why come back to implement what you have already discussed? If Winky does not want your tips to improve this open source chat which he is very so generously presenting to the community, why continue to argue over his own thread? If you want to make the changes go for it, its open source.
@GamersInternational -
Like @index_l said, this is not a commission, it is an open source. It is not your place to make a list of demands.
@unmiss -
I am no longer going to be responding to your posts. What I meant when I said that it’s people like you stopping people from opensourcing, I meant that when you look at the post you made it really looks like you’re trying to attack me, (with remarks like “probably much more” under errors of the code) looking into all the flaws and describing my work as something to avoid. As I said before, no one is forcing you to use it- and it’s opensourced change it if you don’t like it.
Mate its open source for you to copy, go find things to comment on in #help-and-feedback:cool-creations. Any edits you would like to suggest either post it once or just simply change it yourself.
As I said I am simply providing constructive criticism, and I am sorry that you take offense to that. Nobody was attacking you in any way. This is a public forum, and if you have a problem with people replying to your post, don’t post at all.
In my opinion I don’t think it’s constructive, ehh, I’d say it’s more of an attack (unpurposely). If so, please resolve the problem and do not argue here anymore.