Page 1 of 1

[0.18.3] Disallowing empty messages

Posted: Mon Feb 03, 2020 8:51 pm
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

Re: [0.18.3] Disallowing empty messages

Posted: Mon Feb 03, 2020 8:53 pm
by Gerkiz
Update:
This also works on freeplay (non custom scenario)
empty_message.png
/Gerkiz

Re: [0.18.3] Disallowing empty messages

Posted: Mon Feb 03, 2020 9:01 pm
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

Re: [0.18.3] Disallowing empty messages

Posted: Mon Feb 03, 2020 9:06 pm
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