Boilerplate for client pull request (#355)
* add blips boilerplate * fix very funny crash
This commit is contained in:
parent
b522d3158f
commit
7e9227f70a
@ -38,7 +38,7 @@ void PacketID::handlePacket(AreaData *area, AOClient &client) const
|
|||||||
"deskmod", "evidence", "cccc_ic_support",
|
"deskmod", "evidence", "cccc_ic_support",
|
||||||
"arup", "casing_alerts", "modcall_reason",
|
"arup", "casing_alerts", "modcall_reason",
|
||||||
"looping_sfx", "additive", "effects",
|
"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];
|
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.)
|
QRegularExpression rx("\\b(\\d+)\\.(\\d+)\\.(\\d+)\\b"); // matches X.X.X (e.g. 2.9.0, 2.4.10, etc.)
|
||||||
|
@ -366,6 +366,10 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const
|
|||||||
// effect
|
// effect
|
||||||
l_args.append(l_incoming_args[25].toString());
|
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
|
// Testimony playback
|
||||||
QString client_name = client.m_ooc_name;
|
QString client_name = client.m_ooc_name;
|
||||||
|
Loading…
Reference in New Issue
Block a user