mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 19:07:16 +00:00
Full Packet Review for Known Conversion (#5100)
This commit is contained in:
1 parent
11a8e46ee8
commit
168995a5b5
9 files changed
+1317
-584
No files matched your search
@@ -8868,9 +8868,9 @@ void Client::Handle_OP_Hide(const EQApplicationPacket *app)
|
||||
// newer client respond to OP_CancelSneakHide with OP_Hide with a size of 4 and 0 data
|
||||
if (app->size == 4) {
|
||||
auto data = app->ReadUInt32(0);
|
||||
if (data)
|
||||
LogDebug("Got OP_Hide with unexpected data [{}]", data);
|
||||
return;
|
||||
// only return if data is 0. data == 1 (or potentially non-zero) is the client requesting a hide roll
|
||||
if (data == 0)
|
||||
return;
|
||||
}
|
||||
|
||||
if (!HasSkill(EQ::skills::SkillHide) && GetSkill(EQ::skills::SkillHide) == 0)
|
||||
|
||||
Reference in new issue
Block a user