Files
MRLokopandClaude Opus 4.6 d7799f51a7 Add ImGui GUI, full type extraction, bidirectional packet injection
Major additions:
- ImGui GUI (paralogue_gui.py) with 6 tabs: Packets, Config, Session,
  Wire, Dispatch, Composer. Real-time packet inspector with JSON syntax
  highlighting via imgui_color_text_edit. Modifier toggles with auto-save.
- Full msg_id -> type extraction via Frida GetTypeName() on all 191
  dispatch entries (extract_type_names.js, run_extract_types.py).
  Zero unknowns remaining.
- Bidirectional WireRewriter: C->S rewriter enables packet injection
  without breaking server decrypt counter. Write locks prevent
  interleaved frame corruption.
- Packet injection: replay captured packets or compose custom ones
  from the GUI Composer tab. S->C uses packet_id=0 (push semantics),
  C->S auto-increments.
- Direction enforcement in _emit_decoded: rejects type names whose
  suffix contradicts wire direction, purges stale cache entries.
- Blueprint injection modifier (11xxx range) as separate toggle.
- build_frame() helper for constructing wire frames from msg_id + body.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 02:36:33 -07:00

194 lines
5.9 KiB
JSON

{
"1001": "VerifyLoginTokenReq",
"1002": "VerifyLoginTokenRsp",
"1003": "PlayerLoginReq",
"1004": "PlayerLoginRsp",
"1005": "PlayerMainDataReq",
"1006": "PlayerMainDataRsp",
"1007": "PlayerPingReq",
"1008": "PlayerPingRsp",
"1009": "PlayerOfflineReq",
"1010": "PlayerOfflineRsp",
"1013": "GmCodeReq",
"1014": "GmCodeRsp",
"1017": "GetMailsReq",
"1018": "GetMailsRsp",
"1019": "OperateMailsReq",
"1020": "OperateMailsRsp",
"1022": "ReceiveMailS2C",
"1024": "PlayerTimeOffsetS2C",
"1029": "CreatePayOrderReq",
"1030": "CreatePayOrderRsp",
"1031": "UeGetRoomReq",
"1032": "UeGetRoomRsp",
"1033": "PlayerTestReq",
"1034": "PlayerTestRsp",
"1036": "BagItemFullS2C",
"1038": "BagItemUpdateS2C",
"1040": "WelfareInfoFullS2C",
"1043": "SignInRewardReq",
"1044": "SignInRewardRsp",
"1080": "BpExpChangeS2C",
"1081": "BuyBattlePassReq",
"1082": "BuyBattlePassRsp",
"1083": "BuyBattlePassLvReq",
"1084": "BuyBattlePassLvRsp",
"1087": "SetDefaultBattlePassReq",
"1088": "SetDefaultBattlePassRsp",
"1089": "ClaimBattlePassRewardReq",
"1090": "ClaimBattlePassRewardRsp",
"1094": "BattlePassFullS2C",
"1105": "ReadItemReq",
"1106": "ReadItemRsp",
"1109": "ClothesSavePresetReq",
"1110": "ClothesSavePresetRsp",
"1117": "ClothesEquipPresetReq",
"1118": "ClothesEquipPresetRsp",
"1119": "ClothesEquipReq",
"1120": "ClothesEquipRsp",
"1121": "SetCurTitleRequestReq",
"1122": "SetCurTitleRequestRsp",
"1123": "SetCurRoleReq",
"1124": "SetCurRoleRsp",
"1125": "SetCurHeadReq",
"1126": "SetCurHeadRsp",
"1127": "GetRolesInfoReq",
"1128": "GetRolesInfoRsp",
"1129": "ChooseSexTagReq",
"1130": "ChooseSexTagRsp",
"1131": "SetCurDilationLevelReq",
"1132": "SetCurDilationLevelRsp",
"1133": "GetCurDilationLevelReq",
"1134": "GetCurDilationLevelRsp",
"1135": "AncheatFoundReq",
"1136": "AncheatFoundRsp",
"1137": "RealNameReq",
"1138": "RealNameRsp",
"1139": "GiveRoleGiftReq",
"1140": "GiveRoleGiftRsp",
"1141": "UpgradeRoleFavorLvReq",
"1142": "UpgradeRoleFavorLvRsp",
"1143": "RoleStaminaAutoRecoveryReq",
"1144": "RoleStaminaAutoRecoveryRsp",
"1145": "RoleStaminaAutoRecoveryExReq",
"1146": "RoleStaminaAutoRecoveryExRsp",
"1147": "RoleAnalExpAndVaginalExpInfosReq",
"1148": "RoleAnalExpAndVaginalExpInfosRsp",
"1149": "ClientSettingReq",
"1150": "ClientSettingRsp",
"1153": "GetTaskRewardReq",
"1154": "GetTaskRewardRsp",
"1155": "ReRollTaskReq",
"1156": "ReRollTaskRsp",
"1159": "CommonShopBuyReq",
"1160": "CommonShopBuyRsp",
"1161": "ReadShopReq",
"1162": "ReadShopRsp",
"1163": "RefreshShopReq",
"1164": "RefreshShopRsp",
"1165": "SetInterestForPartsShopItemReq",
"1166": "SetInterestForPartsShopItemRsp",
"1179": "ReadOutfitShopItemReq",
"1180": "ReadOutfitShopItemRsp",
"1181": "TaskUpdateFullS2C",
"1182": "ShopUpdateFullS2C",
"1183": "CardComposeReq",
"1184": "CardComposeRsp",
"1185": "CardLearnReq",
"1186": "CardLearnRsp",
"1190": "CardLearnS2C",
"1192": "CardBagOpenReq",
"1193": "CardBagOpenRsp",
"1194": "LearnCardInfoFullS2C",
"1195": "UseItemReq",
"1196": "UseItemRsp",
"1197": "SanityRewardReq",
"1198": "SanityRewardRsp",
"1200": "RoleAttrUpdateS2C",
"1202": "RoleListFullS2C",
"1206": "SanityFullS2C",
"1207": "PlayerExpLevelFullS2C",
"1208": "TaskStepUpdateS2C",
"1209": "RoleFavorUpdateS2C",
"1210": "RoleStaminaUpdateS2C",
"1211": "RoleDilationUpdateS2C",
"1212": "ClearRoleCurrentSemenReq",
"1213": "ClearRoleCurrentSemenRsp",
"1214": "ClothesPresetUpdateS2C",
"1215": "TouchRoleReq",
"1216": "TouchRoleRsp",
"1217": "LikeGivedReq",
"1218": "LikeGivedRsp",
"1220": "LikeGivedNoticeS2C",
"1221": "WornClothesUpdateS2C",
"1223": "SetRoleAppearanceReq",
"1224": "SetRoleAppearanceRsp",
"1225": "RoleAppearanceUpdateS2C",
"1226": "RoleTodayDanceUpdateS2C",
"1227": "GetOfflineRewardReq",
"1228": "GetOfflineRewardRsp",
"1229": "RoleAppearanceClothesUpdateS2C",
"1230": "OrgasmsHResultS2C",
"1231": "PlayerExpFullS2C",
"1233": "UeCancelRoomEnterReq",
"1234": "UeCancelRoomEnterRsp",
"1236": "KickPlayerS2C",
"1237": "PatreonBoundResultS2C",
"1238": "VerifyLoginTokenExtS2C",
"1239": "GetRoomBusyStatusReq",
"1240": "GetRoomBusyStatusRsp",
"1241": "UeCancelQueueWaitReq",
"1242": "UeCancelQueueWaitRsp",
"1243": "SetClientLanguageReq",
"1244": "SetClientLanguageRsp",
"1245": "GetAchievementRewardReq",
"1246": "GetAchievementRewardRsp",
"1248": "AchievementFullS2C",
"1250": "AchievementStepUpdateS2C",
"1251": "ErrorLogReq",
"1252": "ErrorLogRsp",
"1253": "ClothesModifyColorReq",
"1254": "ClothesModifyColorRsp",
"1255": "RoleClothesColorUpdateS2C",
"2500": "AchievementFullS2C",
"701": "UeServerLoginReq",
"702": "UeServerLoginRsp",
"703": "UePlayerLoginReq",
"704": "UePlayerLoginRsp",
"705": "UePlayerLeaveC2S",
"706": "UeSyncPlayerC2S",
"707": "RoomRoleActionChangeC2S",
"709": "RoomPlayerLikeS2C",
"710": "OrgasmsC2S",
"711": "RolePropertyChangeC2S",
"713": "DanceC2S",
"714": "LikeGivedS2C",
"715": "AddPlayerS2C",
"718": "RoomCurrentRoleUpdateS2C",
"719": "RoomRoleAppearanceUpdateS2C",
"720": "RoomWornClothesUpdateS2C",
"721": "RoomRoleAttrUpdateS2C",
"722": "RoomRoleStaminaUpdateS2C",
"723": "DrinkReq",
"724": "DrinkRsp",
"725": "RoomPlayerLevelS2C",
"727": "RoomPlayerMainDataReq",
"728": "RoomPlayerMainDataRsp",
"729": "RoomRoleDilationUpdateS2C",
"730": "RoomSetDilationC2S",
"731": "OrgasmInBedC2S",
"732": "AddTaskStepC2S",
"733": "RoomTaskStepUpdateS2C",
"734": "RoomTodayFavorUpdateS2C",
"735": "UePlayerNetworkStateChangeC2S",
"736": "RoomUseItemS2C",
"737": "RoomDayCardHCountS2C",
"738": "RoomCheckCardReq",
"739": "RoomCheckCardRsp",
"740": "RoomTaskUpdateFullS2C",
"741": "RoomRoleAppearanceClothesUpdateS2C",
"742": "RoomRoleTodayDanceUpdateS2C",
"743": "RoomRoleFavorUpdateS2C",
"744": "RoomKickPlayerS2C",
"745": "RoomRoleClothesColorUpdateS2C"
}