mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
Switch Inspect Buffs to use the OP code
Client 6.2 is SOL until someone find the op for that client
This commit is contained in:
@@ -245,6 +245,7 @@ N(OP_IncreaseStats),
|
||||
N(OP_InitialHPUpdate),
|
||||
N(OP_InitialMobHealth),
|
||||
N(OP_InspectAnswer),
|
||||
N(OP_InspectBuffs),
|
||||
N(OP_InspectMessageUpdate),
|
||||
N(OP_InspectRequest),
|
||||
N(OP_InstillDoubt),
|
||||
|
||||
@@ -3968,6 +3968,11 @@ struct MarkNPC_Struct
|
||||
/*08**/ char Name[64];
|
||||
};
|
||||
|
||||
struct InspectBuffs_Struct {
|
||||
/*000*/ uint32 spell_id[BUFF_COUNT];
|
||||
/*100*/ uint32 tics_remaining[BUFF_COUNT];
|
||||
};
|
||||
|
||||
struct RaidGeneral_Struct {
|
||||
/*00*/ uint32 action; //=10
|
||||
/*04*/ char player_name[64]; //should both be the player's name
|
||||
|
||||
@@ -1309,6 +1309,20 @@ namespace RoF
|
||||
FINISH_ENCODE();
|
||||
}*/
|
||||
|
||||
ENCODE(OP_InspectBuffs)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(InspectBuffs_Struct);
|
||||
SETUP_DIRECT_ENCODE(InspectBuffs_Struct, structs::InspectBuffs_Struct);
|
||||
|
||||
// we go over the internal 25 instead of the packet's since no entry is 0, which it will be already
|
||||
for (int i = 0; i < BUFF_COUNT; i++) {
|
||||
OUT(spell_id[i]);
|
||||
OUT(tics_remaining[i]);
|
||||
}
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
ENCODE(OP_InspectRequest)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(Inspect_Struct);
|
||||
|
||||
@@ -44,6 +44,7 @@ E(OP_GuildMemberUpdate)
|
||||
E(OP_GuildsList)
|
||||
E(OP_HPUpdate)
|
||||
E(OP_Illusion)
|
||||
E(OP_InspectBuffs)
|
||||
E(OP_InspectRequest)
|
||||
E(OP_InterruptCast)
|
||||
E(OP_ItemLinkResponse)
|
||||
|
||||
@@ -2473,6 +2473,11 @@ struct GroupFollow_Struct { // Live Follow Struct
|
||||
/*0152*/
|
||||
};
|
||||
|
||||
struct InspectBuffs_Struct {
|
||||
/*000*/ uint32 spell_id[BUFF_COUNT];
|
||||
/*168*/ uint32 tics_remaining[BUFF_COUNT];
|
||||
};
|
||||
|
||||
struct LFG_Struct {
|
||||
/*000*/ uint32 unknown000;
|
||||
/*004*/ uint32 value; // 0x00 = off 0x01 = on
|
||||
|
||||
@@ -1125,6 +1125,20 @@ namespace Underfoot
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
ENCODE(OP_InspectBuffs)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(InspectBuffs_Struct);
|
||||
SETUP_DIRECT_ENCODE(InspectBuffs_Struct, structs::InspectBuffs_Struct);
|
||||
|
||||
// we go over the internal 25 instead of the packet's since no entry is 0, which it will be already
|
||||
for (int i = 0; i < BUFF_COUNT; i++) {
|
||||
OUT(spell_id[i]);
|
||||
OUT(tics_remaining[i]);
|
||||
}
|
||||
|
||||
FINISH_ENCODE();
|
||||
}
|
||||
|
||||
ENCODE(OP_InspectRequest)
|
||||
{
|
||||
ENCODE_LENGTH_EXACT(Inspect_Struct);
|
||||
|
||||
@@ -34,6 +34,7 @@ E(OP_GroupUpdate)
|
||||
E(OP_GuildMemberList)
|
||||
E(OP_GuildsList)
|
||||
E(OP_Illusion)
|
||||
E(OP_InspectBuffs)
|
||||
E(OP_InspectRequest)
|
||||
E(OP_ItemLinkResponse)
|
||||
E(OP_ItemPacket)
|
||||
|
||||
@@ -2166,6 +2166,14 @@ struct GroupFollow_Struct { // Underfoot Follow Struct
|
||||
/*0152*/
|
||||
};
|
||||
|
||||
struct InspectBuffs_Struct {
|
||||
/*000*/ uint32 spell_id[BUFF_COUNT];
|
||||
/*100*/ uint32 filler100[5]; // BUFF_COUNT is really 30...
|
||||
/*120*/ uint32 tics_remaining[BUFF_COUNT];
|
||||
/*220*/ uint32 filler220[5]; // BUFF_COUNT is really 30...
|
||||
};
|
||||
|
||||
|
||||
struct LFG_Struct {
|
||||
/*000*/ uint32 unknown000;
|
||||
/*004*/ uint32 value; // 0x00 = off 0x01 = on
|
||||
|
||||
Reference in New Issue
Block a user