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

34 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
f961d7a78e Disable default features for mlua 2025-03-29 16:43:06 -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
d0bb7f4ba9 Start defining IPC opcodes in JSON
This is to make it easier to interpolate with other tools and projects,
and to reduce the mental barrier (of me and other contributors) of
changing these. This only ports the Lobby connection to use JSON so far,
the World connection is next.
2025-03-26 19:23:14 -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
613fa551fb Add more metadata keys to Cargo.toml 2025-03-22 21:49:05 -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
c510d955bd Document more random things, move session_id from PacketState to LobbyConnection 2025-03-17 16:58:48 -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
bdef7752b0 Add comments explaining the use of each dependency 2025-03-16 15:24:01 -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
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
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
5dc1178cd3 Update to Rust edition 2024 2025-03-08 13:20:22 -05:00
f37840d44f Begin adding a user accessible web server 2024-05-11 14:03:18 -04: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
1e3ff59442 Accept the url query for /login/top 2023-10-05 13:32:08 -04:00
8f19352528 Add login server 2023-10-05 13:09:21 -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