From 2bcf4f6b9b1ae89b15ca93f3f282153e333ce362 Mon Sep 17 00:00:00 2001 From: karashiiro <49822414+karashiiro@users.noreply.github.com> Date: Tue, 12 Nov 2019 10:24:57 -0800 Subject: [PATCH 1/2] Market, inventory and player opcodes for 5.11, SetBait ActorControl --- src/common/Network/CommonActorControl.h | 2 ++ src/common/Network/PacketDef/Ipcs.h | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/common/Network/CommonActorControl.h b/src/common/Network/CommonActorControl.h index bcdc67bf..6fe9f1d2 100644 --- a/src/common/Network/CommonActorControl.h +++ b/src/common/Network/CommonActorControl.h @@ -241,6 +241,8 @@ namespace Sapphire::Network::ActorControl GearSetEquipMsg = 0x321, + SetBait = 0x325, // param1: bait ID + SetFestival = 0x386, // param1: festival.exd index ToggleOrchestrionUnlock = 0x396, diff --git a/src/common/Network/PacketDef/Ipcs.h b/src/common/Network/PacketDef/Ipcs.h index a9e14e32..0d453266 100644 --- a/src/common/Network/PacketDef/Ipcs.h +++ b/src/common/Network/PacketDef/Ipcs.h @@ -106,12 +106,12 @@ namespace Sapphire::Network::Packets ReqMoogleMailLetter = 0x0139, // updated 5.0 MailLetterNotification = 0x013A, // updated 5.0 - MarketTaxRates = 0x0076, // added 5.1 + MarketTaxRates = 0x039F, // updated 5.11 - MarketBoardItemListingCount = 0x039D, // updated 5.1 - MarketBoardItemListing = 0x036A, // updated 5.1 - MarketBoardItemListingHistory = 0x0194, // updated 5.1 - MarketBoardSearchResult = 0x0371, // updated 5.1 + MarketBoardItemListingCount = 0x00F2, // updated 5.11 + MarketBoardItemListing = 0x01E2, // updated 5.11 + MarketBoardItemListingHistory = 0x0123, // updated 5.11 + MarketBoardSearchResult = 0x00B7, // updated 5.11 CharaFreeCompanyTag = 0x013B, // updated 4.5 FreeCompanyBoardMsg = 0x013C, // updated 4.5 @@ -145,10 +145,10 @@ namespace Sapphire::Network::Packets HateList = 0x018A, // updated 5.0 ObjectSpawn = 0x018B, // updated 5.0 ObjectDespawn = 0x018C, // updated 5.0 - UpdateClassInfo = 0x018D, // updated 5.0 + UpdateClassInfo = 0x0399, // updated 5.11 SilentSetClassJob = 0x018E, // updated 5.0 - seems to be the case, not sure if it's actually used for anything - PlayerSetup = 0x018F, // updated 5.0 - PlayerStats = 0x0190, // updated 5.0 + PlayerSetup = 0x01A1, // updated 5.11 + PlayerStats = 0x0324, // updated 5.11 ActorOwner = 0x0192, // updated 5.0 PlayerStateFlags = 0x0193, // updated 5.0 PlayerClassInfo = 0x0194, // updated 5.0 @@ -162,14 +162,14 @@ namespace Sapphire::Network::Packets SetLevelSync = 0x1186, // not updated for 4.4, not sure what it is anymore - ItemInfo = 0x01A1, // updated 5.0 + ItemInfo = 0x01D4, // updated 5.11 ContainerInfo = 0x01A2, // updated 5.0 InventoryTransactionFinish = 0x01A3, // updated 5.0 InventoryTransaction = 0x01A4, // updated 5.0 - CurrencyCrystalInfo = 0x01A5, // updated 5.0 + CurrencyCrystalInfo = 0x02CA, // updated 5.11 InventoryActionAck = 0x01A7, // updated 5.0 - UpdateInventorySlot = 0x01A8, // updated 5.0 + UpdateInventorySlot = 0x0112, // updated 5.11 HuntingLogEntry = 0x01B3, // updated 5.0 @@ -328,7 +328,7 @@ namespace Sapphire::Network::Packets UpdatePositionHandler = 0x0141, // updated 5.0 - InventoryModifyHandler = 0x0148, // updated 5.0 + InventoryModifyHandler = 0x029B, // updated 5.11 InventoryEquipRecommendedItems = 0x0149, // updated 5.0 ReqPlaceHousingItem = 0x014B, // updated 5.0 From a87b6e2f52e01c5cc81ece383809dac33f45b611 Mon Sep 17 00:00:00 2001 From: karashiiro <49822414+karashiiro@users.noreply.github.com> Date: Tue, 12 Nov 2019 14:05:48 -0800 Subject: [PATCH 2/2] UpdateClassInfo correction --- src/common/Network/PacketDef/Ipcs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/Network/PacketDef/Ipcs.h b/src/common/Network/PacketDef/Ipcs.h index 0d453266..2eb56c18 100644 --- a/src/common/Network/PacketDef/Ipcs.h +++ b/src/common/Network/PacketDef/Ipcs.h @@ -145,7 +145,7 @@ namespace Sapphire::Network::Packets HateList = 0x018A, // updated 5.0 ObjectSpawn = 0x018B, // updated 5.0 ObjectDespawn = 0x018C, // updated 5.0 - UpdateClassInfo = 0x0399, // updated 5.11 + UpdateClassInfo = 0x00FC, // updated 5.11 SilentSetClassJob = 0x018E, // updated 5.0 - seems to be the case, not sure if it's actually used for anything PlayerSetup = 0x01A1, // updated 5.11 PlayerStats = 0x0324, // updated 5.11