Validated up to OP_WorldObjectsSent

This commit is contained in:
dannuic
2026-04-16 15:59:54 -06:00
parent 767f04731b
commit f29d87aced
4 changed files with 680 additions and 675 deletions
+12 -22
View File
@@ -12,7 +12,7 @@ namespace TOB {
static const uint32 MAX_PP_UNKNOWN_ABILITIES = 25;
static const uint32 MAX_RECAST_TYPES = 25;
static const uint32 MAX_ITEM_RECAST_TYPES = 100;
static const uint32 BLOCKED_BUFF_COUNT = 40;
static const uint32 BLOCKED_BUFF_COUNT = 60; // this might not be needed?
static const uint32 BUFF_COUNT = 62;
static const uint32 MAX_PP_LANGUAGE = 32;
#pragma pack(1)
@@ -274,7 +274,6 @@ namespace TOB {
Unknown39,
Unknown40,
Unknown41,
Unknown42,
Birthdate,
EncounterLock
};
@@ -288,6 +287,15 @@ namespace TOB {
/*0024*/
};
struct ChangeSize_Struct
{
/*00*/ uint32 EntityID;
/*04*/ float Size;
/*08*/ float CameraOffset;
/*12*/ float AnimationSpeedRelated;
/*16*/
};
struct Spawn_Struct_Bitfields
{
union {
@@ -400,14 +408,14 @@ namespace TOB {
/*056*/ float X;
/*060*/ float Z;
/*064*/ float Heading;
/*068*/ float DoorAngle; //not sure if this is actually a float; it might be a uint32 like DefaultDoorAngle
/*068*/ float DoorAngle;
/*072*/ uint32 ScaleFactor; //rof2's size
/*076*/ uint32 Unknown76; //client doesn't seem to read this
/*080*/ uint8 Id; //doorid
/*081*/ uint8 Type; //opentype
/*082*/ uint8 State; //state_at_spawn
/*083*/ uint8 DefaultState; //invert_state
/*084*/ int32 Param; //door_param
/*084*/ int32 Param; //door_param (spell id?)
/*088*/ uint32 AdventureDoorId;
/*092*/ uint32 DynDoorID;
/*096*/ uint32 RealEstateDoorID;
@@ -549,15 +557,6 @@ namespace TOB {
/*024*/
};
struct ChangeSize_Struct
{
/*00*/ uint32 EntityID;
/*04*/ float Size;
/*08*/ uint32 Unknown08; // Observed 0
/*12*/ float Unknown12; // Observed 1.0f
/*16*/
};
struct SpawnHPUpdate_Struct
{
/*00*/ int16 spawn_id;
@@ -837,15 +836,6 @@ namespace TOB {
/*009*/ uint8 unknown009[3];
};
struct BlockedBuffs_Struct
{
/*000*/ int32 SpellID[BLOCKED_BUFF_COUNT];
/*120*/ uint32 Count;
/*124*/ uint8 Pet;
/*125*/ uint8 Initialise;
/*126*/ uint16 Flags;
};
struct ZonePlayerToBind_Struct {
//Same structure as the binds in PlayerProfile_Struct
//Assembly calls the same function