From 318169b96675fa8d41f1442a43b82fee59b8bc95 Mon Sep 17 00:00:00 2001 From: ya4ept Date: Tue, 24 Dec 2024 22:02:19 +0300 Subject: [PATCH] Minimum package support 0A15 (PACKET_ZC_GOLDPCCAFE_POINT) --- src/Network/Receive.pm | 7 +++++++ src/Network/Receive/ServerType0.pm | 1 + src/Network/Receive/kRO/Sakexe_0.pm | 1 + 3 files changed, 9 insertions(+) diff --git a/src/Network/Receive.pm b/src/Network/Receive.pm index f75d459a9b..5f4427c000 100644 --- a/src/Network/Receive.pm +++ b/src/Network/Receive.pm @@ -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", $args->{isActive}, $args->{mode}, $args->{point}, $args->{playedTime}); +} + 1; diff --git a/src/Network/Receive/ServerType0.pm b/src/Network/Receive/ServerType0.pm index 35bd78f89f..e668dac8c2 100644 --- a/src/Network/Receive/ServerType0.pm +++ b/src/Network/Receive/ServerType0.pm @@ -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)]], diff --git a/src/Network/Receive/kRO/Sakexe_0.pm b/src/Network/Receive/kRO/Sakexe_0.pm index 3d9d667b40..ed46959122 100644 --- a/src/Network/Receive/kRO/Sakexe_0.pm +++ b/src/Network/Receive/kRO/Sakexe_0.pm @@ -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)]],