From d41e3dbef0cfb488b1417933452fea644c45f29f Mon Sep 17 00:00:00 2001 From: Flavien Normand Date: Thu, 10 Oct 2019 21:02:26 +0200 Subject: [PATCH 1/2] Update DesynthResult actorControl --- src/common/Network/CommonActorControl.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/common/Network/CommonActorControl.h b/src/common/Network/CommonActorControl.h index f620b381..428431dd 100644 --- a/src/common/Network/CommonActorControl.h +++ b/src/common/Network/CommonActorControl.h @@ -208,11 +208,18 @@ namespace Sapphire::Network::ActorControl /*! * Sent when a player desynths an item, one packet per result type (one for consumed item, one for each obtained items, and one for exp if the player received exp) - * param1 = result type (4921 => Item consumed, 4922 => Item obtained, 4925 => Exp obtained) - * param3 = item id (used for result types 4921 & 4922) + * param1 = result type + * 4921 => Desynth item consumed + * 4922 => Desynth item obtained + * 4925 => Desynth exp obtained) + * 3553 => Reduction item used + * 3555 => Reduction item obtained + * param3 = u16 item id + * u16 HQ item (when it's reduction, this one is Collectability score) + * param4 = item amount (used only for reduction it seems) * param5 = exp amount (x 100) */ - DesynthResult = 0x20F, + DesynthOrReductionResult = 0x20F, GilTrailMsg = 0x211, From 734e550471313289f9fba8c10f28c7db9fed2538 Mon Sep 17 00:00:00 2001 From: Supamiu Date: Fri, 11 Oct 2019 19:44:49 +0200 Subject: [PATCH 2/2] Fixes for DesynthOrReductionResult packet def --- src/common/Network/CommonActorControl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/Network/CommonActorControl.h b/src/common/Network/CommonActorControl.h index 428431dd..b69937a9 100644 --- a/src/common/Network/CommonActorControl.h +++ b/src/common/Network/CommonActorControl.h @@ -214,10 +214,11 @@ namespace Sapphire::Network::ActorControl * 4925 => Desynth exp obtained) * 3553 => Reduction item used * 3555 => Reduction item obtained - * param3 = u16 item id - * u16 HQ item (when it's reduction, this one is Collectability score) + * param3 = u32 item id (+100 000 if item is HQ) * param4 = item amount (used only for reduction it seems) * param5 = exp amount (x 100) + * + * Idk exactly how reduce's param3 is formatted, it seems like it's item id + 500 000 but it seems too... shady. */ DesynthOrReductionResult = 0x20F,