diff --git a/core/src/aopacket.cpp b/core/src/aopacket.cpp index 2d16997..9eb703b 100644 --- a/core/src/aopacket.cpp +++ b/core/src/aopacket.cpp @@ -25,6 +25,9 @@ AOPacket::AOPacket(QString p_header, QStringList p_contents) AOPacket::AOPacket(QString p_packet) { + if (p_packet.isEmpty()) + return; + QStringList packet_contents = p_packet.split("#"); if (p_packet.at(0) == '#') { // The header is encrypted with FantaCrypt diff --git a/core/src/commands/area.cpp b/core/src/commands/area.cpp index efa55f1..8ae19af 100644 --- a/core/src/commands/area.cpp +++ b/core/src/commands/area.cpp @@ -291,6 +291,7 @@ void AOClient::cmdStatus(int argc, QStringList argv) return; } arup(ARUPType::STATUS, true); + sendServerMessageArea(ooc_name + " changed status to " + arg); } void AOClient::cmdJudgeLog(int argc, QStringList argv)