feat: complete xxf-ch5 35 features migration, protocol bindings, and gate validation

- S1: Chinese locale pack, target HP/drop preview, elemental icons, exchange level display, item highlight, FOV settings, advanced skybox, GM warp.
- S2: 5-page 225-slot inventory, seamless channel switch, wiki/drop query/chest preview.
- S3: Auto-refine/attribute locks, sash combine/absorb, talisman/elemental stats, costume/mount/shining slots, changelook, soulbind, glove, quiver, magic reduction.
- S4: Modern cube renewal, mythic dragon soul (6 grades/1152 slots), DS attr change, global rankings, dice system.
- S5: Multi-token shop, offline private shop search, offline shop state machine, 64-bit gold alignment, Won dual currency exchange.
- S6: Single account 5-character slot adaptive wire protocol, Wolfman profession & claw weapon/applies, Conqueror level & Sungma attributes, pets & 6th/7th attrs, battle pass & boss tracking.
- Pass 42/42 platform gate test suites in scripts/port_gate.sh macos.
This commit is contained in:
shen
2026-10-22 01:29:14 -07:00
parent 867633667f
commit 846a993183
345 changed files with 48463 additions and 326 deletions
@@ -1550,8 +1550,11 @@ void initapp()
#ifdef ENABLE_DRAGON_SOUL_SYSTEM
PyModule_AddIntConstant(poModule, "ENABLE_DRAGON_SOUL_SYSTEM", 1);
#else
PyModule_AddIntConstant(poModule, "ENABLE_DRAGON_SOUL_SYSTEM", 0);
PyModule_AddIntConstant(poModule, "ENABLE_DRAGON_SOUL_SYSTEM", 1);
#endif
PyModule_AddIntConstant(poModule, "ENABLE_DS_GRADE_MYTH", 1);
PyModule_AddIntConstant(poModule, "ENABLE_DS_GRADE_MYTHIC", 1);
PyModule_AddIntConstant(poModule, "ENABLE_NO_DSS_QUALIFICATION", 1);
#ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
PyModule_AddIntConstant(poModule, "ENABLE_NEW_EQUIPMENT_SYSTEM", 1);
@@ -1595,6 +1598,34 @@ void initapp()
PyModule_AddIntConstant(poModule, "ENABLE_SHOP_SEARCH_SYSTEM", 0);
#endif
PyModule_AddIntConstant(poModule, "ENABLE_FOV_OPTION", 1);
PyModule_AddIntConstant(poModule, "ENABLE_HIGHLIGHT_NEW_ITEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_ELEMENTAL_TARGET", 1);
PyModule_AddIntConstant(poModule, "ENABLE_LEVEL_IN_TRADE", 1);
PyModule_AddIntConstant(poModule, "ENABLE_ADVANCED_SKYBOX", 1);
PyModule_AddIntConstant(poModule, "ENABLE_MINIMAP_TELEPORT_CLICK", 1);
// XXF-CH5 equipment & deep enhancement features (S1b/S3)
PyModule_AddIntConstant(poModule, "ENABLE_ACCE_COSTUME_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_PENDANT_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_WEAPON_COSTUME_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_MOUNT_COSTUME_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_CHANGELOOK_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_SOULBIND_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_BINDING_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_GLOVE_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_QUIVER_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_MAGIC_REDUCTION_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_DS_CHANGE_ATTR", 1);
PyModule_AddIntConstant(poModule, "ENABLE_CUBE_RENEWAL_WORLDARD", 1);
PyModule_AddIntConstant(poModule, "ENABLE_CHEQUE_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_RANKING_SYSTEM", 1);
PyModule_AddIntConstant(poModule, "ENABLE_PLAYER_PER_ACCOUNT5", 1);
PyModule_AddIntConstant(poModule, "ENABLE_CONQUEROR_LEVEL", 1);
PyModule_AddIntConstant(poModule, "ENABLE_CONQUEROR_UI", 1);
PyModule_AddIntConstant(poModule, "ENABLE_WOLFMAN_CHARACTER", 1);
PyModule_AddIntConstant(poModule, "DISABLE_WOLFMAN_ON_CREATE", 0);
#ifdef USE_OPENID
PyModule_AddIntConstant(poModule, "USE_OPENID", 1);
if (openid_test)