Boilerplate for client pull request (#355)

* add blips boilerplate

* fix very funny crash
This commit is contained in:
in1tiate 2024-05-15 10:51:52 -05:00 committed by GitHub
parent b522d3158f
commit 7e9227f70a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,7 @@ void PacketID::handlePacket(AreaData *area, AOClient &client) const
"deskmod", "evidence", "cccc_ic_support",
"arup", "casing_alerts", "modcall_reason",
"looping_sfx", "additive", "effects",
"y_offset", "expanded_desk_mods", "auth_packet"};
"y_offset", "expanded_desk_mods", "auth_packet", "custom_blips"};
client.m_version.string = m_content[1];
QRegularExpression rx("\\b(\\d+)\\.(\\d+)\\.(\\d+)\\b"); // matches X.X.X (e.g. 2.9.0, 2.4.10, etc.)

View File

@ -366,6 +366,10 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const
// effect
l_args.append(l_incoming_args[25].toString());
}
if (l_incoming_args.size() >= 27) {
// blips
l_args.append(l_incoming_args[26].toString());
}
// Testimony playback
QString client_name = client.m_ooc_name;