mirror of
https://git.neonteam.dev/amizing/robinsr.git
synced 2025-03-12 03:28:30 -04:00
2.4.51
This commit is contained in:
parent
e22867df25
commit
60651768d0
@ -1,4 +1,4 @@
|
||||
# Supported Version: 2.3.51 2.3.52
|
||||
# Supported Version: 2.4.51
|
||||
Run the game by clicking run.bat file.
|
||||
|
||||
Tool website: [https://srtools.pages.dev](https://srtools.pages.dev)
|
||||
|
||||
@ -13,7 +13,7 @@ pub async fn on_player_get_token_cs_req(
|
||||
PlayerGetTokenScRsp {
|
||||
retcode: 0,
|
||||
msg: String::from("OK"),
|
||||
uid: 1337,
|
||||
uid: 25,
|
||||
..Default::default()
|
||||
},
|
||||
)
|
||||
@ -32,7 +32,7 @@ pub async fn on_player_login_cs_req(
|
||||
server_timestamp_ms: util::cur_timestamp_ms(),
|
||||
stamina: 240,
|
||||
basic_info: Some(PlayerBasicInfo {
|
||||
nickname: String::from("xeondev"),
|
||||
nickname: String::from("RobinSR"),
|
||||
level: 70,
|
||||
world_level: 6,
|
||||
stamina: 240,
|
||||
|
||||
@ -2,11 +2,11 @@ use crate::net::tools::FreesrData;
|
||||
|
||||
use super::*;
|
||||
|
||||
static UNLOCKED_AVATARS: [u32; 53] = [
|
||||
static UNLOCKED_AVATARS: [u32; 56] = [
|
||||
8001, 1001, 1002, 1003, 1004, 1005, 1006, 1008, 1009, 1013, 1101, 1102, 1103, 1104, 1105, 1106,
|
||||
1107, 1108, 1109, 1110, 1111, 1112, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210,
|
||||
1211, 1212, 1213, 1214, 1215, 1217, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1312,
|
||||
1315, 1310, 1314, 1218, 1221,
|
||||
1315, 1310, 1314, 1218, 1221, 1220, 1222, 1223,
|
||||
];
|
||||
|
||||
pub async fn on_get_avatar_data_cs_req(
|
||||
@ -39,6 +39,12 @@ pub async fn on_get_avatar_data_cs_req(
|
||||
level: 80,
|
||||
promotion: 6,
|
||||
rank: 6,
|
||||
skilltree_list: (1..=4)
|
||||
.map(|m| AvatarSkillTree {
|
||||
point_id: (*id) * 1000 + m,
|
||||
level: 1,
|
||||
})
|
||||
.collect(),
|
||||
..Default::default()
|
||||
})
|
||||
})
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
use rand::Rng;
|
||||
|
||||
use crate::net::tools::{self, BattleType, Monster};
|
||||
@ -47,7 +49,6 @@ pub async fn on_scene_cast_skill_cs_req(
|
||||
let mut resp = SceneCastSkillScRsp {
|
||||
attacked_group_id: request.attacked_group_id,
|
||||
retcode: 0,
|
||||
obofjbeeoma: vec![],
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
@ -100,6 +101,23 @@ async fn create_battle_info() -> SceneBattleInfo {
|
||||
battle_info.buff_list.push(tech);
|
||||
}
|
||||
battle_info.battle_avatar_list.push(battle_avatar);
|
||||
|
||||
// hardcoded march
|
||||
if avatar.avatar_id == 1224 {
|
||||
let buffs = BattleBuff {
|
||||
id: 122401,
|
||||
level: 3,
|
||||
wave_flag: 0xffffffff,
|
||||
owner_id: i,
|
||||
dynamic_values: HashMap::from([
|
||||
(String::from("#ADF_1"), 3f32),
|
||||
(String::from("#ADF_2"), 3f32),
|
||||
]),
|
||||
target_index_list: vec![0],
|
||||
};
|
||||
|
||||
battle_info.buff_list.push(buffs);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -140,29 +158,44 @@ async fn create_battle_info() -> SceneBattleInfo {
|
||||
owner_id: 0xffffffff,
|
||||
..Default::default()
|
||||
};
|
||||
if let Some(dynamic_key) = &blessing.dynamic_key {
|
||||
|
||||
if let Some(dynamic_value) = &blessing.dynamic_key {
|
||||
buffs
|
||||
.dynamic_values
|
||||
.insert(dynamic_key.key.clone(), dynamic_key.value as f32);
|
||||
.insert(dynamic_value.key.clone(), dynamic_value.value as f32);
|
||||
};
|
||||
|
||||
for dynamic_value in &blessing.dynamic_values {
|
||||
if buffs.dynamic_values.contains_key(&dynamic_value.key) {
|
||||
continue;
|
||||
};
|
||||
buffs
|
||||
.dynamic_values
|
||||
.insert(dynamic_value.key.clone(), dynamic_value.value as f32);
|
||||
}
|
||||
|
||||
battle_info.buff_list.push(buffs);
|
||||
}
|
||||
|
||||
// pf score object
|
||||
if player.battle_config.battle_type == BattleType::PF {
|
||||
let mut battle_target = BattleTargetList::default();
|
||||
battle_target.battle_target_list.push(BattleTarget {
|
||||
id: 10001,
|
||||
progress: 0,
|
||||
..Default::default()
|
||||
});
|
||||
battle_info.battle_target_info.insert(
|
||||
1,
|
||||
BattleTargetList {
|
||||
battle_target_list: vec![BattleTarget {
|
||||
id: 10001,
|
||||
progress: 0,
|
||||
..Default::default()
|
||||
}],
|
||||
},
|
||||
);
|
||||
|
||||
battle_info.battle_target_info.insert(1, battle_target);
|
||||
for i in 2..=4 {
|
||||
battle_info
|
||||
.battle_target_info
|
||||
.insert(i, BattleTargetList::default());
|
||||
}
|
||||
|
||||
battle_info.battle_target_info.insert(
|
||||
5,
|
||||
BattleTargetList {
|
||||
@ -184,14 +217,16 @@ async fn create_battle_info() -> SceneBattleInfo {
|
||||
|
||||
// Apocalyptic Shadow
|
||||
if player.battle_config.battle_type == BattleType::AS {
|
||||
let battle_target = BattleTargetList {
|
||||
battle_target_list: vec![BattleTarget {
|
||||
id: 90005,
|
||||
progress: 0,
|
||||
..Default::default()
|
||||
}],
|
||||
};
|
||||
battle_info.battle_target_info.insert(1, battle_target);
|
||||
battle_info.battle_target_info.insert(
|
||||
1,
|
||||
BattleTargetList {
|
||||
battle_target_list: vec![BattleTarget {
|
||||
id: 90005,
|
||||
progress: 0,
|
||||
..Default::default()
|
||||
}],
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
// SU
|
||||
@ -206,7 +241,6 @@ async fn create_battle_info() -> SceneBattleInfo {
|
||||
max_sp: 10_000,
|
||||
}),
|
||||
}),
|
||||
..Default::default()
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@ -8,6 +8,21 @@ use crate::{
|
||||
|
||||
use super::*;
|
||||
|
||||
pub async fn on_get_friend_login_info_cs_req(
|
||||
session: &mut PlayerSession,
|
||||
_: &GetFriendLoginInfoCsReq,
|
||||
) -> Result<()> {
|
||||
session
|
||||
.send(
|
||||
CMD_GET_FRIEND_LOGIN_INFO_SC_RSP,
|
||||
GetFriendLoginInfoScRsp {
|
||||
mnacbpjeche: vec![727],
|
||||
..Default::default()
|
||||
},
|
||||
)
|
||||
.await
|
||||
}
|
||||
|
||||
pub async fn on_get_friend_list_info_cs_req(
|
||||
session: &mut PlayerSession,
|
||||
_: &GetFriendListInfoCsReq,
|
||||
@ -17,9 +32,7 @@ pub async fn on_get_friend_list_info_cs_req(
|
||||
CMD_GET_FRIEND_LIST_INFO_SC_RSP,
|
||||
GetFriendListInfoScRsp {
|
||||
friend_list: vec![FriendListInfo {
|
||||
playing_state: PlayingState::None.into(),
|
||||
efhdeanophb: Some(Oohgaobiikp::default()),
|
||||
kkmacpkifkp: String::from("RobinSR"),
|
||||
friend_name: String::from("RobinSR"),
|
||||
simple_info: Some(SimpleInfo {
|
||||
uid: 727,
|
||||
platform_type: 3,
|
||||
@ -28,14 +41,12 @@ pub async fn on_get_friend_list_info_cs_req(
|
||||
chat_bubble_id: 220005,
|
||||
level: 70,
|
||||
nickname: String::from("Server"),
|
||||
assist_simple_info: vec![AssistSimpleInfo {
|
||||
avatar_id: 1008,
|
||||
level: 70,
|
||||
..Default::default()
|
||||
}],
|
||||
signature: String::from("omg"),
|
||||
..Default::default()
|
||||
}),
|
||||
is_marked: true,
|
||||
sent_time: 0,
|
||||
..Default::default()
|
||||
}],
|
||||
..Default::default()
|
||||
},
|
||||
@ -45,7 +56,7 @@ pub async fn on_get_friend_list_info_cs_req(
|
||||
|
||||
pub async fn on_get_private_chat_history_cs_req(
|
||||
session: &mut PlayerSession,
|
||||
_: &GetPrivateChatHistoryCsReq,
|
||||
req: &GetPrivateChatHistoryCsReq,
|
||||
) -> Result<()> {
|
||||
session
|
||||
.send(
|
||||
@ -81,8 +92,8 @@ pub async fn on_get_private_chat_history_cs_req(
|
||||
..Default::default()
|
||||
},
|
||||
],
|
||||
sender_id: 727, // from
|
||||
to_uid: 1337, // to
|
||||
sender_id: 0, // from
|
||||
to_uid: req.to_uid, // to
|
||||
..Default::default()
|
||||
},
|
||||
)
|
||||
@ -100,12 +111,11 @@ pub async fn on_send_msg_cs_req(session: &mut PlayerSession, body: &SendMsgCsReq
|
||||
.send(
|
||||
CMD_REVC_MSG_SC_NOTIFY,
|
||||
RevcMsgScNotify {
|
||||
enlmbccjfbg: body.enlmbccjfbg.clone(),
|
||||
msg_type: body.msg_type,
|
||||
text: String::from("Inventory Synced"),
|
||||
emote: body.emote,
|
||||
from_uid: 727, // from
|
||||
to_uid: 1337, // to
|
||||
to_uid: 25, // to
|
||||
chat_type: body.chat_type,
|
||||
},
|
||||
)
|
||||
@ -136,12 +146,11 @@ pub async fn on_send_msg_cs_req(session: &mut PlayerSession, body: &SendMsgCsReq
|
||||
.send(
|
||||
CMD_REVC_MSG_SC_NOTIFY,
|
||||
RevcMsgScNotify {
|
||||
enlmbccjfbg: body.enlmbccjfbg.clone(),
|
||||
msg_type: body.msg_type,
|
||||
text: format!("Success change mc to {:#?}", mc),
|
||||
emote: body.emote,
|
||||
from_uid: 727, // from
|
||||
to_uid: 1337, // to
|
||||
to_uid: 25, // to
|
||||
chat_type: body.chat_type,
|
||||
},
|
||||
)
|
||||
@ -172,12 +181,11 @@ pub async fn on_send_msg_cs_req(session: &mut PlayerSession, body: &SendMsgCsReq
|
||||
.send(
|
||||
CMD_REVC_MSG_SC_NOTIFY,
|
||||
RevcMsgScNotify {
|
||||
enlmbccjfbg: body.enlmbccjfbg.clone(),
|
||||
msg_type: body.msg_type,
|
||||
text: format!("Success change march to {:#?}", march_type),
|
||||
emote: body.emote,
|
||||
from_uid: 727, // from
|
||||
to_uid: 1337, // to
|
||||
to_uid: 25, // to
|
||||
chat_type: body.chat_type,
|
||||
},
|
||||
)
|
||||
|
||||
@ -41,15 +41,9 @@ pub async fn on_get_cur_lineup_data_cs_req(
|
||||
mp: 5,
|
||||
max_mp: 5,
|
||||
avatar_list: AvatarJson::to_lineup_avatars(&player),
|
||||
abollmbdfjp: vec![],
|
||||
boceahmenhd: 0,
|
||||
idfbpedneca: vec![],
|
||||
index: 0,
|
||||
is_virtual: false,
|
||||
leader_slot: 0,
|
||||
mphbmfkkaam: false,
|
||||
nggphgpdmfd: vec![],
|
||||
plane_id: 0,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
let avatar_ids = player
|
||||
@ -187,7 +181,7 @@ async fn refresh_lineup(sess: &mut PlayerSession, player: &FreesrData) -> Result
|
||||
avatar_type: AvatarType::AvatarFormalType.into(),
|
||||
base_avatar_id: *v,
|
||||
map_layer: 0,
|
||||
uid: 1337,
|
||||
uid: 25,
|
||||
})),
|
||||
entity_id: idx + 1,
|
||||
group_id: 0,
|
||||
|
||||
@ -1,155 +1,12 @@
|
||||
use super::*;
|
||||
|
||||
static FINISHED_MAIN_MISSIONS: [u32; 1387] = [
|
||||
1000101, 1000111, 1000112, 1000113, 1000114, 1000201, 1000202, 1000203, 1000204, 1000300,
|
||||
1000301, 1000302, 1000303, 1000304, 1000400, 1000401, 1000402, 1000410, 1000500, 1000501,
|
||||
1000502, 1000503, 1000504, 1000505, 1000510, 1000511, 1010001, 1010002, 1010101, 1010201,
|
||||
1010202, 1010203, 1010204, 1010205, 1010206, 1010301, 1010302, 1010303, 1010401, 1010402,
|
||||
1010403, 1010405, 1010500, 1010501, 1010502, 1010503, 1010601, 1010602, 1010700, 1010701,
|
||||
1010801, 1010802, 1010901, 1010902, 1011001, 1011002, 1011003, 1011100, 1011101, 1011102,
|
||||
1011103, 1011201, 1011202, 1011301, 1011400, 1011401, 1011402, 1011403, 1011501, 1011502,
|
||||
1011503, 1020101, 1020201, 1020301, 1020302, 1020400, 1020401, 1020402, 1020403, 1020501,
|
||||
1020601, 1020701, 1020702, 1020801, 1020901, 1021001, 1021101, 1021201, 1021301, 1021401,
|
||||
1021501, 1021601, 1021702, 1021703, 1030101, 1030102, 1030201, 1030202, 1030301, 1030302,
|
||||
1030303, 1030304, 1030401, 1030402, 1030403, 1030501, 1030601, 1030701, 1030702, 1030703,
|
||||
1030801, 1030901, 1031001, 1031002, 1031101, 1031201, 1031301, 1031401, 1031501, 1031601,
|
||||
1031701, 1031801, 1031901, 1032001, 1032101, 1032201, 1032301, 1032302, 1032401, 1032501,
|
||||
1032601, 1032602, 1032701, 1032702, 1032703, 1032704, 1032705, 1032801, 1032802, 1032901,
|
||||
1032902, 1033001, 1033101, 1033102, 1034101, 1034103, 1034104, 1034105, 1034107, 1034108,
|
||||
1034109, 1034110, 2000001, 2000002, 2000003, 2000004, 2000100, 2000101, 2000102, 2000103,
|
||||
2000104, 2000105, 2000106, 2000107, 2000108, 2000109, 2000110, 2000111, 2000112, 2000113,
|
||||
2000116, 2000118, 2000119, 2000120, 2000122, 2000131, 2000132, 2000133, 2000201, 2000202,
|
||||
2000203, 2000204, 2000205, 2000206, 2000207, 2000208, 2000209, 2000211, 2000212, 2000301,
|
||||
2000302, 2000303, 2000304, 2000305, 2000310, 2000311, 2000312, 2000313, 2000314, 2000320,
|
||||
2000701, 2000702, 2000703, 2000704, 2000705, 2000706, 2000707, 2000801, 2000802, 2000803,
|
||||
2000901, 2000902, 2000903, 2001001, 2001002, 2001003, 2010005, 2010201, 2010202, 2010203,
|
||||
2010204, 2010205, 2010206, 2010301, 2010302, 2010401, 2010402, 2010405, 2010500, 2010501,
|
||||
2010502, 2010503, 2010701, 2010702, 2010703, 2010705, 2010706, 2010708, 2010709, 2010720,
|
||||
2010730, 2010731, 2010732, 2010733, 2010734, 2010735, 2010901, 2010902, 2010903, 2010904,
|
||||
2010905, 2010906, 2010907, 2010908, 2010909, 2010910, 2010911, 2010912, 2011101, 2011102,
|
||||
2011103, 2011104, 2011105, 2011301, 2011302, 2011303, 2011400, 2011401, 2011402, 2011403,
|
||||
2011404, 2011405, 2011406, 2011407, 2011408, 2011409, 2011410, 2011411, 2011412, 2011413,
|
||||
2011501, 2011502, 2011601, 2011701, 2011801, 2011901, 2011902, 2011903, 2011904, 2011905,
|
||||
2011906, 2020103, 2020104, 2020105, 2020106, 2020107, 2020108, 2020109, 2020110, 2020111,
|
||||
2020201, 2020202, 2020203, 2020204, 2020205, 2020301, 2020302, 2020303, 2020304, 2020305,
|
||||
2020306, 2020307, 2020308, 2020309, 2020313, 2020314, 2020315, 2020316, 2020317, 2020318,
|
||||
2020319, 2020401, 2020402, 2020403, 2020404, 2020405, 2020406, 2020407, 2020501, 2020502,
|
||||
2020503, 2020504, 2020505, 2020506, 2020507, 2020601, 2020602, 2020603, 2020604, 2020701,
|
||||
2020702, 2020703, 2020801, 2020802, 2020901, 2021001, 2021002, 2021009, 2021601, 2021602,
|
||||
2021701, 2021702, 2021703, 2021704, 2021705, 2021801, 2021802, 2021803, 2021901, 2021902,
|
||||
2022001, 2022002, 2022003, 2022004, 2022005, 2022006, 2022007, 2022008, 2022101, 2022102,
|
||||
2022103, 2022104, 2022105, 2030001, 2030002, 2030003, 2030101, 2030102, 2030201, 2030202,
|
||||
2030203, 2030301, 2030302, 2030401, 2030402, 2030501, 2030601, 2030602, 2030603, 2030701,
|
||||
3000201, 3000202, 3000203, 3000211, 3000212, 3000213, 3000301, 3000302, 3000303, 3000522,
|
||||
3000523, 3000524, 3000525, 3000526, 3000527, 3000601, 3000602, 3000603, 3000604, 3000701,
|
||||
3000702, 3000703, 3000704, 3000705, 3000800, 3000801, 3000802, 3000803, 3010102, 3010103,
|
||||
3010104, 3010105, 3010201, 3010202, 3010203, 3010204, 3010205, 3011011, 3011012, 3011013,
|
||||
3011014, 3011111, 3011112, 3011113, 3011114, 3011201, 3011202, 3011203, 3011204, 3011205,
|
||||
3011206, 3011207, 3011208, 3011401, 3011402, 3011403, 3011404, 3011405, 3011406, 3011407,
|
||||
3011408, 3011501, 3011502, 3011503, 3011504, 3011505, 3011601, 3011602, 3011603, 3011604,
|
||||
3011605, 3011606, 3011607, 3011608, 3011609, 3011610, 3012001, 3020101, 3020102, 3020103,
|
||||
3020104, 3020105, 3020106, 3020107, 3020108, 3020201, 3020202, 3020203, 3020204, 3020205,
|
||||
3020206, 4010105, 4010106, 4010107, 4010112, 4010113, 4010115, 4010116, 4010121, 4010122,
|
||||
4010123, 4010124, 4010125, 4010126, 4010127, 4010128, 4010130, 4010131, 4010133, 4010134,
|
||||
4010135, 4010136, 4010137, 4010138, 4010140, 4010141, 4015101, 4015102, 4015103, 4015202,
|
||||
4015203, 4015204, 4015301, 4015302, 4015303, 4015401, 4015402, 4015403, 4015502, 4015503,
|
||||
4015504, 4015505, 4020101, 4020102, 4020103, 4020104, 4020105, 4020106, 4020107, 4020108,
|
||||
4020109, 4020110, 4020111, 4020112, 4020113, 4020114, 4030001, 4030002, 4030003, 4030004,
|
||||
4030006, 4030007, 4030009, 4030010, 4040001, 4040002, 4040003, 4040004, 4040005, 4040006,
|
||||
4040007, 4040008, 4040009, 4040010, 4040011, 4040012, 4040014, 4040015, 4040017, 4040018,
|
||||
4040019, 4040020, 4040021, 4040022, 4040023, 4040024, 4040051, 4040052, 4040053, 4040100,
|
||||
4040101, 4040102, 4040103, 4040104, 4040105, 4040106, 4040107, 4040108, 4040109, 4040110,
|
||||
4040114, 4040115, 4040116, 4040117, 4040118, 4040119, 4040120, 4040121, 4040122, 4040123,
|
||||
4040124, 4040125, 4040126, 4040127, 4040128, 4040129, 4040130, 4040151, 4040152, 4040153,
|
||||
4040154, 4040155, 4040156, 4040157, 4040158, 4040159, 4040160, 4040161, 4040162, 4040163,
|
||||
4040164, 4040165, 4040166, 4040167, 4040168, 4040169, 4040170, 4040171, 4040172, 4040173,
|
||||
4040174, 4040175, 4040176, 4040177, 4040178, 4040179, 4040180, 4040181, 4040182, 4040183,
|
||||
4040184, 4040185, 4040186, 4040187, 4040188, 4040189, 4040190, 4040201, 4040202, 4040203,
|
||||
4040204, 4040205, 4040206, 4040207, 4040208, 4040209, 4040210, 4040211, 4040212, 4040213,
|
||||
4040214, 4040215, 4040216, 4040217, 4040218, 4040219, 4040220, 4040221, 4040222, 4040223,
|
||||
4040224, 4040225, 4040226, 4040227, 4040228, 4040229, 4040230, 4040231, 4040240, 4040241,
|
||||
4040242, 4040244, 4040245, 4040246, 4040247, 4040248, 4040249, 4040250, 4040251, 4040252,
|
||||
4040253, 4040254, 4040255, 4040256, 4040257, 4040258, 4040259, 4040260, 4040261, 4040262,
|
||||
4040263, 4040264, 4040265, 4040290, 4040300, 4040302, 4040303, 4040304, 4040305, 4040306,
|
||||
4040307, 4040308, 4040309, 4040310, 4040311, 4040312, 4040313, 4040314, 4040315, 4040316,
|
||||
4040317, 4040318, 4040319, 4040320, 4040321, 4040322, 4040323, 4040324, 4040325, 4040326,
|
||||
4040327, 4040328, 4040329, 4040330, 4040331, 4040332, 4040333, 4040334, 4040335, 4040336,
|
||||
4040337, 4040338, 4040339, 4040340, 4040341, 4040342, 4040343, 4040344, 4040345, 4040346,
|
||||
4040347, 4040348, 4040349, 4040350, 4050005, 4050007, 4050008, 4050009, 4050010, 4050011,
|
||||
4050012, 4050013, 4050014, 4050015, 4050016, 4050017, 4050018, 4050019, 4050020, 4050021,
|
||||
4050022, 4050023, 4050024, 4050025, 4050026, 4050027, 4050028, 4050029, 4050030, 4050031,
|
||||
4050032, 4050033, 4050034, 4050035, 4050036, 4050037, 4050038, 4050039, 4070011, 4070012,
|
||||
4070013, 4071311, 4071312, 4071313, 4071320, 4071321, 4071322, 4072011, 4072012, 4072013,
|
||||
4072021, 4072022, 4072023, 4072024, 4072121, 4072122, 4072123, 4081311, 4081312, 4081313,
|
||||
4081314, 4081315, 4081316, 4081317, 4081318, 4122101, 4122102, 4122103, 4140101, 4140102,
|
||||
4140103, 4140104, 4140105, 4140106, 4140107, 4140108, 4140109, 4140110, 4140111, 4140112,
|
||||
4140113, 4140114, 4140115, 4140116, 4140117, 4140118, 4140119, 4140120, 4140121, 4140122,
|
||||
4140123, 4240301, 4240302, 4240304, 4240305, 4240306, 4240307, 4240308, 4240309, 4240310,
|
||||
4240311, 4240312, 4240313, 4240314, 4240316, 4240317, 4240320, 4240321, 4240322, 4240323,
|
||||
4240401, 4240402, 4240403, 4240404, 4240405, 4340101, 4340102, 4340103, 4340104, 4340105,
|
||||
4340106, 4340107, 4340108, 4340109, 4340110, 4340111, 4340112, 4340113, 4340114, 4340115,
|
||||
4340116, 4340117, 4340118, 4340119, 4340120, 4340121, 4340122, 4340123, 4340124, 4340125,
|
||||
4340126, 4340127, 4340150, 4340151, 4340152, 4340153, 4340154, 4340155, 4340156, 4340157,
|
||||
4340158, 4340159, 4340160, 4340161, 4340162, 4340163, 4340164, 4340165, 4340166, 4340167,
|
||||
4340168, 4340169, 4540101, 4540102, 4540103, 4540104, 4540105, 4540106, 4540107, 4540111,
|
||||
4540112, 4540113, 4540114, 4540201, 4540202, 4540203, 4540204, 4540205, 4540206, 4540211,
|
||||
4540212, 4540213, 4540214, 4540301, 4540302, 4540303, 4540304, 4540305, 4540306, 4540307,
|
||||
4540311, 4540312, 4540313, 4540314, 4540315, 4540401, 4540402, 4540403, 4540404, 4540405,
|
||||
4540406, 4540407, 4540408, 4540411, 4540412, 4540413, 4540414, 4540501, 4540502, 5030500,
|
||||
6020101, 6020201, 6020202, 8000001, 8000002, 8000101, 8000102, 8000104, 8000105, 8000131,
|
||||
8000132, 8000133, 8000134, 8000135, 8000136, 8000137, 8000138, 8000139, 8000151, 8000152,
|
||||
8000153, 8000154, 8000155, 8000156, 8000157, 8000158, 8000159, 8000161, 8000162, 8000170,
|
||||
8000171, 8000172, 8000173, 8000174, 8000175, 8000177, 8000178, 8000180, 8000181, 8000182,
|
||||
8000183, 8000184, 8000185, 8000186, 8000187, 8000188, 8000189, 8000201, 8000202, 8000203,
|
||||
8000204, 8001201, 8001202, 8001203, 8001204, 8001205, 8001206, 8001207, 8001208, 8001209,
|
||||
8001210, 8001211, 8001212, 8001213, 8001214, 8001215, 8001216, 8001217, 8001218, 8001219,
|
||||
8001220, 8001221, 8001222, 8001223, 8001224, 8001225, 8001226, 8001227, 8001241, 8001242,
|
||||
8001243, 8001244, 8001251, 8001252, 8001253, 8001254, 8001255, 8001261, 8001262, 8001263,
|
||||
8001264, 8001265, 8001266, 8001267, 8001268, 8002100, 8002101, 8002102, 8002103, 8002104,
|
||||
8002105, 8002106, 8002107, 8002201, 8002202, 8002211, 8002212, 8002213, 8002214, 8002221,
|
||||
8002222, 8002231, 8002232, 8002233, 8002234, 8003101, 8003102, 8003201, 8003202, 8003203,
|
||||
8003204, 8003205, 8003206, 8003207, 8003208, 8003209, 8003210, 8003211, 8003212, 8003213,
|
||||
8003214, 8003215, 8003216, 8003217, 8003218, 8003219, 8003220, 8003221, 8003222, 8003240,
|
||||
8003241, 8003242, 8003243, 8003244, 8003245, 8003246, 8003247, 8003248, 8003249, 8003250,
|
||||
8003251, 8003260, 8003261, 8003262, 8003263, 8003264, 8003265, 8003266, 8003267, 8003268,
|
||||
8003269, 8003278, 8003279, 8003280, 8003281, 8003282, 8003283, 8003284, 8011401, 8012101,
|
||||
8012102, 8012103, 8012104, 8012105, 8012106, 8012107, 8012401, 8013101, 8013102, 8013103,
|
||||
8013104, 8013105, 8013106, 8013107, 8013108, 8013109, 8013110, 8014101, 8014102, 8014103,
|
||||
8014104, 8014105, 8014106, 8014108, 8014112, 8014121, 8014122, 8014123, 8014124, 8014125,
|
||||
8014126, 8014127, 8014128, 8014129, 8014130, 8014131, 8014132, 8014133, 8014134, 8014135,
|
||||
8014136, 8014137, 8014138, 8014139, 8014140, 8014141, 8014142, 8014143, 8014144, 8014145,
|
||||
8014146, 8014147, 8014148, 8014149, 8014150, 8014161, 8014162, 8014163, 8014164, 8014165,
|
||||
8014166, 8014167, 8014168, 8015101, 8015102, 8015103, 8015104, 8015111, 8015112, 8015113,
|
||||
8015114, 8015123, 8015150, 8015151, 8015152, 8015153, 8015154, 8015155, 8015156, 8015157,
|
||||
8015158, 8015159, 8015161, 8015162, 8015163, 8015164, 8015165, 8015171, 8015172, 8015173,
|
||||
8015180, 8015191, 8015192, 8015193, 8015194, 8015195, 8015196, 8015197, 8015198, 8015201,
|
||||
8015202, 8015203, 8016101, 8016102, 8016103, 8016104, 8016105, 8016106, 8016201, 8016202,
|
||||
8016203, 8016204, 8016205, 8016206, 8016207, 8016208, 8016209, 8016210, 8016211, 8016212,
|
||||
8016213, 8016301, 8016302, 8016303, 8016304, 8016305, 8017101, 8017102, 8020101, 8020102,
|
||||
8020103, 8020104, 8020105, 8020106, 8020107, 8020108, 8020201, 8020202, 8020203, 8020204,
|
||||
8020205, 8020206, 8020207, 8020208, 8020209, 8020210, 8020211, 8020212, 8020213, 8020214,
|
||||
8020215, 8020216, 8020217, 8020218, 8020219, 8020220, 8020221, 8020222, 8020223, 8020224,
|
||||
8020231, 8020232, 8020233, 8020234, 8020236, 8020300, 8020301, 8020302, 8020303, 8020304,
|
||||
8020305, 8021100, 8021101, 8021102, 8021103, 8021104, 8021105, 8021106, 8021121, 8021122,
|
||||
8021123, 8021124, 8021130, 8021131, 8021132, 8021201, 8021202, 8021203, 8021301, 8021302,
|
||||
8021303, 8021401, 8021402, 8021403, 8021404, 8021501, 8021502, 8021503, 8021504, 8021505,
|
||||
8021506, 8022101, 8022102, 8022103, 8022104, 8022105, 8022106, 8022107, 8022108, 8022109,
|
||||
8022110, 8022111, 8022112, 8022113, 8022114, 8022115, 8022120, 8022121, 8022122, 8022123,
|
||||
8022124, 8022125, 8022126, 8022127, 8022201, 8022202, 8022301, 8022302, 8022401, 8022402,
|
||||
8023101, 8023102, 8023103, 8023104, 8023105, 8023111, 8023201, 8023202, 8023203, 8023301,
|
||||
8023401, 8023501, 8023601, 8023701, 8023801, 8024101, 8024111, 8024112, 8024113, 8024114,
|
||||
8024115, 8024116, 8024201, 8024202, 8024203, 8024204, 8024205, 8024206, 8024207, 8024208,
|
||||
8024301, 8024302, 8024303, 8024304, 8024305, 8024306, 8024307,
|
||||
];
|
||||
|
||||
pub async fn on_get_mission_status_cs_req(
|
||||
session: &mut PlayerSession,
|
||||
body: &GetMissionStatusCsReq,
|
||||
) -> Result<()> {
|
||||
let rsp = GetMissionStatusScRsp {
|
||||
retcode: 0,
|
||||
finished_main_mission_id_list: FINISHED_MAIN_MISSIONS.to_vec(),
|
||||
// finished_main_mission_id_list: body.main_mission_id_list.clone(),
|
||||
finished_main_mission_id_list: body.main_mission_id_list.clone(),
|
||||
sub_mission_status_list: body
|
||||
.sub_mission_id_list
|
||||
.iter()
|
||||
@ -159,302 +16,8 @@ pub async fn on_get_mission_status_cs_req(
|
||||
status: MissionStatus::MissionFinish.into(),
|
||||
})
|
||||
.collect(),
|
||||
// mission_event_status_list: body
|
||||
// .main_mission_id_list
|
||||
// .iter()
|
||||
// .map(|id| Mission {
|
||||
// id: *id,
|
||||
// progress: 1,
|
||||
// status: MissionStatus::MissionFinish.into(),
|
||||
// })
|
||||
// .collect(),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
session.send(CMD_GET_MISSION_STATUS_SC_RSP, rsp).await
|
||||
}
|
||||
|
||||
// static QUEST_LIST: [u32; 2575] = [
|
||||
// 1001711, 1001712, 1001713, 1001714, 1001715, 1001721, 1001723, 1001734, 1001742, 1001798,
|
||||
// 1001731, 1001722, 1001732, 1001725, 1001724, 1001761, 1001799, 1001726, 1001727, 1001716,
|
||||
// 1001741, 1001752, 1001753, 1001754, 1001766, 1001717, 1001763, 1001764, 1001773, 1001771,
|
||||
// 1001772, 1001783, 1001785, 1001765, 1001792, 1001775, 1001776, 1001782, 1001793, 1001795,
|
||||
// 1001796, 1001762, 1001743, 1001744, 1001797, 1001784, 1001767, 1001801, 1001802, 1001803,
|
||||
// 1001804, 1001901, 1001902, 1001903, 1001904, 1001905, 1001906, 1001907, 1001921, 1001922,
|
||||
// 1001923, 1001924, 1001925, 1002001, 1002002, 1002003, 1002004, 1002005, 1002006, 1002007,
|
||||
// 1002008, 1002009, 2000001, 2000002, 2000003, 2000004, 2000101, 2000102, 2000103, 2000104,
|
||||
// 2000105, 2000106, 2000107, 2000108, 2000109, 2000110, 2000111, 2000112, 2000113, 2000114,
|
||||
// 2000115, 2000116, 2000117, 2000118, 2000119, 2000120, 2000121, 2000122, 2000123, 2000124,
|
||||
// 2000201, 2000202, 2000203, 2000204, 2000205, 2000206, 2000207, 2000208, 2000209, 2000210,
|
||||
// 2000225, 2000211, 2000212, 2000213, 2000214, 2000216, 2000217, 2000218, 2000219, 2000220,
|
||||
// 2000221, 2000222, 2000215, 2000223, 2000224, 2000226, 2000227, 2000228, 2000229, 2000230,
|
||||
// 2000231, 2000232, 2000233, 2000234, 2000235, 2000236, 2000237, 2000238, 2000239, 2000240,
|
||||
// 2000241, 2000242, 2000243, 2000244, 2000245, 2000246, 2000247, 2000248, 2000249, 2000250,
|
||||
// 2000251, 2000252, 2000253, 2000254, 2000255, 2000256, 2000257, 2000258, 2000259, 2000260,
|
||||
// 2000261, 2000262, 2000263, 2000264, 2000265, 2000266, 2000267, 2000268, 2000269, 2000270,
|
||||
// 2000271, 2000272, 2000273, 2000274, 2000275, 2000276, 2000277, 2000278, 2000279, 2000280,
|
||||
// 2000281, 2000282, 2000283, 2000284, 2000285, 2000286, 2000287, 2000288, 2000289, 2000290,
|
||||
// 2000291, 2000292, 2000293, 2000294, 2200001, 2200002, 2200003, 2200004, 2200005, 2200006,
|
||||
// 2200007, 2200010, 2200011, 2200012, 2200013, 2200014, 2200015, 2200016, 2200110, 2200111,
|
||||
// 2200112, 2200210, 2200211, 2200212, 2200213, 2200214, 2200215, 2200300, 2200017, 2200018,
|
||||
// 2200019, 2200020, 2200021, 2200022, 2200023, 2200024, 2200025, 2200026, 2200037, 2200038,
|
||||
// 2200039, 2200040, 2200041, 2200042, 2200043, 2200044, 2200045, 2200046, 2200047, 2200048,
|
||||
// 2200049, 2200050, 2200051, 2200057, 2200058, 2200059, 2200067, 2200068, 2200069, 2200401,
|
||||
// 2200402, 2200403, 2200404, 2200405, 2200406, 2200407, 2200408, 2200409, 2200410, 2200411,
|
||||
// 2200412, 2200413, 2200414, 2200415, 2200416, 2200417, 2200418, 2200419, 2200420, 3000001,
|
||||
// 3000002, 3000003, 3000004, 3000011, 3000012, 3000013, 3000014, 3011102, 3011106, 3011109,
|
||||
// 3011105, 3011204, 3011206, 3011103, 3011001, 3000015, 3000016, 3000017, 3000018, 3000019,
|
||||
// 3000101, 3000102, 3000103, 3000104, 3000105, 3000106, 3000107, 3000108, 3000109, 3000110,
|
||||
// 3000111, 3000112, 3000113, 3000114, 3000115, 3000116, 3000117, 3000118, 3000119, 3000120,
|
||||
// 3000121, 3000122, 3000123, 3000124, 3000125, 3000126, 3000127, 3000128, 3000129, 3000130,
|
||||
// 3000131, 3000132, 3000133, 3000134, 3000135, 3000136, 3000137, 3000138, 3000139, 3000140,
|
||||
// 3000141, 3000142, 3000143, 3000144, 3000145, 3000146, 3000147, 3000148, 3000149, 3000150,
|
||||
// 3000151, 3000152, 3000153, 3000154, 3000155, 3000156, 4000001, 4000003, 4010101, 4010102,
|
||||
// 4010103, 4010104, 4010105, 4010201, 4010202, 4010203, 4010301, 4010302, 4010303, 4010401,
|
||||
// 4010501, 4010502, 4010503, 4010504, 4020201, 4020202, 4020203, 4020401, 4020402, 4020403,
|
||||
// 4020502, 4020503, 4020701, 4020702, 4030101, 4030102, 4030103, 4030104, 4030105, 4030201,
|
||||
// 4030202, 4040101, 4040102, 4040201, 4040202, 4040301, 4040302, 4040402, 4040403, 4040404,
|
||||
// 4040406, 4040407, 4040408, 4040409, 4040410, 4040411, 4040412, 4040503, 4040504, 4040601,
|
||||
// 4040602, 4040603, 4040604, 4040701, 4040702, 4051001, 4051002, 4051003, 4051004, 4051005,
|
||||
// 4051006, 4051101, 4051103, 4051104, 4051105, 4051106, 4051107, 4051108, 4051109, 4051110,
|
||||
// 4051111, 4060101, 4060102, 4060103, 4060201, 4060202, 4060203, 4060301, 4060302, 4060303,
|
||||
// 4060401, 4060402, 4080101, 4080201, 4080202, 4080203, 4080301, 4080302, 4080303, 4080304,
|
||||
// 4080305, 4080401, 4080402, 4080403, 4080404, 4080501, 4080502, 4080503, 4080504, 4080505,
|
||||
// 4080506, 4080601, 4080602, 4080603, 4080604, 4080605, 4080606, 4090201, 4090202, 4090203,
|
||||
// 4090204, 4090205, 4090206, 4090207, 4090301, 4090303, 4090501, 4090503, 4091001, 4091003,
|
||||
// 4070101, 4070201, 4070301, 4070302, 4070303, 4070401, 4070402, 4070403, 4070421, 4070441,
|
||||
// 4070501, 4070502, 4070601, 4070602, 4070603, 4070604, 4070605, 4070606, 4070607, 4070608,
|
||||
// 4070609, 4070610, 4070611, 4070612, 4070701, 4070702, 4070703, 4070704, 4070705, 4070706,
|
||||
// 4070707, 4070708, 4070709, 4070801, 4070802, 4070803, 4070804, 4070805, 4070806, 4070807,
|
||||
// 4070808, 4070810, 4070812, 4070901, 4070902, 4070903, 4070904, 4070905, 4070906, 4070907,
|
||||
// 4070908, 4070909, 4070910, 4070911, 4070912, 4070913, 4070914, 4070915, 4070916, 4070917,
|
||||
// 4071001, 4071002, 4071003, 4071004, 4071005, 4071006, 4071007, 4071008, 4071009, 4071012,
|
||||
// 4071013, 4071014, 4071015, 4071016, 4071017, 4071018, 4071401, 4071501, 4071502, 4071503,
|
||||
// 4071504, 4071505, 4071506, 4071601, 4071602, 4071603, 4071604, 4071605, 4071606, 4071607,
|
||||
// 4071608, 4071609, 4071610, 4072001, 4072002, 4072003, 4072004, 4072008, 4072012, 4072013,
|
||||
// 4072014, 4072016, 4072017, 4072018, 4072019, 4072020, 4072022, 4072023, 4072024, 4072026,
|
||||
// 4072027, 4072101, 4072103, 4072104, 4072105, 4042301, 4072305, 4012301, 4012302, 4022302,
|
||||
// 4042307, 4042308, 4082303, 4082301, 4092301, 4092302, 4092303, 4092312, 4092313, 4092314,
|
||||
// 4092315, 4092316, 4092317, 4092318, 4092319, 4092320, 4092321, 4092322, 4092323, 4092324,
|
||||
// 4092325, 4092326, 4092327, 4092328, 4092329, 4092330, 4092331, 4092332, 4092333, 4092334,
|
||||
// 4092335, 4092336, 4092337, 4092338, 4092339, 4092340, 4092341, 4092342, 4092343, 4092344,
|
||||
// 4092345, 4092346, 4092347, 4092349, 4092350, 4092351, 4092352, 4092353, 4092361, 4052302,
|
||||
// 4052304, 4052305, 4052306, 4052307, 4052308, 4052309, 4052310, 4052311, 4052312, 4052313,
|
||||
// 4052314, 4052315, 4052316, 4052317, 4052318, 4052319, 4052320, 4052321, 4032305, 4032306,
|
||||
// 4032307, 4032308, 4032309, 4052323, 4052324, 4052325, 4052326, 4052327, 4052328, 4052329,
|
||||
// 4052330, 4052331, 4052332, 4052333, 4052334, 4052335, 4052336, 4052337, 4052338, 4052339,
|
||||
// 4052340, 4052341, 4052342, 4052343, 4052344, 4052345, 4052346, 4052347, 4052348, 4052349,
|
||||
// 4052350, 4052351, 4052352, 4052353, 4052354, 4042401, 4052401, 4052402, 4052403, 4052404,
|
||||
// 4052405, 4052406, 4052407, 4052408, 4052409, 4022401, 4022402, 4022403, 4022404, 4072401,
|
||||
// 4072402, 4082401, 4082402, 4042501, 4042502, 4042503, 4042504, 4042505, 4042506, 4042507,
|
||||
// 4072501, 4072502, 4072503, 4072504, 4082501, 4072505, 4072506, 4032501, 4032502, 4032503,
|
||||
// 4052501, 4052502, 4052503, 4052504, 4052505, 4052506, 4052507, 4052508, 4052509, 4072507,
|
||||
// 4062501, 4052510, 4042551, 4042552, 4042553, 4042554, 4042555, 4042556, 4052511, 4092601,
|
||||
// 4092602, 4092603, 4092604, 4092605, 4092606, 4092607, 4092608, 4092609, 4092610, 4092611,
|
||||
// 4092612, 4092613, 4092614, 4092615, 4092616, 4092617, 4092618, 4092619, 4092620, 4092621,
|
||||
// 4092622, 4092623, 4092624, 4092625, 4092626, 4092627, 4092628, 4092629, 4092630, 4092631,
|
||||
// 4092632, 4092633, 4092634, 4092635, 4092636, 4092637, 4092638, 4092639, 4092640, 4092641,
|
||||
// 4082601, 4082602, 4082603, 4082604, 4082605, 4082606, 4082607, 4082608, 4032601, 4052601,
|
||||
// 4052602, 4052603, 4052604, 4052605, 4052606, 4052607, 4052608, 4052609, 4052610, 4052611,
|
||||
// 4052612, 4052613, 4052614, 4052615, 4052616, 4052617, 4052618, 4052619, 4052620, 4072601,
|
||||
// 4072602, 4072603, 4072604, 4072605, 4072606, 4072607, 4072608, 4072609, 4072610, 4072611,
|
||||
// 4072612, 4032701, 4052701, 4052702, 4052703, 4052704, 4052705, 4052706, 4052707, 4052708,
|
||||
// 4052709, 4052710, 4052711, 4052712, 4052713, 4052714, 4052715, 4052716, 4052717, 4052718,
|
||||
// 4052719, 4052720, 4052721, 4052722, 4052723, 4052724, 4052725, 4052726, 4052727, 4052728,
|
||||
// 4052729, 4052730, 4072701, 4072702, 4072703, 4072704, 4082701, 4082702, 4082703, 4082704,
|
||||
// 4082705, 4082706, 4082707, 4082708, 4082709, 4092801, 4082801, 4082802, 4082803, 4082804,
|
||||
// 4082805, 4082806, 4032801, 4032802, 4012801, 4052801, 4052802, 4052803, 4052804, 4052805,
|
||||
// 4052806, 4052807, 4052808, 4052809, 4052810, 4052811, 4052812, 4052813, 4052814, 4052815,
|
||||
// 4052816, 4052817, 4052818, 4052819, 4052820, 4052821, 4052822, 4052823, 4052824, 4042801,
|
||||
// 4042802, 4072801, 4072802, 4072803, 4072804, 4072805, 4072806, 4032901, 4052901, 4052902,
|
||||
// 4052903, 4052904, 4052905, 4052906, 4052907, 4052908, 4052909, 4052910, 4052911, 4052912,
|
||||
// 4052913, 4052914, 4052915, 4052916, 4052917, 4052918, 4052919, 4072901, 4072902, 4072903,
|
||||
// 4072904, 4072905, 4072906, 4072907, 4092902, 4092903, 4092904, 4092905, 4092906, 4092907,
|
||||
// 4092909, 4092910, 4092911, 4092912, 4092913, 4092914, 4092915, 4092916, 4092917, 4092918,
|
||||
// 4092919, 4092920, 4092921, 4092922, 4092923, 4092924, 4092925, 4092926, 4092927, 4092928,
|
||||
// 4092929, 4092930, 4092931, 4092932, 4092933, 4092934, 4092935, 4092936, 4092937, 4092938,
|
||||
// 4092939, 4092940, 4092941, 4043001, 4043002, 4043003, 4043004, 4043005, 4043006, 4043007,
|
||||
// 4083001, 4053001, 4043008, 4043009, 4083002, 4083003, 4083004, 4043010, 4043011, 4043012,
|
||||
// 4043013, 4043014, 4043015, 4043016, 4073001, 4073002, 4073003, 4073004, 4073005, 4073006,
|
||||
// 4073007, 4073008, 4073009, 4073010, 4043017, 4043018, 4043019, 4043020, 4053002, 4053003,
|
||||
// 4053004, 4053005, 4053006, 4053007, 4053008, 4053009, 4053010, 4053011, 4053012, 4053014,
|
||||
// 4053015, 4053016, 4043021, 4033001, 4033002, 4033003, 4033004, 4033005, 4033006, 4053017,
|
||||
// 4053018, 4053019, 4053020, 4053021, 4053022, 4053023, 4053024, 4053025, 4053026, 4053027,
|
||||
// 4053028, 4053029, 4053030, 4053031, 4083006, 4083007, 4053032, 4053033, 4053034, 4053035,
|
||||
// 4053036, 4053037, 4053038, 4053039, 4053040, 4053041, 4053042, 4053043, 4053044, 4053045,
|
||||
// 4053046, 4053047, 4053048, 4053049, 4053050, 4053051, 4083008, 4053052, 4053053, 4033007,
|
||||
// 4033009, 4033010, 4033011, 4043022, 4043023, 4043024, 4043025, 4043026, 4043027, 4043028,
|
||||
// 4043029, 4043030, 4043031, 4043032, 4043033, 4043034, 4043035, 4053054, 4053055, 4053056,
|
||||
// 4053057, 4053058, 4053059, 4053060, 4053061, 4053062, 4053063, 4053064, 4053065, 4053066,
|
||||
// 4053067, 4053068, 4053069, 4073011, 4073012, 4073013, 4073014, 4073015, 4073016, 4073017,
|
||||
// 4083009, 4083010, 4053070, 4053071, 4043036, 4033201, 4033202, 4033203, 4033204, 4033205,
|
||||
// 4033206, 4043201, 4043202, 4043203, 4043204, 4043205, 4043206, 4043207, 4043208, 4043209,
|
||||
// 4083201, 4043210, 4053201, 4053202, 4053203, 4053204, 4043211, 4083202, 4043212, 4043213,
|
||||
// 4043214, 4043215, 4043216, 4043217, 4043218, 4043219, 4043220, 4043221, 4043222, 4043223,
|
||||
// 4053206, 4053207, 4053208, 4053209, 4053210, 4053211, 4053212, 4053213, 4053214, 4053215,
|
||||
// 4053216, 4053217, 4053218, 4053219, 4053220, 4053221, 4053222, 4053223, 4053224, 4053225,
|
||||
// 4053226, 4053227, 4043224, 4043225, 4043226, 4083203, 4073201, 4073202, 4073203, 4073204,
|
||||
// 4073205, 4073206, 4073207, 4073208, 4073209, 4073210, 4073211, 4073212, 4053228, 4053229,
|
||||
// 4053230, 4053231, 4053232, 4013201, 4043291, 4043292, 4043293, 4033301, 4033302, 4033303,
|
||||
// 4033304, 4033305, 4033306, 4043301, 4043302, 4053205, 4053301, 4053302, 4053303, 4053304,
|
||||
// 4053305, 4053306, 4053307, 4053308, 4053309, 4053310, 4053311, 4053312, 4053313, 4053314,
|
||||
// 4053315, 4053316, 4053317, 4053318, 4053319, 4053320, 4053321, 4053322, 4053323, 4053324,
|
||||
// 4053325, 4073301, 4073302, 4073303, 4073304, 4073305, 4083301, 4073306, 4053326, 4053327,
|
||||
// 4053328, 4053329, 6000001, 6000002, 6000003, 6000004, 2100002, 2100003, 2100101, 2100102,
|
||||
// 2100104, 2100105, 2100107, 2100108, 2100109, 2100110, 2100111, 2100112, 2100114, 2100115,
|
||||
// 2100116, 2100117, 2100119, 2100123, 2100124, 2100125, 2100126, 2100127, 2100128, 2100129,
|
||||
// 2100131, 2100132, 2100133, 2100134, 2100135, 2100136, 2100137, 2100138, 2100139, 2100140,
|
||||
// 2100141, 2100142, 2100143, 2100144, 2100145, 2100146, 2100147, 2100148, 2100149, 2100150,
|
||||
// 2100151, 2100152, 2100153, 2100154, 2100155, 6000010, 6000011, 6000012, 6000013, 6000014,
|
||||
// 6000015, 6000016, 6000017, 6000018, 6000019, 6000020, 6000021, 6000022, 6000023, 6000024,
|
||||
// 6000025, 6000026, 6000027, 6000028, 6000029, 6000030, 6000031, 6000032, 6000033, 6000034,
|
||||
// 6000035, 6000036, 6000037, 6000038, 6000039, 6000040, 6000041, 6000042, 6000043, 6000044,
|
||||
// 6000045, 6000046, 6000047, 6000048, 6000049, 6000050, 6000051, 6000052, 6000053, 6000054,
|
||||
// 6000055, 6000060, 6000061, 6000062, 6000063, 6000064, 6000065, 6000066, 6000067, 6000068,
|
||||
// 6000069, 6000070, 6000071, 6000072, 6000073, 6000074, 6000075, 6000076, 6000077, 6000078,
|
||||
// 6000079, 6000080, 6000081, 6000082, 6000083, 6000084, 6000085, 6000086, 6000087, 6000088,
|
||||
// 6000089, 6000101, 6000102, 6000103, 6000104, 6000105, 6000111, 6000112, 6000113, 6000114,
|
||||
// 6000115, 6000116, 6000117, 6000118, 6000119, 6000120, 6000121, 6000122, 6000123, 6000124,
|
||||
// 6000125, 6000126, 6000127, 6000291, 6000292, 6000293, 6000294, 6000295, 6000301, 6000302,
|
||||
// 6000303, 6000304, 6000305, 6000306, 6000307, 6000308, 6000309, 6000310, 6000311, 6000312,
|
||||
// 6000313, 6000314, 6000315, 6000316, 6000317, 6000318, 6000319, 6000320, 6000321, 6000322,
|
||||
// 6000323, 6000324, 6000325, 6000326, 6000327, 6000328, 6000329, 6000330, 6000331, 6000332,
|
||||
// 6000333, 6000334, 6000335, 6000336, 7000001, 7000002, 7000003, 7000004, 7000005, 7000006,
|
||||
// 7000007, 7000008, 7000009, 7000010, 7000011, 7000012, 7000013, 7000014, 7000015, 7000016,
|
||||
// 7000017, 7000018, 7000019, 7000020, 7000021, 7000022, 7099901, 7099902, 7201001, 7201002,
|
||||
// 7201003, 7201004, 7201005, 7201006, 7201007, 7201008, 7201009, 7201010, 7201011, 7202001,
|
||||
// 7202002, 7202003, 7203001, 7203002, 7203003, 7203004, 7203005, 7203006, 7203007, 7204001,
|
||||
// 7204002, 7204003, 7204004, 7204005, 7204006, 7204007, 7204008, 7204009, 7205001, 7205002,
|
||||
// 7205003, 7205004, 7205005, 7205006, 7205007, 7206001, 7206002, 7206003, 7207001, 7207002,
|
||||
// 7207003, 7207004, 7207005, 7207006, 1010000, 1010001, 1010002, 1010003, 1010004, 1010005,
|
||||
// 1010006, 1010007, 1010008, 1010009, 1010010, 1010011, 1010012, 1010013, 1010014, 1010015,
|
||||
// 1010016, 1010017, 1010018, 1010019, 1010020, 1010021, 1010022, 1010023, 1009900, 1009901,
|
||||
// 1009902, 1009903, 1009904, 1009905, 1009906, 1010024, 1010025, 1010026, 6013101, 6013102,
|
||||
// 6013103, 6013104, 6013105, 6013106, 6013107, 6013108, 6013109, 6013110, 6013111, 6013112,
|
||||
// 6013113, 6013114, 6013115, 6013116, 6013117, 6013118, 6013119, 6013120, 6013121, 6013122,
|
||||
// 6013123, 6013124, 6013127, 6013129, 6013133, 6013171, 6013172, 6013201, 6013202, 6013203,
|
||||
// 6013204, 6013205, 6013206, 6013207, 6013208, 6013209, 6013210, 6013211, 6013212, 6013213,
|
||||
// 6013214, 6013215, 6013216, 6013217, 6013218, 6013219, 6013220, 6013221, 6013222, 6013223,
|
||||
// 6013224, 6013225, 6013226, 6013227, 6013228, 6013229, 6013230, 6013231, 6013240, 6013241,
|
||||
// 6013242, 6013243, 6013244, 6013245, 6013246, 6013247, 6013248, 6013249, 6013260, 6013261,
|
||||
// 6013262, 6013263, 6013264, 6013265, 6013266, 6013267, 6013290, 6013291, 6013292, 6013293,
|
||||
// 6013301, 6013302, 6013303, 6013304, 6013305, 6013306, 6013307, 6013308, 6013309, 6013310,
|
||||
// 6013311, 6013312, 6013313, 6013314, 6014101, 6014102, 6014103, 6014104, 6014105, 6014106,
|
||||
// 6014107, 6014108, 6014109, 6014110, 6014111, 6014112, 6014113, 6014114, 6014115, 6014116,
|
||||
// 6014117, 6014118, 6014119, 6014120, 6014121, 6014122, 6014123, 6014124, 6014125, 6014126,
|
||||
// 6014127, 6014128, 6014201, 6014202, 6014203, 6014204, 6014205, 6014206, 6014207, 6014208,
|
||||
// 6014209, 6014210, 6014211, 6014212, 6014213, 6014214, 6014215, 6014216, 6014217, 6014218,
|
||||
// 6014219, 6014220, 6014221, 6014222, 6014223, 6014224, 6014225, 6014226, 6014227, 6014228,
|
||||
// 6014229, 6014230, 6014231, 6014232, 6014233, 6014234, 6014235, 6014236, 6014237, 6014238,
|
||||
// 6014239, 6014240, 6014241, 6014242, 6014243, 6014244, 6014245, 6014246, 6014247, 6014248,
|
||||
// 6014249, 6014250, 6014251, 6014301, 6014302, 6014303, 6014304, 6014305, 6014306, 6014307,
|
||||
// 6014308, 6014309, 6014310, 6014311, 6014312, 6014313, 6014314, 6014315, 6014316, 6014317,
|
||||
// 6014318, 6014319, 6014320, 6014321, 6014322, 6014323, 6014324, 6014325, 6014326, 6014327,
|
||||
// 6014328, 6014329, 6014330, 6014331, 6014332, 6014333, 6014334, 6014335, 6014336, 6014337,
|
||||
// 6014338, 6014401, 6014402, 6014403, 6014404, 6014405, 6014501, 6014502, 6014503, 6014504,
|
||||
// 6014505, 6014601, 6014602, 6014603, 6014604, 6014605, 6014701, 6014702, 6014703, 6014704,
|
||||
// 6014705, 6014801, 6014802, 6014803, 6014804, 6014805, 6014831, 6014832, 6014833, 6014834,
|
||||
// 6014835, 6014836, 6014841, 6014842, 6014843, 6014844, 6014845, 6014846, 6014851, 6014852,
|
||||
// 6014853, 6014854, 6014855, 6014856, 6014861, 6014862, 6014863, 6014864, 6014865, 6014866,
|
||||
// 6014867, 6014868, 6023000, 6023001, 6023002, 6023003, 6023004, 6023005, 6023006, 6023007,
|
||||
// 6023008, 6023009, 6023010, 6023011, 6023012, 6023013, 6023014, 6023015, 6023016, 6023017,
|
||||
// 6023018, 6023019, 6023100, 6023101, 6023102, 6023103, 6023104, 6023201, 6023202, 6023203,
|
||||
// 6023204, 6023205, 6023206, 6023207, 6023208, 6023209, 6023210, 6023211, 6023212, 6023213,
|
||||
// 6023214, 6023301, 6023302, 6023303, 6023304, 6023305, 6023306, 6023307, 6023308, 6023309,
|
||||
// 6023310, 6023311, 6023312, 6023313, 6023314, 6023315, 6023316, 6023501, 6023502, 6023601,
|
||||
// 6023602, 6023603, 6023604, 6023605, 6023606, 6023607, 6023608, 6023609, 6023610, 6023611,
|
||||
// 6023612, 6000337, 6000338, 6000339, 6000340, 6000341, 6000342, 6000343, 6000344, 6000345,
|
||||
// 6000346, 6000347, 6000348, 6000349, 6000350, 6000351, 6000352, 6000353, 6000354, 6000355,
|
||||
// 6000356, 6000357, 6000358, 6000359, 6000360, 6000361, 6000362, 6000363, 6000364, 6000365,
|
||||
// 6000366, 6000367, 6000368, 6000401, 6000402, 6030001, 6030002, 6030003, 6030004, 6030005,
|
||||
// 6030006, 6030007, 6030008, 6030009, 6030010, 6030011, 6030012, 6030013, 6030014, 6030015,
|
||||
// 6030016, 6030017, 6030018, 6030101, 6030102, 6030103, 6030131, 6030132, 6030133, 6031051,
|
||||
// 6031052, 6031053, 6031054, 6031055, 6031056, 6031057, 6031058, 6031059, 6031060, 6031061,
|
||||
// 6031062, 6031063, 6031064, 6031065, 6031066, 6031067, 6031068, 6031069, 6031070, 6031201,
|
||||
// 6031202, 6031203, 6031204, 6031205, 6031206, 6031207, 6031208, 6031209, 6031210, 6031211,
|
||||
// 6031212, 6031213, 6031214, 6031215, 6031216, 6031217, 6031218, 6031219, 6031220, 6032000,
|
||||
// 6032101, 6032102, 6032103, 6032104, 6032105, 6032209, 6032210, 6032211, 6032212, 6032201,
|
||||
// 6032202, 6032203, 6032204, 6032205, 6032206, 6032207, 6032208, 6032301, 6032302, 6032303,
|
||||
// 6032304, 6032305, 6032306, 6032401, 6032402, 6032403, 6032404, 6032411, 6032412, 6032413,
|
||||
// 6032414, 6032415, 6032416, 6032501, 6032502, 6040001, 6040002, 6040003, 6040004, 6040005,
|
||||
// 6040006, 6040007, 6040008, 6040009, 6040010, 6040011, 6040012, 6040013, 6040014, 6040015,
|
||||
// 6040016, 6040017, 6040018, 6040019, 6040020, 6000369, 6000370, 6000371, 6000372, 6000373,
|
||||
// 6000374, 6000375, 6000376, 6000377, 6000378, 6000379, 6000380, 6000381, 6000382, 6000383,
|
||||
// 6000384, 6000385, 6000386, 6000387, 6000388, 6000389, 6000390, 6000391, 6000392, 6000393,
|
||||
// 6000394, 6000395, 6000396, 6000397, 6000398, 6000399, 6000412, 6000413, 6000414, 6000405,
|
||||
// 6000406, 6000407, 6000408, 6000409, 6000410, 6000411, 6000415, 6000416, 6000417, 6000418,
|
||||
// 6000419, 6000420, 6000421, 6000422, 6000423, 6000424, 6000425, 6000426, 6000427, 6000428,
|
||||
// 6000429, 6000430, 6000431, 6000432, 6000433, 6000434, 6000435, 6000400, 6000500, 6000501,
|
||||
// 6000502, 6000503, 6000504, 6000505, 6000506, 6000507, 6000508, 6000509, 6000510, 6000511,
|
||||
// 6000512, 6000513, 6000514, 6000515, 6000516, 6000517, 6000518, 6000519, 6000520, 6000521,
|
||||
// 6000522, 6000523, 6000524, 6000525, 6050001, 1003000, 1003001, 1003002, 1003003, 1003004,
|
||||
// 1003005, 1003006, 1003007, 1003008, 1003009, 1003010, 1003011, 1003012, 1003013, 1003014,
|
||||
// 1003015, 1003100, 1003101, 1003102, 1003103, 1003104, 1003105, 1003106, 1003107, 1003108,
|
||||
// 1003109, 1003110, 1003111, 6016101, 6016102, 6016103, 6016111, 6016112, 6016113, 6016121,
|
||||
// 6016122, 6016123, 6016131, 6016132, 6016133, 6016141, 6016142, 6016143, 6016151, 6016152,
|
||||
// 6016153, 6016154, 6016155, 6016161, 6016162, 6016163, 6016164, 6016165, 6016166, 6016167,
|
||||
// 6016168, 6016169, 6016171, 6016172, 6016173, 6016180, 6016199, 6016181, 6016182, 6016183,
|
||||
// 6016184, 6016185, 6016186, 6016187, 6016188, 6016189, 6016190, 6017101, 6017102, 6017201,
|
||||
// 6017202, 6017203, 6017204, 6017205, 6017206, 6017207, 6017208, 6017209, 6017210, 6017211,
|
||||
// 6017212, 6017221, 6017222, 6017223, 6017224, 6017225, 6017226, 6017227, 6017228, 6017229,
|
||||
// 6017230, 6017240, 6018101, 6018102, 6018103, 6018104, 6018105, 6018106, 6018107, 6018108,
|
||||
// 6018109, 6018110, 6018111, 6018112, 6018113, 6018114, 6018115, 6018116, 6018117, 6018118,
|
||||
// 6018119, 6018120, 6018121, 6018122, 6018123, 6018124, 6021101, 6021102, 6021103, 6021104,
|
||||
// 6021105, 6021106, 6021107, 6021108, 6021109, 6021110, 6021111, 6021112, 6021113, 6021114,
|
||||
// 6021115, 6021116, 6021117, 6021118, 6021119, 6021120, 6021121, 6021122, 6021123, 6021124,
|
||||
// 6021125, 6021126, 6021127, 6021128, 6021129, 6021130, 6021131, 6021132, 6021133, 6000601,
|
||||
// 6000602, 6000603, 6000604, 6000605, 6000606, 6000607, 6000608, 6000609, 6000610, 6000611,
|
||||
// 6000612, 6000613, 6000614, 6000615, 6000616, 6000617, 6000618, 6000619, 6000620, 6000701,
|
||||
// 6000705, 6000706, 6000707, 6000702, 6000708, 6000709, 6000710, 6000703, 6000711, 6000712,
|
||||
// 6000713, 6000704, 6000714, 6000715, 6000716, 6000717, 6000718, 6000719, 6000720, 6000721,
|
||||
// 6000722, 6018001, 6019101, 6019102, 6019103, 6019104, 6019105, 6019106, 6019107, 6019108,
|
||||
// 6019109, 6019110, 6019111, 6019112, 6019113, 6019114, 6019115, 6019116, 6019117, 6019118,
|
||||
// 6019122, 6019123, 6019124, 6019125, 6019126, 6019127, 6019128, 6019130, 6020101, 6020102,
|
||||
// 6020103, 6020104, 6020105, 6020106, 6020107, 6020108, 6020100, 6020110, 6020111, 6020112,
|
||||
// 6020113, 6020114, 6020115, 6020116, 6020117, 6020124, 6020131, 6020118, 6020125, 6020132,
|
||||
// 6020119, 6020126, 6020133, 6020120, 6020127, 6020134, 6020121, 6020128, 6020135, 6020122,
|
||||
// 6020129, 6020136, 6020123, 6020130, 6020137, 6020138, 6020139, 6020150, 6020151, 6020152,
|
||||
// 6020153, 6020154, 6020155, 6020156, 6020157, 6022101, 6022102, 6022103, 6022104, 6022105,
|
||||
// 6022106, 6022107, 6022108, 6022109, 6022110, 6022112, 6022113, 6022114, 6022115, 6022116,
|
||||
// 6022117, 6022118, 6022119, 6022120, 6022121, 6022122, 6022123, 6022124, 6022125, 6022126,
|
||||
// 6022127, 6022128, 6022129, 6022130, 6022131, 6022132, 6022133, 6022134, 6022135, 6022136,
|
||||
// 6022137, 6023701, 6023702, 6023703, 6023704, 6023705, 6023706, 6023707, 6023708, 6023709,
|
||||
// 6023710, 6023711, 6023712, 6023713, 6023714, 6023715, 6023716, 6023717, 6023718, 6023719,
|
||||
// 6023720, 6023721, 6023722, 6023723, 6023724, 6023725, 6026100, 6026101, 6026102, 6026103,
|
||||
// 6026104, 6026105, 6026106, 6026107, 6026108, 6026109, 6026110, 6026111, 6026112, 6026113,
|
||||
// 6026114, 6026115, 6026116, 6026117, 6026118, 6026119, 6026120, 6026121, 6026122, 6026123,
|
||||
// 6026124, 6026125, 6026126, 6026127, 6026128, 6026129, 6026130, 6026131, 6026140, 6026166,
|
||||
// 6026132, 6026141, 6026142, 6026143, 6026144, 6026145, 6026146, 6026147, 6026148, 6026150,
|
||||
// 6026151, 6026152, 6026153, 6026154, 6026155, 6026156, 6026157, 6026158, 6026159, 6026160,
|
||||
// 6026161, 6026162, 6026163, 6026164, 6026165, 6014901, 6014902, 6014903, 6014904, 6014905,
|
||||
// 6014906, 6014907, 6014908, 6014909, 6014910, 6014911, 6014912, 6014913, 6014914, 6014915,
|
||||
// 6014916, 6014917, 6014918, 6014919, 6014920, 6014921, 6014922, 6014923, 6014924, 6014925,
|
||||
// 6014926, 6014927, 6014928, 6014929, 6014930, 6014931, 6014932, 6014933, 6014934, 6014935,
|
||||
// 6014936, 6014937, 6014938, 6014939, 6014940, 6014941, 6014942, 6014943, 6014944, 6014945,
|
||||
// 6014946, 6014947, 6014948, 6014949, 6014950, 6014951, 6014952, 6014953, 6014954, 6014955,
|
||||
// 6014956, 6014957, 6014958, 6014959, 6014960,
|
||||
// ];
|
||||
|
||||
// pub async fn on_get_quest_data_cs_req(
|
||||
// session: &mut PlayerSession,
|
||||
// _: &GetQuestDataCsReq,
|
||||
// ) -> Result<()> {
|
||||
// session
|
||||
// .send(
|
||||
// CMD_GET_QUEST_DATA_SC_RSP,
|
||||
// GetQuestDataScRsp {
|
||||
// quest_list: QUEST_LIST
|
||||
// .iter()
|
||||
// .map(|v| Quest {
|
||||
// id: *v,
|
||||
// status: QuestStatus::QuestFinish.into(),
|
||||
// finish_time: 10000,
|
||||
// progress: 1,
|
||||
// ihmkpnpaipd: vec![],
|
||||
// })
|
||||
// .collect::<Vec<_>>(),
|
||||
// ..Default::default()
|
||||
// },
|
||||
// )
|
||||
// .await
|
||||
// }
|
||||
}
|
||||
@ -101,7 +101,7 @@ dummy! {
|
||||
GetQuestData,
|
||||
GetQuestRecord,
|
||||
// GetFriendListInfo,
|
||||
GetFriendApplyListInfo,
|
||||
// GetFriendApplyListInfo,
|
||||
GetCurAssist,
|
||||
GetRogueHandbookData,
|
||||
GetDailyActiveInfo,
|
||||
@ -132,7 +132,7 @@ dummy! {
|
||||
GetNpcStatus,
|
||||
TextJoinQuery,
|
||||
GetSpringRecoverData,
|
||||
GetChatFriendHistory,
|
||||
// GetChatFriendHistory,
|
||||
GetSecretKeyInfo,
|
||||
GetVideoVersionKey,
|
||||
GetCurBattleInfo,
|
||||
|
||||
@ -14,6 +14,8 @@ pub async fn on_get_basic_info_cs_req(
|
||||
GetBasicInfoScRsp {
|
||||
retcode: 0,
|
||||
player_setting_info: Some(PlayerSettingInfo::default()),
|
||||
gender: Gender::Woman as u32,
|
||||
is_gender_set: true,
|
||||
..Default::default()
|
||||
},
|
||||
)
|
||||
@ -34,7 +36,7 @@ pub async fn on_player_heart_beat_cs_req(
|
||||
download_data: Some(ClientDownloadData {
|
||||
version: 51,
|
||||
time: util::cur_timestamp_ms() as i64,
|
||||
data: rbase64::decode("G0x1YVMBGZMNChoKBAQICHhWAAAAAAAAAAAAAAAod0ABKEBDOlxVc2Vyc1x4ZW9uZGV2XERvd25sb2Fkc1xyYWJzdHZvLmx1YQAAAAAAAAAAAAEEEAAAACQAQAApQEAAKYBAACnAQABWAAEALIAAAR1AQQCkgEEA5ABAAOnAwQHpAMIB6UDCAawAAAEsgAAAH8BChRkAgAAMAAAABANDUwQMVW5pdHlFbmdpbmUEC0dhbWVPYmplY3QEBUZpbmQEKVVJUm9vdC9BYm92ZURpYWxvZy9CZXRhSGludERpYWxvZyhDbG9uZSkEF0dldENvbXBvbmVudEluQ2hpbGRyZW4EB3R5cGVvZgQEUlBHBAdDbGllbnQEDkxvY2FsaXplZFRleHQEBXRleHQURVJvYmluU1IgaXMgYSBmcmVlIGFuZCBvcGVuIHNvdXJjZSBzb2Z0d2FyZS4gZGlzY29yZC5nZy9yZXZlcnNlZHJvb21zAQAAAAEAAAAAABAAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAAEAAAAFX0VOVg==").unwrap()
|
||||
data: rbase64::decode("bG9jYWwgZnVuY3Rpb24gYmV0YV90ZXh0KG9iaikKICAgIGxvY2FsIGdhbWVPYmplY3QgPSBDUy5Vbml0eUVuZ2luZS5HYW1lT2JqZWN0LkZpbmQoIlVJUm9vdC9BYm92ZURpYWxvZy9CZXRhSGludERpYWxvZyhDbG9uZSkiKQoKICAgIGlmIGdhbWVPYmplY3QgdGhlbgogICAgICAgIGxvY2FsIHRleHRDb21wb25lbnQgPSBnYW1lT2JqZWN0OkdldENvbXBvbmVudEluQ2hpbGRyZW4odHlwZW9mKENTLlJQRy5DbGllbnQuTG9jYWxpemVkVGV4dCkpCgogICAgICAgIGlmIHRleHRDb21wb25lbnQgdGhlbgogICAgICAgICAgICB0ZXh0Q29tcG9uZW50LnRleHQgPSAiUm9iaW5TUiBpcyBhIGZyZWUgYW5kIG9wZW4gc291cmNlIHNvZnR3YXJlLiBkaXNjb3JkLmdnL3JldmVyc2Vkcm9vbXMiCiAgICAgICAgZW5kCiAgICBlbHNlCiAgICBlbmQKZW5kCgpiZXRhX3RleHQoKQ==").unwrap()
|
||||
}),
|
||||
},
|
||||
)
|
||||
@ -48,7 +50,7 @@ pub async fn on_player_login_finish_cs_req(
|
||||
_: &PlayerLoginFinishCsReq,
|
||||
) -> Result<()> {
|
||||
session
|
||||
.send(CMD_PLAYER_LOGIN_FINISH_SC_RSP, Dummy {})
|
||||
.send(CMD_PLAYER_LOGIN_FINISH_SC_RSP, Dummy::default())
|
||||
.await?;
|
||||
|
||||
session
|
||||
@ -78,7 +80,7 @@ pub async fn on_player_login_finish_cs_req(
|
||||
content_id: 150015,
|
||||
},
|
||||
],
|
||||
fnmhgeaflmn: 0,
|
||||
..Default::default()
|
||||
}),
|
||||
},
|
||||
)
|
||||
@ -100,7 +102,7 @@ pub async fn on_get_multi_path_avatar_info_cs_req(
|
||||
retcode: 0,
|
||||
multi_path_avatar_type_info_list: vec![
|
||||
MultiPathAvatarTypeInfo {
|
||||
multi_path_avatar_type: json.main_character as i32,
|
||||
avatar_id: json.main_character as i32,
|
||||
rank: 6,
|
||||
equip_relic_list: json
|
||||
.relics
|
||||
@ -114,17 +116,15 @@ pub async fn on_get_multi_path_avatar_info_cs_req(
|
||||
point_id: (json.main_character as u32) * 1000 + v,
|
||||
})
|
||||
.collect(),
|
||||
all_path_special_skilltree_list: vec![],
|
||||
path_equipment_id: json
|
||||
.lightcones
|
||||
.iter()
|
||||
.find(|v| v.equip_avatar == json.main_character as u32)
|
||||
.map(|v| v.internal_uid)
|
||||
.unwrap_or_default(),
|
||||
all_path_unlocked_special_point_id_list: vec![],
|
||||
},
|
||||
MultiPathAvatarTypeInfo {
|
||||
multi_path_avatar_type: json.march_type as i32,
|
||||
avatar_id: json.march_type as i32,
|
||||
rank: 6,
|
||||
equip_relic_list: json
|
||||
.relics
|
||||
@ -138,21 +138,19 @@ pub async fn on_get_multi_path_avatar_info_cs_req(
|
||||
point_id: (json.march_type as u32) * 1000 + v,
|
||||
})
|
||||
.collect(),
|
||||
all_path_special_skilltree_list: vec![],
|
||||
path_equipment_id: json
|
||||
.lightcones
|
||||
.iter()
|
||||
.find(|v| v.equip_avatar == json.march_type as u32)
|
||||
.map(|v| v.internal_uid)
|
||||
.unwrap_or_default(),
|
||||
all_path_unlocked_special_point_id_list: vec![],
|
||||
},
|
||||
],
|
||||
gmhdhimdkfi: vec![],
|
||||
current_multi_path_avatar_id: HashMap::from([
|
||||
(8001, json.main_character.get_type().into()),
|
||||
(1001, json.march_type.get_type().into()),
|
||||
]),
|
||||
..Default::default()
|
||||
},
|
||||
)
|
||||
.await
|
||||
|
||||
@ -206,7 +206,6 @@ pub async fn on_scene_entity_move_cs_req(
|
||||
.await
|
||||
}
|
||||
|
||||
pub type GetEnteredSceneCsReq = Dummy;
|
||||
pub async fn on_get_entered_scene_cs_req(
|
||||
session: &mut PlayerSession,
|
||||
_: &GetEnteredSceneCsReq,
|
||||
@ -332,8 +331,8 @@ async fn load_scene(
|
||||
group_id: prop.group_id,
|
||||
motion: Some(prop_position.to_motion()),
|
||||
entity: Some(Entity::Prop(ScenePropInfo {
|
||||
prop_state: prop.prop_id,
|
||||
prop_id: prop_state as u32,
|
||||
prop_state: prop_state as u32,
|
||||
prop_id: prop.prop_id,
|
||||
..Default::default()
|
||||
})),
|
||||
entity_id: prop_entity_id,
|
||||
@ -430,7 +429,7 @@ async fn load_scene(
|
||||
avatar_type: AvatarType::AvatarFormalType.into(),
|
||||
base_avatar_id: *avatar_id,
|
||||
map_layer: 0,
|
||||
uid: 0,
|
||||
uid: 25,
|
||||
})),
|
||||
..Default::default()
|
||||
})
|
||||
|
||||
@ -96,17 +96,16 @@ macro_rules! trait_handler {
|
||||
}
|
||||
|
||||
trait_handler! {
|
||||
PlayerGetTokenCsReq 58; // PlayerGetTokenScRsp
|
||||
PlayerLoginCsReq 18; // PlayerLoginScRsp, PlayerBasicInfo
|
||||
GetMissionStatusCsReq 1248; // GetMissionStatusScRsp, Mission
|
||||
GetBasicInfoCsReq 42; // GetBasicInfoScRsp, PlayerSettingInfo
|
||||
// GetHeroBasicTypeInfoCsReq 68; // GetHeroBasicTypeInfoScRsp, HeroBasicTypeInfo
|
||||
GetMultiPathAvatarInfoCsReq 69;
|
||||
GetAvatarDataCsReq 318; // GetAvatarDataScRsp, Avatar
|
||||
GetAllLineupDataCsReq 748; // GetAllLineupDataScRsp, LineupInfo, ExtraLineupType, LineupAvatar, AmountInfo
|
||||
GetCurLineupDataCsReq 729; // GetCurLineupDataScRsp
|
||||
GetCurSceneInfoCsReq 1428; // GetCurSceneInfoScRsp, SceneInfo
|
||||
PlayerHeartBeatCsReq 33; // PlayerHeartBeatScRsp
|
||||
PlayerGetTokenCsReq 56; // PlayerGetTokenScRsp
|
||||
PlayerLoginCsReq 68; // PlayerLoginScRsp, PlayerBasicInfo
|
||||
GetMissionStatusCsReq 1224; // GetMissionStatusScRsp, Mission
|
||||
GetBasicInfoCsReq 40; // GetBasicInfoScRsp, PlayerSettingInfo
|
||||
GetMultiPathAvatarInfoCsReq 27;
|
||||
GetAvatarDataCsReq 368; // GetAvatarDataScRsp, Avatar
|
||||
GetAllLineupDataCsReq 724; // GetAllLineupDataScRsp, LineupInfo, ExtraLineupType, LineupAvatar, AmountInfo
|
||||
GetCurLineupDataCsReq 711; // GetCurLineupDataScRsp
|
||||
GetCurSceneInfoCsReq 1439; // GetCurSceneInfoScRsp, SceneInfo
|
||||
PlayerHeartBeatCsReq 31; // PlayerHeartBeatScRsp
|
||||
|
||||
// // Tutorial (dummy!)
|
||||
// GetTutorialGuideCsReq 1691;
|
||||
@ -114,41 +113,42 @@ trait_handler! {
|
||||
// GetTutorialCsReq 1661;
|
||||
|
||||
// Entity move (dummy!)
|
||||
SceneEntityMoveCsReq 1418;
|
||||
SceneEntityMoveCsReq 1468;
|
||||
|
||||
// // Inventory (dummy!)
|
||||
GetBagCsReq 518;
|
||||
GetArchiveDataCsReq 2318;
|
||||
DressAvatarCsReq 319;
|
||||
TakeOffEquipmentCsReq 389;
|
||||
DressRelicAvatarCsReq 322;
|
||||
TakeOffRelicCsReq 362;
|
||||
// Inventory (dummy!)
|
||||
GetBagCsReq 568;
|
||||
GetArchiveDataCsReq 2368;
|
||||
DressAvatarCsReq 351;
|
||||
TakeOffEquipmentCsReq 399;
|
||||
DressRelicAvatarCsReq 334;
|
||||
TakeOffRelicCsReq 398;
|
||||
|
||||
// // Chat (dummy!)
|
||||
SendMsgCsReq 3918;
|
||||
GetPrivateChatHistoryCsReq 3958;
|
||||
GetFriendListInfoCsReq 2918;
|
||||
// Chat (dummy!)
|
||||
SendMsgCsReq 3968;
|
||||
GetPrivateChatHistoryCsReq 3956;
|
||||
GetFriendListInfoCsReq 2968;
|
||||
GetFriendLoginInfoCsReq 2969;
|
||||
|
||||
// // In-game lineup
|
||||
JoinLineupCsReq 758;
|
||||
ChangeLineupLeaderCsReq 798;
|
||||
ReplaceLineupCsReq 711;
|
||||
QuitLineupCsReq 728;
|
||||
// In-game lineup
|
||||
JoinLineupCsReq 756;
|
||||
ChangeLineupLeaderCsReq 748;
|
||||
ReplaceLineupCsReq 790;
|
||||
QuitLineupCsReq 739;
|
||||
|
||||
// // Battle
|
||||
StartCocoonStageCsReq 1456;
|
||||
PveBattleResultCsReq 118;
|
||||
SceneCastSkillCsReq 1458;
|
||||
// Battle
|
||||
StartCocoonStageCsReq 1445;
|
||||
PveBattleResultCsReq 168;
|
||||
SceneCastSkillCsReq 1456;
|
||||
|
||||
// // Teleport
|
||||
GetEnteredSceneCsReq 1469;
|
||||
GetSceneMapInfoCsReq 1451;
|
||||
EnterSceneCsReq 1425;
|
||||
// Teleport
|
||||
GetEnteredSceneCsReq 1427;
|
||||
GetSceneMapInfoCsReq 1436;
|
||||
EnterSceneCsReq 1486;
|
||||
|
||||
// // Optional
|
||||
GetMailCsReq 861;
|
||||
GetGachaInfoCsReq 1961;
|
||||
DoGachaCsReq 1991;
|
||||
// Optional
|
||||
GetMailCsReq 868;
|
||||
GetGachaInfoCsReq 1968;
|
||||
DoGachaCsReq 1911;
|
||||
// GetQuestDataCsReq 961;
|
||||
PlayerLoginFinishCsReq 76;
|
||||
PlayerLoginFinishCsReq 73;
|
||||
}
|
||||
|
||||
@ -401,6 +401,8 @@ pub struct BattleBuffJson {
|
||||
pub level: u32,
|
||||
pub id: u32,
|
||||
pub dynamic_key: Option<DynamicKey>,
|
||||
#[serde(default)]
|
||||
pub dynamic_values: Vec<DynamicKey>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone, Default)]
|
||||
|
||||
13
persistent
13
persistent
@ -1,14 +1,14 @@
|
||||
{
|
||||
"lineups": {
|
||||
"0": 1310,
|
||||
"1": 1308,
|
||||
"2": 1314,
|
||||
"0": 1222,
|
||||
"1": 1223,
|
||||
"2": 1220,
|
||||
"3": 1308
|
||||
},
|
||||
"position": {
|
||||
"x": -3588,
|
||||
"x": -3722,
|
||||
"y": 56256,
|
||||
"z": -87629,
|
||||
"z": -87464,
|
||||
"rot_y": 318488
|
||||
},
|
||||
"scene": {
|
||||
@ -16,5 +16,6 @@
|
||||
"floor_id": 20321001,
|
||||
"entry_id": 2032101
|
||||
},
|
||||
"main_character": "FemaleHarmony"
|
||||
"main_character": "FemaleHarmony",
|
||||
"march_type": "MarchHunt"
|
||||
}
|
||||
58564
proto/out/_.rs
58564
proto/out/_.rs
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -51,14 +51,14 @@ pub async fn query_gateway(parameters: Query<QueryGatewayParameters>) -> String
|
||||
unk5: true,
|
||||
unk6: true,
|
||||
unk7: true,
|
||||
aoekikfkmga: true,
|
||||
cdhoiaaonhd: true,
|
||||
egnmpipogli: true,
|
||||
fkfkcdjnhfl: true,
|
||||
gebnkmipomm: true,
|
||||
gnfpfkjhidj: true,
|
||||
goelmbpgofc: true,
|
||||
mfenphleghj: true,
|
||||
mmcachlfjaa: true,
|
||||
ncikdciigof: true,
|
||||
efknbdlnakj: true,
|
||||
gpjcfcjdmol: true,
|
||||
jidbdekohdh: true,
|
||||
pphbpgbnoem: true,
|
||||
dhppkkgjldl: true,
|
||||
jipjkleanbd: true,
|
||||
..Default::default()
|
||||
}
|
||||
} else {
|
||||
|
||||
@ -1,56 +1,8 @@
|
||||
{
|
||||
"CNBETAWin2.2.51": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_7037158_b67f5a6a68fb",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_7033392_aaca9c1b456b",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_7050564_f05a0f949b10",
|
||||
"lua_version": "7050564"
|
||||
},
|
||||
"OSBETAWin2.2.51": {
|
||||
"asset_bundle_url": "https://autopatchos.starrails.com/asb/BetaLive/output_7037158_b67f5a6a68fb",
|
||||
"ex_resource_url": "https://autopatchos.starrails.com/design_data/BetaLive/output_7033392_aaca9c1b456b",
|
||||
"lua_url": "https://autopatchos.starrails.com/lua/BetaLive/output_7050564_f05a0f949b10",
|
||||
"lua_version": "7050564"
|
||||
},
|
||||
"CNBETAWin2.2.53": {
|
||||
"asset_bundle_url": "",
|
||||
"ex_resource_url": "",
|
||||
"lua_url": "",
|
||||
"lua_version": ""
|
||||
},
|
||||
"OSBETAWin2.2.53": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_7128256_5f77b249238a",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_7134377_b1f36fb2d9b8",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_7120090_469169697c23",
|
||||
"lua_version": "7120090"
|
||||
},
|
||||
"CNBETAWin2.2.54": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_7165870_7fb7dbd8a7a4",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_7171381_bb763a07e196",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_7165994_1569306165f0",
|
||||
"lua_version": "7165994"
|
||||
},
|
||||
"OSBETAWin2.2.54": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_7165870_7fb7dbd8a7a4",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_7171381_bb763a07e196",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_7165994_1569306165f0",
|
||||
"lua_version": "7165994"
|
||||
},
|
||||
"CNBETAWin2.2.55": {
|
||||
"asset_bundle_url": "",
|
||||
"ex_resource_url": "",
|
||||
"lua_url": "",
|
||||
"lua_version": ""
|
||||
},
|
||||
"OSBETAWin2.2.55": {
|
||||
"asset_bundle_url": "https://autopatchcn.bhsr.com/asb/BetaLive/output_7208750_0391658a87b6",
|
||||
"ex_resource_url": "https://autopatchcn.bhsr.com/design_data/BetaLive/output_7218494_5889395fc217",
|
||||
"lua_url": "https://autopatchcn.bhsr.com/lua/BetaLive/output_7208955_74709577d196",
|
||||
"lua_version": "7208955"
|
||||
},
|
||||
"OSBETAWin2.3.51": {
|
||||
"asset_bundle_url": "",
|
||||
"ex_resource_url": "",
|
||||
"lua_url": "",
|
||||
"lua_version": ""
|
||||
"CNBETAWin2.4.51": {
|
||||
"asset_bundle_url": "https://autopatchcn-ipv6.bhsr.com/asb/BetaLive/output_7663997_cd086af3f307",
|
||||
"ex_resource_url": "https://autopatchcn-ipv6.bhsr.com/design_data/BetaLive/output_7689868_456662b48277",
|
||||
"lua_url": "https://autopatchcn-ipv6.bhsr.com/lua/BetaLive/output_7668875_0231727458ad",
|
||||
"ifix_url": "https://autopatchcn-ipv6.bhsr.com/ifix/BetaLive/output_0_40d2ce0253"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user