1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-05-12 14:47:46 +00:00
Commit graph

327 commits

Author SHA1 Message Date
6dc8194aa8 Add inn bed handling, let event scripts decie when they are finished
The inn bed is the most complex script we have written so far, and needs
a little bit more logic to when it finishes. I also made it play the bed
animation, although you *will* sleep forever as we don't know how to
disconnect you yet.
2025-05-05 23:04:53 -04:00
00671ae741 Add script for limsa inn door 2025-05-05 22:28:45 -04:00
fec6665d8d Make Limsa Inn warp functional
This was surprisingly easy, so now this works. You can't exit the inn
yet, though!
2025-05-05 22:04:39 -04:00
afbadf85c4 Clean up talk event handling, use Event struct 2025-05-05 21:15:03 -04:00
873d7f5951 Move custom IPC handling to a separate file 2025-05-05 21:03:47 -04:00
3139d63b91 Begin scripting the inn NPCs
This kinda works, you can now talk to them without locking up your
character but you aren't warped yet. I also need to clean up the mess of
the Lua API.
2025-05-05 20:51:49 -04:00
7d7776f16e Add setup page to download generated LauncherTweaks configs 2025-05-03 18:49:39 -04:00
def9b4ab48 Add Bootstrap styling for the launcher page, implement launcher login
Instead of the placeholder SID, it sets it to an actual one that can be
used with the lobby server.
2025-05-03 18:16:36 -04:00
687c56fac8 Redesign the remaining account management pages and the homepage 2025-05-03 12:40:11 -04:00
04b104cbfc Redesign account management pages
Now they look *so much* nicer and has a proper sidebar now.
2025-05-03 12:26:50 -04:00
f2c009b9a7 Add Bootstrap styling to most web pages
I haven't changed any of the content yet, only included the Boostrap CSS
and unified their base template.
2025-05-03 11:56:27 -04:00
bf089b3bec Don't include web templates in binaries
I plan on including some Bootstrap styling, and I don't want that to
bloat the binaries. This also means people can easily modify the pages
if they want.
2025-05-03 11:32:37 -04:00
7e0b0d1bfc Move global world server logic to it's own module 2025-05-02 23:51:34 -04:00
de5e6cfb94 Use Default trait in more segment construction 2025-05-02 23:38:44 -04:00
ff33bd446a Update IPC struct names and filenames to match their opcode name 2025-05-02 23:24:31 -04:00
29aba2748b Switch out rand crate with fastrand
It's just smaller, the less crates we compile the better.
2025-05-02 23:06:59 -04:00
76583ed744 Add config flag to disable outgoing packet compression 2025-05-02 22:41:31 -04:00
11156ea43c Fix GM commands 2025-05-02 16:17:29 -04:00
8d384c4bd0 Overhaul how we send inventory packets again
I wanted to add armory chest support but the current state of the
inventory was a little frustrating. Adding new containers was too
difficult, so I made the system *even more* generic and easier to use. I
have also split it up into it's own module with a nicer file layout.

