4936654f84
Which attribute a FIFA 17 training card trains is recoverable after all -- not from a table, but from the client's own dispatch: `FUN_18013f4d0` derives a consumable's whole presentation from `cardsubtypeid` and writes an attribute selector to `rec+0xbc`. Paired with `fcc_trainingcards.amount` (TABLE_PROVEN, matching the wire 8/8), that settles both halves of the effect for all 36 attribute training cards -- 12 families x 5/10/15, 18 goalkeeper and 18 outfield. The subtype order is NOT the slot order: 54 is SPEED at slot 4 while 56 is REFLEXES at slot 3, and 65 is HEADING at slot 5 while 66 is DEFENDING at slot 4. Reading them sequentially trains a different stat from the one on the card, invisibly, so the table is explicit and a test pins those four. The two SQUAD training cards (57, 67) share the table and the client's training UI bucket but are the only ones whose single-target byte is 0: they act on a squad and move fitness, not an attribute. They resolve to None and fail closed rather than being mistaken for a +3 attribute card. A keeper's six slots mean DIV/HAN/KIC/REF/SPD/POS and an outfielder's mean PAC/SHO/PAS/DRI/DEF/PHY -- same numbers, different attributes -- so the class gate is not cosmetic.
31 lines
858 B
Rust
31 lines
858 B
Rust
//! FIFA 17 FUT (UTAS/RS4) wire → OpenFUT Core semantic mappings.
|
|
//!
|
|
//! Unlike [`crate::blaze`] (binary Blaze RPC), this is the JSON/HTTP FUT surface.
|
|
//! It currently holds the owned-player ("My Squad") search mapping; more UTAS
|
|
//! routes join it as the UTAS→Core migration proceeds. Nothing here opens a
|
|
//! socket — a Rust UTAS host wires it to Core later.
|
|
pub mod catalog;
|
|
pub mod club_response;
|
|
pub mod club_stats;
|
|
pub mod consumables;
|
|
pub mod content_taxonomy;
|
|
pub mod contract_cards;
|
|
pub mod discard;
|
|
pub mod economy;
|
|
pub mod economy_policy;
|
|
pub mod entities;
|
|
pub mod item;
|
|
pub mod item_state;
|
|
pub mod match_wire;
|
|
pub mod non_economy;
|
|
pub mod owned_query;
|
|
pub mod pack_content;
|
|
pub mod sbc;
|
|
pub mod season_wire;
|
|
pub mod squad;
|
|
pub mod squad_ext;
|
|
pub mod squad_projection;
|
|
pub mod store_catalog;
|
|
pub mod store_session;
|
|
pub mod training_cards;
|