diff --git a/common/eq_packet_structs.h b/common/eq_packet_structs.h index 0022aa347..2a25450e8 100644 --- a/common/eq_packet_structs.h +++ b/common/eq_packet_structs.h @@ -5361,10 +5361,10 @@ struct TextLinkBody_Struct { struct fling_struct { -/* 00 */ uint32 unk1; +/* 00 */ uint32 collision; // 0 collision is off, anything else it's on /* 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 +/* 08 */ uint8 unk3; // bool, set to 1 has something to do with z-axis or something weird things happen if the new Z is above or equal to yours +/* 09 */ uint8 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; diff --git a/zone/lua_packet.cpp b/zone/lua_packet.cpp index 1eef7220d..648d6fa87 100644 --- a/zone/lua_packet.cpp +++ b/zone/lua_packet.cpp @@ -847,7 +847,8 @@ luabind::scope lua_register_packet_opcodes() { luabind::value("OpenContainer", static_cast(OP_OpenContainer)), luabind::value("Marquee", static_cast(OP_Marquee)), luabind::value("ClientTimeStamp", static_cast(OP_ClientTimeStamp)), - luabind::value("GuildPromote", static_cast(OP_GuildPromote)) + luabind::value("GuildPromote", static_cast(OP_GuildPromote)), + luabind::value("Fling", static_cast(OP_Fling)) ]; }