Validated message and interrupt packets, needs refactor for full functionality

This commit is contained in:
dannuic
2026-04-18 12:08:54 -06:00
parent b8ee811ac6
commit c5d089de68
3 changed files with 15 additions and 8 deletions
+4 -4
View File
@@ -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);
+7
View File
@@ -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;