Commit Graph
328 Commits
Author SHA1 Message Date
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 1cfd577f56 idz: Fix loadGeneralReward codecs 2021-02-03 23:43:43 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 b7187fe0ed idz: Fix updateStoryClearNum codecs 2021-02-03 23:43:43 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 60c089a810 idz: Fix saveTimeAttack codecs 2021-02-03 23:43:43 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 377096a077 idz: Fix loadTopTen 2021-02-03 23:43:43 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 87de79ef12 idz: Fix loadTeamRanking mapping 2021-02-03 23:43:43 +00:00
Tau f1386f8e3d idz: Split/fix loadConfig messages 2021-02-03 23:43:42 +00:00
Tau 6d581c114d idz: Split/fix load2on2 messages 2021-02-03 23:43:42 +00:00
Tau 9570349565 idz: Plumb clientHello into request dispatcher 2021-02-03 23:43:42 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 206d12742a idz: Ignore ServerBox traffic 2021-02-03 23:43:42 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 f2434cef7e idz: Add idz2 encoders 2021-02-03 23:43:42 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 2474879c89 idz: Add idz2 decoders 2021-02-03 23:43:42 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 4c36e0abf0 idz: Add LoadStockerResponse.myChara field 2021-02-03 23:43:42 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 ccd5fd72c8 idz: Add field "c" to story cell tuple 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 46499a5425 idz: Add UpdateExpedition command 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 8562da15b6 idz: Add SaveStockerRequest.myChara 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 8195e9f937 idz: Add stamps to SaveStockerRequest 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 9f57ff1342 idz: Add idz_my_chara table 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 a7b7a01685 idz: Add idz_weekly_missions table 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 8ada783f7c idz: Add stamps tables 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705 f79c4a4370 idz: Add idz_settings.driving_style column 2021-02-03 23:43:41 +00:00
Tau f3be39823a idz: Explicitly split team msg encoders 2021-02-03 23:43:40 +00:00
Tau 03d0e87b55 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 efcc1caa76 idz: Add explicit CreateProfileResponse 2021-02-03 23:43:40 +00:00
Tau 2a546c0d9d 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 63627eaf78 idz: Combine loadConfig requests 2021-02-03 23:43:40 +00:00
Tau ed7c461fe1 idz: Dispatch on declared protocol version 2021-02-03 23:43:39 +00:00
Tau 75ac6e03f2 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 2f2dc82b5a idz: Add type defs for common net comms context 2021-02-03 23:43:38 +00:00
Tau 198256e6ff idz: Add implicit version field to requests 2021-02-03 23:43:38 +00:00
Tau eb276128c2 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 6090a60467 sql: Drive-by method documentation 2021-02-03 23:43:38 +00:00
Tau 2099622b0f sql: Throw conventionally... 2021-02-03 23:43:38 +00:00
Tau 9494f3026b checkdb: Use single transaction 2021-02-03 23:43:38 +00:00
Tau f7ceb6bcda idz: Prettier compliance 2021-02-03 23:43:38 +00:00
Tau 04dac7279e idz: Remove some dead code 2021-02-03 23:43:37 +00:00
Tau 8c164b6130 idz: Use string I/O helpers 2021-02-03 23:43:37 +00:00
Tau 27b229e1c2 idz: Remove iffy redundant NUL termination op 2021-02-03 23:43:37 +00:00
Tau c877d9d214 idz: Fix apparent buffer stride bug 2021-02-03 23:43:37 +00:00
Tau 636789b8bf idz: Delete dead imports 2021-02-03 23:43:37 +00:00
Felix 1fa268e6ba chunithm: stub GetUserFavoriteMusicApi 2020-12-15 22:59:23 +00:00
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a 4fe69077fc chuni: limit response size of getUserActivity 2020-11-08 23:54:28 -08:00
Tau 122c397b59 idz: Add utilities for binary I/O 2020-09-01 01:10:32 +00:00
Tau d3984dcd5d idz: Use Switchboard config for some ports 2020-09-01 01:10:31 +00:00
Tau 4abc04e9f6 idz: Port userdb/ onto common/ 2020-09-01 01:10:31 +00:00
Tau c01dbb50f7 idz: Factor out common TCP obfuscation 2020-09-01 01:10:31 +00:00
Tau fa5ed284e1 util: Add promise-based stream wrapper
You'd think something like this would exist on npm somewhere.
2020-09-01 01:10:31 +00:00
Tau 76583f17ce idz: Fix userdb msg 00AD block alignment 2020-09-01 01:10:31 +00:00
Tau f959993197 idz: Hoist userdb code 2020-09-01 01:10:31 +00:00
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a 1d8fd582c9 chuni: sort user activity response 2020-08-17 21:11:00 -04:00
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a 9b22318934 chuni: Fix upsert with an empty userRecentRating 2020-08-09 01:18:31 -07:00