openkore
openkore copied to clipboard
bug of not showing player dead or sitting
------------------ Openkore Issues Template ------------------
- Openkore version git: latest
- Server: all
-
Bug Report / Feature Request:
In 09ff
stateneed to beactto 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:
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