We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When attempting to parse a CHAT_JSON message where any of the element has a null value the plugin crashes.
[ ScriptRuntime] [16:52:19] [BetterChat] $FFFCHAT_JSON:{"login":null,"nickname":null,"text":"You do not have access to this command"} [ ScriptRuntime] [16:52:19] [BetterChat] Script exception: Json value is not a string! [ ScriptRuntime] [16:52:19] [BetterChat] src/ChatLine.as (line 83, column 5) [ ScriptRuntime] [16:52:19] [BetterChat] #0 void ChatLine::ParseLine(const string&in line) (src/ChatLine.as line 83) [ ScriptRuntime] [16:52:19] [BetterChat] #1 ChatLine::ChatLine(uint id, int64 time, const string&in line) (src/ChatLine.as line 30) [ ScriptRuntime] [16:52:19] [BetterChat] #2 ChatLine@ ChatLine(uint id, int64 time, const string&in line) (src/ChatLine.as line 0) [ ScriptRuntime] [16:52:19] [BetterChat] #3 void ChatWindow::AddLine(const string&in line) (src/ChatWindow.as line 108) [ ScriptRuntime] [16:52:19] [BetterChat] #4 void ChatWindow::OnChatMessage(const string&in line) (src/ChatWindow.as line 171) [ ScriptRuntime] [16:52:19] [BetterChat] #5 void ChatMessageLoop() (src/ChatMessageLoop.as line 104)
The text was updated successfully, but these errors were encountered:
This is technically not in line with the specification defined in the readme (you should just omit the values instead of pass null).
I will fix this crash soon though, thanks for the report! 👍
Sorry, something went wrong.
No branches or pull requests
When attempting to parse a CHAT_JSON message where any of the element has a null value the plugin crashes.
The text was updated successfully, but these errors were encountered: