From 8d8686692eadfe22e2f9f58ea1415e09cd39696b Mon Sep 17 00:00:00 2001 From: amizing25 Date: Sat, 24 May 2025 11:14:43 +0700 Subject: [PATCH] feat: deobf field --- gameserver/src/net/handlers/scene.rs | 12 +++++++----- proto/out/_.rs | 10 +++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/gameserver/src/net/handlers/scene.rs b/gameserver/src/net/handlers/scene.rs index c92a22d..bcca718 100644 --- a/gameserver/src/net/handlers/scene.rs +++ b/gameserver/src/net/handlers/scene.rs @@ -115,11 +115,13 @@ pub async fn on_get_scene_map_info_cs_req( map_info.lighten_section_list = floor_config.sections.clone(); map_info.floor_saved_data = floor_config.saved_values.clone(); // TODO! - map_info.jmldmocnmhm = vec![Npaogkfkaae { - fljindnjphl: 2, - fokcifjmjgl: 2, - slot: 2, - }] + map_info + .chest_unlock_progress_list + .push(ChestUnlockProgress { + chest_type: 0, + total_chest_count: 25, + unlocked_chest_count: 25, + }); } res.map_list.push(map_info) diff --git a/proto/out/_.rs b/proto/out/_.rs index 931a24c..f519435 100644 --- a/proto/out/_.rs +++ b/proto/out/_.rs @@ -30272,13 +30272,13 @@ pub struct MazeChest { } #[derive(proto_derive::CmdID)] #[derive(Clone, Copy, PartialEq, ::prost::Message)] -pub struct Npaogkfkaae { +pub struct ChestUnlockProgress { #[prost(uint32, tag = "7")] - pub fljindnjphl: u32, + pub unlocked_chest_count: u32, #[prost(uint32, tag = "11")] - pub fokcifjmjgl: u32, + pub total_chest_count: u32, #[prost(uint32, tag = "3")] - pub slot: u32, + pub chest_type: u32, } #[derive(proto_derive::CmdID)] #[derive(Clone, PartialEq, ::prost::Message)] @@ -30301,7 +30301,7 @@ pub struct MazeMapData { #[prost(uint32, tag = "6")] pub floor_id: u32, #[prost(message, repeated, tag = "4")] - pub jmldmocnmhm: ::prost::alloc::vec::Vec, + pub chest_unlock_progress_list: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag = "5")] pub maze_group_list: ::prost::alloc::vec::Vec, #[prost(uint32, tag = "13")]