project record / cxsemu
cxsEMU
CarX Street server emulator with selected backend routes, SmartFox rooms, and v1.15 Pursuit state.
overview
The Python reference and C++20 server implement selected CarX and PlayFab-shaped HTTP routes, SmartFox framing over TCP/UDP, room membership and user-variable snapshots, and per-session UDP routing. The code handles recovered action-13 traffic and decodes native selectors 33 and 39; other recovered selectors pass through. The v1.15 Pursuit/BattleRoyal engine handles lobby-to-match events, zones, scores, and host changes. C++ profile settings use a linked account identity or a digest of the normalized bearer token, so separate credentials do not share anonymous profile state. A recorded two-PC Freeroam run showed both clients in one world; it did not establish movement sync or dependable rejoin.
in the repository
- Selected CarX and PlayFab-shaped HTTP routes
- SmartFox TCP/UDP framing, room members, and user-variable snapshots
- Native selectors 33 and 39 decoded; other recovered selectors relayed
- Authorization-scoped C++ profile settings
- Action-13 cache and replay
- v1.15 Pursuit/BattleRoyal lifecycle and score state
- Python reference and C++20 server paths
current work
The Oct 23 C++ change keys profile state by linked account identity or a SHA-256 digest of the normalized bearer token. Tests check distinct unlinked credentials, stable normalization, and that the state key does not contain the raw token. Route, SmartFox, and Pursuit tests remain separate from the recorded two-PC Freeroam run; movement sync and reliable rejoin are still unverified.
change history
- · cxsEMU · fixC++ profile settings isolated by authorization
REF 1f0ab70C++ profile routes now key settings by linked account identity or a SHA-256 digest of the normalized bearer token. Contract tests check that separate unlinked credentials do not share profile state and that the raw token is absent from the derived key.
- · cxsEMU · developmentv1.15 Pursuit state engine
REF dc37245The current tree adds a v1.15 Pursuit/BattleRoyal state engine, native action-13 adaptation, selectors 33 and 39, and relay handling for other recovered selectors. Retail two-PC membership and movement remain unverified.