From cad9908f94d6bded265bbfabfbc31502d351bb52 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Sun, 14 Apr 2013 18:47:50 +0200 Subject: [PATCH] Added new network reliability identifiers --- src/network/Packet.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/network/Packet.php b/src/network/Packet.php index 9e2d2e08..d6579599 100644 --- a/src/network/Packet.php +++ b/src/network/Packet.php @@ -223,7 +223,9 @@ class Packet{ $offset += 2; if($reliability === 2 or $reliability === 3 - or $reliability === 4){ + or $reliability === 4 + or $reliability === 6 + or $reliability === 7){ $messageIndex = Utils::readTriad(strrev(substr($raw, $offset, 3))); $offset += 3; }else{ @@ -232,7 +234,8 @@ class Packet{ if($reliability === 1 or $reliability === 3 - or $reliability === 4){ + or $reliability === 4 + or $reliability === 7){ $orderIndex = Utils::readTriad(strrev(substr($raw, $offset, 3))); $offset += 3; $orderChannel = ord($raw{$offset}); //5 bits, 32 values