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?
packet parser:unknow switch 0977
Moderator: Moderators
-
- Noob
- Posts: 4
- Joined: 07 May 2013, 00:07
- Noob?: Yes
-
- The Kore Devil
- Posts: 672
- Joined: 22 Feb 2013, 03:40
- Noob?: No
- Location: The Netherlands
Re: packet parser:unknow switch 0977
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