From 9a75d348bec87c61d63f7588bf56362d2d823d70 Mon Sep 17 00:00:00 2001 From: Kinglykrab Date: Wed, 11 Jun 2025 20:46:41 -0400 Subject: [PATCH] Add EVENT_ENTER_ZONE --- zone/lua_parser_events.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/zone/lua_parser_events.cpp b/zone/lua_parser_events.cpp index 153775e78..793caa641 100644 --- a/zone/lua_parser_events.cpp +++ b/zone/lua_parser_events.cpp @@ -3018,6 +3018,20 @@ void handle_zone_enter( lua_setfield(L, -2, "other"); } +void handle_zone_enter( + QuestInterface *parse, + lua_State* L, + Zone* zone, + std::string data, + uint32 extra_data, + std::vector *extra_pointers +) { + Lua_Client l_client(std::any_cast(extra_pointers->at(0))); + luabind::adl::object l_client_o = luabind::adl::object(L, l_client); + l_client_o.push(L); + lua_setfield(L, -2, "other"); +} + void handle_zone_loot( QuestInterface *parse, lua_State* L,