1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-07-24 21:47:45 +00:00

Commit graph

  • 24edee6548 Fix various size issues with lobby IPC packets Joshua Goins 2025-07-04 15:01:27 -04:00
  • 7801398590 Fix a small issue with the !equip command -It wasn't setting the item's condition, causing the game UI to behave strangely when looking at the item's tooltip -Added a constant for the maximum item durability The Dax 2025-07-04 13:10:12 -04:00
  • 85f0a0cd49 Fix doc comments The Dax 2025-07-04 12:52:19 -04:00
  • 13da396932 Document two more item operations: move (to an empty slot) and exchange (when swapping slots with another item) The Dax 2025-07-04 12:51:37 -04:00
  • fde43a560d Move it to a constant, and remove redundant comment The Dax 2025-07-04 12:34:03 -04:00
  • 5284801554 Inventory: fix the operation type for item discard, it was incorrect The Dax 2025-07-04 12:02:22 -04:00
  • 896f157348 Fix a small issue with the !equip command -It wasn't setting the item's condition, causing the game UI to behave strangely when looking at the item's tooltip -Added a constant for the maximum item durability The Dax 2025-07-04 13:10:12 -04:00
  • 15f2965199 Fix doc comments The Dax 2025-07-04 12:52:19 -04:00
  • 01b5acfbbb Document two more item operations: move (to an empty slot) and exchange (when swapping slots with another item) The Dax 2025-07-04 12:51:37 -04:00
  • aa1ecb894f Move it to a constant, and remove redundant comment The Dax 2025-07-04 12:34:03 -04:00
  • c97e1ad0f0 Inventory: fix the operation type for item discard, it was incorrect The Dax 2025-07-04 12:02:22 -04:00
  • 7291863481 Move scrambler module to packet Joshua Goins 2025-07-04 12:22:49 -04:00
  • 7ccd132129 Unify version and file checking behind one config parameter Joshua Goins 2025-07-04 11:56:12 -04:00
  • 70c423e48f Update Physis to fix loading certain LGBs again Joshua Goins 2025-07-04 11:49:22 -04:00
  • 1c7570c696 Bounds check the string parts vecs. The Dax 2025-07-03 07:05:55 -04:00
  • b3c954ed83 Fix error string The Dax 2025-07-02 22:24:13 -04:00
  • d011f11e54 Lobby server: implement a server-side version check against the version info the client sends. -TLDR: it checks file length and sha1 hash of the game exe, and all of the version strings. The Dax 2025-07-02 22:13:30 -04:00
  • ca90d8b787
    Move the login message from Lua scripts into the config file. (#100) thedax 2025-07-04 11:42:52 -04:00
  • 9532abcaa6 Address "warning: you should consider adding a Default implementation for ScramblerKeyGenerator" The Dax 2025-07-04 10:46:50 -04:00
  • 4cae9a649a Address two of "warning: casting to the same type is unnecessary (i32 -> i32)" The Dax 2025-07-04 10:44:28 -04:00
  • 57b90ca3dd Address "warning: this expression borrows a value the compiler would automatically borrow" The Dax 2025-07-04 10:41:43 -04:00
  • b3b7b2e57f Address two of "warning: function call inside of expect" The Dax 2025-07-04 10:40:45 -04:00
  • 72915e11d9 Address two of "warning: redundant pattern matching, consider using is_ok()" -We should really refactor this part of the code, it's a bunch of copy paste. The Dax 2025-07-04 10:32:59 -04:00
  • fe25cc6210 Address three of "warning: casting to the same type is unnecessary (u32 -> u32)" The Dax 2025-07-04 10:30:04 -04:00
  • 3a9912776f Address "warning: useless use of format!" The Dax 2025-07-04 10:28:21 -04:00
  • 86c8d58fe3 Address "warning: this expression creates a reference which is immediately dereferenced by the compiler" The Dax 2025-07-04 10:26:43 -04:00
  • 05f83459c1 Address "warning: deref which would be done by auto-deref" The Dax 2025-07-04 10:25:23 -04:00
  • ba58c9f5b0 Bounds check the string parts vecs. The Dax 2025-07-03 07:05:55 -04:00
  • 5e2204c0e7 Fix error string The Dax 2025-07-02 22:24:13 -04:00
  • f6d1b55b35 Lobby server: implement a server-side version check against the version info the client sends. -TLDR: it checks file length and sha1 hash of the game exe, and all of the version strings. The Dax 2025-07-02 22:13:30 -04:00
  • 7aba30dddf Move the login message from Lua scripts into the config file. -Provide a new API function: getLoginMessage which will fetch it from the config file. The Dax 2025-07-04 10:12:13 -04:00
  • f45c43db69 Address "warning: you should consider adding a Default implementation for ScramblerKeyGenerator" The Dax 2025-07-04 10:46:50 -04:00
  • a179be9f01 Address two of "warning: casting to the same type is unnecessary (i32 -> i32)" The Dax 2025-07-04 10:44:28 -04:00
  • 7329b84fa4 Address "warning: this expression borrows a value the compiler would automatically borrow" The Dax 2025-07-04 10:41:43 -04:00
  • 93c32b272f Address two of "warning: function call inside of expect" The Dax 2025-07-04 10:40:45 -04:00
  • 856cfe2f7f Address two of "warning: redundant pattern matching, consider using is_ok()" -We should really refactor this part of the code, it's a bunch of copy paste. The Dax 2025-07-04 10:32:59 -04:00
  • 37b6c9cb4b Address three of "warning: casting to the same type is unnecessary (u32 -> u32)" The Dax 2025-07-04 10:30:04 -04:00
  • 871b2575b1 Address "warning: useless use of format!" The Dax 2025-07-04 10:28:21 -04:00
  • 31e8b90178 Address "warning: this expression creates a reference which is immediately dereferenced by the compiler" The Dax 2025-07-04 10:26:43 -04:00
  • 51c278a7fe Address "warning: deref which would be done by auto-deref" The Dax 2025-07-04 10:25:23 -04:00
  • 2d6c740829
    Fix cargo test compilation (#102) thedax 2025-07-04 11:35:06 -04:00
  • 5c8e0f3e62 Change Unk1 ClientTrigger to BeginLoading Joshua Goins 2025-07-04 11:33:48 -04:00
  • c65e413900 Make loading zone LGBs more accurate Joshua Goins 2025-07-04 11:33:01 -04:00
  • 37f0e07116 Add missing bin files for scrambler Joshua Goins 2025-07-04 11:23:19 -04:00
  • c32b1f4a5d Fix cargo test compilation The Dax 2025-07-04 11:23:12 -04:00
  • 5035dcab82 Begin implementing more packet obsfucation Joshua Goins 2025-07-03 17:00:55 -04:00
  • fb46a44e18 Begin correctly implementing packet obsfucation Joshua Goins 2025-07-03 16:12:19 -04:00
  • 8894e25da4
    Update all but one opcode for 7.25h3 (#99) thedax 2025-07-03 12:57:51 -04:00
  • f8bc5c010f Update all but one opcode for 7.25h3 The Dax 2025-07-03 12:16:13 -04:00
  • bc7ab11deb
    Lobby server: send back more accurate error messages for problems (#97) 2025.06.19.0000.0000 thedax 2025-07-02 21:59:25 -04:00
  • 5998b7dd20 Send the dreaded 2002 error code instead. Exact error codes would probably be better. -It is unknown if there's a list somewhere. The Dax 2025-07-02 17:38:47 -04:00
  • ea3206560c Lobby server: send back more accurate error messages for problems The Dax 2025-07-02 17:25:17 -04:00
  • 01b396a656
    Refactor gamedata to use a more general get_item_info function (#96) thedax 2025-07-02 13:30:48 -04:00
  • 046dc5584e Minor style nit The Dax 2025-07-02 13:25:52 -04:00
  • 03009dae6a Refactor gamedata to use a more general get_item_info function -You can search for items by id or name -The logic is all centrally located, eliminating all of the duplicated loops everywhere The Dax 2025-07-02 13:09:59 -04:00
  • a83d455e86
    Hook up a couple more generic gatekeepers (#95) thedax 2025-07-02 08:18:10 -04:00
  • 0385f0f06b Hook up a couple more generic gatekeepers The Dax 2025-07-01 21:50:15 -04:00
  • 9bed7595cc
    Implement items costing money now (#94) thedax 2025-07-01 21:21:47 -04:00
  • f0dda39a60 Implement items costing money now -Includes an extra check for trying to bypass the client-side -Update dependencies -Include a message that selling isn't supported yet -Display a message indicating an item was bought The Dax 2025-07-01 18:02:12 -04:00
  • 927c093915 Send your completed quests list Joshua Goins 2025-07-01 19:49:25 -04:00
  • 97682086f0 Re-enable //gm collect -It requires a player to be targeted ingame, no target or any actor that isn't a player will result in a generic "GM Command Failed" message The Dax 2025-07-01 12:40:44 -04:00
  • e304e895bf Update USAGE.md The Dax 2025-07-01 12:20:29 -04:00
  • 4b52ae6d0a InspectPlayer: make various variables local The Dax 2025-07-01 11:59:36 -04:00
  • 4841a5e469 InspectPlayer: add quantity amount to the print statements for the inventory The Dax 2025-07-01 11:39:24 -04:00
  • 3b6fcb7ba1 Extend the Lua API: -Implement GM command collect (subtracts gil from player), but the ingame command's params are unknown, Lua only -Implement GM command inspect, but the IPC opcode for it is different than GMCommand and is thus far unimplemented, Lua only -The Lua API can now access all of the player's inventory (read-only) The Dax 2025-07-01 07:52:50 -04:00
  • 70afe2e8ad Re-enable //gm collect -It requires a player to be targeted ingame, no target or any actor that isn't a player will result in a generic "GM Command Failed" message The Dax 2025-07-01 12:40:44 -04:00
  • b351b59c27 Update USAGE.md The Dax 2025-07-01 12:20:29 -04:00
  • cb97601f8a InspectPlayer: make various variables local The Dax 2025-07-01 11:59:36 -04:00
  • f08fe245a4 InspectPlayer: add quantity amount to the print statements for the inventory The Dax 2025-07-01 11:39:24 -04:00
  • 8e7cccb609 Extend the Lua API: -Implement GM command collect (subtracts gil from player), but the ingame command's params are unknown, Lua only -Implement GM command inspect, but the IPC opcode for it is different than GMCommand and is thus far unimplemented, Lua only -The Lua API can now access all of the player's inventory (read-only) The Dax 2025-07-01 07:52:50 -04:00
  • 877ec335a9
    Address four of "warning: variables can be used directly in the format! string" (#92) thedax 2025-07-01 06:55:25 -04:00
  • 1b19ed86f2 Address four of "warning: variables can be used directly in the format! string" The Dax 2025-06-30 22:09:30 -04:00
  • d14dd3ccd9 Address: "warning: the variable sequence is used as a loop counter" The Dax 2025-06-30 20:36:57 -04:00
  • b0282eb6bc Address "warning: you seem to be trying to use match for destructuring a single pattern. Consider using if let" The Dax 2025-06-30 20:32:41 -04:00
  • 1fe3e3e81d Address "warning: using clone on type [u32; 10] which implements the Copy trait" The Dax 2025-06-30 20:19:25 -04:00
  • 1f065472d0 Address "warning: casting to the same type is unnecessary (u32 -> u32)" The Dax 2025-06-30 20:18:17 -04:00
  • 3fc863616c Address "warning: unneeded return statement" The Dax 2025-06-30 20:17:18 -04:00
  • 02472a2332 Address "warning: useless use of format!" The Dax 2025-06-30 20:14:00 -04:00
  • daa6e9db25 Address: "warning: the variable sequence is used as a loop counter" The Dax 2025-06-30 20:36:57 -04:00
  • 84ea0ee01d Address "warning: you seem to be trying to use match for destructuring a single pattern. Consider using if let" The Dax 2025-06-30 20:32:41 -04:00
  • 3695ee4352 Begin implementing gil shops, add free item to inventory Joshua Goins 2025-06-30 20:26:15 -04:00
  • a1e6488533 Update Icarus to 2025.06.10.0000.0000 Joshua Goins 2025-06-30 20:17:08 -04:00
  • a83290ae06 Address "warning: using clone on type [u32; 10] which implements the Copy trait" The Dax 2025-06-30 20:19:25 -04:00
  • b749136195 Address "warning: casting to the same type is unnecessary (u32 -> u32)" The Dax 2025-06-30 20:18:17 -04:00
  • 9f759e64b5 Address "warning: unneeded return statement" The Dax 2025-06-30 20:17:18 -04:00
  • edd958c045 Address "warning: useless use of format!" The Dax 2025-06-30 20:14:00 -04:00
  • 7294da465c Document the missing exit-to-inn warps for Tuliyollal and Old Sharlayan The Dax 2025-06-30 17:06:44 -04:00
  • a5522bb637 Document the missing big aetheryte event ids, enable them, and note they don't work for now -Also update the newest thoughts on why the limsa <-> costa ferrys don't work The Dax 2025-06-30 16:59:09 -04:00
  • 241a5c524d Document the missing exit-to-inn warps for Tuliyollal and Old Sharlayan The Dax 2025-06-30 17:06:44 -04:00
  • 1d1cf61ad7 Document the missing big aetheryte event ids, enable them, and note they don't work for now -Also update the newest thoughts on why the limsa <-> costa ferrys don't work The Dax 2025-06-30 16:59:09 -04:00
  • 5a580149b4
    Document some opcodes related to shops and implement a generic gil shopkeeper script (#85) thedax 2025-06-30 15:21:08 -04:00
  • 28a4e001ed Address comment nits The Dax 2025-06-30 15:10:39 -04:00
  • 9d77ff4836 Cargo fmt The Dax 2025-06-30 14:57:22 -04:00
  • f2c7badfa1 Document some opcodes related to shops and implement a generic gil shopkeeper script -You can now interact with shopkeepers, and if you have enough gil, you can attempt to purchase items -Upon trying to buy items the event will auto-cancel for now, because we're missing implementations of several opcodes related to inventory management The Dax 2025-06-30 14:48:00 -04:00
  • f778f9a571 Support sending an arbitrary amount of event params Joshua Goins 2025-06-28 16:17:54 -04:00
  • 5b8a61c1ce Add the various sizes of EventScene Joshua Goins 2025-06-28 16:05:36 -04:00
  • 2762407585 Rename EventReturnHandler to EventYieldHandler, make generic Joshua Goins 2025-06-28 15:57:45 -04:00
  • 670d25a980 Disable sending exp again Joshua Goins 2025-06-28 15:27:53 -04:00
  • fd4436db01 Fix a few more fields in PlayerStatus Joshua Goins 2025-06-28 15:23:56 -04:00
  • 41d8424615 Read unknown packet data in more places Joshua Goins 2025-06-28 15:15:45 -04:00