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

232 commits

Author SHA1 Message Date
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
76583ed744 Add config flag to disable outgoing packet compression 2025-05-02 22:41:31 -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
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
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
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
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
c8a971a5e6 Remove that one annoying unused variable 2025-04-30 22:19:56 -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
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
510d07e3e4 Fill out more fields of damage action results
Now we can actually set whether the damage was physical, magical,
aspected etc. This is not yet exposed in the Lua API.
2025-04-18 13:11:29 -04:00
d507547dd3 Fix action results not working
The opcode wasn't updated for 7.20h, and I think was overlapping with
some status effect list one (hence the weird stuff happening in the
update showcase video.) Also updated the testdata, even though it wasn't
needed.

I also added back the actor hp/mp update, because I deleted that
thinking it would fix something but it didn't.
2025-04-18 12:38:02 -04:00
db877938ac Attempt to remove actors when killed
This doesn't work on the test monster yet - I don't know why, but this
is what it's supposed to do.
2025-04-18 01:38:47 -04:00
3d9bbf8719 Fix world server with RCON disabled 2025-04-18 01:17:51 -04:00
717a2b7785 Add RCON support
Just for fun, but this isn't hooked up to any commands yet. I need to
make some command changes anyway, and will hook it up when I do that
refactoring.
2025-04-15 23:35:49 -04:00
01cab0f3a1 Send position and rotation on initial spawn, and keep it updated
Now other players won't spawn at 0,0,0 (which is wrong, almost nobody
is there) and will reflect their actual position/rotation when spawned
in. This is also updated on the server - so new clients are aware of
your last position/rotation - and can be used later for visibility
checks.
2025-04-14 16:34:30 -04:00
ba91ca4291 Fix various Clippy warnings 2025-04-14 16:24:46 -04:00
79f3ac73b6 Move player stat sending function to ZoneConnection 2025-04-14 16:18:03 -04:00
10c1369119 Add opcode for despawning actors, send that when changing zones
This is to workaround a bigger bug where I don't properly enclose actors
in their zone, so you can hit an assert while traveling between zones.
But this is something that has been needed anyway, and also fixes that.
2025-04-14 16:09:14 -04:00
dbfd5fccc4 Use bool type in ToggleInvisible Actor Control 2025-04-11 08:46:54 -04:00
b3b816c511 Use bool in "check if name is free" IPC instead of u8
This doesn't change anything functionally, just works a bit nicer.
2025-04-11 08:41:50 -04:00
96bcdf1238 Fix various Clippy warnings 2025-04-11 08:32:55 -04:00
a1539d1931 Add stubs for changing password and canceling account pages 2025-04-05 22:54:48 -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