Kore cannot detect item is already equipped.

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

Moderator: Moderators

Dark Airnel
Been there done that!
Been there done that!
Posts: 133
Joined: 09 Oct 2009, 01:43
Noob?: No

Kore cannot detect item is already equipped.

#1 Post by Dark Airnel »

I am using SVN r8614 in a Private Server. Most of the functions are working fine using RagexeRE_2012_04_10a with modifications in the map_login.

The problem is when a config block requires wearing an equipment. The console will sometimes report success that the equipment was "equipped" but for some reason, it will sometimes say "You can't put on Orleans's Gown [Sealed Tao] [1]" or whatever item I am trying to wear. Despite the error though, the item is equipped. But Kore will spam sending the 00A9 packet in attempt to "equip" that item. It is as if Kore is not aware it already equipped the item. Here's some part of the console output.

I can't find any other obvious issue for as long as the action will not involve equipping or in-equipping item.

Code: Select all

================================================
>> Sent packet: 00A9  [Equip] [6 bytes]   Jun 10 11:12:29 2013
  0>  A9 00 04 00 10 00                                     ......
You are no longer: Action Delay
You can't put on Orleans's Gown [Sealed Tao] [1] (3)
================================================
>> Sent packet: 00A9  [Equip] [6 bytes]   Jun 10 11:12:29 2013
  0>  A9 00 04 00 10 00                                     ......
You equip Orleans's Gown [Sealed Tao] [1] (3) - Armor (type 0)
================================================
>> Sent packet: 00A9  [Equip] [6 bytes]   Jun 10 11:12:30 2013
  0>  A9 00 04 00 10 00                                     ......
You equip Orleans's Gown [Sealed Tao] [1] (3) - Armor (type 0)
================================================
>> Sent packet: 00A9  [Equip] [6 bytes]   Jun 10 11:12:30 2013
  0>  A9 00 04 00 10 00                                     ......
You equip Orleans's Gown [Sealed Tao] [1] (3) - Armor (type 0)
================================================
Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: Kore cannot detect item is already equipped.

#2 Post by Raider »

You are sure you are using the right serverType?
Dark Airnel
Been there done that!
Been there done that!
Posts: 133
Joined: 09 Oct 2009, 01:43
Noob?: No

Re: Kore cannot detect item is already equipped.

#3 Post by Dark Airnel »

So far it is the only server type that will connect.
Dark Airnel
Been there done that!
Been there done that!
Posts: 133
Joined: 09 Oct 2009, 01:43
Noob?: No

Re: Kore cannot detect item is already equipped.

#4 Post by Dark Airnel »

I am getting this error in the console:

Code: Select all

Packet Parser: Unknown switch: 08D1 #this seems to be unequip receive packet
Packet Parser: Unknown switch: 08D0 #this seems to be equip receive packet
By adding this lines in RagexeRE_2012_04_10a.pm (Receive):

Code: Select all

sub new {
	my ($class) = @_;
	my $self = $class->SUPER::new(@_);
	my %packets = (
		'08D0' => ['equip_item', 'v2 C', [qw(index type success)]], # 7
		'08D1' => ['unequip_item', 'v2 C', [qw(index type success)]],
	);

	foreach my $switch (keys %packets) {
		$self->{packet_list}{$switch} = $packets{$switch};
	}
	my %handlers = qw(
		unequip_item 08D1
	);
	$self->{packet_lut}{$_} = $handlers{$_} for keys %handlers;
	
	return $self;
}
It accurately detects if an equipment has been unequipped, however, it is having problems detecting that an equipment has been equipped and if it happens that equipping the item is triggered by a block, it will start spamming the 00A9 packet, thinking that it is yet to try equipping the item.

I also tried this one to no avail (derived from ServerType0.pm):

Code: Select all

'08D0' => ($rpackets{'08D0'} == 7) # or 9
			? ['equip_item', 'v2 C', [qw(index type success)]]
			: ['equip_item', 'v3 C', [qw(index type viewid success)]],
I noticed that Kore will sometimes be able to detect that an item was successfully equipped but most of the time will say "You can't equip This Item [4]", again, the equipment was equipped but Kore reports it can't be worn.