0c5c784d0f
Split up and move lobby packet handling
2025-03-08 23:24:09 -05:00
ca5fa8e8b9
Fix various Clippy warnings
2025-03-08 23:07:55 -05:00
1f43318add
Begin sending lobby information
...
This now puts the client onto the real lobby screen, not sure how much actually
works yet.
2025-03-08 22:55:47 -05:00
00c5f4a10e
Fix various issues with sending service account data
...
I did a bunch of things wrong, oops. The client somehow error corrected itself
into never requesting the character list, lol
2025-03-08 22:17:26 -05:00
da5f5f1276
Move more IPC-related stuff out of packet module
2025-03-08 22:05:20 -05:00
970d756809
Move IPC opcodes to their own enum & module
2025-03-08 22:03:28 -05:00
6aed610276
Move more code out of packet module
2025-03-08 21:56:44 -05:00
dd83b335dd
Re-run format, re-organize some code and run Clippy auto-fix
2025-03-08 21:54:03 -05:00
aacd128a9e
Add support for encrypting outgoing packets, send service account list
...
This gets us to the lobby screen, albiet it's currently empty.
2025-03-08 21:53:10 -05:00
f81f5ce09d
Fill out ClientVersionInfo IPC, add KeepAlive packet response
...
Now the server is somewhat functional, we don't get to the lobby screen yet but
at least get a loading indicator in the client.
2025-03-08 21:23:33 -05:00
942a64cd7b
Fix encrypting/decrypting packets, vendor Sapphire Blowfish implementation
...
I ended up just stealing this from iolite, which in turn took it from Sapphire.
I tried for a few hours to get a Rust Blowfish implementation going, but the one
from Physis didn't work. I'll try again later.
2025-03-08 21:13:00 -05:00
64b1ea9280
More attempts at packet decryption
2025-03-08 16:39:13 -05:00
51e0f0680e
Move encryption stuffs into their own module
2025-03-08 16:10:00 -05:00
cdc250fca1
Begin decrypting packets, add IPC segment type
2025-03-08 16:08:25 -05:00
21419aa09c
Add missing connection types
2025-03-08 15:33:58 -05:00
2f996f0012
Emit a better error message on packet parsing failure
2025-03-08 15:29:38 -05:00
3caf9d38c1
Try sending a initialize encryption response packet
2025-03-08 15:27:28 -05:00
0ec0ed34ec
Parse the encryption initialization packet
2025-03-08 14:38:31 -05:00
66ef395afc
Begin parsing the packet header
2025-03-08 14:09:57 -05:00
5f0d6cc425
Dump unknown packets when encountered
2025-03-08 13:58:24 -05:00