openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Unknown Switch 0983 and 0984 - Iro

Open hendra814 opened this issue 9 years ago • 7 comments

Using lastest Ok, from Github connect into renewal server, it show Packet Parser: Unkwon switch: 0983 and sometime 0984. and detail character at window bar it's show error for name character, base level and job level.

hendra814 avatar Mar 21 '17 03:03 hendra814

you should handle the switch actor_status_active to 0983 or 0984. and don't forget to add in your recvpackets.txt if not exist

walkietalkie89 avatar Mar 21 '17 04:03 walkietalkie89

how to do that? for revpacket it's already in there for last git hub

hendra814 avatar Mar 21 '17 05:03 hendra814

something like

sub new {
	my ($class) = @_;
	my $self = $class->SUPER::new(@_);
	my %packets = (
		#'0983' => ['actor_status_active', 'v a4 C V5', [qw(type ID flag total tick unknown1 unknown2 unknown3)]],
		#'0984' => ['actor_status_active', 'a4 v V5', [qw(ID type total tick unknown1 unknown2 unknown3)]],
	);

	foreach my $switch (keys %packets) {
		$self->{packet_list}{$switch} = $packets{$switch};
	}

	#my %handlers = qw(
	#	actor_status_active 0983
	#	actor_status_active 0984
	#);
	#$self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;

	return $self;
}


walkietalkie89 avatar Mar 21 '17 06:03 walkietalkie89

OK, I'll try it.

hendra814 avatar Mar 21 '17 06:03 hendra814

sir i'm confused and new to botting. where to i find this file? i'm also experiencing this error

ZaskarAlpha avatar Apr 06 '17 10:04 ZaskarAlpha

Well, you should add these lines :

		'0983' => ['actor_status_active', 'v a4 C V5', [qw(type ID flag total tick unknown1 unknown2 unknown3)]],
		'0984' => ['actor_status_active', 'a4 v V5', [qw(ID type total tick unknown1 unknown2 unknown3)]],

Inside src/Network/Receive/iRO... When u see '099D' and at end of line the comma ( , ) ... add that lines. Must be something such as 👍

		'099D' => ['received_characters', 'x2 a*', [qw(charInfo)]],
		'0983' => ['actor_status_active', 'v a4 C V5', [qw(type ID flag total tick unknown1 unknown2 unknown3)]],
		'0984' => ['actor_status_active', 'a4 v V5', [qw(ID type total tick unknown1 unknown2 unknown3)]],

If it worked, close the thread.

ghost avatar Apr 12 '17 08:04 ghost

Because now i've got new error with lastest OK. so i'm decide to close this issue.

Thanks all.

hendra814 avatar Jul 17 '17 04:07 hendra814