2. Frequently Asked Questions (5 FAQ's — Security & Account Guide)
FAQ 1: How do I synchronize my account across Android <-> iOS <-> Web using /xk_w_bind & 6-digit Link Code?
Both the Web Edition (Port 3000), iOS PWA, and the Android 64-Bit client (libgame.so LP64) connect to the unified Python Game Server (Ports 8080 & 2306). You can bind and transfer your character across Android <-> iOS <-> Web via the /xk_w_bind endpoint or by generating a temporary 6-digit Link Code, keeping your Level, Formation, Equipment, and Gold 100% synchronized in real time.
FAQ 2: How do Two-Factor Authentication (2FA TOTP / Email OTP) & password recovery protect my account?
Open the Login & Security panel (LoginView.ccbi) to bind an RFC 6238 Authenticator app (stored encrypted with enc:v1:) or enable Email OTP verification. Every login and password recovery request requires a valid 6-digit 2FA OTP code alongside your PBKDF2-SHA256 password, immediately rotating your session_token to prevent unauthorized access.
FAQ 3: How does Gold Recharge (Payment Webhook HMAC-SHA256) & transaction processing work?
Every Gold recharge callback is cryptographically verified via Payment Webhook HMAC-SHA256 signature validation (X-Webhook-Signature) and idempotent transaction_id ledger checks. Once verified, Gold, VIP EXP, and First-Recharge (first_pay) rewards are credited automatically without manual intervention.
FAQ 4: How do I redeem a Giftcode (/api/giftcode) & claim event rewards in GameSetting.ccbi?
From the Main Village HUD, open MenuBtns → Game Settings (GameSetting.ccbi / ui_gameSettingLayer.lua), enter your valid code in the redemption box (powered by /api/giftcode), and tap Confirm. Your Gold, Silver, Stamina, or Ninja Souls event rewards are delivered immediately to your inventory and saved to the SQLite database.
FAQ 5: How does Single-Active-Session Anti-Dupe protection prevent simultaneous multi-device logins?
To prevent item duplication and session hijacking, the server enforces strict Single-Active-Session Anti-Dupe validation. Logging into the same account on a second device immediately invalidates the previous device's session_token and safely locks concurrent transactions.