Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] is it the write with the data or is it passed in the cmsg? does anyone know?

[DiscordArchive] is it the write with the data or is it passed in the cmsg? does anyone know?

[DiscordArchive] is it the write with the data or is it passed in the cmsg? does anyone know?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
02-28-2023, 05:09 PM
#11
Archived author: Tea • Posted: 2023-02-28T17:09:46.074000+00:00
Original source

garrison pr too
rektbyfaith
02-28-2023, 05:09 PM #11

Archived author: Tea • Posted: 2023-02-28T17:09:46.074000+00:00
Original source

garrison pr too

rektbyfaith
Administrator
0
02-28-2023, 05:10 PM
#12
Archived author: MaxtorCoder • Posted: 2023-02-28T17:10:40.443000+00:00
Original source

```cs
[Parser(Opcode.SMSG_SPELL_EMPOWER_SET_STAGE)]
public static void HandleEmpowerSetStage(Packet packet)
{
packet.ReadPackedGuid128("CastGUID");
packet.ReadPackedGuid128("CasterGUID");
packet.ReadUInt32("StageId");
}

[Parser(Opcode.SMSG_SPELL_EMPOWER_UPDATE)]
public static void HandleEmpowerUpdate(Packet packet)
{
packet.ReadPackedGuid128("CastGUID");
packet.ReadPackedGuid128("CasterGUID");
packet.ReadInt32("TimeRemaining");
var stageCount = packet.ReadUInt32("RemainingStageCount");
packet.ResetBitReader();
packet.ReadBit("UnkBit");

for (int i = 0; i < stageCount; i++)
packet.ReadUInt32("Duration", "Stage", i);
}

[Parser(Opcode.CMSG_SPELL_EMPOWER_RELEASE)]
[Parser(Opcode.CMSG_SPELL_EMPOWER_RESTART)]
public static void HandleEmpowerRelease(Packet packet)
{
packet.ReadUInt32<SpellId>("SpellId");
}

[Parser(Opcode.SMSG_SPELL_EMPOWER_START)]
public static void HandleEmpowerStart(Packet packet)
{
packet.ReadPackedGuid128("CastGUID");
packet.ReadPackedGuid128("CasterGUID");

var playersCount = packet.ReadUInt32("TargetsCount");
packet.ReadInt32<SpellId>("SpellId");

V9_0_1_35707.Parsers.SpellHandler.ReadSpellCastVisual(packet, "Visual");

packet.ReadUInt32("Duration");
packet.ReadUInt32("FirstStageDuration");
packet.ReadUInt32("FinalStageDuration");
var stageCount = packet.ReadUInt32("StageCount");

for (var i = 0; i < playersCount; ++i)
packet.ReadPackedGuid128("Guid", "Targets", i);

for (var i = 0; i < stageCount; ++i)
packet.ReadUInt32("Duration", "Stage", i);

packet.ResetBitReader();
var hasInterruptImmunities = packet.ReadBit("HasInterruptImmunities");
var hasHealPrediction = packet.ReadBit("HasHealPrediction");

if (hasInterruptImmunities)
V6_0_2_19033.Parsers.SpellHandler.ReadSpellChannelStartInterruptImmunities(packet, "InterruptImmunities");

if (hasHealPrediction)
V6_0_2_19033.Parsers.SpellHandler.ReadSpellTargetedHealPrediction(packet, "HealPrediction");
}
```
rektbyfaith
02-28-2023, 05:10 PM #12

Archived author: MaxtorCoder • Posted: 2023-02-28T17:10:40.443000+00:00
Original source

```cs
[Parser(Opcode.SMSG_SPELL_EMPOWER_SET_STAGE)]
public static void HandleEmpowerSetStage(Packet packet)
{
packet.ReadPackedGuid128("CastGUID");
packet.ReadPackedGuid128("CasterGUID");
packet.ReadUInt32("StageId");
}

[Parser(Opcode.SMSG_SPELL_EMPOWER_UPDATE)]
public static void HandleEmpowerUpdate(Packet packet)
{
packet.ReadPackedGuid128("CastGUID");
packet.ReadPackedGuid128("CasterGUID");
packet.ReadInt32("TimeRemaining");
var stageCount = packet.ReadUInt32("RemainingStageCount");
packet.ResetBitReader();
packet.ReadBit("UnkBit");

for (int i = 0; i < stageCount; i++)
packet.ReadUInt32("Duration", "Stage", i);
}

[Parser(Opcode.CMSG_SPELL_EMPOWER_RELEASE)]
[Parser(Opcode.CMSG_SPELL_EMPOWER_RESTART)]
public static void HandleEmpowerRelease(Packet packet)
{
packet.ReadUInt32<SpellId>("SpellId");
}

[Parser(Opcode.SMSG_SPELL_EMPOWER_START)]
public static void HandleEmpowerStart(Packet packet)
{
packet.ReadPackedGuid128("CastGUID");
packet.ReadPackedGuid128("CasterGUID");

var playersCount = packet.ReadUInt32("TargetsCount");
packet.ReadInt32<SpellId>("SpellId");

V9_0_1_35707.Parsers.SpellHandler.ReadSpellCastVisual(packet, "Visual");

packet.ReadUInt32("Duration");
packet.ReadUInt32("FirstStageDuration");
packet.ReadUInt32("FinalStageDuration");
var stageCount = packet.ReadUInt32("StageCount");

for (var i = 0; i < playersCount; ++i)
packet.ReadPackedGuid128("Guid", "Targets", i);

for (var i = 0; i < stageCount; ++i)
packet.ReadUInt32("Duration", "Stage", i);

packet.ResetBitReader();
var hasInterruptImmunities = packet.ReadBit("HasInterruptImmunities");
var hasHealPrediction = packet.ReadBit("HasHealPrediction");

if (hasInterruptImmunities)
V6_0_2_19033.Parsers.SpellHandler.ReadSpellChannelStartInterruptImmunities(packet, "InterruptImmunities");

if (hasHealPrediction)
V6_0_2_19033.Parsers.SpellHandler.ReadSpellTargetedHealPrediction(packet, "HealPrediction");
}
```

