Skip to content

Commit

Permalink
Minimum package support 0A15 (PACKET_ZC_GOLDPCCAFE_POINT)
Browse files Browse the repository at this point in the history
  • Loading branch information
ya4ept committed Dec 24, 2024
1 parent ac5dd5f commit 01fc62f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Network/Receive.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12329,4 +12329,11 @@ sub repute_info {
}
}

# 0A15 - PACKET_ZC_GOLDPCCAFE_POINT
# TODO: this package is not supported yet.
sub gold_pc_cafe_point {
my ($self, $args) = @_;
debug TF("[gold_pc_cafe_point] isActive=%d, mode=%d, point=%d, playedTime=%d\n",$isActive, $mode, $point, $playedTime);

Check failure on line 12336 in src/Network/Receive.pm

View workflow job for this annotation

GitHub Actions / test ubuntu-20.04 (perl 5.12) x64

Global symbol "$isActive" requires explicit package name

Check failure on line 12336 in src/Network/Receive.pm

View workflow job for this annotation

GitHub Actions / test ubuntu-20.04 (perl 5.12) x64

Global symbol "$mode" requires explicit package name

Check failure on line 12336 in src/Network/Receive.pm

View workflow job for this annotation

GitHub Actions / test ubuntu-20.04 (perl 5.12) x64

Global symbol "$point" requires explicit package name

Check failure on line 12336 in src/Network/Receive.pm

View workflow job for this annotation

GitHub Actions / test ubuntu-20.04 (perl 5.12) x64

Global symbol "$playedTime" requires explicit package name

Check failure on line 12336 in src/Network/Receive.pm

View workflow job for this annotation

GitHub Actions / test ubuntu-22.04 (perl latest) x64

Global symbol "$isActive" requires explicit package name (did you forget to declare "my $isActive"?)

Check failure on line 12336 in src/Network/Receive.pm

View workflow job for this annotation

GitHub Actions / test ubuntu-22.04 (perl latest) x64

Global symbol "$mode" requires explicit package name (did you forget to declare "my $mode"?)

Check failure on line 12336 in src/Network/Receive.pm

View workflow job for this annotation

GitHub Actions / test ubuntu-22.04 (perl latest) x64

Global symbol "$point" requires explicit package name (did you forget to declare "my $point"?)

Check failure on line 12336 in src/Network/Receive.pm

View workflow job for this annotation

GitHub Actions / test ubuntu-22.04 (perl latest) x64

Global symbol "$playedTime" requires explicit package name (did you forget to declare "my $playedTime"?)
}

1;
1 change: 1 addition & 0 deletions src/Network/Receive/ServerType0.pm
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ sub new {
'0A10' => ['storage_items_nonstackable', 'v Z24 a*', [qw(len title itemInfo)]],
'0A12' => ['rodex_open_write', 'Z24 C', [qw(name result)]], # 27
'0A14' => ['rodex_check_player', 'V v2', [qw(char_id class base_level)]],
'0A15' => ['gold_pc_cafe_point', 'C2 V2', [qw(isActive mode point playedTime)]], # 12
'0A18' => ['map_loaded', 'V a3 C2 v C', [qw(syncMapSync coords xSize ySize font sex)]], # 14
'0A1A' => ['roulette_window', 'C V C2 v V3', [qw(result serial stage price additional_item gold silver bronze)]],
'0A1C' => ['roulette_info', 'v V a*', [qw(len serial roulette_info)]],
Expand Down
1 change: 1 addition & 0 deletions src/Network/Receive/kRO/Sakexe_0.pm
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ sub new {
'0A10' => ['storage_items_nonstackable', 'v Z24 a*', [qw(len title itemInfo)]],
'0A12' => ['rodex_open_write', 'Z24 C', [qw(name result)]], # 27
'0A14' => ['rodex_check_player', 'V v2', [qw(char_id class base_level)]],
'0A15' => ['gold_pc_cafe_point', 'C2 V2', [qw(isActive mode point playedTime)]], # 12
'0A18' => ['map_loaded', 'V a3 C2 v C', [qw(syncMapSync coords xSize ySize font sex)]], # 14
'0A1A' => ['roulette_window', 'C V C2 v V3', [qw(result serial stage price additional_item gold silver bronze)]],
'0A1C' => ['roulette_info', 'v V a*', [qw(len serial roulette_info)]],
Expand Down

0 comments on commit 01fc62f

Please sign in to comment.