packet parser:unknow switch 0977

Private server support - Only post connectivity issues in the subforum!

Moderator: Moderators

daxjusselsanet
Noob
Noob
Posts: 4
Joined: 07 May 2013, 00:07
Noob?: Yes

packet parser:unknow switch 0977

#1 Post by daxjusselsanet »

i know that the error is from server type which is RagexeRE_2012_04_10a
but the problem is when i use the solution to put this code after the line "use base" in RagexeRE_2012_04_10a
sub new {
my ($class) = @_;
my $self = $class->SUPER::new(@_);
my %packets = (
'0977' => ['attack'],
);

foreach my $switch (keys %packets) {
$self->{packet_list}{$switch} = $packets{$switch};
}
my %handlers = qw(
attack 0977
);
$self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;

return $self;
}

there is an error when i start my bot

is there any other solution for these?
Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: packet parser:unknow switch 0977

#2 Post by Raider »

Code: Select all

14 bytes
0>  77 09 42 B3 98 06 33 00    00 00 37 00 00 00          w.B...3...7...
Packet Parser: Unknown switch: 0977
After attacking this message shows up.