rektbyfaith
Administrator
0
02-28-2023, 05:11 PM
#13
Archived author: MaxtorCoder • Posted: 2023-02-28T17:11:01.450000+00:00
Original source

That should do
rektbyfaith
02-28-2023, 05:11 PM #13

Archived author: MaxtorCoder • Posted: 2023-02-28T17:11:01.450000+00:00
Original source

That should do

rektbyfaith
Administrator
0
02-28-2023, 05:11 PM
#14
Archived author: ModoX • Posted: 2023-02-28T17:11:15.123000+00:00
Original source

Wpp pr when
rektbyfaith
02-28-2023, 05:11 PM #14

Archived author: ModoX • Posted: 2023-02-28T17:11:15.123000+00:00
Original source

Wpp pr when

rektbyfaith
Administrator
0
02-28-2023, 05:11 PM
#15
Archived author: Pandaros • Posted: 2023-02-28T17:11:36.962000+00:00
Original source

thank you
rektbyfaith
02-28-2023, 05:11 PM #15

Archived author: Pandaros • Posted: 2023-02-28T17:11:36.962000+00:00
Original source

thank you

rektbyfaith
Administrator
0
02-28-2023, 05:11 PM
#16
Archived author: Pandaros • Posted: 2023-02-28T17:11:44.583000+00:00
Original source

I appreciate it
rektbyfaith
02-28-2023, 05:11 PM #16

Archived author: Pandaros • Posted: 2023-02-28T17:11:44.583000+00:00
Original source

I appreciate it

rektbyfaith
Administrator
0
02-28-2023, 05:13 PM
#17
Archived author: MaxtorCoder • Posted: 2023-02-28T17:13:08.083000+00:00
Original source

On the phone so I cba rn
rektbyfaith
02-28-2023, 05:13 PM #17

Archived author: MaxtorCoder • Posted: 2023-02-28T17:13:08.083000+00:00
Original source

On the phone so I cba rn

rektbyfaith
Administrator
0
02-28-2023, 05:13 PM
#18
Archived author: MaxtorCoder • Posted: 2023-02-28T17:13:26.852000+00:00
Original source

And can’t use PC because changing GPU and am 1 cable short and don’t wanna fry my PSU
rektbyfaith
02-28-2023, 05:13 PM #18

Archived author: MaxtorCoder • Posted: 2023-02-28T17:13:26.852000+00:00
Original source

And can’t use PC because changing GPU and am 1 cable short and don’t wanna fry my PSU

rektbyfaith
Administrator
0
02-28-2023, 05:15 PM
#19
Archived author: M'Dic • Posted: 2023-02-28T17:15:10.798000+00:00
Original source

I remember back in the day everyone would have a gpu for atleast 6 years before upgrading. This was like the 90s though. Now u got things getting obsolete or wildly evolved in the matter of 2 years
rektbyfaith
02-28-2023, 05:15 PM #19

Archived author: M'Dic • Posted: 2023-02-28T17:15:10.798000+00:00
Original source

I remember back in the day everyone would have a gpu for atleast 6 years before upgrading. This was like the 90s though. Now u got things getting obsolete or wildly evolved in the matter of 2 years

rektbyfaith
Administrator
0
02-28-2023, 05:15 PM
#20
Archived author: M'Dic • Posted: 2023-02-28T17:15:23.162000+00:00
Original source

Starting to feel like mac products. Lol
rektbyfaith
02-28-2023, 05:15 PM #20

Archived author: M'Dic • Posted: 2023-02-28T17:15:23.162000+00:00
Original source

Starting to feel like mac products. Lol

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)