[0.18.3] Disallowing empty messages

Bugs that are actually features.
Post Reply
User avatar
Gerkiz
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Fri Nov 30, 2018 3:36 pm
Contact:

[0.18.3] Disallowing empty messages

Post by Gerkiz »

Hello,

Would it be possible to disable sending empty in game messages if said message only contains brackets with nonsense and/or spaces?

I am not sure if it's a bug, but I don't see why this should work.

The message below prints an empty message in game in Factorio.

Code: Select all

[color=red][/color]
empty_message.png
/Gerkiz

User avatar
Gerkiz
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Fri Nov 30, 2018 3:36 pm
Contact:

Re: [0.18.3] Disallowing empty messages

Post by Gerkiz »

Update:
This also works on freeplay (non custom scenario)
empty_message.png
/Gerkiz

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.18.3] Disallowing empty messages

Post by Klonan »

Gerkiz wrote:
Mon Feb 03, 2020 8:51 pm
I am not sure if it's a bug, but I don't see why this should work.
I don't see why it shouldn't

User avatar
Gerkiz
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Fri Nov 30, 2018 3:36 pm
Contact:

Re: [0.18.3] Disallowing empty messages

Post by Gerkiz »

Klonan wrote:
Mon Feb 03, 2020 9:01 pm
Gerkiz wrote:
Mon Feb 03, 2020 8:51 pm
I am not sure if it's a bug, but I don't see why this should work.
I don't see why it shouldn't
What I mean is since you're already disallowing spaces only as a message then this could be included to the disallow list.

I have fixed this on the service that I parse the chat. :)

/Gerkiz

Post Reply

Return to “Not a bug”