diff --git a/common/emu_oplist.h b/common/emu_oplist.h index 223491ecd..936595afa 100644 --- a/common/emu_oplist.h +++ b/common/emu_oplist.h @@ -164,6 +164,7 @@ N(OP_FinishTrade), N(OP_FinishWindow), N(OP_FinishWindow2), N(OP_Fishing), +N(OP_Fling), N(OP_FloatListThing), N(OP_Forage), N(OP_ForceFindPerson), diff --git a/common/eq_packet_structs.h b/common/eq_packet_structs.h index 74eb9536e..0022aa347 100644 --- a/common/eq_packet_structs.h +++ b/common/eq_packet_structs.h @@ -5359,6 +5359,20 @@ struct TextLinkBody_Struct { int hash; /* %08X */ }; + +struct fling_struct { +/* 00 */ uint32 unk1; +/* 04 */ int32 travel_time; // ms -- UF we need to calc this, RoF+ -1 auto calcs +/* 08 */ char unk3; // bool, set to 1 has something to do with z-axis or something +/* 09 */ char disable_fall_damage; // 1 you take no fall damage, 0 you take fall damage +/* 10 */ uint8 padding[2]; +/* 12 */ float speed_z; +/* 16 */ float new_y; +/* 20 */ float new_x; +/* 24 */ float new_z; +/* 28 */ +}; + // Restore structure packing to default #pragma pack() diff --git a/utils/patches/patch_RoF.conf b/utils/patches/patch_RoF.conf index 7a33eb459..466043c39 100644 --- a/utils/patches/patch_RoF.conf +++ b/utils/patches/patch_RoF.conf @@ -356,6 +356,7 @@ OP_Weblink=0x7cce #OP_OpenInventory=0x0000 # Likely does not exist in RoF -U OP_OpenContainer=0x654f OP_Marquee=0x288a +OP_Fling=0x6b8e OP_DzQuit=0x5fc8 OP_DzListTimers=0x67b9 diff --git a/utils/patches/patch_RoF2.conf b/utils/patches/patch_RoF2.conf index 8ae8a1a69..8582ab503 100644 --- a/utils/patches/patch_RoF2.conf +++ b/utils/patches/patch_RoF2.conf @@ -357,6 +357,7 @@ OP_Marquee=0x502e OP_ItemRecastDelay=0x15a9 #OP_OpenInventory=0x0000 # Likely does not exist in RoF -U OP_ResetAA=0x1669 +OP_Fling=0x6f80 # Expeditions OP_DzAddPlayer=0x4701 diff --git a/utils/patches/patch_SoD.conf b/utils/patches/patch_SoD.conf index 2f01ef89b..1c362111b 100644 --- a/utils/patches/patch_SoD.conf +++ b/utils/patches/patch_SoD.conf @@ -351,6 +351,7 @@ OP_InspectMessageUpdate=0x53a3 # C OP_OpenInventory=0x1003 OP_OpenContainer=0x3278 OP_Marquee=0x7dc9 +OP_Fling=0x2b88 # Expedition OP_DzQuit=0x054e diff --git a/utils/patches/patch_UF.conf b/utils/patches/patch_UF.conf index 1e57a202d..cb7d11851 100644 --- a/utils/patches/patch_UF.conf +++ b/utils/patches/patch_UF.conf @@ -361,6 +361,7 @@ OP_InspectMessageUpdate=0x7fa1 # C #OP_OpenInventory=0x0000 # Likely does not exist in UF -U OP_OpenContainer=0x041a OP_Marquee=0x3675 +OP_Fling=0x51b1 OP_DzQuit=0x1539 OP_DzListTimers=0x21e9