Oh yeah, and armory chest works too now.
2025-05-02 16:15:54 -04:00
e7fb661244 Implement Fantasia and remaking your character
Everyone's favorite copying mechanism/purchasable item is now functional
in Kawari. The item doesn't disappear once you use it, because there's
no API for that yet.
2025-05-02 15:36:22 -04:00
cb146f173e Fix tests not compiling 2025-05-02 00:56:48 -04:00
23f9b5f3c1 Move oodle into the packet module
Not sure why I didn't do this before, it's not important enough to be a
top-level item.
2025-05-02 00:52:26 -04:00
5111a38424 Re-organize IPC segments into the ipc module
These were kind of scattered everywhere, instead we should move them
into their own module. Kawari's custom IPC is moved here too.
2025-05-02 00:47:11 -04:00
80b06b3294 Reduce log spam from position updates 2025-05-02 00:31:47 -04:00
9eb9eca1c8 Change unk1/unk2 in PacketHeader to prefix 2025-05-02 00:31:27 -04:00
0f98bfde52 Implement Default trait for PacketSegment
This reduces a *ton* of places where I had to set
source_actor/target_actor to zero because it wasn't relevant.
2025-05-02 00:28:05 -04:00
fb69689f2a Change server_id field in IpcSegment to option 2025-05-02 00:17:15 -04:00
54fd1b90b1 Move chat connection initialization out of WorldConnection
I think this just causes more confusion, it's not really it's job to do
this.
2025-05-02 00:11:37 -04:00
f3f25eb219 Overhaul segment types, their names and their order 2025-05-02 00:03:36 -04:00
b426de677f Begin separating chat IPC, fix tests 2025-05-01 23:34:06 -04:00
5420225c74 Update world IPC packets with better fitting names, fields 2025-05-01 23:20:56 -04:00
67ec72a962 Rename the remaining lobby IPC opcodes, reorder them too 2025-05-01 22:45:49 -04:00
2ec54fa6ec Use more accurate names for some client lobby packet types 2025-05-01 22:36:30 -04:00
6971ef1fc8 Rename PacketHeader's unk3 into "version"
I know the name now, but it's still a mystery what it is?
2025-05-01 22:29:34 -04:00
9976548f04 Make the admin server start-up message fit with the others 2025-05-01 22:19:31 -04:00
afed151488 Add "character backup import" feature to the account management page
We have had an import feature for a while, allowing you to easily
recreate your retail character from Auracite backups. But the feature
was implemented *before* we had proper service accounts, and it always
assigned it to ID 1.

Now it's moved to the user-visible account management page.
2025-05-01 15:35:51 -04:00
ed8ccb86ee Move model id grabbing to Inventory, fixup ClientSelectData
I wanted to make the lobby screen reflect your currently equipped items,
but that doesn't yet for some reason. These are still good refactorings
though!
2025-04-30 23:05:43 -04:00
614e470669 Add an option to enable packet obsfucation for the World server
There's no point in doing this yet:
1. This *crashes* the client, nice. Most likely because we're not
actually obsfucating anything, only tricking the client into thinking we
were. Why this can crash the client is beyond me?
2. Obsfucation is still optional.
2025-04-30 22:37:57 -04:00
c8a971a5e6 Remove that one annoying unused variable 2025-04-30 22:19:56 -04:00
15af4bc1d0 Support the latest released boot version 2025-04-30 22:19:46 -04:00
029c161e54 Add stubs for the frontier API used by the client
This is the support desk functions, although this doesn't work quite yet
and the game complains that it can't recieve any data.
2025-04-24 14:42:01 -04:00
cdfebce9f7 Add some helpful warnings to patch server, add FFXIV_Patch as user agent
This is used by sqexPatch.dll, so it should be legitimate. I also made
sure the URLs actually work again!
2025-04-22 19:27:19 -04:00
0e31cc047d Update supported patch version to 7.21 2025-04-22 18:46:17 -04:00
d89a976c78 Begin adding save data bank 2025-04-22 18:46:04 -04:00
2a6c9ee76c Add support for Shanda (Chinese) logins to the lobby server
This only means logging into the lobby server works, trying to login to
a World doesn't work as even the current version is too old. It probably
won't work without modifications anyway.
2025-04-22 18:15:13 -04:00
516a91620e A few more fixes to get the launcher page to load 2025-04-22 16:29:21 -04:00
20030c18c8 Move work definitions to their own module 2025-04-22 16:07:39 -04:00
28b27866db Serve a launcher page under launcher.ffxiv.localhost
This can eventually be put into a retail launcher, but it doesn't do
much yet.
2025-04-22 16:00:10 -04:00
ef58358756 Expose Damage kind, element and type in Lua API 2025-04-18 14:32:39 -04:00
fa2caa6647 Make EquippedContainer iteratable, simplify sending equipped item code 2025-04-18 13:52:18 -04:00