/** * In the case of cs 1.6 we offload split packets here because the split packet response for rules is in * the old gold source format * * @param $packet_id * @param array $packets * * @return string * @throws \GameQ\Exception\Protocol */ protected function processPackets($packet_id, array $packets = []) { // The response is gold source if the packets are split $this->source_engine = self::GOLDSOURCE_ENGINE; // Offload to the parent $packs = parent::processPackets($packet_id, $packets); // Reset the engine $this->source_engine = self::SOURCE_ENGINE; // Return the result return $packs; }