feat: Add support for 4.3.5x

This commit is contained in:
amizing25
2026-07-16 13:24:16 +07:00
parent a2e81c40fc
commit 99e1e09707
9 changed files with 81199 additions and 79058 deletions
+25631 -21730
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -1,6 +1,6 @@
use super::*; use super::*;
pub static BASE_AVATAR_IDS: [u32; 82] = [ pub static BASE_AVATAR_IDS: [u32; 85] = [
8001, 1001, // 8001, 1001, //
// //
1002, 1003, 1004, 1005, 1006, 1008, 1009, 1013, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1002, 1003, 1004, 1005, 1006, 1008, 1009, 1013, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108,
@@ -8,6 +8,7 @@ pub static BASE_AVATAR_IDS: [u32; 82] = [
1213, 1214, 1215, 1217, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1312, 1315, 1310, 1213, 1214, 1215, 1217, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1312, 1315, 1310,
1314, 1218, 1221, 1220, 1222, 1223, 1317, 1313, 1225, 1402, 1401, 1404, 1403, 1405, 1407, 1406, 1314, 1218, 1221, 1220, 1222, 1223, 1317, 1313, 1225, 1402, 1401, 1404, 1403, 1405, 1407, 1406,
1409, 1014, 1015, 1408, 1410, 1412, 1413, 1414, 1415, 1321, 1501, 1502, 1504, 1505, 1506, 1507, 1409, 1014, 1015, 1408, 1410, 1412, 1413, 1414, 1415, 1321, 1501, 1502, 1504, 1505, 1506, 1507,
1508, 1509, 1510
]; ];
pub async fn on_get_avatar_data_cs_req( pub async fn on_get_avatar_data_cs_req(
+2 -2
View File
@@ -29,8 +29,8 @@ pub async fn on_get_friend_login_info_cs_req(
_req: &GetFriendLoginInfoCsReq, _req: &GetFriendLoginInfoCsReq,
res: &mut GetFriendLoginInfoScRsp, res: &mut GetFriendLoginInfoScRsp,
) { ) {
res.kcgceppmokm = vec![SERVER_UID]; res.black_uid_list = vec![SERVER_UID];
res.omfombgfhpa = vec![SERVER_UID]; res.friend_uid_list = vec![SERVER_UID];
} }
pub async fn on_get_friend_list_info_cs_req( pub async fn on_get_friend_list_info_cs_req(
+2 -2
View File
@@ -45,7 +45,7 @@ use proto::{
CmdPlayerBoardType::*, CmdPlayerReturnType::*, CmdPlayerSyncType::*, CmdPlayerType::*, CmdPlayerBoardType::*, CmdPlayerReturnType::*, CmdPlayerSyncType::*, CmdPlayerType::*,
CmdPunkLordType::*, CmdQuestType::*, CmdRaidCollectionType::*, CmdRaidType::*, CmdPunkLordType::*, CmdQuestType::*, CmdRaidCollectionType::*, CmdRaidType::*,
CmdRechargeGiftType::*, CmdRecommendType::*, CmdRedDotType::*, CmdReplayType::*, CmdRechargeGiftType::*, CmdRecommendType::*, CmdRedDotType::*, CmdReplayType::*,
CmdRndOptionType::*, CmdRogueCommon::*, CmdRogueEndlessType::*, CmdRogueModifierType::*, CmdRndOptionType::*, CmdRogueCommonType::*, CmdRogueEndlessType::*, CmdRogueModifierType::*,
CmdRogueTournType::*, CmdRogueType::*, CmdRollShopType::*, CmdSceneType::*, CmdRogueTournType::*, CmdRogueType::*, CmdRollShopType::*, CmdSceneType::*,
CmdServerPrefsType::*, CmdShopType::*, CmdSpaceZooType::*, CmdStarFightType::*, CmdServerPrefsType::*, CmdShopType::*, CmdSpaceZooType::*, CmdStarFightType::*,
CmdStoryLineType::*, CmdStrongChallengeActivityType::*, CmdTalkEventType::*, CmdStoryLineType::*, CmdStrongChallengeActivityType::*, CmdTalkEventType::*,
@@ -138,7 +138,7 @@ dummy! {
// RelicRecommend // RelicRecommend
GetPreAvatarGrowthInfo, GetPreAvatarGrowthInfo,
GetPreAvatarActivityList, GetPreAvatarActivityList,
GetUnreleasedBlockInfo, // GetUnreleasedBlockInfo,
GetFriendAssistList, GetFriendAssistList,
GetAssistList GetAssistList
} }
+6 -5
View File
@@ -396,11 +396,12 @@ async fn load_scene(
scene_info.entity_group_list.push(group_info); scene_info.entity_group_list.push(group_info);
scene_info.group_state_list.push(SceneGroupState { // TODO: ?
group_id: *group_id, // scene_info.group_state_list.push(SceneGroupState {
is_default: true, // group_id: *group_id,
state: 0, // is_default: true,
}); // state: 0,
// });
} }
// load player entity // load player entity
+1 -1
View File
@@ -19,7 +19,7 @@ use proto::{
CmdPlayerBoardType::*, CmdPlayerReturnType::*, CmdPlayerSyncType::*, CmdPlayerType::*, CmdPlayerBoardType::*, CmdPlayerReturnType::*, CmdPlayerSyncType::*, CmdPlayerType::*,
CmdPunkLordType::*, CmdQuestType::*, CmdRaidCollectionType::*, CmdRaidType::*, CmdPunkLordType::*, CmdQuestType::*, CmdRaidCollectionType::*, CmdRaidType::*,
CmdRecommendType::*, CmdRedDotType::*, CmdReplayType::*, CmdRndOptionType::*, CmdRecommendType::*, CmdRedDotType::*, CmdReplayType::*, CmdRndOptionType::*,
CmdRogueCommon::*, CmdRogueEndlessType::*, CmdRogueModifierType::*, CmdRogueTournType::*, CmdRogueCommonType::*, CmdRogueEndlessType::*, CmdRogueModifierType::*, CmdRogueTournType::*,
CmdRogueType::*, CmdRollShopType::*, CmdSceneType::*, CmdServerPrefsType::*, CmdShopType::*, CmdRogueType::*, CmdRollShopType::*, CmdSceneType::*, CmdServerPrefsType::*, CmdShopType::*,
CmdSpaceZooType::*, CmdStarFightType::*, CmdStoryLineType::*, CmdSpaceZooType::*, CmdStarFightType::*, CmdStoryLineType::*,
CmdStrongChallengeActivityType::*, CmdTalkEventType::*, CmdTelevisionActivityType::*, CmdStrongChallengeActivityType::*, CmdTalkEventType::*, CmdTelevisionActivityType::*,
+11 -11
View File
@@ -1,20 +1,20 @@
{ {
"lineups": { "lineups": {
"0": 1003, "0": 1507,
"1": 1310, "1": 1308,
"2": 1321, "2": 1403,
"3": 1401 "3": 1409
}, },
"position": { "position": {
"x": 422379, "x": -26968,
"y": 25904, "y": 78953,
"z": -308312, "z": 14457,
"rot_y": 0 "rot_y": 11858
}, },
"scene": { "scene": {
"plane_id": 20511, "plane_id": 20411,
"floor_id": 20511001, "floor_id": 20411001,
"entry_id": 2051101 "entry_id": 2041101
}, },
"main_character": "FemaleElation", "main_character": "FemaleElation",
"march_type": "MarchHunt", "march_type": "MarchHunt",
+18475 -20168
View File
File diff suppressed because it is too large Load Diff
+37068 -37137
View File
File diff suppressed because it is too large Load Diff