Commit Graph

229 Commits

Author SHA1 Message Date
Tau
6ac92574cf wip normalize response type names 2019-11-06 17:28:29 -05:00
Tau
ae5fe633ac wip normalize response tags 2019-11-06 17:28:29 -05:00
Tau
5f50d610e1 wip found team id in profile 2019-11-06 17:28:29 -05:00
Tau
448cdb9175 wip normalize request type names 2019-11-06 17:28:29 -05:00
Tau
a2ad99f01a wip normalize request tags 2019-11-06 17:28:29 -05:00
Tau
5e8804d4ed wip normalize message code names 2019-11-06 17:28:29 -05:00
Tau
d1f306a2e0 wip mini cleanup dispatch 2019-11-06 17:28:29 -05:00
Tau
bdda290193 wip update expedition maybe? 2019-11-06 17:28:29 -05:00
Tau
1eaab8aaab wip members in team load 2019-11-06 17:28:29 -05:00
Tau
e101d74637 wip locate profile load team id 2019-11-06 17:28:29 -05:00
Tau
3ef8798d64 wip map tiny part of profile load 2019-11-06 17:28:29 -05:00
Tau
e85037fd23 wip label some create fields 2019-11-06 17:28:29 -05:00
Tau
5a91e332cb wip profile load ok! 2019-11-06 17:28:29 -05:00
Tau
e1d484768c wipfuckingloadgrind 2019-11-06 17:28:29 -05:00
Tau
25bdc7d9dd wip 2019-11-06 17:28:29 -05:00
Tau
cff7305731 wip 2019-11-06 17:28:29 -05:00
Tau
093097cf5b wip 2019-11-06 17:28:29 -05:00
Tau
c2f7e9fe19 wip 2019-11-06 17:28:29 -05:00
Tau
679accd74d wip 2019-11-06 17:28:29 -05:00
Tau
3075e4960b wip 2019-11-06 17:28:29 -05:00
Tau
de8b654f9c wip 2019-11-06 17:28:29 -05:00
Tau
b460fa1aa0 wip 2019-11-06 17:28:29 -05:00
Tau
046b3d0023 wip 2019-11-06 17:28:29 -05:00
Tau
558c05095a wip 2019-11-06 17:28:29 -05:00
Tau
acc1590aa2 aimedb: Deal with redundant command codes
Some messages apparently use more than one command code depending
on the game. The meaning of the 0x0006 response code is also
overloaded apparently, so that's cool. Fortunately that's the
game's problem and not ours.
2019-11-06 17:28:29 -05:00
Tau
3d41b5a780 aimedb/decoder.ts: Fix typo 2019-11-06 17:28:29 -05:00
Tau
a79488bba8 Wire up Project Diva 2019-11-06 17:28:29 -05:00
Tau
c31f9c2db3 diva.ts: Add initial Project Diva framework 2019-11-06 17:28:29 -05:00
Tau
e1310560fb Add multiparty dep 2019-11-06 17:28:29 -05:00
Tau
f0e7a82f42 aimedb: Remove ident fields from Goodbye message
They're not present in this message, it's just zero bytes.
2019-11-06 17:28:29 -05:00
Tau
1fc332ac0a Drop body-parser dep 2019-11-06 17:28:29 -05:00
Tau
4bc362337e Drop left-pad dependency 2019-11-06 17:28:29 -05:00
Tau
02c6e6fe2f Fix tests 2019-11-06 17:28:29 -05:00
Tau
aa18e805e9 gitignore bin/ 2019-11-06 17:28:29 -05:00
Tau
b278c6bf08 aimedb: Refactor codec 2019-11-06 17:28:29 -05:00
Tau
bc8185b26c aimedb/encoder.ts: Drop options param 2019-11-06 17:28:29 -05:00
Tau
cbc1e29ed7 aimedb/decoder.ts: Drop options param 2019-11-06 17:28:29 -05:00
Tau
602335941c aimedb/cmd.ts: Split into decoder, encoder 2019-11-06 17:28:29 -05:00
Tau
b5724b2ca0 chunithm.ts: Clean up response compression 2019-11-06 17:28:29 -05:00
Tau
49ac9221d6 Add compression dependency
We are required to send compressed responses to calls on the
Chunithm API.
2019-11-06 17:28:29 -05:00
Tau
2b40d56600 billing.ts: Clean up middleware 2019-11-06 17:28:29 -05:00
Tau
eafff51ed4 startup.ts: Make better use of Express middleware 2019-11-06 17:28:29 -05:00
Tau
3bcc5ed8d1 Add raw-body dep 2019-11-06 17:28:29 -05:00
Tau
2f1c9dd476 Switch to TypeScript
This just makes the minimum changes necessary to "compile".
2019-11-06 17:28:29 -05:00
Tau
e51f428a41 Fix package.json metadata 2019-11-06 17:28:29 -05:00
Tau
85cf3ff0a5 uhh hell no 2019-11-06 17:28:29 -05:00
Tau
47dc580645 index.js: Print startup OK message 2019-11-06 17:28:29 -05:00
Tau
1337fc21f3 Apply Prettier 2019-11-06 17:28:29 -05:00
Tau
f667b6ee6e Add Prettier 2019-11-06 17:28:29 -05:00
Tau
95c778f254 startup: Add port map based on game type
Ugly mechanism but whatever. Send different games to different
ports so that we can set up independent Express instances tailored
to each game's weird HTTP quirks.
2019-11-06 17:28:29 -05:00