mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 04:56:20 +00:00
Validated message and interrupt packets, needs refactor for full functionality
This commit is contained in:
@@ -671,8 +671,8 @@ namespace TOB
|
||||
}
|
||||
|
||||
SerializeBuffer buffer;
|
||||
buffer.WriteUInt32(emu->unknown0);
|
||||
buffer.WriteUInt8(0); // Observed
|
||||
buffer.WriteUInt32(0); // This is a string written like the message arrays
|
||||
buffer.WriteUInt8(emu->unknown0);
|
||||
buffer.WriteUInt32(emu->string_id);
|
||||
buffer.WriteUInt32(emu->type);
|
||||
|
||||
@@ -972,7 +972,7 @@ namespace TOB
|
||||
else if (emu->scribing == 3)
|
||||
eq->scribing = 4;
|
||||
else
|
||||
OUT(scribing); // TODO: can handle 4 here (I assume it's just like 2 or 3 but can have a reduction component)
|
||||
OUT(scribing);
|
||||
|
||||
OUT(slot);
|
||||
OUT(spell_id);
|
||||
@@ -3866,7 +3866,7 @@ namespace TOB
|
||||
else if (eq->scribing == 4)
|
||||
emu->scribing = 3;
|
||||
else
|
||||
IN(scribing); // TODO: Handle 4 here (clicky keyring)
|
||||
IN(scribing);
|
||||
|
||||
IN(slot);
|
||||
IN(spell_id);
|
||||
|
||||
@@ -713,6 +713,13 @@ namespace TOB {
|
||||
/*39*/
|
||||
};
|
||||
|
||||
struct InterruptCast_Struct
|
||||
{
|
||||
uint32 spawnid;
|
||||
uint32 messageid;
|
||||
char message[0];
|
||||
};
|
||||
|
||||
struct EQAffectSlot_Struct {
|
||||
/*00*/ int32 slot;
|
||||
/*04*/ int32 padding;
|
||||
|
||||
Reference in New Issue
Block a user