diff --git a/gameserver/src/net/handlers/chat.rs b/gameserver/src/net/handlers/chat.rs index 4735e85..11939cb 100644 --- a/gameserver/src/net/handlers/chat.rs +++ b/gameserver/src/net/handlers/chat.rs @@ -89,7 +89,6 @@ pub async fn on_send_msg_cs_req( from_uid: SERVER_UID, // from to_uid: 25, // to chat_type: body.chat_type, - ..Default::default() }) .await .unwrap(); @@ -121,7 +120,6 @@ pub async fn on_send_msg_cs_req( from_uid: SERVER_UID, // from to_uid: 25, // to chat_type: body.chat_type, - ..Default::default() }) .await .unwrap(); @@ -153,7 +151,6 @@ pub async fn on_send_msg_cs_req( from_uid: SERVER_UID, // from to_uid: 25, // to chat_type: body.chat_type, - ..Default::default() }) .await .unwrap(); diff --git a/gameserver/src/net/handlers/player.rs b/gameserver/src/net/handlers/player.rs index 9804362..32bdcad 100644 --- a/gameserver/src/net/handlers/player.rs +++ b/gameserver/src/net/handlers/player.rs @@ -36,7 +36,7 @@ pub async fn on_player_login_finish_cs_req( session .send(ContentPackageSyncDataScNotify { data: Some(PackageData { - info_list: vec![ + info_list: [ 200001, 200002, 200003, 200004, 150017, 150015, 150021, 150018, 130011, 130012, 130013, ] diff --git a/gameserver/src/tools/resources.rs b/gameserver/src/tools/resources.rs index eeb5407..f042ba0 100644 --- a/gameserver/src/tools/resources.rs +++ b/gameserver/src/tools/resources.rs @@ -102,9 +102,9 @@ pub struct ScenePropInfo { pub struct TeleportInfo { pub pos: Vector, pub rot: Vector, - pub group_id: u32, - pub inst_id: u32, - pub anchor_id: u32, + // pub group_id: u32, + // pub inst_id: u32, + // pub anchor_id: u32, } #[derive(Deserialize)] @@ -128,8 +128,8 @@ pub struct LevelOutputConfig { #[derive(Deserialize)] #[serde(rename_all = "camelCase")] pub struct AvatarConfig { - pub weakness_buff_id: u32, - pub technique_buff_ids: Vec, + // pub weakness_buff_id: u32, + // pub technique_buff_ids: Vec, } #[derive(Deserialize, Default)] @@ -137,7 +137,7 @@ pub struct AvatarConfig { pub struct JsonConfig { /// `entryid` -> `P[planeId]_F[floorId]` -> `groupId` pub level_output_configs: HashMap>, - pub avatar_configs: HashMap, + // pub avatar_configs: HashMap, } pub static GAME_RES: LazyLock = LazyLock::new(|| {