WIP items

This commit is contained in:
KimLS 2024-11-22 19:06:18 -08:00
parent 8947058465
commit d713ff69bf
5 changed files with 1118 additions and 9 deletions

File diff suppressed because it is too large Load Diff

View File

@ -70,7 +70,23 @@ namespace Larion
typeMail,
typeGuildTrophyTribute,
typeKrono,
typeOther
typeOther,
typeMercenaryItems,
typeViewModMercenaryItems,
typeMountKeyRingItems,
typeViewModMountKeyRingItems,
typeIllusionKeyRingItems,
typeViewModIllusionKeyRingItems,
typeFamiliarKeyRingItems,
typeViewModFamiliarKeyRingItems,
typeHeroForgeKeyRingItems,
typeViewModHeroForgeKeyRingItems,
typeTeleportationKeyRingItems,
typeViewModTeleportationKeyRingItems,
typeOverflow,
typeDragonHoard,
typeTradeskillDepot,
typeGuildTradeskillDepot
};
} // namespace enum_

View File

@ -24,6 +24,7 @@ E(OP_WearChange)
E(OP_ChannelMessage)
E(OP_SpecialMesg)
E(OP_DeleteSpawn)
E(OP_FormattedMessage)
//list of packets we need to decode on the way in:
D(OP_EnterWorld)
D(OP_ZoneEntry)
@ -31,6 +32,7 @@ D(OP_ZoneChange)
D(OP_ClientUpdate)
D(OP_WearChange)
D(OP_ChannelMessage)
D(OP_SetServerFilter)
#undef E
#undef D

View File

@ -408,6 +408,36 @@ namespace Larion {
/*05*/
};
//OP_SetServerFilter
struct SetServerFilter_Struct {
uint32 filters[68];
};
// Was new to RoF2, doesn't look changed
// The padding is because these structs are padded to the default 4 bytes
struct InventorySlot_Struct
{
/*000*/ int16 Type;
/*002*/ int16 Padding1;
/*004*/ int16 Slot;
/*006*/ int16 SubIndex;
/*008*/ int16 AugIndex;
/*010*/ int16 Padding2;
/*012*/
};
// Was new for RoF2 - Used for Merchant_Purchase_Struct, doesn't look changed
// Can't sellfrom other than main inventory so Slot Type is not needed.
// The padding is because these structs are padded to the default 4 bytes
struct TypelessInventorySlot_Struct
{
/*000*/ int16 Slot;
/*002*/ int16 SubIndex;
/*004*/ int16 AugIndex;
/*006*/ int16 Padding;
/*008*/
};
#pragma pack()
}; //end namespace structs

View File

@ -46,7 +46,7 @@ OP_WorldUnknown001=0x2049
OP_FloatListThing=0x0000
# Reasons for Disconnect:
OP_ZoneUnavail=0x0000
OP_ZoneUnavail=0x582d
OP_WorldClientReady=0x7ed8
OP_CharacterStillInZone=0x0000
OP_WorldChecksumFailure=0x0000
@ -66,8 +66,8 @@ OP_NewZone=0x4341
OP_ZoneSpawns=0x17d9
OP_PlayerProfile=0x1c76
OP_TimeOfDay=0x3736
OP_LevelUpdate=0x0000 #0x0eb2
OP_Stamina=0x0000 #0x1563
OP_LevelUpdate=0x0eb2
OP_Stamina=0x1563
OP_RequestClientZoneChange=0x0191
OP_ZoneChange=0x17a3
OP_LockoutTimerInfo=0x0000
@ -112,7 +112,7 @@ OP_CharInventory=0x21d6
OP_WearChange=0x44c0
OP_ClientUpdate=0x3a4b
OP_ClientReady=0x0831
OP_SetServerFilter=0x0000 #0x6b7f
OP_SetServerFilter=0x6b7f
# Guild Opcodes
OP_GetGuildMOTD=0x0000
@ -191,7 +191,7 @@ OP_DenyResponse=0x0000
OP_SkillUpdate=0x04c
OP_GMTrainSkillConfirm=0x0000
OP_RandomReq=0x0000
OP_Death=0x0000
OP_Death=0x429a
OP_GMTraining=0x0000
OP_GMEndTraining=0x0000
OP_GMTrainSkill=0x0000
@ -265,9 +265,9 @@ OP_NewSpawn=0x3ea8
OP_Track=0x0000
OP_TrackTarget=0x0000
OP_TrackUnknown=0x0000
OP_ClickDoor=0x0000
OP_MoveDoor=0x0000
OP_RemoveAllDoors=0x0000
OP_ClickDoor=0x733c
OP_MoveDoor=0x567c
OP_RemoveAllDoors=0x73e8
OP_EnvDamage=0x0000
OP_BoardBoat=0x0000
OP_LeaveBoat=0x0000