1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-05 20:27:45 +00:00
Commit graph

27 commits

Author SHA1 Message Date
f3089a2704 Update dependencies 2025-04-11 08:17:51 -04:00
09c347178c Add barebones account management page
This also moves the login pages to the login server, which makes the
code slightly a bit more contained. The account management page doesn't
allow you to do anything yet, but for future usage.
2025-04-05 22:40:44 -04:00
90e5e191e9 Integrate Login<->Lobby servers, remove placeholder service account id
All accounts were sharing the same character list, but now they should
be properly separated. This also modifies the login database to prepare
for multiple service accounts, but there's no way to manage them in the
web interface yet still.
2025-04-05 21:36:56 -04:00
1a7da9d662 Update dependencies, remove Physis chardat workaround 2025-03-31 17:26:56 -04:00
243d94c586 Add preliminary support for restoring character backups from Auracite
Not much is importable yet - pretty much just the character's name and
appearance.
2025-03-30 18:52:00 -04:00
2bf9385079 Load the starting position from the LGB
It turns out (amazingly) that this data exists client-side, I guess because the
server and the client share the same planevent LGB file. So instead of
hardcoding the starting location in each city, it's now literally like retail*

* Except for the fact that we don't support rotation yet, and positions in pop
ranges are probably randomized too. But it's close!
2025-03-28 23:00:32 -04:00
652beadaa4 Send the welcome server message in the onBeginLogin Lua function
I finally got a proof-of-concept working, and am somewhat happy with how I can
start building this API now.
2025-03-28 23:00:32 -04:00
bbe9215902 Add mlua for server-side scripting support
This isn't hooked up to anything yet, just trying it out.
2025-03-28 23:00:32 -04:00
d47779c8d6 Add display flags
This is based off of the display flags from Sapphire, and the weird UNK one that
I see in game.
2025-03-23 13:03:58 -04:00
82709a65ff Update Cargo dependencies, remove Oodle as a default feature 2025-03-22 21:44:28 -04:00
3f27d2b3df Change configuration format to YAML, allow configuring the address and ports
This removes all of the hardcoded localhost stuff, and allows changing the ports
of various services.
2025-03-22 16:47:21 -04:00
fecfa821ad Use PatchList from Physis
This is what the Physis implementation was based off of anyway, so it should be
more or less a drop-in replacement.
2025-03-17 17:36:43 -04:00
bd23c04848 Add a basic login system
This allows you to register in the web frontend now, and the login server now
checks this before giving a session ID. Note that this is wildly insecure (it
stores the passwords in plaintext!) and is duly noted in the USAGE.
2025-03-16 20:55:51 -04:00
1cbc5c72b9 Remove Gridania hack, allow changing between any zone
This now properly translates territory types using the Excel sheet, making it
possible to move between any zone (you can walk through.)
2025-03-15 21:41:39 -04:00
059becf55f Detect when players enter exit zones, and transistion them to the correct place
It's a hack and only really works going from New -> Old Gridania, but this does
work! It also means Kawari now actually requires a valid game installation,
since it has to read layer group information.
2025-03-15 19:34:29 -04:00
4b409e4417 Don't use default features in binrw 2025-03-12 16:58:21 -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
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
3caf9d38c1 Try sending a initialize encryption response packet 2025-03-08 15:27:28 -05:00
66ef395afc Begin parsing the packet header 2025-03-08 14:09:57 -05:00
b5afff068a Add dummy lobby server
This doesn't respond or read anything yet, it's just for testing.
2025-03-08 13:51:50 -05:00
3278452ac3 Begin work on HTML templates for future web panel functionality 2024-05-11 13:59:36 -04:00
de2dd65167 Randomly generate the SID 2024-05-11 12:31:55 -04:00
adef3b6025 Bump Cargo.lock 2024-05-11 12:17:33 -04:00
1178ecdd61 Add basic patch server implementation 2023-10-06 17:46:58 -04:00
1625179a74 Add admin panel, config 2023-10-05 12:09:05 -04:00
0b20fb80d0 ADd initial files 2023-10-04 19:06:59 -04:00