Commit Graph
401 Commits
Author SHA1 Message Date
BemaniWitch 67f4e238d5 idz: SqlSettingsRepository: Persist driving_style 2021-02-03 23:43:45 +00:00
Tau 219c200452 idz: Fix SqlProfileRepository 2021-02-03 23:43:45 +00:00
Tau 4381ca9984 idz: Fix SqlMyCharaRepository 2021-02-03 23:43:45 +00:00
BemaniWitch ecd9c2f408 idz: Save weekly missions progress 2021-02-03 23:43:45 +00:00
Tau b260d2ee64 idz: Fix SqlWeeklyMissionsRepository 2021-02-03 23:43:44 +00:00
BemaniWitch 3e659f46ab idz: Fix remaining encoder mappings 2021-02-03 23:43:44 +00:00
BemaniWitch 122cb51ed9 idz: Split/fix loadServerList encoder 2021-02-03 23:43:44 +00:00
BemaniWitch eb358e3547 idz: Split/fix loadRewardTable encoder 2021-02-03 23:43:44 +00:00
BemaniWitch 1f141cb706 idz: Split/fix loadGhost encoder 2021-02-03 23:43:44 +00:00
BemaniWitch 59ec2bf576 idz: Split/fix "generic" response encoding 2021-02-03 23:43:44 +00:00
BemaniWitch 3cdfef2ea8 idz: Fix _team encoders 2021-02-03 23:43:44 +00:00
BemaniWitch f0771b5791 idz: Fix unknownA_2 message length rounding 2021-02-03 23:43:43 +00:00
BemaniWitch fc0a65b0f1 idz: Fix saveGarage processing 2021-02-03 23:43:43 +00:00
BemaniWitch 1cd8ef7dc8 idz: Fix loadProfile codecs 2021-02-03 23:43:43 +00:00
BemaniWitch 5a73e9b367 idz: Fix loadGeneralReward codecs 2021-02-03 23:43:43 +00:00
BemaniWitch d3bf7d9808 idz: Fix updateStoryClearNum codecs 2021-02-03 23:43:43 +00:00
BemaniWitch 5ff6adfc5e idz: Fix saveTimeAttack codecs 2021-02-03 23:43:43 +00:00
BemaniWitch b23e9af2ea idz: Fix loadTopTen 2021-02-03 23:43:43 +00:00
BemaniWitch acbda4e6bd idz: Fix loadTeamRanking mapping 2021-02-03 23:43:43 +00:00
Tau 0e788638bb idz: Split/fix loadConfig messages 2021-02-03 23:43:42 +00:00
Tau 5cc68bd339 idz: Split/fix load2on2 messages 2021-02-03 23:43:42 +00:00
Tau 0a46774634 idz: Plumb clientHello into request dispatcher 2021-02-03 23:43:42 +00:00
BemaniWitch b606af53a1 idz: Ignore ServerBox traffic 2021-02-03 23:43:42 +00:00
BemaniWitch 5f708e3372 idz: Add idz2 encoders 2021-02-03 23:43:42 +00:00
BemaniWitch 25504006f2 idz: Add idz2 decoders 2021-02-03 23:43:42 +00:00
BemaniWitch 7cd819b337 idz: Add LoadStockerResponse.myChara field 2021-02-03 23:43:42 +00:00
BemaniWitch 1154414885 idz: Add field "c" to story cell tuple 2021-02-03 23:43:41 +00:00
BemaniWitch dcb4f12a99 idz: Add UpdateExpedition command 2021-02-03 23:43:41 +00:00
BemaniWitch a6a80f0762 idz: Add SaveStockerRequest.myChara 2021-02-03 23:43:41 +00:00
BemaniWitch 7b0380a719 idz: Add stamps to SaveStockerRequest 2021-02-03 23:43:41 +00:00
BemaniWitch 63cd59e10e idz: Add idz_my_chara table 2021-02-03 23:43:41 +00:00
BemaniWitch d19f1ac004 idz: Add idz_weekly_missions table 2021-02-03 23:43:41 +00:00
BemaniWitch c2fbb0ddff idz: Add stamps tables 2021-02-03 23:43:41 +00:00
BemaniWitch 48a9bcbdbd idz: Add idz_settings.driving_style column 2021-02-03 23:43:41 +00:00
Tau 9f6b0e59c8 idz: Explicitly split team msg encoders 2021-02-03 23:43:40 +00:00
Tau 435634a9b2 idz: Push story geometry down into codecs
Sparsify the data model returned from the repository layer. Different
versions of the game can have drastically different dimensions for the
story data grid, so handling those dimensions is best done in the
encoders themselves.
2021-02-03 23:43:40 +00:00
Tau 34f10d1fb9 idz: Add explicit CreateProfileResponse 2021-02-03 23:43:40 +00:00
Tau 303526e86a idz: Generalize msg00AD
The purpose of this request is unknown, but its message code
changed in idz2.
2021-02-03 23:43:40 +00:00
Tau efa38ad6ac idz: Combine loadConfig requests 2021-02-03 23:43:40 +00:00
Tau 44cd74ea86 idz: Dispatch on declared protocol version 2021-02-03 23:43:39 +00:00
Tau 93db3831be idz: Support multiple major versions
Doesn't actually add support for any additional versions, but it
does lay the groundwork.
2021-02-03 23:43:39 +00:00
Tau 4f7c0145a1 idz: Add type defs for common net comms context 2021-02-03 23:43:38 +00:00
Tau 9889b58b71 idz: Add implicit version field to requests 2021-02-03 23:43:38 +00:00
Tau e95071822a sql: Add "maintenance transaction" system
SQLite's ALTER TABLE functionality leaves a lot to be desired, so
in practice the way you alter SQLite schema is to create a new
table, migrate the data into it, then drop the old table. However,
this is potentially complicated by the presence of foreign key
constraints.

In order to resolve the foreign key constraint issue we add a
`maintenance()` method to the `DataSource` abstraction layer. This
operates similarly to the existing `transaction()` method, but the
SQLite implementation of this method defers enforcement of foreign
keys until the transaction is about to commit.
2021-02-03 23:43:38 +00:00
Tau c0516fdb33 sql: Drive-by method documentation 2021-02-03 23:43:38 +00:00
Tau cc2b816c3c sql: Throw conventionally... 2021-02-03 23:43:38 +00:00
Tau 2eb3a18b35 checkdb: Use single transaction 2021-02-03 23:43:38 +00:00
Tau 0d39147f26 idz: Prettier compliance 2021-02-03 23:43:38 +00:00
Tau 34ca9bc997 idz: Remove some dead code 2021-02-03 23:43:37 +00:00
Tau 3d0bdf25d4 idz: Use string I/O helpers 2021-02-03 23:43:37 +00:00