AutoMessage
AutoMessage copied to clipboard
Whitespace-only lines crashing clients
Whenever message with \n at first or last place appears on chat (or with just whitespace characted between beggining/ending), every player receiving it will get his client crashed.
So i just updated AM 2.4.0 to 2.5.2 and tried to update my automessages separated from other chat entries by empty lines: Before: - ' %n&6 [INFO]%n&aTeamSpeak3: &ets.joriom.pl%n ' After - ' /n&6 [INFO]\n&aTeamSpeak3: &ets.joriom.pl\n '
Removing first and last /n makes it work perfectly fine. It worked like a charm on older AM version, so its client fault but based on badly formated message.
EDIT: The problem seems not to depend on \n place but rather line being whitespaces only. Temporary Fix: Sending formating code in place of whitespaces seems to achieve what I desire: being able to send empty line of text & not crashing client:
- '&r\n Message \n&r'