удали строчку:
Код: Выделить всё
recvpackets recvpackets_IncognitoRO.txt
Модератор: 4epT
Код: Выделить всё
recvpackets recvpackets_IncognitoRO.txt
Код: Выделить всё
# The length must exactly match charBlockSize, as it's used to construct packets.
sub received_characters_unpackString {
for ($masterServer && $masterServer->{charBlockSize}) {
return 'a4 V9 v V2 v14 Z24 C8 v Z16 x4 x4' if $_ == 136;
return 'a4 V9 v V2 v14 Z24 C8 v Z16 x4' if $_ == 132;
return 'a4 V9 v V2 v14 Z24 C8 v Z16' if $_ == 128;
return 'a4 V9 v V2 v14 Z24 C6 v2 x4' if $_ == 116; # TODO: (missing 2 last bytes)
return 'a4 V9 v V2 v14 Z24 C6 v2' if $_ == 112;
return 'a4 V9 v17 Z24 C6 v2' if $_ == 108;
return 'a4 V9 v17 Z24 C6 v' if $_ == 106 || !$_;
die "Unknown charBlockSize: $_";
}
}
Код: Выделить всё
return 'a4 V9 v V2 v14 Z24 C8 v Z16 x4 x4 x4 x4' if $_ == 144;
# The length must exactly match charBlockSize, as it's used to construct packets.
sub received_characters_unpackString {
for ($masterServer && $masterServer->{charBlockSize}) {
return 'a4 V9 v V2 v14 Z24 C8 v Z16 x4 x4 x4 x4' if $_ == 144;
return 'a4 V9 v V2 v14 Z24 C8 v Z16 x4 x4' if $_ == 136;
return 'a4 V9 v V2 v14 Z24 C8 v Z16 x4' if $_ == 132;
return 'a4 V9 v V2 v14 Z24 C8 v Z16' if $_ == 128;
return 'a4 V9 v V2 v14 Z24 C6 v2 x4' if $_ == 116; # TODO: (missing 2 last bytes)
return 'a4 V9 v V2 v14 Z24 C6 v2' if $_ == 112;
return 'a4 V9 v17 Z24 C6 v2' if $_ == 108;
return 'a4 V9 v17 Z24 C6 v' if $_ == 106 || !$_;
die "Unknown charBlockSize: $_";
}
}