openkore icon indicating copy to clipboard operation
openkore copied to clipboard

bug of not showing player dead or sitting

Open hubertyang88 opened this issue 2 years ago • 1 comments

------------------ Openkore Issues Template ------------------

  • Openkore version git: latest
  • Server: all
  • Bug Report / Feature Request: In 09ff state need to be act to show player dead or sitting before '09FF' => ['actor_exists', 'v C a4 a4 v3 V v2 V2 v7 a4 a2 v V C2 a3 C3 v2 V2 C v Z*', [qw(len object_type ID charID walk_speed opt1 opt2 option type hair_style weapon shield lowhead tophead midhead hair_color clothes_color head_dir costume guildID emblemID manner opt3 stance sex coords xSize ySize state lv font maxHP HP isBoss opt4 name)]], after '09FF' => ['actor_exists', 'v C a4 a4 v3 V v2 V2 v7 a4 a2 v V C2 a3 C3 v2 V2 C v Z*', [qw(len object_type ID charID walk_speed opt1 opt2 option type hair_style weapon shield lowhead tophead midhead hair_color clothes_color head_dir costume guildID emblemID manner opt3 stance sex coords xSize ySize act lv font maxHP HP isBoss opt4 name)]],
  • Summary:

hubertyang88 avatar Jul 25 '23 00:07 hubertyang88

bug is , in Receive.pm

sub actor_display {
.....
		if ($args->{act} == 1) {
			$actor->{dead} = 1;
		} elsif ($args->{act} == 2) {
			$actor->{sitting} = 1;
		}
.....
}

change state in 09ff to act , when double click player in Wx , dead or sitting showed

hubertyang88 avatar Aug 07 '23 00:08 hubertyang88