1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-04-25 16:27:46 +00:00
Commit graph

12 commits

Author SHA1 Message Date
f5d75301b2 Re-organize the IPC structures so they live in their own server-specific module
My old setup of throwing *all* of the IPC types and opcodes into *one* enum was
becoming unbearable. Now that we have multiple things using the same opcodes
(because they can overlap) I think it's time to repay this technical debt.

This overhauls the structure of the project to move IPC structs into their own
modules, and separate the opcode data/lists into separate ones depending on if
it's clientbound and serverbound.

Nothing has changed functionall, but this is going to make it way easier to add
more IPC in the future.
2025-03-16 17:43:29 -04:00
5bcdadf058 Replace Blowfish implementation with a Rust one
This is a slightly modified version of the one in Physis, with the required
modifications inspired from WorkingRobot's TemporalStatis fork. Thanks so much!
2025-03-11 21:20:47 -04:00
660e12c597 Start implementing some world IPC
This doesn't work yet, but whatever it's a start.
2025-03-10 21:31:21 -04:00
e5d143d2c6 Add world server, fix reading compression type
This doesn't work yet as we don't implement Oodle decompression, but we at least
start recieving the packets.
2025-03-09 11:07:01 -04:00
c35a5448d1 Add support for character delete packets 2025-03-09 00:06:54 -05:00
ca5fa8e8b9 Fix various Clippy warnings 2025-03-08 23:07:55 -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
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