diff options
507 files changed, 43116 insertions, 2434 deletions
diff --git a/.travis.yml b/.travis.yml index cb3d09c671c..5ee4e23ac47 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ before_install: - sudo apt-get -qq update - sudo apt-get -qq install build-essential libtool gcc-4.8 g++-4.8 make cmake openssl - sudo apt-get -qq install libssl-dev libmysqlclient15-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libzmq3-dev - - sudo apt-get -qq install libboost1.55-dev libboost-thread1.55-dev libboost-filesystem1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev + - sudo apt-get -qq install libboost1.55-dev libboost-thread1.55-dev libboost-filesystem1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev libboost-iostreams1.55-dev install: - mysql -uroot -e 'create database test_mysql;' diff --git a/cmake/macros/ConfigureBoost.cmake b/cmake/macros/ConfigureBoost.cmake index 4147eeef2f5..190151af155 100644 --- a/cmake/macros/ConfigureBoost.cmake +++ b/cmake/macros/ConfigureBoost.cmake @@ -25,7 +25,7 @@ if(WIN32) add_definitions(-D_WIN32_WINNT=${ver}) endif() -find_package(Boost 1.49 REQUIRED system filesystem thread program_options) +find_package(Boost 1.49 REQUIRED system filesystem thread program_options iostreams) add_definitions(-DBOOST_DATE_TIME_NO_LIB) add_definitions(-DBOOST_REGEX_NO_LIB) add_definitions(-DBOOST_CHRONO_NO_LIB) @@ -35,7 +35,7 @@ add_definitions(-DBOOST_CHRONO_NO_LIB) include (CheckCXXSourceCompiles) set(CMAKE_REQUIRED_INCLUDES ${Boost_INCLUDE_DIR}) -set(CMAKE_REQUIRED_LIBRARIES ${Boost_SYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY}) +set(CMAKE_REQUIRED_LIBRARIES ${Boost_SYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY} ${Boost_IOSTREAMS_LIBRARY}) set(CMAKE_REQUIRED_FLAGS "-std=c++11") unset(boost_filesystem_copy_links_without_NO_SCOPED_ENUM CACHE) check_cxx_source_compiles(" diff --git a/cmake/macros/FindMySQL.cmake b/cmake/macros/FindMySQL.cmake index 990f4918d6a..6b00510ba42 100644 --- a/cmake/macros/FindMySQL.cmake +++ b/cmake/macros/FindMySQL.cmake @@ -5,6 +5,7 @@ # This module defines # MYSQL_INCLUDE_DIR, where to find mysql.h # MYSQL_LIBRARIES, the libraries to link against to connect to MySQL +# MYSQL_EXECUTABLE, the MySQL executable. # MYSQL_FOUND, if false, you cannot build anything that requires MySQL. # also defined, but not for general use are @@ -182,6 +183,65 @@ else( NOT WIN32 ) set( MYSQL_EXTRA_LIBRARIES "" ) endif( NOT WIN32 ) +if( UNIX ) + find_program(MYSQL_EXECUTABLE mysql + PATHS + ${MYSQL_CONFIG_PREFER_PATH} + /usr/local/mysql/bin/ + /usr/local/bin/ + /usr/bin/ + DOC + "path to your mysql binary." + ) +endif( UNIX ) + +if( WIN32 ) + find_program(MYSQL_EXECUTABLE mysql + PATHS + "C:/Program Files/MySQL/MySQL Server 5.6/bin" + "C:/Program Files/MySQL/MySQL Server 5.6/bin/opt" + "C:/Program Files/MySQL/MySQL Server 5.5/bin" + "C:/Program Files/MySQL/MySQL Server 5.5/bin/opt" + "C:/Program Files/MySQL/MySQL Server 5.1/bin" + "C:/Program Files/MySQL/MySQL Server 5.1/bin/opt" + "C:/Program Files/MySQL/MySQL Server 5.0/bin" + "C:/Program Files/MySQL/MySQL Server 5.0/bin/opt" + "C:/Program Files/MySQL/bin" + "C:/Program Files (x86)/MySQL/MySQL Server 5.6/bin" + "C:/Program Files (x86)/MySQL/MySQL Server 5.6/bin/opt" + "C:/Program Files (x86)/MySQL/MySQL Server 5.5/bin" + "C:/Program Files (x86)/MySQL/MySQL Server 5.5/bin/opt" + "C:/Program Files (x86)/MySQL/MySQL Server 5.1/bin" + "C:/Program Files (x86)/MySQL/MySQL Server 5.1/bin/opt" + "C:/Program Files (x86)/MySQL/MySQL Server 5.0/bin" + "C:/Program Files (x86)/MySQL/MySQL Server 5.0/bin/opt" + "C:/Program Files (x86)/MySQL/bin" + "C:/MySQL/bin/debug" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.6;Location]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.6;Location]/bin/opt" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.5;Location]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.5;Location]/bin/opt" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.1;Location]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.1;Location]/bin/opt" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.0;Location]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\MySQL AB\\MySQL Server 5.0;Location]/bin/opt" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.6;Location]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.6;Location]/bin/opt" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.5;Location]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.5;Location]/bin/opt" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.1;Location]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.1;Location]/bin/opt" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.0;Location]/bin" + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\MySQL AB\\MySQL Server 5.0;Location]/bin/opt" + "$ENV{ProgramFiles}/MySQL/*/bin/opt" + "$ENV{SystemDrive}/MySQL/*/bin/opt" + "c:/msys/local/include" + "$ENV{MYSQL_ROOT}/bin" + DOC + "path to your mysql binary." + ) +endif( WIN32 ) + if( MYSQL_LIBRARY ) if( MYSQL_INCLUDE_DIR ) set( MYSQL_FOUND 1 ) @@ -190,7 +250,10 @@ if( MYSQL_LIBRARY ) else( MYSQL_INCLUDE_DIR ) message(FATAL_ERROR "Could not find MySQL headers! Please install the development libraries and headers") endif( MYSQL_INCLUDE_DIR ) - mark_as_advanced( MYSQL_FOUND MYSQL_LIBRARY MYSQL_EXTRA_LIBRARIES MYSQL_INCLUDE_DIR ) + if( MYSQL_EXECUTABLE ) + message(STATUS "Found MySQL executable: ${MYSQL_EXECUTABLE}") + endif( MYSQL_EXECUTABLE ) + mark_as_advanced( MYSQL_FOUND MYSQL_LIBRARY MYSQL_EXTRA_LIBRARIES MYSQL_INCLUDE_DIR MYSQL_EXECUTABLE) else( MYSQL_LIBRARY ) message(FATAL_ERROR "Could not find the MySQL libraries! Please install the development libraries and headers") endif( MYSQL_LIBRARY ) diff --git a/dep/CMakeLists.txt b/dep/CMakeLists.txt index 1341696d57f..409500a92f6 100644 --- a/dep/CMakeLists.txt +++ b/dep/CMakeLists.txt @@ -35,6 +35,7 @@ if(SERVERS OR TOOLS) endif() if(SERVERS) + add_subdirectory(cppformat) add_subdirectory(gsoap) add_subdirectory(zmqpp) endif() diff --git a/dep/PackageList.txt b/dep/PackageList.txt index de284cb1a10..2290a1980ec 100644 --- a/dep/PackageList.txt +++ b/dep/PackageList.txt @@ -4,10 +4,18 @@ Boost http://www.boost.org Version: 1.55 +Boost Process (Proposed for boost, but its not an official part of it yet. Used to start child processes.) + http://www.highscore.de/boost/process0.5/ + Version: 0.5 + bzip2 (a freely available, patent free, high-quality data compressor) http://www.bzip.org/ Version: 1.0.6 +cppformat (type safe format library) + https://github.com/cppformat/cppformat + Version: 1.1.0 bf8636c9596fbfddded3d0f5879abc7579c9f4dd + G3D (a commercial-grade C++ 3D engine available as Open Source (BSD License) http://g3d.sourceforge.net/ Version: 9.0-Release r4036 diff --git a/dep/cppformat/CMakeLists.txt b/dep/cppformat/CMakeLists.txt new file mode 100644 index 00000000000..ea02185811f --- /dev/null +++ b/dep/cppformat/CMakeLists.txt @@ -0,0 +1,35 @@ +include(CheckCXXCompilerFlag) +include(CheckSymbolExists) + +set(FMT_SOURCES format.cc format.h) + +# Use variadic templates +add_definitions(-DFMT_VARIADIC_TEMPLATES=1) + +# Check if initializer lists are supported. +check_cxx_source_compiles(" + #include <initializer_list> + int main() {}" FMT_INITIALIZER_LIST) + +# Use delete +add_definitions(-DFMT_USE_DELETED_FUNCTIONS=1) + +# Use static assert +add_definitions(-DFMT_USE_STATIC_ASSERT=1) + +if (WIN32) + check_symbol_exists(open io.h HAVE_OPEN) +else () + check_symbol_exists(open fcntl.h HAVE_OPEN) +endif () +if (HAVE_OPEN) + add_definitions(-DFMT_USE_FILE_DESCRIPTORS=1) + set(FMT_SOURCES ${FMT_SOURCES} posix.cc posix.h) +endif () + +add_library(format STATIC ${FMT_SOURCES}) + +if (CMAKE_COMPILER_IS_GNUCXX) + set_target_properties(format PROPERTIES COMPILE_FLAGS + "-Wall -Wextra -Wshadow -pedantic") +endif () diff --git a/dep/cppformat/ChangeLog.rst b/dep/cppformat/ChangeLog.rst new file mode 100644 index 00000000000..fe780ae010c --- /dev/null +++ b/dep/cppformat/ChangeLog.rst @@ -0,0 +1,335 @@ +1.1.0 - 2015-03-06 +------------------ + +* Added ``BasicArrayWriter``, a class template that provides operations for + formatting and writing data into a fixed-size array + (`#105 <https://github.com/cppformat/cppformat/issues/105>`_ and + `#122 <https://github.com/cppformat/cppformat/issues/122>`_): + + .. code:: c++ + + char buffer[100]; + fmt::ArrayWriter w(buffer); + w.write("The answer is {}", 42); + +* Added `0 A.D. <http://play0ad.com/>`_ and `PenUltima Online (POL) + <http://www.polserver.com/>`_ to the list of notable projects using C++ Format. + +* C++ Format now uses MSVC intrinsics for better formatting performance + (`#115 <https://github.com/cppformat/cppformat/pull/115>`_, + `#116 <https://github.com/cppformat/cppformat/pull/116>`_, + `#118 <https://github.com/cppformat/cppformat/pull/118>`_ and + `#121 <https://github.com/cppformat/cppformat/pull/121>`_). + Previously these optimizations where only used on GCC and Clang. + Thanks to `@CarterLi <https://github.com/CarterLi>`_ and + `@objectx <https://github.com/objectx>`_. + +* CMake install target (`#119 <https://github.com/cppformat/cppformat/pull/119>`_). + Thanks to `@TrentHouliston <https://github.com/TrentHouliston>`_. + + You can now install C++ Format with ``make install`` command. + +* Improved `Biicode <http://www.biicode.com/>`_ support + (`#98 <https://github.com/cppformat/cppformat/pull/98>`_ and + `#104 <https://github.com/cppformat/cppformat/pull/104>`_). Thanks to + `@MariadeAnton <https://github.com/MariadeAnton>`_ and + `@franramirez688 <https://github.com/franramirez688>`_. + +* Improved support for bulding with `Android NDK + <https://developer.android.com/tools/sdk/ndk/index.html>`_ + (`#107 <https://github.com/cppformat/cppformat/pull/107>`_). + Thanks to `@newnon <https://github.com/newnon>`_. + + The `android-ndk-example <https://github.com/cppformat/android-ndk-example>`_ + repository provides and example of using C++ Format with Android NDK: + + .. image:: https://raw.githubusercontent.com/cppformat/android-ndk-example/ + master/screenshot.png + +* Improved documentation of ``SystemError`` and ``WindowsError`` + (`#54 <https://github.com/cppformat/cppformat/issues/54>`_). + +* Various code improvements + (`#110 <https://github.com/cppformat/cppformat/pull/110>`_, + `#111 <https://github.com/cppformat/cppformat/pull/111>`_ + `#112 <https://github.com/cppformat/cppformat/pull/112>`_). + Thanks to `@CarterLi <https://github.com/CarterLi>`_. + +* Improved compile-time errors when formatting wide into narrow strings + (`#117 <https://github.com/cppformat/cppformat/issues/117>`_). + +* Fixed ``BasicWriter::write`` without formatting arguments when C++11 support + is disabled (`#109 <https://github.com/cppformat/cppformat/issues/109>`_). + +* Fixed header-only build on OS X with GCC 4.9 + (`#124 <https://github.com/cppformat/cppformat/issues/124>`_). + +* Fixed packaging issues (`#94 <https://github.com/cppformat/cppformat/issues/94>`_). + +* Fixed warnings in GCC, MSVC and Xcode/Clang + (`#95 <https://github.com/cppformat/cppformat/issues/95>`_, + `#96 <https://github.com/cppformat/cppformat/issues/96>`_ and + `#114 <https://github.com/cppformat/cppformat/pull/114>`_). + +* Added `changelog <https://github.com/cppformat/cppformat/edit/master/ChangeLog.rst>`_ + (`#103 <https://github.com/cppformat/cppformat/issues/103>`_). + +1.0.0 - 2015-02-05 +------------------ + +* Add support for a header-only configuration when ``FMT_HEADER_ONLY`` is + defined before including ``format.h``: + + .. code:: c++ + + #define FMT_HEADER_ONLY + #include "format.h" + +* Compute string length in the constructor of ``BasicStringRef`` + instead of the ``size`` method + (`#79 <https://github.com/cppformat/cppformat/issues/79>`_). + This eliminates size computation for string literals on reasonable optimizing + compilers. + +* Fix formatting of types with overloaded ``operator <<`` for ``std::wostream`` + (`#86 <https://github.com/cppformat/cppformat/issues/86>`_): + + .. code:: c++ + + fmt::format(L"The date is {0}", Date(2012, 12, 9)); + +* Fix linkage of tests on Arch Linux + (`#89 <https://github.com/cppformat/cppformat/issues/89>`_). + +* Allow precision specifier for non-float arguments + (`#90 <https://github.com/cppformat/cppformat/issues/90>`_): + + .. code:: c++ + + fmt::print("{:.3}\n", "Carpet"); // prints "Car" + +* Fix build on Android NDK + (`#93 <https://github.com/cppformat/cppformat/issues/93>`_) + +* Improvements to documentation build procedure. + +* Remove ``FMT_SHARED`` CMake variable in favor of standard `BUILD_SHARED_LIBS + <http://www.cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html>`_. + +* Fix error handling in ``fmt::fprintf``. + +* Fix a number of warnings. + +0.12.0 - 2014-10-25 +------------------- + +* [Breaking] Improved separation between formatting and buffer management. + ``Writer`` is now a base class that cannot be instantiated directly. + The new ``MemoryWriter`` class implements the default buffer management + with small allocations done on stack. So ``fmt::Writer`` should be replaced + with ``fmt::MemoryWriter`` in variable declarations. + + Old code: + + .. code:: c++ + + fmt::Writer w; + + New code: + + .. code:: c++ + + fmt::MemoryWriter w; + + If you pass ``fmt::Writer`` by reference, you can continue to do so: + + .. code:: c++ + + void f(fmt::Writer &w); + + This doesn't affect the formatting API. + +* Support for custom memory allocators + (`#69 <https://github.com/cppformat/cppformat/issues/69>`_) + +* Formatting functions now accept `signed char` and `unsigned char` strings as + arguments (`#73 <https://github.com/cppformat/cppformat/issues/73>`_): + + .. code:: c++ + + auto s = format("GLSL version: {}", glGetString(GL_VERSION)); + +* Reduced code bloat. According to the new `benchmark results + <https://github.com/cppformat/cppformat#compile-time-and-code-bloat>`_, + cppformat is close to ``printf`` and by the order of magnitude better than + Boost Format in terms of compiled code size. + +* Improved appearance of the documentation on mobile by using the `Sphinx + Bootstrap theme <http://ryan-roemer.github.io/sphinx-bootstrap-theme/>`_: + + .. |old| image:: https://cloud.githubusercontent.com/assets/576385/4792130/ + cd256436-5de3-11e4-9a62-c077d0c2b003.png + + .. |new| image:: https://cloud.githubusercontent.com/assets/576385/4792131/ + cd29896c-5de3-11e4-8f59-cac952942bf0.png + + +-------+-------+ + | Old | New | + +-------+-------+ + | |old| | |new| | + +-------+-------+ + +0.11.0 - 2014-08-21 +------------------- + +* Safe printf implementation with a POSIX extension for positional arguments: + + .. code:: c++ + + fmt::printf("Elapsed time: %.2f seconds", 1.23); + fmt::printf("%1$s, %3$d %2$s", weekday, month, day); + +* Arguments of ``char`` type can now be formatted as integers + (Issue `#55 <https://github.com/cppformat/cppformat/issues/55>`_): + + .. code:: c++ + + fmt::format("0x{0:02X}", 'a'); + +* Deprecated parts of the API removed. + +* The library is now built and tested on MinGW with Appveyor in addition to + existing test platforms Linux/GCC, OS X/Clang, Windows/MSVC. + +0.10.0 - 2014-07-01 +------------------- + +**Improved API** + +* All formatting methods are now implemented as variadic functions instead + of using ``operator<<`` for feeding arbitrary arguments into a temporary + formatter object. This works both with C++11 where variadic templates are + used and with older standards where variadic functions are emulated by + providing lightweight wrapper functions defined with the ``FMT_VARIADIC`` + macro. You can use this macro for defining your own portable variadic + functions: + + .. code:: c++ + + void report_error(const char *format, const fmt::ArgList &args) { + fmt::print("Error: {}"); + fmt::print(format, args); + } + FMT_VARIADIC(void, report_error, const char *) + + report_error("file not found: {}", path); + + Apart from a more natural syntax, this also improves performance as there + is no need to construct temporary formatter objects and control arguments' + lifetimes. Because the wrapper functions are very ligthweight, this doesn't + cause code bloat even in pre-C++11 mode. + +* Simplified common case of formatting an ``std::string``. Now it requires a + single function call: + + .. code:: c++ + + std::string s = format("The answer is {}.", 42); + + Previously it required 2 function calls: + + .. code:: c++ + + std::string s = str(Format("The answer is {}.") << 42); + + Instead of unsafe ``c_str`` function, ``fmt::Writer`` should be used directly + to bypass creation of ``std::string``: + + .. code:: c++ + + fmt::Writer w; + w.write("The answer is {}.", 42); + w.c_str(); // returns a C string + + This doesn't do dynamic memory allocation for small strings and is less error + prone as the lifetime of the string is the same as for ``std::string::c_str`` + which is well understood (hopefully). + +* Improved consistency in naming functions that are a part of the public API. + Now all public functions are lowercase following the standard library + conventions. Previously it was a combination of lowercase and + CapitalizedWords. + Issue `#50 <https://github.com/cppformat/cppformat/issues/50>`_. + +* Old functions are marked as deprecated and will be removed in the next + release. + +**Other Changes** + +* Experimental support for printf format specifications (work in progress): + + .. code:: c++ + + fmt::printf("The answer is %d.", 42); + std::string s = fmt::sprintf("Look, a %s!", "string"); + +* Support for hexadecimal floating point format specifiers ``a`` and ``A``: + + .. code:: c++ + + print("{:a}", -42.0); // Prints -0x1.5p+5 + print("{:A}", -42.0); // Prints -0X1.5P+5 + +* CMake option ``FMT_SHARED`` that specifies whether to build format as a + shared library (off by default). + +0.9.0 - 2014-05-13 +------------------ + +* More efficient implementation of variadic formatting functions. + +* ``Writer::Format`` now has a variadic overload: + + .. code:: c++ + + Writer out; + out.Format("Look, I'm {}!", "variadic"); + +* For efficiency and consistency with other overloads, variadic overload of + the ``Format`` function now returns ``Writer`` instead of ``std::string``. + Use the ``str`` function to convert it to ``std::string``: + + .. code:: c++ + + std::string s = str(Format("Look, I'm {}!", "variadic")); + +* Replaced formatter actions with output sinks: ``NoAction`` -> ``NullSink``, + ``Write`` -> ``FileSink``, ``ColorWriter`` -> ``ANSITerminalSink``. + This improves naming consistency and shouldn't affect client code unless + these classes are used directly which should be rarely needed. + +* Added ``ThrowSystemError`` function that formats a message and throws + ``SystemError`` containing the formatted message and system-specific error + description. For example, the following code + + .. code:: c++ + + FILE *f = fopen(filename, "r"); + if (!f) + ThrowSystemError(errno, "Failed to open file '{}'") << filename; + + will throw ``SystemError`` exception with description + "Failed to open file '<filename>': No such file or directory" if file + doesn't exist. + +* Support for AppVeyor continuous integration platform. + +* ``Format`` now throws ``SystemError`` in case of I/O errors. + +* Improve test infrastructure. Print functions are now tested by redirecting + the output to a pipe. + +0.8.0 - 2014-04-14 +------------------ + +* Initial release diff --git a/dep/cppformat/LICENSE b/dep/cppformat/LICENSE new file mode 100644 index 00000000000..2ee9ec93495 --- /dev/null +++ b/dep/cppformat/LICENSE @@ -0,0 +1,22 @@ +Copyright (c) 2014 - 2015, Victor Zverovich +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/dep/cppformat/format.cc b/dep/cppformat/format.cc new file mode 100644 index 00000000000..86fac25a524 --- /dev/null +++ b/dep/cppformat/format.cc @@ -0,0 +1,1224 @@ +/* + Formatting library for C++ + + Copyright (c) 2012 - 2015, Victor Zverovich + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "format.h" + +#include <string.h> + +#include <cctype> +#include <cerrno> +#include <climits> +#include <cmath> +#include <cstdarg> + +#ifdef _WIN32 +# ifdef __MINGW32__ +# include <cstring> +# endif +# include <windows.h> +#endif + +using fmt::internal::Arg; + +// Check if exceptions are disabled. +#if __GNUC__ && !__EXCEPTIONS +# define FMT_EXCEPTIONS 0 +#endif +#if _MSC_VER && !_HAS_EXCEPTIONS +# define FMT_EXCEPTIONS 0 +#endif +#ifndef FMT_EXCEPTIONS +# define FMT_EXCEPTIONS 1 +#endif + +#if FMT_EXCEPTIONS +# define FMT_TRY try +# define FMT_CATCH(x) catch (x) +#else +# define FMT_TRY if (true) +# define FMT_CATCH(x) if (false) +#endif + +#ifndef FMT_THROW +# if FMT_EXCEPTIONS +# define FMT_THROW(x) throw x +# else +# ifndef NDEBUG +# define FMT_THROW(x) assert(false && #x) +# elif defined _MSC_VER +# define FMT_THROW(x) __assume(0) +# elif defined __clang__ || FMT_GCC_VERSION >= 405 +# define FMT_THROW(x) __builtin_unreachable() +# else +# define FMT_THROW(x) std::abort() +# endif +# endif +#endif + +#ifndef FMT_NORETURN +# if defined __GNUC__ || defined __clang__ +# define FMT_NORETURN __attribute__((__noreturn__)) +# elif defined _MSC_VER +# define FMT_NORETURN __declspec(noreturn) +# else +# define FMT_NORETURN +# endif +#endif + +#ifdef FMT_HEADER_ONLY +# define FMT_FUNC inline +#else +# define FMT_FUNC +#endif + +#if _MSC_VER +# pragma warning(push) +# pragma warning(disable: 4127) // conditional expression is constant +# pragma warning(disable: 4702) // unreachable code +// Disable deprecation warning for strerror. The latter is not called but +// MSVC fails to detect it. +# pragma warning(disable: 4996) +#endif + +// Dummy implementations of strerror_r and strerror_s called if corresponding +// system functions are not available. +static inline fmt::internal::None<> strerror_r(int, char *, ...) { + return fmt::internal::None<>(); +} +static inline fmt::internal::None<> strerror_s(char *, std::size_t, ...) { + return fmt::internal::None<>(); +} + +namespace { + +#ifndef _MSC_VER +# define FMT_SNPRINTF snprintf +#else // _MSC_VER +inline int fmt_snprintf(char *buffer, size_t size, const char *format, ...) { + va_list args; + va_start(args, format); + int result = vsnprintf_s(buffer, size, _TRUNCATE, format, args); + va_end(args); + return result; +} +# define FMT_SNPRINTF fmt_snprintf +#endif // _MSC_VER + +#if defined(_WIN32) && defined(__MINGW32__) && !defined(__NO_ISOCEXT) +# define FMT_SWPRINTF snwprintf +#else +# define FMT_SWPRINTF swprintf +#endif // defined(_WIN32) && defined(__MINGW32__) && !defined(__NO_ISOCEXT) + +// Checks if a value fits in int - used to avoid warnings about comparing +// signed and unsigned integers. +template <bool IsSigned> +struct IntChecker { + template <typename T> + static bool fits_in_int(T value) { + unsigned max = INT_MAX; + return value <= max; + } +}; + +template <> +struct IntChecker<true> { + template <typename T> + static bool fits_in_int(T value) { + return value >= INT_MIN && value <= INT_MAX; + } +}; + +const char RESET_COLOR[] = "\x1b[0m"; + +typedef void (*FormatFunc)(fmt::Writer &, int, fmt::StringRef); + +// Portable thread-safe version of strerror. +// Sets buffer to point to a string describing the error code. +// This can be either a pointer to a string stored in buffer, +// or a pointer to some static immutable string. +// Returns one of the following values: +// 0 - success +// ERANGE - buffer is not large enough to store the error message +// other - failure +// Buffer should be at least of size 1. +int safe_strerror( + int error_code, char *&buffer, std::size_t buffer_size) FMT_NOEXCEPT { + assert(buffer != 0 && buffer_size != 0); + + class StrError { + private: + int error_code_; + char *&buffer_; + std::size_t buffer_size_; + + // Handle the result of XSI-compliant version of strerror_r. + int handle(int result) { + // glibc versions before 2.13 return result in errno. + return result == -1 ? errno : result; + } + + // Handle the result of GNU-specific version of strerror_r. + int handle(char *message) { + // If the buffer is full then the message is probably truncated. + if (message == buffer_ && strlen(buffer_) == buffer_size_ - 1) + return ERANGE; + buffer_ = message; + return 0; + } + + // Handle the case when strerror_r is not available. + int handle(fmt::internal::None<>) { + return fallback(strerror_s(buffer_, buffer_size_, error_code_)); + } + + // Fallback to strerror_s when strerror_r is not available. + int fallback(int result) { + // If the buffer is full then the message is probably truncated. + return result == 0 && strlen(buffer_) == buffer_size_ - 1 ? + ERANGE : result; + } + + // Fallback to strerror if strerror_r and strerror_s are not available. + int fallback(fmt::internal::None<>) { + errno = 0; + buffer_ = strerror(error_code_); + return errno; + } + + public: + StrError(int error_code, char *&buffer, std::size_t buffer_size) + : error_code_(error_code), buffer_(buffer), buffer_size_(buffer_size) {} + + int run() { return handle(strerror_r(error_code_, buffer_, buffer_size_)); } + }; + return StrError(error_code, buffer, buffer_size).run(); +} + +void format_error_code(fmt::Writer &out, int error_code, + fmt::StringRef message) FMT_NOEXCEPT { + // Report error code making sure that the output fits into + // INLINE_BUFFER_SIZE to avoid dynamic memory allocation and potential + // bad_alloc. + out.clear(); + static const char SEP[] = ": "; + static const char _ERR[] = "error "; + fmt::internal::IntTraits<int>::MainType ec_value = error_code; + // Subtract 2 to account for terminating null characters in SEP and _ERR. + std::size_t error_code_size = + sizeof(SEP) + sizeof(_ERR) + fmt::internal::count_digits(ec_value) - 2; + if (message.size() <= fmt::internal::INLINE_BUFFER_SIZE - error_code_size) + out << message << SEP; + out << _ERR << error_code; + assert(out.size() <= fmt::internal::INLINE_BUFFER_SIZE); +} + +void report_error(FormatFunc func, + int error_code, fmt::StringRef message) FMT_NOEXCEPT { + fmt::MemoryWriter full_message; + func(full_message, error_code, message); + // Use Writer::data instead of Writer::c_str to avoid potential memory + // allocation. + std::fwrite(full_message.data(), full_message.size(), 1, stderr); + std::fputc('\n', stderr); +} + +// IsZeroInt::visit(arg) returns true iff arg is a zero integer. +class IsZeroInt : public fmt::internal::ArgVisitor<IsZeroInt, bool> { + public: + template <typename T> + bool visit_any_int(T value) { return value == 0; } +}; + +// Parses an unsigned integer advancing s to the end of the parsed input. +// This function assumes that the first character of s is a digit. +template <typename Char> +int parse_nonnegative_int(const Char *&s) { + assert('0' <= *s && *s <= '9'); + unsigned value = 0; + do { + unsigned new_value = value * 10 + (*s++ - '0'); + // Check if value wrapped around. + if (new_value < value) { + value = UINT_MAX; + break; + } + value = new_value; + } while ('0' <= *s && *s <= '9'); + if (value > INT_MAX) + FMT_THROW(fmt::FormatError("number is too big")); + return value; +} + +inline void require_numeric_argument(const Arg &arg, char spec) { + if (arg.type > Arg::LAST_NUMERIC_TYPE) { + std::string message = + fmt::format("format specifier '{}' requires numeric argument", spec); + FMT_THROW(fmt::FormatError(message)); + } +} + +template <typename Char> +void check_sign(const Char *&s, const Arg &arg) { + char sign = static_cast<char>(*s); + require_numeric_argument(arg, sign); + if (arg.type == Arg::UINT || arg.type == Arg::ULONG_LONG) { + FMT_THROW(fmt::FormatError(fmt::format( + "format specifier '{}' requires signed argument", sign))); + } + ++s; +} + +// Checks if an argument is a valid printf width specifier and sets +// left alignment if it is negative. +class WidthHandler : public fmt::internal::ArgVisitor<WidthHandler, unsigned> { + private: + fmt::FormatSpec &spec_; + + FMT_DISALLOW_COPY_AND_ASSIGN(WidthHandler); + + public: + explicit WidthHandler(fmt::FormatSpec &spec) : spec_(spec) {} + + FMT_NORETURN + unsigned visit_unhandled_arg() { + FMT_THROW(fmt::FormatError("width is not integer")); + } + + template <typename T> + unsigned visit_any_int(T value) { + typedef typename fmt::internal::IntTraits<T>::MainType UnsignedType; + UnsignedType width = value; + if (fmt::internal::is_negative(value)) { + spec_.align_ = fmt::ALIGN_LEFT; + width = 0 - width; + } + if (width > INT_MAX) + FMT_THROW(fmt::FormatError("number is too big")); + return static_cast<unsigned>(width); + } +}; + +class PrecisionHandler : + public fmt::internal::ArgVisitor<PrecisionHandler, int> { + public: + FMT_NORETURN + unsigned visit_unhandled_arg() { + FMT_THROW(fmt::FormatError("precision is not integer")); + } + + template <typename T> + int visit_any_int(T value) { + if (!IntChecker<std::numeric_limits<T>::is_signed>::fits_in_int(value)) + FMT_THROW(fmt::FormatError("number is too big")); + return static_cast<int>(value); + } +}; + +// Converts an integer argument to an integral type T for printf. +template <typename T> +class ArgConverter : public fmt::internal::ArgVisitor<ArgConverter<T>, void> { + private: + fmt::internal::Arg &arg_; + wchar_t type_; + + FMT_DISALLOW_COPY_AND_ASSIGN(ArgConverter); + + public: + ArgConverter(fmt::internal::Arg &arg, wchar_t type) + : arg_(arg), type_(type) {} + + template <typename U> + void visit_any_int(U value) { + bool is_signed = type_ == 'd' || type_ == 'i'; + using fmt::internal::Arg; + if (sizeof(T) <= sizeof(int)) { + // Extra casts are used to silence warnings. + if (is_signed) { + arg_.type = Arg::INT; + arg_.int_value = static_cast<int>(static_cast<T>(value)); + } else { + arg_.type = Arg::UINT; + arg_.uint_value = static_cast<unsigned>( + static_cast<typename fmt::internal::MakeUnsigned<T>::Type>(value)); + } + } else { + if (is_signed) { + arg_.type = Arg::LONG_LONG; + arg_.long_long_value = + static_cast<typename fmt::internal::MakeUnsigned<U>::Type>(value); + } else { + arg_.type = Arg::ULONG_LONG; + arg_.ulong_long_value = + static_cast<typename fmt::internal::MakeUnsigned<U>::Type>(value); + } + } + } +}; + +// Converts an integer argument to char for printf. +class CharConverter : public fmt::internal::ArgVisitor<CharConverter, void> { + private: + fmt::internal::Arg &arg_; + + FMT_DISALLOW_COPY_AND_ASSIGN(CharConverter); + + public: + explicit CharConverter(fmt::internal::Arg &arg) : arg_(arg) {} + + template <typename T> + void visit_any_int(T value) { + arg_.type = Arg::CHAR; + arg_.int_value = static_cast<char>(value); + } +}; + +// This function template is used to prevent compile errors when handling +// incompatible string arguments, e.g. handling a wide string in a narrow +// string formatter. +template <typename Char> +Arg::StringValue<Char> ignore_incompatible_str(Arg::StringValue<wchar_t>); + +template <> +inline Arg::StringValue<char> ignore_incompatible_str( + Arg::StringValue<wchar_t>) { return Arg::StringValue<char>(); } + +template <> +inline Arg::StringValue<wchar_t> ignore_incompatible_str( + Arg::StringValue<wchar_t> s) { return s; } +} // namespace + +FMT_FUNC void fmt::SystemError::init( + int err_code, StringRef format_str, ArgList args) { + error_code_ = err_code; + MemoryWriter w; + internal::format_system_error(w, err_code, format(format_str, args)); + std::runtime_error &base = *this; + base = std::runtime_error(w.str()); +} + +template <typename T> +int fmt::internal::CharTraits<char>::format_float( + char *buffer, std::size_t size, const char *format, + unsigned width, int precision, T value) { + if (width == 0) { + return precision < 0 ? + FMT_SNPRINTF(buffer, size, format, value) : + FMT_SNPRINTF(buffer, size, format, precision, value); + } + return precision < 0 ? + FMT_SNPRINTF(buffer, size, format, width, value) : + FMT_SNPRINTF(buffer, size, format, width, precision, value); +} + +template <typename T> +int fmt::internal::CharTraits<wchar_t>::format_float( + wchar_t *buffer, std::size_t size, const wchar_t *format, + unsigned width, int precision, T value) { + if (width == 0) { + return precision < 0 ? + FMT_SWPRINTF(buffer, size, format, value) : + FMT_SWPRINTF(buffer, size, format, precision, value); + } + return precision < 0 ? + FMT_SWPRINTF(buffer, size, format, width, value) : + FMT_SWPRINTF(buffer, size, format, width, precision, value); +} + +template <typename T> +const char fmt::internal::BasicData<T>::DIGITS[] = + "0001020304050607080910111213141516171819" + "2021222324252627282930313233343536373839" + "4041424344454647484950515253545556575859" + "6061626364656667686970717273747576777879" + "8081828384858687888990919293949596979899"; + +#define FMT_POWERS_OF_10(factor) \ + factor * 10, \ + factor * 100, \ + factor * 1000, \ + factor * 10000, \ + factor * 100000, \ + factor * 1000000, \ + factor * 10000000, \ + factor * 100000000, \ + factor * 1000000000 + +template <typename T> +const uint32_t fmt::internal::BasicData<T>::POWERS_OF_10_32[] = { + 0, FMT_POWERS_OF_10(1) +}; + +template <typename T> +const uint64_t fmt::internal::BasicData<T>::POWERS_OF_10_64[] = { + 0, + FMT_POWERS_OF_10(1), + FMT_POWERS_OF_10(fmt::ULongLong(1000000000)), + // Multiply several constants instead of using a single long long constant + // to avoid warnings about C++98 not supporting long long. + fmt::ULongLong(1000000000) * fmt::ULongLong(1000000000) * 10 +}; + +FMT_FUNC void fmt::internal::report_unknown_type(char code, const char *type) { + (void)type; + if (std::isprint(static_cast<unsigned char>(code))) { + FMT_THROW(fmt::FormatError( + fmt::format("unknown format code '{}' for {}", code, type))); + } + FMT_THROW(fmt::FormatError( + fmt::format("unknown format code '\\x{:02x}' for {}", + static_cast<unsigned>(code), type))); +} + +#ifdef _WIN32 + +FMT_FUNC fmt::internal::UTF8ToUTF16::UTF8ToUTF16(fmt::StringRef s) { + int length = MultiByteToWideChar( + CP_UTF8, MB_ERR_INVALID_CHARS, s.c_str(), -1, 0, 0); + static const char ERROR_MSG[] = "cannot convert string from UTF-8 to UTF-16"; + if (length == 0) + FMT_THROW(WindowsError(GetLastError(), ERROR_MSG)); + buffer_.resize(length); + length = MultiByteToWideChar( + CP_UTF8, MB_ERR_INVALID_CHARS, s.c_str(), -1, &buffer_[0], length); + if (length == 0) + FMT_THROW(WindowsError(GetLastError(), ERROR_MSG)); +} + +FMT_FUNC fmt::internal::UTF16ToUTF8::UTF16ToUTF8(fmt::WStringRef s) { + if (int error_code = convert(s)) { + FMT_THROW(WindowsError(error_code, + "cannot convert string from UTF-16 to UTF-8")); + } +} + +FMT_FUNC int fmt::internal::UTF16ToUTF8::convert(fmt::WStringRef s) { + int length = WideCharToMultiByte(CP_UTF8, 0, s.c_str(), -1, 0, 0, 0, 0); + if (length == 0) + return GetLastError(); + buffer_.resize(length); + length = WideCharToMultiByte( + CP_UTF8, 0, s.c_str(), -1, &buffer_[0], length, 0, 0); + if (length == 0) + return GetLastError(); + return 0; +} + +FMT_FUNC void fmt::WindowsError::init( + int err_code, StringRef format_str, ArgList args) { + error_code_ = err_code; + MemoryWriter w; + internal::format_windows_error(w, err_code, format(format_str, args)); + std::runtime_error &base = *this; + base = std::runtime_error(w.str()); +} + +#endif + +FMT_FUNC void fmt::internal::format_system_error( + fmt::Writer &out, int error_code, + fmt::StringRef message) FMT_NOEXCEPT { + FMT_TRY { + MemoryBuffer<char, INLINE_BUFFER_SIZE> buffer; + buffer.resize(INLINE_BUFFER_SIZE); + for (;;) { + char *system_message = &buffer[0]; + int result = safe_strerror(error_code, system_message, buffer.size()); + if (result == 0) { + out << message << ": " << system_message; + return; + } + if (result != ERANGE) + break; // Can't get error message, report error code instead. + buffer.resize(buffer.size() * 2); + } + } FMT_CATCH(...) {} + format_error_code(out, error_code, message); +} + +#ifdef _WIN32 +FMT_FUNC void fmt::internal::format_windows_error( + fmt::Writer &out, int error_code, + fmt::StringRef message) FMT_NOEXCEPT { + class String { + private: + LPWSTR str_; + + public: + String() : str_() {} + ~String() { LocalFree(str_); } + LPWSTR *ptr() { return &str_; } + LPCWSTR c_str() const { return str_; } + }; + FMT_TRY { + String system_message; + if (FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | + FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, 0, + error_code, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), + reinterpret_cast<LPWSTR>(system_message.ptr()), 0, 0)) { + UTF16ToUTF8 utf8_message; + if (utf8_message.convert(system_message.c_str()) == ERROR_SUCCESS) { + out << message << ": " << utf8_message; + return; + } + } + } FMT_CATCH(...) {} + format_error_code(out, error_code, message); +} +#endif + +// An argument formatter. +template <typename Char> +class fmt::internal::ArgFormatter : + public fmt::internal::ArgVisitor<fmt::internal::ArgFormatter<Char>, void> { + private: + fmt::BasicFormatter<Char> &formatter_; + fmt::BasicWriter<Char> &writer_; + fmt::FormatSpec &spec_; + const Char *format_; + + FMT_DISALLOW_COPY_AND_ASSIGN(ArgFormatter); + + public: + ArgFormatter( + fmt::BasicFormatter<Char> &f,fmt::FormatSpec &s, const Char *fmt) + : formatter_(f), writer_(f.writer()), spec_(s), format_(fmt) {} + + template <typename T> + void visit_any_int(T value) { writer_.write_int(value, spec_); } + + template <typename T> + void visit_any_double(T value) { writer_.write_double(value, spec_); } + + void visit_char(int value) { + if (spec_.type_ && spec_.type_ != 'c') { + spec_.flags_ |= CHAR_FLAG; + writer_.write_int(value, spec_); + return; + } + if (spec_.align_ == ALIGN_NUMERIC || spec_.flags_ != 0) + FMT_THROW(FormatError("invalid format specifier for char")); + typedef typename fmt::BasicWriter<Char>::CharPtr CharPtr; + Char fill = static_cast<Char>(spec_.fill()); + if (spec_.precision_ == 0) { + std::fill_n(writer_.grow_buffer(spec_.width_), spec_.width_, fill); + return; + } + CharPtr out = CharPtr(); + if (spec_.width_ > 1) { + out = writer_.grow_buffer(spec_.width_); + if (spec_.align_ == fmt::ALIGN_RIGHT) { + std::fill_n(out, spec_.width_ - 1, fill); + out += spec_.width_ - 1; + } else if (spec_.align_ == fmt::ALIGN_CENTER) { + out = writer_.fill_padding(out, spec_.width_, 1, fill); + } else { + std::fill_n(out + 1, spec_.width_ - 1, fill); + } + } else { + out = writer_.grow_buffer(1); + } + *out = static_cast<Char>(value); + } + + void visit_string(Arg::StringValue<char> value) { + writer_.write_str(value, spec_); + } + void visit_wstring(Arg::StringValue<wchar_t> value) { + writer_.write_str(ignore_incompatible_str<Char>(value), spec_); + } + + void visit_pointer(const void *value) { + if (spec_.type_ && spec_.type_ != 'p') + fmt::internal::report_unknown_type(spec_.type_, "pointer"); + spec_.flags_ = fmt::HASH_FLAG; + spec_.type_ = 'x'; + writer_.write_int(reinterpret_cast<uintptr_t>(value), spec_); + } + + void visit_custom(Arg::CustomValue c) { + c.format(&formatter_, c.value, &format_); + } +}; + +template <typename Char> +void fmt::internal::FixedBuffer<Char>::grow(std::size_t) { + FMT_THROW(std::runtime_error("buffer overflow")); +} + +template <typename Char> +template <typename StrChar> +void fmt::BasicWriter<Char>::write_str( + const Arg::StringValue<StrChar> &s, const FormatSpec &spec) { + // Check if StrChar is convertible to Char. + internal::CharTraits<Char>::convert(StrChar()); + if (spec.type_ && spec.type_ != 's') + internal::report_unknown_type(spec.type_, "string"); + const StrChar *str_value = s.value; + std::size_t str_size = s.size; + if (str_size == 0) { + if (!str_value) + FMT_THROW(FormatError("string pointer is null")); + if (*str_value) + str_size = std::char_traits<StrChar>::length(str_value); + } + std::size_t precision = spec.precision_; + if (spec.precision_ >= 0 && precision < str_size) + str_size = spec.precision_; + write_str(str_value, str_size, spec); +} + +template <typename Char> +inline Arg fmt::BasicFormatter<Char>::parse_arg_index(const Char *&s) { + const char *error = 0; + Arg arg = *s < '0' || *s > '9' ? + next_arg(error) : get_arg(parse_nonnegative_int(s), error); + if (error) { + FMT_THROW(FormatError( + *s != '}' && *s != ':' ? "invalid format string" : error)); + } + return arg; +} + +FMT_FUNC Arg fmt::internal::FormatterBase::do_get_arg( + unsigned arg_index, const char *&error) { + Arg arg = args_[arg_index]; + if (arg.type == Arg::NONE) + error = "argument index out of range"; + return arg; +} + +inline Arg fmt::internal::FormatterBase::next_arg(const char *&error) { + if (next_arg_index_ >= 0) + return do_get_arg(next_arg_index_++, error); + error = "cannot switch from manual to automatic argument indexing"; + return Arg(); +} + +inline Arg fmt::internal::FormatterBase::get_arg( + unsigned arg_index, const char *&error) { + if (next_arg_index_ <= 0) { + next_arg_index_ = -1; + return do_get_arg(arg_index, error); + } + error = "cannot switch from automatic to manual argument indexing"; + return Arg(); +} + +template <typename Char> +void fmt::internal::PrintfFormatter<Char>::parse_flags( + FormatSpec &spec, const Char *&s) { + for (;;) { + switch (*s++) { + case '-': + spec.align_ = ALIGN_LEFT; + break; + case '+': + spec.flags_ |= SIGN_FLAG | PLUS_FLAG; + break; + case '0': + spec.fill_ = '0'; + break; + case ' ': + spec.flags_ |= SIGN_FLAG; + break; + case '#': + spec.flags_ |= HASH_FLAG; + break; + default: + --s; + return; + } + } +} + +template <typename Char> +Arg fmt::internal::PrintfFormatter<Char>::get_arg( + const Char *s, unsigned arg_index) { + (void)s; + const char *error = 0; + Arg arg = arg_index == UINT_MAX ? + next_arg(error) : FormatterBase::get_arg(arg_index - 1, error); + if (error) + FMT_THROW(FormatError(!*s ? "invalid format string" : error)); + return arg; +} + +template <typename Char> +unsigned fmt::internal::PrintfFormatter<Char>::parse_header( + const Char *&s, FormatSpec &spec) { + unsigned arg_index = UINT_MAX; + Char c = *s; + if (c >= '0' && c <= '9') { + // Parse an argument index (if followed by '$') or a width possibly + // preceded with '0' flag(s). + unsigned value = parse_nonnegative_int(s); + if (*s == '$') { // value is an argument index + ++s; + arg_index = value; + } else { + if (c == '0') + spec.fill_ = '0'; + if (value != 0) { + // Nonzero value means that we parsed width and don't need to + // parse it or flags again, so return now. + spec.width_ = value; + return arg_index; + } + } + } + parse_flags(spec, s); + // Parse width. + if (*s >= '0' && *s <= '9') { + spec.width_ = parse_nonnegative_int(s); + } else if (*s == '*') { + ++s; + spec.width_ = WidthHandler(spec).visit(get_arg(s)); + } + return arg_index; +} + +template <typename Char> +void fmt::internal::PrintfFormatter<Char>::format( + BasicWriter<Char> &writer, BasicStringRef<Char> format_str, + const ArgList &args) { + const Char *start = format_str.c_str(); + set_args(args); + const Char *s = start; + while (*s) { + Char c = *s++; + if (c != '%') continue; + if (*s == c) { + write(writer, start, s); + start = ++s; + continue; + } + write(writer, start, s - 1); + + FormatSpec spec; + spec.align_ = ALIGN_RIGHT; + + // Parse argument index, flags and width. + unsigned arg_index = parse_header(s, spec); + + // Parse precision. + if (*s == '.') { + ++s; + if ('0' <= *s && *s <= '9') { + spec.precision_ = parse_nonnegative_int(s); + } else if (*s == '*') { + ++s; + spec.precision_ = PrecisionHandler().visit(get_arg(s)); + } + } + + Arg arg = get_arg(s, arg_index); + if (spec.flag(HASH_FLAG) && IsZeroInt().visit(arg)) + spec.flags_ &= ~HASH_FLAG; + if (spec.fill_ == '0') { + if (arg.type <= Arg::LAST_NUMERIC_TYPE) + spec.align_ = ALIGN_NUMERIC; + else + spec.fill_ = ' '; // Ignore '0' flag for non-numeric types. + } + + // Parse length and convert the argument to the required type. + switch (*s++) { + case 'h': + if (*s == 'h') + ArgConverter<signed char>(arg, *++s).visit(arg); + else + ArgConverter<short>(arg, *s).visit(arg); + break; + case 'l': + if (*s == 'l') + ArgConverter<fmt::LongLong>(arg, *++s).visit(arg); + else + ArgConverter<long>(arg, *s).visit(arg); + break; + case 'j': + ArgConverter<intmax_t>(arg, *s).visit(arg); + break; + case 'z': + ArgConverter<size_t>(arg, *s).visit(arg); + break; + case 't': + ArgConverter<ptrdiff_t>(arg, *s).visit(arg); + break; + case 'L': + // printf produces garbage when 'L' is omitted for long double, no + // need to do the same. + break; + default: + --s; + ArgConverter<int>(arg, *s).visit(arg); + } + + // Parse type. + if (!*s) + FMT_THROW(FormatError("invalid format string")); + spec.type_ = static_cast<char>(*s++); + if (arg.type <= Arg::LAST_INTEGER_TYPE) { + // Normalize type. + switch (spec.type_) { + case 'i': case 'u': + spec.type_ = 'd'; + break; + case 'c': + // TODO: handle wchar_t + CharConverter(arg).visit(arg); + break; + } + } + + start = s; + + // Format argument. + switch (arg.type) { + case Arg::INT: + writer.write_int(arg.int_value, spec); + break; + case Arg::UINT: + writer.write_int(arg.uint_value, spec); + break; + case Arg::LONG_LONG: + writer.write_int(arg.long_long_value, spec); + break; + case Arg::ULONG_LONG: + writer.write_int(arg.ulong_long_value, spec); + break; + case Arg::CHAR: { + if (spec.type_ && spec.type_ != 'c') + writer.write_int(arg.int_value, spec); + typedef typename BasicWriter<Char>::CharPtr CharPtr; + CharPtr out = CharPtr(); + if (spec.width_ > 1) { + Char fill = ' '; + out = writer.grow_buffer(spec.width_); + if (spec.align_ != ALIGN_LEFT) { + std::fill_n(out, spec.width_ - 1, fill); + out += spec.width_ - 1; + } else { + std::fill_n(out + 1, spec.width_ - 1, fill); + } + } else { + out = writer.grow_buffer(1); + } + *out = static_cast<Char>(arg.int_value); + break; + } + case Arg::DOUBLE: + writer.write_double(arg.double_value, spec); + break; + case Arg::LONG_DOUBLE: + writer.write_double(arg.long_double_value, spec); + break; + case Arg::CSTRING: + arg.string.size = 0; + writer.write_str(arg.string, spec); + break; + case Arg::STRING: + writer.write_str(arg.string, spec); + break; + case Arg::WSTRING: + writer.write_str(ignore_incompatible_str<Char>(arg.wstring), spec); + break; + case Arg::POINTER: + if (spec.type_ && spec.type_ != 'p') + internal::report_unknown_type(spec.type_, "pointer"); + spec.flags_= HASH_FLAG; + spec.type_ = 'x'; + writer.write_int(reinterpret_cast<uintptr_t>(arg.pointer), spec); + break; + case Arg::CUSTOM: { + if (spec.type_) + internal::report_unknown_type(spec.type_, "object"); + const void *str_format = "s"; + arg.custom.format(&writer, arg.custom.value, &str_format); + break; + } + default: + assert(false); + break; + } + } + write(writer, start, s); +} + +template <typename Char> +const Char *fmt::BasicFormatter<Char>::format( + const Char *&format_str, const Arg &arg) { + const Char *s = format_str; + FormatSpec spec; + if (*s == ':') { + if (arg.type == Arg::CUSTOM) { + arg.custom.format(this, arg.custom.value, &s); + return s; + } + ++s; + // Parse fill and alignment. + if (Char c = *s) { + const Char *p = s + 1; + spec.align_ = ALIGN_DEFAULT; + do { + switch (*p) { + case '<': + spec.align_ = ALIGN_LEFT; + break; + case '>': + spec.align_ = ALIGN_RIGHT; + break; + case '=': + spec.align_ = ALIGN_NUMERIC; + break; + case '^': + spec.align_ = ALIGN_CENTER; + break; + } + if (spec.align_ != ALIGN_DEFAULT) { + if (p != s) { + if (c == '}') break; + if (c == '{') + FMT_THROW(FormatError("invalid fill character '{'")); + s += 2; + spec.fill_ = c; + } else ++s; + if (spec.align_ == ALIGN_NUMERIC) + require_numeric_argument(arg, '='); + break; + } + } while (--p >= s); + } + + // Parse sign. + switch (*s) { + case '+': + check_sign(s, arg); + spec.flags_ |= SIGN_FLAG | PLUS_FLAG; + break; + case '-': + check_sign(s, arg); + spec.flags_ |= MINUS_FLAG; + break; + case ' ': + check_sign(s, arg); + spec.flags_ |= SIGN_FLAG; + break; + } + + if (*s == '#') { + require_numeric_argument(arg, '#'); + spec.flags_ |= HASH_FLAG; + ++s; + } + + // Parse width and zero flag. + if ('0' <= *s && *s <= '9') { + if (*s == '0') { + require_numeric_argument(arg, '0'); + spec.align_ = ALIGN_NUMERIC; + spec.fill_ = '0'; + } + // Zero may be parsed again as a part of the width, but it is simpler + // and more efficient than checking if the next char is a digit. + spec.width_ = parse_nonnegative_int(s); + } + + // Parse precision. + if (*s == '.') { + ++s; + spec.precision_ = 0; + if ('0' <= *s && *s <= '9') { + spec.precision_ = parse_nonnegative_int(s); + } else if (*s == '{') { + ++s; + const Arg &precision_arg = parse_arg_index(s); + if (*s++ != '}') + FMT_THROW(FormatError("invalid format string")); + ULongLong value = 0; + switch (precision_arg.type) { + case Arg::INT: + if (precision_arg.int_value < 0) + FMT_THROW(FormatError("negative precision")); + value = precision_arg.int_value; + break; + case Arg::UINT: + value = precision_arg.uint_value; + break; + case Arg::LONG_LONG: + if (precision_arg.long_long_value < 0) + FMT_THROW(FormatError("negative precision")); + value = precision_arg.long_long_value; + break; + case Arg::ULONG_LONG: + value = precision_arg.ulong_long_value; + break; + default: + FMT_THROW(FormatError("precision is not integer")); + } + if (value > INT_MAX) + FMT_THROW(FormatError("number is too big")); + spec.precision_ = static_cast<int>(value); + } else { + FMT_THROW(FormatError("missing precision specifier")); + } + if (arg.type < Arg::LAST_INTEGER_TYPE || arg.type == Arg::POINTER) { + FMT_THROW(FormatError( + fmt::format("precision not allowed in {} format specifier", + arg.type == Arg::POINTER ? "pointer" : "integer"))); + } + } + + // Parse type. + if (*s != '}' && *s) + spec.type_ = static_cast<char>(*s++); + } + + if (*s++ != '}') + FMT_THROW(FormatError("missing '}' in format string")); + start_ = s; + + // Format argument. + internal::ArgFormatter<Char>(*this, spec, s - 1).visit(arg); + return s; +} + +template <typename Char> +void fmt::BasicFormatter<Char>::format( + BasicStringRef<Char> format_str, const ArgList &args) { + const Char *s = start_ = format_str.c_str(); + set_args(args); + while (*s) { + Char c = *s++; + if (c != '{' && c != '}') continue; + if (*s == c) { + write(writer_, start_, s); + start_ = ++s; + continue; + } + if (c == '}') + FMT_THROW(FormatError("unmatched '}' in format string")); + write(writer_, start_, s - 1); + Arg arg = parse_arg_index(s); + s = format(s, arg); + } + write(writer_, start_, s); +} + +FMT_FUNC void fmt::report_system_error( + int error_code, fmt::StringRef message) FMT_NOEXCEPT { + report_error(internal::format_system_error, error_code, message); +} + +#ifdef _WIN32 +FMT_FUNC void fmt::report_windows_error( + int error_code, fmt::StringRef message) FMT_NOEXCEPT { + report_error(internal::format_windows_error, error_code, message); +} +#endif + +FMT_FUNC void fmt::print(std::FILE *f, StringRef format_str, ArgList args) { + MemoryWriter w; + w.write(format_str, args); + std::fwrite(w.data(), 1, w.size(), f); +} + +FMT_FUNC void fmt::print(StringRef format_str, ArgList args) { + print(stdout, format_str, args); +} + +FMT_FUNC void fmt::print(std::ostream &os, StringRef format_str, ArgList args) { + MemoryWriter w; + w.write(format_str, args); + os.write(w.data(), w.size()); +} + +FMT_FUNC void fmt::print_colored(Color c, StringRef format, ArgList args) { + char escape[] = "\x1b[30m"; + escape[3] = '0' + static_cast<char>(c); + std::fputs(escape, stdout); + print(format, args); + std::fputs(RESET_COLOR, stdout); +} + +FMT_FUNC int fmt::fprintf(std::FILE *f, StringRef format, ArgList args) { + MemoryWriter w; + printf(w, format, args); + std::size_t size = w.size(); + return std::fwrite(w.data(), 1, size, f) < size ? -1 : static_cast<int>(size); +} + +#ifndef FMT_HEADER_ONLY + +// Explicit instantiations for char. + +template void fmt::internal::FixedBuffer<char>::grow(std::size_t); + +template const char *fmt::BasicFormatter<char>::format( + const char *&format_str, const fmt::internal::Arg &arg); + +template void fmt::BasicFormatter<char>::format( + BasicStringRef<char> format, const ArgList &args); + +template void fmt::internal::PrintfFormatter<char>::format( + BasicWriter<char> &writer, BasicStringRef<char> format, const ArgList &args); + +template int fmt::internal::CharTraits<char>::format_float( + char *buffer, std::size_t size, const char *format, + unsigned width, int precision, double value); + +template int fmt::internal::CharTraits<char>::format_float( + char *buffer, std::size_t size, const char *format, + unsigned width, int precision, long double value); + +// Explicit instantiations for wchar_t. + +template void fmt::internal::FixedBuffer<wchar_t>::grow(std::size_t); + +template const wchar_t *fmt::BasicFormatter<wchar_t>::format( + const wchar_t *&format_str, const fmt::internal::Arg &arg); + +template void fmt::BasicFormatter<wchar_t>::format( + BasicStringRef<wchar_t> format, const ArgList &args); + +template void fmt::internal::PrintfFormatter<wchar_t>::format( + BasicWriter<wchar_t> &writer, BasicStringRef<wchar_t> format, + const ArgList &args); + +template int fmt::internal::CharTraits<wchar_t>::format_float( + wchar_t *buffer, std::size_t size, const wchar_t *format, + unsigned width, int precision, double value); + +template int fmt::internal::CharTraits<wchar_t>::format_float( + wchar_t *buffer, std::size_t size, const wchar_t *format, + unsigned width, int precision, long double value); + +#endif // FMT_HEADER_ONLY + +#if _MSC_VER +# pragma warning(pop) +#endif diff --git a/dep/cppformat/format.h b/dep/cppformat/format.h new file mode 100644 index 00000000000..0a67f3f977d --- /dev/null +++ b/dep/cppformat/format.h @@ -0,0 +1,2680 @@ +/* + Formatting library for C++ + + Copyright (c) 2012 - 2015, Victor Zverovich + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef FMT_FORMAT_H_ +#define FMT_FORMAT_H_ + +#include <stdint.h> + +#include <cassert> +#include <cmath> +#include <cstddef> // for std::ptrdiff_t +#include <cstdio> +#include <algorithm> +#include <limits> +#include <stdexcept> +#include <string> +#include <sstream> + +#if _SECURE_SCL +# include <iterator> +#endif + +#ifdef _MSC_VER +# include <intrin.h> // _BitScanReverse, _BitScanReverse64 + +namespace fmt { +namespace internal { +# pragma intrinsic(_BitScanReverse) +inline uint32_t clz(uint32_t x) { + unsigned long r = 0; + _BitScanReverse(&r, x); + return 31 - r; +} +# define FMT_BUILTIN_CLZ(n) fmt::internal::clz(n) + +# ifdef _WIN64 +# pragma intrinsic(_BitScanReverse64) +# endif + +inline uint32_t clzll(uint64_t x) { + unsigned long r = 0; +# ifdef _WIN64 + _BitScanReverse64(&r, x); +# else + // Scan the high 32 bits. + if (_BitScanReverse(&r, static_cast<uint32_t>(x >> 32))) + return 63 - (r + 32); + + // Scan the low 32 bits. + _BitScanReverse(&r, static_cast<uint32_t>(x)); +# endif + return 63 - r; +} +# define FMT_BUILTIN_CLZLL(n) fmt::internal::clzll(n) +} +} +#endif + +#ifdef __GNUC__ +# define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) +# define FMT_GCC_EXTENSION __extension__ +# if FMT_GCC_VERSION >= 406 +# pragma GCC diagnostic push +// Disable the warning about "long long" which is sometimes reported even +// when using __extension__. +# pragma GCC diagnostic ignored "-Wlong-long" +// Disable the warning about declaration shadowing because it affects too +// many valid cases. +# pragma GCC diagnostic ignored "-Wshadow" +# endif +# if __cplusplus >= 201103L || defined __GXX_EXPERIMENTAL_CXX0X__ +# define FMT_HAS_GXX_CXX11 1 +# endif +#else +# define FMT_GCC_EXTENSION +#endif + +#ifdef __clang__ +# pragma clang diagnostic ignored "-Wdocumentation" +#endif + +#ifdef __GNUC_LIBSTD__ +# define FMT_GNUC_LIBSTD_VERSION (__GNUC_LIBSTD__ * 100 + __GNUC_LIBSTD_MINOR__) +#endif + +#ifdef __has_feature +# define FMT_HAS_FEATURE(x) __has_feature(x) +#else +# define FMT_HAS_FEATURE(x) 0 +#endif + +#ifdef __has_builtin +# define FMT_HAS_BUILTIN(x) __has_builtin(x) +#else +# define FMT_HAS_BUILTIN(x) 0 +#endif + +#ifdef __has_cpp_attribute +# define FMT_HAS_CPP_ATTRIBUTE(x) __has_cpp_attribute(x) +#else +# define FMT_HAS_CPP_ATTRIBUTE(x) 0 +#endif + +#ifndef FMT_USE_VARIADIC_TEMPLATES +// Variadic templates are available in GCC since version 4.4 +// (http://gcc.gnu.org/projects/cxx0x.html) and in Visual C++ +// since version 2013. +# define FMT_USE_VARIADIC_TEMPLATES \ + (FMT_HAS_FEATURE(cxx_variadic_templates) || \ + (FMT_GCC_VERSION >= 404 && FMT_HAS_GXX_CXX11) || _MSC_VER >= 1800) +#endif + +#ifndef FMT_USE_RVALUE_REFERENCES +// Don't use rvalue references when compiling with clang and an old libstdc++ +// as the latter doesn't provide std::move. +# if defined(FMT_GNUC_LIBSTD_VERSION) && FMT_GNUC_LIBSTD_VERSION <= 402 +# define FMT_USE_RVALUE_REFERENCES 0 +# else +# define FMT_USE_RVALUE_REFERENCES \ + (FMT_HAS_FEATURE(cxx_rvalue_references) || \ + (FMT_GCC_VERSION >= 403 && FMT_HAS_GXX_CXX11) || _MSC_VER >= 1600) +# endif +#endif + +#if FMT_USE_RVALUE_REFERENCES +# include <utility> // for std::move +#endif + +// Define FMT_USE_NOEXCEPT to make C++ Format use noexcept (C++11 feature). +#if FMT_USE_NOEXCEPT || FMT_HAS_FEATURE(cxx_noexcept) || \ + (FMT_GCC_VERSION >= 408 && FMT_HAS_GXX_CXX11) +# define FMT_NOEXCEPT noexcept +#else +# define FMT_NOEXCEPT throw() +#endif + +// A macro to disallow the copy constructor and operator= functions +// This should be used in the private: declarations for a class +#if FMT_USE_DELETED_FUNCTIONS || FMT_HAS_FEATURE(cxx_deleted_functions) || \ + (FMT_GCC_VERSION >= 404 && FMT_HAS_GXX_CXX11) || _MSC_VER >= 1800 +# define FMT_DISALLOW_COPY_AND_ASSIGN(TypeName) \ + TypeName(const TypeName&) = delete; \ + TypeName& operator=(const TypeName&) = delete +#else +# define FMT_DISALLOW_COPY_AND_ASSIGN(TypeName) \ + TypeName(const TypeName&); \ + TypeName& operator=(const TypeName&) +#endif + +namespace fmt { + +// Fix the warning about long long on older versions of GCC +// that don't support the diagnostic pragma. +FMT_GCC_EXTENSION typedef long long LongLong; +FMT_GCC_EXTENSION typedef unsigned long long ULongLong; + +#if FMT_USE_RVALUE_REFERENCES +using std::move; +#endif + +template <typename Char> +class BasicWriter; + +typedef BasicWriter<char> Writer; +typedef BasicWriter<wchar_t> WWriter; + +template <typename Char> +class BasicFormatter; + +template <typename Char, typename T> +void format(BasicFormatter<Char> &f, const Char *&format_str, const T &value); + +/** + \rst + A string reference. It can be constructed from a C string or + ``std::string``. + + You can use one of the following typedefs for common character types: + + +------------+-------------------------+ + | Type | Definition | + +============+=========================+ + | StringRef | BasicStringRef<char> | + +------------+-------------------------+ + | WStringRef | BasicStringRef<wchar_t> | + +------------+-------------------------+ + + This class is most useful as a parameter type to allow passing + different types of strings to a function, for example:: + + template <typename... Args> + std::string format(StringRef format_str, const Args & ... args); + + format("{}", 42); + format(std::string("{}"), 42); + \endrst + */ +template <typename Char> +class BasicStringRef { + private: + const Char *data_; + std::size_t size_; + + public: + /** + Constructs a string reference object from a C string and a size. + */ + BasicStringRef(const Char *s, std::size_t size) : data_(s), size_(size) {} + + /** + Constructs a string reference object from a C string computing + the size with ``std::char_traits<Char>::length``. + */ + BasicStringRef(const Char *s) + : data_(s), size_(std::char_traits<Char>::length(s)) {} + + /** + Constructs a string reference from an `std::string` object. + */ + BasicStringRef(const std::basic_string<Char> &s) + : data_(s.c_str()), size_(s.size()) {} + + /** + Converts a string reference to an `std::string` object. + */ + operator std::basic_string<Char>() const { + return std::basic_string<Char>(data_, size()); + } + + /** + Returns the pointer to a C string. + */ + const Char *c_str() const { return data_; } + + /** + Returns the string size. + */ + std::size_t size() const { return size_; } + + friend bool operator==(BasicStringRef lhs, BasicStringRef rhs) { + return lhs.data_ == rhs.data_; + } + friend bool operator!=(BasicStringRef lhs, BasicStringRef rhs) { + return lhs.data_ != rhs.data_; + } +}; + +typedef BasicStringRef<char> StringRef; +typedef BasicStringRef<wchar_t> WStringRef; + +/** + A formatting error such as invalid format string. +*/ +class FormatError : public std::runtime_error { + public: + explicit FormatError(StringRef message) + : std::runtime_error(message.c_str()) {} +}; + +namespace internal { + +// The number of characters to store in the MemoryBuffer object itself +// to avoid dynamic memory allocation. +enum { INLINE_BUFFER_SIZE = 500 }; + +#if _SECURE_SCL +// Use checked iterator to avoid warnings on MSVC. +template <typename T> +inline stdext::checked_array_iterator<T*> make_ptr(T *ptr, std::size_t size) { + return stdext::checked_array_iterator<T*>(ptr, size); +} +#else +template <typename T> +inline T *make_ptr(T *ptr, std::size_t) { return ptr; } +#endif + +// A buffer for POD types. It supports a subset of std::vector's operations. +template <typename T> +class Buffer { + private: + FMT_DISALLOW_COPY_AND_ASSIGN(Buffer); + + protected: + T *ptr_; + std::size_t size_; + std::size_t capacity_; + + Buffer(T *ptr = 0, std::size_t capacity = 0) + : ptr_(ptr), size_(0), capacity_(capacity) {} + + virtual void grow(std::size_t size) = 0; + + public: + virtual ~Buffer() {} + + // Returns the size of this buffer. + std::size_t size() const { return size_; } + + // Returns the capacity of this buffer. + std::size_t capacity() const { return capacity_; } + + // Resizes the buffer. If T is a POD type new elements are not initialized. + void resize(std::size_t new_size) { + if (new_size > capacity_) + grow(new_size); + size_ = new_size; + } + + // Reserves space to store at least capacity elements. + void reserve(std::size_t capacity) { + if (capacity > capacity_) + grow(capacity); + } + + void clear() FMT_NOEXCEPT { size_ = 0; } + + void push_back(const T &value) { + if (size_ == capacity_) + grow(size_ + 1); + ptr_[size_++] = value; + } + + // Appends data to the end of the buffer. + void append(const T *begin, const T *end); + + T &operator[](std::size_t index) { return ptr_[index]; } + const T &operator[](std::size_t index) const { return ptr_[index]; } +}; + +template <typename T> +void Buffer<T>::append(const T *begin, const T *end) { + std::ptrdiff_t num_elements = end - begin; + if (size_ + num_elements > capacity_) + grow(size_ + num_elements); + std::copy(begin, end, make_ptr(ptr_, capacity_) + size_); + size_ += num_elements; +} + +// A memory buffer for POD types with the first SIZE elements stored in +// the object itself. +template <typename T, std::size_t SIZE, typename Allocator = std::allocator<T> > +class MemoryBuffer : private Allocator, public Buffer<T> { + private: + T data_[SIZE]; + + // Free memory allocated by the buffer. + void free() { + if (this->ptr_ != data_) this->deallocate(this->ptr_, this->capacity_); + } + + protected: + void grow(std::size_t size); + + public: + explicit MemoryBuffer(const Allocator &alloc = Allocator()) + : Allocator(alloc), Buffer<T>(data_, SIZE) {} + ~MemoryBuffer() { free(); } + +#if FMT_USE_RVALUE_REFERENCES + private: + // Move data from other to this buffer. + void move(MemoryBuffer &other) { + Allocator &this_alloc = *this, &other_alloc = other; + this_alloc = std::move(other_alloc); + this->size_ = other.size_; + this->capacity_ = other.capacity_; + if (other.ptr_ == other.data_) { + this->ptr_ = data_; + std::copy(other.data_, + other.data_ + this->size_, make_ptr(data_, this->capacity_)); + } else { + this->ptr_ = other.ptr_; + // Set pointer to the inline array so that delete is not called + // when freeing. + other.ptr_ = other.data_; + } + } + + public: + MemoryBuffer(MemoryBuffer &&other) { + move(other); + } + + MemoryBuffer &operator=(MemoryBuffer &&other) { + assert(this != &other); + free(); + move(other); + return *this; + } +#endif + + // Returns a copy of the allocator associated with this buffer. + Allocator get_allocator() const { return *this; } +}; + +template <typename T, std::size_t SIZE, typename Allocator> +void MemoryBuffer<T, SIZE, Allocator>::grow(std::size_t size) { + std::size_t new_capacity = + (std::max)(size, this->capacity_ + this->capacity_ / 2); + T *new_ptr = this->allocate(new_capacity); + // The following code doesn't throw, so the raw pointer above doesn't leak. + std::copy(this->ptr_, + this->ptr_ + this->size_, make_ptr(new_ptr, new_capacity)); + std::size_t old_capacity = this->capacity_; + T *old_ptr = this->ptr_; + this->capacity_ = new_capacity; + this->ptr_ = new_ptr; + // deallocate may throw (at least in principle), but it doesn't matter since + // the buffer already uses the new storage and will deallocate it in case + // of exception. + if (old_ptr != data_) + this->deallocate(old_ptr, old_capacity); +} + +// A fixed-size buffer. +template <typename Char> +class FixedBuffer : public fmt::internal::Buffer<Char> { + public: + FixedBuffer(Char *array, std::size_t size) + : fmt::internal::Buffer<Char>(array, size) {} + + protected: + void grow(std::size_t size); +}; + +#ifndef _MSC_VER +// Portable version of signbit. +inline int getsign(double x) { + // When compiled in C++11 mode signbit is no longer a macro but a function + // defined in namespace std and the macro is undefined. +# ifdef signbit + return signbit(x); +# else + return std::signbit(x); +# endif +} + +// Portable version of isinf. +# ifdef isinf +inline int isinfinity(double x) { return isinf(x); } +inline int isinfinity(long double x) { return isinf(x); } +# else +inline int isinfinity(double x) { return std::isinf(x); } +inline int isinfinity(long double x) { return std::isinf(x); } +# endif +#else +inline int getsign(double value) { + if (value < 0) return 1; + if (value == value) return 0; + int dec = 0, sign = 0; + char buffer[2]; // The buffer size must be >= 2 or _ecvt_s will fail. + _ecvt_s(buffer, sizeof(buffer), value, 0, &dec, &sign); + return sign; +} +inline int isinfinity(double x) { return !_finite(x); } +inline int isinfinity(long double x) { return !_finite(static_cast<double>(x)); } +#endif + +template <typename Char> +class BasicCharTraits { + public: +#if _SECURE_SCL + typedef stdext::checked_array_iterator<Char*> CharPtr; +#else + typedef Char *CharPtr; +#endif +}; + +template <typename Char> +class CharTraits; + +template <> +class CharTraits<char> : public BasicCharTraits<char> { + private: + // Conversion from wchar_t to char is not allowed. + static char convert(wchar_t); + +public: + static char convert(char value) { return value; } + + // Formats a floating-point number. + template <typename T> + static int format_float(char *buffer, std::size_t size, + const char *format, unsigned width, int precision, T value); +}; + +template <> +class CharTraits<wchar_t> : public BasicCharTraits<wchar_t> { + public: + static wchar_t convert(char value) { return value; } + static wchar_t convert(wchar_t value) { return value; } + + template <typename T> + static int format_float(wchar_t *buffer, std::size_t size, + const wchar_t *format, unsigned width, int precision, T value); +}; + +// Checks if a number is negative - used to avoid warnings. +template <bool IsSigned> +struct SignChecker { + template <typename T> + static bool is_negative(T value) { return value < 0; } +}; + +template <> +struct SignChecker<false> { + template <typename T> + static bool is_negative(T) { return false; } +}; + +// Returns true if value is negative, false otherwise. +// Same as (value < 0) but doesn't produce warnings if T is an unsigned type. +template <typename T> +inline bool is_negative(T value) { + return SignChecker<std::numeric_limits<T>::is_signed>::is_negative(value); +} + +// Selects uint32_t if FitsIn32Bits is true, uint64_t otherwise. +template <bool FitsIn32Bits> +struct TypeSelector { typedef uint32_t Type; }; + +template <> +struct TypeSelector<false> { typedef uint64_t Type; }; + +template <typename T> +struct IntTraits { + // Smallest of uint32_t and uint64_t that is large enough to represent + // all values of T. + typedef typename + TypeSelector<std::numeric_limits<T>::digits <= 32>::Type MainType; +}; + +// MakeUnsigned<T>::Type gives an unsigned type corresponding to integer type T. +template <typename T> +struct MakeUnsigned { typedef T Type; }; + +#define FMT_SPECIALIZE_MAKE_UNSIGNED(T, U) \ + template <> \ + struct MakeUnsigned<T> { typedef U Type; } + +FMT_SPECIALIZE_MAKE_UNSIGNED(char, unsigned char); +FMT_SPECIALIZE_MAKE_UNSIGNED(signed char, unsigned char); +FMT_SPECIALIZE_MAKE_UNSIGNED(short, unsigned short); +FMT_SPECIALIZE_MAKE_UNSIGNED(int, unsigned); +FMT_SPECIALIZE_MAKE_UNSIGNED(long, unsigned long); +FMT_SPECIALIZE_MAKE_UNSIGNED(LongLong, ULongLong); + +void report_unknown_type(char code, const char *type); + +// Static data is placed in this class template to allow header-only +// configuration. +template <typename T = void> +struct BasicData { + static const uint32_t POWERS_OF_10_32[]; + static const uint64_t POWERS_OF_10_64[]; + static const char DIGITS[]; +}; + +typedef BasicData<> Data; + +#if FMT_GCC_VERSION >= 400 || FMT_HAS_BUILTIN(__builtin_clz) +# define FMT_BUILTIN_CLZ(n) __builtin_clz(n) +#endif + +#if FMT_GCC_VERSION >= 400 || FMT_HAS_BUILTIN(__builtin_clzll) +# define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n) +#endif + +#ifdef FMT_BUILTIN_CLZLL +// Returns the number of decimal digits in n. Leading zeros are not counted +// except for n == 0 in which case count_digits returns 1. +inline unsigned count_digits(uint64_t n) { + // Based on http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog10 + // and the benchmark https://github.com/localvoid/cxx-benchmark-count-digits. + unsigned t = (64 - FMT_BUILTIN_CLZLL(n | 1)) * 1233 >> 12; + return t - (n < Data::POWERS_OF_10_64[t]) + 1; +} +#else +// Fallback version of count_digits used when __builtin_clz is not available. +inline unsigned count_digits(uint64_t n) { + unsigned count = 1; + for (;;) { + // Integer division is slow so do it for a group of four digits instead + // of for every digit. The idea comes from the talk by Alexandrescu + // "Three Optimization Tips for C++". See speed-test for a comparison. + if (n < 10) return count; + if (n < 100) return count + 1; + if (n < 1000) return count + 2; + if (n < 10000) return count + 3; + n /= 10000u; + count += 4; + } +} +#endif + +#ifdef FMT_BUILTIN_CLZ +// Optional version of count_digits for better performance on 32-bit platforms. +inline unsigned count_digits(uint32_t n) { + uint32_t t = (32 - FMT_BUILTIN_CLZ(n | 1)) * 1233 >> 12; + return t - (n < Data::POWERS_OF_10_32[t]) + 1; +} +#endif + +// Formats a decimal unsigned integer value writing into buffer. +template <typename UInt, typename Char> +inline void format_decimal(Char *buffer, UInt value, unsigned num_digits) { + --num_digits; + while (value >= 100) { + // Integer division is slow so do it for a group of two digits instead + // of for every digit. The idea comes from the talk by Alexandrescu + // "Three Optimization Tips for C++". See speed-test for a comparison. + unsigned index = (value % 100) * 2; + value /= 100; + buffer[num_digits] = Data::DIGITS[index + 1]; + buffer[num_digits - 1] = Data::DIGITS[index]; + num_digits -= 2; + } + if (value < 10) { + *buffer = static_cast<char>('0' + value); + return; + } + unsigned index = static_cast<unsigned>(value * 2); + buffer[1] = Data::DIGITS[index + 1]; + buffer[0] = Data::DIGITS[index]; +} + +#ifdef _WIN32 +// A converter from UTF-8 to UTF-16. +// It is only provided for Windows since other systems support UTF-8 natively. +class UTF8ToUTF16 { + private: + MemoryBuffer<wchar_t, INLINE_BUFFER_SIZE> buffer_; + + public: + explicit UTF8ToUTF16(StringRef s); + operator WStringRef() const { return WStringRef(&buffer_[0], size()); } + size_t size() const { return buffer_.size() - 1; } + const wchar_t *c_str() const { return &buffer_[0]; } + std::wstring str() const { return std::wstring(&buffer_[0], size()); } +}; + +// A converter from UTF-16 to UTF-8. +// It is only provided for Windows since other systems support UTF-8 natively. +class UTF16ToUTF8 { + private: + MemoryBuffer<char, INLINE_BUFFER_SIZE> buffer_; + + public: + UTF16ToUTF8() {} + explicit UTF16ToUTF8(WStringRef s); + operator StringRef() const { return StringRef(&buffer_[0], size()); } + size_t size() const { return buffer_.size() - 1; } + const char *c_str() const { return &buffer_[0]; } + std::string str() const { return std::string(&buffer_[0], size()); } + + // Performs conversion returning a system error code instead of + // throwing exception on conversion error. This method may still throw + // in case of memory allocation error. + int convert(WStringRef s); +}; +#endif + +void format_system_error(fmt::Writer &out, int error_code, + fmt::StringRef message) FMT_NOEXCEPT; + +#ifdef _WIN32 +void format_windows_error(fmt::Writer &out, int error_code, + fmt::StringRef message) FMT_NOEXCEPT; +#endif + +// Computes max(Arg, 1) at compile time. It is used to avoid errors about +// allocating an array of 0 size. +template <unsigned Arg> +struct NonZero { + enum { VALUE = Arg }; +}; + +template <> +struct NonZero<0> { + enum { VALUE = 1 }; +}; + +// The value of a formatting argument. It is a POD type to allow storage in +// internal::MemoryBuffer. +struct Value { + template <typename Char> + struct StringValue { + const Char *value; + std::size_t size; + }; + + typedef void (*FormatFunc)( + void *formatter, const void *arg, void *format_str_ptr); + + struct CustomValue { + const void *value; + FormatFunc format; + }; + + union { + int int_value; + unsigned uint_value; + LongLong long_long_value; + ULongLong ulong_long_value; + double double_value; + long double long_double_value; + const void *pointer; + StringValue<char> string; + StringValue<signed char> sstring; + StringValue<unsigned char> ustring; + StringValue<wchar_t> wstring; + CustomValue custom; + }; +}; + +struct Arg : Value { + enum Type { + NONE, + // Integer types should go first, + INT, UINT, LONG_LONG, ULONG_LONG, CHAR, LAST_INTEGER_TYPE = CHAR, + // followed by floating-point types. + DOUBLE, LONG_DOUBLE, LAST_NUMERIC_TYPE = LONG_DOUBLE, + CSTRING, STRING, WSTRING, POINTER, CUSTOM + }; + Type type; +}; + +template <typename T = void> +struct None {}; + +// A helper class template to enable or disable overloads taking wide +// characters and strings in MakeValue. +template <typename T, typename Char> +struct WCharHelper { + typedef None<T> Supported; + typedef T Unsupported; +}; + +template <typename T> +struct WCharHelper<T, wchar_t> { + typedef T Supported; + typedef None<T> Unsupported; +}; + +template <typename T> +class IsConvertibleToInt { + private: + typedef char yes[1]; + typedef char no[2]; + + static const T &get(); + + static yes &check(fmt::ULongLong); + static no &check(...); + + public: + enum { value = (sizeof(check(get())) == sizeof(yes)) }; +}; + +template<bool B, class T = void> +struct EnableIf {}; + +template<class T> +struct EnableIf<true, T> { typedef T type; }; + +// Makes a Value object from any type. +template <typename Char> +class MakeValue : public Value { + private: + // The following two methods are private to disallow formatting of + // arbitrary pointers. If you want to output a pointer cast it to + // "void *" or "const void *". In particular, this forbids formatting + // of "[const] volatile char *" which is printed as bool by iostreams. + // Do not implement! + template <typename T> + MakeValue(const T *value); + template <typename T> + MakeValue(T *value); + + // The following methods are private to disallow formatting of wide + // characters and strings into narrow strings as in + // fmt::format("{}", L"test"); + // To fix this, use a wide format string: fmt::format(L"{}", L"test"). + MakeValue(typename WCharHelper<wchar_t, Char>::Unsupported); + MakeValue(typename WCharHelper<wchar_t *, Char>::Unsupported); + MakeValue(typename WCharHelper<const wchar_t *, Char>::Unsupported); + MakeValue(typename WCharHelper<const std::wstring &, Char>::Unsupported); + MakeValue(typename WCharHelper<WStringRef, Char>::Unsupported); + + void set_string(StringRef str) { + string.value = str.c_str(); + string.size = str.size(); + } + + void set_string(WStringRef str) { + wstring.value = str.c_str(); + wstring.size = str.size(); + } + + // Formats an argument of a custom type, such as a user-defined class. + template <typename T> + static void format_custom_arg( + void *formatter, const void *arg, void *format_str_ptr) { + format(*static_cast<BasicFormatter<Char>*>(formatter), + *static_cast<const Char**>(format_str_ptr), + *static_cast<const T*>(arg)); + } + + public: + MakeValue() {} + +#define FMT_MAKE_VALUE(Type, field, TYPE) \ + MakeValue(Type value) { field = value; } \ + static uint64_t type(Type) { return Arg::TYPE; } + + FMT_MAKE_VALUE(bool, int_value, INT) + FMT_MAKE_VALUE(short, int_value, INT) + FMT_MAKE_VALUE(unsigned short, uint_value, UINT) + FMT_MAKE_VALUE(int, int_value, INT) + FMT_MAKE_VALUE(unsigned, uint_value, UINT) + + MakeValue(long value) { + // To minimize the number of types we need to deal with, long is + // translated either to int or to long long depending on its size. + if (sizeof(long) == sizeof(int)) + int_value = static_cast<int>(value); + else + long_long_value = value; + } + static uint64_t type(long) { + return sizeof(long) == sizeof(int) ? Arg::INT : Arg::LONG_LONG; + } + + MakeValue(unsigned long value) { + if (sizeof(unsigned long) == sizeof(unsigned)) + uint_value = static_cast<unsigned>(value); + else + ulong_long_value = value; + } + static uint64_t type(unsigned long) { + return sizeof(unsigned long) == sizeof(unsigned) ? + Arg::UINT : Arg::ULONG_LONG; + } + + FMT_MAKE_VALUE(LongLong, long_long_value, LONG_LONG) + FMT_MAKE_VALUE(ULongLong, ulong_long_value, ULONG_LONG) + FMT_MAKE_VALUE(float, double_value, DOUBLE) + FMT_MAKE_VALUE(double, double_value, DOUBLE) + FMT_MAKE_VALUE(long double, long_double_value, LONG_DOUBLE) + FMT_MAKE_VALUE(signed char, int_value, CHAR) + FMT_MAKE_VALUE(unsigned char, int_value, CHAR) + FMT_MAKE_VALUE(char, int_value, CHAR) + + MakeValue(typename WCharHelper<wchar_t, Char>::Supported value) { + int_value = value; + } + static uint64_t type(wchar_t) { return Arg::CHAR; } + +#define FMT_MAKE_STR_VALUE(Type, TYPE) \ + MakeValue(Type value) { set_string(value); } \ + static uint64_t type(Type) { return Arg::TYPE; } + + FMT_MAKE_VALUE(char *, string.value, CSTRING) + FMT_MAKE_VALUE(const char *, string.value, CSTRING) + FMT_MAKE_VALUE(const signed char *, sstring.value, CSTRING) + FMT_MAKE_VALUE(const unsigned char *, ustring.value, CSTRING) + FMT_MAKE_STR_VALUE(const std::string &, STRING) + FMT_MAKE_STR_VALUE(StringRef, STRING) + +#define FMT_MAKE_WSTR_VALUE(Type, TYPE) \ + MakeValue(typename WCharHelper<Type, Char>::Supported value) { \ + set_string(value); \ + } \ + static uint64_t type(Type) { return Arg::TYPE; } + + FMT_MAKE_WSTR_VALUE(wchar_t *, WSTRING) + FMT_MAKE_WSTR_VALUE(const wchar_t *, WSTRING) + FMT_MAKE_WSTR_VALUE(const std::wstring &, WSTRING) + FMT_MAKE_WSTR_VALUE(WStringRef, WSTRING) + + FMT_MAKE_VALUE(void *, pointer, POINTER) + FMT_MAKE_VALUE(const void *, pointer, POINTER) + + template <typename T> + MakeValue(const T &value, + typename EnableIf<!IsConvertibleToInt<T>::value, int>::type = 0) { + custom.value = &value; + custom.format = &format_custom_arg<T>; + } + + template <typename T> + MakeValue(const T &value, + typename EnableIf<IsConvertibleToInt<T>::value, int>::type = 0) { + int_value = value; + } + + template <typename T> + static uint64_t type(const T &) { + return IsConvertibleToInt<T>::value ? Arg::INT : Arg::CUSTOM; + } +}; + +#define FMT_DISPATCH(call) static_cast<Impl*>(this)->call + +// An argument visitor. +// To use ArgVisitor define a subclass that implements some or all of the +// visit methods with the same signatures as the methods in ArgVisitor, +// for example, visit_int(int). +// Specify the subclass name as the Impl template parameter. Then calling +// ArgVisitor::visit for some argument will dispatch to a visit method +// specific to the argument type. For example, if the argument type is +// double then visit_double(double) method of a subclass will be called. +// If the subclass doesn't contain a method with this signature, then +// a corresponding method of ArgVisitor will be called. +// +// Example: +// class MyArgVisitor : public ArgVisitor<MyArgVisitor, void> { +// public: +// void visit_int(int value) { print("{}", value); } +// void visit_double(double value) { print("{}", value ); } +// }; +// +// ArgVisitor uses the curiously recurring template pattern: +// http://en.wikipedia.org/wiki/Curiously_recurring_template_pattern +template <typename Impl, typename Result> +class ArgVisitor { + public: + Result visit_unhandled_arg() { return Result(); } + + Result visit_int(int value) { + return FMT_DISPATCH(visit_any_int(value)); + } + Result visit_long_long(LongLong value) { + return FMT_DISPATCH(visit_any_int(value)); + } + Result visit_uint(unsigned value) { + return FMT_DISPATCH(visit_any_int(value)); + } + Result visit_ulong_long(ULongLong value) { + return FMT_DISPATCH(visit_any_int(value)); + } + Result visit_char(int value) { + return FMT_DISPATCH(visit_any_int(value)); + } + template <typename T> + Result visit_any_int(T) { + return FMT_DISPATCH(visit_unhandled_arg()); + } + + Result visit_double(double value) { + return FMT_DISPATCH(visit_any_double(value)); + } + Result visit_long_double(long double value) { + return FMT_DISPATCH(visit_any_double(value)); + } + template <typename T> + Result visit_any_double(T) { + return FMT_DISPATCH(visit_unhandled_arg()); + } + + Result visit_string(Arg::StringValue<char>) { + return FMT_DISPATCH(visit_unhandled_arg()); + } + Result visit_wstring(Arg::StringValue<wchar_t>) { + return FMT_DISPATCH(visit_unhandled_arg()); + } + Result visit_pointer(const void *) { + return FMT_DISPATCH(visit_unhandled_arg()); + } + Result visit_custom(Arg::CustomValue) { + return FMT_DISPATCH(visit_unhandled_arg()); + } + + Result visit(const Arg &arg) { + switch (arg.type) { + default: + assert(false); + return Result(); + case Arg::INT: + return FMT_DISPATCH(visit_int(arg.int_value)); + case Arg::UINT: + return FMT_DISPATCH(visit_uint(arg.uint_value)); + case Arg::LONG_LONG: + return FMT_DISPATCH(visit_long_long(arg.long_long_value)); + case Arg::ULONG_LONG: + return FMT_DISPATCH(visit_ulong_long(arg.ulong_long_value)); + case Arg::DOUBLE: + return FMT_DISPATCH(visit_double(arg.double_value)); + case Arg::LONG_DOUBLE: + return FMT_DISPATCH(visit_long_double(arg.long_double_value)); + case Arg::CHAR: + return FMT_DISPATCH(visit_char(arg.int_value)); + case Arg::CSTRING: { + Value::StringValue<char> str = arg.string; + str.size = 0; + return FMT_DISPATCH(visit_string(str)); + } + case Arg::STRING: + return FMT_DISPATCH(visit_string(arg.string)); + case Arg::WSTRING: + return FMT_DISPATCH(visit_wstring(arg.wstring)); + case Arg::POINTER: + return FMT_DISPATCH(visit_pointer(arg.pointer)); + case Arg::CUSTOM: + return FMT_DISPATCH(visit_custom(arg.custom)); + } + } +}; + +class RuntimeError : public std::runtime_error { + protected: + RuntimeError() : std::runtime_error("") {} +}; + +template <typename Char> +class ArgFormatter; +} // namespace internal + +/** + An argument list. + */ +class ArgList { + private: + uint64_t types_; + const internal::Value *values_; + + public: + // Maximum number of arguments that can be passed in ArgList. + enum { MAX_ARGS = 16 }; + + ArgList() : types_(0) {} + ArgList(ULongLong types, const internal::Value *values) + : types_(types), values_(values) {} + + /** + Returns the argument at specified index. + */ + internal::Arg operator[](unsigned index) const { + using internal::Arg; + Arg arg; + if (index >= MAX_ARGS) { + arg.type = Arg::NONE; + return arg; + } + unsigned shift = index * 4; + uint64_t mask = 0xf; + Arg::Type type = + static_cast<Arg::Type>((types_ & (mask << shift)) >> shift); + arg.type = type; + if (type != Arg::NONE) { + internal::Value &value = arg; + value = values_[index]; + } + return arg; + } +}; + +struct FormatSpec; + +namespace internal { + +class FormatterBase { + private: + ArgList args_; + int next_arg_index_; + + // Returns the argument with specified index. + Arg do_get_arg(unsigned arg_index, const char *&error); + + protected: + void set_args(const ArgList &args) { + args_ = args; + next_arg_index_ = 0; + } + + // Returns the next argument. + Arg next_arg(const char *&error); + + // Checks if manual indexing is used and returns the argument with + // specified index. + Arg get_arg(unsigned arg_index, const char *&error); + + template <typename Char> + void write(BasicWriter<Char> &w, const Char *start, const Char *end) { + if (start != end) + w << BasicStringRef<Char>(start, end - start); + } +}; + +// A printf formatter. +template <typename Char> +class PrintfFormatter : private FormatterBase { + private: + void parse_flags(FormatSpec &spec, const Char *&s); + + // Returns the argument with specified index or, if arg_index is equal + // to the maximum unsigned value, the next argument. + Arg get_arg(const Char *s, + unsigned arg_index = (std::numeric_limits<unsigned>::max)()); + + // Parses argument index, flags and width and returns the argument index. + unsigned parse_header(const Char *&s, FormatSpec &spec); + + public: + void format(BasicWriter<Char> &writer, + BasicStringRef<Char> format_str, const ArgList &args); +}; +} // namespace internal + +// A formatter. +template <typename Char> +class BasicFormatter : private internal::FormatterBase { + private: + BasicWriter<Char> &writer_; + const Char *start_; + + FMT_DISALLOW_COPY_AND_ASSIGN(BasicFormatter); + + // Parses argument index and returns corresponding argument. + internal::Arg parse_arg_index(const Char *&s); + + public: + explicit BasicFormatter(BasicWriter<Char> &w) : writer_(w) {} + + BasicWriter<Char> &writer() { return writer_; } + + void format(BasicStringRef<Char> format_str, const ArgList &args); + + const Char *format(const Char *&format_str, const internal::Arg &arg); +}; + +enum Alignment { + ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_CENTER, ALIGN_NUMERIC +}; + +// Flags. +enum { + SIGN_FLAG = 1, PLUS_FLAG = 2, MINUS_FLAG = 4, HASH_FLAG = 8, + CHAR_FLAG = 0x10 // Argument has char type - used in error reporting. +}; + +// An empty format specifier. +struct EmptySpec {}; + +// A type specifier. +template <char TYPE> +struct TypeSpec : EmptySpec { + Alignment align() const { return ALIGN_DEFAULT; } + unsigned width() const { return 0; } + int precision() const { return -1; } + bool flag(unsigned) const { return false; } + char type() const { return TYPE; } + char fill() const { return ' '; } +}; + +// A width specifier. +struct WidthSpec { + unsigned width_; + // Fill is always wchar_t and cast to char if necessary to avoid having + // two specialization of WidthSpec and its subclasses. + wchar_t fill_; + + WidthSpec(unsigned width, wchar_t fill) : width_(width), fill_(fill) {} + + unsigned width() const { return width_; } + wchar_t fill() const { return fill_; } +}; + +// An alignment specifier. +struct AlignSpec : WidthSpec { + Alignment align_; + + AlignSpec(unsigned width, wchar_t fill, Alignment align = ALIGN_DEFAULT) + : WidthSpec(width, fill), align_(align) {} + + Alignment align() const { return align_; } + + int precision() const { return -1; } +}; + +// An alignment and type specifier. +template <char TYPE> +struct AlignTypeSpec : AlignSpec { + AlignTypeSpec(unsigned width, wchar_t fill) : AlignSpec(width, fill) {} + + bool flag(unsigned) const { return false; } + char type() const { return TYPE; } +}; + +// A full format specifier. +struct FormatSpec : AlignSpec { + unsigned flags_; + int precision_; + char type_; + + FormatSpec( + unsigned width = 0, char type = 0, wchar_t fill = ' ') + : AlignSpec(width, fill), flags_(0), precision_(-1), type_(type) {} + + bool flag(unsigned f) const { return (flags_ & f) != 0; } + int precision() const { return precision_; } + char type() const { return type_; } +}; + +// An integer format specifier. +template <typename T, typename SpecT = TypeSpec<0>, typename Char = char> +class IntFormatSpec : public SpecT { + private: + T value_; + + public: + IntFormatSpec(T val, const SpecT &spec = SpecT()) + : SpecT(spec), value_(val) {} + + T value() const { return value_; } +}; + +// A string format specifier. +template <typename T> +class StrFormatSpec : public AlignSpec { + private: + const T *str_; + + public: + StrFormatSpec(const T *str, unsigned width, wchar_t fill) + : AlignSpec(width, fill), str_(str) {} + + const T *str() const { return str_; } +}; + +/** + Returns an integer format specifier to format the value in base 2. + */ +IntFormatSpec<int, TypeSpec<'b'> > bin(int value); + +/** + Returns an integer format specifier to format the value in base 8. + */ +IntFormatSpec<int, TypeSpec<'o'> > oct(int value); + +/** + Returns an integer format specifier to format the value in base 16 using + lower-case letters for the digits above 9. + */ +IntFormatSpec<int, TypeSpec<'x'> > hex(int value); + +/** + Returns an integer formatter format specifier to format in base 16 using + upper-case letters for the digits above 9. + */ +IntFormatSpec<int, TypeSpec<'X'> > hexu(int value); + +/** + \rst + Returns an integer format specifier to pad the formatted argument with the + fill character to the specified width using the default (right) numeric + alignment. + + **Example**:: + + MemoryWriter out; + out << pad(hex(0xcafe), 8, '0'); + // out.str() == "0000cafe" + + \endrst + */ +template <char TYPE_CODE, typename Char> +IntFormatSpec<int, AlignTypeSpec<TYPE_CODE>, Char> pad( + int value, unsigned width, Char fill = ' '); + +#define FMT_DEFINE_INT_FORMATTERS(TYPE) \ +inline IntFormatSpec<TYPE, TypeSpec<'b'> > bin(TYPE value) { \ + return IntFormatSpec<TYPE, TypeSpec<'b'> >(value, TypeSpec<'b'>()); \ +} \ + \ +inline IntFormatSpec<TYPE, TypeSpec<'o'> > oct(TYPE value) { \ + return IntFormatSpec<TYPE, TypeSpec<'o'> >(value, TypeSpec<'o'>()); \ +} \ + \ +inline IntFormatSpec<TYPE, TypeSpec<'x'> > hex(TYPE value) { \ + return IntFormatSpec<TYPE, TypeSpec<'x'> >(value, TypeSpec<'x'>()); \ +} \ + \ +inline IntFormatSpec<TYPE, TypeSpec<'X'> > hexu(TYPE value) { \ + return IntFormatSpec<TYPE, TypeSpec<'X'> >(value, TypeSpec<'X'>()); \ +} \ + \ +template <char TYPE_CODE> \ +inline IntFormatSpec<TYPE, AlignTypeSpec<TYPE_CODE> > pad( \ + IntFormatSpec<TYPE, TypeSpec<TYPE_CODE> > f, unsigned width) { \ + return IntFormatSpec<TYPE, AlignTypeSpec<TYPE_CODE> >( \ + f.value(), AlignTypeSpec<TYPE_CODE>(width, ' ')); \ +} \ + \ +/* For compatibility with older compilers we provide two overloads for pad, */ \ +/* one that takes a fill character and one that doesn't. In the future this */ \ +/* can be replaced with one overload making the template argument Char */ \ +/* default to char (C++11). */ \ +template <char TYPE_CODE, typename Char> \ +inline IntFormatSpec<TYPE, AlignTypeSpec<TYPE_CODE>, Char> pad( \ + IntFormatSpec<TYPE, TypeSpec<TYPE_CODE>, Char> f, \ + unsigned width, Char fill) { \ + return IntFormatSpec<TYPE, AlignTypeSpec<TYPE_CODE>, Char>( \ + f.value(), AlignTypeSpec<TYPE_CODE>(width, fill)); \ +} \ + \ +inline IntFormatSpec<TYPE, AlignTypeSpec<0> > pad( \ + TYPE value, unsigned width) { \ + return IntFormatSpec<TYPE, AlignTypeSpec<0> >( \ + value, AlignTypeSpec<0>(width, ' ')); \ +} \ + \ +template <typename Char> \ +inline IntFormatSpec<TYPE, AlignTypeSpec<0>, Char> pad( \ + TYPE value, unsigned width, Char fill) { \ + return IntFormatSpec<TYPE, AlignTypeSpec<0>, Char>( \ + value, AlignTypeSpec<0>(width, fill)); \ +} + +FMT_DEFINE_INT_FORMATTERS(int) +FMT_DEFINE_INT_FORMATTERS(long) +FMT_DEFINE_INT_FORMATTERS(unsigned) +FMT_DEFINE_INT_FORMATTERS(unsigned long) +FMT_DEFINE_INT_FORMATTERS(LongLong) +FMT_DEFINE_INT_FORMATTERS(ULongLong) + +/** + \rst + Returns a string formatter that pads the formatted argument with the fill + character to the specified width using the default (left) string alignment. + + **Example**:: + + std::string s = str(MemoryWriter() << pad("abc", 8)); + // s == "abc " + + \endrst + */ +template <typename Char> +inline StrFormatSpec<Char> pad( + const Char *str, unsigned width, Char fill = ' ') { + return StrFormatSpec<Char>(str, width, fill); +} + +inline StrFormatSpec<wchar_t> pad( + const wchar_t *str, unsigned width, char fill = ' ') { + return StrFormatSpec<wchar_t>(str, width, fill); +} + +// Generates a comma-separated list with results of applying f to +// numbers 0..n-1. +# define FMT_GEN(n, f) FMT_GEN##n(f) +# define FMT_GEN1(f) f(0) +# define FMT_GEN2(f) FMT_GEN1(f), f(1) +# define FMT_GEN3(f) FMT_GEN2(f), f(2) +# define FMT_GEN4(f) FMT_GEN3(f), f(3) +# define FMT_GEN5(f) FMT_GEN4(f), f(4) +# define FMT_GEN6(f) FMT_GEN5(f), f(5) +# define FMT_GEN7(f) FMT_GEN6(f), f(6) +# define FMT_GEN8(f) FMT_GEN7(f), f(7) +# define FMT_GEN9(f) FMT_GEN8(f), f(8) +# define FMT_GEN10(f) FMT_GEN9(f), f(9) +# define FMT_GEN11(f) FMT_GEN10(f), f(10) +# define FMT_GEN12(f) FMT_GEN11(f), f(11) +# define FMT_GEN13(f) FMT_GEN12(f), f(12) +# define FMT_GEN14(f) FMT_GEN13(f), f(13) +# define FMT_GEN15(f) FMT_GEN14(f), f(14) + +namespace internal { +inline uint64_t make_type() { return 0; } + +template <typename T> +inline uint64_t make_type(const T &arg) { return MakeValue<char>::type(arg); } + +#if FMT_USE_VARIADIC_TEMPLATES +template <typename Arg, typename... Args> +inline uint64_t make_type(const Arg &first, const Args & ... tail) { + return make_type(first) | (make_type(tail...) << 4); +} +#else + +struct ArgType { + uint64_t type; + + ArgType() : type(0) {} + + template <typename T> + ArgType(const T &arg) : type(make_type(arg)) {} +}; + +# define FMT_ARG_TYPE_DEFAULT(n) ArgType t##n = ArgType() + +inline uint64_t make_type(FMT_GEN15(FMT_ARG_TYPE_DEFAULT)) { + return t0.type | (t1.type << 4) | (t2.type << 8) | (t3.type << 12) | + (t4.type << 16) | (t5.type << 20) | (t6.type << 24) | (t7.type << 28) | + (t8.type << 32) | (t9.type << 36) | (t10.type << 40) | (t11.type << 44) | + (t12.type << 48) | (t13.type << 52) | (t14.type << 56); +} +#endif +} // namespace internal + +# define FMT_MAKE_TEMPLATE_ARG(n) typename T##n +# define FMT_MAKE_ARG_TYPE(n) T##n +# define FMT_MAKE_ARG(n) const T##n &v##n +# define FMT_MAKE_REF_char(n) fmt::internal::MakeValue<char>(v##n) +# define FMT_MAKE_REF_wchar_t(n) fmt::internal::MakeValue<wchar_t>(v##n) + +#if FMT_USE_VARIADIC_TEMPLATES +// Defines a variadic function returning void. +# define FMT_VARIADIC_VOID(func, arg_type) \ + template <typename... Args> \ + void func(arg_type arg1, const Args & ... args) { \ + const fmt::internal::Value values[ \ + fmt::internal::NonZero<sizeof...(Args)>::VALUE] = { \ + fmt::internal::MakeValue<Char>(args)... \ + }; \ + func(arg1, ArgList(fmt::internal::make_type(args...), values)); \ + } + +// Defines a variadic constructor. +# define FMT_VARIADIC_CTOR(ctor, func, arg0_type, arg1_type) \ + template <typename... Args> \ + ctor(arg0_type arg0, arg1_type arg1, const Args & ... args) { \ + using fmt::internal::MakeValue; \ + const fmt::internal::Value values[ \ + fmt::internal::NonZero<sizeof...(Args)>::VALUE] = { \ + MakeValue<Char>(args)... \ + }; \ + func(arg0, arg1, ArgList(fmt::internal::make_type(args...), values)); \ + } + +#else + +# define FMT_MAKE_REF(n) fmt::internal::MakeValue<Char>(v##n) +# define FMT_MAKE_REF2(n) v##n + +// Defines a wrapper for a function taking one argument of type arg_type +// and n additional arguments of arbitrary types. +# define FMT_WRAP1(func, arg_type, n) \ + template <FMT_GEN(n, FMT_MAKE_TEMPLATE_ARG)> \ + inline void func(arg_type arg1, FMT_GEN(n, FMT_MAKE_ARG)) { \ + const fmt::internal::Value vals[] = {FMT_GEN(n, FMT_MAKE_REF)}; \ + func(arg1, fmt::ArgList( \ + fmt::internal::make_type(FMT_GEN(n, FMT_MAKE_REF2)), vals)); \ + } + +// Emulates a variadic function returning void on a pre-C++11 compiler. +# define FMT_VARIADIC_VOID(func, arg_type) \ + inline void func(arg_type arg) { func(arg, fmt::ArgList()); } \ + FMT_WRAP1(func, arg_type, 1) FMT_WRAP1(func, arg_type, 2) \ + FMT_WRAP1(func, arg_type, 3) FMT_WRAP1(func, arg_type, 4) \ + FMT_WRAP1(func, arg_type, 5) FMT_WRAP1(func, arg_type, 6) \ + FMT_WRAP1(func, arg_type, 7) FMT_WRAP1(func, arg_type, 8) \ + FMT_WRAP1(func, arg_type, 9) FMT_WRAP1(func, arg_type, 10) + +# define FMT_CTOR(ctor, func, arg0_type, arg1_type, n) \ + template <FMT_GEN(n, FMT_MAKE_TEMPLATE_ARG)> \ + ctor(arg0_type arg0, arg1_type arg1, FMT_GEN(n, FMT_MAKE_ARG)) { \ + const fmt::internal::Value vals[] = {FMT_GEN(n, FMT_MAKE_REF)}; \ + func(arg0, arg1, fmt::ArgList( \ + fmt::internal::make_type(FMT_GEN(n, FMT_MAKE_REF2)), vals)); \ + } + +// Emulates a variadic constructor on a pre-C++11 compiler. +# define FMT_VARIADIC_CTOR(ctor, func, arg0_type, arg1_type) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 1) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 2) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 3) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 4) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 5) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 6) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 7) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 8) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 9) \ + FMT_CTOR(ctor, func, arg0_type, arg1_type, 10) +#endif + +// Generates a comma-separated list with results of applying f to pairs +// (argument, index). +#define FMT_FOR_EACH1(f, x0) f(x0, 0) +#define FMT_FOR_EACH2(f, x0, x1) \ + FMT_FOR_EACH1(f, x0), f(x1, 1) +#define FMT_FOR_EACH3(f, x0, x1, x2) \ + FMT_FOR_EACH2(f, x0 ,x1), f(x2, 2) +#define FMT_FOR_EACH4(f, x0, x1, x2, x3) \ + FMT_FOR_EACH3(f, x0, x1, x2), f(x3, 3) +#define FMT_FOR_EACH5(f, x0, x1, x2, x3, x4) \ + FMT_FOR_EACH4(f, x0, x1, x2, x3), f(x4, 4) +#define FMT_FOR_EACH6(f, x0, x1, x2, x3, x4, x5) \ + FMT_FOR_EACH5(f, x0, x1, x2, x3, x4), f(x5, 5) +#define FMT_FOR_EACH7(f, x0, x1, x2, x3, x4, x5, x6) \ + FMT_FOR_EACH6(f, x0, x1, x2, x3, x4, x5), f(x6, 6) +#define FMT_FOR_EACH8(f, x0, x1, x2, x3, x4, x5, x6, x7) \ + FMT_FOR_EACH7(f, x0, x1, x2, x3, x4, x5, x6), f(x7, 7) +#define FMT_FOR_EACH9(f, x0, x1, x2, x3, x4, x5, x6, x7, x8) \ + FMT_FOR_EACH8(f, x0, x1, x2, x3, x4, x5, x6, x7), f(x8, 8) +#define FMT_FOR_EACH10(f, x0, x1, x2, x3, x4, x5, x6, x7, x8, x9) \ + FMT_FOR_EACH9(f, x0, x1, x2, x3, x4, x5, x6, x7, x8), f(x9, 9) + +/** + An error returned by an operating system or a language runtime, + for example a file opening error. +*/ +class SystemError : public internal::RuntimeError { + private: + void init(int err_code, StringRef format_str, ArgList args); + + protected: + int error_code_; + + typedef char Char; // For FMT_VARIADIC_CTOR. + + SystemError() {} + + public: + /** + \rst + Constructs a :class:`fmt::SystemError` object with the description + of the form + + .. parsed-literal:: + *<message>*: *<system-message>* + + where *<message>* is the formatted message and *<system-message>* is + the system message corresponding to the error code. + *error_code* is a system error code as given by ``errno``. + If *error_code* is not a valid error code such as -1, the system message + may look like "Unknown error -1" and is platform-dependent. + + **Example**:: + + // This throws a SystemError with the description + // cannot open file 'madeup': No such file or directory + // or similar (system message may vary). + const char *filename = "madeup"; + std::FILE *file = std::fopen(filename, "r"); + if (!file) + throw fmt::SystemError(errno, "cannot open file '{}'", filename); + \endrst + */ + SystemError(int error_code, StringRef message) { + init(error_code, message, ArgList()); + } + FMT_VARIADIC_CTOR(SystemError, init, int, StringRef) + + int error_code() const { return error_code_; } +}; + +/** + \rst + This template provides operations for formatting and writing data into + a character stream. The output is stored in a buffer provided by a subclass + such as :class:`fmt::BasicMemoryWriter`. + + You can use one of the following typedefs for common character types: + + +---------+----------------------+ + | Type | Definition | + +=========+======================+ + | Writer | BasicWriter<char> | + +---------+----------------------+ + | WWriter | BasicWriter<wchar_t> | + +---------+----------------------+ + + \endrst + */ +template <typename Char> +class BasicWriter { + private: + // Output buffer. + internal::Buffer<Char> &buffer_; + + FMT_DISALLOW_COPY_AND_ASSIGN(BasicWriter); + + typedef typename internal::CharTraits<Char>::CharPtr CharPtr; + +#if _SECURE_SCL + // Returns pointer value. + static Char *get(CharPtr p) { return p.base(); } +#else + static Char *get(Char *p) { return p; } +#endif + + // Fills the padding around the content and returns the pointer to the + // content area. + static CharPtr fill_padding(CharPtr buffer, + unsigned total_size, std::size_t content_size, wchar_t fill); + + // Grows the buffer by n characters and returns a pointer to the newly + // allocated area. + CharPtr grow_buffer(std::size_t n) { + std::size_t size = buffer_.size(); + buffer_.resize(size + n); + return internal::make_ptr(&buffer_[size], n); + } + + // Prepare a buffer for integer formatting. + CharPtr prepare_int_buffer(unsigned num_digits, + const EmptySpec &, const char *prefix, unsigned prefix_size) { + unsigned size = prefix_size + num_digits; + CharPtr p = grow_buffer(size); + std::copy(prefix, prefix + prefix_size, p); + return p + size - 1; + } + + template <typename Spec> + CharPtr prepare_int_buffer(unsigned num_digits, + const Spec &spec, const char *prefix, unsigned prefix_size); + + // Formats an integer. + template <typename T, typename Spec> + void write_int(T value, Spec spec); + + // Formats a floating-point number (double or long double). + template <typename T> + void write_double(T value, const FormatSpec &spec); + + // Writes a formatted string. + template <typename StrChar> + CharPtr write_str( + const StrChar *s, std::size_t size, const AlignSpec &spec); + + template <typename StrChar> + void write_str( + const internal::Arg::StringValue<StrChar> &str, const FormatSpec &spec); + + // This following methods are private to disallow writing wide characters + // and strings to a char stream. If you want to print a wide string as a + // pointer as std::ostream does, cast it to const void*. + // Do not implement! + void operator<<(typename internal::WCharHelper<wchar_t, Char>::Unsupported); + void operator<<( + typename internal::WCharHelper<const wchar_t *, Char>::Unsupported); + + // Appends floating-point length specifier to the format string. + // The second argument is only used for overload resolution. + void append_float_length(Char *&format_ptr, long double) { + *format_ptr++ = 'L'; + } + + template<typename T> + void append_float_length(Char *&, T) {} + + friend class internal::ArgFormatter<Char>; + friend class internal::PrintfFormatter<Char>; + + protected: + /** + Constructs a ``BasicWriter`` object. + */ + explicit BasicWriter(internal::Buffer<Char> &b) : buffer_(b) {} + + public: + /** + Destroys a ``BasicWriter`` object. + */ + virtual ~BasicWriter() {} + + /** + Returns the total number of characters written. + */ + std::size_t size() const { return buffer_.size(); } + + /** + Returns a pointer to the output buffer content. No terminating null + character is appended. + */ + const Char *data() const FMT_NOEXCEPT { return &buffer_[0]; } + + /** + Returns a pointer to the output buffer content with terminating null + character appended. + */ + const Char *c_str() const { + std::size_t size = buffer_.size(); + buffer_.reserve(size + 1); + buffer_[size] = '\0'; + return &buffer_[0]; + } + + /** + Returns the content of the output buffer as an `std::string`. + */ + std::basic_string<Char> str() const { + return std::basic_string<Char>(&buffer_[0], buffer_.size()); + } + + /** + \rst + Writes formatted data. + + *args* is an argument list representing arbitrary arguments. + + **Example**:: + + MemoryWriter out; + out.write("Current point:\n"); + out.write("({:+f}, {:+f})", -3.14, 3.14); + + This will write the following output to the ``out`` object: + + .. code-block:: none + + Current point: + (-3.140000, +3.140000) + + The output can be accessed using :func:`data()`, :func:`c_str` or + :func:`str` methods. + + See also :ref:`syntax`. + \endrst + */ + void write(BasicStringRef<Char> format, ArgList args) { + BasicFormatter<Char>(*this).format(format, args); + } + FMT_VARIADIC_VOID(write, BasicStringRef<Char>) + + BasicWriter &operator<<(int value) { + return *this << IntFormatSpec<int>(value); + } + BasicWriter &operator<<(unsigned value) { + return *this << IntFormatSpec<unsigned>(value); + } + BasicWriter &operator<<(long value) { + return *this << IntFormatSpec<long>(value); + } + BasicWriter &operator<<(unsigned long value) { + return *this << IntFormatSpec<unsigned long>(value); + } + BasicWriter &operator<<(LongLong value) { + return *this << IntFormatSpec<LongLong>(value); + } + + /** + Formats *value* and writes it to the stream. + */ + BasicWriter &operator<<(ULongLong value) { + return *this << IntFormatSpec<ULongLong>(value); + } + + BasicWriter &operator<<(double value) { + write_double(value, FormatSpec()); + return *this; + } + + /** + Formats *value* using the general format for floating-point numbers + (``'g'``) and writes it to the stream. + */ + BasicWriter &operator<<(long double value) { + write_double(value, FormatSpec()); + return *this; + } + + /** + Writes a character to the stream. + */ + BasicWriter &operator<<(char value) { + buffer_.push_back(value); + return *this; + } + + BasicWriter &operator<<( + typename internal::WCharHelper<wchar_t, Char>::Supported value) { + buffer_.push_back(value); + return *this; + } + + /** + Writes *value* to the stream. + */ + BasicWriter &operator<<(fmt::BasicStringRef<Char> value) { + const Char *str = value.c_str(); + buffer_.append(str, str + value.size()); + return *this; + } + + template <typename T, typename Spec, typename FillChar> + BasicWriter &operator<<(IntFormatSpec<T, Spec, FillChar> spec) { + internal::CharTraits<Char>::convert(FillChar()); + write_int(spec.value(), spec); + return *this; + } + + template <typename StrChar> + BasicWriter &operator<<(const StrFormatSpec<StrChar> &spec) { + const StrChar *s = spec.str(); + // TODO: error if fill is not convertible to Char + write_str(s, std::char_traits<Char>::length(s), spec); + return *this; + } + + void clear() FMT_NOEXCEPT { buffer_.clear(); } +}; + +template <typename Char> +template <typename StrChar> +typename BasicWriter<Char>::CharPtr BasicWriter<Char>::write_str( + const StrChar *s, std::size_t size, const AlignSpec &spec) { + CharPtr out = CharPtr(); + if (spec.width() > size) { + out = grow_buffer(spec.width()); + Char fill = static_cast<Char>(spec.fill()); + if (spec.align() == ALIGN_RIGHT) { + std::fill_n(out, spec.width() - size, fill); + out += spec.width() - size; + } else if (spec.align() == ALIGN_CENTER) { + out = fill_padding(out, spec.width(), size, fill); + } else { + std::fill_n(out + size, spec.width() - size, fill); + } + } else { + out = grow_buffer(size); + } + std::copy(s, s + size, out); + return out; +} + +template <typename Char> +typename BasicWriter<Char>::CharPtr + BasicWriter<Char>::fill_padding( + CharPtr buffer, unsigned total_size, + std::size_t content_size, wchar_t fill) { + std::size_t padding = total_size - content_size; + std::size_t left_padding = padding / 2; + Char fill_char = static_cast<Char>(fill); + std::fill_n(buffer, left_padding, fill_char); + buffer += left_padding; + CharPtr content = buffer; + std::fill_n(buffer + content_size, padding - left_padding, fill_char); + return content; +} + +template <typename Char> +template <typename Spec> +typename BasicWriter<Char>::CharPtr + BasicWriter<Char>::prepare_int_buffer( + unsigned num_digits, const Spec &spec, + const char *prefix, unsigned prefix_size) { + unsigned width = spec.width(); + Alignment align = spec.align(); + Char fill = static_cast<Char>(spec.fill()); + if (spec.precision() > static_cast<int>(num_digits)) { + // Octal prefix '0' is counted as a digit, so ignore it if precision + // is specified. + if (prefix_size > 0 && prefix[prefix_size - 1] == '0') + --prefix_size; + unsigned number_size = prefix_size + spec.precision(); + AlignSpec subspec(number_size, '0', ALIGN_NUMERIC); + if (number_size >= width) + return prepare_int_buffer(num_digits, subspec, prefix, prefix_size); + buffer_.reserve(width); + unsigned fill_size = width - number_size; + if (align != ALIGN_LEFT) { + CharPtr p = grow_buffer(fill_size); + std::fill(p, p + fill_size, fill); + } + CharPtr result = prepare_int_buffer( + num_digits, subspec, prefix, prefix_size); + if (align == ALIGN_LEFT) { + CharPtr p = grow_buffer(fill_size); + std::fill(p, p + fill_size, fill); + } + return result; + } + unsigned size = prefix_size + num_digits; + if (width <= size) { + CharPtr p = grow_buffer(size); + std::copy(prefix, prefix + prefix_size, p); + return p + size - 1; + } + CharPtr p = grow_buffer(width); + CharPtr end = p + width; + if (align == ALIGN_LEFT) { + std::copy(prefix, prefix + prefix_size, p); + p += size; + std::fill(p, end, fill); + } else if (align == ALIGN_CENTER) { + p = fill_padding(p, width, size, fill); + std::copy(prefix, prefix + prefix_size, p); + p += size; + } else { + if (align == ALIGN_NUMERIC) { + if (prefix_size != 0) { + p = std::copy(prefix, prefix + prefix_size, p); + size -= prefix_size; + } + } else { + std::copy(prefix, prefix + prefix_size, end - size); + } + std::fill(p, end - size, fill); + p = end; + } + return p - 1; +} + +template <typename Char> +template <typename T, typename Spec> +void BasicWriter<Char>::write_int(T value, Spec spec) { + unsigned prefix_size = 0; + typedef typename internal::IntTraits<T>::MainType UnsignedType; + UnsignedType abs_value = value; + char prefix[4] = ""; + if (internal::is_negative(value)) { + prefix[0] = '-'; + ++prefix_size; + abs_value = 0 - abs_value; + } else if (spec.flag(SIGN_FLAG)) { + prefix[0] = spec.flag(PLUS_FLAG) ? '+' : ' '; + ++prefix_size; + } + switch (spec.type()) { + case 0: case 'd': { + unsigned num_digits = internal::count_digits(abs_value); + CharPtr p = prepare_int_buffer( + num_digits, spec, prefix, prefix_size) + 1 - num_digits; + internal::format_decimal(get(p), abs_value, num_digits); + break; + } + case 'x': case 'X': { + UnsignedType n = abs_value; + if (spec.flag(HASH_FLAG)) { + prefix[prefix_size++] = '0'; + prefix[prefix_size++] = spec.type(); + } + unsigned num_digits = 0; + do { + ++num_digits; + } while ((n >>= 4) != 0); + Char *p = get(prepare_int_buffer( + num_digits, spec, prefix, prefix_size)); + n = abs_value; + const char *digits = spec.type() == 'x' ? + "0123456789abcdef" : "0123456789ABCDEF"; + do { + *p-- = digits[n & 0xf]; + } while ((n >>= 4) != 0); + break; + } + case 'b': case 'B': { + UnsignedType n = abs_value; + if (spec.flag(HASH_FLAG)) { + prefix[prefix_size++] = '0'; + prefix[prefix_size++] = spec.type(); + } + unsigned num_digits = 0; + do { + ++num_digits; + } while ((n >>= 1) != 0); + Char *p = get(prepare_int_buffer(num_digits, spec, prefix, prefix_size)); + n = abs_value; + do { + *p-- = '0' + (n & 1); + } while ((n >>= 1) != 0); + break; + } + case 'o': { + UnsignedType n = abs_value; + if (spec.flag(HASH_FLAG)) + prefix[prefix_size++] = '0'; + unsigned num_digits = 0; + do { + ++num_digits; + } while ((n >>= 3) != 0); + Char *p = get(prepare_int_buffer(num_digits, spec, prefix, prefix_size)); + n = abs_value; + do { + *p-- = '0' + (n & 7); + } while ((n >>= 3) != 0); + break; + } + default: + internal::report_unknown_type( + spec.type(), spec.flag(CHAR_FLAG) ? "char" : "integer"); + break; + } +} + +template <typename Char> +template <typename T> +void BasicWriter<Char>::write_double( + T value, const FormatSpec &spec) { + // Check type. + char type = spec.type(); + bool upper = false; + switch (type) { + case 0: + type = 'g'; + break; + case 'e': case 'f': case 'g': case 'a': + break; + case 'F': +#ifdef _MSC_VER + // MSVC's printf doesn't support 'F'. + type = 'f'; +#endif + // Fall through. + case 'E': case 'G': case 'A': + upper = true; + break; + default: + internal::report_unknown_type(type, "double"); + break; + } + + char sign = 0; + // Use getsign instead of value < 0 because the latter is always + // false for NaN. + if (internal::getsign(static_cast<double>(value))) { + sign = '-'; + value = -value; + } else if (spec.flag(SIGN_FLAG)) { + sign = spec.flag(PLUS_FLAG) ? '+' : ' '; + } + + if (value != value) { + // Format NaN ourselves because sprintf's output is not consistent + // across platforms. + std::size_t nan_size = 4; + const char *nan = upper ? " NAN" : " nan"; + if (!sign) { + --nan_size; + ++nan; + } + CharPtr out = write_str(nan, nan_size, spec); + if (sign) + *out = sign; + return; + } + + if (internal::isinfinity(value)) { + // Format infinity ourselves because sprintf's output is not consistent + // across platforms. + std::size_t inf_size = 4; + const char *inf = upper ? " INF" : " inf"; + if (!sign) { + --inf_size; + ++inf; + } + CharPtr out = write_str(inf, inf_size, spec); + if (sign) + *out = sign; + return; + } + + std::size_t offset = buffer_.size(); + unsigned width = spec.width(); + if (sign) { + buffer_.reserve(buffer_.size() + (std::max)(width, 1u)); + if (width > 0) + --width; + ++offset; + } + + // Build format string. + enum { MAX_FORMAT_SIZE = 10}; // longest format: %#-*.*Lg + Char format[MAX_FORMAT_SIZE]; + Char *format_ptr = format; + *format_ptr++ = '%'; + unsigned width_for_sprintf = width; + if (spec.flag(HASH_FLAG)) + *format_ptr++ = '#'; + if (spec.align() == ALIGN_CENTER) { + width_for_sprintf = 0; + } else { + if (spec.align() == ALIGN_LEFT) + *format_ptr++ = '-'; + if (width != 0) + *format_ptr++ = '*'; + } + if (spec.precision() >= 0) { + *format_ptr++ = '.'; + *format_ptr++ = '*'; + } + + append_float_length(format_ptr, value); + *format_ptr++ = type; + *format_ptr = '\0'; + + // Format using snprintf. + Char fill = static_cast<Char>(spec.fill()); + for (;;) { + std::size_t buffer_size = buffer_.capacity() - offset; +#if _MSC_VER + // MSVC's vsnprintf_s doesn't work with zero size, so reserve + // space for at least one extra character to make the size non-zero. + // Note that the buffer's capacity will increase by more than 1. + if (buffer_size == 0) { + buffer_.reserve(offset + 1); + buffer_size = buffer_.capacity() - offset; + } +#endif + Char *start = &buffer_[offset]; + int n = internal::CharTraits<Char>::format_float( + start, buffer_size, format, width_for_sprintf, spec.precision(), value); + if (n >= 0 && offset + n < buffer_.capacity()) { + if (sign) { + if ((spec.align() != ALIGN_RIGHT && spec.align() != ALIGN_DEFAULT) || + *start != ' ') { + *(start - 1) = sign; + sign = 0; + } else { + *(start - 1) = fill; + } + ++n; + } + if (spec.align() == ALIGN_CENTER && + spec.width() > static_cast<unsigned>(n)) { + width = spec.width(); + CharPtr p = grow_buffer(width); + std::copy(p, p + n, p + (width - n) / 2); + fill_padding(p, spec.width(), n, fill); + return; + } + if (spec.fill() != ' ' || sign) { + while (*start == ' ') + *start++ = fill; + if (sign) + *(start - 1) = sign; + } + grow_buffer(n); + return; + } + // If n is negative we ask to increase the capacity by at least 1, + // but as std::vector, the buffer grows exponentially. + buffer_.reserve(n >= 0 ? offset + n + 1 : buffer_.capacity() + 1); + } +} + +/** + \rst + This class template provides operations for formatting and writing data + into a character stream. The output is stored in a memory buffer that grows + dynamically. + + You can use one of the following typedefs for common character types + and the standard allocator: + + +---------------+-----------------------------------------------------+ + | Type | Definition | + +===============+=====================================================+ + | MemoryWriter | BasicMemoryWriter<char, std::allocator<char>> | + +---------------+-----------------------------------------------------+ + | WMemoryWriter | BasicMemoryWriter<wchar_t, std::allocator<wchar_t>> | + +---------------+-----------------------------------------------------+ + + **Example**:: + + MemoryWriter out; + out << "The answer is " << 42 << "\n"; + out.write("({:+f}, {:+f})", -3.14, 3.14); + + This will write the following output to the ``out`` object: + + .. code-block:: none + + The answer is 42 + (-3.140000, +3.140000) + + The output can be converted to an ``std::string`` with ``out.str()`` or + accessed as a C string with ``out.c_str()``. + \endrst + */ +template <typename Char, typename Allocator = std::allocator<Char> > +class BasicMemoryWriter : public BasicWriter<Char> { + private: + internal::MemoryBuffer<Char, internal::INLINE_BUFFER_SIZE, Allocator> buffer_; + + public: + explicit BasicMemoryWriter(const Allocator& alloc = Allocator()) + : BasicWriter<Char>(buffer_), buffer_(alloc) {} + +#if FMT_USE_RVALUE_REFERENCES + /** + \rst + Constructs a :class:`fmt::BasicMemoryWriter` object moving the content + of the other object to it. + \endrst + */ + BasicMemoryWriter(BasicMemoryWriter &&other) + : BasicWriter<Char>(buffer_), buffer_(std::move(other.buffer_)) { + } + + /** + \rst + Moves the content of the other ``BasicMemoryWriter`` object to this one. + \endrst + */ + BasicMemoryWriter &operator=(BasicMemoryWriter &&other) { + buffer_ = std::move(other.buffer_); + return *this; + } +#endif +}; + +typedef BasicMemoryWriter<char> MemoryWriter; +typedef BasicMemoryWriter<wchar_t> WMemoryWriter; + +/** + \rst + This class template provides operations for formatting and writing data + into a fixed-size array. For writing into a dynamically growing buffer + use :class:`fmt::BasicMemoryWriter`. + + Any write method will throw ``std::runtime_error`` if the output doesn't fit + into the array. + + You can use one of the following typedefs for common character types: + + +--------------+---------------------------+ + | Type | Definition | + +==============+===========================+ + | ArrayWriter | BasicArrayWriter<char> | + +--------------+---------------------------+ + | WArrayWriter | BasicArrayWriter<wchar_t> | + +--------------+---------------------------+ + \endrst + */ +template <typename Char> +class BasicArrayWriter : public BasicWriter<Char> { + private: + internal::FixedBuffer<Char> buffer_; + + public: + /** + \rst + Constructs a :class:`fmt::BasicArrayWriter` object for *array* of the + given size. + \endrst + */ + BasicArrayWriter(Char *array, std::size_t size) + : BasicWriter<Char>(buffer_), buffer_(array, size) {} + + // FIXME: this is temporary undocumented due to a bug in Sphinx + /* + \rst + Constructs a :class:`fmt::BasicArrayWriter` object for *array* of the + size known at compile time. + \endrst + */ + template <std::size_t SIZE> + explicit BasicArrayWriter(Char (&array)[SIZE]) + : BasicWriter<Char>(buffer_), buffer_(array, SIZE) {} +}; + +typedef BasicArrayWriter<char> ArrayWriter; +typedef BasicArrayWriter<wchar_t> WArrayWriter; + +// Formats a value. +template <typename Char, typename T> +void format(BasicFormatter<Char> &f, const Char *&format_str, const T &value) { + std::basic_ostringstream<Char> os; + os << value; + internal::Arg arg; + internal::Value &arg_value = arg; + std::basic_string<Char> str = os.str(); + arg_value = internal::MakeValue<Char>(str); + arg.type = static_cast<internal::Arg::Type>( + internal::MakeValue<Char>::type(str)); + format_str = f.format(format_str, arg); +} + +// Reports a system error without throwing an exception. +// Can be used to report errors from destructors. +void report_system_error(int error_code, StringRef message) FMT_NOEXCEPT; + +#ifdef _WIN32 + +/** A Windows error. */ +class WindowsError : public SystemError { + private: + void init(int error_code, StringRef format_str, ArgList args); + + public: + /** + \rst + Constructs a :class:`fmt::WindowsError` object with the description + of the form + + .. parsed-literal:: + *<message>*: *<system-message>* + + where *<message>* is the formatted message and *<system-message>* is the + system message corresponding to the error code. + *error_code* is a Windows error code as given by ``GetLastError``. + If *error_code* is not a valid error code such as -1, the system message + will look like "error -1". + + **Example**:: + + // This throws a WindowsError with the description + // cannot open file 'madeup': The system cannot find the file specified. + // or similar (system message may vary). + const char *filename = "madeup"; + LPOFSTRUCT of = LPOFSTRUCT(); + HFILE file = OpenFile(filename, &of, OF_READ); + if (file == HFILE_ERROR) { + throw fmt::WindowsError(GetLastError(), + "cannot open file '{}'", filename); + } + \endrst + */ + WindowsError(int error_code, StringRef message) { + init(error_code, message, ArgList()); + } + FMT_VARIADIC_CTOR(WindowsError, init, int, StringRef) +}; + +// Reports a Windows error without throwing an exception. +// Can be used to report errors from destructors. +void report_windows_error(int error_code, StringRef message) FMT_NOEXCEPT; + +#endif + +enum Color { BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE }; + +/** + Formats a string and prints it to stdout using ANSI escape sequences + to specify color (experimental). + Example: + PrintColored(fmt::RED, "Elapsed time: {0:.2f} seconds") << 1.23; + */ +void print_colored(Color c, StringRef format, ArgList args); + +/** + \rst + Formats arguments and returns the result as a string. + + **Example**:: + + std::string message = format("The answer is {}", 42); + \endrst +*/ +inline std::string format(StringRef format_str, ArgList args) { + MemoryWriter w; + w.write(format_str, args); + return w.str(); +} + +inline std::wstring format(WStringRef format_str, ArgList args) { + WMemoryWriter w; + w.write(format_str, args); + return w.str(); +} + +/** + \rst + Prints formatted data to the file *f*. + + **Example**:: + + print(stderr, "Don't {}!", "panic"); + \endrst + */ +void print(std::FILE *f, StringRef format_str, ArgList args); + +/** + \rst + Prints formatted data to ``stdout``. + + **Example**:: + + print("Elapsed time: {0:.2f} seconds", 1.23); + \endrst + */ +void print(StringRef format_str, ArgList args); + +/** + \rst + Prints formatted data to the stream *os*. + + **Example**:: + + print(cerr, "Don't {}!", "panic"); + \endrst + */ +void print(std::ostream &os, StringRef format_str, ArgList args); + +template <typename Char> +void printf(BasicWriter<Char> &w, BasicStringRef<Char> format, ArgList args) { + internal::PrintfFormatter<Char>().format(w, format, args); +} + +/** + \rst + Formats arguments and returns the result as a string. + + **Example**:: + + std::string message = fmt::sprintf("The answer is %d", 42); + \endrst +*/ +inline std::string sprintf(StringRef format, ArgList args) { + MemoryWriter w; + printf(w, format, args); + return w.str(); +} + +/** + \rst + Prints formatted data to the file *f*. + + **Example**:: + + fmt::fprintf(stderr, "Don't %s!", "panic"); + \endrst + */ +int fprintf(std::FILE *f, StringRef format, ArgList args); + +/** + \rst + Prints formatted data to ``stdout``. + + **Example**:: + + fmt::printf("Elapsed time: %.2f seconds", 1.23); + \endrst + */ +inline int printf(StringRef format, ArgList args) { + return fprintf(stdout, format, args); +} + +/** + Fast integer formatter. + */ +class FormatInt { + private: + // Buffer should be large enough to hold all digits (digits10 + 1), + // a sign and a null character. + enum {BUFFER_SIZE = std::numeric_limits<ULongLong>::digits10 + 3}; + mutable char buffer_[BUFFER_SIZE]; + char *str_; + + // Formats value in reverse and returns the number of digits. + char *format_decimal(ULongLong value) { + char *buffer_end = buffer_ + BUFFER_SIZE - 1; + while (value >= 100) { + // Integer division is slow so do it for a group of two digits instead + // of for every digit. The idea comes from the talk by Alexandrescu + // "Three Optimization Tips for C++". See speed-test for a comparison. + unsigned index = (value % 100) * 2; + value /= 100; + *--buffer_end = internal::Data::DIGITS[index + 1]; + *--buffer_end = internal::Data::DIGITS[index]; + } + if (value < 10) { + *--buffer_end = static_cast<char>('0' + value); + return buffer_end; + } + unsigned index = static_cast<unsigned>(value * 2); + *--buffer_end = internal::Data::DIGITS[index + 1]; + *--buffer_end = internal::Data::DIGITS[index]; + return buffer_end; + } + + void FormatSigned(LongLong value) { + ULongLong abs_value = static_cast<ULongLong>(value); + bool negative = value < 0; + if (negative) + abs_value = 0 - abs_value; + str_ = format_decimal(abs_value); + if (negative) + *--str_ = '-'; + } + + public: + explicit FormatInt(int value) { FormatSigned(value); } + explicit FormatInt(long value) { FormatSigned(value); } + explicit FormatInt(LongLong value) { FormatSigned(value); } + explicit FormatInt(unsigned value) : str_(format_decimal(value)) {} + explicit FormatInt(unsigned long value) : str_(format_decimal(value)) {} + explicit FormatInt(ULongLong value) : str_(format_decimal(value)) {} + + /** + Returns the number of characters written to the output buffer. + */ + std::size_t size() const { return buffer_ - str_ + BUFFER_SIZE - 1; } + + /** + Returns a pointer to the output buffer content. No terminating null + character is appended. + */ + const char *data() const { return str_; } + + /** + Returns a pointer to the output buffer content with terminating null + character appended. + */ + const char *c_str() const { + buffer_[BUFFER_SIZE - 1] = '\0'; + return str_; + } + + /** + Returns the content of the output buffer as an `std::string`. + */ + std::string str() const { return std::string(str_, size()); } +}; + +// Formats a decimal integer value writing into buffer and returns +// a pointer to the end of the formatted string. This function doesn't +// write a terminating null character. +template <typename T> +inline void format_decimal(char *&buffer, T value) { + typename internal::IntTraits<T>::MainType abs_value = value; + if (internal::is_negative(value)) { + *buffer++ = '-'; + abs_value = 0 - abs_value; + } + if (abs_value < 100) { + if (abs_value < 10) { + *buffer++ = static_cast<char>('0' + abs_value); + return; + } + unsigned index = static_cast<unsigned>(abs_value * 2); + *buffer++ = internal::Data::DIGITS[index]; + *buffer++ = internal::Data::DIGITS[index + 1]; + return; + } + unsigned num_digits = internal::count_digits(abs_value); + internal::format_decimal(buffer, abs_value, num_digits); + buffer += num_digits; +} +} + +#if FMT_GCC_VERSION +// Use the system_header pragma to suppress warnings about variadic macros +// because suppressing -Wvariadic-macros with the diagnostic pragma doesn't +// work. It is used at the end because we want to suppress as little warnings +// as possible. +# pragma GCC system_header +#endif + +// This is used to work around VC++ bugs in handling variadic macros. +#define FMT_EXPAND(args) args + +// Returns the number of arguments. +// Based on https://groups.google.com/forum/#!topic/comp.std.c/d-6Mj5Lko_s. +#define FMT_NARG(...) FMT_NARG_(__VA_ARGS__, FMT_RSEQ_N()) +#define FMT_NARG_(...) FMT_EXPAND(FMT_ARG_N(__VA_ARGS__)) +#define FMT_ARG_N(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, N, ...) N +#define FMT_RSEQ_N() 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 + +#define FMT_CONCAT(a, b) a##b +#define FMT_FOR_EACH_(N, f, ...) \ + FMT_EXPAND(FMT_CONCAT(FMT_FOR_EACH, N)(f, __VA_ARGS__)) +#define FMT_FOR_EACH(f, ...) \ + FMT_EXPAND(FMT_FOR_EACH_(FMT_NARG(__VA_ARGS__), f, __VA_ARGS__)) + +#define FMT_ADD_ARG_NAME(type, index) type arg##index +#define FMT_GET_ARG_NAME(type, index) arg##index + +#if FMT_USE_VARIADIC_TEMPLATES +# define FMT_VARIADIC_(Char, ReturnType, func, call, ...) \ + template <typename... Args> \ + ReturnType func(FMT_FOR_EACH(FMT_ADD_ARG_NAME, __VA_ARGS__), \ + const Args & ... args) { \ + using fmt::internal::Value; \ + const Value values[fmt::internal::NonZero<sizeof...(Args)>::VALUE] = { \ + fmt::internal::MakeValue<Char>(args)... \ + }; \ + call(FMT_FOR_EACH(FMT_GET_ARG_NAME, __VA_ARGS__), fmt::ArgList( \ + fmt::internal::make_type(args...), values)); \ + } +#else +// Defines a wrapper for a function taking __VA_ARGS__ arguments +// and n additional arguments of arbitrary types. +# define FMT_WRAP(Char, ReturnType, func, call, n, ...) \ + template <FMT_GEN(n, FMT_MAKE_TEMPLATE_ARG)> \ + inline ReturnType func(FMT_FOR_EACH(FMT_ADD_ARG_NAME, __VA_ARGS__), \ + FMT_GEN(n, FMT_MAKE_ARG)) { \ + const fmt::internal::Value vals[] = {FMT_GEN(n, FMT_MAKE_REF_##Char)}; \ + call(FMT_FOR_EACH(FMT_GET_ARG_NAME, __VA_ARGS__), fmt::ArgList( \ + fmt::internal::make_type(FMT_GEN(n, FMT_MAKE_REF2)), vals)); \ + } + +# define FMT_VARIADIC_(Char, ReturnType, func, call, ...) \ + inline ReturnType func(FMT_FOR_EACH(FMT_ADD_ARG_NAME, __VA_ARGS__)) { \ + call(FMT_FOR_EACH(FMT_GET_ARG_NAME, __VA_ARGS__), fmt::ArgList()); \ + } \ + FMT_WRAP(Char, ReturnType, func, call, 1, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 2, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 3, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 4, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 5, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 6, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 7, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 8, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 9, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 10, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 11, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 12, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 13, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 14, __VA_ARGS__) \ + FMT_WRAP(Char, ReturnType, func, call, 15, __VA_ARGS__) +#endif // FMT_USE_VARIADIC_TEMPLATES + +/** + \rst + Defines a variadic function with the specified return type, function name + and argument types passed as variable arguments to this macro. + + **Example**:: + + void print_error(const char *file, int line, const char *format, + fmt::ArgList args) { + fmt::print("{}: {}: ", file, line); + fmt::print(format, args); + } + FMT_VARIADIC(void, print_error, const char *, int, const char *) + + ``FMT_VARIADIC`` is used for compatibility with legacy C++ compilers that + don't implement variadic templates. You don't have to use this macro if + you don't need legacy compiler support and can use variadic templates + directly:: + + template <typename... Args> + void print_error(const char *file, int line, const char *format, + const Args & ... args) { + fmt::print("{}: {}: ", file, line); + fmt::print(format, args...); + } + \endrst + */ +#define FMT_VARIADIC(ReturnType, func, ...) \ + FMT_VARIADIC_(char, ReturnType, func, return func, __VA_ARGS__) + +#define FMT_VARIADIC_W(ReturnType, func, ...) \ + FMT_VARIADIC_(wchar_t, ReturnType, func, return func, __VA_ARGS__) + +namespace fmt { +FMT_VARIADIC(std::string, format, StringRef) +FMT_VARIADIC_W(std::wstring, format, WStringRef) +FMT_VARIADIC(void, print, StringRef) +FMT_VARIADIC(void, print, std::FILE *, StringRef) +FMT_VARIADIC(void, print, std::ostream &, StringRef) +FMT_VARIADIC(void, print_colored, Color, StringRef) +FMT_VARIADIC(std::string, sprintf, StringRef) +FMT_VARIADIC(int, printf, StringRef) +FMT_VARIADIC(int, fprintf, std::FILE *, StringRef) +} + +// Restore warnings. +#if FMT_GCC_VERSION >= 406 +# pragma GCC diagnostic pop +#endif + +#ifdef __clang__ +# pragma clang diagnostic pop +#endif + +#ifdef FMT_HEADER_ONLY +# include "format.cc" +#endif + +#endif // FMT_FORMAT_H_ diff --git a/dep/cppformat/posix.cc b/dep/cppformat/posix.cc new file mode 100644 index 00000000000..0efb5aff3d0 --- /dev/null +++ b/dep/cppformat/posix.cc @@ -0,0 +1,252 @@ +/* + A C++ interface to POSIX functions. + + Copyright (c) 2014 - 2015, Victor Zverovich + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +// Disable bogus MSVC warnings. +#ifndef _CRT_SECURE_NO_WARNINGS +# define _CRT_SECURE_NO_WARNINGS +#endif + +#include "posix.h" + +#include <limits.h> +#include <sys/types.h> +#include <sys/stat.h> + +#ifndef _WIN32 +# include <unistd.h> +#else +# include <windows.h> +# include <io.h> + +# define O_CREAT _O_CREAT +# define O_TRUNC _O_TRUNC + +# ifndef S_IRUSR +# define S_IRUSR _S_IREAD +# endif + +# ifndef S_IWUSR +# define S_IWUSR _S_IWRITE +# endif + +# ifdef __MINGW32__ +# define _SH_DENYNO 0x40 +# undef fileno +# endif + +#endif // _WIN32 + +namespace { +#ifdef _WIN32 +// Return type of read and write functions. +typedef int RWResult; + +// On Windows the count argument to read and write is unsigned, so convert +// it from size_t preventing integer overflow. +inline unsigned convert_rwcount(std::size_t count) { + return count <= UINT_MAX ? static_cast<unsigned>(count) : UINT_MAX; +} +#else +// Return type of read and write functions. +typedef ssize_t RWResult; + +inline std::size_t convert_rwcount(std::size_t count) { return count; } +#endif +} + +fmt::BufferedFile::~BufferedFile() FMT_NOEXCEPT { + if (file_ && FMT_SYSTEM(fclose(file_)) != 0) + fmt::report_system_error(errno, "cannot close file"); +} + +fmt::BufferedFile::BufferedFile(fmt::StringRef filename, fmt::StringRef mode) { + FMT_RETRY_VAL(file_, FMT_SYSTEM(fopen(filename.c_str(), mode.c_str())), 0); + if (!file_) + throw SystemError(errno, "cannot open file {}", filename); +} + +void fmt::BufferedFile::close() { + if (!file_) + return; + int result = FMT_SYSTEM(fclose(file_)); + file_ = 0; + if (result != 0) + throw SystemError(errno, "cannot close file"); +} + +// A macro used to prevent expansion of fileno on broken versions of MinGW. +#define FMT_ARGS + +int fmt::BufferedFile::fileno() const { + int fd = FMT_POSIX_CALL(fileno FMT_ARGS(file_)); + if (fd == -1) + throw SystemError(errno, "cannot get file descriptor"); + return fd; +} + +fmt::File::File(fmt::StringRef path, int oflag) { + int mode = S_IRUSR | S_IWUSR; +#if defined(_WIN32) && !defined(__MINGW32__) + fd_ = -1; + FMT_POSIX_CALL(sopen_s(&fd_, path.c_str(), oflag, _SH_DENYNO, mode)); +#else + FMT_RETRY(fd_, FMT_POSIX_CALL(open(path.c_str(), oflag, mode))); +#endif + if (fd_ == -1) + throw SystemError(errno, "cannot open file {}", path); +} + +fmt::File::~File() FMT_NOEXCEPT { + // Don't retry close in case of EINTR! + // See http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html + if (fd_ != -1 && FMT_POSIX_CALL(close(fd_)) != 0) + fmt::report_system_error(errno, "cannot close file"); +} + +void fmt::File::close() { + if (fd_ == -1) + return; + // Don't retry close in case of EINTR! + // See http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html + int result = FMT_POSIX_CALL(close(fd_)); + fd_ = -1; + if (result != 0) + throw SystemError(errno, "cannot close file"); +} + +fmt::LongLong fmt::File::size() const { +#ifdef _WIN32 + // Use GetFileSize instead of GetFileSizeEx for the case when _WIN32_WINNT + // is less than 0x0500 as is the case with some default MinGW builds. + // Both functions support large file sizes. + DWORD size_upper = 0; + HANDLE handle = reinterpret_cast<HANDLE>(_get_osfhandle(fd_)); + DWORD size_lower = FMT_SYSTEM(GetFileSize(handle, &size_upper)); + if (size_lower == INVALID_FILE_SIZE) { + DWORD error = GetLastError(); + if (error != NO_ERROR) + throw WindowsError(GetLastError(), "cannot get file size"); + } + fmt::ULongLong size = size_upper; + return (size << sizeof(DWORD) * CHAR_BIT) | size_lower; +#else + typedef struct stat Stat; + Stat file_stat = Stat(); + if (FMT_POSIX_CALL(fstat(fd_, &file_stat)) == -1) + throw SystemError(errno, "cannot get file attributes"); + FMT_STATIC_ASSERT(sizeof(fmt::LongLong) >= sizeof(file_stat.st_size), + "return type of File::size is not large enough"); + return file_stat.st_size; +#endif +} + +std::size_t fmt::File::read(void *buffer, std::size_t count) { + RWResult result = 0; + FMT_RETRY(result, FMT_POSIX_CALL(read(fd_, buffer, convert_rwcount(count)))); + if (result < 0) + throw SystemError(errno, "cannot read from file"); + return result; +} + +std::size_t fmt::File::write(const void *buffer, std::size_t count) { + RWResult result = 0; + FMT_RETRY(result, FMT_POSIX_CALL(write(fd_, buffer, convert_rwcount(count)))); + if (result < 0) + throw SystemError(errno, "cannot write to file"); + return result; +} + +fmt::File fmt::File::dup(int fd) { + // Don't retry as dup doesn't return EINTR. + // http://pubs.opengroup.org/onlinepubs/009695399/functions/dup.html + int new_fd = FMT_POSIX_CALL(dup(fd)); + if (new_fd == -1) + throw SystemError(errno, "cannot duplicate file descriptor {}", fd); + return File(new_fd); +} + +void fmt::File::dup2(int fd) { + int result = 0; + FMT_RETRY(result, FMT_POSIX_CALL(dup2(fd_, fd))); + if (result == -1) { + throw SystemError(errno, + "cannot duplicate file descriptor {} to {}", fd_, fd); + } +} + +void fmt::File::dup2(int fd, ErrorCode &ec) FMT_NOEXCEPT { + int result = 0; + FMT_RETRY(result, FMT_POSIX_CALL(dup2(fd_, fd))); + if (result == -1) + ec = ErrorCode(errno); +} + +void fmt::File::pipe(File &read_end, File &write_end) { + // Close the descriptors first to make sure that assignments don't throw + // and there are no leaks. + read_end.close(); + write_end.close(); + int fds[2] = {}; +#ifdef _WIN32 + // Make the default pipe capacity same as on Linux 2.6.11+. + enum { DEFAULT_CAPACITY = 65536 }; + int result = FMT_POSIX_CALL(pipe(fds, DEFAULT_CAPACITY, _O_BINARY)); +#else + // Don't retry as the pipe function doesn't return EINTR. + // http://pubs.opengroup.org/onlinepubs/009696799/functions/pipe.html + int result = FMT_POSIX_CALL(pipe(fds)); +#endif + if (result != 0) + throw SystemError(errno, "cannot create pipe"); + // The following assignments don't throw because read_fd and write_fd + // are closed. + read_end = File(fds[0]); + write_end = File(fds[1]); +} + +fmt::BufferedFile fmt::File::fdopen(const char *mode) { + // Don't retry as fdopen doesn't return EINTR. + FILE *f = FMT_POSIX_CALL(fdopen(fd_, mode)); + if (!f) + throw SystemError(errno, "cannot associate stream with file descriptor"); + BufferedFile file(f); + fd_ = -1; + return file; +} + +long fmt::getpagesize() { +#ifdef _WIN32 + SYSTEM_INFO si; + GetSystemInfo(&si); + return si.dwPageSize; +#else + long size = FMT_POSIX_CALL(sysconf(_SC_PAGESIZE)); + if (size < 0) + throw SystemError(errno, "cannot get memory page size"); + return size; +#endif +} diff --git a/dep/cppformat/posix.h b/dep/cppformat/posix.h new file mode 100644 index 00000000000..70a0db1a560 --- /dev/null +++ b/dep/cppformat/posix.h @@ -0,0 +1,344 @@ +/* + A C++ interface to POSIX functions. + + Copyright (c) 2014 - 2015, Victor Zverovich + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef FMT_POSIX_H_ +#define FMT_POSIX_H_ + +#ifdef __MINGW32__ +// Workaround MinGW bug https://sourceforge.net/p/mingw/bugs/2024/. +# undef __STRICT_ANSI__ +#endif + +#include <errno.h> +#include <fcntl.h> // for O_RDONLY +#include <stdio.h> + +#include <cstddef> + +#include "format.h" + +#ifdef FMT_INCLUDE_POSIX_TEST +# include "test/posix-test.h" +#endif + +#ifndef FMT_POSIX +# if defined(_WIN32) && !defined(__MINGW32__) +// Fix warnings about deprecated symbols. +# define FMT_POSIX(call) _##call +# else +# define FMT_POSIX(call) call +# endif +#endif + +// Calls to system functions are wrapped in FMT_SYSTEM for testability. +#ifdef FMT_SYSTEM +# define FMT_POSIX_CALL(call) FMT_SYSTEM(call) +#else +# define FMT_SYSTEM(call) call +# ifdef _WIN32 +// Fix warnings about deprecated symbols. +# define FMT_POSIX_CALL(call) ::_##call +# else +# define FMT_POSIX_CALL(call) ::call +# endif +#endif + +#if FMT_GCC_VERSION >= 407 +# define FMT_UNUSED __attribute__((unused)) +#else +# define FMT_UNUSED +#endif + +#if FMT_USE_STATIC_ASSERT || FMT_HAS_CPP_ATTRIBUTE(cxx_static_assert) || \ + (FMT_GCC_VERSION >= 403 && FMT_HAS_GXX_CXX11) || _MSC_VER >= 1600 +# define FMT_STATIC_ASSERT(cond, message) static_assert(cond, message) +#else +# define FMT_CONCAT_(a, b) FMT_CONCAT(a, b) +# define FMT_STATIC_ASSERT(cond, message) \ + typedef int FMT_CONCAT_(Assert, __LINE__)[(cond) ? 1 : -1] FMT_UNUSED +#endif + +// Retries the expression while it evaluates to error_result and errno +// equals to EINTR. +#ifndef _WIN32 +# define FMT_RETRY_VAL(result, expression, error_result) \ + do { \ + result = (expression); \ + } while (result == error_result && errno == EINTR) +#else +# define FMT_RETRY_VAL(result, expression, error_result) result = (expression) +#endif + +#define FMT_RETRY(result, expression) FMT_RETRY_VAL(result, expression, -1) + +namespace fmt { + +// An error code. +class ErrorCode { + private: + int value_; + + public: + explicit ErrorCode(int value = 0) FMT_NOEXCEPT : value_(value) {} + + int get() const FMT_NOEXCEPT { return value_; } +}; + +// A buffered file. +class BufferedFile { + private: + FILE *file_; + + friend class File; + + explicit BufferedFile(FILE *f) : file_(f) {} + + public: + // Constructs a BufferedFile object which doesn't represent any file. + BufferedFile() FMT_NOEXCEPT : file_(0) {} + + // Destroys the object closing the file it represents if any. + ~BufferedFile() FMT_NOEXCEPT; + +#if !FMT_USE_RVALUE_REFERENCES + // Emulate a move constructor and a move assignment operator if rvalue + // references are not supported. + + private: + // A proxy object to emulate a move constructor. + // It is private to make it impossible call operator Proxy directly. + struct Proxy { + FILE *file; + }; + +public: + // A "move constructor" for moving from a temporary. + BufferedFile(Proxy p) FMT_NOEXCEPT : file_(p.file) {} + + // A "move constructor" for for moving from an lvalue. + BufferedFile(BufferedFile &f) FMT_NOEXCEPT : file_(f.file_) { + f.file_ = 0; + } + + // A "move assignment operator" for moving from a temporary. + BufferedFile &operator=(Proxy p) { + close(); + file_ = p.file; + return *this; + } + + // A "move assignment operator" for moving from an lvalue. + BufferedFile &operator=(BufferedFile &other) { + close(); + file_ = other.file_; + other.file_ = 0; + return *this; + } + + // Returns a proxy object for moving from a temporary: + // BufferedFile file = BufferedFile(...); + operator Proxy() FMT_NOEXCEPT { + Proxy p = {file_}; + file_ = 0; + return p; + } + +#else + private: + FMT_DISALLOW_COPY_AND_ASSIGN(BufferedFile); + + public: + BufferedFile(BufferedFile &&other) FMT_NOEXCEPT : file_(other.file_) { + other.file_ = 0; + } + + BufferedFile& operator=(BufferedFile &&other) { + close(); + file_ = other.file_; + other.file_ = 0; + return *this; + } +#endif + + // Opens a file. + BufferedFile(fmt::StringRef filename, fmt::StringRef mode); + + // Closes the file. + void close(); + + // Returns the pointer to a FILE object representing this file. + FILE *get() const FMT_NOEXCEPT { return file_; } + + // We place parentheses around fileno to workaround a bug in some versions + // of MinGW that define fileno as a macro. + int (fileno)() const; + + void print(fmt::StringRef format_str, const ArgList &args) { + fmt::print(file_, format_str, args); + } + FMT_VARIADIC(void, print, fmt::StringRef) +}; + +// A file. Closed file is represented by a File object with descriptor -1. +// Methods that are not declared with FMT_NOEXCEPT may throw +// fmt::SystemError in case of failure. Note that some errors such as +// closing the file multiple times will cause a crash on Windows rather +// than an exception. You can get standard behavior by overriding the +// invalid parameter handler with _set_invalid_parameter_handler. +class File { + private: + int fd_; // File descriptor. + + // Constructs a File object with a given descriptor. + explicit File(int fd) : fd_(fd) {} + + public: + // Possible values for the oflag argument to the constructor. + enum { + RDONLY = FMT_POSIX(O_RDONLY), // Open for reading only. + WRONLY = FMT_POSIX(O_WRONLY), // Open for writing only. + RDWR = FMT_POSIX(O_RDWR) // Open for reading and writing. + }; + + // Constructs a File object which doesn't represent any file. + File() FMT_NOEXCEPT : fd_(-1) {} + + // Opens a file and constructs a File object representing this file. + File(fmt::StringRef path, int oflag); + +#if !FMT_USE_RVALUE_REFERENCES + // Emulate a move constructor and a move assignment operator if rvalue + // references are not supported. + + private: + // A proxy object to emulate a move constructor. + // It is private to make it impossible call operator Proxy directly. + struct Proxy { + int fd; + }; + + public: + // A "move constructor" for moving from a temporary. + File(Proxy p) FMT_NOEXCEPT : fd_(p.fd) {} + + // A "move constructor" for for moving from an lvalue. + File(File &other) FMT_NOEXCEPT : fd_(other.fd_) { + other.fd_ = -1; + } + + // A "move assignment operator" for moving from a temporary. + File &operator=(Proxy p) { + close(); + fd_ = p.fd; + return *this; + } + + // A "move assignment operator" for moving from an lvalue. + File &operator=(File &other) { + close(); + fd_ = other.fd_; + other.fd_ = -1; + return *this; + } + + // Returns a proxy object for moving from a temporary: + // File file = File(...); + operator Proxy() FMT_NOEXCEPT { + Proxy p = {fd_}; + fd_ = -1; + return p; + } + +#else + private: + FMT_DISALLOW_COPY_AND_ASSIGN(File); + + public: + File(File &&other) FMT_NOEXCEPT : fd_(other.fd_) { + other.fd_ = -1; + } + + File& operator=(File &&other) { + close(); + fd_ = other.fd_; + other.fd_ = -1; + return *this; + } +#endif + + // Destroys the object closing the file it represents if any. + ~File() FMT_NOEXCEPT; + + // Returns the file descriptor. + int descriptor() const FMT_NOEXCEPT { return fd_; } + + // Closes the file. + void close(); + + // Returns the file size. + fmt::LongLong size() const; + + // Attempts to read count bytes from the file into the specified buffer. + std::size_t read(void *buffer, std::size_t count); + + // Attempts to write count bytes from the specified buffer to the file. + std::size_t write(const void *buffer, std::size_t count); + + // Duplicates a file descriptor with the dup function and returns + // the duplicate as a file object. + static File dup(int fd); + + // Makes fd be the copy of this file descriptor, closing fd first if + // necessary. + void dup2(int fd); + + // Makes fd be the copy of this file descriptor, closing fd first if + // necessary. + void dup2(int fd, ErrorCode &ec) FMT_NOEXCEPT; + + // Creates a pipe setting up read_end and write_end file objects for reading + // and writing respectively. + static void pipe(File &read_end, File &write_end); + + // Creates a BufferedFile object associated with this file and detaches + // this File object from the file. + BufferedFile fdopen(const char *mode); +}; + +// Returns the memory page size. +long getpagesize(); +} // namespace fmt + +#if !FMT_USE_RVALUE_REFERENCES +namespace std { +// For compatibility with C++98. +inline fmt::BufferedFile &move(fmt::BufferedFile &f) { return f; } +inline fmt::File &move(fmt::File &f) { return f; } +} +#endif + +#endif // FMT_POSIX_H_ diff --git a/dep/process/License.txt b/dep/process/License.txt new file mode 100644 index 00000000000..36b7cd93cdf --- /dev/null +++ b/dep/process/License.txt @@ -0,0 +1,23 @@ +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/dep/process/Readme.txt b/dep/process/Readme.txt new file mode 100644 index 00000000000..ada7cf74974 --- /dev/null +++ b/dep/process/Readme.txt @@ -0,0 +1,6 @@ +Boost.Process (Not part of the official boost libraries yet) +================================================================ +Its used to start child processes within the application. + +Website: http://www.highscore.de/boost/process0.5/ +Downloaded from: http://www.highscore.de/boost/process0.5/process.zip diff --git a/dep/process/boost/process.hpp b/dep/process/boost/process.hpp new file mode 100644 index 00000000000..2271e9b49e7 --- /dev/null +++ b/dep/process/boost/process.hpp @@ -0,0 +1,22 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011 Jeff Flinn, Boris Schaeling +// Copyright (c) 2012 Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process.hpp + * + * Convenience header which includes all public Boost.Process header files. + */ + +#ifndef BOOST_PROCESS_HPP +#define BOOST_PROCESS_HPP + +#include <boost/process/all.hpp> + +#endif diff --git a/dep/process/boost/process/all.hpp b/dep/process/boost/process/all.hpp new file mode 100644 index 00000000000..234dd05d4c1 --- /dev/null +++ b/dep/process/boost/process/all.hpp @@ -0,0 +1,30 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/all.hpp + * + * Convenience header which includes all public Boost.Process header files. + */ + +#ifndef BOOST_PROCESS_ALL_HPP +#define BOOST_PROCESS_ALL_HPP + +#include <boost/process/child.hpp> +#include <boost/process/create_pipe.hpp> +#include <boost/process/execute.hpp> +#include <boost/process/executor.hpp> +#include <boost/process/initializers.hpp> +#include <boost/process/pipe.hpp> +#include <boost/process/search_path.hpp> +#include <boost/process/shell_path.hpp> +#include <boost/process/terminate.hpp> +#include <boost/process/wait_for_exit.hpp> + +#endif diff --git a/dep/process/boost/process/child.hpp b/dep/process/boost/process/child.hpp new file mode 100644 index 00000000000..ec129fc9367 --- /dev/null +++ b/dep/process/boost/process/child.hpp @@ -0,0 +1,74 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/child.hpp + * + * Defines a child process class. + */ + +#ifndef BOOST_PROCESS_CHILD_HPP +#define BOOST_PROCESS_CHILD_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(child) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(child) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Represents a child process. + * + * On Windows child is movable but non-copyable. The destructor + * automatically closes handles to the child process. + */ +struct child +{ + /** + * Process information. + * + * \remark <em>Windows only.</em> + */ + PROCESS_INFORMATION proc_info; + + /** + * Constructor. + * + * \remark <em>Windows only.<em/> + */ + explicit child(const PROCESS_INFORMATION &pi) : proc_info(pi) {} + + /** + * Returns the process handle. + * + * \remark <em>Windows only.</em> + */ + HANDLE process_handle() const { return proc_info.hProcess; } + + /** + * Process identifier. + * + * \remark <em>POSIX only.</em> + */ + pid_t pid; + + /** + * Constructor. + * + * \remark <em>POSIX only.</em> + */ + explicit child(pid_t p) : pid(p) {} +}; + +}} +#endif + +#endif diff --git a/dep/process/boost/process/config.hpp b/dep/process/boost/process/config.hpp new file mode 100644 index 00000000000..7aae4d3ca4f --- /dev/null +++ b/dep/process/boost/process/config.hpp @@ -0,0 +1,82 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/config.hpp + * + * Defines various macros. + */ + +#ifndef BOOST_PROCESS_CONFIG_HPP +#define BOOST_PROCESS_CONFIG_HPP + +#include <boost/config.hpp> +#include <boost/system/config.hpp> +#include <boost/system/error_code.hpp> +#include <boost/system/system_error.hpp> + +#if defined(BOOST_POSIX_API) +# include <errno.h> +# define BOOST_PROCESS_LAST_ERROR errno +# define BOOST_PROCESS_PLATFORM posix +#elif defined(BOOST_WINDOWS_API) +# include <Windows.h> +# define BOOST_PROCESS_LAST_ERROR GetLastError() +# define BOOST_PROCESS_PLATFORM windows +#endif + +/** \cond */ +#define BOOST_PROCESS_PLATFORM_PROMOTE_PATH(COMPONENT) \ + <boost/process/BOOST_PROCESS_PLATFORM/COMPONENT.hpp> +#define BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(COMPONENT) \ + namespace boost { namespace process { using BOOST_PROCESS_PLATFORM::COMPONENT; }} +#define BOOST_PROCESS_PLATFORM_PROMOTE_INITIALIZERS_NAMESPACE \ + namespace boost { namespace process { namespace initializers { \ + using namespace boost::process::BOOST_PROCESS_PLATFORM::initializers; }}} +/** \endcond */ + +#if defined(BOOST_PROCESS_DOXYGEN) +/** + * \def BOOST_POSIX_API + * + * This macro is defined on POSIX. + */ +#define BOOST_POSIX_API +/** + * \def BOOST_WINDOWS_API + * + * This macro is defined on Windows. + */ +#define BOOST_WINDOWS_API +#endif + +/** + * \def BOOST_PROCESS_THROW(EX) + * + * Defines how exceptions are thrown. Set this macro for example + * to \c BOOST_THROW_EXCEPTION if you like to use Boost.Exception. + */ +#define BOOST_PROCESS_THROW(EX) throw EX + +/** \cond */ +#define BOOST_PROCESS_SOURCE_LOCATION \ + "in file '" __FILE__ "', line " BOOST_STRINGIZE(__LINE__) ": " + +#define BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR(what) \ + BOOST_PROCESS_THROW(boost::system::system_error( \ + boost::system::error_code(BOOST_PROCESS_LAST_ERROR, \ + boost::system::system_category()), \ + BOOST_PROCESS_SOURCE_LOCATION what)) + +#define BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec) \ + ec = boost::system::error_code(BOOST_PROCESS_LAST_ERROR, \ + boost::system::system_category()) +/** \endcond */ + +#endif diff --git a/dep/process/boost/process/create_pipe.hpp b/dep/process/boost/process/create_pipe.hpp new file mode 100644 index 00000000000..6c34ecf44b1 --- /dev/null +++ b/dep/process/boost/process/create_pipe.hpp @@ -0,0 +1,48 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/create_pipe.hpp + * + * Defines a function to create a pipe. + */ + +#ifndef BOOST_PROCESS_CREATE_PIPE_HPP +#define BOOST_PROCESS_CREATE_PIPE_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(create_pipe) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(create_pipe) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Creates an anonymous pipe. + * + * \note On Windows anonymous pipes don't support + * asynchronous I/O. + * + * \throws boost::system::system_error in case of an error + */ +pipe create_pipe(); + +/** + * Creates an anonymous pipe. + * + * \note On Windows anonymous pipes don't support + * asynchronous I/O. + */ +pipe create_pipe(boost::system::error_code &ec); + +}} +#endif + +#endif diff --git a/dep/process/boost/process/execute.hpp b/dep/process/boost/process/execute.hpp new file mode 100644 index 00000000000..608831171e9 --- /dev/null +++ b/dep/process/boost/process/execute.hpp @@ -0,0 +1,38 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/execute.hpp + * + * Defines a function to execute a program. + */ + +#ifndef BOOST_PROCESS_EXECUTE_HPP +#define BOOST_PROCESS_EXECUTE_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(execute) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(execute) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Starts a program. + * + * \tparam initializers define what and how the program is started + */ +template <class Initializer, class... Initializers> +child execute(const Initializer &initializer, const Initializers... &initializers); + +}} +#endif + +#endif diff --git a/dep/process/boost/process/executor.hpp b/dep/process/boost/process/executor.hpp new file mode 100644 index 00000000000..905d7f84cc7 --- /dev/null +++ b/dep/process/boost/process/executor.hpp @@ -0,0 +1,176 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/executor.hpp + * + * Defines an executor which can create child processes. + */ + +#ifndef BOOST_PROCESS_EXECUTOR_HPP +#define BOOST_PROCESS_EXECUTOR_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(executor) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(executor) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Starts a program. + * + * boost::process::executor is a functor which calls the system functions + * to start a program. Before system functions are called it iterates + * over initializers and calls a member function passing a reference + * to itself as a parameter. Initializers get then a chance to setup + * the executor. If system functions fail boost::process::executor again + * iterates over initializers and calls another member function passing a + * reference to itself as a parameter. This gives initializers a + * chance to handle the error. + * + * \note Library users shouldn't need to use boost::process::executor. + * It is recommended to call boost::process::execute which uses + * boost::pocess::executor internally. + */ +struct executor +{ + /** + * Default constructor. + */ + executor(); + + /** + * Starts a program. + * + * \tparam initializers define what and how the program is started + */ + template <class Initializer, class... Initializers> + child operator()(const Initializer &initializer, const Initializers... &initializers); + + ///\defgroup WindowsOnly Windows only. + ///@{ + + /** + * Program name. + * + * \remark <em>Windows only.</em> + */ + LPCTSTR exe; + + /** + * Command line. + * + * \remark <em>Windows only.</em> + */ + LPTSTR cmd_line; + + /** + * Process attributes. + * + * \remark <em>Windows only.</em> + */ + LPSECURITY_ATTRIBUTES proc_attrs; + + /** + * Thread attributes. + * + * \remark <em>Windows only.</em> + */ + LPSECURITY_ATTRIBUTES thread_attrs; + + /** + * Flag to inherit handles. + * + * \remark <em>Windows only.</em> + */ + BOOL inherit_handles; + + /** + * Creation flags. + * + * \remark <em>Windows only.</em> + */ + DWORD creation_flags; + + /** + * Environment variables. + * + * \remark <em>Windows only.</em> + */ + LPVOID env; + + /** + * Work directory. + * + * \remark <em>Windows only.</em> + */ + LPCTSTR work_dir; + + /** + * Startupinfo structure. + * + * \remark <em>Windows only.</em> + */ + STARTUPINFO startup_info; + + /** + * Startupinfoex structure. + * + * If this member variable is available, \c startup_info is a reference + * to \c StartupInfo in STARTUPINFOEX. + * + * \remark <em>Windows Vista, Windows Server 2008 or better.</em> + */ + STARTUPINFOEX startup_info_ex; + + /** + * Process information. + * + * \c proc_info contains the result after a child process + * could be started successfully. + * + * \remark <em>Windows only.</em> + */ + PROCESS_INFORMATION proc_info; + + ///@} + + ///\defgroup POSIXOnly POSIX only. + ///@{ + + /** + * Program name. + * + * \remark <em>POSIX only.</em> + */ + const char *exe; + + /** + * Command line arguments. + * + * \remark <em>POSIX only.</em> + */ + char **cmd_line; + + /** + * Environment variables. + * + * \remark <em>POSIX only.</em> + */ + char **env; + + ///@} +}; + +}} +#endif + +#endif diff --git a/dep/process/boost/process/initializers.hpp b/dep/process/boost/process/initializers.hpp new file mode 100644 index 00000000000..c7175d1425d --- /dev/null +++ b/dep/process/boost/process/initializers.hpp @@ -0,0 +1,497 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/initializers.hpp + * + * Defines initializers. + */ + +#ifndef BOOST_PROCESS_INITIALIZERS_HPP +#define BOOST_PROCESS_INITIALIZERS_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(initializers) +BOOST_PROCESS_PLATFORM_PROMOTE_INITIALIZERS_NAMESPACE + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { namespace initializers { + +/** + * Binds the standard error stream. + */ +class bind_stderr : public initializer_base +{ +public: + /** + * Constructor. + */ + explicit bind_stderr(const boost::iostreams::file_descriptor_sink &sink); +}; + +/** + * Binds the standard input stream. + */ +class bind_stdin : public initializer_base +{ +public: + /** + * Constructor. + */ + explicit bind_stdin(const boost::iostreams::file_descriptor_source &source); +}; + +/** + * Binds the standard output stream. + */ +class bind_stdout : public initializer_base +{ +public: + /** + * Constructor. + */ + explicit bind_stdout(const boost::iostreams::file_descriptor_sink &sink); +}; + +/** + * Binds a file descriptor. + * + * \remark <em>POSIX only.</em> + */ +class bind_fd : public initializer_base +{ +public: + /** + * Constructor. + */ + bind_fd(int id, const boost::iostreams::file_descriptor &fd); +}; + +/** + * Closes a file descriptor. + * + * \remark <em>POSIX only.</em> + */ +class close_fd : public initializer_base +{ + /** + * Constructor. + */ + explicit close_fd(int fd); +}; + +/** + * Closes file descriptors. + * + * \remark <em>POSIX only.</em> + */ +class close_fds : public initializer_base +{ +public: + /** + * Constructor. + * + * \c range_type must be an <tt>int</tt>-range. + */ + explicit close_fds(const range_type &fds); +}; + +/** + * Closes all file descriptors a predicate returns + * true for. + * + * This initializer doesn't close file descriptors + * immediately. Instead it sets the \c FD_CLOEXEC + * flag. File descriptors are closed when \c execve + * is called and the call succeeds. + * + * \remark <em>POSIX only.</em> + */ +class close_fds_if : public initializer_base +{ +public: + /** + * Constructor. + * + * \c predicate_type must be a function or functor with + * this signature: <tt>bool(int)</tt> + */ + explicit close_fds_if(const predicate_type &pred); +}; + +/** + * Closes the standard error stream. + */ +class close_stderr : public initializer_base +{ + /** + * Constructor. + */ + close_stderr(); +}; + +/** + * Closes the standard input stream. + */ +class close_stdin : public initializer_base +{ + /** + * Constructor. + */ + close_stdin(); +}; + +/** + * Closes the standard output stream. + */ +class close_stdout : public initializer_base +{ + /** + * Constructor. + */ + close_stdout(); +}; + +/** + * Hides the console. + */ +class hide_console : public initializer_base +{ +public: + /** + * Constructor. + */ + hide_console(); +}; + +/** + * Inherits environment variables. + */ +class inherit_env : public initializer_base +{ +public: + /** + * Constructor. + */ + inherit_env(); +}; + +/** + * Notifies an I/O service object of fork-related events. + * + * \see boost::asio::io_service::notify_fork + * + * \remark <em>POSIX only.</em> + */ +class notify_io_service : public initializer_base +{ +public: + /** + * Constructor. + */ + explicit notify_io_service(boost::asio::io_service &io_service); +}; + +/** + * Generic initializer to execute any code if \c execve + * failed. + * + * \remark <em>POSIX only.</em> + */ +class on_exec_error : public initializer_base +{ +public: + /** + * Constructor. + * + * \c handler_type must be a function or functor with + * this signature: <tt>void(executor&)</tt> + */ + explicit on_exec_error(handler_type handler); +}; + +/** + * Generic initializer to execute any code before \c execve + * is called. + * + * \remark <em>POSIX only.</em> + */ +class on_exec_setup : public initializer_base +{ +public: + /** + * Constructor. + * + * \c handler_type must be a function or functor with + * this signature: <tt>void(executor&)</tt> + */ + explicit on_exec_setup(handler_type handler); +}; + +/** + * Generic initializer to execute any code if \c fork + * failed. + * + * \remark <em>POSIX only.</em> + */ +class on_fork_error : public initializer_base +{ +public: + /** + * Constructor. + * + * \c handler_type must be a function or functor with + * this signature: <tt>void(executor&)</tt> + */ + explicit on_fork_error(handler_type handler); +}; + +/** + * Generic initializer to execute any code before \c fork + * is called. + * + * \remark <em>POSIX only.</em> + */ +class on_fork_setup : public initializer_base +{ +public: + /** + * Constructor. + * + * \c handler_type must be a function or functor with + * this signature: <tt>void(executor&)</tt> + */ + explicit on_fork_setup(handler_type handler); +}; + +/** + * Generic initializer to execute any code in the parent + * process after \c fork has been called successfully. + * + * \remark <em>POSIX only.</em> + */ +class on_fork_success : public initializer_base +{ +public: + /** + * Constructor. + * + * \c handler_type must be a function or functor with + * this signature: <tt>void(executor&)</tt> + */ + explicit on_fork_success(handler_type handler); +}; + +/** + * Generic initializer to execute any code if \c CreateProcess + * failed. + * + * \remark <em>Windows only.</em> + */ +class on_CreateProcess_error : public initializer_base +{ +public: + /** + * Constructor. + * + * \c handler_type must be a function or functor with + * this signature: <tt>void(executor&)</tt> + */ + explicit on_CreateProcess_error(handler_type handler); +}; + +/** + * Generic initializer to execute any code before \c CreateProcess + * is called. + * + * \remark <em>Windows only.</em> + */ +class on_CreateProcess_setup : public initializer_base +{ +public: + /** + * Constructor. + * + * \c handler_type must be a function or functor with + * this signature: <tt>void(executor&)</tt> + */ + explicit on_CreateProcess_setup(handler_type handler); +}; + +/** + * Generic initializer to execute any code after \c CreateProcess + * has been called successfully. + * + * \remark <em>Windows only.</em> + */ +class on_CreateProcess_success : public initializer_base +{ +public: + /** + * Constructor. + * + * \c handler_type must be a function or functor with + * this signature: <tt>void(executor&)</tt> + */ + explicit on_CreateProcess_success(handler_type handler); +}; + +/** + * Specifies the executable to start. + * + * This initializer must always be used. The only exception is + * if you use \c set_args or a generic initializer which + * specifies the executable. + */ +class run_exe : public initializer_base +{ +public: + /** + * Constructor. + * + * On Windows \c string_type must be <tt>const char*</tt>, + * <tt>std::string</tt> or <tt>boost::filesystem::path</tt>. + * If Unicode is used, \c string_type must be + * <tt>const wchar_t*</tt>, <tt>std::wstring</tt> or + * <tt>boost::filesystem::path</tt>. + * + * On POSIX \c string_type must be <tt>const char*</tt>, + * <tt>std::string</tt> or <tt>boost::filesystem::path</tt>. + */ + explicit run_exe(const string_type &s); +}; + +/** + * Sets the command line arguments. + * + * The first argument specifies the executable to start unless + * \c run_exe is used. + * + * Use \c set_cmd_line if you don't want to pass a collection of + * command line arguments but set the command line as one string. + */ +class set_args : public initializer_base +{ +public: + /** + * Constructor. + * + * On Windows \c range_type must be a <tt>std::string</tt>-range. + * If Unicode is used, \c range_type must be a + * <tt>std::wstring</tt>-range. + * + * On POSIX \c range_type must be a <tt>std::string</tt>-range. + */ + explicit set_args(const range_type &r); +}; + +/** + * Sets the command line. + * + * Use \c set_args if you don't want to set the command line as + * one string but pass a collection of command line arguments. + */ +class set_cmd_line : public initializer_base +{ +public: + /** + * Constructor. + * + * On Windows \c string_type must be <tt>const char*</tt>, + * <tt>std::string</tt> or <tt>boost::filesystem::path</tt>. + * If Unicode is used, \c string_type must be + * <tt>const wchar_t*</tt>, <tt>std::wstring</tt> or + * <tt>boost::filesystem::path</tt>. + * + * On POSIX \c string_type must be <tt>const char*</tt>, + * <tt>std::string</tt> or <tt>boost::filesystem::path</tt>. + */ + explicit set_cmd_line(const string_type &s); +}; + +/** + * Sets the environment. + */ +class set_env : public initializer_base +{ +public: + /** + * Constructor. + * + * On Windows \c range_type must be a <tt>std::string</tt>-range. + * If Unicode is used, \c range_type must be a + * <tt>std::wstring</tt>-range. + * + * On POSIX \c range_type must be a <tt>std::string</tt>-range. + */ + explicit set_env(const range_type &r); +}; + +/** + * Sets an error if a child process can't be created. + */ +class set_on_error : public initializer_base +{ +public: + /** + * Constructor. + */ + explicit set_on_error(boost::system::error_code &ec); +}; + +/** + * Sets the flag \c wShowWindow in \c STARTUPINFO. + * + * \remark <em>Windows only.</em> + */ +class show_window : public initializer_base +{ +public: + /** + * Constructor. + */ + explicit show_window(WORD flags); +}; + +/** + * Sets the work directory. + */ +class start_in_dir : public initializer_base +{ +public: + /** + * Constructor. + * + * On Windows \c string_type must be <tt>const char*</tt>, + * <tt>std::string</tt> or <tt>boost::filesystem::path</tt>. + * If Unicode is used, \c string_type must be + * <tt>const wchar_t*</tt>, <tt>std::wstring</tt> or + * <tt>boost::filesystem::path</tt>. + * + * On POSIX \c string_type must be <tt>const char*</tt>, + * <tt>std::string</tt> or <tt>boost::filesystem::path</tt>. + */ + explicit start_in_dir(const string_type &s); +}; + +/** + * Throws an error if a child process can't be created. + * + * The type of the error thrown is \c boost::system::system_error. + */ +class throw_on_error : public initializer_base +{ +public: +}; + +}}} +#endif + +#endif diff --git a/dep/process/boost/process/mitigate.hpp b/dep/process/boost/process/mitigate.hpp new file mode 100644 index 00000000000..6838984aa1a --- /dev/null +++ b/dep/process/boost/process/mitigate.hpp @@ -0,0 +1,104 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/mitigate.hpp + * + * Helpers to mitigate platform differences. + */ + +#ifndef BOOST_PROCESS_MITIGATE_HPP +#define BOOST_PROCESS_MITIGATE_HPP + +#include <boost/asio.hpp> +#if defined(BOOST_POSIX_API) +# include <sys/wait.h> +#endif + +namespace boost { namespace process { + +#if defined(BOOST_WINDOWS_API) +typedef boost::asio::windows::stream_handle pipe_end; +#elif defined(BOOST_POSIX_API) +typedef boost::asio::posix::stream_descriptor pipe_end; +#endif + +inline const char *zero_device() +{ +#if defined(BOOST_WINDOWS_API) + return "NUL"; +#elif defined(BOOST_POSIX_API) + return "/dev/zero"; +#endif +} + +inline const char *null_device() +{ +#if defined(BOOST_WINDOWS_API) + return "NUL"; +#elif defined(BOOST_POSIX_API) + return "/dev/null"; +#endif +} + +#if defined(BOOST_WINDOWS_API) +# define BOOST_PROCESS_EXITSTATUS(a) static_cast<int>(a) +#elif defined(BOOST_POSIX_API) +# define BOOST_PROCESS_EXITSTATUS WEXITSTATUS +#endif + +#if defined(BOOST_PROCESS_DOXYGEN) +/** + * Type definition for the end of a pipe. + * + * On Windows the type is based on boost::asio::windows::stream_handle. On + * POSIX it is based on boost::asio::posix::stream_descriptor. + * + * You can use this type definition for asynchronous I/O with streams of + * child processes. + */ +typedef boost_asio_type pipe_end; + +/** + * Gets the name of the zero device. + * + * You can use zero_device to initialize a + * boost::iostreams::file_descriptor_source to read + * null characters from. + * + * \returns NUL on Windows and /dev/zero on POSIX. + */ +const char *zero_device(); + +/** + * Gets the name of the null device. + * + * You can use null_device to initialize a + * boost::iostreams::file_descriptor_sink which discards + * data written to it. + * + * \returns NUL on Windows and /dev/null on POSIX. + */ +const char *null_device(); + +/** + * \def BOOST_PROCESS_EXITSTATUS + * + * On Windows \c BOOST_PROCESS_EXITSTATUS is a static cast to \c int. + * On POSIX it is set to \c WEXITSTATUS. + * + * You can use \c BOOST_PROCESS_EXITSTATUS for the return value of + * boost::process::wait_for_exit to get the exit status of a process. + */ +#define BOOST_PROCESS_EXITSTATUS +#endif + +}} + +#endif diff --git a/dep/process/boost/process/pipe.hpp b/dep/process/boost/process/pipe.hpp new file mode 100644 index 00000000000..35f2a4470d6 --- /dev/null +++ b/dep/process/boost/process/pipe.hpp @@ -0,0 +1,64 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/pipe.hpp + * + * Defines a pipe. + */ + +#ifndef BOOST_PROCESS_PIPE_HPP +#define BOOST_PROCESS_PIPE_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(pipe) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(pipe) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(make_pipe) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Represents a pipe. + */ +struct pipe +{ + /** + * Read-end. + */ + pipe_end_type source; + + /** + * Write-end. + */ + pipe_end_type sink; + + /** + * Constructor. + */ + pipe(pipe_end_type source, pipe_end_type sink); +}; + +/** + * Returns a pipe instance. + * + * This is a helper function to instantiate boost::process::pipe. + * + * \note boost::process::make_pipe does not create a pipe. + * You must pass existing pipe ends to this function. + * If you want to create an anonymous pipe, call + * boost::process::create_pipe. + */ +pipe make_pipe(pipe_end_type source, pipe_end_type sink); + +}} +#endif + +#endif diff --git a/dep/process/boost/process/posix/child.hpp b/dep/process/boost/process/posix/child.hpp new file mode 100644 index 00000000000..913484529e8 --- /dev/null +++ b/dep/process/boost/process/posix/child.hpp @@ -0,0 +1,26 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_CHILD_HPP +#define BOOST_PROCESS_POSIX_CHILD_HPP + +#include <sys/types.h> + +namespace boost { namespace process { namespace posix { + +struct child +{ + pid_t pid; + + explicit child(pid_t p) : pid(p) {} +}; + +}}} + +#endif diff --git a/dep/process/boost/process/posix/create_pipe.hpp b/dep/process/boost/process/posix/create_pipe.hpp new file mode 100644 index 00000000000..ecdd523516f --- /dev/null +++ b/dep/process/boost/process/posix/create_pipe.hpp @@ -0,0 +1,40 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_CREATE_PIPE_HPP +#define BOOST_PROCESS_POSIX_CREATE_PIPE_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/pipe.hpp> +#include <boost/system/error_code.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { + +inline pipe create_pipe() +{ + int fds[2]; + if (::pipe(fds) == -1) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("pipe(2) failed"); + return pipe(fds[0], fds[1]); +} + +inline pipe create_pipe(boost::system::error_code &ec) +{ + int fds[2]; + if (::pipe(fds) == -1) + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec); + else + ec.clear(); + return pipe(fds[0], fds[1]); +} + +}}} + +#endif diff --git a/dep/process/boost/process/posix/execute.hpp b/dep/process/boost/process/posix/execute.hpp new file mode 100644 index 00000000000..27082196c8a --- /dev/null +++ b/dep/process/boost/process/posix/execute.hpp @@ -0,0 +1,82 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_EXECUTE_HPP +#define BOOST_PROCESS_POSIX_EXECUTE_HPP + +#include <boost/process/posix/executor.hpp> +#include <boost/process/posix/child.hpp> +#include <boost/fusion/tuple/make_tuple.hpp> +#include <boost/ref.hpp> + +namespace boost { namespace process { namespace posix { + +template <class I0> +child execute(const I0 &i0) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0))); +} + +template <class I0, class I1> +child execute(const I0 &i0, const I1 &i1) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1))); +} + +template <class I0, class I1, class I2> +child execute(const I0 &i0, const I1 &i1, const I2 &i2) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2))); +} + +template <class I0, class I1, class I2, class I3> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3))); +} + +template <class I0, class I1, class I2, class I3, class I4> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5, class I6> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7, class I8> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7, const I8 &i8) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7), boost::cref(i8))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7, class I8, class I9> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7, const I8 &i8, const I9 &i9) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7), boost::cref(i8), boost::cref(i9))); +} + +}}} + +#endif diff --git a/dep/process/boost/process/posix/executor.hpp b/dep/process/boost/process/posix/executor.hpp new file mode 100644 index 00000000000..a3e81f128f5 --- /dev/null +++ b/dep/process/boost/process/posix/executor.hpp @@ -0,0 +1,120 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_EXECUTOR_HPP +#define BOOST_PROCESS_POSIX_EXECUTOR_HPP + +#include <boost/process/posix/child.hpp> +#include <boost/fusion/algorithm/iteration/for_each.hpp> +#include <cstdlib> +#include <sys/types.h> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { + +struct executor +{ + executor() : exe(0), cmd_line(0), env(0) {} + + struct call_on_fork_setup + { + executor &e_; + + call_on_fork_setup(executor &e) : e_(e) {} + + template <class Arg> + void operator()(const Arg &arg) const + { + arg.on_fork_setup(e_); + } + }; + + struct call_on_fork_error + { + executor &e_; + + call_on_fork_error(executor &e) : e_(e) {} + + template <class Arg> + void operator()(Arg &arg) const + { + arg.on_fork_error(e_); + } + }; + + struct call_on_fork_success + { + executor &e_; + + call_on_fork_success(executor &e) : e_(e) {} + + template <class Arg> + void operator()(Arg &arg) const + { + arg.on_fork_success(e_); + } + }; + + struct call_on_exec_setup + { + executor &e_; + + call_on_exec_setup(executor &e) : e_(e) {} + + template <class Arg> + void operator()(Arg &arg) const + { + arg.on_exec_setup(e_); + } + }; + + struct call_on_exec_error + { + executor &e_; + + call_on_exec_error(executor &e) : e_(e) {} + + template <class Arg> + void operator()(Arg &arg) const + { + arg.on_exec_error(e_); + } + }; + + template <class InitializerSequence> + child operator()(const InitializerSequence &seq) + { + boost::fusion::for_each(seq, call_on_fork_setup(*this)); + + pid_t pid = ::fork(); + if (pid == -1) + { + boost::fusion::for_each(seq, call_on_fork_error(*this)); + } + else if (pid == 0) + { + boost::fusion::for_each(seq, call_on_exec_setup(*this)); + ::execve(exe, cmd_line, env); + boost::fusion::for_each(seq, call_on_exec_error(*this)); + _exit(EXIT_FAILURE); + } + + boost::fusion::for_each(seq, call_on_fork_success(*this)); + + return child(pid); + } + + const char *exe; + char **cmd_line; + char **env; +}; + +}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers.hpp b/dep/process/boost/process/posix/initializers.hpp new file mode 100644 index 00000000000..78295c14cb6 --- /dev/null +++ b/dep/process/boost/process/posix/initializers.hpp @@ -0,0 +1,39 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_HPP + +#include <boost/process/posix/initializers/bind_fd.hpp> +#include <boost/process/posix/initializers/bind_stderr.hpp> +#include <boost/process/posix/initializers/bind_stdin.hpp> +#include <boost/process/posix/initializers/bind_stdout.hpp> +#include <boost/process/posix/initializers/close_fd.hpp> +#include <boost/process/posix/initializers/close_fds.hpp> +#include <boost/process/posix/initializers/close_fds_if.hpp> +#include <boost/process/posix/initializers/close_stderr.hpp> +#include <boost/process/posix/initializers/close_stdin.hpp> +#include <boost/process/posix/initializers/close_stdout.hpp> +#include <boost/process/posix/initializers/hide_console.hpp> +#include <boost/process/posix/initializers/inherit_env.hpp> +#include <boost/process/posix/initializers/notify_io_service.hpp> +#include <boost/process/posix/initializers/on_exec_error.hpp> +#include <boost/process/posix/initializers/on_exec_setup.hpp> +#include <boost/process/posix/initializers/on_fork_error.hpp> +#include <boost/process/posix/initializers/on_fork_setup.hpp> +#include <boost/process/posix/initializers/on_fork_success.hpp> +#include <boost/process/posix/initializers/run_exe.hpp> +#include <boost/process/posix/initializers/set_args.hpp> +#include <boost/process/posix/initializers/set_cmd_line.hpp> +#include <boost/process/posix/initializers/set_env.hpp> +#include <boost/process/posix/initializers/set_on_error.hpp> +#include <boost/process/posix/initializers/start_in_dir.hpp> +#include <boost/process/posix/initializers/throw_on_error.hpp> + +#endif diff --git a/dep/process/boost/process/posix/initializers/bind_fd.hpp b/dep/process/boost/process/posix/initializers/bind_fd.hpp new file mode 100644 index 00000000000..851b7ef3e44 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/bind_fd.hpp @@ -0,0 +1,43 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_BIND_FD_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_BIND_FD_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class FileDescriptor> +class bind_fd_ : public initializer_base +{ +public: + bind_fd_(int id, const FileDescriptor &fd) : id_(id), fd_(fd) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::dup2(fd_.handle(), id_); + } + +private: + int id_; + FileDescriptor fd_; +}; + +template <class FileDescriptor> +bind_fd_<FileDescriptor> bind_fd(int id, const FileDescriptor &fd) +{ + return bind_fd_<FileDescriptor>(id, fd); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/bind_stderr.hpp b/dep/process/boost/process/posix/initializers/bind_stderr.hpp new file mode 100644 index 00000000000..be767bf2fe1 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/bind_stderr.hpp @@ -0,0 +1,37 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_BIND_STDERR_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_BIND_STDERR_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/iostreams/device/file_descriptor.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class bind_stderr : public initializer_base +{ +public: + explicit bind_stderr(const boost::iostreams::file_descriptor_sink &sink) + : sink_(sink) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::dup2(sink_.handle(), STDERR_FILENO); + } + +private: + boost::iostreams::file_descriptor_sink sink_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/bind_stdin.hpp b/dep/process/boost/process/posix/initializers/bind_stdin.hpp new file mode 100644 index 00000000000..b592d6f8b38 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/bind_stdin.hpp @@ -0,0 +1,37 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_BIND_STDIN_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_BIND_STDIN_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/iostreams/device/file_descriptor.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class bind_stdin : public initializer_base +{ +public: + explicit bind_stdin(const boost::iostreams::file_descriptor_source &source) + : source_(source) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::dup2(source_.handle(), STDIN_FILENO); + } + +private: + boost::iostreams::file_descriptor_source source_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/bind_stdout.hpp b/dep/process/boost/process/posix/initializers/bind_stdout.hpp new file mode 100644 index 00000000000..a2c316d9972 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/bind_stdout.hpp @@ -0,0 +1,37 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_BIND_STDOUT_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_BIND_STDOUT_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/iostreams/device/file_descriptor.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class bind_stdout : public initializer_base +{ +public: + explicit bind_stdout(const boost::iostreams::file_descriptor_sink &sink) + : sink_(sink) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::dup2(sink_.handle(), STDOUT_FILENO); + } + +private: + boost::iostreams::file_descriptor_sink sink_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/close_fd.hpp b/dep/process/boost/process/posix/initializers/close_fd.hpp new file mode 100644 index 00000000000..fd516e41005 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/close_fd.hpp @@ -0,0 +1,35 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_FD_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_FD_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class close_fd : public initializer_base +{ +public: + explicit close_fd(int fd) : fd_(fd) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::close(fd_); + } + +private: + int fd_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/close_fds.hpp b/dep/process/boost/process/posix/initializers/close_fds.hpp new file mode 100644 index 00000000000..2fa338501eb --- /dev/null +++ b/dep/process/boost/process/posix/initializers/close_fds.hpp @@ -0,0 +1,43 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_FDS_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_FDS_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/range/algorithm/for_each.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Range> +class close_fds_ : public initializer_base +{ +public: + explicit close_fds_(const Range &fds) : fds_(fds) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + boost::for_each(fds_, ::close); + } + +private: + Range fds_; +}; + +template <class Range> +close_fds_<Range> close_fds(const Range &fds) +{ + return close_fds_<Range>(fds); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/close_fds_if.hpp b/dep/process/boost/process/posix/initializers/close_fds_if.hpp new file mode 100644 index 00000000000..fb3a651d628 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/close_fds_if.hpp @@ -0,0 +1,80 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_FDS_IF_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_FDS_IF_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/iterator/counting_iterator.hpp> +#include <boost/range/counting_range.hpp> +#include <boost/range/adaptor/filtered.hpp> +#include <boost/range/algorithm/for_each.hpp> +#include <unistd.h> +#include <fcntl.h> +#include <errno.h> + +#ifndef BOOST_PROCESS_POSIX_MAX_FD +# define BOOST_PROCESS_POSIX_MAX_FD 32 +#endif + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Predicate> +class close_fds_if_ : public initializer_base +{ +private: + static void close(int fd) + { + ::fcntl(fd, F_SETFD, FD_CLOEXEC); + } + +public: + explicit close_fds_if_(const Predicate &pred) : pred_(pred) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + boost::for_each( + boost::adaptors::filter( + boost::counting_range(0, upper_bound()), + pred_ + ), + close + ); + } + +private: + static int upper_bound() + { + int up; +#if defined(F_MAXFD) + do + { + up = ::fcntl(0, F_MAXFD); + } while (up == -1 && errno == EINTR); + if (up == -1) +#endif + up = ::sysconf(_SC_OPEN_MAX); + if (up == -1) + up = BOOST_PROCESS_POSIX_MAX_FD; + return up; + } + + Predicate pred_; +}; + +template <class Predicate> +close_fds_if_<Predicate> close_fds_if(const Predicate &pred) +{ + return close_fds_if_<Predicate>(pred); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/close_stderr.hpp b/dep/process/boost/process/posix/initializers/close_stderr.hpp new file mode 100644 index 00000000000..1a4c2ad00df --- /dev/null +++ b/dep/process/boost/process/posix/initializers/close_stderr.hpp @@ -0,0 +1,30 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_STDERR_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_STDERR_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class close_stderr : public initializer_base +{ +public: + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::close(STDERR_FILENO); + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/close_stdin.hpp b/dep/process/boost/process/posix/initializers/close_stdin.hpp new file mode 100644 index 00000000000..021c3ec54df --- /dev/null +++ b/dep/process/boost/process/posix/initializers/close_stdin.hpp @@ -0,0 +1,30 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_STDIN_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_STDIN_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class close_stdin : public initializer_base +{ +public: + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::close(STDIN_FILENO); + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/close_stdout.hpp b/dep/process/boost/process/posix/initializers/close_stdout.hpp new file mode 100644 index 00000000000..cfab7d1d62f --- /dev/null +++ b/dep/process/boost/process/posix/initializers/close_stdout.hpp @@ -0,0 +1,30 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_STDOUT_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_CLOSE_STDOUT_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class close_stdout : public initializer_base +{ +public: + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::close(STDOUT_FILENO); + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/hide_console.hpp b/dep/process/boost/process/posix/initializers/hide_console.hpp new file mode 100644 index 00000000000..20d527b457f --- /dev/null +++ b/dep/process/boost/process/posix/initializers/hide_console.hpp @@ -0,0 +1,24 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_HIDE_CONSOLE_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_HIDE_CONSOLE_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class hide_console : public initializer_base +{ +public: +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/inherit_env.hpp b/dep/process/boost/process/posix/initializers/inherit_env.hpp new file mode 100644 index 00000000000..bc73c8571f8 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/inherit_env.hpp @@ -0,0 +1,36 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_INHERIT_ENV_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_INHERIT_ENV_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +// From <https://svn.boost.org/trac/boost/changeset/67768> +#if defined(__APPLE__) && defined(__DYNAMIC__) +extern "C" { extern char ***_NSGetEnviron(void); } +# define environ (*_NSGetEnviron()) +#else +# include <unistd.h> +#endif + +namespace boost { namespace process { namespace posix { namespace initializers { + +class inherit_env : public initializer_base +{ +public: + template <class PosixExecutor> + void on_fork_setup(PosixExecutor &e) const + { + e.env = environ; + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/initializer_base.hpp b/dep/process/boost/process/posix/initializers/initializer_base.hpp new file mode 100644 index 00000000000..775f00e48ce --- /dev/null +++ b/dep/process/boost/process/posix/initializers/initializer_base.hpp @@ -0,0 +1,35 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_INITIALIZER_BASE_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_INITIALIZER_BASE_HPP + +namespace boost { namespace process { namespace posix { namespace initializers { + +struct initializer_base +{ + template <class PosixExecutor> + void on_fork_setup(PosixExecutor&) const {} + + template <class PosixExecutor> + void on_fork_error(PosixExecutor&) const {} + + template <class PosixExecutor> + void on_fork_success(PosixExecutor&) const {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const {} + + template <class PosixExecutor> + void on_exec_error(PosixExecutor&) const {} +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/notify_io_service.hpp b/dep/process/boost/process/posix/initializers/notify_io_service.hpp new file mode 100644 index 00000000000..d94f674c81a --- /dev/null +++ b/dep/process/boost/process/posix/initializers/notify_io_service.hpp @@ -0,0 +1,55 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_NOTIFY_IO_SERVICE_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_NOTIFY_IO_SERVICE_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class IOService> +class notify_io_service_ : public initializer_base +{ +public: + explicit notify_io_service_(IOService &io_service) : + io_service_(io_service) {} + + template <class PosixExecutor> + void on_fork_setup(PosixExecutor&) const + { + io_service_.notify_fork(IOService::fork_prepare); + } + + template <class PosixExecutor> + void on_fork_success(PosixExecutor&) const + { + io_service_.notify_fork(IOService::fork_parent); + } + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + io_service_.notify_fork(IOService::fork_child); + } + +private: + IOService &io_service_; +}; + +template <class IOService> +notify_io_service_<IOService> notify_io_service(IOService &io_service) +{ + return notify_io_service_<IOService>(io_service); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/on_exec_error.hpp b/dep/process/boost/process/posix/initializers/on_exec_error.hpp new file mode 100644 index 00000000000..63b56def4f2 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/on_exec_error.hpp @@ -0,0 +1,42 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_ON_EXEC_ERROR_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_ON_EXEC_ERROR_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Handler> +class on_exec_error_ : public initializer_base +{ +public: + explicit on_exec_error_(Handler handler) : handler_(handler) {} + + template <class PosixExecutor> + void on_exec_error(PosixExecutor &e) const + { + handler_(e); + } + +private: + Handler handler_; +}; + +template <class Handler> +on_exec_error_<Handler> on_exec_error(Handler handler) +{ + return on_exec_error_<Handler>(handler); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/on_exec_setup.hpp b/dep/process/boost/process/posix/initializers/on_exec_setup.hpp new file mode 100644 index 00000000000..50f5f3736b1 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/on_exec_setup.hpp @@ -0,0 +1,42 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_ON_EXEC_SETUP_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_ON_EXEC_SETUP_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Handler> +class on_exec_setup_ : public initializer_base +{ +public: + explicit on_exec_setup_(Handler handler) : handler_(handler) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor &e) const + { + handler_(e); + } + +private: + Handler handler_; +}; + +template <class Handler> +on_exec_setup_<Handler> on_exec_setup(Handler handler) +{ + return on_exec_setup_<Handler>(handler); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/on_fork_error.hpp b/dep/process/boost/process/posix/initializers/on_fork_error.hpp new file mode 100644 index 00000000000..42ecf1aac91 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/on_fork_error.hpp @@ -0,0 +1,42 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_ON_FORK_ERROR_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_ON_FORK_ERROR_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Handler> +class on_fork_error_ : public initializer_base +{ +public: + explicit on_fork_error_(Handler handler) : handler_(handler) {} + + template <class PosixExecutor> + void on_fork_error(PosixExecutor &e) const + { + handler_(e); + } + +private: + Handler handler_; +}; + +template <class Handler> +on_fork_error_<Handler> on_fork_error(Handler handler) +{ + return on_fork_error_<Handler>(handler); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/on_fork_setup.hpp b/dep/process/boost/process/posix/initializers/on_fork_setup.hpp new file mode 100644 index 00000000000..c0c5b0682f2 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/on_fork_setup.hpp @@ -0,0 +1,42 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_ON_FORK_SETUP_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_ON_FORK_SETUP_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Handler> +class on_fork_setup_ : public initializer_base +{ +public: + explicit on_fork_setup_(Handler handler) : handler_(handler) {} + + template <class PosixExecutor> + void on_fork_setup(PosixExecutor &e) const + { + handler_(e); + } + +private: + Handler handler_; +}; + +template <class Handler> +on_fork_setup_<Handler> on_fork_setup(Handler handler) +{ + return on_fork_setup_<Handler>(handler); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/on_fork_success.hpp b/dep/process/boost/process/posix/initializers/on_fork_success.hpp new file mode 100644 index 00000000000..01c9b12db06 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/on_fork_success.hpp @@ -0,0 +1,42 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_ON_FORK_SUCCESS_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_ON_FORK_SUCCESS_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Handler> +class on_fork_success_ : public initializer_base +{ +public: + explicit on_fork_success_(Handler handler) : handler_(handler) {} + + template <class PosixExecutor> + void on_fork_success(PosixExecutor &e) const + { + handler_(e); + } + +private: + Handler handler_; +}; + +template <class Handler> +on_fork_success_<Handler> on_fork_success(Handler handler) +{ + return on_fork_success_<Handler>(handler); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/run_exe.hpp b/dep/process/boost/process/posix/initializers/run_exe.hpp new file mode 100644 index 00000000000..6cceeea8c15 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/run_exe.hpp @@ -0,0 +1,59 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_RUN_EXE_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_RUN_EXE_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/filesystem.hpp> +#include <boost/shared_array.hpp> +#include <string> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class run_exe_ : public initializer_base +{ +public: + explicit run_exe_(const std::string &s) : s_(s), cmd_line_(new char*[2]) + { + cmd_line_[0] = const_cast<char*>(s_.c_str()); + cmd_line_[1] = 0; + } + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor &e) const + { + e.exe = s_.c_str(); + if (!e.cmd_line) + e.cmd_line = cmd_line_.get(); + } + +private: + std::string s_; + boost::shared_array<char*> cmd_line_; +}; + +inline run_exe_ run_exe(const char *s) +{ + return run_exe_(s); +} + +inline run_exe_ run_exe(const std::string &s) +{ + return run_exe_(s); +} + +inline run_exe_ run_exe(const boost::filesystem::path &p) +{ + return run_exe_(p.string()); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/set_args.hpp b/dep/process/boost/process/posix/initializers/set_args.hpp new file mode 100644 index 00000000000..294926dc222 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/set_args.hpp @@ -0,0 +1,57 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_SET_ARGS_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_SET_ARGS_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/range/algorithm/transform.hpp> +#include <boost/shared_array.hpp> +#include <string> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Range> +class set_args_ : public initializer_base +{ +private: + static char *c_str(const std::string &s) + { + return const_cast<char*>(s.c_str()); + } + +public: + explicit set_args_(const Range &args) + { + args_.reset(new char*[args.size() + 1]); + boost::transform(args, args_.get(), c_str); + args_[args.size()] = 0; + } + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor &e) const + { + e.cmd_line = args_.get(); + if (!e.exe && *args_[0]) + e.exe = args_[0]; + } + +private: + boost::shared_array<char*> args_; +}; + +template <class Range> +set_args_<Range> set_args(const Range &range) +{ + return set_args_<Range>(range); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/set_cmd_line.hpp b/dep/process/boost/process/posix/initializers/set_cmd_line.hpp new file mode 100644 index 00000000000..0f59d253594 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/set_cmd_line.hpp @@ -0,0 +1,54 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_SET_CMD_LINE_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_SET_CMD_LINE_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/tokenizer.hpp> +#include <boost/shared_array.hpp> +#include <string> +#include <vector> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class set_cmd_line : public initializer_base +{ +private: + static char *c_str(const std::string &s) + { + return const_cast<char*>(s.c_str()); + } + +public: + explicit set_cmd_line(const std::string &s) + { + typedef boost::tokenizer<boost::escaped_list_separator<char> > tokenizer; + boost::escaped_list_separator<char> sep('\\', ' ', '\"'); + tokenizer tok(s, sep); + args_.assign(tok.begin(), tok.end()); + cmd_line_.reset(new char*[args_.size() + 1]); + boost::transform(args_, cmd_line_.get(), c_str); + cmd_line_[args_.size()] = 0; + } + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor &e) const + { + e.cmd_line = cmd_line_.get(); + } + +private: + std::vector<std::string> args_; + boost::shared_array<char*> cmd_line_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/set_env.hpp b/dep/process/boost/process/posix/initializers/set_env.hpp new file mode 100644 index 00000000000..76649184f34 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/set_env.hpp @@ -0,0 +1,54 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_SET_ENV_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_SET_ENV_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/range/algorithm/transform.hpp> +#include <boost/shared_array.hpp> +#include <string> + +namespace boost { namespace process { namespace posix { namespace initializers { + +template <class Range> +class set_env_ : public initializer_base +{ +private: + static char *get_ptr(const std::string &s) + { + return const_cast<char*>(s.c_str()); + } + +public: + explicit set_env_(const Range &envs) : env_(new char*[envs.size() + 1]) + { + boost::transform(envs, env_.get(), get_ptr); + env_[envs.size()] = 0; + } + + template <class PosixExecutor> + void on_fork_setup(PosixExecutor &e) const + { + e.env = env_.get(); + } + +private: + boost::shared_array<char*> env_; +}; + +template <class Range> +set_env_<Range> set_env(const Range &envs) +{ + return set_env_<Range>(envs); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/set_on_error.hpp b/dep/process/boost/process/posix/initializers/set_on_error.hpp new file mode 100644 index 00000000000..c01a816e603 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/set_on_error.hpp @@ -0,0 +1,95 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_SET_ON_ERROR_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_SET_ON_ERROR_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/system/error_code.hpp> +#include <unistd.h> +#include <fcntl.h> +#include <errno.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class set_on_error : public initializer_base +{ +public: + explicit set_on_error(boost::system::error_code &ec) : ec_(ec) {} + + template <class PosixExecutor> + void on_fork_setup(PosixExecutor&) const + { + if (::pipe(fds_) == -1) + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec_); + if (::fcntl(fds_[1], F_SETFD, FD_CLOEXEC) == -1) + { + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec_); + ::close(fds_[0]); + ::close(fds_[1]); + } + } + + template <class PosixExecutor> + void on_fork_error(PosixExecutor&) const + { + if (!ec_) + { + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec_); + ::close(fds_[0]); + ::close(fds_[1]); + } + } + + template <class PosixExecutor> + void on_fork_success(PosixExecutor&) const + { + if (!ec_) + { + ::close(fds_[1]); + int code; + if (::read(fds_[0], &code, sizeof(int)) > 0) + { + ec_ = boost::system::error_code(code, + boost::system::system_category()); + } + ::close(fds_[0]); + } + } + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + if (!ec_) + { + ::close(fds_[0]); + } + } + + template <class PosixExecutor> + void on_exec_error(PosixExecutor&) const + { + if (!ec_) + { + int e = errno; + while (::write(fds_[1], &e, sizeof(int)) == -1 && errno == EINTR) + ; + ::close(fds_[1]); + } + } + +private: + boost::system::error_code &ec_; + mutable int fds_[2]; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/start_in_dir.hpp b/dep/process/boost/process/posix/initializers/start_in_dir.hpp new file mode 100644 index 00000000000..187b5a31f44 --- /dev/null +++ b/dep/process/boost/process/posix/initializers/start_in_dir.hpp @@ -0,0 +1,36 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_START_IN_DIR_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_START_IN_DIR_HPP + +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <string> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class start_in_dir : public initializer_base +{ +public: + explicit start_in_dir(const std::string &s) : s_(s) {} + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::chdir(s_.c_str()); + } + +private: + std::string s_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/initializers/throw_on_error.hpp b/dep/process/boost/process/posix/initializers/throw_on_error.hpp new file mode 100644 index 00000000000..7734c19e30b --- /dev/null +++ b/dep/process/boost/process/posix/initializers/throw_on_error.hpp @@ -0,0 +1,90 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_INITIALIZERS_THROW_ON_ERROR_HPP +#define BOOST_PROCESS_POSIX_INITIALIZERS_THROW_ON_ERROR_HPP + +#include <boost/process/config.hpp> +#include <boost/process/posix/initializers/initializer_base.hpp> +#include <boost/system/error_code.hpp> +#include <boost/system/system_error.hpp> +#include <unistd.h> +#include <fcntl.h> +#include <errno.h> + +namespace boost { namespace process { namespace posix { namespace initializers { + +class throw_on_error : public initializer_base +{ +public: + template <class PosixExecutor> + void on_fork_setup(PosixExecutor&) const + { + if (::pipe(fds_) == -1) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("pipe(2) failed"); + if (::fcntl(fds_[1], F_SETFD, FD_CLOEXEC) == -1) + { + int e = errno; + ::close(fds_[0]); + ::close(fds_[1]); + BOOST_PROCESS_THROW(boost::system::system_error( + boost::system::error_code(e, boost::system::system_category()), + BOOST_PROCESS_SOURCE_LOCATION "fcntl(2) failed")); + } + } + + template <class PosixExecutor> + void on_fork_error(PosixExecutor&) const + { + int e = errno; + ::close(fds_[0]); + ::close(fds_[1]); + BOOST_PROCESS_THROW(boost::system::system_error( + boost::system::error_code(e, boost::system::system_category()), + BOOST_PROCESS_SOURCE_LOCATION "fork(2) failed")); + } + + template <class PosixExecutor> + void on_fork_success(PosixExecutor&) const + { + ::close(fds_[1]); + int code; + if (::read(fds_[0], &code, sizeof(int)) > 0) + { + ::close(fds_[0]); + BOOST_PROCESS_THROW(boost::system::system_error( + boost::system::error_code(code, + boost::system::system_category()), + BOOST_PROCESS_SOURCE_LOCATION "execve(2) failed")); + } + ::close(fds_[0]); + } + + template <class PosixExecutor> + void on_exec_setup(PosixExecutor&) const + { + ::close(fds_[0]); + } + + template <class PosixExecutor> + void on_exec_error(PosixExecutor&) const + { + int e = errno; + while (::write(fds_[1], &e, sizeof(int)) == -1 && errno == EINTR) + ; + ::close(fds_[1]); + } + +private: + mutable int fds_[2]; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/posix/pipe.hpp b/dep/process/boost/process/posix/pipe.hpp new file mode 100644 index 00000000000..ca5b29447ab --- /dev/null +++ b/dep/process/boost/process/posix/pipe.hpp @@ -0,0 +1,30 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_PIPE_HPP +#define BOOST_PROCESS_POSIX_PIPE_HPP + +namespace boost { namespace process { namespace posix { + +struct pipe +{ + int source; + int sink; + + pipe(int source, int sink) : source(source), sink(sink) {} +}; + +inline pipe make_pipe(int source, int sink) +{ + return pipe(source, sink); +} + +}}} + +#endif diff --git a/dep/process/boost/process/posix/search_path.hpp b/dep/process/boost/process/posix/search_path.hpp new file mode 100644 index 00000000000..6dc2bea063d --- /dev/null +++ b/dep/process/boost/process/posix/search_path.hpp @@ -0,0 +1,53 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_SEARCH_PATH_HPP +#define BOOST_PROCESS_POSIX_SEARCH_PATH_HPP + +#include <boost/process/config.hpp> +#include <boost/filesystem.hpp> +#include <boost/tokenizer.hpp> +#include <string> +#include <stdexcept> +#include <stdlib.h> +#include <unistd.h> + +namespace boost { namespace process { namespace posix { + +inline std::string search_path(const std::string &filename, + std::string path = "") +{ + if (path.empty()) + { + path = ::getenv("PATH"); + if (path.empty()) + BOOST_PROCESS_THROW(std::runtime_error( + "Environment variable PATH not found")); + } + + std::string result; + typedef boost::tokenizer<boost::char_separator<char> > tokenizer; + boost::char_separator<char> sep(":"); + tokenizer tok(path, sep); + for (tokenizer::iterator it = tok.begin(); it != tok.end(); ++it) + { + boost::filesystem::path p = *it; + p /= filename; + if (!::access(p.c_str(), X_OK)) + { + result = p.string(); + break; + } + } + return result; +} + +}}} + +#endif diff --git a/dep/process/boost/process/posix/shell_path.hpp b/dep/process/boost/process/posix/shell_path.hpp new file mode 100644 index 00000000000..3e21e757591 --- /dev/null +++ b/dep/process/boost/process/posix/shell_path.hpp @@ -0,0 +1,32 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_SHELL_PATH_HPP +#define BOOST_PROCESS_POSIX_SHELL_PATH_HPP + +#include <boost/process/config.hpp> +#include <boost/system/error_code.hpp> +#include <boost/filesystem/path.hpp> + +namespace boost { namespace process { namespace posix { + +inline boost::filesystem::path shell_path() +{ + return "/bin/sh"; +} + +inline boost::filesystem::path shell_path(boost::system::error_code &ec) +{ + ec.clear(); + return "/bin/sh"; +} + +}}} + +#endif diff --git a/dep/process/boost/process/posix/terminate.hpp b/dep/process/boost/process/posix/terminate.hpp new file mode 100644 index 00000000000..9be087df253 --- /dev/null +++ b/dep/process/boost/process/posix/terminate.hpp @@ -0,0 +1,37 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_TERMINATE_HPP +#define BOOST_PROCESS_POSIX_TERMINATE_HPP + +#include <boost/process/config.hpp> +#include <boost/system/error_code.hpp> +#include <signal.h> + +namespace boost { namespace process { namespace posix { + +template <class Process> +void terminate(const Process &p) +{ + if (::kill(p.pid, SIGKILL) == -1) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("kill(2) failed"); +} + +template <class Process> +void terminate(const Process &p, boost::system::error_code &ec) +{ + if (::kill(p.pid, SIGKILL) == -1) + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec); + else + ec.clear(); +} + +}}} + +#endif diff --git a/dep/process/boost/process/posix/wait_for_exit.hpp b/dep/process/boost/process/posix/wait_for_exit.hpp new file mode 100644 index 00000000000..d2b946c262a --- /dev/null +++ b/dep/process/boost/process/posix/wait_for_exit.hpp @@ -0,0 +1,52 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_POSIX_WAIT_FOR_EXIT_HPP +#define BOOST_PROCESS_POSIX_WAIT_FOR_EXIT_HPP + +#include <boost/process/config.hpp> +#include <boost/system/error_code.hpp> +#include <sys/types.h> +#include <sys/wait.h> + +namespace boost { namespace process { namespace posix { + +template <class Process> +inline int wait_for_exit(const Process &p) +{ + pid_t ret; + int status; + do + { + ret = ::waitpid(p.pid, &status, 0); + } while ((ret == -1 && errno == EINTR) || (ret != -1 && !WIFEXITED(status))); + if (ret == -1) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("waitpid(2) failed"); + return status; +} + +template <class Process> +inline int wait_for_exit(const Process &p, boost::system::error_code &ec) +{ + pid_t ret; + int status; + do + { + ret = ::waitpid(p.pid, &status, 0); + } while ((ret == -1 && errno == EINTR) || (ret != -1 && !WIFEXITED(status))); + if (ret == -1) + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec); + else + ec.clear(); + return status; +} + +}}} + +#endif diff --git a/dep/process/boost/process/search_path.hpp b/dep/process/boost/process/search_path.hpp new file mode 100644 index 00000000000..20bff060b62 --- /dev/null +++ b/dep/process/boost/process/search_path.hpp @@ -0,0 +1,51 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/search_path.hpp + * + * Defines a function to search for an executable in path. + */ + +#ifndef BOOST_PROCESS_SEARCH_PATH_HPP +#define BOOST_PROCESS_SEARCH_PATH_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(search_path) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(search_path) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Searches for an executable in path. + * + * filename must be a basename including the file extension. + * It must not include any directory separators (like a slash). + * On Windows the file extension may be omitted. The function + * will then try the various file extensions for executables on + * Windows to find filename. + * + * path must be a set of directories. Directories must be + * separated by colons on POSIX and by semicolons on Windows. + * If path is empty, the environment variable PATH is used. + * + * \returns the absolute path to the executable filename or an + * empty string if filename isn't found + * + * \throws std::runtime_error if path is empty and no environment + * variable PATH exists + */ +string_type search_path(const string_type &filename, string_type path = ""); + +}} +#endif + +#endif diff --git a/dep/process/boost/process/shell_path.hpp b/dep/process/boost/process/shell_path.hpp new file mode 100644 index 00000000000..92e9f0814b0 --- /dev/null +++ b/dep/process/boost/process/shell_path.hpp @@ -0,0 +1,46 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/shell_path.hpp + * + * Defines a function to return the absolute path to a shell executable. + */ + +#ifndef BOOST_PROCESS_SHELL_PATH_HPP +#define BOOST_PROCESS_SHELL_PATH_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(shell_path) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(shell_path) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Returns the absolute path to a shell executable. + * + * \returns the path to cmd.exe on Windows and /bin/sh on POSIX. + * + * \throws boost::system::system_error in case of an error + */ +boost::filesystem::path shell_path(); + +/** + * Returns the absolute path to a shell executable. + * + * \returns the path to cmd.exe on Windows and /bin/sh on POSIX. + */ +boost::filesystem::path shell_path(boost::system::error_code &ec); + +}} +#endif + +#endif diff --git a/dep/process/boost/process/terminate.hpp b/dep/process/boost/process/terminate.hpp new file mode 100644 index 00000000000..140eba7e8dd --- /dev/null +++ b/dep/process/boost/process/terminate.hpp @@ -0,0 +1,52 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/terminate.hpp + * + * Defines a function to terminate a process. + */ + +#ifndef BOOST_PROCESS_TERMINATE_HPP +#define BOOST_PROCESS_TERMINATE_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(terminate) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(terminate) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Terminates a process. + * + * \warning Call this function only as a last resort. The process + * is terminated immediately and forcefully and has no + * chance to close or clean up resources properly. + * + * \throws boost::system::system_error in case of an error + */ +template <class Process> +void terminate(const Process &p); + +/** + * Terminates a process. + * + * \warning Call this function only as a last resort. The process + * is terminated immediately and forcefully and has no + * chance to close or clean up resources properly. + */ +template <class Process> +void terminate(const Process &p, boost::system::error_code &ec); + +}} +#endif + +#endif diff --git a/dep/process/boost/process/wait_for_exit.hpp b/dep/process/boost/process/wait_for_exit.hpp new file mode 100644 index 00000000000..d9b118695d7 --- /dev/null +++ b/dep/process/boost/process/wait_for_exit.hpp @@ -0,0 +1,58 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +/** + * \file boost/process/wait_for_exit.hpp + * + * Defines a function to wait for a process to exit. + */ + +#ifndef BOOST_PROCESS_WAIT_FOR_EXIT_HPP +#define BOOST_PROCESS_WAIT_FOR_EXIT_HPP + +#include <boost/process/config.hpp> + +#include BOOST_PROCESS_PLATFORM_PROMOTE_PATH(wait_for_exit) +BOOST_PROCESS_PLATFORM_PROMOTE_NAMESPACE(wait_for_exit) + +#if defined(BOOST_PROCESS_DOXYGEN) +namespace boost { namespace process { + +/** + * Waits for a process to exit. + * + * On Window boost::process::wait_for_exit returns the exit code + * of the process. On POSIX the exit status is returned. You must + * use the macro \c WEXITSTATUS (defined in sys/wait.h) to fetch + * the exit code from the exit status. + * + * \note This is a blocking function. + * + * \throws boost::system::system_error in case of an error + */ +template <class Process> +int_type wait_for_exit(const Process &p); + +/** + * Waits for a process to exit. + * + * On Window boost::process::wait_for_exit returns the exit code + * of the process. On POSIX the exit status is returned. You must + * use the macro \c WEXITSTATUS (defined in sys/wait.h) to fetch + * the exit code from the exit status. + * + * \note This is a blocking function. + */ +template <class Process> +int_type wait_for_exit(const Process &p, boost::system::error_code &ec); + +}} +#endif + +#endif diff --git a/dep/process/boost/process/windows/child.hpp b/dep/process/boost/process/windows/child.hpp new file mode 100644 index 00000000000..083cd29da0e --- /dev/null +++ b/dep/process/boost/process/windows/child.hpp @@ -0,0 +1,55 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_CHILD_HPP +#define BOOST_PROCESS_WINDOWS_CHILD_HPP + +#include <boost/move/move.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { + +class child +{ +public: + PROCESS_INFORMATION proc_info; + + explicit child(const PROCESS_INFORMATION &pi) : proc_info(pi) {} + + ~child() + { + ::CloseHandle(proc_info.hProcess); + ::CloseHandle(proc_info.hThread); + } + + child(BOOST_RV_REF(child) c) : proc_info(c.proc_info) + { + c.proc_info.hProcess = INVALID_HANDLE_VALUE; + c.proc_info.hThread = INVALID_HANDLE_VALUE; + } + + child &operator=(BOOST_RV_REF(child) c) + { + ::CloseHandle(proc_info.hProcess); + ::CloseHandle(proc_info.hThread); + proc_info = c.proc_info; + c.proc_info.hProcess = INVALID_HANDLE_VALUE; + c.proc_info.hThread = INVALID_HANDLE_VALUE; + return *this; + } + + HANDLE process_handle() const { return proc_info.hProcess; } + +private: + BOOST_MOVABLE_BUT_NOT_COPYABLE(child); +}; + +}}} + +#endif diff --git a/dep/process/boost/process/windows/create_pipe.hpp b/dep/process/boost/process/windows/create_pipe.hpp new file mode 100644 index 00000000000..fe1e49751d8 --- /dev/null +++ b/dep/process/boost/process/windows/create_pipe.hpp @@ -0,0 +1,40 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_CREATE_PIPE_HPP +#define BOOST_PROCESS_WINDOWS_CREATE_PIPE_HPP + +#include <boost/process/config.hpp> +#include <boost/process/windows/pipe.hpp> +#include <boost/system/error_code.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { + +inline pipe create_pipe() +{ + HANDLE handles[2]; + if (!::CreatePipe(&handles[0], &handles[1], NULL, 0)) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("CreatePipe() failed"); + return make_pipe(handles[0], handles[1]); +} + +inline pipe create_pipe(boost::system::error_code &ec) +{ + HANDLE handles[2]; + if (!::CreatePipe(&handles[0], &handles[1], NULL, 0)) + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec); + else + ec.clear(); + return make_pipe(handles[0], handles[1]); +} + +}}} + +#endif diff --git a/dep/process/boost/process/windows/execute.hpp b/dep/process/boost/process/windows/execute.hpp new file mode 100644 index 00000000000..43067521ead --- /dev/null +++ b/dep/process/boost/process/windows/execute.hpp @@ -0,0 +1,82 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_EXECUTE_HPP +#define BOOST_PROCESS_WINDOWS_EXECUTE_HPP + +#include <boost/process/windows/executor.hpp> +#include <boost/process/windows/child.hpp> +#include <boost/fusion/tuple/make_tuple.hpp> +#include <boost/ref.hpp> + +namespace boost { namespace process { namespace windows { + +template <class I0> +child execute(const I0 &i0) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0))); +} + +template <class I0, class I1> +child execute(const I0 &i0, const I1 &i1) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1))); +} + +template <class I0, class I1, class I2> +child execute(const I0 &i0, const I1 &i1, const I2 &i2) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2))); +} + +template <class I0, class I1, class I2, class I3> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3))); +} + +template <class I0, class I1, class I2, class I3, class I4> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5, class I6> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7, class I8> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7, const I8 &i8) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7), boost::cref(i8))); +} + +template <class I0, class I1, class I2, class I3, class I4, class I5, class I6, class I7, class I8, class I9> +child execute(const I0 &i0, const I1 &i1, const I2 &i2, const I3 &i3, const I4 &i4, const I5 &i5, const I6 &i6, const I7 &i7, const I8 &i8, const I9 &i9) +{ + return executor()(boost::fusion::make_tuple(boost::cref(i0), boost::cref(i1), boost::cref(i2), boost::cref(i3), boost::cref(i4), boost::cref(i5), boost::cref(i6), boost::cref(i7), boost::cref(i8), boost::cref(i9))); +} + +}}} + +#endif diff --git a/dep/process/boost/process/windows/executor.hpp b/dep/process/boost/process/windows/executor.hpp new file mode 100644 index 00000000000..1560f30793d --- /dev/null +++ b/dep/process/boost/process/windows/executor.hpp @@ -0,0 +1,130 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_EXECUTOR_HPP +#define BOOST_PROCESS_WINDOWS_EXECUTOR_HPP + +#include <boost/process/windows/child.hpp> +#include <boost/fusion/algorithm/iteration/for_each.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { + +struct executor +{ + executor() : exe(0), cmd_line(0), proc_attrs(0), thread_attrs(0), + inherit_handles(FALSE), +#if (_WIN32_WINNT >= 0x0600) + creation_flags(EXTENDED_STARTUPINFO_PRESENT), +#else + creation_flags(0), +#endif + env(0), work_dir(0) +#if (_WIN32_WINNT >= 0x0600) + ,startup_info(startup_info_ex.StartupInfo) +#endif + { +#if (_WIN32_WINNT >= 0x0600) + ZeroMemory(&startup_info_ex, sizeof(STARTUPINFOEX)); + startup_info.cb = sizeof(STARTUPINFOEX); +#else + ZeroMemory(&startup_info, sizeof(STARTUPINFO)); + startup_info.cb = sizeof(STARTUPINFO); +#endif + startup_info.hStdInput = INVALID_HANDLE_VALUE; + startup_info.hStdOutput = INVALID_HANDLE_VALUE; + startup_info.hStdError = INVALID_HANDLE_VALUE; + } + + struct call_on_CreateProcess_setup + { + executor &e_; + + call_on_CreateProcess_setup(executor &e) : e_(e) {} + + template <class Arg> + void operator()(Arg &arg) const + { + arg.on_CreateProcess_setup(e_); + } + }; + + struct call_on_CreateProcess_error + { + executor &e_; + + call_on_CreateProcess_error(executor &e) : e_(e) {} + + template <class Arg> + void operator()(Arg &arg) const + { + arg.on_CreateProcess_error(e_); + } + }; + + struct call_on_CreateProcess_success + { + executor &e_; + + call_on_CreateProcess_success(executor &e) : e_(e) {} + + template <class Arg> + void operator()(Arg &arg) const + { + arg.on_CreateProcess_success(e_); + } + }; + + template <class InitializerSequence> + child operator()(const InitializerSequence &seq) + { + boost::fusion::for_each(seq, call_on_CreateProcess_setup(*this)); + + if (!::CreateProcess( + exe, + cmd_line, + proc_attrs, + thread_attrs, + inherit_handles, + creation_flags, + env, + work_dir, + &startup_info, + &proc_info)) + { + boost::fusion::for_each(seq, call_on_CreateProcess_error(*this)); + } + else + { + boost::fusion::for_each(seq, call_on_CreateProcess_success(*this)); + } + + return child(proc_info); + } + + LPCTSTR exe; + LPTSTR cmd_line; + LPSECURITY_ATTRIBUTES proc_attrs; + LPSECURITY_ATTRIBUTES thread_attrs; + BOOL inherit_handles; + DWORD creation_flags; + LPVOID env; + LPCTSTR work_dir; +#if (_WIN32_WINNT >= 0x0600) + STARTUPINFOEX startup_info_ex; + STARTUPINFO &startup_info; +#else + STARTUPINFO startup_info; +#endif + PROCESS_INFORMATION proc_info; +}; + +}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers.hpp b/dep/process/boost/process/windows/initializers.hpp new file mode 100644 index 00000000000..2d7098c034c --- /dev/null +++ b/dep/process/boost/process/windows/initializers.hpp @@ -0,0 +1,33 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_HPP + +#include <boost/process/windows/initializers/bind_stderr.hpp> +#include <boost/process/windows/initializers/bind_stdin.hpp> +#include <boost/process/windows/initializers/bind_stdout.hpp> +#include <boost/process/windows/initializers/close_stderr.hpp> +#include <boost/process/windows/initializers/close_stdin.hpp> +#include <boost/process/windows/initializers/close_stdout.hpp> +#include <boost/process/windows/initializers/hide_console.hpp> +#include <boost/process/windows/initializers/inherit_env.hpp> +#include <boost/process/windows/initializers/on_CreateProcess_error.hpp> +#include <boost/process/windows/initializers/on_CreateProcess_setup.hpp> +#include <boost/process/windows/initializers/on_CreateProcess_success.hpp> +#include <boost/process/windows/initializers/run_exe.hpp> +#include <boost/process/windows/initializers/set_args.hpp> +#include <boost/process/windows/initializers/set_cmd_line.hpp> +#include <boost/process/windows/initializers/set_env.hpp> +#include <boost/process/windows/initializers/set_on_error.hpp> +#include <boost/process/windows/initializers/show_window.hpp> +#include <boost/process/windows/initializers/start_in_dir.hpp> +#include <boost/process/windows/initializers/throw_on_error.hpp> + +#endif diff --git a/dep/process/boost/process/windows/initializers/bind_stderr.hpp b/dep/process/boost/process/windows/initializers/bind_stderr.hpp new file mode 100644 index 00000000000..de3ee30dc53 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/bind_stderr.hpp @@ -0,0 +1,39 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_BIND_STDERR_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_BIND_STDERR_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/iostreams/device/file_descriptor.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class bind_stderr : public initializer_base +{ +public: + explicit bind_stderr(const boost::iostreams::file_descriptor_sink &sink) : sink_(sink) {} + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + ::SetHandleInformation(sink_.handle(), HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT); + e.startup_info.hStdError = sink_.handle(); + e.startup_info.dwFlags |= STARTF_USESTDHANDLES; + e.inherit_handles = true; + } + +private: + boost::iostreams::file_descriptor_sink sink_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/bind_stdin.hpp b/dep/process/boost/process/windows/initializers/bind_stdin.hpp new file mode 100644 index 00000000000..54c942ab639 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/bind_stdin.hpp @@ -0,0 +1,39 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_BIND_STDIN_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_BIND_STDIN_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/iostreams/device/file_descriptor.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class bind_stdin : public initializer_base +{ +public: + explicit bind_stdin(const boost::iostreams::file_descriptor_source &source) : source_(source) {} + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + ::SetHandleInformation(source_.handle(), HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT); + e.startup_info.hStdInput = source_.handle(); + e.startup_info.dwFlags |= STARTF_USESTDHANDLES; + e.inherit_handles = true; + } + +private: + boost::iostreams::file_descriptor_source source_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/bind_stdout.hpp b/dep/process/boost/process/windows/initializers/bind_stdout.hpp new file mode 100644 index 00000000000..c72c05f1bfb --- /dev/null +++ b/dep/process/boost/process/windows/initializers/bind_stdout.hpp @@ -0,0 +1,39 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_BIND_STDOUT_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_BIND_STDOUT_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/iostreams/device/file_descriptor.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class bind_stdout : public initializer_base +{ +public: + explicit bind_stdout(const boost::iostreams::file_descriptor_sink &sink) : sink_(sink) {} + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + ::SetHandleInformation(sink_.handle(), HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT); + e.startup_info.hStdOutput = sink_.handle(); + e.startup_info.dwFlags |= STARTF_USESTDHANDLES; + e.inherit_handles = true; + } + +private: + boost::iostreams::file_descriptor_sink sink_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/close_stderr.hpp b/dep/process/boost/process/windows/initializers/close_stderr.hpp new file mode 100644 index 00000000000..373c097f3ab --- /dev/null +++ b/dep/process/boost/process/windows/initializers/close_stderr.hpp @@ -0,0 +1,31 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_STDERR_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_STDERR_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class close_stderr : public initializer_base +{ +public: + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.startup_info.hStdError = INVALID_HANDLE_VALUE; + e.startup_info.dwFlags |= STARTF_USESTDHANDLES; + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/close_stdin.hpp b/dep/process/boost/process/windows/initializers/close_stdin.hpp new file mode 100644 index 00000000000..036b0bb4ce9 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/close_stdin.hpp @@ -0,0 +1,31 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_STDIN_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_STDIN_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class close_stdin : public initializer_base +{ +public: + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.startup_info.hStdInput = INVALID_HANDLE_VALUE; + e.startup_info.dwFlags |= STARTF_USESTDHANDLES; + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/close_stdout.hpp b/dep/process/boost/process/windows/initializers/close_stdout.hpp new file mode 100644 index 00000000000..b58a6000f9c --- /dev/null +++ b/dep/process/boost/process/windows/initializers/close_stdout.hpp @@ -0,0 +1,31 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_STDOUT_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_CLOSE_STDOUT_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class close_stdout : public initializer_base +{ +public: + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.startup_info.hStdOutput = INVALID_HANDLE_VALUE; + e.startup_info.dwFlags |= STARTF_USESTDHANDLES; + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/hide_console.hpp b/dep/process/boost/process/windows/initializers/hide_console.hpp new file mode 100644 index 00000000000..b01aa026f0e --- /dev/null +++ b/dep/process/boost/process/windows/initializers/hide_console.hpp @@ -0,0 +1,31 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_HIDE_CONSOLE_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_HIDE_CONSOLE_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class hide_console : public initializer_base +{ +public: + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.startup_info.dwFlags |= STARTF_USESHOWWINDOW; + e.startup_info.wShowWindow |= SW_HIDE; + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/inherit_env.hpp b/dep/process/boost/process/windows/initializers/inherit_env.hpp new file mode 100644 index 00000000000..a2b2eda00a3 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/inherit_env.hpp @@ -0,0 +1,24 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_INHERIT_ENV_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_INHERIT_ENV_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class inherit_env : public initializer_base +{ +public: +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/initializer_base.hpp b/dep/process/boost/process/windows/initializers/initializer_base.hpp new file mode 100644 index 00000000000..b98da7b21b9 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/initializer_base.hpp @@ -0,0 +1,29 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_INITIALIZER_BASE_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_INITIALIZER_BASE_HPP + +namespace boost { namespace process { namespace windows { namespace initializers { + +struct initializer_base +{ + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor&) const {} + + template <class WindowsExecutor> + void on_CreateProcess_error(WindowsExecutor&) const {} + + template <class WindowsExecutor> + void on_CreateProcess_success(WindowsExecutor&) const {} +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/on_CreateProcess_error.hpp b/dep/process/boost/process/windows/initializers/on_CreateProcess_error.hpp new file mode 100644 index 00000000000..71eeada0720 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/on_CreateProcess_error.hpp @@ -0,0 +1,42 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_ON_CREATEPROCESS_ERROR_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_ON_CREATEPROCESS_ERROR_HPP + +#include <boost/process/config.hpp> +#include <boost/process/windows/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace windows { namespace initializers { + +template <class Handler> +class on_CreateProcess_error_ : public initializer_base +{ +public: + explicit on_CreateProcess_error_(Handler handler) : handler_(handler) {} + + template <class WindowsExecutor> + void on_CreateProcess_error(WindowsExecutor &e) const + { + handler_(e); + } + +private: + Handler handler_; +}; + +template <class Handler> +on_CreateProcess_error_<Handler> on_CreateProcess_error(Handler handler) +{ + return on_CreateProcess_error_<Handler>(handler); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/on_CreateProcess_setup.hpp b/dep/process/boost/process/windows/initializers/on_CreateProcess_setup.hpp new file mode 100644 index 00000000000..671fc9ac5c2 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/on_CreateProcess_setup.hpp @@ -0,0 +1,42 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_ON_CREATEPROCESS_SETUP_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_ON_CREATEPROCESS_SETUP_HPP + +#include <boost/process/config.hpp> +#include <boost/process/windows/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace windows { namespace initializers { + +template <class Handler> +class on_CreateProcess_setup_ : public initializer_base +{ +public: + explicit on_CreateProcess_setup_(Handler handler) : handler_(handler) {} + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + handler_(e); + } + +private: + Handler handler_; +}; + +template <class Handler> +on_CreateProcess_setup_<Handler> on_CreateProcess_setup(Handler handler) +{ + return on_CreateProcess_setup_<Handler>(handler); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/on_CreateProcess_success.hpp b/dep/process/boost/process/windows/initializers/on_CreateProcess_success.hpp new file mode 100644 index 00000000000..67b3b2bdcf7 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/on_CreateProcess_success.hpp @@ -0,0 +1,42 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_ON_CREATEPROCESS_SUCCESS_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_ON_CREATEPROCESS_SUCCESS_HPP + +#include <boost/process/config.hpp> +#include <boost/process/windows/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace windows { namespace initializers { + +template <class Handler> +class on_CreateProcess_success_ : public initializer_base +{ +public: + explicit on_CreateProcess_success_(Handler handler) : handler_(handler) {} + + template <class WindowsExecutor> + void on_CreateProcess_sucess(WindowsExecutor &e) const + { + handler_(e); + } + +private: + Handler handler_; +}; + +template <class Handler> +on_CreateProcess_success_<Handler> on_CreateProcess_success(Handler handler) +{ + return on_CreateProcess_success_<Handler>(handler); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/run_exe.hpp b/dep/process/boost/process/windows/initializers/run_exe.hpp new file mode 100644 index 00000000000..bfa2b790b17 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/run_exe.hpp @@ -0,0 +1,69 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_RUN_EXE_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_RUN_EXE_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/filesystem.hpp> +#include <string> + +namespace boost { namespace process { namespace windows { namespace initializers { + +template <class String> +class run_exe_ : public initializer_base +{ +public: + explicit run_exe_(const String &s) : s_(s) {} + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.exe = s_.c_str(); + } + +private: + String s_; +}; + +#if defined(_UNICODE) || defined(UNICODE) +inline run_exe_<std::wstring> run_exe(const wchar_t *ws) +{ + return run_exe_<std::wstring>(ws); +} + +inline run_exe_<std::wstring> run_exe(const std::wstring &ws) +{ + return run_exe_<std::wstring>(ws); +} + +inline run_exe_<std::wstring> run_exe(const boost::filesystem::path &p) +{ + return run_exe_<std::wstring>(p.wstring()); +} +#else +inline run_exe_<std::string> run_exe(const char *s) +{ + return run_exe_<std::string>(s); +} + +inline run_exe_<std::string> run_exe(const std::string &s) +{ + return run_exe_<std::string>(s); +} + +inline run_exe_<std::string> run_exe(const boost::filesystem::path &p) +{ + return run_exe_<std::string>(p.string()); +} +#endif + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/set_args.hpp b/dep/process/boost/process/windows/initializers/set_args.hpp new file mode 100644 index 00000000000..4b3c5b6249e --- /dev/null +++ b/dep/process/boost/process/windows/initializers/set_args.hpp @@ -0,0 +1,87 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_SET_ARGS_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_SET_ARGS_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/range/begin.hpp> +#include <boost/range/end.hpp> +#include <boost/range/algorithm/copy.hpp> +#include <boost/algorithm/string/predicate.hpp> +#include <boost/shared_array.hpp> +#include <sstream> + +namespace boost { namespace process { namespace windows { namespace initializers { + +template <class Range> +class set_args_ : public initializer_base +{ +private: + typedef typename Range::const_iterator ConstIterator; + typedef typename Range::value_type String; + typedef typename String::value_type Char; + typedef std::basic_ostringstream<Char> OStringStream; + +public: + explicit set_args_(const Range &args) + { + ConstIterator it = boost::const_begin(args); + ConstIterator end = boost::const_end(args); + if (it != end) + { + exe_ = *it; + OStringStream os; + for (; it != end; ++it) + { + if (boost::algorithm::contains(*it, + String(1, static_cast<Char>(' ')))) + { + os << static_cast<Char>('"') << *it << + static_cast<Char>('"'); + } + else + { + os << *it; + } + os << static_cast<Char>(' '); + } + String s = os.str(); + cmd_line_.reset(new Char[s.size() + 1]); + boost::copy(s, cmd_line_.get()); + cmd_line_[s.size()] = 0; + } + else + { + cmd_line_.reset(new Char[1]()); + } + } + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.cmd_line = cmd_line_.get(); + if (!e.exe && !exe_.empty()) + e.exe = exe_.c_str(); + } + +private: + boost::shared_array<Char> cmd_line_; + String exe_; +}; + +template <class Range> +set_args_<Range> set_args(const Range &range) +{ + return set_args_<Range>(range); +} + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/set_cmd_line.hpp b/dep/process/boost/process/windows/initializers/set_cmd_line.hpp new file mode 100644 index 00000000000..a3d9f6f7615 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/set_cmd_line.hpp @@ -0,0 +1,68 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_SET_CMD_LINE_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_SET_CMD_LINE_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/range/algorithm/copy.hpp> +#include <boost/shared_array.hpp> +#include <memory> + +namespace boost { namespace process { namespace windows { namespace initializers { + +template <class String> +class set_cmd_line_ : public initializer_base +{ +private: + typedef typename String::value_type Char; + +public: + explicit set_cmd_line_(const String &s) + : cmd_line_(new Char[s.size() + 1]) + { + boost::copy(s, cmd_line_.get()); + cmd_line_[s.size()] = 0; + } + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.cmd_line = cmd_line_.get(); + } + +private: + boost::shared_array<Char> cmd_line_; +}; + +#if defined(_UNICODE) || defined(UNICODE) +inline set_cmd_line_<std::wstring> set_cmd_line(const wchar_t *ws) +{ + return set_cmd_line_<std::wstring>(ws); +} + +inline set_cmd_line_<std::wstring> set_cmd_line(const std::wstring &ws) +{ + return set_cmd_line_<std::wstring>(ws); +} +#else +inline set_cmd_line_<std::string> set_cmd_line(const char *s) +{ + return set_cmd_line_<std::string>(s); +} + +inline set_cmd_line_<std::string> set_cmd_line(const std::string &s) +{ + return set_cmd_line_<std::string>(s); +} +#endif + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/set_env.hpp b/dep/process/boost/process/windows/initializers/set_env.hpp new file mode 100644 index 00000000000..6dfdfc58a48 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/set_env.hpp @@ -0,0 +1,88 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_SET_ENV_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_SET_ENV_HPP + +#include <Windows.h> +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/range/numeric.hpp> +#include <boost/range/algorithm/copy.hpp> +#include <boost/range/algorithm/for_each.hpp> +#include <boost/shared_array.hpp> +#include <iterator> +#include <cstddef> + +namespace boost { namespace process { namespace windows { namespace initializers { + +template <class Range, bool Unicode> +class set_env_ : public initializer_base +{ +private: + typedef typename Range::value_type String; + typedef typename String::value_type Char; + + static std::size_t add_size(std::size_t size, const String &s) + { + return size + s.size() + 1u; + } + + struct copy + { + Char *it_; + + copy(Char *it) : it_(it) {} + + void operator()(const String &s) + { + it_ = boost::copy(s, it_); + *it_ = 0; + ++it_; + } + }; + +public: + set_env_(const Range &envs) + : size_(boost::accumulate(envs, 0, add_size) + 1), + env_(new Char[size_]) + { + boost::for_each(envs, copy(env_.get())); + env_[size_ - 1] = 0; + } + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.env = env_.get(); + if (Unicode) + e.creation_flags |= CREATE_UNICODE_ENVIRONMENT; + } + +private: + std::size_t size_; + boost::shared_array<Char> env_; +}; + +#if defined(_UNICODE) || defined(UNICODE) +template <class Range> +set_env_<Range, true> set_env(const Range &envs) +{ + return set_env_<Range, true>(envs); +} +#else +template <class Range> +set_env_<Range, false> set_env(const Range &envs) +{ + return set_env_<Range, false>(envs); +} +#endif + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/set_on_error.hpp b/dep/process/boost/process/windows/initializers/set_on_error.hpp new file mode 100644 index 00000000000..695ea5904d7 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/set_on_error.hpp @@ -0,0 +1,36 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_SET_ON_ERROR_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_SET_ON_ERROR_HPP + +#include <boost/process/config.hpp> +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/system/error_code.hpp> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class set_on_error : public initializer_base +{ +public: + explicit set_on_error(boost::system::error_code &ec) : ec_(ec) {} + + template <class WindowsExecutor> + void on_CreateProcess_error(WindowsExecutor&) const + { + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec_); + } + +private: + boost::system::error_code &ec_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/show_window.hpp b/dep/process/boost/process/windows/initializers/show_window.hpp new file mode 100644 index 00000000000..3046179205a --- /dev/null +++ b/dep/process/boost/process/windows/initializers/show_window.hpp @@ -0,0 +1,36 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_SHOW_WINDOW_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_SHOW_WINDOW_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class show_window : public initializer_base +{ +public: + explicit show_window(WORD flags) : flags_(flags) {} + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.startup_info.dwFlags |= STARTF_USESHOWWINDOW; + e.startup_info.wShowWindow |= flags_; + } + +private: + WORD flags_; +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/start_in_dir.hpp b/dep/process/boost/process/windows/initializers/start_in_dir.hpp new file mode 100644 index 00000000000..8dc952abcc0 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/start_in_dir.hpp @@ -0,0 +1,69 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_START_IN_DIR_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_START_IN_DIR_HPP + +#include <boost/process/windows/initializers/initializer_base.hpp> +#include <boost/filesystem/path.hpp> +#include <string> + +namespace boost { namespace process { namespace windows { namespace initializers { + +template <class String> +class start_in_dir_ : public initializer_base +{ +public: + explicit start_in_dir_(const String &s) : s_(s) {} + + template <class WindowsExecutor> + void on_CreateProcess_setup(WindowsExecutor &e) const + { + e.work_dir = s_.c_str(); + } + +private: + String s_; +}; + +#if defined(_UNICODE) || defined(UNICODE) +inline start_in_dir_<std::wstring> start_in_dir(const wchar_t *ws) +{ + return start_in_dir_<std::wstring>(ws); +} + +inline start_in_dir_<std::wstring> start_in_dir(const std::wstring &ws) +{ + return start_in_dir_<std::wstring>(ws); +} + +inline start_in_dir_<std::wstring> start_in_dir(const boost::filesystem::path &p) +{ + return start_in_dir_<std::wstring>(p.wstring()); +} +#else +inline start_in_dir_<std::string> start_in_dir(const char *s) +{ + return start_in_dir_<std::string>(s); +} + +inline start_in_dir_<std::string> start_in_dir(const std::string &s) +{ + return start_in_dir_<std::string>(s); +} + +inline start_in_dir_<std::string> start_in_dir(const boost::filesystem::path &p) +{ + return start_in_dir_<std::string>(p.string()); +} +#endif + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/initializers/throw_on_error.hpp b/dep/process/boost/process/windows/initializers/throw_on_error.hpp new file mode 100644 index 00000000000..044fa004177 --- /dev/null +++ b/dep/process/boost/process/windows/initializers/throw_on_error.hpp @@ -0,0 +1,30 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_INITIALIZERS_THROW_ON_ERROR_HPP +#define BOOST_PROCESS_WINDOWS_INITIALIZERS_THROW_ON_ERROR_HPP + +#include <boost/process/config.hpp> +#include <boost/process/windows/initializers/initializer_base.hpp> + +namespace boost { namespace process { namespace windows { namespace initializers { + +class throw_on_error : public initializer_base +{ +public: + template <class WindowsExecutor> + void on_CreateProcess_error(WindowsExecutor&) const + { + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("CreateProcess() failed"); + } +}; + +}}}} + +#endif diff --git a/dep/process/boost/process/windows/pipe.hpp b/dep/process/boost/process/windows/pipe.hpp new file mode 100644 index 00000000000..fd912afcc9e --- /dev/null +++ b/dep/process/boost/process/windows/pipe.hpp @@ -0,0 +1,32 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_PIPE_HPP +#define BOOST_PROCESS_WINDOWS_PIPE_HPP + +#include <Windows.h> + +namespace boost { namespace process { namespace windows { + +struct pipe +{ + HANDLE source; + HANDLE sink; + + pipe(HANDLE source, HANDLE sink) : source(source), sink(sink) {} +}; + +inline pipe make_pipe(HANDLE source, HANDLE sink) +{ + return pipe(source, sink); +} + +}}} + +#endif diff --git a/dep/process/boost/process/windows/search_path.hpp b/dep/process/boost/process/windows/search_path.hpp new file mode 100644 index 00000000000..62bb5f27454 --- /dev/null +++ b/dep/process/boost/process/windows/search_path.hpp @@ -0,0 +1,104 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_SEARCH_PATH_HPP +#define BOOST_PROCESS_WINDOWS_SEARCH_PATH_HPP + +#include <boost/process/config.hpp> +#include <boost/filesystem.hpp> +#include <boost/tokenizer.hpp> +#include <boost/array.hpp> +#include <boost/system/error_code.hpp> +#include <string> +#include <stdexcept> +#include <stdlib.h> +#include <Shellapi.h> + +namespace boost { namespace process { namespace windows { + +#if defined(_UNICODE) || defined(UNICODE) +inline std::wstring search_path(const std::wstring &filename, + std::wstring path = L"") +{ + if (path.empty()) + { + path = ::_wgetenv(L"PATH"); + if (path.empty()) + BOOST_PROCESS_THROW(std::runtime_error( + "Environment variable PATH not found")); + } + + typedef boost::tokenizer<boost::char_separator<wchar_t>, + std::wstring::const_iterator, std::wstring> tokenizer; + boost::char_separator<wchar_t> sep(L";"); + tokenizer tok(path, sep); + for (tokenizer::iterator it = tok.begin(); it != tok.end(); ++it) + { + boost::filesystem::path p = *it; + p /= filename; + boost::array<std::wstring, 4> extensions = + { L"", L".exe", L".com", L".bat" }; + for (boost::array<std::wstring, 4>::iterator it2 = extensions.begin(); + it2 != extensions.end(); ++it2) + { + boost::filesystem::path p2 = p; + p2 += *it2; + boost::system::error_code ec; + bool file = boost::filesystem::is_regular_file(p2, ec); + if (!ec && file && + SHGetFileInfoW(p2.c_str(), 0, 0, 0, SHGFI_EXETYPE)) + { + return p2.wstring(); + } + } + } + return L""; +} +#else +inline std::string search_path(const std::string &filename, + std::string path = "") +{ + if (path.empty()) + { + path = ::getenv("PATH"); + if (path.empty()) + BOOST_PROCESS_THROW(std::runtime_error( + "Environment variable PATH not found")); + } + + typedef boost::tokenizer<boost::char_separator<char> > tokenizer; + boost::char_separator<char> sep(";"); + tokenizer tok(path, sep); + for (tokenizer::iterator it = tok.begin(); it != tok.end(); ++it) + { + boost::filesystem::path p = *it; + p /= filename; + boost::array<std::string, 4> extensions = + { "", ".exe", ".com", ".bat" }; + for (boost::array<std::string, 4>::iterator it2 = extensions.begin(); + it2 != extensions.end(); ++it2) + { + boost::filesystem::path p2 = p; + p2 += *it2; + boost::system::error_code ec; + bool file = boost::filesystem::is_regular_file(p2, ec); + if (!ec && file && + SHGetFileInfoA(p2.string().c_str(), 0, 0, 0, SHGFI_EXETYPE)) + { + return p2.string(); + } + } + } + return ""; +} +#endif + +}}} + +#endif diff --git a/dep/process/boost/process/windows/shell_path.hpp b/dep/process/boost/process/windows/shell_path.hpp new file mode 100644 index 00000000000..ace15b96e10 --- /dev/null +++ b/dep/process/boost/process/windows/shell_path.hpp @@ -0,0 +1,50 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_SHELL_PATH_HPP +#define BOOST_PROCESS_WINDOWS_SHELL_PATH_HPP + +#include <boost/process/config.hpp> +#include <boost/system/error_code.hpp> +#include <boost/filesystem/path.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { + +inline boost::filesystem::path shell_path() +{ + TCHAR sysdir[MAX_PATH]; + UINT size = ::GetSystemDirectory(sysdir, sizeof(sysdir)); + if (!size) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("GetSystemDirectory() failed"); + boost::filesystem::path p = sysdir; + return p / "cmd.exe"; +} + +inline boost::filesystem::path shell_path(boost::system::error_code &ec) +{ + TCHAR sysdir[MAX_PATH]; + UINT size = ::GetSystemDirectory(sysdir, sizeof(sysdir)); + boost::filesystem::path p; + if (!size) + { + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec); + } + else + { + ec.clear(); + p = sysdir; + p /= "cmd.exe"; + } + return p; +} + +}}} + +#endif diff --git a/dep/process/boost/process/windows/terminate.hpp b/dep/process/boost/process/windows/terminate.hpp new file mode 100644 index 00000000000..43afe250a6a --- /dev/null +++ b/dep/process/boost/process/windows/terminate.hpp @@ -0,0 +1,38 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_TERMINATE_HPP +#define BOOST_PROCESS_WINDOWS_TERMINATE_HPP + +#include <boost/process/config.hpp> +#include <boost/system/error_code.hpp> +#include <cstdlib> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { + +template <class Process> +void terminate(const Process &p) +{ + if (!::TerminateProcess(p.process_handle(), EXIT_FAILURE)) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("TerminateProcess() failed"); +} + +template <class Process> +void terminate(const Process &p, boost::system::error_code &ec) +{ + if (!::TerminateProcess(p.process_handle(), EXIT_FAILURE)) + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec); + else + ec.clear(); +} + +}}} + +#endif diff --git a/dep/process/boost/process/windows/wait_for_exit.hpp b/dep/process/boost/process/windows/wait_for_exit.hpp new file mode 100644 index 00000000000..23a8b9a9f18 --- /dev/null +++ b/dep/process/boost/process/windows/wait_for_exit.hpp @@ -0,0 +1,49 @@ +// Copyright (c) 2006, 2007 Julio M. Merino Vidal +// Copyright (c) 2008 Ilya Sokolov, Boris Schaeling +// Copyright (c) 2009 Boris Schaeling +// Copyright (c) 2010 Felipe Tanus, Boris Schaeling +// Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_PROCESS_WINDOWS_WAIT_FOR_EXIT_HPP +#define BOOST_PROCESS_WINDOWS_WAIT_FOR_EXIT_HPP + +#include <boost/process/config.hpp> +#include <boost/system/error_code.hpp> +#include <Windows.h> + +namespace boost { namespace process { namespace windows { + +template <class Process> +inline DWORD wait_for_exit(const Process &p) +{ + if (::WaitForSingleObject(p.process_handle(), INFINITE) == WAIT_FAILED) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("WaitForSingleObject() failed"); + + DWORD exit_code; + if (!::GetExitCodeProcess(p.process_handle(), &exit_code)) + BOOST_PROCESS_THROW_LAST_SYSTEM_ERROR("GetExitCodeProcess() failed"); + + return exit_code; +} + +template <class Process> +inline DWORD wait_for_exit(const Process &p, boost::system::error_code &ec) +{ + DWORD exit_code = 1; + + if (::WaitForSingleObject(p.process_handle(), INFINITE) == WAIT_FAILED) + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec); + else if (!::GetExitCodeProcess(p.process_handle(), &exit_code)) + BOOST_PROCESS_RETURN_LAST_SYSTEM_ERROR(ec); + else + ec.clear(); + + return exit_code; +} + +}}} + +#endif diff --git a/revision.h.in.cmake b/revision.h.in.cmake index f50c8022062..f5f06b0f46d 100644 --- a/revision.h.in.cmake +++ b/revision.h.in.cmake @@ -3,6 +3,10 @@ #define _HASH "@rev_hash@" #define _DATE "@rev_date@" #define _BRANCH "@rev_branch@" + #define _SOURCE_DIRECTORY "@CMAKE_SOURCE_DIR@" + #define _MYSQL_EXECUTABLE "@MYSQL_EXECUTABLE@" + #define _FULL_DATABASE "TDB_full_6.01_2015_03_21.sql" + #define _HOTFIXES_DATABASE "TDB_hotfixes_6.01_2015_03_21.sql" #define VER_COMPANYNAME_STR "TrinityCore Developers" #define VER_LEGALCOPYRIGHT_STR "(c)2008-2015 TrinityCore" #define VER_FILEVERSION 0,0,0 diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 6fba92991d9..61bd761133b 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -1,8 +1,8 @@ --- MySQL dump 10.15 Distrib 10.0.15-MariaDB, for Win64 (x86) +-- MySQL dump 10.13 Distrib 5.6.9-rc, for Win64 (x86_64) -- -- Host: localhost Database: auth -- ------------------------------------------------------ --- Server version 10.0.15-MariaDB +-- Server version 5.6.9-rc /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -468,7 +468,7 @@ CREATE TABLE `rbac_default_permissions` ( LOCK TABLES `rbac_default_permissions` WRITE; /*!40000 ALTER TABLE `rbac_default_permissions` DISABLE KEYS */; -INSERT INTO `rbac_default_permissions` VALUES (0,195,-1),(1,194,-1),(2,193,-1),(3,192,-1); +INSERT INTO `rbac_default_permissions` VALUES (3,192,-1),(2,193,-1),(1,194,-1),(0,195,-1); /*!40000 ALTER TABLE `rbac_default_permissions` ENABLE KEYS */; UNLOCK TABLES; @@ -573,7 +573,7 @@ CREATE TABLE `realmlist` ( `Battlegroup` tinyint(3) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `idx_name` (`name`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Realm System'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Realm System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -587,6 +587,57 @@ INSERT INTO `realmlist` VALUES (1,'Trinity','127.0.0.1','127.0.0.1','255.255.255 UNLOCK TABLES; -- +-- Table structure for table `updates` +-- + +DROP TABLE IF EXISTS `updates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `updates` ( + `name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.', + `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', + `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + PRIMARY KEY (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `updates` +-- + +LOCK TABLES `updates` WRITE; +/*!40000 ALTER TABLE `updates` DISABLE KEYS */; +INSERT INTO `updates` VALUES ('2014_10_04_00_auth.sql','C3BC70A6EC381474B7308F442346F1E721176BC6','ARCHIVED','2015-03-21 16:55:52',0),('2014_10_19_00_auth.sql','7472B490A4F86C9D3DA609CDD3197499CB80C87C','ARCHIVED','2015-03-21 16:55:52',0),('2014_10_26_00_auth.sql','75CC67ADE2A3B2E54FD57D6B0DCAA8FE50F4EE35','ARCHIVED','2015-03-21 16:55:52',0),('2014_11_03_00_auth.sql','5948C9F286CF0FEA8E241785C0259FF36B73BDC5','ARCHIVED','2015-03-21 16:55:52',0),('2014_11_04_00_auth.sql','3AFC68B2375C2A417DDEA94583C53AFF83DE50DF','ARCHIVED','2015-03-21 16:55:52',0),('2014_11_09_00_auth.sql','B8DD1A7047C0FDDB80344B239343EC33BF1A0D97','ARCHIVED','2015-03-21 16:55:52',0),('2014_11_10_00_auth.sql','8FBA737A1D3FF4631A1E662A5B500A8BD304EC63','ARCHIVED','2015-03-21 16:55:52',0),('2014_11_10_00_auth_from_335.sql','0E3CB119442D09DD88E967015319BBC8DAFBBFE0','ARCHIVED','2015-03-21 16:55:52',0),('2014_11_10_01_auth.sql','327E77A1DA3546D5275AB249915DD57EDD6FDD3D','ARCHIVED','2015-03-21 16:55:52',0),('2014_11_23_00_auth.sql','0BBEB3EB3AED0FEF277A062819B6B2C00084A742','ARCHIVED','2015-03-21 16:55:52',0),('2014_11_25_00_auth.sql','4F45CDB26BDBB3EE83F1988E3D7818C5926ADC02','ARCHIVED','2015-03-21 16:55:52',0),('2014_12_05_00_auth.sql','6A7BBCEF43111C73A2D2C3CCB6911BE50DE7DD94','ARCHIVED','2015-03-21 16:55:52',0),('2014_12_10_00_auth.sql','821703A96D80F9080074852B5A46E2909C9562EA','ARCHIVED','2015-03-21 16:55:52',0),('2014_12_19_00_auth.sql','44D8E12FFF327AD07878FBDF8D9C16B6B7DCB122','ARCHIVED','2015-03-21 16:55:52',0),('2014_12_20_00_auth.sql','4DAA02AE285C02AE6C82EA2C8B97AC71990F1085','ARCHIVED','2015-03-21 16:55:52',0),('2014_12_25_00_auth.sql','61411930F482BC73FC7FD2C370C811E944F5FF92','ARCHIVED','2015-03-21 16:55:52',0),('2014_12_27_00_auth.sql','CE2E5D2CD82E79C25294539ADED27A1429105B43','ARCHIVED','2015-03-21 16:55:52',0),('2014_12_28_00_auth.sql','0A913217610E76AFF119C27259737BBC523090E6','ARCHIVED','2015-03-21 16:55:52',0),('2015_02_22_00_auth.sql','21CCCF8B01252E16CA3D6C9E3E8DAA4C9B28ED6E','ARCHIVED','2015-03-21 16:55:52',0),('2015_03_01_00_auth.sql','911881E273207FF6182D1FDAC8C85FFAE8F1C852','ARCHIVED','2015-03-21 16:55:52',0),('2015_03_10_00_auth.sql','2CC8502C11412EFEB5C11BE166761A8754A59009','ARCHIVED','2015-03-21 16:55:52',0),('2015_03_20_00_auth.sql','B761760804EA73BD297F296C5C1919687DF7191C','ARCHIVED','2015-03-21 16:55:52',0),('2015_03_20_01_auth.sql','5CCEDF20C8189FB1E8DF064A9F0DDC342841FBF0','ARCHIVED','2015-03-21 16:55:52',0),('2015_03_20_02_auth.sql','85E4ACD9AA099C0C4AC034575F2BB07D348EAC72','ARCHIVED','2015-03-21 16:56:46',0); +/*!40000 ALTER TABLE `updates` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `updates_include` +-- + +DROP TABLE IF EXISTS `updates_include`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `updates_include` ( + `path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + PRIMARY KEY (`path`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `updates_include` +-- + +LOCK TABLES `updates_include` WRITE; +/*!40000 ALTER TABLE `updates_include` DISABLE KEYS */; +INSERT INTO `updates_include` VALUES ('$/sql/updates/auth','RELEASED'),('$/sql/custom/auth','RELEASED'),('$/sql/old/6.x/auth','ARCHIVED'); +/*!40000 ALTER TABLE `updates_include` ENABLE KEYS */; +UNLOCK TABLES; + +-- -- Table structure for table `uptime` -- @@ -621,4 +672,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2014-12-28 23:10:07 +-- Dump completed on 2015-03-21 17:03:45 diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql index b37dd5dffac..325f6978f6e 100644 --- a/sql/base/characters_database.sql +++ b/sql/base/characters_database.sql @@ -1,8 +1,8 @@ --- MySQL dump 10.13 Distrib 5.5.40, for debian-linux-gnu (x86_64) +-- MySQL dump 10.13 Distrib 5.6.9-rc, for Win64 (x86_64) -- --- Host: localhost Database: characters_4x +-- Host: localhost Database: characters -- ------------------------------------------------------ --- Server version 5.5.40-0ubuntu0.14.04.1 +-- Server version 5.6.9-rc /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -1626,20 +1626,20 @@ DROP TABLE IF EXISTS `gm_bug`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gm_bug` ( - `id` INT(10) UNSIGNED NOT NULL, - `playerGuid` BIGINT(20) UNSIGNED NOT NULL, - `note` TEXT NOT NULL, - `createTime` INT(10) UNSIGNED NOT NULL DEFAULT '0', - `mapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', - `posX` FLOAT NOT NULL DEFAULT '0', - `posY` FLOAT NOT NULL DEFAULT '0', - `posZ` FLOAT NOT NULL DEFAULT '0', - `facing` FLOAT NOT NULL DEFAULT '0', - `closedBy` BIGINT(20) NOT NULL DEFAULT '0', - `assignedTo` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', - `comment` TEXT NOT NULL, + `id` int(10) unsigned NOT NULL, + `playerGuid` bigint(20) unsigned NOT NULL, + `note` text NOT NULL, + `createTime` int(10) unsigned NOT NULL DEFAULT '0', + `mapId` smallint(5) unsigned NOT NULL DEFAULT '0', + `posX` float NOT NULL DEFAULT '0', + `posY` float NOT NULL DEFAULT '0', + `posZ` float NOT NULL DEFAULT '0', + `facing` float NOT NULL DEFAULT '0', + `closedBy` bigint(20) NOT NULL DEFAULT '0', + `assignedTo` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', + `comment` text NOT NULL, PRIMARY KEY (`id`) -) COLLATE='utf8_general_ci' ENGINE=InnoDB; +) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1659,23 +1659,23 @@ DROP TABLE IF EXISTS `gm_complaint`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gm_complaint` ( - `id` INT(10) UNSIGNED NOT NULL, - `playerGuid` BIGINT(20) UNSIGNED NOT NULL, - `note` TEXT NOT NULL, - `createTime` INT(10) UNSIGNED NOT NULL DEFAULT '0', - `mapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', - `posX` FLOAT NOT NULL DEFAULT '0', - `posY` FLOAT NOT NULL DEFAULT '0', - `posZ` FLOAT NOT NULL DEFAULT '0', - `facing` FLOAT NOT NULL DEFAULT '0', - `targetCharacterGuid` BIGINT(20) UNSIGNED NOT NULL, - `complaintType` SMALLINT(5) UNSIGNED NOT NULL, - `reportLineIndex` INT(10) NOT NULL, - `closedBy` BIGINT(20) NOT NULL DEFAULT '0', - `assignedTo` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', - `comment` TEXT NOT NULL, + `id` int(10) unsigned NOT NULL, + `playerGuid` bigint(20) unsigned NOT NULL, + `note` text NOT NULL, + `createTime` int(10) unsigned NOT NULL DEFAULT '0', + `mapId` smallint(5) unsigned NOT NULL DEFAULT '0', + `posX` float NOT NULL DEFAULT '0', + `posY` float NOT NULL DEFAULT '0', + `posZ` float NOT NULL DEFAULT '0', + `facing` float NOT NULL DEFAULT '0', + `targetCharacterGuid` bigint(20) unsigned NOT NULL, + `complaintType` smallint(5) unsigned NOT NULL, + `reportLineIndex` int(10) NOT NULL, + `closedBy` bigint(20) NOT NULL DEFAULT '0', + `assignedTo` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', + `comment` text NOT NULL, PRIMARY KEY (`id`) -) COLLATE='utf8_general_ci' ENGINE=InnoDB; +) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1695,12 +1695,12 @@ DROP TABLE IF EXISTS `gm_complaint_chatlog`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gm_complaint_chatlog` ( - `complaintId` INT(10) UNSIGNED NOT NULL, - `lineId` INT(10) UNSIGNED NOT NULL, - `timestamp` INT(10) UNSIGNED NOT NULL, - `text` TEXT NOT NULL, - PRIMARY KEY (`complaintId`, `lineId`) -) COLLATE='utf8_general_ci' ENGINE=InnoDB; + `complaintId` int(10) unsigned NOT NULL, + `lineId` int(10) unsigned NOT NULL, + `timestamp` int(10) unsigned NOT NULL, + `text` text NOT NULL, + PRIMARY KEY (`complaintId`,`lineId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1720,12 +1720,12 @@ DROP TABLE IF EXISTS `gm_subsurvey`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gm_subsurvey` ( - `surveyId` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `questionId` INT(10) UNSIGNED NOT NULL DEFAULT '0', - `answer` INT(10) UNSIGNED NOT NULL DEFAULT '0', - `answerComment` TEXT NOT NULL, - PRIMARY KEY (`surveyId`, `questionId`) -) COMMENT='Player System' COLLATE='utf8_general_ci' ENGINE=InnoDB; + `surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `questionId` int(10) unsigned NOT NULL DEFAULT '0', + `answer` int(10) unsigned NOT NULL DEFAULT '0', + `answerComment` text NOT NULL, + PRIMARY KEY (`surveyId`,`questionId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1740,24 +1740,25 @@ UNLOCK TABLES; -- -- Table structure for table `gm_suggestion` -- + DROP TABLE IF EXISTS `gm_suggestion`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gm_suggestion` ( - `id` INT(10) UNSIGNED NOT NULL, - `playerGuid` BIGINT(20) UNSIGNED NOT NULL, - `note` TEXT NOT NULL, - `createTime` INT(10) UNSIGNED NOT NULL DEFAULT '0', - `mapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', - `posX` FLOAT NOT NULL DEFAULT '0', - `posY` FLOAT NOT NULL DEFAULT '0', - `posZ` FLOAT NOT NULL DEFAULT '0', - `facing` FLOAT NOT NULL DEFAULT '0', - `closedBy` BIGINT(20) NOT NULL DEFAULT '0', - `assignedTo` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', - `comment` TEXT NOT NULL, + `id` int(10) unsigned NOT NULL, + `playerGuid` bigint(20) unsigned NOT NULL, + `note` text NOT NULL, + `createTime` int(10) unsigned NOT NULL DEFAULT '0', + `mapId` smallint(5) unsigned NOT NULL DEFAULT '0', + `posX` float NOT NULL DEFAULT '0', + `posY` float NOT NULL DEFAULT '0', + `posZ` float NOT NULL DEFAULT '0', + `facing` float NOT NULL DEFAULT '0', + `closedBy` bigint(20) NOT NULL DEFAULT '0', + `assignedTo` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', + `comment` text NOT NULL, PRIMARY KEY (`id`) -) COLLATE='utf8_general_ci' ENGINE=InnoDB; +) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1777,13 +1778,13 @@ DROP TABLE IF EXISTS `gm_survey`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gm_survey` ( - `surveyId` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', - `mainSurvey` INT(10) UNSIGNED NOT NULL DEFAULT '0', - `comment` LONGTEXT NOT NULL, - `createTime` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT, + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', + `mainSurvey` int(10) unsigned NOT NULL DEFAULT '0', + `comment` longtext NOT NULL, + `createTime` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`surveyId`) -) COMMENT='Player System' COLLATE='utf8_general_ci' ENGINE=InnoDB; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1803,25 +1804,25 @@ DROP TABLE IF EXISTS `gm_ticket`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gm_ticket` ( - `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `playerGuid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator', - `description` TEXT NOT NULL, - `createTime` INT(10) UNSIGNED NOT NULL DEFAULT '0', - `mapId` SMALLINT(5) UNSIGNED NOT NULL DEFAULT '0', - `posX` FLOAT NOT NULL DEFAULT '0', - `posY` FLOAT NOT NULL DEFAULT '0', - `posZ` FLOAT NOT NULL DEFAULT '0', - `lastModifiedTime` INT(10) UNSIGNED NOT NULL DEFAULT '0', - `closedBy` BIGINT(20) NOT NULL DEFAULT '0', - `assignedTo` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', - `comment` TEXT NOT NULL, - `response` TEXT NOT NULL, - `completed` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', - `escalated` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', - `viewed` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', - `needMoreHelp` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', + `id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `playerGuid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator', + `description` text NOT NULL, + `createTime` int(10) unsigned NOT NULL DEFAULT '0', + `mapId` smallint(5) unsigned NOT NULL DEFAULT '0', + `posX` float NOT NULL DEFAULT '0', + `posY` float NOT NULL DEFAULT '0', + `posZ` float NOT NULL DEFAULT '0', + `lastModifiedTime` int(10) unsigned NOT NULL DEFAULT '0', + `closedBy` bigint(20) NOT NULL DEFAULT '0', + `assignedTo` bigint(20) unsigned NOT NULL DEFAULT '0', + `comment` text NOT NULL, + `response` text NOT NULL, + `completed` tinyint(3) unsigned NOT NULL DEFAULT '0', + `escalated` tinyint(3) unsigned NOT NULL DEFAULT '0', + `viewed` tinyint(3) unsigned NOT NULL DEFAULT '0', + `needMoreHelp` tinyint(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) -) COMMENT='Player System' COLLATE='utf8_general_ci' ENGINE=InnoDB; +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2379,6 +2380,7 @@ CREATE TABLE `instance_reset` ( LOCK TABLES `instance_reset` WRITE; /*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */; +INSERT INTO `instance_reset` VALUES (33,2,1426996800),(36,2,1426996800),(249,3,1427515200),(249,4,1427515200),(269,2,1426996800),(409,9,1427515200),(469,9,1427515200),(509,3,1427169600),(531,9,1427515200),(532,3,1427515200),(533,3,1427515200),(533,4,1427515200),(534,4,1427515200),(540,2,1426996800),(542,2,1426996800),(543,2,1426996800),(544,4,1427515200),(545,2,1426996800),(546,2,1426996800),(547,2,1426996800),(548,4,1427515200),(550,4,1427515200),(552,2,1426996800),(553,2,1426996800),(554,2,1426996800),(555,2,1426996800),(556,2,1426996800),(557,2,1426996800),(558,2,1426996800),(560,2,1426996800),(564,4,1427515200),(565,4,1427515200),(568,2,1426996800),(574,2,1426996800),(575,2,1426996800),(576,2,1426996800),(578,2,1426996800),(580,4,1427515200),(585,2,1426996800),(595,2,1426996800),(598,2,1426996800),(599,2,1426996800),(600,2,1426996800),(601,2,1426996800),(602,2,1426996800),(603,3,1427515200),(603,4,1427515200),(604,2,1426996800),(608,2,1426996800),(615,3,1427515200),(615,4,1427515200),(616,3,1427515200),(616,4,1427515200),(619,2,1426996800),(624,3,1427515200),(624,4,1427515200),(631,3,1427515200),(631,4,1427515200),(631,5,1427515200),(631,6,1427515200),(632,2,1426996800),(643,2,1426996800),(644,2,1426996800),(645,2,1426996800),(649,3,1427515200),(649,4,1427515200),(649,5,1427515200),(649,6,1427515200),(650,2,1426996800),(657,2,1426996800),(658,2,1426996800),(668,2,1426996800),(669,3,1427515200),(669,4,1427515200),(669,5,1427515200),(669,6,1427515200),(670,2,1426996800),(671,3,1427515200),(671,4,1427515200),(671,5,1427515200),(671,6,1427515200),(720,3,1427515200),(720,4,1427515200),(720,5,1427515200),(720,6,1427515200),(724,3,1427515200),(724,4,1427515200),(724,5,1427515200),(724,6,1427515200),(725,2,1426996800),(754,3,1427515200),(754,4,1427515200),(754,5,1427515200),(754,6,1427515200),(755,2,1426996800),(757,3,1427515200),(757,4,1427515200),(757,5,1427515200),(757,6,1427515200),(859,2,1426996800),(938,2,1426996800),(939,2,1426996800),(940,2,1426996800),(959,2,1426996800),(960,2,1426996800),(961,2,1426996800),(962,2,1426996800),(967,3,1427515200),(967,4,1427515200),(967,5,1427515200),(967,6,1427515200),(994,2,1426996800),(996,3,1427515200),(996,4,1427515200),(996,5,1427515200),(996,6,1427515200),(1001,2,1426996800),(1004,2,1426996800),(1007,2,1426996800),(1008,3,1427515200),(1008,4,1427515200),(1008,5,1427515200),(1008,6,1427515200),(1009,3,1427515200),(1009,4,1427515200),(1009,5,1427515200),(1009,6,1427515200),(1011,2,1426996800),(1098,3,1427515200),(1098,4,1427515200),(1098,5,1427515200),(1098,6,1427515200),(1136,14,1427515200),(1136,15,1427515200),(1136,16,1427515200),(1175,2,1426996800),(1176,2,1426996800),(1182,2,1426996800),(1195,2,1426996800),(1205,14,1427515200),(1205,15,1427515200),(1205,16,1427515200),(1208,2,1426996800),(1209,2,1426996800),(1228,14,1427515200),(1228,15,1427515200),(1228,16,1427515200),(1279,2,1426996800),(1358,2,1426996800); /*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */; UNLOCK TABLES; @@ -2929,6 +2931,57 @@ LOCK TABLES `reserved_name` WRITE; UNLOCK TABLES; -- +-- Table structure for table `updates` +-- + +DROP TABLE IF EXISTS `updates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `updates` ( + `name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.', + `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', + `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + PRIMARY KEY (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `updates` +-- + +LOCK TABLES `updates` WRITE; +/*!40000 ALTER TABLE `updates` DISABLE KEYS */; +INSERT INTO `updates` VALUES ('2014_10_20_00_characters.sql','A5882DA0979CF4DAE33DA011EBAA006C24BE7230','ARCHIVED','2015-03-21 16:55:55',0),('2014_10_23_00_characters.sql','E2AC4758133EE19B7F08464A445802154D1261C8','ARCHIVED','2015-03-21 16:55:55',0),('2014_10_23_01_characters.sql','20029E6323D9773B32C34D84FFED1711CC60F09F','ARCHIVED','2015-03-21 16:55:55',0),('2014_10_23_02_characters.sql','8A7A16886EE71E7ACDDB3DDA6D0ECAC2FD2FDCA8','ARCHIVED','2015-03-21 16:55:55',0),('2014_10_24_00_characters.sql','D008FE81AE844FCA686439D6ECC5108FB0DD1EB9','ARCHIVED','2015-03-21 16:55:55',0),('2014_10_25_00_characters.sql','A39C7BE46686B54776BDAB9D7A882D91EDEC51A4','ARCHIVED','2015-03-21 16:55:55',0),('2014_10_26_00_characters.sql','C787954CC35FE34B4101FDE6527F14C027F4947C','ARCHIVED','2015-03-21 16:55:55',0),('2014_11_12_00_characters.sql','B160BB2313F1BD5F3B076A5A9279DC10D4796E34','ARCHIVED','2015-03-21 16:55:55',0),('2014_12_23_00_characters.sql','3D9D648B2387B357F4BD090B33F80682F7924882','ARCHIVED','2015-03-21 16:55:55',0),('2014_12_28_00_characters.sql','5362922FF4483A336311D73082A5727309CD9219','ARCHIVED','2015-03-21 16:55:55',0),('2014_12_31_00_characters.sql','498DDF2DD936CF156D74A8208DC93DCE9FCAB5AA','ARCHIVED','2015-03-21 16:55:55',0),('2015_01_02_00_characters.sql','E5940BE836F253982E07930120422E598D08BDE1','ARCHIVED','2015-03-21 16:55:55',0),('2015_01_10_00_characters.sql','30796056C8623699B2FE1BF626A19D38262E9284','ARCHIVED','2015-03-21 16:55:55',0),('2015_01_16_00_characters.sql','96642760A54C8D799AAFE438049A63AA521656F2','ARCHIVED','2015-03-21 16:55:55',0),('2015_01_27_00_characters.sql','EB710E3EB9F2CAFD84AB62CDC84E898403A80A4F','ARCHIVED','2015-03-21 16:55:55',0),('2015_02_13_00_characters.sql','405BEB4ED207DC6076442A37EE2AFB1F21E274A0','ARCHIVED','2015-03-21 16:55:55',0),('2015_02_13_01_characters.sql','35F582D4F33BF55D1685A1BA89273ED895FD09C5','ARCHIVED','2015-03-21 16:55:55',0),('2015_02_17_00_characters.sql','8D21FC5A55BF8B55D6DCDCE5F02CF2B640230E94','ARCHIVED','2015-03-21 16:55:55',0),('2015_03_10_00_characters.sql','E565B89B145C340067742DFF2DEF1B74F5F1BD4E','ARCHIVED','2015-03-21 16:55:55',0),('2015_03_20_00_characters.sql','B761760804EA73BD297F296C5C1919687DF7191C','ARCHIVED','2015-03-21 16:55:55',0),('2015_03_20_01_characters.sql','20BD68468C57FCF7E665B4DA185DCD52FACE8B3F','ARCHIVED','2015-03-21 16:55:55',0),('2015_03_20_02_characters.sql','0296995DCD3676BA9AE6024CA7C91C5F39D927A3','ARCHIVED','2015-03-21 16:56:46',0); +/*!40000 ALTER TABLE `updates` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `updates_include` +-- + +DROP TABLE IF EXISTS `updates_include`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `updates_include` ( + `path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + PRIMARY KEY (`path`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `updates_include` +-- + +LOCK TABLES `updates_include` WRITE; +/*!40000 ALTER TABLE `updates_include` DISABLE KEYS */; +INSERT INTO `updates_include` VALUES ('$/sql/updates/characters','RELEASED'),('$/sql/custom/characters','RELEASED'),('$/sql/old/6.x/characters','ARCHIVED'); +/*!40000 ALTER TABLE `updates_include` ENABLE KEYS */; +UNLOCK TABLES; + +-- -- Table structure for table `warden_action` -- @@ -2985,4 +3038,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2015-01-27 22:41:44 +-- Dump completed on 2015-03-21 17:03:16 diff --git a/sql/base/dev/hotfixes_database.sql b/sql/base/dev/hotfixes_database.sql index 0d5a5d2f23c..1dcaf45bdab 100644 --- a/sql/base/dev/hotfixes_database.sql +++ b/sql/base/dev/hotfixes_database.sql @@ -15,4 +15,1260 @@ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; --- Dump completed on 2014-10-19 23:50:46 +-- +-- Table structure for table `area_group` +-- + +DROP TABLE IF EXISTS `area_group`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `area_group` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `area_group_member` +-- + +DROP TABLE IF EXISTS `area_group_member`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `area_group_member` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `AreaGroupID` int(10) unsigned NOT NULL DEFAULT '0', + `AreaID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `area_poi` +-- + +DROP TABLE IF EXISTS `area_poi`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `area_poi` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Flags` mediumint(8) NOT NULL DEFAULT '0', + `Importance` mediumint(8) unsigned NOT NULL DEFAULT '0', + `FactionID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `MapID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `AreaID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Icon` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PositionX` float NOT NULL DEFAULT '0', + `PositionY` float NOT NULL DEFAULT '0', + `Name` text NOT NULL, + `Description` text NOT NULL, + `WorldStateID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PlayerConditionID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `WorldMapLink` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PortLocID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `area_poi_state` +-- + +DROP TABLE IF EXISTS `area_poi_state`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `area_poi_state` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `AreaPOIID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `State` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Icon` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Description` text NOT NULL, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `broadcast_text` +-- + +DROP TABLE IF EXISTS `broadcast_text`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `broadcast_text` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `Language` int(11) NOT NULL DEFAULT '0', + `MaleText` text, + `FemaleText` text, + `EmoteID1` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteID2` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteID3` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', + `SoundID` int(10) unsigned NOT NULL DEFAULT '0', + `UnkEmoteID` int(10) unsigned NOT NULL DEFAULT '0', + `Type` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `broadcast_text_locale` +-- + +DROP TABLE IF EXISTS `broadcast_text_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `broadcast_text_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) NOT NULL, + `MaleText_lang` text, + `FemaleText_lang` text, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature` +-- + +DROP TABLE IF EXISTS `creature`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Type` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ItemID1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ItemID2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ItemID3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Mount` mediumint(8) unsigned NOT NULL DEFAULT '0', + `DisplayID1` mediumint(8) unsigned NOT NULL DEFAULT '0', + `DisplayID2` mediumint(8) unsigned NOT NULL DEFAULT '0', + `DisplayID3` mediumint(8) unsigned NOT NULL DEFAULT '0', + `DisplayID4` mediumint(8) unsigned NOT NULL DEFAULT '0', + `DisplayIDProbability1` float NOT NULL DEFAULT '0', + `DisplayIDProbability2` float NOT NULL DEFAULT '0', + `DisplayIDProbability3` float NOT NULL DEFAULT '0', + `DisplayIDProbability4` float NOT NULL DEFAULT '0', + `Name` text NOT NULL, + `FemaleName` text NOT NULL, + `SubName` text NOT NULL, + `FemaleSubName` text NOT NULL, + `Rank` mediumint(8) unsigned NOT NULL DEFAULT '0', + `InhabitType` mediumint(8) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `creature_difficulty` +-- + +DROP TABLE IF EXISTS `creature_difficulty`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_difficulty` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `FactionID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Expansion` mediumint(8) NOT NULL DEFAULT '0', + `MinLevel` mediumint(8) NOT NULL DEFAULT '0', + `MaxLevel` mediumint(8) NOT NULL DEFAULT '0', + `Flags1` int(10) unsigned NOT NULL DEFAULT '0', + `Flags2` int(10) unsigned NOT NULL DEFAULT '0', + `Flags3` int(10) unsigned NOT NULL DEFAULT '0', + `Flags4` int(10) unsigned NOT NULL DEFAULT '0', + `Flags5` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `currency_types` +-- + +DROP TABLE IF EXISTS `currency_types`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `currency_types` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `CategoryID` int(10) unsigned NOT NULL DEFAULT '0', + `Name` text, + `InventoryIcon1` text, + `InventoryIcon2` text, + `SpellWeight` int(10) unsigned NOT NULL DEFAULT '0', + `SpellCategory` int(10) unsigned NOT NULL DEFAULT '0', + `MaxQty` int(10) unsigned NOT NULL DEFAULT '0', + `MaxEarnablePerWeek` int(10) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `Quality` int(10) unsigned NOT NULL DEFAULT '0', + `Description` text, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `currency_types_locale` +-- + +DROP TABLE IF EXISTS `currency_types_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `currency_types_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) NOT NULL, + `Name_lang` text, + `InventoryIcon1_lang` text, + `InventoryIcon2_lang` text, + `Description_lang` text, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `curve_point` +-- + +DROP TABLE IF EXISTS `curve_point`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `curve_point` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `CurveID` int(10) unsigned NOT NULL DEFAULT '0', + `Index` int(10) unsigned NOT NULL DEFAULT '0', + `X` float NOT NULL DEFAULT '0', + `Y` float NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `gameobjects` +-- + +DROP TABLE IF EXISTS `gameobjects`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `gameobjects` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `MapID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `DisplayID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PositionX` float NOT NULL DEFAULT '0', + `PositionY` float NOT NULL DEFAULT '0', + `PositionZ` float NOT NULL DEFAULT '0', + `RotationX` float NOT NULL DEFAULT '0', + `RotationY` float NOT NULL DEFAULT '0', + `RotationZ` float NOT NULL DEFAULT '0', + `RotationW` float NOT NULL DEFAULT '0', + `Size` float NOT NULL DEFAULT '0', + `PhaseUseFlags` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PhaseID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PhaseGroupID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Type` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Data0` int(10) unsigned NOT NULL DEFAULT '0', + `Data1` int(10) unsigned NOT NULL DEFAULT '0', + `Data2` int(10) unsigned NOT NULL DEFAULT '0', + `Data3` int(10) unsigned NOT NULL DEFAULT '0', + `Data4` int(10) unsigned NOT NULL DEFAULT '0', + `Data5` int(10) unsigned NOT NULL DEFAULT '0', + `Data6` int(10) unsigned NOT NULL DEFAULT '0', + `Data7` int(10) unsigned NOT NULL DEFAULT '0', + `Name` text NOT NULL, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `holidays` +-- + +DROP TABLE IF EXISTS `holidays`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `holidays` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `Duration1` int(10) unsigned NOT NULL DEFAULT '0', + `Duration2` int(10) unsigned NOT NULL DEFAULT '0', + `Duration3` int(10) unsigned NOT NULL DEFAULT '0', + `Duration4` int(10) unsigned NOT NULL DEFAULT '0', + `Duration5` int(10) unsigned NOT NULL DEFAULT '0', + `Duration6` int(10) unsigned NOT NULL DEFAULT '0', + `Duration7` int(10) unsigned NOT NULL DEFAULT '0', + `Duration8` int(10) unsigned NOT NULL DEFAULT '0', + `Duration9` int(10) unsigned NOT NULL DEFAULT '0', + `Duration10` int(10) unsigned NOT NULL DEFAULT '0', + `Date1` int(10) unsigned NOT NULL DEFAULT '0', + `Date2` int(10) unsigned NOT NULL DEFAULT '0', + `Date3` int(10) unsigned NOT NULL DEFAULT '0', + `Date4` int(10) unsigned NOT NULL DEFAULT '0', + `Date5` int(10) unsigned NOT NULL DEFAULT '0', + `Date6` int(10) unsigned NOT NULL DEFAULT '0', + `Date7` int(10) unsigned NOT NULL DEFAULT '0', + `Date8` int(10) unsigned NOT NULL DEFAULT '0', + `Date9` int(10) unsigned NOT NULL DEFAULT '0', + `Date10` int(10) unsigned NOT NULL DEFAULT '0', + `Date11` int(10) unsigned NOT NULL DEFAULT '0', + `Date12` int(10) unsigned NOT NULL DEFAULT '0', + `Date13` int(10) unsigned NOT NULL DEFAULT '0', + `Date14` int(10) unsigned NOT NULL DEFAULT '0', + `Date15` int(10) unsigned NOT NULL DEFAULT '0', + `Date16` int(10) unsigned NOT NULL DEFAULT '0', + `Region` int(10) unsigned NOT NULL DEFAULT '0', + `Looping` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags1` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags2` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags3` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags4` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags5` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags6` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags7` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags8` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags9` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFlags10` int(10) unsigned NOT NULL DEFAULT '0', + `HolidayNameID` int(10) unsigned NOT NULL DEFAULT '0', + `HolidayDescriptionID` int(10) unsigned NOT NULL DEFAULT '0', + `TextureFilename` text, + `Priority` int(10) unsigned NOT NULL DEFAULT '0', + `CalendarFilterType` int(10) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `holidays_locale` +-- + +DROP TABLE IF EXISTS `holidays_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `holidays_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) NOT NULL, + `TextureFilename_lang` text, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `hotfix_data` +-- + +DROP TABLE IF EXISTS `hotfix_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `hotfix_data` ( + `TableHash` int(10) unsigned NOT NULL DEFAULT '0', + `RecordID` int(10) NOT NULL, + `Timestamp` int(10) unsigned NOT NULL DEFAULT '0', + `Deleted` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`TableHash`,`RecordID`,`Timestamp`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item` +-- + +DROP TABLE IF EXISTS `item`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `Class` int(10) unsigned NOT NULL DEFAULT '0', + `SubClass` int(10) unsigned NOT NULL DEFAULT '0', + `SoundOverrideSubclass` int(11) NOT NULL DEFAULT '0', + `Material` int(11) NOT NULL DEFAULT '0', + `InventoryType` int(10) unsigned NOT NULL DEFAULT '0', + `Sheath` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID` int(10) unsigned NOT NULL DEFAULT '0', + `GroupSoundsID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_appearance` +-- + +DROP TABLE IF EXISTS `item_appearance`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_appearance` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `DisplayID` int(10) unsigned NOT NULL DEFAULT '0', + `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_bonus` +-- + +DROP TABLE IF EXISTS `item_bonus`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_bonus` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `BonusListID` int(10) unsigned NOT NULL DEFAULT '0', + `Type` int(10) unsigned NOT NULL DEFAULT '0', + `Value1` int(11) NOT NULL DEFAULT '0', + `Value2` int(11) NOT NULL DEFAULT '0', + `Index` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_bonus_tree_node` +-- + +DROP TABLE IF EXISTS `item_bonus_tree_node`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_bonus_tree_node` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `BonusTreeID` int(10) unsigned NOT NULL DEFAULT '0', + `BonusTreeModID` int(10) unsigned NOT NULL DEFAULT '0', + `SubTreeID` int(10) unsigned NOT NULL DEFAULT '0', + `BonusListID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_currency_cost` +-- + +DROP TABLE IF EXISTS `item_currency_cost`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_currency_cost` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ItemId` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + UNIQUE KEY `idx_itemId` (`ItemId`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_effect` +-- + +DROP TABLE IF EXISTS `item_effect`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_effect` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ItemID` int(10) unsigned NOT NULL DEFAULT '0', + `OrderIndex` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID` int(10) unsigned NOT NULL DEFAULT '0', + `Trigger` int(10) unsigned NOT NULL DEFAULT '0', + `Charges` int(10) unsigned NOT NULL DEFAULT '0', + `Cooldown` int(11) NOT NULL DEFAULT '0', + `Category` int(10) unsigned NOT NULL DEFAULT '0', + `CategoryCooldown` int(11) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_extended_cost` +-- + +DROP TABLE IF EXISTS `item_extended_cost`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_extended_cost` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredArenaSlot` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItem1` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItem2` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItem3` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItem4` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItem5` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount1` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount2` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount3` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount4` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredItemCount5` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredPersonalArenaRating` int(10) unsigned NOT NULL DEFAULT '0', + `ItemPurchaseGroup` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrency1` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrency2` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrency3` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrency4` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrency5` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount1` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount2` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount3` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount4` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount5` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredFactionId` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredFactionStanding` int(10) unsigned NOT NULL DEFAULT '0', + `RequirementFlags` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredAchievement` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredMoney` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_modified_appearance` +-- + +DROP TABLE IF EXISTS `item_modified_appearance`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_modified_appearance` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ItemID` int(10) unsigned NOT NULL DEFAULT '0', + `AppearanceModID` int(10) unsigned NOT NULL DEFAULT '0', + `AppearanceID` int(10) unsigned NOT NULL DEFAULT '0', + `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', + `Index` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_sparse` +-- + +DROP TABLE IF EXISTS `item_sparse`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_sparse` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `Quality` int(10) unsigned NOT NULL DEFAULT '0', + `Flags1` int(10) unsigned NOT NULL DEFAULT '0', + `Flags2` int(10) unsigned NOT NULL DEFAULT '0', + `Flags3` int(10) unsigned NOT NULL DEFAULT '0', + `Unk1` float NOT NULL DEFAULT '0', + `Unk2` float NOT NULL DEFAULT '0', + `BuyCount` int(10) unsigned NOT NULL DEFAULT '0', + `BuyPrice` int(10) unsigned NOT NULL DEFAULT '0', + `SellPrice` int(10) unsigned NOT NULL DEFAULT '0', + `InventoryType` int(10) unsigned NOT NULL DEFAULT '0', + `AllowableClass` int(11) NOT NULL DEFAULT '0', + `AllowableRace` int(11) NOT NULL DEFAULT '0', + `ItemLevel` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredLevel` int(11) NOT NULL DEFAULT '0', + `RequiredSkill` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredSkillRank` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredSpell` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredHonorRank` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredCityRank` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredReputationFaction` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredReputationRank` int(10) unsigned NOT NULL DEFAULT '0', + `MaxCount` int(10) unsigned NOT NULL DEFAULT '0', + `Stackable` int(10) unsigned NOT NULL DEFAULT '0', + `ContainerSlots` int(10) unsigned NOT NULL DEFAULT '0', + `ItemStatType1` int(11) NOT NULL DEFAULT '0', + `ItemStatType2` int(11) NOT NULL DEFAULT '0', + `ItemStatType3` int(11) NOT NULL DEFAULT '0', + `ItemStatType4` int(11) NOT NULL DEFAULT '0', + `ItemStatType5` int(11) NOT NULL DEFAULT '0', + `ItemStatType6` int(11) NOT NULL DEFAULT '0', + `ItemStatType7` int(11) NOT NULL DEFAULT '0', + `ItemStatType8` int(11) NOT NULL DEFAULT '0', + `ItemStatType9` int(11) NOT NULL DEFAULT '0', + `ItemStatType10` int(11) NOT NULL DEFAULT '0', + `ItemStatValue1` int(11) NOT NULL DEFAULT '0', + `ItemStatValue2` int(11) NOT NULL DEFAULT '0', + `ItemStatValue3` int(11) NOT NULL DEFAULT '0', + `ItemStatValue4` int(11) NOT NULL DEFAULT '0', + `ItemStatValue5` int(11) NOT NULL DEFAULT '0', + `ItemStatValue6` int(11) NOT NULL DEFAULT '0', + `ItemStatValue7` int(11) NOT NULL DEFAULT '0', + `ItemStatValue8` int(11) NOT NULL DEFAULT '0', + `ItemStatValue9` int(11) NOT NULL DEFAULT '0', + `ItemStatValue10` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation1` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation2` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation3` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation4` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation5` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation6` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation7` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation8` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation9` int(11) NOT NULL DEFAULT '0', + `ItemStatAllocation10` int(11) NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier1` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier2` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier3` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier4` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier5` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier6` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier7` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier8` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier9` float NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier10` float NOT NULL DEFAULT '0', + `ScalingStatDistribution` int(10) unsigned NOT NULL DEFAULT '0', + `DamageType` int(10) unsigned NOT NULL DEFAULT '0', + `Delay` int(10) unsigned NOT NULL DEFAULT '0', + `RangedModRange` float NOT NULL DEFAULT '0', + `Bonding` int(10) unsigned NOT NULL DEFAULT '0', + `Name` text, + `Name2` text, + `Name3` text, + `Name4` text, + `Description` text, + `PageText` int(10) unsigned NOT NULL DEFAULT '0', + `LanguageID` int(10) unsigned NOT NULL DEFAULT '0', + `PageMaterial` int(10) unsigned NOT NULL DEFAULT '0', + `StartQuest` int(10) unsigned NOT NULL DEFAULT '0', + `LockID` int(10) unsigned NOT NULL DEFAULT '0', + `Material` int(11) NOT NULL DEFAULT '0', + `Sheath` int(10) unsigned NOT NULL DEFAULT '0', + `RandomProperty` int(10) unsigned NOT NULL DEFAULT '0', + `RandomSuffix` int(10) unsigned NOT NULL DEFAULT '0', + `ItemSet` int(10) unsigned NOT NULL DEFAULT '0', + `Area` int(10) unsigned NOT NULL DEFAULT '0', + `Map` int(10) unsigned NOT NULL DEFAULT '0', + `BagFamily` int(10) unsigned NOT NULL DEFAULT '0', + `TotemCategory` int(10) unsigned NOT NULL DEFAULT '0', + `SocketColor1` int(10) unsigned NOT NULL DEFAULT '0', + `SocketColor2` int(10) unsigned NOT NULL DEFAULT '0', + `SocketColor3` int(10) unsigned NOT NULL DEFAULT '0', + `SocketBonus` int(10) unsigned NOT NULL DEFAULT '0', + `GemProperties` int(10) unsigned NOT NULL DEFAULT '0', + `ArmorDamageModifier` float NOT NULL DEFAULT '0', + `Duration` int(10) unsigned NOT NULL DEFAULT '0', + `ItemLimitCategory` int(10) unsigned NOT NULL DEFAULT '0', + `HolidayID` int(10) unsigned NOT NULL DEFAULT '0', + `StatScalingFactor` float NOT NULL DEFAULT '0', + `CurrencySubstitutionID` int(10) unsigned NOT NULL DEFAULT '0', + `CurrencySubstitutionCount` int(10) unsigned NOT NULL DEFAULT '0', + `ItemNameDescriptionID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_sparse_locale` +-- + +DROP TABLE IF EXISTS `item_sparse_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_sparse_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) NOT NULL, + `Name_lang` text, + `Name2_lang` text, + `Name3_lang` text, + `Name4_lang` text, + `Description_lang` text, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_x_bonus_tree` +-- + +DROP TABLE IF EXISTS `item_x_bonus_tree`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_x_bonus_tree` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ItemID` int(10) unsigned NOT NULL DEFAULT '0', + `BonusTreeID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `key_chain` +-- + +DROP TABLE IF EXISTS `key_chain`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `key_chain` ( + `Id` int(10) unsigned NOT NULL DEFAULT '0', + `Key1` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key2` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key3` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key4` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key5` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key6` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key7` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key8` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key9` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key10` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key11` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key12` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key13` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key14` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key15` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key16` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key17` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key18` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key19` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key20` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key21` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key22` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key23` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key24` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key25` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key26` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key27` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key28` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key29` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key30` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key31` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Key32` tinyint(3) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `mount` +-- + +DROP TABLE IF EXISTS `mount`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `mount` ( + `Id` int(10) unsigned NOT NULL DEFAULT '0', + `MountTypeId` int(10) unsigned NOT NULL DEFAULT '0', + `DisplayId` int(10) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `Name` text, + `Description` text, + `SourceDescription` text, + `Source` int(10) unsigned NOT NULL DEFAULT '0', + `SpellId` int(10) unsigned NOT NULL DEFAULT '0', + `PlayerConditionId` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `mount_locale` +-- + +DROP TABLE IF EXISTS `mount_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `mount_locale` ( + `Id` int(10) unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) NOT NULL, + `Name_lang` text, + `Description_lang` text, + `SourceDescription_lang` text, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`Id`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `override_spell_data` +-- + +DROP TABLE IF EXISTS `override_spell_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `override_spell_data` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID1` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID2` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID3` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID4` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID5` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID6` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID7` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID8` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID9` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID10` int(10) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `PlayerActionbarFileDataID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `phase_group` +-- + +DROP TABLE IF EXISTS `phase_group`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `phase_group` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `PhaseID` int(10) unsigned NOT NULL DEFAULT '0', + `PhaseGroupID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `sound_entries` +-- + +DROP TABLE IF EXISTS `sound_entries`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `sound_entries` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `SoundType` int(10) unsigned NOT NULL DEFAULT '0', + `Name` text, + `FileDataID1` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID2` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID3` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID4` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID5` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID6` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID7` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID8` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID9` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID10` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID11` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID12` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID13` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID14` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID15` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID16` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID17` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID18` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID19` int(10) unsigned NOT NULL DEFAULT '0', + `FileDataID20` int(10) unsigned NOT NULL DEFAULT '0', + `Freq1` int(10) unsigned NOT NULL DEFAULT '0', + `Freq2` int(10) unsigned NOT NULL DEFAULT '0', + `Freq3` int(10) unsigned NOT NULL DEFAULT '0', + `Freq4` int(10) unsigned NOT NULL DEFAULT '0', + `Freq5` int(10) unsigned NOT NULL DEFAULT '0', + `Freq6` int(10) unsigned NOT NULL DEFAULT '0', + `Freq7` int(10) unsigned NOT NULL DEFAULT '0', + `Freq8` int(10) unsigned NOT NULL DEFAULT '0', + `Freq9` int(10) unsigned NOT NULL DEFAULT '0', + `Freq10` int(10) unsigned NOT NULL DEFAULT '0', + `Freq11` int(10) unsigned NOT NULL DEFAULT '0', + `Freq12` int(10) unsigned NOT NULL DEFAULT '0', + `Freq13` int(10) unsigned NOT NULL DEFAULT '0', + `Freq14` int(10) unsigned NOT NULL DEFAULT '0', + `Freq15` int(10) unsigned NOT NULL DEFAULT '0', + `Freq16` int(10) unsigned NOT NULL DEFAULT '0', + `Freq17` int(10) unsigned NOT NULL DEFAULT '0', + `Freq18` int(10) unsigned NOT NULL DEFAULT '0', + `Freq19` int(10) unsigned NOT NULL DEFAULT '0', + `Freq20` int(10) unsigned NOT NULL DEFAULT '0', + `VolumeFloat` float NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `MinDistance` float NOT NULL DEFAULT '0', + `DistanceCutoff` float NOT NULL DEFAULT '0', + `EAXDef` int(10) unsigned NOT NULL DEFAULT '0', + `SoundEntriesAdvancedID` int(10) unsigned NOT NULL DEFAULT '0', + `VolumeVariationPlus` float NOT NULL DEFAULT '0', + `VolumeVariationMinus` float NOT NULL DEFAULT '0', + `PitchVariationPlus` float NOT NULL DEFAULT '0', + `PitchVariationMinus` float NOT NULL DEFAULT '0', + `PitchAdjust` float NOT NULL DEFAULT '0', + `DialogType` int(10) unsigned NOT NULL DEFAULT '0', + `BusOverwriteID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `sound_entries_locale` +-- + +DROP TABLE IF EXISTS `sound_entries_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `sound_entries_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) NOT NULL, + `Name_lang` text, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_aura_restrictions` +-- + +DROP TABLE IF EXISTS `spell_aura_restrictions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_aura_restrictions` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `CasterAuraState` int(10) unsigned NOT NULL DEFAULT '0', + `TargetAuraState` int(10) unsigned NOT NULL DEFAULT '0', + `ExcludeCasterAuraState` int(10) unsigned NOT NULL DEFAULT '0', + `ExcludeTargetAuraState` int(10) unsigned NOT NULL DEFAULT '0', + `CasterAuraSpell` int(10) unsigned NOT NULL DEFAULT '0', + `TargetAuraSpell` int(10) unsigned NOT NULL DEFAULT '0', + `ExcludeCasterAuraSpell` int(10) unsigned NOT NULL DEFAULT '0', + `ExcludeTargetAuraSpell` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_casting_requirements` +-- + +DROP TABLE IF EXISTS `spell_casting_requirements`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_casting_requirements` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `FacingCasterFlags` int(10) unsigned NOT NULL DEFAULT '0', + `MinFactionID` int(10) unsigned NOT NULL DEFAULT '0', + `MinReputation` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredAreasID` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredAuraVision` int(10) unsigned NOT NULL DEFAULT '0', + `RequiresSpellFocus` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_class_options` +-- + +DROP TABLE IF EXISTS `spell_class_options`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_class_options` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ModalNextSpell` int(10) unsigned NOT NULL DEFAULT '0', + `SpellClassMask1` int(10) unsigned NOT NULL DEFAULT '0', + `SpellClassMask2` int(10) unsigned NOT NULL DEFAULT '0', + `SpellClassMask3` int(10) unsigned NOT NULL DEFAULT '0', + `SpellClassMask4` int(10) unsigned NOT NULL DEFAULT '0', + `SpellClassSet` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_learn_spell` +-- + +DROP TABLE IF EXISTS `spell_learn_spell`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_learn_spell` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `LearnSpellID` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID` int(10) unsigned NOT NULL DEFAULT '0', + `OverridesSpellID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_misc` +-- + +DROP TABLE IF EXISTS `spell_misc`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_misc` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `Attributes` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesEx` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExB` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExC` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExD` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExE` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExF` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExG` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExH` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExI` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExJ` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExK` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExL` int(10) unsigned NOT NULL DEFAULT '0', + `AttributesExM` int(10) unsigned NOT NULL DEFAULT '0', + `CastingTimeIndex` int(10) unsigned NOT NULL DEFAULT '0', + `DurationIndex` int(10) unsigned NOT NULL DEFAULT '0', + `RangeIndex` int(10) unsigned NOT NULL DEFAULT '0', + `Speed` float NOT NULL DEFAULT '0', + `SpellVisualID1` int(10) unsigned NOT NULL DEFAULT '0', + `SpellVisualID2` int(10) unsigned NOT NULL DEFAULT '0', + `SpellIconID` int(10) unsigned NOT NULL DEFAULT '0', + `ActiveIconID` int(10) unsigned NOT NULL DEFAULT '0', + `SchoolMask` int(10) unsigned NOT NULL DEFAULT '0', + `MultistrikeSpeedMod` float NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_power` +-- + +DROP TABLE IF EXISTS `spell_power`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_power` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `SpellID` int(10) unsigned NOT NULL DEFAULT '0', + `PowerIndex` int(10) unsigned NOT NULL DEFAULT '0', + `PowerType` int(10) unsigned NOT NULL DEFAULT '0', + `ManaCost` int(10) unsigned NOT NULL DEFAULT '0', + `ManaCostPerLevel` int(10) unsigned NOT NULL DEFAULT '0', + `ManaCostPerSecond` int(10) unsigned NOT NULL DEFAULT '0', + `ManaCostAdditional` int(10) unsigned NOT NULL DEFAULT '0', + `PowerDisplayID` int(10) unsigned NOT NULL DEFAULT '0', + `UnitPowerBarID` int(10) unsigned NOT NULL DEFAULT '0', + `ManaCostPercentage` float NOT NULL DEFAULT '0', + `ManaCostPercentagePerSecond` float NOT NULL DEFAULT '0', + `RequiredAura` int(10) unsigned NOT NULL DEFAULT '0', + `HealthCostPercentage` float NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_power_difficulty` +-- + +DROP TABLE IF EXISTS `spell_power_difficulty`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_power_difficulty` ( + `SpellPowerID` int(10) unsigned NOT NULL DEFAULT '0', + `DifficultyID` int(10) unsigned NOT NULL DEFAULT '0', + `PowerIndex` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`SpellPowerID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_reagents` +-- + +DROP TABLE IF EXISTS `spell_reagents`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_reagents` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `Reagent1` int(11) NOT NULL DEFAULT '0', + `Reagent2` int(11) NOT NULL DEFAULT '0', + `Reagent3` int(11) NOT NULL DEFAULT '0', + `Reagent4` int(11) NOT NULL DEFAULT '0', + `Reagent5` int(11) NOT NULL DEFAULT '0', + `Reagent6` int(11) NOT NULL DEFAULT '0', + `Reagent7` int(11) NOT NULL DEFAULT '0', + `Reagent8` int(11) NOT NULL DEFAULT '0', + `ReagentCount1` int(10) unsigned NOT NULL DEFAULT '0', + `ReagentCount2` int(10) unsigned NOT NULL DEFAULT '0', + `ReagentCount3` int(10) unsigned NOT NULL DEFAULT '0', + `ReagentCount4` int(10) unsigned NOT NULL DEFAULT '0', + `ReagentCount5` int(10) unsigned NOT NULL DEFAULT '0', + `ReagentCount6` int(10) unsigned NOT NULL DEFAULT '0', + `ReagentCount7` int(10) unsigned NOT NULL DEFAULT '0', + `ReagentCount8` int(10) unsigned NOT NULL DEFAULT '0', + `CurrencyID` int(10) unsigned NOT NULL DEFAULT '0', + `CurrencyCount` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_rune_cost` +-- + +DROP TABLE IF EXISTS `spell_rune_cost`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_rune_cost` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `Blood` int(10) unsigned NOT NULL DEFAULT '0', + `Unholy` int(10) unsigned NOT NULL DEFAULT '0', + `Frost` int(10) unsigned NOT NULL DEFAULT '0', + `Chromatic` int(10) unsigned NOT NULL DEFAULT '0', + `RunicPower` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `spell_totems` +-- + +DROP TABLE IF EXISTS `spell_totems`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_totems` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredTotemCategoryID1` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredTotemCategoryID2` int(10) unsigned NOT NULL DEFAULT '0', + `Totem1` int(10) unsigned NOT NULL DEFAULT '0', + `Totem2` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `taxi_nodes` +-- + +DROP TABLE IF EXISTS `taxi_nodes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `taxi_nodes` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `MapID` int(10) unsigned NOT NULL DEFAULT '0', + `PosX` float NOT NULL DEFAULT '0', + `PosY` float NOT NULL DEFAULT '0', + `PosZ` float NOT NULL DEFAULT '0', + `Name` text, + `MountCreatureID1` int(10) unsigned NOT NULL DEFAULT '0', + `MountCreatureID2` int(10) unsigned NOT NULL DEFAULT '0', + `ConditionID` int(10) unsigned NOT NULL DEFAULT '0', + `LearnableIndex` int(10) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `MapOffsetX` float NOT NULL DEFAULT '0', + `MapOffsetY` float NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `taxi_nodes_locale` +-- + +DROP TABLE IF EXISTS `taxi_nodes_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `taxi_nodes_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) NOT NULL, + `Name_lang` text, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `taxi_path` +-- + +DROP TABLE IF EXISTS `taxi_path`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `taxi_path` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `From` int(10) unsigned NOT NULL DEFAULT '0', + `To` int(10) unsigned NOT NULL DEFAULT '0', + `Cost` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `taxi_path_node` +-- + +DROP TABLE IF EXISTS `taxi_path_node`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `taxi_path_node` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `PathID` int(10) unsigned NOT NULL DEFAULT '0', + `NodeIndex` int(10) unsigned NOT NULL DEFAULT '0', + `MapID` int(10) unsigned NOT NULL DEFAULT '0', + `LocX` float NOT NULL DEFAULT '0', + `LocY` float NOT NULL DEFAULT '0', + `LocZ` float NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `Delay` int(10) unsigned NOT NULL DEFAULT '0', + `ArrivalEventID` int(10) unsigned NOT NULL DEFAULT '0', + `DepartureEventID` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `updates` +-- + +DROP TABLE IF EXISTS `updates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `updates` ( + `name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.', + `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', + `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + PRIMARY KEY (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `updates_include` +-- + +DROP TABLE IF EXISTS `updates_include`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `updates_include` ( + `path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + PRIMARY KEY (`path`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.'; +/*!40101 SET character_set_client = @saved_cs_client */; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2015-03-21 16:07:14 diff --git a/sql/base/dev/world_database.sql b/sql/base/dev/world_database.sql index 76c899b6aed..76a07e6a56d 100644 --- a/sql/base/dev/world_database.sql +++ b/sql/base/dev/world_database.sql @@ -1,8 +1,8 @@ --- MySQL dump 10.15 Distrib 10.0.13-MariaDB, for Win64 (x86) +-- MySQL dump 10.13 Distrib 5.6.9-rc, for Win64 (x86_64) -- -- Host: localhost Database: world -- ------------------------------------------------------ --- Server version 10.0.13-MariaDB +-- Server version 5.6.9-rc /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -144,16 +144,11 @@ DROP TABLE IF EXISTS `areatrigger_teleport`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `areatrigger_teleport` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `name` text, - `target_map` smallint(5) unsigned NOT NULL DEFAULT '0', - `target_position_x` float NOT NULL DEFAULT '0', - `target_position_y` float NOT NULL DEFAULT '0', - `target_position_z` float NOT NULL DEFAULT '0', - `target_orientation` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`id`), - FULLTEXT KEY `name` (`name`) + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PortLocID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Name` text, + PRIMARY KEY (`ID`), + FULLTEXT KEY `name` (`Name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -197,28 +192,16 @@ CREATE TABLE `battlemaster_entry` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `broadcast_text` +-- Table structure for table `class_expansion_requirement` -- -DROP TABLE IF EXISTS `broadcast_text`; +DROP TABLE IF EXISTS `class_expansion_requirement`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `broadcast_text` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Language` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MaleText` longtext, - `FemaleText` longtext, - `EmoteID0` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteID1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteID2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteDelay0` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteDelay1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteDelay2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `SoundId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Unk1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Unk2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`ID`) +CREATE TABLE `class_expansion_requirement` ( + `classID` tinyint(3) unsigned NOT NULL DEFAULT '0', + `expansion` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`classID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -272,12 +255,12 @@ DROP TABLE IF EXISTS `creature`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature` ( - `guid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Creature Identifier', `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', `zoneId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier', `areaId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Area Identifier', - `spawnMask` tinyint(3) unsigned NOT NULL DEFAULT '1', + `spawnMask` int(10) unsigned NOT NULL DEFAULT '1', `phaseMask` int(10) unsigned NOT NULL DEFAULT '1', `PhaseId` int(10) DEFAULT '0', `PhaseGroup` int(10) DEFAULT '0', @@ -311,7 +294,7 @@ DROP TABLE IF EXISTS `creature_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_addon` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `path_id` int(10) unsigned NOT NULL DEFAULT '0', `mount` mediumint(8) unsigned NOT NULL DEFAULT '0', `bytes1` int(10) unsigned NOT NULL DEFAULT '0', @@ -332,10 +315,6 @@ DROP TABLE IF EXISTS `creature_classlevelstats`; CREATE TABLE `creature_classlevelstats` ( `level` tinyint(4) NOT NULL, `class` tinyint(4) NOT NULL, - `basehp0` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basehp1` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basehp2` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basehp3` mediumint(8) unsigned NOT NULL DEFAULT '1', `basemana` mediumint(8) unsigned NOT NULL DEFAULT '1', `basearmor` mediumint(8) unsigned NOT NULL DEFAULT '1', `attackpower` smallint(6) NOT NULL DEFAULT '0', @@ -344,6 +323,8 @@ CREATE TABLE `creature_classlevelstats` ( `damage_exp1` float NOT NULL DEFAULT '0', `damage_exp2` float NOT NULL DEFAULT '0', `damage_exp3` float NOT NULL DEFAULT '0', + `damage_exp4` float NOT NULL DEFAULT '0', + `damage_exp5` float NOT NULL DEFAULT '0', `comment` text, PRIMARY KEY (`level`,`class`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -375,8 +356,8 @@ DROP TABLE IF EXISTS `creature_formations`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_formations` ( - `leaderGUID` int(10) unsigned NOT NULL, - `memberGUID` int(10) unsigned NOT NULL, + `leaderGUID` bigint(20) unsigned NOT NULL DEFAULT '0', + `memberGUID` bigint(20) unsigned NOT NULL DEFAULT '0', `dist` float unsigned NOT NULL, `angle` float unsigned NOT NULL, `groupAI` int(10) unsigned NOT NULL, @@ -416,12 +397,11 @@ DROP TABLE IF EXISTS `creature_model_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_model_info` ( - `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `bounding_radius` float NOT NULL DEFAULT '0', - `combat_reach` float NOT NULL DEFAULT '0', - `gender` tinyint(3) unsigned NOT NULL DEFAULT '2', - `modelid_other_gender` mediumint(8) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`modelid`) + `DisplayID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `BoundingRadius` float NOT NULL DEFAULT '0', + `CombatReach` float NOT NULL DEFAULT '0', + `DisplayID_Other_Gender` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`DisplayID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Creature System (Model related info)'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -514,13 +494,13 @@ CREATE TABLE `creature_template` ( `modelid2` mediumint(8) unsigned NOT NULL DEFAULT '0', `modelid3` mediumint(8) unsigned NOT NULL DEFAULT '0', `modelid4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `name` char(100) NOT NULL DEFAULT '0', - `femaleName` char(100) NOT NULL, - `subname` char(100) DEFAULT NULL, + `name` char(200) NOT NULL DEFAULT '0', + `femaleName` char(200) NOT NULL, + `subname` char(200) DEFAULT NULL, `IconName` char(100) DEFAULT NULL, `gossip_menu_id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `minlevel` tinyint(3) unsigned NOT NULL DEFAULT '1', - `maxlevel` tinyint(3) unsigned NOT NULL DEFAULT '1', + `minlevel` smallint(5) NOT NULL DEFAULT '1', + `maxlevel` smallint(5) NOT NULL DEFAULT '1', `exp` smallint(6) NOT NULL DEFAULT '0', `exp_unk` smallint(2) NOT NULL DEFAULT '0', `faction` smallint(5) unsigned NOT NULL DEFAULT '0', @@ -538,7 +518,7 @@ CREATE TABLE `creature_template` ( `unit_flags` int(10) unsigned NOT NULL DEFAULT '0', `unit_flags2` int(10) unsigned NOT NULL DEFAULT '0', `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0', - `family` tinyint(4) NOT NULL DEFAULT '0', + `family` tinyint(3) unsigned NOT NULL DEFAULT '0', `trainer_type` tinyint(4) NOT NULL DEFAULT '0', `trainer_class` tinyint(3) unsigned NOT NULL DEFAULT '0', `trainer_race` tinyint(3) unsigned NOT NULL DEFAULT '0', @@ -812,7 +792,7 @@ DROP TABLE IF EXISTS `game_event_creature`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_creature` ( `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', - `guid` int(10) unsigned NOT NULL, + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -841,7 +821,7 @@ DROP TABLE IF EXISTS `game_event_gameobject`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_gameobject` ( `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', - `guid` int(10) unsigned NOT NULL, + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -870,7 +850,7 @@ DROP TABLE IF EXISTS `game_event_model_equip`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_model_equip` ( `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.', - `guid` int(10) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) @@ -886,7 +866,7 @@ DROP TABLE IF EXISTS `game_event_npc_vendor`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_npc_vendor` ( `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.', - `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `slot` smallint(6) NOT NULL DEFAULT '0', `item` mediumint(8) unsigned NOT NULL DEFAULT '0', `maxcount` mediumint(8) unsigned NOT NULL DEFAULT '0', @@ -907,7 +887,7 @@ DROP TABLE IF EXISTS `game_event_npcflag`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_npcflag` ( `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', - `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `npcflag` int(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -973,21 +953,6 @@ CREATE TABLE `game_event_seasonal_questrelation` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `game_graveyard_zone` --- - -DROP TABLE IF EXISTS `game_graveyard_zone`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `game_graveyard_zone` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ghost_zone` mediumint(8) unsigned NOT NULL DEFAULT '0', - `faction` smallint(5) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`id`,`ghost_zone`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Trigger System'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `game_tele` -- @@ -1003,7 +968,7 @@ CREATE TABLE `game_tele` ( `map` smallint(5) unsigned NOT NULL DEFAULT '0', `name` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=1524 DEFAULT CHARSET=utf8 COMMENT='Tele Command'; +) ENGINE=MyISAM AUTO_INCREMENT=1575 DEFAULT CHARSET=utf8 COMMENT='Tele Command'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1040,12 +1005,12 @@ DROP TABLE IF EXISTS `gameobject`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gameobject` ( - `guid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Gameobject Identifier', `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', `zoneId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier', `areaId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Area Identifier', - `spawnMask` tinyint(3) unsigned NOT NULL DEFAULT '1', + `spawnMask` int(10) unsigned NOT NULL DEFAULT '1', `phaseMask` int(10) unsigned NOT NULL DEFAULT '1', `PhaseId` int(10) DEFAULT '0', `PhaseGroup` int(10) DEFAULT '0', @@ -1139,38 +1104,39 @@ CREATE TABLE `gameobject_template` ( `questItem4` int(11) unsigned NOT NULL DEFAULT '0', `questItem5` int(11) unsigned NOT NULL DEFAULT '0', `questItem6` int(11) unsigned NOT NULL DEFAULT '0', - `data0` int(10) unsigned NOT NULL DEFAULT '0', - `data1` int(11) NOT NULL DEFAULT '-1', - `data2` int(10) unsigned NOT NULL DEFAULT '0', - `data3` int(10) unsigned NOT NULL DEFAULT '0', - `data4` int(10) unsigned NOT NULL DEFAULT '0', - `data5` int(10) unsigned NOT NULL DEFAULT '0', - `data6` int(11) NOT NULL DEFAULT '-1', - `data7` int(10) unsigned NOT NULL DEFAULT '0', - `data8` int(10) unsigned NOT NULL DEFAULT '0', - `data9` int(10) unsigned NOT NULL DEFAULT '0', - `data10` int(10) unsigned NOT NULL DEFAULT '0', - `data11` int(10) unsigned NOT NULL DEFAULT '0', - `data12` int(10) unsigned NOT NULL DEFAULT '0', - `data13` int(10) unsigned NOT NULL DEFAULT '0', - `data14` int(10) unsigned NOT NULL DEFAULT '0', - `data15` int(10) unsigned NOT NULL DEFAULT '0', - `data16` int(10) unsigned NOT NULL DEFAULT '0', - `data17` int(10) unsigned NOT NULL DEFAULT '0', - `data18` int(10) unsigned NOT NULL DEFAULT '0', - `data19` int(10) unsigned NOT NULL DEFAULT '0', - `data20` int(10) unsigned NOT NULL DEFAULT '0', - `data21` int(10) unsigned NOT NULL DEFAULT '0', - `data22` int(10) unsigned NOT NULL DEFAULT '0', - `data23` int(10) unsigned NOT NULL DEFAULT '0', - `data24` int(10) NOT NULL DEFAULT '0', - `data25` int(10) NOT NULL DEFAULT '0', - `data26` int(10) NOT NULL DEFAULT '0', - `data27` int(10) NOT NULL DEFAULT '0', - `data28` int(10) NOT NULL DEFAULT '0', - `data29` int(10) NOT NULL DEFAULT '0', - `data30` int(10) NOT NULL DEFAULT '0', - `data31` int(10) NOT NULL DEFAULT '0', + `Data0` int(10) NOT NULL DEFAULT '0', + `Data1` int(10) NOT NULL DEFAULT '0', + `Data2` int(10) NOT NULL DEFAULT '0', + `Data3` int(10) NOT NULL DEFAULT '0', + `Data4` int(10) NOT NULL DEFAULT '0', + `Data5` int(10) NOT NULL DEFAULT '0', + `Data6` int(10) NOT NULL DEFAULT '0', + `Data7` int(10) NOT NULL DEFAULT '0', + `Data8` int(10) NOT NULL DEFAULT '0', + `Data9` int(10) NOT NULL DEFAULT '0', + `Data10` int(10) NOT NULL DEFAULT '0', + `Data11` int(10) NOT NULL DEFAULT '0', + `Data12` int(10) NOT NULL DEFAULT '0', + `Data13` int(10) NOT NULL DEFAULT '0', + `Data14` int(10) NOT NULL DEFAULT '0', + `Data15` int(10) NOT NULL DEFAULT '0', + `Data16` int(10) NOT NULL DEFAULT '0', + `Data17` int(10) NOT NULL DEFAULT '0', + `Data18` int(10) NOT NULL DEFAULT '0', + `Data19` int(10) NOT NULL DEFAULT '0', + `Data20` int(10) NOT NULL DEFAULT '0', + `Data21` int(10) NOT NULL DEFAULT '0', + `Data22` int(10) NOT NULL DEFAULT '0', + `Data23` int(10) NOT NULL DEFAULT '0', + `Data24` int(10) NOT NULL DEFAULT '0', + `Data25` int(10) NOT NULL DEFAULT '0', + `Data26` int(10) NOT NULL DEFAULT '0', + `Data27` int(10) NOT NULL DEFAULT '0', + `Data28` int(10) NOT NULL DEFAULT '0', + `Data29` int(10) NOT NULL DEFAULT '0', + `Data30` int(10) NOT NULL DEFAULT '0', + `Data31` int(10) NOT NULL DEFAULT '0', + `Data32` int(10) NOT NULL DEFAULT '0', `unkInt32` int(10) NOT NULL DEFAULT '0', `AIName` char(64) NOT NULL DEFAULT '', `ScriptName` varchar(64) NOT NULL DEFAULT '', @@ -1220,17 +1186,19 @@ CREATE TABLE `gossip_menu_option` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `graveyard_orientation` +-- Table structure for table `graveyard_zone` -- -DROP TABLE IF EXISTS `graveyard_orientation`; +DROP TABLE IF EXISTS `graveyard_zone`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `graveyard_orientation` ( - `Id` int(10) unsigned NOT NULL DEFAULT '0', - `Orientation` float NOT NULL DEFAULT '0', - PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Orientations used by graveyards'; +CREATE TABLE `graveyard_zone` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `GhostZone` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Faction` smallint(5) unsigned NOT NULL DEFAULT '0', + `Comment` text, + PRIMARY KEY (`ID`,`GhostZone`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1241,41 +1209,25 @@ DROP TABLE IF EXISTS `guild_rewards`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `guild_rewards` ( - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `standing` tinyint(3) unsigned DEFAULT '0', - `racemask` int(11) DEFAULT '0', - `price` bigint(20) unsigned DEFAULT '0', - `achievement` int(10) unsigned DEFAULT '0', - PRIMARY KEY (`entry`) + `ItemID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `MinGuildRep` tinyint(3) unsigned DEFAULT '0', + `RaceMask` int(11) DEFAULT '0', + `Cost` bigint(20) unsigned DEFAULT '0', + PRIMARY KEY (`ItemID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `guild_xp_for_level` +-- Table structure for table `guild_rewards_req_achievements` -- -DROP TABLE IF EXISTS `guild_xp_for_level`; +DROP TABLE IF EXISTS `guild_rewards_req_achievements`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `guild_xp_for_level` ( - `lvl` tinyint(3) unsigned NOT NULL, - `xp_for_next_level` int(10) unsigned NOT NULL, - PRIMARY KEY (`lvl`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `hotfix_data` --- - -DROP TABLE IF EXISTS `hotfix_data`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `hotfix_data` ( - `entry` int(10) unsigned NOT NULL, - `type` int(10) unsigned NOT NULL DEFAULT '0', - `hotfixDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - PRIMARY KEY (`entry`,`type`,`hotfixDate`) +CREATE TABLE `guild_rewards_req_achievements` ( + `ItemID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `AchievementRequired` mediumint(8) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`ItemID`,`AchievementRequired`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1364,157 +1316,6 @@ CREATE TABLE `item_script_names` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `item_template` --- - -DROP TABLE IF EXISTS `item_template`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `item_template` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `subclass` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SoundOverrideSubclass` tinyint(3) NOT NULL DEFAULT '-1', - `name` varchar(255) NOT NULL DEFAULT '', - `displayid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `FlagsExtra` int(10) unsigned NOT NULL DEFAULT '0', - `Unk430_1` float unsigned NOT NULL DEFAULT '1', - `Unk430_2` float NOT NULL DEFAULT '1', - `BuyCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `BuyPrice` bigint(20) NOT NULL DEFAULT '0', - `SellPrice` int(10) unsigned NOT NULL DEFAULT '0', - `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllowableClass` int(11) NOT NULL DEFAULT '-1', - `AllowableRace` int(11) NOT NULL DEFAULT '-1', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `requiredspell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `requiredhonorrank` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredCityRank` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredReputationFaction` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredReputationRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `maxcount` int(11) NOT NULL DEFAULT '0', - `stackable` int(11) DEFAULT '1', - `ContainerSlots` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_type1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value1` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_1` int(11) NOT NULL DEFAULT '0', - `stat_unk2_1` int(11) NOT NULL DEFAULT '0', - `stat_type2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value2` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_2` int(11) NOT NULL DEFAULT '0', - `stat_unk2_2` int(11) NOT NULL DEFAULT '0', - `stat_type3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value3` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_3` int(11) NOT NULL DEFAULT '0', - `stat_unk2_3` int(11) NOT NULL DEFAULT '0', - `stat_type4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value4` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_4` int(11) NOT NULL DEFAULT '0', - `stat_unk2_4` int(11) NOT NULL DEFAULT '0', - `stat_type5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value5` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_5` int(11) NOT NULL DEFAULT '0', - `stat_unk2_5` int(11) NOT NULL DEFAULT '0', - `stat_type6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value6` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_6` int(11) NOT NULL DEFAULT '0', - `stat_unk2_6` int(11) NOT NULL DEFAULT '0', - `stat_type7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value7` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_7` int(11) NOT NULL DEFAULT '0', - `stat_unk2_7` int(11) NOT NULL DEFAULT '0', - `stat_type8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value8` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_8` int(11) NOT NULL DEFAULT '0', - `stat_unk2_8` int(11) NOT NULL DEFAULT '0', - `stat_type9` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value9` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_9` int(11) NOT NULL DEFAULT '0', - `stat_unk2_9` int(11) NOT NULL DEFAULT '0', - `stat_type10` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value10` smallint(6) NOT NULL DEFAULT '0', - `stat_unk1_10` int(11) NOT NULL DEFAULT '0', - `stat_unk2_10` int(11) NOT NULL DEFAULT '0', - `ScalingStatDistribution` smallint(6) NOT NULL DEFAULT '0', - `DamageType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `delay` smallint(5) unsigned NOT NULL DEFAULT '1000', - `RangedModRange` float NOT NULL DEFAULT '0', - `spellid_1` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_1` smallint(6) NOT NULL DEFAULT '0', - `spellcooldown_1` int(11) NOT NULL DEFAULT '-1', - `spellcategory_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_1` int(11) NOT NULL DEFAULT '-1', - `spellid_2` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_2` smallint(6) NOT NULL DEFAULT '0', - `spellcooldown_2` int(11) NOT NULL DEFAULT '-1', - `spellcategory_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_2` int(11) NOT NULL DEFAULT '-1', - `spellid_3` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_3` smallint(6) NOT NULL DEFAULT '0', - `spellcooldown_3` int(11) NOT NULL DEFAULT '-1', - `spellcategory_3` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_3` int(11) NOT NULL DEFAULT '-1', - `spellid_4` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_4` smallint(6) NOT NULL DEFAULT '0', - `spellcooldown_4` int(11) NOT NULL DEFAULT '-1', - `spellcategory_4` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_4` int(11) NOT NULL DEFAULT '-1', - `spellid_5` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_5` smallint(6) NOT NULL DEFAULT '0', - `spellcooldown_5` int(11) NOT NULL DEFAULT '-1', - `spellcategory_5` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_5` int(11) NOT NULL DEFAULT '-1', - `bonding` tinyint(3) unsigned NOT NULL DEFAULT '0', - `description` varchar(255) NOT NULL DEFAULT '', - `PageText` mediumint(8) unsigned NOT NULL DEFAULT '0', - `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PageMaterial` tinyint(3) unsigned NOT NULL DEFAULT '0', - `startquest` mediumint(8) unsigned NOT NULL DEFAULT '0', - `lockid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Material` tinyint(4) NOT NULL DEFAULT '0', - `sheath` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RandomProperty` mediumint(8) NOT NULL DEFAULT '0', - `RandomSuffix` mediumint(8) unsigned NOT NULL DEFAULT '0', - `itemset` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MaxDurability` smallint(5) unsigned NOT NULL DEFAULT '0', - `area` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Map` smallint(6) NOT NULL DEFAULT '0', - `BagFamily` mediumint(8) NOT NULL DEFAULT '0', - `TotemCategory` mediumint(8) NOT NULL DEFAULT '0', - `socketColor_1` tinyint(4) NOT NULL DEFAULT '0', - `socketContent_1` mediumint(8) NOT NULL DEFAULT '0', - `socketColor_2` tinyint(4) NOT NULL DEFAULT '0', - `socketContent_2` mediumint(8) NOT NULL DEFAULT '0', - `socketColor_3` tinyint(4) NOT NULL DEFAULT '0', - `socketContent_3` mediumint(8) NOT NULL DEFAULT '0', - `socketBonus` mediumint(8) NOT NULL DEFAULT '0', - `GemProperties` mediumint(8) NOT NULL DEFAULT '0', - `ArmorDamageModifier` float NOT NULL DEFAULT '0', - `duration` int(10) unsigned NOT NULL DEFAULT '0', - `ItemLimitCategory` smallint(6) NOT NULL DEFAULT '0', - `HolidayId` int(11) unsigned NOT NULL DEFAULT '0', - `StatScalingFactor` float NOT NULL DEFAULT '0', - `CurrencySubstitutionId` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencySubstitutionCount` int(10) unsigned NOT NULL DEFAULT '0', - `flagsCustom` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`entry`), - KEY `idx_name` (`name`), - KEY `items_index` (`class`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `item_template_addon` -- @@ -1533,51 +1334,6 @@ CREATE TABLE `item_template_addon` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `keychain_db2` --- - -DROP TABLE IF EXISTS `keychain_db2`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `keychain_db2` ( - `keyId` int(10) unsigned NOT NULL DEFAULT '0', - `k1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k9` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k10` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k11` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k12` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k13` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k14` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k15` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k16` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k17` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k18` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k19` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k20` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k21` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k22` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k23` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k24` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k25` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k26` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k27` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k28` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k29` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k30` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k31` tinyint(3) unsigned NOT NULL DEFAULT '0', - `k32` tinyint(3) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`keyId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `lfg_dungeon_rewards` -- @@ -1621,8 +1377,8 @@ DROP TABLE IF EXISTS `linked_respawn`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `linked_respawn` ( - `guid` int(10) unsigned NOT NULL COMMENT 'dependent creature', - `linkedGuid` int(10) unsigned NOT NULL COMMENT 'master creature', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', + `linkedGuid` bigint(20) unsigned NOT NULL DEFAULT '0', `linkType` tinyint(3) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`linkType`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature Respawn Link System'; @@ -1658,36 +1414,6 @@ CREATE TABLE `locales_achievement_reward` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `locales_broadcast_text` --- - -DROP TABLE IF EXISTS `locales_broadcast_text`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `locales_broadcast_text` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MaleText_loc1` longtext, - `MaleText_loc2` longtext, - `MaleText_loc3` longtext, - `MaleText_loc4` longtext, - `MaleText_loc5` longtext, - `MaleText_loc6` longtext, - `MaleText_loc7` longtext, - `MaleText_loc8` longtext, - `FemaleText_loc1` longtext, - `FemaleText_loc2` longtext, - `FemaleText_loc3` longtext, - `FemaleText_loc4` longtext, - `FemaleText_loc5` longtext, - `FemaleText_loc6` longtext, - `FemaleText_loc7` longtext, - `FemaleText_loc8` longtext, - `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `locales_creature` -- @@ -1809,36 +1535,6 @@ CREATE TABLE `locales_gossip_menu_option` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `locales_item` --- - -DROP TABLE IF EXISTS `locales_item`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `locales_item` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `name_loc1` varchar(100) NOT NULL DEFAULT '', - `name_loc2` varchar(100) NOT NULL DEFAULT '', - `name_loc3` varchar(100) NOT NULL DEFAULT '', - `name_loc4` varchar(100) NOT NULL DEFAULT '', - `name_loc5` varchar(100) NOT NULL DEFAULT '', - `name_loc6` varchar(100) NOT NULL DEFAULT '', - `name_loc7` varchar(100) NOT NULL DEFAULT '', - `name_loc8` varchar(100) NOT NULL DEFAULT '', - `description_loc1` varchar(255) DEFAULT NULL, - `description_loc2` varchar(255) DEFAULT NULL, - `description_loc3` varchar(255) DEFAULT NULL, - `description_loc4` varchar(255) DEFAULT NULL, - `description_loc5` varchar(255) DEFAULT NULL, - `description_loc6` varchar(255) DEFAULT NULL, - `description_loc7` varchar(255) DEFAULT NULL, - `description_loc8` varchar(255) DEFAULT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `locales_npc_text` -- @@ -1987,7 +1683,7 @@ DROP TABLE IF EXISTS `locales_page_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `locales_page_text` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', `Text_loc1` longtext, `Text_loc2` longtext, `Text_loc3` longtext, @@ -1996,7 +1692,7 @@ CREATE TABLE `locales_page_text` ( `Text_loc6` longtext, `Text_loc7` longtext, `Text_loc8` longtext, - PRIMARY KEY (`entry`) + PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2008,16 +1704,16 @@ DROP TABLE IF EXISTS `locales_points_of_interest`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `locales_points_of_interest` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `icon_name_loc1` text, - `icon_name_loc2` text, - `icon_name_loc3` text, - `icon_name_loc4` text, - `icon_name_loc5` text, - `icon_name_loc6` text, - `icon_name_loc7` text, - `icon_name_loc8` text, - PRIMARY KEY (`entry`) + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Name_loc1` text, + `Name_loc2` text, + `Name_loc3` text, + `Name_loc4` text, + `Name_loc5` text, + `Name_loc6` text, + `Name_loc7` text, + `Name_loc8` text, + PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2341,13 +2037,13 @@ DROP TABLE IF EXISTS `npc_trainer`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `npc_trainer` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell` mediumint(8) NOT NULL DEFAULT '0', - `spellcost` int(10) unsigned NOT NULL DEFAULT '0', - `reqskill` smallint(5) unsigned NOT NULL DEFAULT '0', - `reqskillvalue` smallint(5) unsigned NOT NULL DEFAULT '0', - `reqlevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`entry`,`spell`) + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `SpellID` mediumint(8) NOT NULL DEFAULT '0', + `MoneyCost` int(10) unsigned NOT NULL DEFAULT '0', + `ReqSkillLine` smallint(5) unsigned NOT NULL DEFAULT '0', + `ReqSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0', + `ReqLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`SpellID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2395,11 +2091,11 @@ DROP TABLE IF EXISTS `page_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_text` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `text` longtext NOT NULL, - `next_page` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Text` longtext, + `NextPageID` mediumint(8) unsigned NOT NULL DEFAULT '0', `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`entry`) + PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2597,11 +2293,11 @@ CREATE TABLE `player_levelstats` ( `race` tinyint(3) unsigned NOT NULL, `class` tinyint(3) unsigned NOT NULL, `level` tinyint(3) unsigned NOT NULL, - `str` tinyint(3) unsigned NOT NULL, - `agi` tinyint(3) unsigned NOT NULL, - `sta` tinyint(3) unsigned NOT NULL, - `inte` tinyint(3) unsigned NOT NULL, - `spi` tinyint(3) unsigned NOT NULL, + `str` smallint(6) unsigned NOT NULL COMMENT 'strength', + `agi` smallint(6) unsigned NOT NULL COMMENT 'agility', + `sta` smallint(6) unsigned NOT NULL COMMENT 'stamina', + `inte` smallint(6) unsigned NOT NULL COMMENT 'intellect', + `spi` smallint(6) unsigned NOT NULL COMMENT 'spirit', PRIMARY KEY (`race`,`class`,`level`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2614,9 +2310,9 @@ DROP TABLE IF EXISTS `player_xp_for_level`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `player_xp_for_level` ( - `lvl` tinyint(3) unsigned NOT NULL, - `xp_for_next_level` int(10) unsigned NOT NULL, - PRIMARY KEY (`lvl`) + `Level` tinyint(3) unsigned NOT NULL, + `Experience` float unsigned NOT NULL, + PRIMARY KEY (`Level`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2691,23 +2387,6 @@ CREATE TABLE `playercreateinfo_item` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `playercreateinfo_skills` --- - -DROP TABLE IF EXISTS `playercreateinfo_skills`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `playercreateinfo_skills` ( - `raceMask` int(10) unsigned NOT NULL, - `classMask` int(10) unsigned NOT NULL, - `skill` smallint(5) unsigned NOT NULL, - `rank` smallint(5) unsigned NOT NULL DEFAULT '0', - `comment` varchar(255) DEFAULT NULL, - PRIMARY KEY (`raceMask`,`classMask`,`skill`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `playercreateinfo_spell_custom` -- @@ -2731,15 +2410,15 @@ DROP TABLE IF EXISTS `points_of_interest`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `points_of_interest` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `x` float NOT NULL DEFAULT '0', - `y` float NOT NULL DEFAULT '0', - `icon` mediumint(8) unsigned NOT NULL DEFAULT '0', - `flags` mediumint(8) unsigned NOT NULL DEFAULT '0', - `data` mediumint(8) unsigned NOT NULL DEFAULT '0', - `icon_name` text NOT NULL, + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PositionX` float NOT NULL DEFAULT '0', + `PositionY` float NOT NULL DEFAULT '0', + `Icon` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Flags` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Importance` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Name` text, `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`entry`) + PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2751,7 +2430,7 @@ DROP TABLE IF EXISTS `pool_creature`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pool_creature` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `chance` float unsigned NOT NULL DEFAULT '0', `description` varchar(255) DEFAULT NULL, @@ -2768,7 +2447,7 @@ DROP TABLE IF EXISTS `pool_gameobject`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pool_gameobject` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `chance` float unsigned NOT NULL DEFAULT '0', `description` varchar(255) DEFAULT NULL, @@ -2847,6 +2526,91 @@ CREATE TABLE `prospecting_loot_template` ( /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `quest_details` +-- + +DROP TABLE IF EXISTS `quest_details`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_details` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Emote1` smallint(5) unsigned NOT NULL DEFAULT '0', + `Emote2` smallint(5) unsigned NOT NULL DEFAULT '0', + `Emote3` smallint(5) unsigned NOT NULL DEFAULT '0', + `Emote4` smallint(5) unsigned NOT NULL DEFAULT '0', + `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `quest_greeting` +-- + +DROP TABLE IF EXISTS `quest_greeting`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_greeting` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `GreetEmoteType` smallint(5) unsigned NOT NULL DEFAULT '0', + `GreetEmoteDelay` int(10) unsigned NOT NULL DEFAULT '0', + `Greeting` text, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`Type`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `quest_objectives` +-- + +DROP TABLE IF EXISTS `quest_objectives`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_objectives` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `QuestID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `StorageIndex` tinyint(3) NOT NULL DEFAULT '0', + `ObjectID` int(10) NOT NULL DEFAULT '0', + `Amount` int(10) NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `UnkFloat` float NOT NULL DEFAULT '0', + `Description` text, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `quest_offer_reward` +-- + +DROP TABLE IF EXISTS `quest_offer_reward`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_offer_reward` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Emote1` smallint(5) unsigned NOT NULL DEFAULT '0', + `Emote2` smallint(5) unsigned NOT NULL DEFAULT '0', + `Emote3` smallint(5) unsigned NOT NULL DEFAULT '0', + `Emote4` smallint(5) unsigned NOT NULL DEFAULT '0', + `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', + `RewardText` text, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `quest_poi` -- @@ -2887,6 +2651,25 @@ CREATE TABLE `quest_poi_points` ( /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `quest_request_items` +-- + +DROP TABLE IF EXISTS `quest_request_items`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_request_items` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `EmoteOnComplete` smallint(5) unsigned NOT NULL DEFAULT '0', + `EmoteOnIncomplete` smallint(5) unsigned NOT NULL DEFAULT '0', + `EmoteOnCompleteDelay` int(10) unsigned NOT NULL DEFAULT '0', + `EmoteOnIncompleteDelay` int(10) unsigned NOT NULL DEFAULT '0', + `CompletionText` text, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `quest_template` -- @@ -2894,177 +2677,173 @@ DROP TABLE IF EXISTS `quest_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_template` ( - `Id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Method` tinyint(3) unsigned NOT NULL DEFAULT '2', - `Level` smallint(3) NOT NULL DEFAULT '1', - `MinLevel` smallint(6) NOT NULL DEFAULT '0', - `MaxLevel` smallint(6) NOT NULL DEFAULT '0', - `ZoneOrSort` smallint(6) NOT NULL DEFAULT '0', - `Type` smallint(5) unsigned NOT NULL DEFAULT '0', - `SuggestedPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LimitTime` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredClasses` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredRaces` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredSkillId` smallint(5) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `QuestType` tinyint(3) unsigned NOT NULL DEFAULT '2', + `QuestLevel` int(11) NOT NULL DEFAULT '-1', + `QuestPackageID` int(10) unsigned NOT NULL DEFAULT '0', + `MinLevel` int(11) NOT NULL DEFAULT '0', + `QuestSortID` smallint(6) NOT NULL DEFAULT '0', + `QuestInfoID` smallint(5) unsigned NOT NULL DEFAULT '0', + `SuggestedGroupNum` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RewardNextQuest` int(10) unsigned NOT NULL DEFAULT '0', + `RewardXPDifficulty` int(10) unsigned NOT NULL DEFAULT '0', + `Float10` float NOT NULL DEFAULT '1', + `RewardMoney` int(11) NOT NULL DEFAULT '0', + `RewardMoneyDifficulty` int(10) unsigned NOT NULL DEFAULT '0', + `Float13` float NOT NULL DEFAULT '1', + `RewardBonusMoney` int(10) unsigned NOT NULL DEFAULT '0', + `RewardDisplaySpell` int(10) unsigned NOT NULL DEFAULT '0', + `RewardSpell` int(10) unsigned NOT NULL DEFAULT '0', + `RewardHonor` int(10) unsigned NOT NULL DEFAULT '0', + `RewardKillHonor` int(10) unsigned NOT NULL DEFAULT '0', + `StartItem` int(10) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `FlagsEx` int(10) unsigned NOT NULL DEFAULT '0', + `RewardItem1` int(10) unsigned NOT NULL DEFAULT '0', + `RewardAmount1` int(10) unsigned NOT NULL DEFAULT '0', + `RewardItem2` int(10) unsigned NOT NULL DEFAULT '0', + `RewardAmount2` int(10) unsigned NOT NULL DEFAULT '0', + `RewardItem3` int(10) unsigned NOT NULL DEFAULT '0', + `RewardAmount3` int(10) unsigned NOT NULL DEFAULT '0', + `RewardItem4` int(10) unsigned NOT NULL DEFAULT '0', + `RewardAmount4` int(10) unsigned NOT NULL DEFAULT '0', + `ItemDrop1` int(10) unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity1` int(10) unsigned NOT NULL DEFAULT '0', + `ItemDrop2` int(10) unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity2` int(10) unsigned NOT NULL DEFAULT '0', + `ItemDrop3` int(10) unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity3` int(10) unsigned NOT NULL DEFAULT '0', + `ItemDrop4` int(10) unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity4` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID1` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity1` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemDisplayID1` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID2` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity2` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemDisplayID2` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID3` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity3` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemDisplayID3` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID4` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity4` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemDisplayID4` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID5` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity5` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemDisplayID5` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID6` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity6` int(10) unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemDisplayID6` int(10) unsigned NOT NULL DEFAULT '0', + `POIContinent` int(10) unsigned NOT NULL DEFAULT '0', + `POIx` float NOT NULL DEFAULT '0', + `POIy` float NOT NULL DEFAULT '0', + `POIPriority` int(11) NOT NULL DEFAULT '0', + `RewardTitle` int(10) unsigned NOT NULL DEFAULT '0', + `RewardTalents` int(10) unsigned NOT NULL DEFAULT '0', + `RewardArenaPoints` int(10) unsigned NOT NULL DEFAULT '0', + `RewardSkillLineID` int(10) unsigned NOT NULL DEFAULT '0', + `RewardNumSkillUps` int(10) unsigned NOT NULL DEFAULT '0', + `PortraitGiver` int(10) unsigned NOT NULL DEFAULT '0', + `PortraitTurnIn` int(10) unsigned NOT NULL DEFAULT '0', + `RewardFactionID1` int(10) unsigned NOT NULL DEFAULT '0', + `RewardFactionValue1` int(11) NOT NULL DEFAULT '0', + `RewardFactionOverride1` int(11) NOT NULL DEFAULT '0', + `RewardFactionID2` int(10) unsigned NOT NULL DEFAULT '0', + `RewardFactionValue2` int(11) NOT NULL DEFAULT '0', + `RewardFactionOverride2` int(11) NOT NULL DEFAULT '0', + `RewardFactionID3` int(10) unsigned NOT NULL DEFAULT '0', + `RewardFactionValue3` int(11) NOT NULL DEFAULT '0', + `RewardFactionOverride3` int(11) NOT NULL DEFAULT '0', + `RewardFactionID4` int(10) unsigned NOT NULL DEFAULT '0', + `RewardFactionValue4` int(11) NOT NULL DEFAULT '0', + `RewardFactionOverride4` int(11) NOT NULL DEFAULT '0', + `RewardFactionID5` int(10) unsigned NOT NULL DEFAULT '0', + `RewardFactionValue5` int(11) NOT NULL DEFAULT '0', + `RewardFactionOverride5` int(11) NOT NULL DEFAULT '0', + `RewardFactionFlags` int(10) unsigned NOT NULL DEFAULT '0', + `RewardCurrencyID1` int(10) unsigned NOT NULL DEFAULT '0', + `RewardCurrencyQty1` int(10) unsigned NOT NULL DEFAULT '0', + `RewardCurrencyID2` int(10) unsigned NOT NULL DEFAULT '0', + `RewardCurrencyQty2` int(10) unsigned NOT NULL DEFAULT '0', + `RewardCurrencyID3` int(10) unsigned NOT NULL DEFAULT '0', + `RewardCurrencyQty3` int(10) unsigned NOT NULL DEFAULT '0', + `RewardCurrencyID4` int(10) unsigned NOT NULL DEFAULT '0', + `RewardCurrencyQty4` int(10) unsigned NOT NULL DEFAULT '0', + `AcceptedSoundKitID` int(10) unsigned NOT NULL DEFAULT '0', + `CompleteSoundKitID` int(10) unsigned NOT NULL DEFAULT '0', + `AreaGroupID` int(10) unsigned NOT NULL DEFAULT '0', + `TimeAllowed` int(10) unsigned NOT NULL DEFAULT '0', + `AllowableRaces` int(11) NOT NULL DEFAULT '-1', + `LogTitle` text, + `LogDescription` text, + `QuestDescription` text, + `AreaDescription` text, + `PortraitGiverText` text, + `PortraitGiverName` text, + `PortraitTurnInText` text, + `PortraitTurnInName` text, + `QuestCompletionLog` text, + `VerifiedBuild` smallint(5) DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest System'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `quest_template_addon` +-- + +DROP TABLE IF EXISTS `quest_template_addon`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_template_addon` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', + `AllowableClasses` int(10) unsigned NOT NULL DEFAULT '0', + `SourceSpellID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `PrevQuestID` mediumint(8) NOT NULL DEFAULT '0', + `NextQuestID` mediumint(8) NOT NULL DEFAULT '0', + `ExclusiveGroup` mediumint(8) NOT NULL DEFAULT '0', + `RewardMailTemplateID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `RewardMailDelay` int(10) unsigned NOT NULL DEFAULT '0', + `RequiredSkillID` smallint(5) unsigned NOT NULL DEFAULT '0', `RequiredSkillPoints` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredFactionId1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredFactionId2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredFactionValue1` mediumint(8) NOT NULL DEFAULT '0', - `RequiredFactionValue2` mediumint(8) NOT NULL DEFAULT '0', `RequiredMinRepFaction` smallint(5) unsigned NOT NULL DEFAULT '0', `RequiredMaxRepFaction` smallint(5) unsigned NOT NULL DEFAULT '0', `RequiredMinRepValue` mediumint(8) NOT NULL DEFAULT '0', `RequiredMaxRepValue` mediumint(8) NOT NULL DEFAULT '0', - `PrevQuestId` mediumint(8) NOT NULL DEFAULT '0', - `NextQuestId` mediumint(8) NOT NULL DEFAULT '0', - `ExclusiveGroup` mediumint(8) NOT NULL DEFAULT '0', - `NextQuestIdChain` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardXPId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardOrRequiredMoney` int(11) NOT NULL DEFAULT '0', - `RewardMoneyMaxLevel` int(10) unsigned NOT NULL DEFAULT '0', - `RewardSpell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardSpellCast` int(11) NOT NULL DEFAULT '0', - `RewardHonor` int(11) NOT NULL DEFAULT '0', - `RewardHonorMultiplier` float NOT NULL DEFAULT '1', - `RewardMailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardMailDelay` int(11) unsigned NOT NULL DEFAULT '0', - `SourceItemId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `SourceItemCount` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SourceSpellId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', + `ProvidedItemCount` tinyint(3) unsigned NOT NULL DEFAULT '0', `SpecialFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinimapTargetMark` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardTitleId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredPlayerKills` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardTalents` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardArenaPoints` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardSkillId` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardSkillPoints` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardReputationMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `QuestGiverPortrait` mediumint(8) unsigned NOT NULL DEFAULT '0', - `QuestTurnInPortrait` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemId5` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemId6` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemCount5` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemCount6` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardFactionId1` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionId2` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionId3` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionId4` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionId5` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionValueId1` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionValueId2` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionValueId3` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionValueId4` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionValueId5` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionValueIdOverride1` int(11) NOT NULL DEFAULT '0', - `RewardFactionValueIdOverride2` int(11) NOT NULL DEFAULT '0', - `RewardFactionValueIdOverride3` int(11) NOT NULL DEFAULT '0', - `RewardFactionValueIdOverride4` int(11) NOT NULL DEFAULT '0', - `RewardFactionValueIdOverride5` int(11) NOT NULL DEFAULT '0', - `PointMapId` smallint(5) unsigned NOT NULL DEFAULT '0', - `PointX` float NOT NULL DEFAULT '0', - `PointY` float NOT NULL DEFAULT '0', - `PointOption` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Title` text, - `Objectives` text, - `Details` text, - `EndText` text, - `OfferRewardText` text, - `RequestItemsText` text, - `CompletedText` text, - `RequiredNpcOrGo1` mediumint(8) NOT NULL DEFAULT '0', - `RequiredNpcOrGo2` mediumint(8) NOT NULL DEFAULT '0', - `RequiredNpcOrGo3` mediumint(8) NOT NULL DEFAULT '0', - `RequiredNpcOrGo4` mediumint(8) NOT NULL DEFAULT '0', - `RequiredNpcOrGoCount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredNpcOrGoCount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredNpcOrGoCount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredNpcOrGoCount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSourceItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredSourceItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredSourceItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredSourceItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredSourceItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSourceItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSourceItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSourceItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId5` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId6` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount5` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount6` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSpell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ObjectiveText1` text, - `ObjectiveText2` text, - `ObjectiveText3` text, - `ObjectiveText4` text, - `RewardCurrencyId1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyId2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyId3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyId4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyCount1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyCount2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyCount3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyCount4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyId1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyId2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyId3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyId4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `QuestGiverTextWindow` text, - `QuestGiverTargetName` text, - `QuestTurnTextWindow` text, - `QuestTurnTargetName` text, - `SoundAccept` smallint(5) unsigned NOT NULL DEFAULT '890', - `SoundTurnIn` smallint(5) unsigned NOT NULL DEFAULT '878', - `DetailsEmote1` smallint(5) unsigned NOT NULL DEFAULT '0', - `DetailsEmote2` smallint(5) unsigned NOT NULL DEFAULT '0', - `DetailsEmote3` smallint(5) unsigned NOT NULL DEFAULT '0', - `DetailsEmote4` smallint(5) unsigned NOT NULL DEFAULT '0', - `DetailsEmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', - `DetailsEmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', - `DetailsEmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', - `DetailsEmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteOnIncomplete` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteOnComplete` smallint(5) unsigned NOT NULL DEFAULT '0', - `OfferRewardEmote1` smallint(5) unsigned NOT NULL DEFAULT '0', - `OfferRewardEmote2` smallint(5) unsigned NOT NULL DEFAULT '0', - `OfferRewardEmote3` smallint(5) unsigned NOT NULL DEFAULT '0', - `OfferRewardEmote4` smallint(5) unsigned NOT NULL DEFAULT '0', - `OfferRewardEmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', - `OfferRewardEmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', - `OfferRewardEmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', - `OfferRewardEmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest System'; + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `quest_visual_effect` +-- + +DROP TABLE IF EXISTS `quest_visual_effect`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_visual_effect` ( + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Index` tinyint(3) unsigned NOT NULL DEFAULT '0', + `VisualEffect` mediumint(8) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`,`Index`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `race_expansion_requirement` +-- + +DROP TABLE IF EXISTS `race_expansion_requirement`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `race_expansion_requirement` ( + `raceID` tinyint(3) unsigned NOT NULL DEFAULT '0', + `expansion` tinyint(3) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`raceID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3232,7 +3011,7 @@ DROP TABLE IF EXISTS `smart_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `smart_scripts` ( - `entryorguid` int(11) NOT NULL, + `entryorguid` bigint(20) NOT NULL DEFAULT '0', `source_type` tinyint(3) unsigned NOT NULL DEFAULT '0', `id` smallint(5) unsigned NOT NULL DEFAULT '0', `link` smallint(5) unsigned NOT NULL DEFAULT '0', @@ -3287,24 +3066,6 @@ CREATE TABLE `spell_area` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `spell_bonus_data` --- - -DROP TABLE IF EXISTS `spell_bonus_data`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `spell_bonus_data` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `direct_bonus` float NOT NULL DEFAULT '0', - `dot_bonus` float NOT NULL DEFAULT '0', - `ap_bonus` float NOT NULL DEFAULT '0', - `ap_dot_bonus` float NOT NULL DEFAULT '0', - `comments` varchar(255) DEFAULT NULL, - PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `spell_custom_attr` -- @@ -3482,6 +3243,7 @@ CREATE TABLE `spell_proc` ( `spellFamilyMask0` int(10) unsigned NOT NULL DEFAULT '0', `spellFamilyMask1` int(10) unsigned NOT NULL DEFAULT '0', `spellFamilyMask2` int(10) unsigned NOT NULL DEFAULT '0', + `spellFamilyMask3` int(10) unsigned NOT NULL DEFAULT '0', `typeMask` int(10) unsigned NOT NULL DEFAULT '0', `spellTypeMask` int(10) unsigned NOT NULL DEFAULT '0', `spellPhaseMask` int(11) NOT NULL DEFAULT '0', @@ -3509,6 +3271,7 @@ CREATE TABLE `spell_proc_event` ( `SpellFamilyMask0` int(10) unsigned NOT NULL DEFAULT '0', `SpellFamilyMask1` int(10) unsigned NOT NULL DEFAULT '0', `SpellFamilyMask2` int(10) unsigned NOT NULL DEFAULT '0', + `spellFamilyMask3` int(10) unsigned NOT NULL DEFAULT '0', `procFlags` int(10) unsigned NOT NULL DEFAULT '0', `procEx` int(10) unsigned NOT NULL DEFAULT '0', `ppmRate` float NOT NULL DEFAULT '0', @@ -3592,15 +3355,14 @@ DROP TABLE IF EXISTS `spell_target_position`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_target_position` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `target_map` smallint(5) unsigned NOT NULL DEFAULT '0', - `target_position_x` float NOT NULL DEFAULT '0', - `target_position_y` float NOT NULL DEFAULT '0', - `target_position_z` float NOT NULL DEFAULT '0', - `target_orientation` float NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `EffectIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', + `MapID` smallint(3) unsigned NOT NULL DEFAULT '0', + `PositionX` float NOT NULL DEFAULT '0', + `PositionY` float NOT NULL DEFAULT '0', + `PositionZ` float NOT NULL DEFAULT '0', `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`id`,`effIndex`) + PRIMARY KEY (`ID`,`EffectIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3621,23 +3383,6 @@ CREATE TABLE `spell_threat` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `spelldifficulty_dbc` --- - -DROP TABLE IF EXISTS `spelldifficulty_dbc`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `spelldifficulty_dbc` ( - `id` int(11) unsigned NOT NULL DEFAULT '0', - `spellid0` int(11) unsigned NOT NULL DEFAULT '0', - `spellid1` int(11) unsigned NOT NULL DEFAULT '0', - `spellid2` int(11) unsigned NOT NULL DEFAULT '0', - `spellid3` int(11) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `spelleffect_dbc` -- @@ -3682,7 +3427,7 @@ DROP TABLE IF EXISTS `transports`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transports` ( - `guid` int(10) unsigned NOT NULL AUTO_INCREMENT, + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `name` text, `phaseid` int(10) NOT NULL DEFAULT '0', @@ -3716,6 +3461,37 @@ CREATE TABLE `trinity_string` ( /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `updates` +-- + +DROP TABLE IF EXISTS `updates`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `updates` ( + `name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.', + `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', + `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + PRIMARY KEY (`name`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `updates_include` +-- + +DROP TABLE IF EXISTS `updates_include`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `updates_include` ( + `path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + PRIMARY KEY (`path`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `vehicle_accessory` -- @@ -3723,7 +3499,7 @@ DROP TABLE IF EXISTS `vehicle_accessory`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `vehicle_accessory` ( - `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT '0', `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', `seat_id` tinyint(4) NOT NULL DEFAULT '0', `minion` tinyint(3) unsigned NOT NULL DEFAULT '0', @@ -3769,8 +3545,6 @@ CREATE TABLE `version` ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Version Notes'; /*!40101 SET character_set_client = @saved_cs_client */; -INSERT INTO `version` (`core_version`) VALUES (''); - -- -- Table structure for table `warden_checks` -- @@ -3809,7 +3583,7 @@ CREATE TABLE `waypoint_data` ( `move_type` int(11) NOT NULL DEFAULT '0', `action` int(11) NOT NULL DEFAULT '0', `action_chance` smallint(6) NOT NULL DEFAULT '100', - `wpguid` int(11) NOT NULL DEFAULT '0', + `wpguid` bigint(20) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`point`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3864,4 +3638,4 @@ CREATE TABLE `waypoints` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2014-10-27 23:26:07 +-- Dump completed on 2015-03-21 16:07:24 diff --git a/sql/custom/auth/.gitignore b/sql/custom/auth/.gitignore new file mode 100644 index 00000000000..d1b811b7de5 --- /dev/null +++ b/sql/custom/auth/.gitignore @@ -0,0 +1 @@ +*.sql diff --git a/sql/custom/characters/.gitignore b/sql/custom/characters/.gitignore new file mode 100644 index 00000000000..d1b811b7de5 --- /dev/null +++ b/sql/custom/characters/.gitignore @@ -0,0 +1 @@ +*.sql diff --git a/sql/custom/hotfixes/.gitignore b/sql/custom/hotfixes/.gitignore new file mode 100644 index 00000000000..d1b811b7de5 --- /dev/null +++ b/sql/custom/hotfixes/.gitignore @@ -0,0 +1 @@ +*.sql diff --git a/sql/custom/world/.gitignore b/sql/custom/world/.gitignore new file mode 100644 index 00000000000..d1b811b7de5 --- /dev/null +++ b/sql/custom/world/.gitignore @@ -0,0 +1 @@ +*.sql diff --git a/sql/updates/auth/2014_10_04_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_10_04_00_auth.sql index 61731b408b6..61731b408b6 100644 --- a/sql/updates/auth/2014_10_04_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_10_04_00_auth.sql diff --git a/sql/updates/auth/2014_10_19_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_10_19_00_auth.sql index a0a28f91359..a0a28f91359 100644 --- a/sql/updates/auth/2014_10_19_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_10_19_00_auth.sql diff --git a/sql/updates/auth/2014_10_26_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_10_26_00_auth.sql index db24968656e..db24968656e 100644 --- a/sql/updates/auth/2014_10_26_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_10_26_00_auth.sql diff --git a/sql/updates/auth/2014_11_03_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_11_03_00_auth.sql index 1e0f0835ed5..1e0f0835ed5 100644 --- a/sql/updates/auth/2014_11_03_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_11_03_00_auth.sql diff --git a/sql/updates/auth/2014_11_04_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_11_04_00_auth.sql index 5214034fd21..5214034fd21 100644 --- a/sql/updates/auth/2014_11_04_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_11_04_00_auth.sql diff --git a/sql/updates/auth/2014_11_09_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_11_09_00_auth.sql index 8cbe649b440..8cbe649b440 100644 --- a/sql/updates/auth/2014_11_09_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_11_09_00_auth.sql diff --git a/sql/updates/auth/2014_11_10_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_11_10_00_auth.sql index ce4d814f620..ce4d814f620 100644 --- a/sql/updates/auth/2014_11_10_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_11_10_00_auth.sql diff --git a/sql/updates/auth/2014_11_10_00_auth_from_335.sql b/sql/old/6.x/auth/00_2014_10_19/2014_11_10_00_auth_from_335.sql index 088c5cc71b5..088c5cc71b5 100644 --- a/sql/updates/auth/2014_11_10_00_auth_from_335.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_11_10_00_auth_from_335.sql diff --git a/sql/updates/auth/2014_11_10_01_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_11_10_01_auth.sql index 0f89140ecf4..0f89140ecf4 100644 --- a/sql/updates/auth/2014_11_10_01_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_11_10_01_auth.sql diff --git a/sql/updates/auth/2014_11_23_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_11_23_00_auth.sql index 1c68d6a8e06..1c68d6a8e06 100644 --- a/sql/updates/auth/2014_11_23_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_11_23_00_auth.sql diff --git a/sql/updates/auth/2014_11_25_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_11_25_00_auth.sql index 6594fe0c4fa..6594fe0c4fa 100644 --- a/sql/updates/auth/2014_11_25_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_11_25_00_auth.sql diff --git a/sql/updates/auth/2014_12_05_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_12_05_00_auth.sql index 95507c411f4..95507c411f4 100644 --- a/sql/updates/auth/2014_12_05_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_12_05_00_auth.sql diff --git a/sql/updates/auth/2014_12_10_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_12_10_00_auth.sql index 8068fd3c459..8068fd3c459 100644 --- a/sql/updates/auth/2014_12_10_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_12_10_00_auth.sql diff --git a/sql/updates/auth/2014_12_19_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_12_19_00_auth.sql index 1a975e766e5..1a975e766e5 100644 --- a/sql/updates/auth/2014_12_19_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_12_19_00_auth.sql diff --git a/sql/updates/auth/2014_12_20_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_12_20_00_auth.sql index d5e29712246..d5e29712246 100644 --- a/sql/updates/auth/2014_12_20_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_12_20_00_auth.sql diff --git a/sql/updates/auth/2014_12_25_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_12_25_00_auth.sql index 2ab5127e699..2ab5127e699 100644 --- a/sql/updates/auth/2014_12_25_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_12_25_00_auth.sql diff --git a/sql/updates/auth/2014_12_27_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_12_27_00_auth.sql index ddea3d335ff..ddea3d335ff 100644 --- a/sql/updates/auth/2014_12_27_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_12_27_00_auth.sql diff --git a/sql/updates/auth/2014_12_28_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2014_12_28_00_auth.sql index 4017474c6f7..4017474c6f7 100644 --- a/sql/updates/auth/2014_12_28_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2014_12_28_00_auth.sql diff --git a/sql/updates/auth/2015_02_22_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2015_02_22_00_auth.sql index dee634ba52e..dee634ba52e 100644 --- a/sql/updates/auth/2015_02_22_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2015_02_22_00_auth.sql diff --git a/sql/updates/auth/2015_03_01_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2015_03_01_00_auth.sql index 1f3fb944e0b..1f3fb944e0b 100644 --- a/sql/updates/auth/2015_03_01_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2015_03_01_00_auth.sql diff --git a/sql/updates/auth/2015_03_10_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2015_03_10_00_auth.sql index 3206edcbd8d..3206edcbd8d 100644 --- a/sql/updates/auth/2015_03_10_00_auth.sql +++ b/sql/old/6.x/auth/00_2014_10_19/2015_03_10_00_auth.sql diff --git a/sql/old/6.x/auth/00_2014_10_19/2015_03_20_00_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2015_03_20_00_auth.sql new file mode 100644 index 00000000000..05c120274da --- /dev/null +++ b/sql/old/6.x/auth/00_2014_10_19/2015_03_20_00_auth.sql @@ -0,0 +1,23 @@ +-- Updates base tables +DROP TABLE IF EXISTS `updates`; +CREATE TABLE `updates` ( + `name` VARCHAR(200) NOT NULL COMMENT 'filename with extension of the update.', + `hash` CHAR(40) NULL DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', + `speed` INT(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.', + PRIMARY KEY (`name`) +) +COMMENT='List of all applied updates in this database.' +COLLATE='utf8_general_ci' +ENGINE=MyISAM; + +DROP TABLE IF EXISTS `updates_include`; +CREATE TABLE `updates_include` ( + `path` VARCHAR(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + PRIMARY KEY (`path`) +) +COMMENT='List of directories where we want to include sql updates.' +COLLATE='utf8_general_ci' +ENGINE=MyISAM; diff --git a/sql/old/6.x/auth/00_2014_10_19/2015_03_20_01_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2015_03_20_01_auth.sql new file mode 100644 index 00000000000..ecee16a2274 --- /dev/null +++ b/sql/old/6.x/auth/00_2014_10_19/2015_03_20_01_auth.sql @@ -0,0 +1,6 @@ +-- Auth database update data +TRUNCATE TABLE `updates_include`; +INSERT INTO `updates_include` (`path`, `state`) VALUES +('$/sql/updates/auth', 'RELEASED'), +('$/sql/custom/auth', 'RELEASED'), +('$/sql/old/6.x/auth', 'ARCHIVED'); diff --git a/sql/old/6.x/auth/00_2014_10_19/2015_03_20_02_auth.sql b/sql/old/6.x/auth/00_2014_10_19/2015_03_20_02_auth.sql new file mode 100644 index 00000000000..12427489f01 --- /dev/null +++ b/sql/old/6.x/auth/00_2014_10_19/2015_03_20_02_auth.sql @@ -0,0 +1,25 @@ +INSERT IGNORE INTO `updates` (`name`, `hash`) VALUES +('2014_10_04_00_auth.sql', 'C3BC70A6EC381474B7308F442346F1E721176BC6'), +('2014_10_19_00_auth.sql', '7472B490A4F86C9D3DA609CDD3197499CB80C87C'), +('2014_10_26_00_auth.sql', '75CC67ADE2A3B2E54FD57D6B0DCAA8FE50F4EE35'), +('2014_11_03_00_auth.sql', '5948C9F286CF0FEA8E241785C0259FF36B73BDC5'), +('2014_11_04_00_auth.sql', '3AFC68B2375C2A417DDEA94583C53AFF83DE50DF'), +('2014_11_09_00_auth.sql', 'B8DD1A7047C0FDDB80344B239343EC33BF1A0D97'), +('2014_11_10_00_auth.sql', '8FBA737A1D3FF4631A1E662A5B500A8BD304EC63'), +('2014_11_10_00_auth_from_335.sql', '0E3CB119442D09DD88E967015319BBC8DAFBBFE0'), +('2014_11_10_01_auth.sql', '327E77A1DA3546D5275AB249915DD57EDD6FDD3D'), +('2014_11_23_00_auth.sql', '0BBEB3EB3AED0FEF277A062819B6B2C00084A742'), +('2014_11_25_00_auth.sql', '4F45CDB26BDBB3EE83F1988E3D7818C5926ADC02'), +('2014_12_05_00_auth.sql', '6A7BBCEF43111C73A2D2C3CCB6911BE50DE7DD94'), +('2014_12_10_00_auth.sql', '821703A96D80F9080074852B5A46E2909C9562EA'), +('2014_12_19_00_auth.sql', '44D8E12FFF327AD07878FBDF8D9C16B6B7DCB122'), +('2014_12_20_00_auth.sql', '4DAA02AE285C02AE6C82EA2C8B97AC71990F1085'), +('2014_12_25_00_auth.sql', '61411930F482BC73FC7FD2C370C811E944F5FF92'), +('2014_12_27_00_auth.sql', 'CE2E5D2CD82E79C25294539ADED27A1429105B43'), +('2014_12_28_00_auth.sql', '0A913217610E76AFF119C27259737BBC523090E6'), +('2015_02_22_00_auth.sql', '21CCCF8B01252E16CA3D6C9E3E8DAA4C9B28ED6E'), +('2015_03_01_00_auth.sql', '911881E273207FF6182D1FDAC8C85FFAE8F1C852'), +('2015_03_10_00_auth.sql', '2CC8502C11412EFEB5C11BE166761A8754A59009'), +('2015_03_20_00_auth.sql', 'B761760804EA73BD297F296C5C1919687DF7191C'), +('2015_03_20_01_auth.sql', '5CCEDF20C8189FB1E8DF064A9F0DDC342841FBF0'), +('2015_03_20_02_auth.sql', ''); diff --git a/sql/updates/characters/2014_10_20_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_10_20_00_characters.sql index 30c57bf5470..30c57bf5470 100644 --- a/sql/updates/characters/2014_10_20_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_10_20_00_characters.sql diff --git a/sql/updates/characters/2014_10_23_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_10_23_00_characters.sql index e6ee7048ac6..e6ee7048ac6 100644 --- a/sql/updates/characters/2014_10_23_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_10_23_00_characters.sql diff --git a/sql/updates/characters/2014_10_23_01_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_10_23_01_characters.sql index 88243131b5d..88243131b5d 100644 --- a/sql/updates/characters/2014_10_23_01_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_10_23_01_characters.sql diff --git a/sql/updates/characters/2014_10_23_02_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_10_23_02_characters.sql index 7861a548089..7861a548089 100644 --- a/sql/updates/characters/2014_10_23_02_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_10_23_02_characters.sql diff --git a/sql/updates/characters/2014_10_24_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_10_24_00_characters.sql index 099c699367c..099c699367c 100644 --- a/sql/updates/characters/2014_10_24_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_10_24_00_characters.sql diff --git a/sql/updates/characters/2014_10_25_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_10_25_00_characters.sql index 5dbd760c4f6..5dbd760c4f6 100644 --- a/sql/updates/characters/2014_10_25_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_10_25_00_characters.sql diff --git a/sql/updates/characters/2014_10_26_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_10_26_00_characters.sql index 7f180a364c3..7f180a364c3 100644 --- a/sql/updates/characters/2014_10_26_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_10_26_00_characters.sql diff --git a/sql/updates/characters/2014_11_12_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_11_12_00_characters.sql index 68aaf99d5d0..68aaf99d5d0 100644 --- a/sql/updates/characters/2014_11_12_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_11_12_00_characters.sql diff --git a/sql/updates/characters/2014_12_23_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_12_23_00_characters.sql index d72d71a3e7b..d72d71a3e7b 100644 --- a/sql/updates/characters/2014_12_23_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_12_23_00_characters.sql diff --git a/sql/updates/characters/2014_12_28_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_12_28_00_characters.sql index d6424d676b7..d6424d676b7 100644 --- a/sql/updates/characters/2014_12_28_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_12_28_00_characters.sql diff --git a/sql/updates/characters/2014_12_31_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2014_12_31_00_characters.sql index 2c7ec570d3d..2c7ec570d3d 100644 --- a/sql/updates/characters/2014_12_31_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2014_12_31_00_characters.sql diff --git a/sql/updates/characters/2015_01_02_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_01_02_00_characters.sql index 890bdd0eb11..890bdd0eb11 100644 --- a/sql/updates/characters/2015_01_02_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2015_01_02_00_characters.sql diff --git a/sql/updates/characters/2015_01_10_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_01_10_00_characters.sql index c0070507b6d..c0070507b6d 100644 --- a/sql/updates/characters/2015_01_10_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2015_01_10_00_characters.sql diff --git a/sql/updates/characters/2015_01_16_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_01_16_00_characters.sql index b3557fa1694..b3557fa1694 100644 --- a/sql/updates/characters/2015_01_16_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2015_01_16_00_characters.sql diff --git a/sql/updates/characters/2015_01_27_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_01_27_00_characters.sql index 3ccaa4defb0..3ccaa4defb0 100644 --- a/sql/updates/characters/2015_01_27_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2015_01_27_00_characters.sql diff --git a/sql/updates/characters/2015_02_13_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_02_13_00_characters.sql index 1ed83e4e762..1ed83e4e762 100644 --- a/sql/updates/characters/2015_02_13_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2015_02_13_00_characters.sql diff --git a/sql/updates/characters/2015_02_13_01_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_02_13_01_characters.sql index 52b7a7e4c2a..52b7a7e4c2a 100644 --- a/sql/updates/characters/2015_02_13_01_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2015_02_13_01_characters.sql diff --git a/sql/updates/characters/2015_02_17_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_02_17_00_characters.sql index ebf539c9a40..ebf539c9a40 100644 --- a/sql/updates/characters/2015_02_17_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2015_02_17_00_characters.sql diff --git a/sql/updates/characters/2015_03_10_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_03_10_00_characters.sql index ce55b3b35cc..ce55b3b35cc 100644 --- a/sql/updates/characters/2015_03_10_00_characters.sql +++ b/sql/old/6.x/characters/00_2014_10_19/2015_03_10_00_characters.sql diff --git a/sql/old/6.x/characters/00_2014_10_19/2015_03_20_00_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_03_20_00_characters.sql new file mode 100644 index 00000000000..05c120274da --- /dev/null +++ b/sql/old/6.x/characters/00_2014_10_19/2015_03_20_00_characters.sql @@ -0,0 +1,23 @@ +-- Updates base tables +DROP TABLE IF EXISTS `updates`; +CREATE TABLE `updates` ( + `name` VARCHAR(200) NOT NULL COMMENT 'filename with extension of the update.', + `hash` CHAR(40) NULL DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', + `speed` INT(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.', + PRIMARY KEY (`name`) +) +COMMENT='List of all applied updates in this database.' +COLLATE='utf8_general_ci' +ENGINE=MyISAM; + +DROP TABLE IF EXISTS `updates_include`; +CREATE TABLE `updates_include` ( + `path` VARCHAR(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + PRIMARY KEY (`path`) +) +COMMENT='List of directories where we want to include sql updates.' +COLLATE='utf8_general_ci' +ENGINE=MyISAM; diff --git a/sql/old/6.x/characters/00_2014_10_19/2015_03_20_01_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_03_20_01_characters.sql new file mode 100644 index 00000000000..69c8767e239 --- /dev/null +++ b/sql/old/6.x/characters/00_2014_10_19/2015_03_20_01_characters.sql @@ -0,0 +1,6 @@ +-- Characters database update data +TRUNCATE TABLE `updates_include`; +INSERT INTO `updates_include` (`path`, `state`) VALUES +('$/sql/updates/characters', 'RELEASED'), +('$/sql/custom/characters', 'RELEASED'), +('$/sql/old/6.x/characters', 'ARCHIVED'); diff --git a/sql/old/6.x/characters/00_2014_10_19/2015_03_20_02_characters.sql b/sql/old/6.x/characters/00_2014_10_19/2015_03_20_02_characters.sql new file mode 100644 index 00000000000..32f7ecffb26 --- /dev/null +++ b/sql/old/6.x/characters/00_2014_10_19/2015_03_20_02_characters.sql @@ -0,0 +1,23 @@ +INSERT IGNORE INTO `updates` (`name`, `hash`) VALUES +('2014_10_20_00_characters.sql', 'A5882DA0979CF4DAE33DA011EBAA006C24BE7230'), +('2014_10_23_00_characters.sql', 'E2AC4758133EE19B7F08464A445802154D1261C8'), +('2014_10_23_01_characters.sql', '20029E6323D9773B32C34D84FFED1711CC60F09F'), +('2014_10_23_02_characters.sql', '8A7A16886EE71E7ACDDB3DDA6D0ECAC2FD2FDCA8'), +('2014_10_24_00_characters.sql', 'D008FE81AE844FCA686439D6ECC5108FB0DD1EB9'), +('2014_10_25_00_characters.sql', 'A39C7BE46686B54776BDAB9D7A882D91EDEC51A4'), +('2014_10_26_00_characters.sql', 'C787954CC35FE34B4101FDE6527F14C027F4947C'), +('2014_11_12_00_characters.sql', 'B160BB2313F1BD5F3B076A5A9279DC10D4796E34'), +('2014_12_23_00_characters.sql', '3D9D648B2387B357F4BD090B33F80682F7924882'), +('2014_12_28_00_characters.sql', '5362922FF4483A336311D73082A5727309CD9219'), +('2014_12_31_00_characters.sql', '498DDF2DD936CF156D74A8208DC93DCE9FCAB5AA'), +('2015_01_02_00_characters.sql', 'E5940BE836F253982E07930120422E598D08BDE1'), +('2015_01_10_00_characters.sql', '30796056C8623699B2FE1BF626A19D38262E9284'), +('2015_01_16_00_characters.sql', '96642760A54C8D799AAFE438049A63AA521656F2'), +('2015_01_27_00_characters.sql', 'EB710E3EB9F2CAFD84AB62CDC84E898403A80A4F'), +('2015_02_13_00_characters.sql', '405BEB4ED207DC6076442A37EE2AFB1F21E274A0'), +('2015_02_13_01_characters.sql', '35F582D4F33BF55D1685A1BA89273ED895FD09C5'), +('2015_02_17_00_characters.sql', '8D21FC5A55BF8B55D6DCDCE5F02CF2B640230E94'), +('2015_03_10_00_characters.sql', 'E565B89B145C340067742DFF2DEF1B74F5F1BD4E'), +('2015_03_20_00_characters.sql', 'B761760804EA73BD297F296C5C1919687DF7191C'), +('2015_03_20_01_characters.sql', '20BD68468C57FCF7E665B4DA185DCD52FACE8B3F'), +('2015_03_20_02_characters.sql', ''); diff --git a/sql/updates/hotfixes/2014_10_19_01_hotfixes_area_poi.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_01_hotfixes_area_poi.sql index 5b5524ed882..5b5524ed882 100644 --- a/sql/updates/hotfixes/2014_10_19_01_hotfixes_area_poi.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_01_hotfixes_area_poi.sql diff --git a/sql/updates/hotfixes/2014_10_19_02_hotfixes_area_poi_state.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_02_hotfixes_area_poi_state.sql index 1d9708920ba..1d9708920ba 100644 --- a/sql/updates/hotfixes/2014_10_19_02_hotfixes_area_poi_state.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_02_hotfixes_area_poi_state.sql diff --git a/sql/updates/hotfixes/2014_10_19_03_hotfixes_creature_difficulty.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_03_hotfixes_creature_difficulty.sql index b71e3d80808..b71e3d80808 100644 --- a/sql/updates/hotfixes/2014_10_19_03_hotfixes_creature_difficulty.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_03_hotfixes_creature_difficulty.sql diff --git a/sql/updates/hotfixes/2014_10_19_04_hotfixes_creature.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_04_hotfixes_creature.sql index fe86a2c9842..fe86a2c9842 100644 --- a/sql/updates/hotfixes/2014_10_19_04_hotfixes_creature.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_04_hotfixes_creature.sql diff --git a/sql/updates/hotfixes/2014_10_19_05_hotfixes_broadcast_text.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_05_hotfixes_broadcast_text.sql index efedc418cd5..efedc418cd5 100644 --- a/sql/updates/hotfixes/2014_10_19_05_hotfixes_broadcast_text.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_05_hotfixes_broadcast_text.sql diff --git a/sql/updates/hotfixes/2014_10_19_06_hotfixes_broadcast_text.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_06_hotfixes_broadcast_text.sql index 2e0f0865910..2e0f0865910 100644 --- a/sql/updates/hotfixes/2014_10_19_06_hotfixes_broadcast_text.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_19_06_hotfixes_broadcast_text.sql diff --git a/sql/updates/hotfixes/2014_10_20_00_hotfixes_gameobjects.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_20_00_hotfixes_gameobjects.sql index adf6f9feb34..adf6f9feb34 100644 --- a/sql/updates/hotfixes/2014_10_20_00_hotfixes_gameobjects.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_20_00_hotfixes_gameobjects.sql diff --git a/sql/updates/hotfixes/2014_10_24_00_hotfixes_taxi_path_node.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_24_00_hotfixes_taxi_path_node.sql index c3cb7c74262..c3cb7c74262 100644 --- a/sql/updates/hotfixes/2014_10_24_00_hotfixes_taxi_path_node.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_24_00_hotfixes_taxi_path_node.sql diff --git a/sql/updates/hotfixes/2014_10_24_01_hotfixes_broadcast_text.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_24_01_hotfixes_broadcast_text.sql index b2a5cce56cb..b2a5cce56cb 100644 --- a/sql/updates/hotfixes/2014_10_24_01_hotfixes_broadcast_text.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_10_24_01_hotfixes_broadcast_text.sql diff --git a/sql/updates/hotfixes/2014_12_25_00_hotfixes_locale_broadcast_text.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_12_25_00_hotfixes_locale_broadcast_text.sql index 305525d84ab..305525d84ab 100644 --- a/sql/updates/hotfixes/2014_12_25_00_hotfixes_locale_broadcast_text.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_12_25_00_hotfixes_locale_broadcast_text.sql diff --git a/sql/updates/hotfixes/2014_12_26_00_hotfixes_hotfix_data.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2014_12_26_00_hotfixes_hotfix_data.sql index 9fc1a21ede3..9fc1a21ede3 100644 --- a/sql/updates/hotfixes/2014_12_26_00_hotfixes_hotfix_data.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2014_12_26_00_hotfixes_hotfix_data.sql diff --git a/sql/updates/hotfixes/2015_02_22_00_hotfixes.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2015_02_22_00_hotfixes.sql index f39dda765e2..f39dda765e2 100644 --- a/sql/updates/hotfixes/2015_02_22_00_hotfixes.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2015_02_22_00_hotfixes.sql diff --git a/sql/updates/hotfixes/2015_03_04_00_hotfixes.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_04_00_hotfixes.sql index cda2e375976..cda2e375976 100644 --- a/sql/updates/hotfixes/2015_03_04_00_hotfixes.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_04_00_hotfixes.sql diff --git a/sql/updates/hotfixes/2015_03_08_00_hotfixes.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_08_00_hotfixes.sql index 9f2f8516eb8..9f2f8516eb8 100644 --- a/sql/updates/hotfixes/2015_03_08_00_hotfixes.sql +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_08_00_hotfixes.sql diff --git a/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_00_hotfixes.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_00_hotfixes.sql new file mode 100644 index 00000000000..05c120274da --- /dev/null +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_00_hotfixes.sql @@ -0,0 +1,23 @@ +-- Updates base tables +DROP TABLE IF EXISTS `updates`; +CREATE TABLE `updates` ( + `name` VARCHAR(200) NOT NULL COMMENT 'filename with extension of the update.', + `hash` CHAR(40) NULL DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', + `speed` INT(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.', + PRIMARY KEY (`name`) +) +COMMENT='List of all applied updates in this database.' +COLLATE='utf8_general_ci' +ENGINE=MyISAM; + +DROP TABLE IF EXISTS `updates_include`; +CREATE TABLE `updates_include` ( + `path` VARCHAR(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + PRIMARY KEY (`path`) +) +COMMENT='List of directories where we want to include sql updates.' +COLLATE='utf8_general_ci' +ENGINE=MyISAM; diff --git a/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_01_hotfixes.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_01_hotfixes.sql new file mode 100644 index 00000000000..a56bf038472 --- /dev/null +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_01_hotfixes.sql @@ -0,0 +1,6 @@ +-- Hotfixes database update data +TRUNCATE TABLE `updates_include`; +INSERT INTO `updates_include` (`path`, `state`) VALUES +('$/sql/updates/hotfixes', 'RELEASED'), +('$/sql/custom/hotfixes', 'RELEASED'), +('$/sql/old/6.x/hotfixes', 'ARCHIVED'); diff --git a/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_02_hotfixes.sql b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_02_hotfixes.sql new file mode 100644 index 00000000000..87b5da36aec --- /dev/null +++ b/sql/old/6.x/hotfixes/00_2014_10_19/2015_03_20_02_hotfixes.sql @@ -0,0 +1,18 @@ +INSERT IGNORE INTO `updates` (`name`, `hash`) VALUES +('2014_10_19_01_hotfixes_area_poi.sql', 'BEE7AD2717D833074AAB0B7E50D17312D0018DEC'), +('2014_10_19_02_hotfixes_area_poi_state.sql', 'D70F413FF0EFFAFACF3B8A9B26D118F3D107E097'), +('2014_10_19_03_hotfixes_creature_difficulty.sql', 'F9FD065AC1A409580AE6E3C01BF8F74E45D31205'), +('2014_10_19_04_hotfixes_creature.sql', '0A7FD859535F648633449E5351F00257AE202838'), +('2014_10_19_05_hotfixes_broadcast_text.sql', '0A82925C0B0BC6BB3A4E2F7DDB40A410C24FFE15'), +('2014_10_19_06_hotfixes_broadcast_text.sql', '29982469F34CB06B6F413009DD761F361E56B3A1'), +('2014_10_20_00_hotfixes_gameobjects.sql', 'C9DCBE4A88074273CBB64FE568DEFCD2EF27DB8A'), +('2014_10_24_00_hotfixes_taxi_path_node.sql', 'F038CFD6E79649B6F7734F070BF2466505847E94'), +('2014_10_24_01_hotfixes_broadcast_text.sql', 'B1CA1B188092B17418D759903E066E0E6FA27420'), +('2014_12_25_00_hotfixes_locale_broadcast_text.sql', '7F5C494F33B216EBAD6A6C065A923CC71234A599'), +('2014_12_26_00_hotfixes_hotfix_data.sql', 'ACED65D62DDD9D56E182C6FD6E8001A2AD605118'), +('2015_02_22_00_hotfixes.sql', 'E15FB22A995AB26A0A0BC61EDE3D0258C394F8B3'), +('2015_03_04_00_hotfixes.sql', '0DC68F95CE1E6E808B9B2751617384CFCFD727D6'), +('2015_03_08_00_hotfixes.sql', '8287470D148051AFBCC7EECEAACBE87ABC65A09C'), +('2015_03_20_00_hotfixes.sql', 'B761760804EA73BD297F296C5C1919687DF7191C'), +('2015_03_20_01_hotfixes.sql', 'A79521F16AE82F0D7487495D0BF7A726D81F250D'), +('2015_03_20_02_hotfixes.sql', ''); diff --git a/sql/updates/world/2014_10_19_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_19_00_world.sql index 475427d7a13..475427d7a13 100644 --- a/sql/updates/world/2014_10_19_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_19_00_world.sql diff --git a/sql/updates/world/2014_10_19_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_19_01_world.sql index 99e7b4ee0c1..99e7b4ee0c1 100644 --- a/sql/updates/world/2014_10_19_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_19_01_world.sql diff --git a/sql/updates/world/2014_10_19_01_world_from_335.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_19_01_world_from_335.sql index b5048704717..b5048704717 100644 --- a/sql/updates/world/2014_10_19_01_world_from_335.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_19_01_world_from_335.sql diff --git a/sql/updates/world/2014_10_19_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_19_02_world.sql index f9285741671..f9285741671 100644 --- a/sql/updates/world/2014_10_19_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_19_02_world.sql diff --git a/sql/updates/world/2014_10_20_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_20_00_world.sql index 202aa2d73c8..202aa2d73c8 100644 --- a/sql/updates/world/2014_10_20_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_20_00_world.sql diff --git a/sql/updates/world/2014_10_20_00_world_from_335.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_20_00_world_from_335.sql index 89a6eb089d6..89a6eb089d6 100644 --- a/sql/updates/world/2014_10_20_00_world_from_335.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_20_00_world_from_335.sql diff --git a/sql/updates/world/2014_10_21_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_21_00_world.sql index 9a8b68bd99c..9a8b68bd99c 100644 --- a/sql/updates/world/2014_10_21_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_21_00_world.sql diff --git a/sql/updates/world/2014_10_22_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_22_00_world.sql index 602131fef08..602131fef08 100644 --- a/sql/updates/world/2014_10_22_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_22_00_world.sql diff --git a/sql/updates/world/2014_10_22_00_world_from_335.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_22_00_world_from_335.sql index 8da4f0600d9..8da4f0600d9 100644 --- a/sql/updates/world/2014_10_22_00_world_from_335.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_22_00_world_from_335.sql diff --git a/sql/updates/world/2014_10_22_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_22_01_world.sql index eee6baf61bb..eee6baf61bb 100644 --- a/sql/updates/world/2014_10_22_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_22_01_world.sql diff --git a/sql/updates/world/2014_10_23_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_23_00_world.sql index a4b0bcc5092..a4b0bcc5092 100644 --- a/sql/updates/world/2014_10_23_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_23_00_world.sql diff --git a/sql/updates/world/2014_10_23_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_23_01_world.sql index adedfe28d28..adedfe28d28 100644 --- a/sql/updates/world/2014_10_23_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_23_01_world.sql diff --git a/sql/updates/world/2014_10_24_01_world_from_335.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_24_01_world_from_335.sql index 8a3a9c8be3d..8a3a9c8be3d 100644 --- a/sql/updates/world/2014_10_24_01_world_from_335.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_24_01_world_from_335.sql diff --git a/sql/updates/world/2014_10_24_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_24_02_world.sql index f0ff963de81..f0ff963de81 100644 --- a/sql/updates/world/2014_10_24_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_24_02_world.sql diff --git a/sql/updates/world/2014_10_24_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_24_03_world.sql index 344e28d9739..344e28d9739 100644 --- a/sql/updates/world/2014_10_24_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_24_03_world.sql diff --git a/sql/updates/world/2014_10_24_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_24_04_world.sql index bc31c281f63..bc31c281f63 100644 --- a/sql/updates/world/2014_10_24_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_24_04_world.sql diff --git a/sql/updates/world/2014_10_25_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_25_00_world.sql index d82e3ba5ff5..d82e3ba5ff5 100644 --- a/sql/updates/world/2014_10_25_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_25_00_world.sql diff --git a/sql/updates/world/2014_10_26_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_26_00_world.sql index 9d9d9312677..9d9d9312677 100644 --- a/sql/updates/world/2014_10_26_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_26_00_world.sql diff --git a/sql/updates/world/2014_10_26_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_26_01_world.sql index 10a7a313e59..10a7a313e59 100644 --- a/sql/updates/world/2014_10_26_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_26_01_world.sql diff --git a/sql/updates/world/2014_10_26_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_26_02_world.sql index cc166ded806..cc166ded806 100644 --- a/sql/updates/world/2014_10_26_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_26_02_world.sql diff --git a/sql/updates/world/2014_10_26_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_26_03_world.sql index 06617dd39fa..06617dd39fa 100644 --- a/sql/updates/world/2014_10_26_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_26_03_world.sql diff --git a/sql/updates/world/2014_10_26_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_26_04_world.sql index d1c93b63cab..d1c93b63cab 100644 --- a/sql/updates/world/2014_10_26_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_26_04_world.sql diff --git a/sql/updates/world/2014_10_26_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_26_05_world.sql index 8e962b663b0..8e962b663b0 100644 --- a/sql/updates/world/2014_10_26_05_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_26_05_world.sql diff --git a/sql/updates/world/2014_10_26_06_world_from_335.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_26_06_world_from_335.sql index 2d9c9c57d50..2d9c9c57d50 100644 --- a/sql/updates/world/2014_10_26_06_world_from_335.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_26_06_world_from_335.sql diff --git a/sql/updates/world/2014_10_27_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_27_00_world.sql index 35ca85881fd..35ca85881fd 100644 --- a/sql/updates/world/2014_10_27_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_27_00_world.sql diff --git a/sql/updates/world/2014_10_27_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_27_01_world.sql index ca472ce298d..ca472ce298d 100644 --- a/sql/updates/world/2014_10_27_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_27_01_world.sql diff --git a/sql/updates/world/2014_10_27_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_27_02_world.sql index 8bc4564b2f3..8bc4564b2f3 100644 --- a/sql/updates/world/2014_10_27_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_27_02_world.sql diff --git a/sql/updates/world/2014_10_28_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_28_00_world.sql index bdb90e47854..bdb90e47854 100644 --- a/sql/updates/world/2014_10_28_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_28_00_world.sql diff --git a/sql/updates/world/2014_10_29_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_29_00_world.sql index 17a5769f634..17a5769f634 100644 --- a/sql/updates/world/2014_10_29_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_29_00_world.sql diff --git a/sql/updates/world/2014_10_29_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_29_01_world.sql index f29b6745133..f29b6745133 100644 --- a/sql/updates/world/2014_10_29_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_29_01_world.sql diff --git a/sql/updates/world/2014_10_30_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_30_00_world.sql index 30c528cf3f0..30c528cf3f0 100644 --- a/sql/updates/world/2014_10_30_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_30_00_world.sql diff --git a/sql/updates/world/2014_10_30_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_30_01_world.sql index bb39a4aad58..bb39a4aad58 100644 --- a/sql/updates/world/2014_10_30_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_30_01_world.sql diff --git a/sql/updates/world/2014_10_30_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_30_02_world.sql index a3de351d578..a3de351d578 100644 --- a/sql/updates/world/2014_10_30_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_30_02_world.sql diff --git a/sql/updates/world/2014_10_31_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_31_00_world.sql index 93ace3548ca..93ace3548ca 100644 --- a/sql/updates/world/2014_10_31_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_31_00_world.sql diff --git a/sql/updates/world/2014_10_31_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_31_01_world.sql index acc75f11bff..acc75f11bff 100644 --- a/sql/updates/world/2014_10_31_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_31_01_world.sql diff --git a/sql/updates/world/2014_10_31_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_31_02_world.sql index a3cfa1f57ce..a3cfa1f57ce 100644 --- a/sql/updates/world/2014_10_31_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_31_02_world.sql diff --git a/sql/updates/world/2014_10_31_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_10_31_03_world.sql index 89a792d63fe..89a792d63fe 100644 --- a/sql/updates/world/2014_10_31_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_10_31_03_world.sql diff --git a/sql/updates/world/2014_11_01_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_01_00_world.sql index d5b57f841ee..d5b57f841ee 100644 --- a/sql/updates/world/2014_11_01_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_01_00_world.sql diff --git a/sql/updates/world/2014_11_02_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_02_00_world.sql index 3ebe4aa8c2f..3ebe4aa8c2f 100644 --- a/sql/updates/world/2014_11_02_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_02_00_world.sql diff --git a/sql/updates/world/2014_11_02_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_02_01_world.sql index cd7d7d67ded..cd7d7d67ded 100644 --- a/sql/updates/world/2014_11_02_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_02_01_world.sql diff --git a/sql/updates/world/2014_11_02_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_02_02_world.sql index 5ae70c2326e..5ae70c2326e 100644 --- a/sql/updates/world/2014_11_02_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_02_02_world.sql diff --git a/sql/updates/world/2014_11_04_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_04_00_world.sql index 8fdd922f8f9..8fdd922f8f9 100644 --- a/sql/updates/world/2014_11_04_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_04_00_world.sql diff --git a/sql/updates/world/2014_11_07_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_07_00_world.sql index f10ca6690e0..f10ca6690e0 100644 --- a/sql/updates/world/2014_11_07_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_07_00_world.sql diff --git a/sql/updates/world/2014_11_07_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_07_01_world.sql index 9586e499b69..9586e499b69 100644 --- a/sql/updates/world/2014_11_07_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_07_01_world.sql diff --git a/sql/updates/world/2014_11_08_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_08_00_world.sql index 64a59180b46..64a59180b46 100644 --- a/sql/updates/world/2014_11_08_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_08_00_world.sql diff --git a/sql/updates/world/2014_11_08_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_08_01_world.sql index e6969ee08ab..e6969ee08ab 100644 --- a/sql/updates/world/2014_11_08_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_08_01_world.sql diff --git a/sql/updates/world/2014_11_08_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_08_02_world.sql index 08f64d64bd3..08f64d64bd3 100644 --- a/sql/updates/world/2014_11_08_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_08_02_world.sql diff --git a/sql/updates/world/2014_11_10_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_10_00_world.sql index f085114a035..f085114a035 100644 --- a/sql/updates/world/2014_11_10_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_10_00_world.sql diff --git a/sql/updates/world/2014_11_10_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_10_01_world.sql index e0d9be1f568..e0d9be1f568 100644 --- a/sql/updates/world/2014_11_10_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_10_01_world.sql diff --git a/sql/updates/world/2014_11_10_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_10_02_world.sql index 4b0fc4a4fe2..4b0fc4a4fe2 100644 --- a/sql/updates/world/2014_11_10_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_10_02_world.sql diff --git a/sql/updates/world/2014_11_10_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_10_03_world.sql index 41044e8c7ef..41044e8c7ef 100644 --- a/sql/updates/world/2014_11_10_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_10_03_world.sql diff --git a/sql/updates/world/2014_11_10_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_10_04_world.sql index 1b4857e4724..1b4857e4724 100644 --- a/sql/updates/world/2014_11_10_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_10_04_world.sql diff --git a/sql/updates/world/2014_11_10_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_10_05_world.sql index 2ffd85afa5e..2ffd85afa5e 100644 --- a/sql/updates/world/2014_11_10_05_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_10_05_world.sql diff --git a/sql/updates/world/2014_11_16_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_16_00_world.sql index f2483d6aed5..f2483d6aed5 100644 --- a/sql/updates/world/2014_11_16_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_16_00_world.sql diff --git a/sql/updates/world/2014_11_16_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_16_01_world.sql index f9742354fb5..f9742354fb5 100644 --- a/sql/updates/world/2014_11_16_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_16_01_world.sql diff --git a/sql/updates/world/2014_11_16_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_16_02_world.sql index e8b6f525f6f..e8b6f525f6f 100644 --- a/sql/updates/world/2014_11_16_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_16_02_world.sql diff --git a/sql/updates/world/2014_11_16_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_16_03_world.sql index 939c43f7056..939c43f7056 100644 --- a/sql/updates/world/2014_11_16_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_16_03_world.sql diff --git a/sql/updates/world/2014_11_16_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_16_04_world.sql index 0caefd879e9..0caefd879e9 100644 --- a/sql/updates/world/2014_11_16_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_16_04_world.sql diff --git a/sql/updates/world/2014_11_16_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_16_05_world.sql index 60bfbeb7eae..60bfbeb7eae 100644 --- a/sql/updates/world/2014_11_16_05_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_16_05_world.sql diff --git a/sql/updates/world/2014_11_16_06_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_16_06_world.sql index db999f41dac..db999f41dac 100644 --- a/sql/updates/world/2014_11_16_06_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_16_06_world.sql diff --git a/sql/updates/world/2014_11_19_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_19_00_world.sql index d2b188cbf69..d2b188cbf69 100644 --- a/sql/updates/world/2014_11_19_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_19_00_world.sql diff --git a/sql/updates/world/2014_11_19_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_19_01_world.sql index 3019db4045f..3019db4045f 100644 --- a/sql/updates/world/2014_11_19_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_19_01_world.sql diff --git a/sql/updates/world/2014_11_20_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_20_00_world.sql index d30256ee367..d30256ee367 100644 --- a/sql/updates/world/2014_11_20_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_20_00_world.sql diff --git a/sql/updates/world/2014_11_20_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_20_01_world.sql index 75474e72596..75474e72596 100644 --- a/sql/updates/world/2014_11_20_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_20_01_world.sql diff --git a/sql/updates/world/2014_11_20_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_20_02_world.sql index 1e0048e1943..1e0048e1943 100644 --- a/sql/updates/world/2014_11_20_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_20_02_world.sql diff --git a/sql/updates/world/2014_11_30_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_11_30_00_world.sql index d946231922c..d946231922c 100644 --- a/sql/updates/world/2014_11_30_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_11_30_00_world.sql diff --git a/sql/updates/world/2014_12_01_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_01_00_world.sql index 6e96a1bfe9a..6e96a1bfe9a 100644 --- a/sql/updates/world/2014_12_01_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_01_00_world.sql diff --git a/sql/updates/world/2014_12_04_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_04_00_world.sql index 5308b0f51d7..5308b0f51d7 100644 --- a/sql/updates/world/2014_12_04_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_04_00_world.sql diff --git a/sql/updates/world/2014_12_04_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_04_01_world.sql index 274bfe59f87..274bfe59f87 100644 --- a/sql/updates/world/2014_12_04_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_04_01_world.sql diff --git a/sql/updates/world/2014_12_12_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_12_00_world.sql index bf1854689b3..bf1854689b3 100644 --- a/sql/updates/world/2014_12_12_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_12_00_world.sql diff --git a/sql/updates/world/2014_12_12_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_12_01_world.sql index aa5b1641320..aa5b1641320 100644 --- a/sql/updates/world/2014_12_12_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_12_01_world.sql diff --git a/sql/updates/world/2014_12_12_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_12_02_world.sql index 6dc657b39e9..6dc657b39e9 100644 --- a/sql/updates/world/2014_12_12_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_12_02_world.sql diff --git a/sql/updates/world/2014_12_12_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_12_03_world.sql index 740e6e962aa..740e6e962aa 100644 --- a/sql/updates/world/2014_12_12_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_12_03_world.sql diff --git a/sql/updates/world/2014_12_13_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_13_00_world.sql index 3be9f73a293..3be9f73a293 100644 --- a/sql/updates/world/2014_12_13_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_13_00_world.sql diff --git a/sql/updates/world/2014_12_15_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_15_00_world.sql index 8ed026454c6..8ed026454c6 100644 --- a/sql/updates/world/2014_12_15_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_15_00_world.sql diff --git a/sql/updates/world/2014_12_17_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_17_00_world.sql index fd1e88f9c1a..fd1e88f9c1a 100644 --- a/sql/updates/world/2014_12_17_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_17_00_world.sql diff --git a/sql/updates/world/2014_12_19_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_19_00_world.sql index 5ba41a95258..5ba41a95258 100644 --- a/sql/updates/world/2014_12_19_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_19_00_world.sql diff --git a/sql/updates/world/2014_12_19_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_19_01_world.sql index 4285454ca95..4285454ca95 100644 --- a/sql/updates/world/2014_12_19_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_19_01_world.sql diff --git a/sql/updates/world/2014_12_21_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_21_00_world.sql index 857d7286352..857d7286352 100644 --- a/sql/updates/world/2014_12_21_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_21_00_world.sql diff --git a/sql/updates/world/2014_12_24_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_24_00_world.sql index 707996093b7..707996093b7 100644 --- a/sql/updates/world/2014_12_24_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_24_00_world.sql diff --git a/sql/updates/world/2014_12_25_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_25_00_world.sql index 1d3134dccfd..1d3134dccfd 100644 --- a/sql/updates/world/2014_12_25_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_25_00_world.sql diff --git a/sql/updates/world/2014_12_25_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_25_01_world.sql index c88adf4d130..c88adf4d130 100644 --- a/sql/updates/world/2014_12_25_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_25_01_world.sql diff --git a/sql/updates/world/2014_12_26_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_26_00_world.sql index c4de6d0f326..c4de6d0f326 100644 --- a/sql/updates/world/2014_12_26_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_26_00_world.sql diff --git a/sql/updates/world/2014_12_26_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_26_01_world.sql index 88fab3a362c..88fab3a362c 100644 --- a/sql/updates/world/2014_12_26_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_26_01_world.sql diff --git a/sql/updates/world/2014_12_26_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_26_02_world.sql index dd773a8bc3c..dd773a8bc3c 100644 --- a/sql/updates/world/2014_12_26_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_26_02_world.sql diff --git a/sql/updates/world/2014_12_26_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_26_03_world.sql index 3fcc3cf7cb2..3fcc3cf7cb2 100644 --- a/sql/updates/world/2014_12_26_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_26_03_world.sql diff --git a/sql/updates/world/2014_12_26_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_26_04_world.sql index 90ee138a237..90ee138a237 100644 --- a/sql/updates/world/2014_12_26_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_26_04_world.sql diff --git a/sql/updates/world/2014_12_26_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_26_05_world.sql index c7821cca3dc..c7821cca3dc 100644 --- a/sql/updates/world/2014_12_26_05_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_26_05_world.sql diff --git a/sql/updates/world/2014_12_26_06_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_26_06_world.sql index d6336016ddb..d6336016ddb 100644 --- a/sql/updates/world/2014_12_26_06_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_26_06_world.sql diff --git a/sql/updates/world/2014_12_26_07_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_26_07_world.sql index 984b8b1f91f..984b8b1f91f 100644 --- a/sql/updates/world/2014_12_26_07_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_26_07_world.sql diff --git a/sql/updates/world/2014_12_27_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_00_world.sql index 021834b78f7..021834b78f7 100644 --- a/sql/updates/world/2014_12_27_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_00_world.sql diff --git a/sql/updates/world/2014_12_27_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_01_world.sql index 499b061ed19..499b061ed19 100644 --- a/sql/updates/world/2014_12_27_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_01_world.sql diff --git a/sql/updates/world/2014_12_27_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_02_world.sql index fb754818707..fb754818707 100644 --- a/sql/updates/world/2014_12_27_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_02_world.sql diff --git a/sql/updates/world/2014_12_27_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_03_world.sql index f623d6d03c8..f623d6d03c8 100644 --- a/sql/updates/world/2014_12_27_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_03_world.sql diff --git a/sql/updates/world/2014_12_27_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_04_world.sql index c67094f8d1f..c67094f8d1f 100644 --- a/sql/updates/world/2014_12_27_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_04_world.sql diff --git a/sql/updates/world/2014_12_27_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_05_world.sql index 9b28c4e6071..9b28c4e6071 100644 --- a/sql/updates/world/2014_12_27_05_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_05_world.sql diff --git a/sql/updates/world/2014_12_27_06_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_06_world.sql index 49b3c43e3e1..49b3c43e3e1 100644 --- a/sql/updates/world/2014_12_27_06_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_06_world.sql diff --git a/sql/updates/world/2014_12_27_07_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_07_world.sql index fadfc18187c..fadfc18187c 100644 --- a/sql/updates/world/2014_12_27_07_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_07_world.sql diff --git a/sql/updates/world/2014_12_27_08_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_27_08_world.sql index 1c0ab783080..1c0ab783080 100644 --- a/sql/updates/world/2014_12_27_08_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_27_08_world.sql diff --git a/sql/updates/world/2014_12_28_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_28_00_world.sql index e71ec1cf8bb..e71ec1cf8bb 100644 --- a/sql/updates/world/2014_12_28_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_28_00_world.sql diff --git a/sql/updates/world/2014_12_28_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_28_01_world.sql index c571069edca..c571069edca 100644 --- a/sql/updates/world/2014_12_28_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_28_01_world.sql diff --git a/sql/updates/world/2014_12_28_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_28_02_world.sql index 9bbd10e71b6..9bbd10e71b6 100644 --- a/sql/updates/world/2014_12_28_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_28_02_world.sql diff --git a/sql/updates/world/2014_12_28_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_28_03_world.sql index bc44ddd1cd1..bc44ddd1cd1 100644 --- a/sql/updates/world/2014_12_28_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_28_03_world.sql diff --git a/sql/updates/world/2014_12_28_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_28_04_world.sql index abd02d38d13..abd02d38d13 100644 --- a/sql/updates/world/2014_12_28_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_28_04_world.sql diff --git a/sql/updates/world/2014_12_28_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_28_05_world.sql index e3e7f680de1..e3e7f680de1 100644 --- a/sql/updates/world/2014_12_28_05_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_28_05_world.sql diff --git a/sql/updates/world/2014_12_28_06_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_28_06_world.sql index 8a1b29a8169..8a1b29a8169 100644 --- a/sql/updates/world/2014_12_28_06_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_28_06_world.sql diff --git a/sql/updates/world/2014_12_28_07_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_28_07_world.sql index f3fd0021214..f3fd0021214 100644 --- a/sql/updates/world/2014_12_28_07_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_28_07_world.sql diff --git a/sql/updates/world/2014_12_29_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_29_00_world.sql index 3d52e7d88ff..3d52e7d88ff 100644 --- a/sql/updates/world/2014_12_29_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_29_00_world.sql diff --git a/sql/updates/world/2014_12_30_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2014_12_30_00_world.sql index d1fad59b940..d1fad59b940 100644 --- a/sql/updates/world/2014_12_30_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2014_12_30_00_world.sql diff --git a/sql/updates/world/2015_01_10_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_10_00_world.sql index d5943731a50..d5943731a50 100644 --- a/sql/updates/world/2015_01_10_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_10_00_world.sql diff --git a/sql/updates/world/2015_01_10_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_10_01_world.sql index 45be14c717b..45be14c717b 100644 --- a/sql/updates/world/2015_01_10_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_10_01_world.sql diff --git a/sql/updates/world/2015_01_10_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_10_02_world.sql index 0dc1d6b9eb0..0dc1d6b9eb0 100644 --- a/sql/updates/world/2015_01_10_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_10_02_world.sql diff --git a/sql/updates/world/2015_01_10_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_10_03_world.sql index 8516179e28a..8516179e28a 100644 --- a/sql/updates/world/2015_01_10_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_10_03_world.sql diff --git a/sql/updates/world/2015_01_10_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_10_04_world.sql index 769dcefdd0c..769dcefdd0c 100644 --- a/sql/updates/world/2015_01_10_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_10_04_world.sql diff --git a/sql/updates/world/2015_01_10_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_10_05_world.sql index fe8596356e2..fe8596356e2 100644 --- a/sql/updates/world/2015_01_10_05_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_10_05_world.sql diff --git a/sql/updates/world/2015_01_10_06_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_10_06_world.sql index 6c7f42580d3..6c7f42580d3 100644 --- a/sql/updates/world/2015_01_10_06_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_10_06_world.sql diff --git a/sql/updates/world/2015_01_10_07_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_10_07_world.sql index d35f31f348c..d35f31f348c 100644 --- a/sql/updates/world/2015_01_10_07_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_10_07_world.sql diff --git a/sql/updates/world/2015_01_11_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_11_01_world.sql index ed475365e80..ed475365e80 100644 --- a/sql/updates/world/2015_01_11_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_11_01_world.sql diff --git a/sql/updates/world/2015_01_11_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_11_02_world.sql index 6f99ca4cc6a..6f99ca4cc6a 100644 --- a/sql/updates/world/2015_01_11_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_11_02_world.sql diff --git a/sql/updates/world/2015_01_11_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_11_03_world.sql index 9dc06124b12..9dc06124b12 100644 --- a/sql/updates/world/2015_01_11_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_11_03_world.sql diff --git a/sql/updates/world/2015_01_12_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_12_00_world.sql index dfe4e710ccb..dfe4e710ccb 100644 --- a/sql/updates/world/2015_01_12_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_12_00_world.sql diff --git a/sql/updates/world/2015_01_15_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_15_00_world.sql index 2840e36bcf2..2840e36bcf2 100644 --- a/sql/updates/world/2015_01_15_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_15_00_world.sql diff --git a/sql/updates/world/2015_01_16_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_16_00_world.sql index d4ed9192b46..d4ed9192b46 100644 --- a/sql/updates/world/2015_01_16_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_16_00_world.sql diff --git a/sql/updates/world/2015_01_18_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_18_00_world.sql index 3b0cfd4b9e6..3b0cfd4b9e6 100644 --- a/sql/updates/world/2015_01_18_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_18_00_world.sql diff --git a/sql/updates/world/2015_01_30_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_30_00_world.sql index 57910525e52..57910525e52 100644 --- a/sql/updates/world/2015_01_30_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_30_00_world.sql diff --git a/sql/updates/world/2015_01_30_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_01_30_01_world.sql index 0b88e0d01d4..0b88e0d01d4 100644 --- a/sql/updates/world/2015_01_30_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_01_30_01_world.sql diff --git a/sql/updates/world/2015_02_02_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_02_00_world.sql index 7cf4f5c3a3b..7cf4f5c3a3b 100644 --- a/sql/updates/world/2015_02_02_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_02_00_world.sql diff --git a/sql/updates/world/2015_02_02_00_world_from_335.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_02_00_world_from_335.sql index 84d31ef7be1..84d31ef7be1 100644 --- a/sql/updates/world/2015_02_02_00_world_from_335.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_02_00_world_from_335.sql diff --git a/sql/updates/world/2015_02_02_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_02_01_world.sql index 3683d2db6af..3683d2db6af 100644 --- a/sql/updates/world/2015_02_02_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_02_01_world.sql diff --git a/sql/updates/world/2015_02_06_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_06_00_world.sql index 465c0a30970..465c0a30970 100644 --- a/sql/updates/world/2015_02_06_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_06_00_world.sql diff --git a/sql/updates/world/2015_02_08_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_08_00_world.sql index 38119c373dc..38119c373dc 100644 --- a/sql/updates/world/2015_02_08_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_08_00_world.sql diff --git a/sql/updates/world/2015_02_11_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_11_00_world.sql index 4e855d6fa06..4e855d6fa06 100644 --- a/sql/updates/world/2015_02_11_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_11_00_world.sql diff --git a/sql/updates/world/2015_02_12_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_12_00_world.sql index ff046037be6..ff046037be6 100644 --- a/sql/updates/world/2015_02_12_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_12_00_world.sql diff --git a/sql/updates/world/2015_02_13_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_13_00_world.sql index f510682f090..f510682f090 100644 --- a/sql/updates/world/2015_02_13_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_13_00_world.sql diff --git a/sql/updates/world/2015_02_18_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_18_00_world.sql index 6a4c12347a3..6a4c12347a3 100644 --- a/sql/updates/world/2015_02_18_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_18_00_world.sql diff --git a/sql/updates/world/2015_02_19_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_19_00_world.sql index 56e08c982f2..56e08c982f2 100644 --- a/sql/updates/world/2015_02_19_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_19_00_world.sql diff --git a/sql/updates/world/2015_02_20_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_20_00_world.sql index 643e91161ed..643e91161ed 100644 --- a/sql/updates/world/2015_02_20_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_20_00_world.sql diff --git a/sql/updates/world/2015_02_20_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_20_01_world.sql index 984d19af5d4..984d19af5d4 100644 --- a/sql/updates/world/2015_02_20_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_20_01_world.sql diff --git a/sql/updates/world/2015_02_20_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_20_02_world.sql index 225719a435d..225719a435d 100644 --- a/sql/updates/world/2015_02_20_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_20_02_world.sql diff --git a/sql/updates/world/2015_02_22_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_22_00_world.sql index 32391b6dc15..32391b6dc15 100644 --- a/sql/updates/world/2015_02_22_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_22_00_world.sql diff --git a/sql/updates/world/2015_02_22_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_02_22_01_world.sql index 124becb6675..124becb6675 100644 --- a/sql/updates/world/2015_02_22_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_02_22_01_world.sql diff --git a/sql/updates/world/2015_03_07_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_07_00_world.sql index 4cc5d647e1a..4cc5d647e1a 100644 --- a/sql/updates/world/2015_03_07_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_07_00_world.sql diff --git a/sql/updates/world/2015_03_07_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_07_01_world.sql index df26ef1f267..df26ef1f267 100644 --- a/sql/updates/world/2015_03_07_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_07_01_world.sql diff --git a/sql/updates/world/2015_03_07_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_07_02_world.sql index 8d8fe3be881..8d8fe3be881 100644 --- a/sql/updates/world/2015_03_07_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_07_02_world.sql diff --git a/sql/updates/world/2015_03_07_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_07_03_world.sql index e2a7639d5ae..e2a7639d5ae 100644 --- a/sql/updates/world/2015_03_07_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_07_03_world.sql diff --git a/sql/updates/world/2015_03_10_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_10_00_world.sql index befd7f94145..befd7f94145 100644 --- a/sql/updates/world/2015_03_10_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_10_00_world.sql diff --git a/sql/updates/world/2015_03_16_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_00_world.sql index 123bd8511cd..123bd8511cd 100644 --- a/sql/updates/world/2015_03_16_00_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_00_world.sql diff --git a/sql/updates/world/2015_03_16_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_01_world.sql index c6ecea91784..c6ecea91784 100644 --- a/sql/updates/world/2015_03_16_01_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_01_world.sql diff --git a/sql/updates/world/2015_03_16_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_02_world.sql index 292f80c7401..292f80c7401 100644 --- a/sql/updates/world/2015_03_16_02_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_02_world.sql diff --git a/sql/updates/world/2015_03_16_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_03_world.sql index 017ef562ccc..017ef562ccc 100644 --- a/sql/updates/world/2015_03_16_03_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_03_world.sql diff --git a/sql/updates/world/2015_03_16_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_04_world.sql index 099715b23b2..099715b23b2 100644 --- a/sql/updates/world/2015_03_16_04_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_04_world.sql diff --git a/sql/updates/world/2015_03_16_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_05_world.sql index b577abe05e7..b577abe05e7 100644 --- a/sql/updates/world/2015_03_16_05_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_05_world.sql diff --git a/sql/updates/world/2015_03_16_06_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_06_world.sql index b36f8c6e2d6..b36f8c6e2d6 100644 --- a/sql/updates/world/2015_03_16_06_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_06_world.sql diff --git a/sql/updates/world/2015_03_16_07_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_07_world.sql index 4078fffad9d..4078fffad9d 100644 --- a/sql/updates/world/2015_03_16_07_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_07_world.sql diff --git a/sql/updates/world/2015_03_16_08_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_08_world.sql index 854c017745f..854c017745f 100644 --- a/sql/updates/world/2015_03_16_08_world.sql +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_08_world.sql diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_16_09_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_09_world.sql new file mode 100644 index 00000000000..4487e9efa4c --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_09_world.sql @@ -0,0 +1,53 @@ +-- A slimy Situation +-- Kelnir Leafsong SAI +SET @ENTRY := 47696; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,20,0,100,0,28207,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kelnir Leafsong - On Quest 'A Slimy Situation' Finished - Say Line 0"), +(@ENTRY,0,1,0,61,0,100,0,28207,0,0,0,45,1,1,0,0,0,0,10,361152,47692,0,0,0,0,0,"Kelnir Leafsong - On Quest 'A Slimy Situation' Finished - Set Data 1 1"); + +DELETE FROM `creature_addon` WHERE `guid`=361152; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(361152,0,0,8,1,0, ''); + +-- Altsoba Ragetotem SAI +SET @ENTRY := 47692; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,38,0,100,0,1,1,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Altsoba Ragetotem - On Data Set 1 1 - Run Script"); + +-- Actionlist SAI +SET @ENTRY := 4769200; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,5000,5000,0,0,5,7,0,0,0,0,0,1,0,0,0,0,0,0,0,"Altsoba Ragetotem - On Script - Play Emote 7"), +(@ENTRY,9,1,0,0,0,100,0,4000,4000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Altsoba Ragetotem - On Script - Say Line 0"), +(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Altsoba Ragetotem - On Script - Say Line 1"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,11,89282,0,0,0,0,0,1,0,0,0,0,0,0,0,"Altsoba Ragetotem - On Script - Cast 'Vomit Slime'"); + +-- Purged Bloodvenom SAI +SET @ENTRY := 48019; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Purged Bloodvenom - On Just Summoned - Run Script"), +(@ENTRY,0,1,0,40,0,100,0,2,48019,0,0,41,2000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Purged Bloodvenom - On Waypoint 2 Reached - Despawn In 2000 ms"); + +-- Actionlist SAI +SET @ENTRY := 4801900; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,53,1,48019,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Start Waypoint"); + +DELETE FROM `waypoints` WHERE `entry`=48019; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(48019, 1, 5181.72, -705.112, 335.698, 'Purged Bloodvenom'), +(48019, 2, 5166.87, -680.257, 331.131, 'Purged Bloodvenom'); + +DELETE FROM `creature_text` WHERE `entry` IN (47696, 47692); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(47696, 0, 0, 'Open wide, Mr. Tauren! Here comes the hippogryph into the roost!', 12, 0, 100, 0, 0, 0, 48256, 0, 'Kelnir Leafsong'), +(47692, 0, 0, 'Urrrrrrgh...', 12, 0, 100, 0, 0, 0, 48254, 0, 'Altsoba Ragetotem'), +(47692, 1, 0, 'HLORRHGH!', 14, 0, 100, 0, 0, 0, 48255, 0, 'Altsoba Ragetotem'); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_16_10_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_16_10_world.sql new file mode 100644 index 00000000000..1dce6c40205 --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_16_10_world.sql @@ -0,0 +1,63 @@ +-- +-- Navarax's Gambit +DELETE FROM `creature_text` WHERE `entry` IN (47842, 48487); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES +(47842, 0, 0, 'Your death will tell a different story!', 14, 0, 100, 0, 0, 0, 48370, 'Arch Druid Navarax to Player'), +(48487, 0, 0, 'What is going on in here?!', 12, 0, 100, 5, 0, 0, 48691, 'Whisperwind Druid to Player'), +(48487, 1, 0, 'The Arch Druid... how in the world...?', 12, 0, 100, 274, 0, 0, 48692, 'Whisperwind Druid to Player'), +(48487, 2, 0, 'I... I must tell the others. You should find Huntress Selura right away.', 12, 0, 100, 1, 0, 0, 48693, 'Whisperwind Druid to Player'); + +DELETE FROM `gossip_menu` WHERE (`entry`=12353 AND `text_id`=17477); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(12353, 17477); -- 47923 + +-- DELETE FROM `broadcast_text` WHERE `ID`=48373; +-- INSERT INTO `broadcast_text` (`ID`, `Language`, `MaleText`, `FemaleText`, `EmoteID0`, `EmoteID1`, `EmoteID2`, `EmoteDelay0`, `EmoteDelay1`, `EmoteDelay2`, `SoundId`, `Unk1`, `Unk2`, `VerifiedBuild`) VALUES +-- (48373, 0, 'Yes, my child?', '', 0, 0, 0, 0, 0, 0, 0, 0, 1, 19342); -- 48373 + +DELETE FROM `gossip_menu_option` WHERE (`menu_id`=12398 AND `id`=0); +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES +(12398, 0, 0, 'You''re accused of being a demon in disguise, Navarax... if that''s even your real name!', 1, 1, 0, 0, 0, 0, '', 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=12398 AND `SourceEntry`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 12398, 0, 0, 0, 9, 0, 28264, 0, 0, 0, 0, 0, '', 'Gossip Option requires quest not complete'); + +-- Arch Druid Navarax SAI +SET @ENTRY := 47842; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,62,0,100,0,12398,0,0,0,2,14,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arch Druid Navarax - On Gossip Option 0 Selected - Set Faction 14"), +(@ENTRY,0,1,4,61,0,100,0,12398,0,0,0,49,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Arch Druid Navarax - On Gossip Option 0 Selected - Start Attacking"), +(@ENTRY,0,2,0,25,0,100,0,0,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arch Druid Navarax - On Reset - Set Faction 35"), +(@ENTRY,0,3,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arch Druid Navarax - On Aggro - Say Line 0"), +(@ENTRY,0,4,7,61,0,100,0,12398,0,0,0,11,89515,2,0,0,0,0,1,0,0,0,0,0,0,0,"Arch Druid Navarax - On Gossip Option 0 Selected - Cast 'Xaravan's Transformation'"), +(@ENTRY,0,5,0,0,0,100,0,1000,1000,5000,5000,11,36996,0,0,0,0,0,2,0,0,0,0,0,0,0,"Arch Druid Navarax - In Combat - Cast 'Claw Swipe'"), +(@ENTRY,0,6,0,6,0,100,0,0,0,0,0,12,48487,6,0,0,0,0,8,0,0,0,6050.23,-934.345,455.853,1.15377,"Arch Druid Navarax - On Just Died - Summon Creature 'Whisperwind Druid'"), +(@ENTRY,0,7,0,61,0,100,0,12398,0,0,0,3,48160,0,0,0,0,0,0,0,0,0,0,0,0,0,"Arch Druid Navarax - On Gossip Option 0 Selected - Morph To Model 10189"), +(@ENTRY,0,8,0,0,0,100,1,1000,1000,0,0,3,48160,0,0,0,0,0,1,0,0,0,0,0,0,0,"Arch Druid Navarax - In Combat - Morph To Creature Xaravan"); + +-- Whisperwind Druid SAI +SET @ENTRY := 48487; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,53,1,48487,0,0,0,0,1,0,0,0,0,0,0,0,"Whisperwind Druid - On Just Summoned - Start Waypoint"), +(@ENTRY,0,1,2,40,0,100,0,1,48487,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Whisperwind Druid - On Waypoint 1 Reached - Run Script"), +(@ENTRY,0,2,0,61,0,100,0,1,48487,0,0,54,12000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Whisperwind Druid - On Waypoint 1 Reached - Pause Waypoint"), +(@ENTRY,0,3,0,40,0,100,0,3,48487,0,0,41,2000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Whisperwind Druid - On Waypoint 3 Reached - Despawn In 2000 ms"); + +-- Actionlist SAI +SET @ENTRY := 4848700; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 0"), +(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 1"), +(@ENTRY,9,2,0,0,0,100,0,4000,4000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 2"); + +DELETE FROM `waypoints` WHERE `entry`=48487; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(48487, 1, 6053.084473, -927.829712, 455.742828, 'Whisperwind Druid'), +(48487, 2, 6050.680664, -933.536255, 455.892639, 'Whisperwind Druid'), +(48487, 3, 6054.942383, -934.681335, 455.893829, 'Whisperwind Druid'); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_17_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_17_00_world.sql new file mode 100644 index 00000000000..01ddab42991 --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_17_00_world.sql @@ -0,0 +1,3845 @@ +-- Silithus Spawns + +SET @CGUID := 362098; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1680; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 61441, 1, 1, 1, -6291.479, -284.2485, 9.252878, 1.559078, 120, 5, 1), -- 61441 (Area: 3077) (possible waypoints or random movement) +(@CGUID+1, 12956, 1, 1, 1, -6370.385, -318.9603, -1.452312, 2.042035, 120, 0, 0), -- 12956 (Area: 3077) +(@CGUID+2, 11805, 1, 1, 1, -6378.433, -320.6498, -1.257004, 1.745329, 120, 0, 0), -- 11805 (Area: 3077) +(@CGUID+3, 13220, 1, 1, 1, -6398.138, -314.3559, -1.417586, 0.2617994, 120, 0, 0), -- 13220 (Area: 3077) +(@CGUID+4, 15476, 1, 1, 1, -6483.99, -215.896, 5.654563, 3.625343, 120, 0, 0), -- 15476 (Area: 3077) +(@CGUID+5, 11738, 1, 1, 1, -6616.041, -141.4529, 4.468462, 3.125771, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+6, 11738, 1, 1, 1, -6618.617, -11.16992, 7.368344, 1.761506, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+7, 15476, 1, 1, 1, -6652.476, -103.8745, 2.833209, 1.895019, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+8, 15476, 1, 1, 1, -6694.739, 50.35805, 0.1605842, 0.1548762, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+9, 11740, 1, 1, 1, -6658.178, 58.8527, 2.81987, 0.9487581, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+10, 49840, 1, 1, 1, -6742.903, -21.8594, 3.789099, 5.835243, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+11, 11740, 1, 1, 1, -6651.594, 149.8972, 5.684879, 5.841693, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+12, 15476, 1, 1, 1, -6740.037, 123.1188, 4.050104, 3.077726, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+13, 11738, 1, 1, 1, -6760.568, 90.59328, 2.179507, 4.798766, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+14, 11738, 1, 1, 1, -6737.127, 176.9371, 3.467534, 0.1906337, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+15, 11740, 1, 1, 1, -6649.672, 176.3177, 5.022129, 6.118358, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+16, 15476, 1, 1, 1, -6737.604, 206.4638, 3.554197, 2.485125, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+17, 11740, 1, 1, 1, -6654.469, 245.5494, 1.860712, 0.7771111, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+18, 14476, 1, 1, 1, -6655.022, 232.7591, 1.587721, 5.802073, 120, 5, 1), -- 14476 (Area: 0) (possible waypoints or random movement) +(@CGUID+19, 15476, 1, 1, 1, -6597.381, 283.3466, 3.094527, 0.1805518, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+20, 11735, 1, 1, 1, -6583.11, 269.9582, 4.284549, 1.486682, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+21, 11738, 1, 1, 1, -6640.552, 285.0469, 2.285335, 3.301491, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+22, 61441, 1, 1, 1, -6530.319, 254.8663, 5.174874, 0, 120, 5, 1), -- 61441 (Area: 0) (possible waypoints or random movement) +(@CGUID+23, 11735, 1, 1, 1, -6590.733, 306.0293, 3.650531, 5.005717, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+24, 49727, 1, 1, 1, -6573.816, 324.7359, -0.5048387, 2.922015, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+25, 11880, 1, 1, 1, -6476.927, 254.8221, 3.911397, 0.9294142, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+26, 11738, 1, 1, 1, -6520.253, 278.0135, 3.070508, 5.012634, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+27, 11880, 1, 1, 1, -6475.196, 216.5292, 3.707563, 6.201018, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+28, 11880, 1, 1, 1, -6452.632, 251.4817, 5.902576, 0.6305273, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+29, 11880, 1, 1, 1, -6453.224, 192.7723, 5.188807, 5.113815, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+30, 11883, 1, 1, 1, -6458.804, 227.1563, 4.603725, 5.427974, 120, 0, 0), -- 11883 (Area: 3426) +(@CGUID+31, 15213, 1, 1, 1, -6463.133, 212.9492, 5.937068, 2.740167, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+32, 11740, 1, 1, 1, -6455.137, 304.4779, 5.497696, 4.963052, 120, 0, 0), -- 11740 (Area: 3426) +(@CGUID+33, 11883, 1, 1, 1, -6416.059, 206.7574, 3.393294, 2.811199, 120, 0, 0), -- 11883 (Area: 3426) +(@CGUID+34, 11880, 1, 1, 1, -6414.398, 279.1929, 8.554767, 4.294822, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+35, 15213, 1, 1, 1, -6406.74, 211.1234, 3.868084, 2.314782, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+36, 11880, 1, 1, 1, -6439.549, 193.9295, 4.788175, 2.216568, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+37, 11744, 1, 1, 1, -6415.625, 176.5625, 6.836776, 3.463718, 120, 0, 0), -- 11744 (Area: 3426) (Auras: 19514 - 19514) +(@CGUID+38, 15213, 1, 1, 1, -6433.123, 203.8728, 4.448484, 5.969026, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+39, 11883, 1, 1, 1, -6412.147, 180.5681, 6.825528, 0.6457718, 120, 0, 0), -- 11883 (Area: 3426) +(@CGUID+40, 15476, 1, 1, 1, -6441.895, 315.9008, 4.478409, 6.247317, 120, 0, 0), -- 15476 (Area: 3426) +(@CGUID+41, 49727, 1, 1, 1, -6384.484, 255.8207, 5.039044, 2.326809, 120, 5, 1), -- 49727 (Area: 3426) (possible waypoints or random movement) +(@CGUID+42, 15213, 1, 1, 1, -6398.427, 186.8661, 6.488415, 1.005566, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+43, 11880, 1, 1, 1, -6347.798, 263.3953, 6.845252, 1.242873, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+44, 15213, 1, 1, 1, -6375.322, 145.6444, 6.46356, 1.384128, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+45, 15213, 1, 1, 1, -6357.905, 185.3951, 5.432473, 2.82487, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+46, 49727, 1, 1, 1, -6375.312, 161.7424, 6.177694, 1.690303, 120, 5, 1), -- 49727 (Area: 3426) (possible waypoints or random movement) +(@CGUID+47, 11883, 1, 1, 1, -6371.754, 223.4752, 2.113121, 4.590216, 120, 0, 0), -- 11883 (Area: 3426) +(@CGUID+48, 15213, 1, 1, 1, -6388.329, 261.8136, 6.442121, 2.219356, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+49, 11880, 1, 1, 1, -6321.527, 225.612, 3.688902, 3.57032, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+50, 11883, 1, 1, 1, -6355.877, 147.3096, 6.31777, 0.8726646, 120, 0, 0), -- 11883 (Area: 3426) +(@CGUID+51, 11880, 1, 1, 1, -6326.233, 174.1487, 6.739892, 5.497787, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+52, 11880, 1, 1, 1, -6319.206, 273.5444, 10.07444, 3.88414, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+53, 11880, 1, 1, 1, -6312.21, 261.8508, 10.41649, 5.348078, 120, 0, 0), -- 11880 (Area: 3426) +(@CGUID+54, 15201, 1, 1, 1, -6291.584, 106.2093, 16.87522, 1.850691, 120, 0, 0), -- 15201 (Area: 3426) (Auras: 15733 - 15733) +(@CGUID+55, 15201, 1, 1, 1, -6266.424, 45.20956, 9.167923, 2.102476, 120, 0, 0), -- 15201 (Area: 3426) (Auras: 15733 - 15733) +(@CGUID+56, 15201, 1, 1, 1, -6292.879, 34.17698, -10.5855, 6.12495, 120, 0, 0), -- 15201 (Area: 3426) (Auras: 15733 - 15733) +(@CGUID+57, 15201, 1, 1, 1, -6265.902, 42.05367, 9.061648, 2.395, 120, 0, 0), -- 15201 (Area: 3426) (Auras: 15733 - 15733) +(@CGUID+58, 15201, 1, 1, 1, -6254.229, 53.21752, 16.87097, 4.235274, 120, 0, 0), -- 15201 (Area: 3426) (Auras: 15733 - 15733) +(@CGUID+59, 15201, 1, 1, 1, -6248.428, 53.19944, 16.52031, 5.195197, 120, 0, 0), -- 15201 (Area: 3426) (Auras: 15733 - 15733) +(@CGUID+60, 15213, 1, 1, 1, -6258.229, 68.59364, 17.34475, 1.553343, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+61, 15201, 1, 1, 1, -6292.033, 64.16595, 11.14365, 5.312276, 120, 0, 0), -- 15201 (Area: 3426) (Auras: 15733 - 15733) +(@CGUID+62, 15213, 1, 1, 1, -6262.889, 66.46305, 17.34475, 2.059489, 120, 0, 0), -- 15213 (Area: 3426) +(@CGUID+63, 50737, 1, 1, 1, -6326.188, 10.78993, 6.591668, 5.584963, 120, 0, 0), -- 50737 (Area: 3446) (Auras: 8601 - 8601) +(@CGUID+64, 15213, 1, 1, 1, -6241.406, 52.40213, 16.25647, 6.108652, 120, 0, 0), -- 15213 (Area: 3446) +(@CGUID+65, 15201, 1, 1, 1, -6274.74, 12.34722, -9.302056, 1.884956, 120, 0, 0), -- 15201 (Area: 3446) (Auras: 15733 - 15733) +(@CGUID+66, 15201, 1, 1, 1, -6278.779, 21.27691, -10.61158, 2.011872, 120, 0, 0), -- 15201 (Area: 3446) (Auras: 15733 - 15733) +(@CGUID+67, 15213, 1, 1, 1, -6313.528, 8.943685, 6.192544, 0.9773844, 120, 0, 0), -- 15213 (Area: 3446) +(@CGUID+68, 15202, 1, 1, 1, -6320.338, 15.91021, 6.307531, 1.466077, 120, 0, 0), -- 15202 (Area: 3446) +(@CGUID+69, 15201, 1, 1, 1, -6295.663, 8.617976, -3.011711, 4.674437, 120, 0, 0), -- 15201 (Area: 3446) (Auras: 15733 - 15733) +(@CGUID+70, 15213, 1, 1, 1, -6236.441, 19.1441, 10.04103, 6.003932, 120, 0, 0), -- 15213 (Area: 3446) +(@CGUID+71, 15201, 1, 1, 1, -6250.081, -5.986857, -10.53792, 0.3265236, 120, 0, 0), -- 15201 (Area: 3446) (Auras: 15733 - 15733) +(@CGUID+72, 15213, 1, 1, 1, -6325.921, -7.092448, 6.591664, 4.258604, 120, 0, 0), -- 15213 (Area: 3446) +(@CGUID+73, 15201, 1, 1, 1, -6259.89, -11.14585, 1.836866, 5.212483, 120, 0, 0), -- 15201 (Area: 3446) (Auras: 15733 - 15733) +(@CGUID+74, 15201, 1, 1, 1, -6245.291, -42.85674, -5.159719, 2.713121, 120, 0, 0), -- 15201 (Area: 3446) (Auras: 15733 - 15733) +(@CGUID+75, 15213, 1, 1, 1, -6231.188, -51.1512, -5.911427, 5.340707, 120, 0, 0), -- 15213 (Area: 3446) +(@CGUID+76, 11735, 1, 1, 1, -6377.5, 312.4037, 7.326374, 6.271467, 120, 0, 0), -- 11735 (Area: 3426) +(@CGUID+77, 11735, 1, 1, 1, -6419.538, 349.3026, 8.727417, 4.362817, 120, 0, 0), -- 11735 (Area: 3426) +(@CGUID+78, 11735, 1, 1, 1, -6514.034, 346.3467, 0.003129184, 3.634526, 120, 0, 0), -- 11735 (Area: 3426) +(@CGUID+79, 61326, 1, 1, 1, -6561.387, 391.34, 0.3778201, 0.3402669, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+80, 11740, 1, 1, 1, -6627.521, 349.1534, -1.641764, 1.811149, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+81, 11735, 1, 1, 1, -6682.636, 351.3655, 0.04087174, 0.3803325, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+82, 11735, 1, 1, 1, -6692.018, 295.0636, 2.91761, 2.222301, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+83, 61441, 1, 1, 1, -6691.598, 280.9469, 3.236196, 6.220645, 120, 5, 1), -- 61441 (Area: 0) (possible waypoints or random movement) +(@CGUID+84, 11738, 1, 1, 1, -6593.872, 394.3759, 2.689223, 5.24946, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+85, 49727, 1, 1, 1, -6681.243, 346.6501, -0.3381566, 4.567456, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+86, 11738, 1, 1, 1, -6730.496, 248.4923, 2.276468, 0.1548762, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+87, 11738, 1, 1, 1, -6684.746, 382.4959, 0.3783773, 5.370536, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+88, 49727, 1, 1, 1, -6828.704, 270.1488, 2.555006, 2.163992, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+89, 49840, 1, 1, 1, -6851.511, 120.7868, 4.559389, 1.845754, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+90, 15541, 1, 1, 1, -6796.486, 130.0178, 3.9679, 4.639727, 120, 0, 0), -- 15541 (Area: 0) (Auras: ) +(@CGUID+91, 15542, 1, 1, 1, -6800.391, 126.1343, 3.482074, 0.06247102, 120, 0, 0), -- 15542 (Area: 0) (Auras: ) +(@CGUID+92, 15542, 1, 1, 1, -6800.232, 125.2914, 3.39992, 0.2984587, 120, 0, 0), -- 15542 (Area: 0) (Auras: ) +(@CGUID+93, 15545, 1, 1, 1, -6797.256, 127.2752, 3.804617, 3.729626, 120, 0, 0), -- 15545 (Area: 0) (Auras: ) +(@CGUID+94, 15545, 1, 1, 1, -6796.752, 126.362, 3.817317, 5.270895, 120, 0, 0), -- 15545 (Area: 0) (Auras: ) +(@CGUID+95, 11738, 1, 1, 1, -6857.498, 210.0382, 2.121216, 2.782136, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+96, 11735, 1, 1, 1, -6850.458, 252.1486, -0.4050249, 3.536858, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+97, 15545, 1, 1, 1, -6800.18, 129.7937, 3.808856, 4.654809, 120, 0, 0), -- 15545 (Area: 0) (Auras: ) +(@CGUID+98, 15476, 1, 1, 1, -6858.531, 162.9178, 2.905894, 4.326534, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+99, 49840, 1, 1, 1, -6792.136, 53.94385, 4.558173, 5.577948, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+100, 11735, 1, 1, 1, -6856.072, 118.3212, 4.382143, 1.533686, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+101, 11738, 1, 1, 1, -6802.211, 76.33223, 3.99749, 6.222992, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+102, 49840, 1, 1, 1, -6905.925, 81.45563, 3.737984, 5.907033, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+103, 11738, 1, 1, 1, -6876.838, 35.99482, 6.616399, 1.244722, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+104, 11740, 1, 1, 1, -6843.765, 16.21805, 4.727053, 0.1468639, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+105, 11735, 1, 1, 1, -6912.157, 74.81909, 2.916289, 4.938895, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+106, 61441, 1, 1, 1, -6872.007, -15.38366, 7.801066, 4.750067, 120, 5, 1), -- 61441 (Area: 0) (possible waypoints or random movement) +(@CGUID+107, 11735, 1, 1, 1, -6763.268, -6.208515, 1.867911, 4.449394, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+108, 11740, 1, 1, 1, -6801.065, -44.32244, 2.691509, 6.058583, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+109, 11738, 1, 1, 1, -6864.079, -30.92858, 6.903395, 5.797707, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+110, 11738, 1, 1, 1, -6732.502, -72.72012, 4.798815, 0.947597, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+111, 11735, 1, 1, 1, -6671.569, -128.0259, 3.753309, 0.4200072, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+112, 61441, 1, 1, 1, -6460.654, -302.1654, 2.43204, 5.046485, 120, 5, 1), -- 61441 (Area: 0) (possible waypoints or random movement) +(@CGUID+113, 11744, 1, 1, 1, -6704.656, 213.398, 0.9479177, 1.228122, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+114, 49840, 1, 1, 1, -6699.046, 429.4405, -1.371174, 0.3271323, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+115, 11738, 1, 1, 1, -6729.242, 445.4038, -1.311954, 1.741514, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+116, 61441, 1, 1, 1, -6631.196, 469.0444, 4.442024, 0.7774184, 120, 0, 0), -- 61441 (Area: 0) +(@CGUID+117, 11735, 1, 1, 1, -6625.678, 428.621, 2.27317, 2.010847, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+118, 11740, 1, 1, 1, -6653.825, 451.6873, 4.549841, 0.01615023, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+119, 11738, 1, 1, 1, -6617.736, 503.937, 4.756002, 4.507711, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+120, 11740, 1, 1, 1, -6560.197, 450.1973, -0.4169064, 0.06998232, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+121, 49727, 1, 1, 1, -6575.022, 458.6402, 1.323082, 0.8705357, 120, 0, 0), -- 49727 (Area: 0) +(@CGUID+122, 11738, 1, 1, 1, -6544.913, 467.2242, 3.277641, 1.392165, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+123, 11735, 1, 1, 1, -6585.253, 531.6366, 1.648353, 4.610581, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+124, 11738, 1, 1, 1, -6652.707, 523.9029, 4.535417, 1.56689, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+125, 61441, 1, 1, 1, -6562.286, 487.6149, 4.570182, 6.17749, 120, 0, 0), -- 61441 (Area: 0) +(@CGUID+126, 11740, 1, 1, 1, -6527.004, 523.3956, 3.465592, 5.294981, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+127, 11735, 1, 1, 1, -6513.426, 400.5447, 5.330343, 4.493932, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+128, 15476, 1, 1, 1, -6481.058, 432.169, 4.131832, 1.807252, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+129, 11740, 1, 1, 1, -6460.597, 482.0488, 0.8949585, 0.1113659, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+130, 49840, 1, 1, 1, -6573.744, 580.1607, 4.136374, 0.8975816, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+131, 11740, 1, 1, 1, -6484.484, 555.5187, 4.094484, 3.627511, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+132, 49727, 1, 1, 1, -6494.439, 550.4743, 2.624757, 4.128723, 120, 0, 0), -- 49727 (Area: 0) +(@CGUID+133, 49727, 1, 1, 1, -6484.806, 511.7738, 4.570009, 1.338222, 120, 0, 0), -- 49727 (Area: 0) +(@CGUID+134, 11735, 1, 1, 1, -6432.756, 505.7451, 3.323869, 1.735624, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+135, 49840, 1, 1, 1, -6499.657, 621.308, 4.443371, 0.9898359, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+136, 11738, 1, 1, 1, -6436.776, 537.8487, 3.72067, 0.9839982, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+137, 15476, 1, 1, 1, -6418.908, 523.1024, 3.374353, 4.724107, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+138, 11740, 1, 1, 1, -6425.349, 567.8812, 0.8483756, 4.447508, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+139, 11735, 1, 1, 1, -6510.378, 619.2403, 5.13635, 0.8522691, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+140, 11735, 1, 1, 1, -6386.516, 528.66, 6.121514, 1.423646, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+141, 49727, 1, 1, 1, -6376.968, 616.094, 2.302156, 1.133886, 120, 0, 0), -- 49727 (Area: 0) +(@CGUID+142, 11735, 1, 1, 1, -6442.514, 638.8829, 5.499193, 2.817991, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+143, 11740, 1, 1, 1, -6332.146, 584.1163, 5.338056, 1.123285, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+144, 61441, 1, 1, 1, -6329.941, 600.5368, 1.095638, 5.040313, 120, 0, 0), -- 61441 (Area: 0) +(@CGUID+145, 11735, 1, 1, 1, -6380.563, 677.0233, 3.594256, 1.443257, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+146, 61326, 1, 1, 1, -6404.524, 684.4036, 1.946909, 6.153988, 120, 0, 0), -- 61326 (Area: 0) +(@CGUID+147, 49840, 1, 1, 1, -6325.207, 657.4629, 7.342606, 4.857322, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+148, 15475, 1, 1, 1, -6314.708, 539.2295, 10.04728, 5.773242, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+149, 11738, 1, 1, 1, -6341.227, 643.8457, 7.393524, 3.089159, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+150, 11740, 1, 1, 1, -6304.718, 681.6547, 9.870519, 0.4251714, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+151, 49727, 1, 1, 1, -6280.381, 607.3282, 6.579954, 1.936795, 120, 0, 0), -- 49727 (Area: 0) +(@CGUID+152, 11735, 1, 1, 1, -6272.774, 589.8599, 8.105495, 0.6844937, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+153, 15475, 1, 1, 1, -6279.164, 628.4702, 8.947368, 4.396811, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+154, 50370, 1, 1, 1, -6268.134, 664.4323, 16.03541, 0.7142375, 120, 0, 0), -- 50370 (Area: 0) +(@CGUID+155, 11740, 1, 1, 1, -6239.23, 674.3435, 14.11961, 0.9015398, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+156, 15476, 1, 1, 1, -6246.243, 621.7336, 7.515666, 1.893257, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+157, 61319, 1, 1, 1, -6242.248, 676.2941, 14.43924, 4.922124, 120, 0, 0), -- 61319 (Area: 0) +(@CGUID+158, 15475, 1, 1, 1, -6257.685, 696.9933, 16.51236, 4.737783, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+159, 11738, 1, 1, 1, -6342.054, 745.0782, 5.034493, 5.507442, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+160, 11738, 1, 1, 1, -6251.074, 639.5579, 10.55338, 3.796812, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+161, 11738, 1, 1, 1, -6283.152, 768.0198, 12.51802, 1.799426, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+162, 49840, 1, 1, 1, -6355.501, 770.1203, 1.11642, 1.198995, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+163, 11735, 1, 1, 1, -6304.873, 835.2008, 4.399345, 0.9692627, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+164, 11738, 1, 1, 1, -6370.427, 810.5334, 3.122956, 1.877575, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+165, 49840, 1, 1, 1, -6383.165, 851.7595, 1.914051, 2.222326, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+166, 11722, 1, 1, 1, -6339.727, 888.9699, 3.020745, 2.323725, 120, 0, 0), -- 11722 (Area: 0) (Auras: ) +(@CGUID+167, 15475, 1, 1, 1, -6321.646, 901.5826, 4.975305, 4.193243, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+168, 11724, 1, 1, 1, -6426.889, 889.541, 1.839205, 6.015124, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+169, 15475, 1, 1, 1, -6273.544, 949.1411, -40.63912, 0.678804, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+170, 15475, 1, 1, 1, -6311.209, 982.2293, -45.58555, 3.509962, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+171, 15475, 1, 1, 1, -6421.792, 886.6394, 1.409517, 4.630302, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+172, 15475, 1, 1, 1, -6344.642, 1014.031, -34.3362, 2.696485, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+173, 61319, 1, 1, 1, -6318.357, 1010.206, -33.19756, 6.184683, 120, 5, 1), -- 61319 (Area: 2742) (possible waypoints or random movement) +(@CGUID+174, 15475, 1, 1, 1, -6401.138, 990.0531, -22.73307, 3.697062, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+175, 11721, 1, 1, 1, -6283.145, 981.3069, -42.00819, 3.162932, 120, 0, 0), -- 11721 (Area: 2742) +(@CGUID+176, 11722, 1, 1, 1, -6320.883, 1004.431, -33.42186, 5.665938, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+177, 11724, 1, 1, 1, -6345.063, 1009.883, -33.43716, 2.636133, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+178, 11724, 1, 1, 1, -6368.398, 1017.937, -47.13662, 0.04220965, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+179, 15475, 1, 1, 1, -6285.992, 976.6855, -42.62379, 4.719108, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+180, 15475, 1, 1, 1, -6247.161, 962.7005, -39.47562, 3.824183, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+181, 11723, 1, 1, 1, -6328.143, 936.754, 8.576881, 2.198965, 120, 0, 0), -- 11723 (Area: 2742) (Auras: 22766 - 22766) +(@CGUID+182, 15475, 1, 1, 1, -6360.546, 1014.149, -45.20924, 1.943568, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+183, 15611, 1, 1, 1, -6279.154, 1006.766, -40.20964, 5.969026, 120, 0, 0), -- 15611 (Area: 2742) (Auras: 6718 - 6718) +(@CGUID+184, 15475, 1, 1, 1, -6385.954, 1025.178, -47.26601, 3.879637, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+185, 15475, 1, 1, 1, -6250.671, 1005.829, -46.36029, 4.234618, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+186, 15475, 1, 1, 1, -6395.455, 1050.149, -50.65369, 1.60518, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+187, 11722, 1, 1, 1, -6390.855, 1032.705, -20.01684, 4.102204, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+188, 11721, 1, 1, 1, -6397.697, 1050.493, -50.40327, 1.781385, 120, 0, 0), -- 11721 (Area: 2742) +(@CGUID+189, 61319, 1, 1, 1, -6398.045, 1041.46, -16.47843, 1.733208, 120, 5, 1), -- 61319 (Area: 2742) (possible waypoints or random movement) +(@CGUID+190, 15475, 1, 1, 1, -6410.928, 1076.845, -41.79861, 3.595967, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+191, 11722, 1, 1, 1, -6376.4, 1104.262, 5.246742, 5.323138, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+192, 15475, 1, 1, 1, -6381.41, 1098.843, -34.79962, 3.75523, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+193, 51375, 1, 1, 1, -6272.479, 1054.002, -33.18723, 0.9948376, 120, 0, 0), -- 51375 (Area: 2742) +(@CGUID+194, 15475, 1, 1, 1, -6307.761, 1095.301, -30.54198, 3.171226, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+195, 15475, 1, 1, 1, -6250.581, 1060.18, -32.37779, 6.267207, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+196, 15475, 1, 1, 1, -6235.977, 1047.297, -34.11977, 4.339265, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+197, 15475, 1, 1, 1, -6224.093, 996.5743, -45.71019, 2.422142, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+198, 15475, 1, 1, 1, -6229.369, 938.7014, -39.4292, 5.610153, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+199, 15475, 1, 1, 1, -6205.034, 962.4442, -43.41081, 6.080732, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+200, 15475, 1, 1, 1, -6235.45, 1082.438, -24.90322, 1.739806, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+201, 15475, 1, 1, 1, -6216.169, 1108.95, -18.65051, 0.646817, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+202, 15475, 1, 1, 1, -6249.494, 1096.661, -26.10857, 2.252332, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+203, 15475, 1, 1, 1, -6282.553, 1138.758, -26.19378, 5.375718, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+204, 15475, 1, 1, 1, -6236.221, 1120.839, -16.95363, 2.849774, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+205, 15475, 1, 1, 1, -6258.544, 1127.776, -25.49561, 2.371511, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+206, 15475, 1, 1, 1, -6284.088, 1111.974, -26.35904, 5.43819, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+207, 61319, 1, 1, 1, -6238.59, 1144.824, -24.2281, 2.055166, 120, 5, 1), -- 61319 (Area: 2742) (possible waypoints or random movement) +(@CGUID+208, 15475, 1, 1, 1, -6257.708, 1153.342, -25.8774, 5.848042, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+209, 15475, 1, 1, 1, -6303.539, 1142.952, -17.57441, 2.033854, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+210, 15475, 1, 1, 1, -6305.618, 1172.712, -21.27765, 0.9558151, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+211, 15475, 1, 1, 1, -6276.16, 1169.295, -19.98328, 5.512808, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+212, 15475, 1, 1, 1, -6250.137, 1182.577, -16.05983, 1.695993, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+213, 15475, 1, 1, 1, -6271.886, 1209.98, -13.11044, 3.000943, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+214, 15475, 1, 1, 1, -6333.982, 1151.663, -19.95658, 0.2179394, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+215, 15475, 1, 1, 1, -6342.911, 1119.081, -19.96224, 3.137933, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+216, 15475, 1, 1, 1, -6326.845, 1189.937, -21.21316, 2.491143, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+217, 15475, 1, 1, 1, -6363.199, 1118.94, -27.44957, 2.170839, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+218, 11738, 1, 1, 1, -6330.244, 1153.532, 9.580047, 4.557513, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+219, 15475, 1, 1, 1, -6276.549, 1194.308, -19.34069, 0.614968, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+220, 15475, 1, 1, 1, -6373.511, 1128.562, 4.515297, 1.727754, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+221, 62523, 1, 1, 1, -6396.922, 1195.95, 2.009308, 4.765126, 120, 5, 1), -- 62523 (Area: 2742) (possible waypoints or random movement) +(@CGUID+222, 50742, 1, 1, 1, -6347.13, 1198.799, -21.02759, 5.525795, 120, 0, 0), -- 50742 (Area: 2742) +(@CGUID+223, 11735, 1, 1, 1, -6405.592, 1185.804, -0.08051598, 1.919401, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+224, 61319, 1, 1, 1, -6467.688, 1082.072, -1.587752, 5.224513, 120, 5, 1), -- 61319 (Area: 2742) (possible waypoints or random movement) +(@CGUID+225, 49840, 1, 1, 1, -6335.797, 1243.272, 5.291465, 0.6481904, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+226, 11735, 1, 1, 1, -6336.777, 1222.385, 4.207052, 3.419758, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+227, 51004, 1, 1, 1, -6348.625, 1252.472, 4.536338, 3.707248, 120, 5, 1), -- 51004 (Area: 2742) (possible waypoints or random movement) +(@CGUID+228, 11740, 1, 1, 1, -6310.721, 1251.048, 5.862572, 4.381264, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+229, 11721, 1, 1, 1, -6471.622, 1066.561, -1.83828, 0.9232093, 120, 0, 0), -- 11721 (Area: 2742) +(@CGUID+230, 11724, 1, 1, 1, -6495.834, 1004.166, 4.118428, 4.270046, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+231, 11723, 1, 1, 1, -6404.013, 1021.167, -22.94384, 3.488951, 120, 0, 0), -- 11723 (Area: 2742) (Auras: 22766 - 22766) +(@CGUID+232, 11723, 1, 1, 1, -6437.509, 1054.026, -12.60363, 2.51215, 120, 0, 0), -- 11723 (Area: 2742) (Auras: 22766 - 22766) +(@CGUID+233, 15475, 1, 1, 1, -6511.405, 1007.966, 0.3854065, 0.6402878, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+234, 15475, 1, 1, 1, -6479.962, 1142.968, 2.747498, 4.037038, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+235, 11722, 1, 1, 1, -6483.104, 1147.706, 2.195303, 1.2567, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+236, 49727, 1, 1, 1, -6446.769, 1220.439, -0.8846209, 1.348836, 120, 5, 1), -- 49727 (Area: 2742) (possible waypoints or random movement) +(@CGUID+237, 11738, 1, 1, 1, -6445.25, 1248.819, 2.413027, 1.366317, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+238, 11738, 1, 1, 1, -6366.856, 1291.548, 3.531213, 6.001266, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+239, 11735, 1, 1, 1, -6422.452, 1298.535, 3.646361, 4.355446, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+240, 11738, 1, 1, 1, -6350.68, 1315.73, 4.449171, 4.555573, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+241, 11738, 1, 1, 1, -6384.11, 1355.906, 3.187548, 2.251029, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+242, 49840, 1, 1, 1, -6383.115, 1347.328, 2.108449, 2.51021, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+243, 11744, 1, 1, 1, -6286.304, 1343.77, 10.35723, 4.396378, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+244, 11744, 1, 1, 1, -6316.19, 1382.468, 5.311618, 1.766614, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+245, 62523, 1, 1, 1, -6381.213, 1381.932, 4.343094, 3.144732, 120, 0, 0), -- 62523 (Area: 2742) +(@CGUID+246, 15476, 1, 1, 1, -6296.038, 1382.916, 10.3135, 6.256824, 120, 0, 0), -- 15476 (Area: 2742) +(@CGUID+247, 11744, 1, 1, 1, -6242.722, 1329.955, 16.09044, 1.848055, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+248, 11744, 1, 1, 1, -6284.351, 1412.695, 10.49649, 5.529393, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+249, 11744, 1, 1, 1, -6248.373, 1370.947, 20.53508, 2.240659, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+250, 11744, 1, 1, 1, -6340.401, 1428.706, 4.122604, 0.9739298, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+251, 11744, 1, 1, 1, -6324.368, 1450, 5.473102, 3.141593, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+252, 11744, 1, 1, 1, -6288.803, 1481.359, 7.830379, 4.145701, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+253, 50481, 1, 1, 1, -6299.247, 1518.072, 3.939674, 0.02733694, 120, 0, 0), -- 50481 (Area: 2742) +(@CGUID+254, 11744, 1, 1, 1, -6320.784, 1519.158, 2.869405, 3.040757, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+255, 11744, 1, 1, 1, -6357.465, 1477.387, 6.375832, 3.833597, 120, 0, 0), -- 11744 (Area: 2742) +(@CGUID+256, 11746, 1, 1, 1, -6279.54, 1546.873, 4.175174, 0.4125374, 120, 0, 0), -- 11746 (Area: 2742) +(@CGUID+257, 61441, 1, 1, 1, -6382.26, 1479.252, 4.864392, 3.157217, 120, 0, 0), -- 61441 (Area: 2742) +(@CGUID+258, 50481, 1, 1, 1, -6283.559, 1549.248, 4.612918, 2.076377, 120, 0, 0), -- 50481 (Area: 2742) +(@CGUID+259, 62184, 1, 1, 1, -6301.102, 1548.667, 4.116891, 0.8012918, 120, 0, 0), -- 62184 (Area: 2742) +(@CGUID+260, 50481, 1, 1, 1, -6237.298, 1590.002, 6.759946, 0.5951667, 120, 0, 0), -- 50481 (Area: 2742) +(@CGUID+261, 11744, 1, 1, 1, -6347.913, 1545.299, 2.815373, 0.2226969, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+262, 11744, 1, 1, 1, -6378.672, 1515.848, 4.629531, 4.575252, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+263, 11746, 1, 1, 1, -6316.666, 1588.641, 1.857131, 4.712389, 120, 0, 0), -- 11746 (Area: 2742) +(@CGUID+264, 11746, 1, 1, 1, -6289.887, 1617.818, 14.36038, 1.082678, 120, 0, 0), -- 11746 (Area: 2742) +(@CGUID+265, 11746, 1, 1, 1, -6213.633, 1606.493, 8.017122, 4.462853, 120, 0, 0), -- 11746 (Area: 2742) +(@CGUID+266, 11746, 1, 1, 1, -6237.873, 1646.372, 5.19151, 5.839563, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+267, 11746, 1, 1, 1, -6279.779, 1682.828, 5.316001, 2.451982, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+268, 50481, 1, 1, 1, -6280.584, 1681.878, 5.436484, 2.344489, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+269, 11746, 1, 1, 1, -6308.334, 1655.327, 4.759217, 4.712389, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+270, 62184, 1, 1, 1, -6193.807, 1651.205, 10.30164, 1.291741, 120, 0, 0), -- 62184 (Area: 2740) +(@CGUID+271, 50481, 1, 1, 1, -6252.938, 1686.111, 7.016355, 5.566929, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+272, 50481, 1, 1, 1, -6278.406, 1686.79, 4.934897, 6.189546, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+273, 11746, 1, 1, 1, -6225.839, 1677.88, 6.882464, 1.567549, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+274, 11746, 1, 1, 1, -6190.148, 1650.821, 10.49598, 5.146207, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+275, 11746, 1, 1, 1, -6315.461, 1719.991, 2.870127, 5.986561, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+276, 11746, 1, 1, 1, -6181.911, 1718.416, 20.30409, 6.108103, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+277, 50481, 1, 1, 1, -6305.729, 1724.693, 4.287851, 4.712389, 120, 5, 1), -- 50481 (Area: 2740) (possible waypoints or random movement) +(@CGUID+278, 11746, 1, 1, 1, -6226.035, 1758.47, 11.37012, 2.910324, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+279, 50481, 1, 1, 1, -6196.469, 1748.26, 18.82195, 4.588105, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+280, 50481, 1, 1, 1, -6202.166, 1726.675, 13.66057, 0.3910323, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+281, 11746, 1, 1, 1, -6290.331, 1747.066, 4.423381, 6.021986, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+282, 50481, 1, 1, 1, -6238.947, 1775.628, 12.04255, 2.234191, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+283, 11746, 1, 1, 1, -6183.111, 1778.096, 25.58484, 0.4278394, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+284, 11746, 1, 1, 1, -6252.857, 1777.472, 10.13789, 5.666212, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+285, 11746, 1, 1, 1, -6152.432, 1758.61, 29.57991, 4.579192, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+286, 11746, 1, 1, 1, -6205.921, 1809.212, 20.08064, 6.267562, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+287, 14347, 1, 1, 1, -6157.522, 1781.232, 29.09592, 4.101524, 120, 0, 0), -- 14347 (Area: 2740) +(@CGUID+288, 50481, 1, 1, 1, -6193.975, 1806.662, 21.00055, 3.278968, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+289, 11746, 1, 1, 1, -6280.862, 1810.081, 6.753662, 5.21308, 120, 0, 0), -- 11746 (Area: 3100) +(@CGUID+290, 50481, 1, 1, 1, -6295.309, 1825.016, 3.771169, 5.257017, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+291, 11746, 1, 1, 1, -6321.033, 1840.754, 6.885611, 4.906455, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+292, 11746, 1, 1, 1, -6316.848, 1792.425, 4.831761, 1.795903, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+293, 50481, 1, 1, 1, -6305.991, 1769.993, 3.444169, 0.5117505, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+294, 11746, 1, 1, 1, -6350.99, 1807.761, 4.090213, 1.717803, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+295, 50481, 1, 1, 1, -6342.213, 1790.271, 3.556823, 3.303994, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+296, 11746, 1, 1, 1, -6357.642, 1747.824, 6.471937, 3.576126, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+297, 50481, 1, 1, 1, -6372.29, 1776.311, 3.751153, 5.744275, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+298, 11746, 1, 1, 1, -6385.699, 1780.434, 5.047072, 3.567764, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+299, 11746, 1, 1, 1, -6355.013, 1887.653, 20.59432, 4.513844, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+300, 11744, 1, 1, 1, -6386.141, 1830.322, 4.479651, 3.922875, 120, 0, 0), -- 11744 (Area: 2740) (Auras: 19514 - 19514) +(@CGUID+301, 50481, 1, 1, 1, -6381.329, 1806.728, 3.692096, 6.243168, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+302, 11746, 1, 1, 1, -6411.401, 1742.282, 22.96693, 4.671357, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+303, 11744, 1, 1, 1, -6423.546, 1886.34, 5.128004, 4.659973, 120, 0, 0), -- 11744 (Area: 2740) (Auras: 19514 - 19514) +(@CGUID+304, 11746, 1, 1, 1, -6378.787, 1718.457, 19.63006, 4.988994, 120, 0, 0), -- 11746 (Area: 2740) +(@CGUID+305, 11744, 1, 1, 1, -6456.288, 1855.744, 5.339561, 3.517745, 120, 0, 0), -- 11744 (Area: 2740) (Auras: 19514 - 19514) +(@CGUID+306, 11744, 1, 1, 1, -6452.35, 1783.223, 9.689625, 0.5248773, 120, 0, 0), -- 11744 (Area: 2740) (Auras: 19514 - 19514) +(@CGUID+307, 50481, 1, 1, 1, -6456.518, 1864.296, 4.427331, 1.348315, 120, 0, 0), -- 50481 (Area: 2740) +(@CGUID+308, 11744, 1, 1, 1, -6483.672, 1820.475, 3.907004, 0.6118463, 120, 0, 0), -- 11744 (Area: 2740) (Auras: 19514 - 19514) +(@CGUID+309, 11744, 1, 1, 1, -6489.679, 1754.204, 21.2115, 0.2336074, 120, 0, 0), -- 11744 (Area: 2740) +(@CGUID+310, 50481, 1, 1, 1, -6502.688, 1843.885, 5.923099, 2.177762, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+311, 11744, 1, 1, 1, -6492.048, 1879.193, 3.09937, 3.039699, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+312, 11744, 1, 1, 1, -6516.558, 1781.51, 13.24618, 5.834397, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+313, 11744, 1, 1, 1, -6519.065, 1914.156, 5.771265, 6.174196, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+314, 11744, 1, 1, 1, -6559.015, 1876.578, 2.913211, 4.780776, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+315, 11744, 1, 1, 1, -6551.85, 1818.751, 4.066802, 2.065465, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+316, 11744, 1, 1, 1, -6611.979, 1893.608, 5.114985, 4.712389, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+317, 15476, 1, 1, 1, -6577.132, 1939.296, 7.970611, 1.044889, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+318, 11744, 1, 1, 1, -6550.778, 1946.28, 5.693444, 2.62374, 120, 0, 0), -- 11744 (Area: 0) +(@CGUID+319, 11744, 1, 1, 1, -6587.573, 1849.448, 4.470519, 2.774574, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+320, 11744, 1, 1, 1, -6577.466, 1914.35, 4.706313, 6.02807, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+321, 11744, 1, 1, 1, -6621.135, 1943.224, 6.392515, 0.5985656, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+322, 11744, 1, 1, 1, -6647.242, 1843.526, 5.54174, 2.569216, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+323, 11744, 1, 1, 1, -6658.501, 1912.342, 5.229953, 3.360833, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+324, 15476, 1, 1, 1, -6645.028, 1821.245, 4.845475, 6.209931, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+325, 11744, 1, 1, 1, -6623.983, 1814.55, 2.865226, 3.654525, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+326, 11744, 1, 1, 1, -6713.941, 1848.723, 4.79744, 0.1529463, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+327, 11744, 1, 1, 1, -6686.041, 1816.135, 1.017411, 6.023936, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+328, 11744, 1, 1, 1, -6711.49, 1907.108, 5.94382, 0.5169653, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+329, 49840, 1, 1, 1, -6738.744, 1848.93, 3.595305, 6.097477, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+330, 49840, 1, 1, 1, -6645.011, 1782.462, 5.97531, 1.162512, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+331, 11744, 1, 1, 1, -6648.536, 1783.3, 6.01699, 2.341024, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+332, 61326, 1, 1, 1, -6744.956, 1752.648, 2.572202, 4.578159, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+333, 11744, 1, 1, 1, -6615.994, 1751.892, 2.90448, 1.6099, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+334, 15476, 1, 1, 1, -6583.136, 1796.194, 2.641418, 1.598133, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+335, 11744, 1, 1, 1, -6584.281, 1721.962, 3.786585, 4.413173, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+336, 11744, 1, 1, 1, -6588.197, 1782.188, 1.8934, 3.311958, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+337, 11880, 1, 1, 1, -6708.631, 1692.278, 5.65121, 5.340007, 120, 0, 0), -- 11880 (Area: 0) (Auras: 8599 - 8599) +(@CGUID+338, 15476, 1, 1, 1, -6680.542, 1673.563, 3.721284, 2.980621, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+339, 15476, 1, 1, 1, -6602.894, 1645.204, 5.935192, 5.906125, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+340, 11744, 1, 1, 1, -6543.992, 1749.479, 11.47172, 3.477539, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+341, 11881, 1, 1, 1, -6691.443, 1649.391, 7.679985, 3.017421, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+342, 61326, 1, 1, 1, -6651.369, 1616.247, 3.962462, 1.369697, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+343, 14478, 1, 1, 1, -6578.953, 1592.685, 5.660734, 1.543459, 120, 0, 0), -- 14478 (Area: 0) +(@CGUID+344, 15476, 1, 1, 1, -6591.336, 1518.535, 3.918558, 6.242193, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+345, 11736, 1, 1, 1, -6573.697, 1540.577, -0.04885268, 1.078311, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+346, 11744, 1, 1, 1, -6498.776, 1540.418, 19.52291, 2.353432, 120, 0, 0), -- 11744 (Area: 0) (Auras: 19514 - 19514) +(@CGUID+347, 49727, 1, 1, 1, -6528.835, 1482.688, -1.158268, 3.942338, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+348, 11735, 1, 1, 1, -6534.999, 1468.879, -0.5214841, 0.7874714, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+349, 61441, 1, 1, 1, -6574.226, 1453.893, 1.869517, 6.014537, 120, 5, 1), -- 61441 (Area: 0) (possible waypoints or random movement) +(@CGUID+350, 49840, 1, 1, 1, -6447.17, 1511.159, 5.848647, 2.443352, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+351, 11740, 1, 1, 1, -6449.416, 1420.699, 1.231011, 6.275373, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+352, 11738, 1, 1, 1, -6574.923, 1424.444, 2.478215, 6.176479, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+353, 11744, 1, 1, 1, -6440.593, 1508.538, 6.354262, 5.998817, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+354, 11740, 1, 1, 1, -6542.593, 1412.571, 3.384993, 3.685029, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+355, 11744, 1, 1, 1, -6416.022, 1482.733, 2.20108, 2.152726, 120, 0, 0), -- 11744 (Area: 2742) +(@CGUID+356, 11744, 1, 1, 1, -6393.944, 1447.182, 0.7848656, 3.125969, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+357, 49727, 1, 1, 1, -6408.907, 1398.081, 3.776798, 3.932558, 120, 0, 0), -- 49727 (Area: 2742) +(@CGUID+358, 15476, 1, 1, 1, -6495.528, 1356.891, 3.622199, 5.202982, 120, 0, 0), -- 15476 (Area: 2742) +(@CGUID+359, 15476, 1, 1, 1, -6447.876, 1328.276, 3.721709, 4.235193, 120, 0, 0), -- 15476 (Area: 2742) +(@CGUID+360, 11740, 1, 1, 1, -6467.455, 1348.121, 4.444709, 5.726034, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+361, 11738, 1, 1, 1, -6553.502, 1347.873, 4.203223, 4.973633, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+362, 11738, 1, 1, 1, -6462.405, 1282.845, 2.872366, 3.155264, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+363, 11744, 1, 1, 1, -6476.686, 1254.384, 0.7531171, 1.21383, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+364, 49840, 1, 1, 1, -6567.107, 1332.086, 4.829196, 2.354121, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+365, 11738, 1, 1, 1, -6521.162, 1243.937, 3.742247, 1.712486, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+366, 49840, 1, 1, 1, -6523.718, 1204.84, 1.463247, 4.406505, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+367, 11698, 1, 1, 1, -6512.996, 1183.461, 2.839516, 2.780308, 120, 0, 0), -- 11698 (Area: 2742) +(@CGUID+368, 11724, 1, 1, 1, -6546.416, 1148.739, -1.016764, 5.001769, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+369, 61319, 1, 1, 1, -6558.158, 1159.568, -1.641764, 1.503605, 120, 5, 1), -- 61319 (Area: 2742) (possible waypoints or random movement) +(@CGUID+370, 11721, 1, 1, 1, -6468.168, 1111.007, 0.3829083, 0.1076374, 120, 0, 0), -- 11721 (Area: 2742) +(@CGUID+371, 11698, 1, 1, 1, -6515.526, 983.5846, 1.463427, 5.848379, 120, 0, 0), -- 11698 (Area: 2742) +(@CGUID+372, 11723, 1, 1, 1, -6477.338, 1080.276, -1.995394, 4.72606, 120, 0, 0), -- 11723 (Area: 2742) (Auras: 22766 - 22766) +(@CGUID+373, 11721, 1, 1, 1, -6499.883, 1001.583, 2.169028, 1.122431, 120, 0, 0), -- 11721 (Area: 2742) +(@CGUID+374, 11722, 1, 1, 1, -6656.52, 1009.159, -21.8319, 5.106294, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+375, 15475, 1, 1, 1, -6657.77, 928.2412, -0.009631693, 0.6169378, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+376, 15475, 1, 1, 1, -6581.009, 954.6453, 0.574809, 1.289814, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+377, 15475, 1, 1, 1, -6576.69, 876.0049, -44.748, 4.431075, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+378, 11724, 1, 1, 1, -6603.619, 1060.848, -39.82073, 5.514279, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+379, 11724, 1, 1, 1, -6625.756, 930.9077, -52.89307, 2.221274, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+380, 15475, 1, 1, 1, -6598.861, 886.488, -44.43595, 3.302046, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+381, 15475, 1, 1, 1, -6599.055, 916.4679, -50.78958, 3.514301, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+382, 11724, 1, 1, 1, -6577.755, 988.0844, 4.792129, 0.7379054, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+383, 14475, 1, 1, 1, -6605.309, 925.437, -51.73792, 5.430065, 120, 0, 0), -- 14475 (Area: 2742) +(@CGUID+384, 15475, 1, 1, 1, -6521.689, 924.4193, 0.1174753, 4.94665, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+385, 11722, 1, 1, 1, -6628.106, 953.275, -52.85453, 2.445921, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+386, 15475, 1, 1, 1, -6619.556, 949.7566, -52.92918, 4.436418, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+387, 15475, 1, 1, 1, -6609.359, 934.5068, -52.97653, 1.594197, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+388, 11722, 1, 1, 1, -6596.119, 884.6871, -44.38109, 4.470238, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+389, 11722, 1, 1, 1, -6672.672, 954.0372, -1.857367, 0.8261496, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+390, 15475, 1, 1, 1, -6631.434, 931.8722, -53.26739, 5.751862, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+391, 11722, 1, 1, 1, -6548.337, 945.7764, 0.8075924, 0.01578816, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+392, 11724, 1, 1, 1, -6559.066, 872.5734, -46.05127, 1.605268, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+393, 15475, 1, 1, 1, -6568.919, 858.9174, -45.66764, 5.751936, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+394, 15475, 1, 1, 1, -6553.393, 872.3705, -45.51308, 2.769283, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+395, 11721, 1, 1, 1, -6557.416, 868.3338, -46.22493, 2.870669, 120, 0, 0), -- 11721 (Area: 2742) +(@CGUID+396, 11724, 1, 1, 1, -6540.964, 862.7402, -28.92108, 5.247115, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+397, 15475, 1, 1, 1, -6514.5, 887.9716, -39.37097, 1.201991, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+398, 11722, 1, 1, 1, -6571.578, 859.0519, -45.50584, 0.2589082, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+399, 11722, 1, 1, 1, -6682.438, 885.0347, 2.561983, 1.801328, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+400, 15475, 1, 1, 1, -6556.614, 843.4643, -43.32061, 0.1457493, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+401, 11722, 1, 1, 1, -6607.343, 818.1834, 2.613851, 3.057478, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+402, 15475, 1, 1, 1, -6681.941, 861.3262, 0.6961775, 5.491576, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+403, 15475, 1, 1, 1, -6617.004, 824.6118, 1.122871, 1.588826, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+404, 15475, 1, 1, 1, -6583.916, 782.1841, -54.07869, 4.083288, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+405, 11721, 1, 1, 1, -6542.536, 813.073, -45.10675, 2.352664, 120, 0, 0), -- 11721 (Area: 2742) +(@CGUID+406, 11722, 1, 1, 1, -6577.006, 784.3309, 3.731039, 5.115737, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+407, 15475, 1, 1, 1, -6648.434, 785.1454, 11.44246, 4.147682, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+408, 50744, 1, 1, 1, -6591.375, 777.2778, -53.70689, 5.657105, 120, 0, 0), -- 50744 (Area: 2742) +(@CGUID+409, 15475, 1, 1, 1, -6546.132, 817.6175, -44.9918, 5.35553, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+410, 15476, 1, 1, 1, -6576.707, 756.88, 5.288233, 0.8095815, 120, 0, 0), -- 15476 (Area: 2742) +(@CGUID+411, 15475, 1, 1, 1, -6580.76, 747.1546, -52.40763, 4.539669, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+412, 15475, 1, 1, 1, -6536.805, 790.8683, -46.04165, 1.322659, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+413, 11738, 1, 1, 1, -6678.911, 752.0527, 18.43501, 6.174577, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+414, 15475, 1, 1, 1, -6538.029, 789.3167, 2.894315, 4.34785, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+415, 15475, 1, 1, 1, -6562.71, 772.6185, -52.1667, 5.442662, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+416, 11724, 1, 1, 1, -6593.75, 763.225, -52.41145, 0.8223382, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+417, 11735, 1, 1, 1, -6568.058, 744.3024, 3.871729, 5.972851, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+418, 15475, 1, 1, 1, -6602.509, 759.7386, -51.02916, 3.042671, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+419, 15475, 1, 1, 1, -6529.588, 801.1139, -42.64071, 3.845425, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+420, 11735, 1, 1, 1, -6625.288, 696.4808, 5.455408, 5.222706, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+421, 11722, 1, 1, 1, -6529.468, 805.5388, -43.47927, 0.9029751, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+422, 11738, 1, 1, 1, -6567.614, 700.0313, 3.804816, 3.973261, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+423, 49840, 1, 1, 1, -6609.508, 718.0231, 4.93906, 5.343196, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+424, 11735, 1, 1, 1, -6511.809, 735.2064, 4.898748, 3.879342, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+425, 15476, 1, 1, 1, -6521.473, 696.3068, 5.704879, 5.03625, 120, 0, 0), -- 15476 (Area: 2742) +(@CGUID+426, 15476, 1, 1, 1, -6633.446, 679.5931, 5.798799, 2.864362, 120, 0, 0), -- 15476 (Area: 2742) +(@CGUID+427, 11738, 1, 1, 1, -6581.04, 615.7382, 4.381845, 2.100818, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+428, 11735, 1, 1, 1, -6520.318, 655.7397, 3.349446, 2.021092, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+429, 11740, 1, 1, 1, -6605.881, 651.3751, 5.235829, 2.872944, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+430, 49840, 1, 1, 1, -6639.963, 622.5418, 6.659332, 2.736445, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+431, 11740, 1, 1, 1, -6624.122, 598.1066, 2.63963, 1.765434, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+432, 11738, 1, 1, 1, -6679.448, 682.1724, 6.825409, 6.070454, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+433, 11735, 1, 1, 1, -6674.66, 616.998, 7.639443, 2.879793, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+434, 11740, 1, 1, 1, -6696.907, 718.8141, 17.99841, 2.86584, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+435, 11744, 1, 1, 1, -6689.014, 679.0613, 4.368326, 5.832857, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+436, 15476, 1, 1, 1, -6719.3, 651.7586, 8.320724, 4.774208, 120, 0, 0), -- 15476 (Area: 2742) +(@CGUID+437, 11738, 1, 1, 1, -6716.537, 651.4564, 7.896435, 4.963854, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+438, 49840, 1, 1, 1, -6648.742, 573.0197, 6.027855, 1.395521, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+439, 11735, 1, 1, 1, -6730.199, 587.7225, 3.800895, 2.884766, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+440, 49840, 1, 1, 1, -6713.594, 591.6556, 1.958976, 1.382209, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+441, 11735, 1, 1, 1, -6776.09, 619.5635, 1.988515, 0.4338974, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+442, 11735, 1, 1, 1, -6756.195, 556.9388, 4.329544, 5.165547, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+443, 15476, 1, 1, 1, -6789.292, 587.0588, 3.903752, 2.862488, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+444, 49840, 1, 1, 1, -6736.664, 506.9913, -0.6943063, 5.483976, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+445, 49840, 1, 1, 1, -6820.314, 550.7266, -0.9400244, 5.707628, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+446, 11738, 1, 1, 1, -6693.762, 515.9461, 0.7432002, 3.312195, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+447, 15184, 1, 1, 1, -6809.573, 718.4347, 39.39525, 5.15733, 120, 5, 1), -- 15184 (Area: 3425) (Auras: 18950 - 18950) (possible waypoints or random movement) +(@CGUID+448, 15184, 1, 1, 1, -6816.909, 718.7725, 40.4978, 5.270895, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+449, 15184, 1, 1, 1, -6803.854, 699.7933, 34.76895, 5.019053, 120, 5, 1), -- 15184 (Area: 3425) (Auras: 18950 - 18950) (possible waypoints or random movement) +(@CGUID+450, 15614, 1, 1, 1, -6860.21, 721.8791, 45.74544, 5.305801, 120, 0, 0), -- 15614 (Area: 3425) +(@CGUID+451, 15419, 1, 1, 1, -6880.524, 727.228, 55.13449, 5.009095, 120, 0, 0), -- 15419 (Area: 3425) +(@CGUID+452, 15184, 1, 1, 1, -6874.956, 722.5674, 45.74544, 0.541052, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+453, 16543, 1, 1, 1, -6856.12, 708.3751, 43.57367, 0.8028514, 120, 0, 0), -- 16543 (Area: 3425) +(@CGUID+454, 16091, 1, 1, 1, -6867.519, 721.7204, 45.74544, 4.13643, 120, 0, 0), -- 16091 (Area: 3425) (Auras: 8279 - 8279) +(@CGUID+455, 15184, 1, 1, 1, -6877.26, 729.2731, 45.74544, 0.418879, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+456, 11724, 1, 1, 1, -6897.398, 670.2422, 7.604069, 3.009777, 120, 0, 0), -- 11724 (Area: 3425) +(@CGUID+457, 15184, 1, 1, 1, -6843.993, 749.327, 42.63266, 0.3839724, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+458, 15184, 1, 1, 1, -6865.799, 738.3262, 55.13449, 5.183628, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+459, 15184, 1, 1, 1, -6803.392, 723.9992, 42.0662, 4.904375, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+460, 15184, 1, 1, 1, -6838.135, 736.7731, 42.19964, 0.541052, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+461, 15189, 1, 1, 1, -6854.107, 735.9901, 55.05115, 1.973764, 120, 5, 1), -- 15189 (Area: 3425) (possible waypoints or random movement) +(@CGUID+462, 15184, 1, 1, 1, -6876.962, 722.2614, 55.13449, 0.5934119, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+463, 15190, 1, 1, 1, -6852.639, 739.226, 56.03032, 2.268928, 120, 0, 0), -- 15190 (Area: 3425) +(@CGUID+464, 15282, 1, 1, 1, -6844.675, 727.6344, 42.61853, 0.2268928, 120, 0, 0), -- 15282 (Area: 3425) +(@CGUID+465, 15174, 1, 1, 1, -6868.039, 729.9135, 45.74544, 0.4886922, 120, 0, 0), -- 15174 (Area: 3425) +(@CGUID+466, 15184, 1, 1, 1, -6859.571, 738.3886, 55.13449, 5.009095, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+467, 17082, 1, 1, 1, -6764.518, 772.2177, 89.7278, 5.899213, 120, 0, 0), -- 17082 (Area: 3425) +(@CGUID+468, 15184, 1, 1, 1, -6828.757, 782.8929, 45.66732, 3.961897, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+469, 15176, 1, 1, 1, -6860.931, 753.0439, 42.5555, 1.204277, 120, 0, 0), -- 15176 (Area: 3425) +(@CGUID+470, 15177, 1, 1, 1, -6758.546, 775.5939, 89.1046, 3.979351, 120, 0, 0), -- 15177 (Area: 3425) +(@CGUID+471, 15179, 1, 1, 1, -6802.313, 800.0393, 51.55841, 3.211406, 120, 0, 0), -- 15179 (Area: 3425) +(@CGUID+472, 15184, 1, 1, 1, -6806.876, 795.7329, 51.10048, 5.345926, 120, 5, 1), -- 15184 (Area: 3425) (Auras: 18950 - 18950) (possible waypoints or random movement) +(@CGUID+473, 15182, 1, 1, 1, -6740.078, 769.562, 128.521, 3.508112, 120, 0, 0), -- 15182 (Area: 3425) +(@CGUID+474, 15184, 1, 1, 1, -6754.932, 755.6996, 87.74164, 3.368485, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+475, 15184, 1, 1, 1, -6817.962, 790.6974, 49.50358, 0.6108652, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+476, 15191, 1, 1, 1, -6847.807, 755.6797, 42.2256, 0.5585054, 120, 0, 0), -- 15191 (Area: 3425) +(@CGUID+477, 15184, 1, 1, 1, -6878.108, 752.9442, 43.13295, 0.296706, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+478, 15184, 1, 1, 1, -6760.085, 768.3873, 88.37904, 3.717551, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+479, 15184, 1, 1, 1, -6853.452, 763.7278, 42.6753, 5.445427, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+480, 15184, 1, 1, 1, -6800.426, 786.8344, 51.68128, 2.216568, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+481, 15540, 1, 1, 1, -6802.811, 796.4499, 51.35936, 3.01942, 120, 0, 0), -- 15540 (Area: 3425) +(@CGUID+482, 15184, 1, 1, 1, -6817.105, 776.1083, 47.9598, 3.892084, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+483, 15184, 1, 1, 1, -6785.927, 789.2913, 52.63999, 1.832596, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+484, 15184, 1, 1, 1, -6801.549, 770.9202, 64.97432, 2.513274, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+485, 15306, 1, 1, 1, -6823.387, 826.2274, 49.55128, 5.951573, 120, 0, 0), -- 15306 (Area: 3425) +(@CGUID+486, 15184, 1, 1, 1, -6806.877, 827.7797, 53.68004, 2.687807, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+487, 17081, 1, 1, 1, -6810.623, 832.3107, 50.08782, 1.27409, 120, 0, 0), -- 17081 (Area: 3425) +(@CGUID+488, 11724, 1, 1, 1, -6919.27, 720.2732, 11.1951, 4.306069, 120, 0, 0), -- 11724 (Area: 3425) +(@CGUID+489, 15180, 1, 1, 1, -6805.007, 814.8635, 51.25792, 3.420845, 120, 0, 0), -- 15180 (Area: 3425) +(@CGUID+490, 15183, 1, 1, 1, -6828.49, 807.2229, 52.06492, 0.3839724, 120, 0, 0), -- 15183 (Area: 3425) +(@CGUID+491, 15722, 1, 1, 1, -6804.928, 820.3655, 51.30596, 3.385939, 120, 0, 0), -- 15722 (Area: 3425) +(@CGUID+492, 15184, 1, 1, 1, -6810.665, 799.7343, 51.40489, 5.192762, 120, 5, 1), -- 15184 (Area: 3425) (Auras: 18950 - 18950) (possible waypoints or random movement) +(@CGUID+493, 15270, 1, 1, 1, -6825.453, 824.4618, 49.57986, 5.445427, 120, 0, 0), -- 15270 (Area: 3425) +(@CGUID+494, 50587, 1, 1, 1, -6779.564, 821.408, 55.83036, 0.4886922, 120, 0, 0), -- 50587 (Area: 3425) +(@CGUID+495, 50588, 1, 1, 1, -6775.328, 809.2674, 55.83036, 0.2094395, 120, 0, 0), -- 50588 (Area: 3425) +(@CGUID+496, 15184, 1, 1, 1, -6764.78, 813.0695, 55.83022, 3.246312, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+497, 11698, 1, 1, 1, -6913.211, 786.8625, 7.325695, 6.110325, 120, 0, 0), -- 11698 (Area: 3425) +(@CGUID+498, 11698, 1, 1, 1, -6938.679, 750.146, 6.379721, 4.431407, 120, 0, 0), -- 11698 (Area: 3425) +(@CGUID+499, 15475, 1, 1, 1, -6940.262, 756.1707, 5.722467, 1.401782, 120, 0, 0), -- 15475 (Area: 3425) +(@CGUID+500, 15475, 1, 1, 1, -6935.409, 668.5361, 12.13704, 2.222803, 120, 0, 0), -- 15475 (Area: 3425) +(@CGUID+501, 11724, 1, 1, 1, -6914.113, 653.9053, 7.475821, 0.4009577, 120, 0, 0), -- 11724 (Area: 3425) +(@CGUID+502, 15184, 1, 1, 1, -6825.207, 841.1295, 49.55447, 4.834562, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+503, 15175, 1, 1, 1, -6817.876, 842.2802, 49.48534, 4.468043, 120, 0, 0), -- 15175 (Area: 3425) +(@CGUID+504, 15178, 1, 1, 1, -6810.202, 841.7036, 49.74811, 4.817109, 120, 0, 0), -- 15178 (Area: 3425) +(@CGUID+505, 15184, 1, 1, 1, -6798.138, 842.8354, 48.21191, 4.066617, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+506, 15184, 1, 1, 1, -6768.648, 825.3934, 55.83023, 3.577925, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+507, 15184, 1, 1, 1, -6871.201, 879.5099, 36.47255, 2.600541, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+508, 17074, 1, 1, 1, -6840.205, 889.8928, 33.79691, 0.6981317, 120, 0, 0), -- 17074 (Area: 3425) +(@CGUID+509, 15181, 1, 1, 1, -6752.384, 823.8355, 57.44678, 0.3316126, 120, 0, 0), -- 15181 (Area: 3425) +(@CGUID+510, 15475, 1, 1, 1, -6926.435, 818.8423, 9.050255, 5.709989, 120, 0, 0), -- 15475 (Area: 3425) +(@CGUID+511, 15184, 1, 1, 1, -6869.734, 871.8682, 35.99435, 3.595378, 120, 0, 0), -- 15184 (Area: 3425) (Auras: 18950 - 18950) +(@CGUID+512, 11724, 1, 1, 1, -6947.927, 801.0971, 7.360349, 5.061327, 120, 0, 0), -- 11724 (Area: 3425) +(@CGUID+513, 11698, 1, 1, 1, -6952.263, 880.0515, 14.35659, 4.961538, 120, 0, 0), -- 11698 (Area: 3425) +(@CGUID+514, 11698, 1, 1, 1, -6705.941, 915.1132, -0.8490421, 1.480844, 120, 0, 0), -- 11698 (Area: 3425) +(@CGUID+515, 15475, 1, 1, 1, -6722.426, 901.6714, -0.9746623, 1.030793, 120, 0, 0), -- 15475 (Area: 3425) +(@CGUID+516, 11724, 1, 1, 1, -6762.749, 946.6678, 0.7000198, 3.912847, 120, 0, 0), -- 11724 (Area: 3425) +(@CGUID+517, 11721, 1, 1, 1, -6657.48, 1009.341, -21.84442, 4.481858, 120, 0, 0), -- 11721 (Area: 2742) +(@CGUID+518, 11722, 1, 1, 1, -6627.17, 1064.667, 6.649603, 4.128016, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+519, 11724, 1, 1, 1, -6676.053, 1067.369, 4.530669, 5.355109, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+520, 11722, 1, 1, 1, -6580.708, 1112.021, 0.9900675, 5.631223, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+521, 61319, 1, 1, 1, -6592.31, 1082.743, 3.69773, 3.034048, 120, 0, 0), -- 61319 (Area: 2742) +(@CGUID+522, 11724, 1, 1, 1, -6612.068, 1113.314, -47.94947, 0.4863434, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+523, 15475, 1, 1, 1, -6661.769, 1085.682, 4.810284, 2.728623, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+524, 49727, 1, 1, 1, -6637.902, 1129.601, 2.096866, 4.871276, 120, 0, 0), -- 49727 (Area: 2742) +(@CGUID+525, 11722, 1, 1, 1, -6594.936, 1124.505, -47.45912, 0.8434538, 120, 0, 0), -- 11722 (Area: 2742) (Auras: ) +(@CGUID+526, 11735, 1, 1, 1, -6645.916, 1154.331, 1.864447, 1.288457, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+527, 61326, 1, 1, 1, -6616.658, 1197.675, 3.956496, 1.615732, 120, 0, 0), -- 61326 (Area: 2742) +(@CGUID+528, 11740, 1, 1, 1, -6598.303, 1183.538, 3.320272, 2.925042, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+529, 11738, 1, 1, 1, -6669.827, 1243.628, 5.023742, 2.878598, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+530, 11738, 1, 1, 1, -6585.032, 1248.742, 4.536161, 3.18356, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+531, 11740, 1, 1, 1, -6606.595, 1316.772, 5.638523, 6.267562, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+532, 49840, 1, 1, 1, -6613.946, 1302.612, 5.713718, 4.417192, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+533, 11740, 1, 1, 1, -6643.307, 1315.582, 5.775987, 2.435604, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+534, 11738, 1, 1, 1, -6637.286, 1388.345, 5.093271, 1.192828, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+535, 11744, 1, 1, 1, -6549.972, 1411.92, 2.614856, 1.757464, 120, 0, 0), -- 11744 (Area: 2742) (Auras: 19514 - 19514) +(@CGUID+536, 61326, 1, 1, 1, -6660.194, 1410.069, 1.085937, 2.844978, 120, 5, 1), -- 61326 (Area: 2742) (possible waypoints or random movement) +(@CGUID+537, 11736, 1, 1, 1, -6629.998, 1475.799, 3.731015, 0.6284438, 120, 0, 0), -- 11736 (Area: 2742) +(@CGUID+538, 62523, 1, 1, 1, -6659.757, 1518.208, 5.490989, 0.2506631, 120, 5, 1), -- 62523 (Area: 2742) (possible waypoints or random movement) +(@CGUID+539, 11881, 1, 1, 1, -6679.036, 1560.059, 8.680365, 1.623889, 120, 0, 0), -- 11881 (Area: 2742) +(@CGUID+540, 11880, 1, 1, 1, -6683.558, 1614.8, 9.544271, 5.737411, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+541, 11881, 1, 1, 1, -6743.55, 1703.423, 4.611034, 4.733879, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+542, 11736, 1, 1, 1, -6783.214, 1782.344, 0.4841231, 0.9345273, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+543, 11881, 1, 1, 1, -6716.581, 1658.195, 7.737544, 1.884517, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+544, 11881, 1, 1, 1, -6766.214, 1673.761, 7.115599, 4.790584, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+545, 11882, 1, 1, 1, -6735.528, 1625.169, 21.7453, 6.213372, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+546, 11882, 1, 1, 1, -6710.996, 1624.172, 22.03243, 3.124139, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+547, 11882, 1, 1, 1, -6727.028, 1635.465, 23.82722, 4.852015, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+548, 11882, 1, 1, 1, -6715.854, 1634.964, 16.07056, 3.961897, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+549, 11880, 1, 1, 1, -6745.881, 1629.685, 15.4194, 1.171549, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+550, 11880, 1, 1, 1, -6751.731, 1657.275, 6.558071, 1.892609, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+551, 15200, 1, 1, 1, -6788.422, 1600.554, 3.68125, 2.011898, 120, 5, 1), -- 15200 (Area: 3098) (possible waypoints or random movement) +(@CGUID+552, 11882, 1, 1, 1, -6730.177, 1602.513, 17.90496, 1.361357, 120, 0, 0), -- 11882 (Area: 3098) (Auras: 13236 - 13236) +(@CGUID+553, 11880, 1, 1, 1, -6691.19, 1588.422, 6.383457, 3.804152, 120, 0, 0), -- 11880 (Area: 3098) +(@CGUID+554, 11882, 1, 1, 1, -6718.829, 1607.825, 18.53268, 1.937315, 120, 0, 0), -- 11882 (Area: 3098) (Auras: 13236 - 13236) +(@CGUID+555, 11882, 1, 1, 1, -6710.642, 1612.67, 23.15848, 2.460914, 120, 0, 0), -- 11882 (Area: 3098) (Auras: 13236 - 13236) +(@CGUID+556, 11880, 1, 1, 1, -6749.675, 1588.676, 6.990432, 4.555309, 120, 0, 0), -- 11880 (Area: 3098) +(@CGUID+557, 11881, 1, 1, 1, -6821.84, 1638.762, 1.240486, 1.762445, 120, 0, 0), -- 11881 (Area: 3098) +(@CGUID+558, 11882, 1, 1, 1, -6739.148, 1613.943, 17.7935, 0.6632251, 120, 0, 0), -- 11882 (Area: 3098) (Auras: 13236 - 13236) +(@CGUID+559, 11880, 1, 1, 1, -6768.475, 1598.101, 7.054317, 0.8377581, 120, 0, 0), -- 11880 (Area: 3098) +(@CGUID+560, 11880, 1, 1, 1, -6778.36, 1617.949, 4.012227, 4.5217, 120, 0, 0), -- 11880 (Area: 3098) +(@CGUID+561, 11880, 1, 1, 1, -6710.383, 1582.198, 7.694281, 0.2756357, 120, 0, 0), -- 11880 (Area: 3098) +(@CGUID+562, 11880, 1, 1, 1, -6692.291, 1544.793, 8.296966, 4.433623, 120, 0, 0), -- 11880 (Area: 3098) +(@CGUID+563, 49727, 1, 1, 1, -6690.873, 1576.322, 6.845371, 0.9382779, 120, 5, 1), -- 49727 (Area: 3098) (possible waypoints or random movement) +(@CGUID+564, 11881, 1, 1, 1, -6748.301, 1556.003, 5.380396, 1.691608, 120, 0, 0), -- 11881 (Area: 3098) +(@CGUID+565, 11881, 1, 1, 1, -6720.187, 1556.429, 6.163265, 1.628561, 120, 0, 0), -- 11881 (Area: 3098) +(@CGUID+566, 11881, 1, 1, 1, -6785.386, 1581.18, 3.53848, 0.6467128, 120, 0, 0), -- 11881 (Area: 3098) +(@CGUID+567, 49840, 1, 1, 1, -6771.633, 1515.136, 3.992737, 3.135733, 120, 0, 0), -- 49840 (Area: 3098) +(@CGUID+568, 11736, 1, 1, 1, -6812.266, 1504.893, -0.772994, 4.742285, 120, 0, 0), -- 11736 (Area: 3098) +(@CGUID+569, 11880, 1, 1, 1, -6712.732, 1512.543, 3.627625, 0.2946332, 120, 0, 0), -- 11880 (Area: 3098) +(@CGUID+570, 11736, 1, 1, 1, -6708.105, 1469.963, 6.14697, 5.8143, 120, 0, 0), -- 11736 (Area: 3098) +(@CGUID+571, 11736, 1, 1, 1, -6754.822, 1397.449, 3.749978, 5.019935, 120, 0, 0), -- 11736 (Area: 3098) +(@CGUID+572, 49840, 1, 1, 1, -6748.565, 1434.479, 1.608747, 6.018304, 120, 0, 0), -- 49840 (Area: 3098) +(@CGUID+573, 11741, 1, 1, 1, -6686.949, 1398.953, 4.419198, 4.672281, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+574, 11736, 1, 1, 1, -6754.71, 1358.31, 5.395596, 6.065681, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+575, 49840, 1, 1, 1, -6772.476, 1348.801, 3.702105, 3.365243, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+576, 62523, 1, 1, 1, -6682.849, 1345.427, 3.646744, 2.384521, 120, 0, 0), -- 62523 (Area: 0) +(@CGUID+577, 11741, 1, 1, 1, -6825.627, 1393.373, 2.327746, 3.081439, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+578, 49840, 1, 1, 1, -6795.498, 1321.722, 5.397312, 5.710593, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+579, 11740, 1, 1, 1, -6784.665, 1313.393, 5.233005, 1.282112, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+580, 11738, 1, 1, 1, -6683.437, 1319.03, 5.463718, 0.7993916, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+581, 15476, 1, 1, 1, -6715.469, 1284.929, 3.844408, 6.09364, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+582, 11740, 1, 1, 1, -6717.566, 1254.819, 3.139106, 5.769889, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+583, 11740, 1, 1, 1, -6768.053, 1236.164, 5.379622, 0.7177285, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+584, 49840, 1, 1, 1, -6741.168, 1239.661, 4.150349, 2.233639, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+585, 49727, 1, 1, 1, -6793.463, 1254.247, 7.086349, 0.1842986, 120, 0, 0), -- 49727 (Area: 2742) +(@CGUID+586, 49840, 1, 1, 1, -6734.181, 1145.178, 0.5569828, 5.228872, 120, 0, 0), -- 49840 (Area: 2742) +(@CGUID+587, 11740, 1, 1, 1, -6764.367, 1164.684, 3.614312, 6.094498, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+588, 11738, 1, 1, 1, -6725.104, 1152.398, 2.672797, 0.5370706, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+589, 11738, 1, 1, 1, -6822.337, 1206.807, 2.697687, 0.4409342, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+590, 11738, 1, 1, 1, -6835.72, 1162.539, 0.09750128, 5.01376, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+591, 11740, 1, 1, 1, -6738.376, 1097.525, 3.486436, 4.820026, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+592, 49727, 1, 1, 1, -6815.187, 1094.944, 4.268205, 4.402686, 120, 0, 0), -- 49727 (Area: 2742) +(@CGUID+593, 11740, 1, 1, 1, -6810.843, 1072.73, -0.8110724, 4.388477, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+594, 11724, 1, 1, 1, -6715.631, 1045.217, 4.793587, 3.492626, 120, 0, 0), -- 11724 (Area: 2742) +(@CGUID+595, 15475, 1, 1, 1, -6752.729, 1019.649, 0.9771862, 0.10278, 120, 0, 0), -- 15475 (Area: 2742) +(@CGUID+596, 11738, 1, 1, 1, -6758.407, 1041.208, 1.227522, 1.943742, 120, 0, 0), -- 11738 (Area: 2742) +(@CGUID+597, 15476, 1, 1, 1, -6824.967, 1011.824, 0.2796562, 0.1105494, 120, 0, 0), -- 15476 (Area: 2742) +(@CGUID+598, 11735, 1, 1, 1, -6824.579, 1008.629, 0.9400173, 0.8731831, 120, 0, 0), -- 11735 (Area: 2742) +(@CGUID+599, 49727, 1, 1, 1, -6818.502, 977.1356, 3.107356, 1.163646, 120, 0, 0), -- 49727 (Area: 2742) +(@CGUID+600, 11740, 1, 1, 1, -6816.373, 972.6281, 3.2597, 4.628274, 120, 0, 0), -- 11740 (Area: 2742) +(@CGUID+601, 11735, 1, 1, 1, -6857.807, 444.6309, 2.333635, 0.4881182, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+602, 11740, 1, 1, 1, -6834.407, 374.1231, 2.971754, 5.699519, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+603, 11740, 1, 1, 1, -6843.77, 317.8263, 2.905989, 4.189509, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+604, 15476, 1, 1, 1, -6873.229, 284.5511, 2.056586, 5.952783, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+605, 61326, 1, 1, 1, -6952.944, 124.6758, 7.898236, 1.578609, 120, 0, 0), -- 61326 (Area: 0) +(@CGUID+606, 11738, 1, 1, 1, -6975.215, 108.1465, 4.169806, 3.480019, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+607, 11738, 1, 1, 1, -6957.737, 201.2472, 4.062737, 2.661639, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+608, 11740, 1, 1, 1, -6902.816, 215.8988, -0.6621773, 5.979951, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+609, 11740, 1, 1, 1, -6947.33, 251.3543, 3.167783, 0.4924858, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+610, 11740, 1, 1, 1, -6905.833, 279.4027, 4.514555, 4.311258, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+611, 15476, 1, 1, 1, -6944.632, 260.0932, 3.157386, 1.729529, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+612, 49840, 1, 1, 1, -6927.624, 349.74, 2.396872, 3.149405, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+613, 11740, 1, 1, 1, -6954.376, 327.5948, 4.938684, 4.36961, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+614, 11738, 1, 1, 1, -6891.331, 341.4137, 3.127531, 5.007586, 120, 0, 0), -- 11738 (Area: 0) +(@CGUID+615, 49727, 1, 1, 1, -6987.91, 296.4084, 4.44317, 4.763709, 120, 0, 0), -- 49727 (Area: 0) +(@CGUID+616, 15476, 1, 1, 1, -6872.217, 380.9365, 3.854628, 2.929273, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+617, 11738, 1, 1, 1, -6878.926, 418.8347, 1.184109, 4.220855, 120, 0, 0), -- 11738 (Area: 2738) +(@CGUID+618, 49840, 1, 1, 1, -6955.984, 442.1724, 3.580259, 3.770246, 120, 0, 0), -- 49840 (Area: 2738) +(@CGUID+619, 11735, 1, 1, 1, -6946.131, 430.4115, 3.335215, 4.895215, 120, 0, 0), -- 11735 (Area: 2738) +(@CGUID+620, 11735, 1, 1, 1, -6921.396, 478.4941, 1.553912, 1.441441, 120, 0, 0), -- 11735 (Area: 2738) +(@CGUID+621, 11735, 1, 1, 1, -6986.334, 438.1777, 9.393206, 0.9960088, 120, 0, 0), -- 11735 (Area: 2738) +(@CGUID+622, 49840, 1, 1, 1, -6906.66, 512.9365, 6.763237, 2.798832, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+623, 15475, 1, 1, 1, -6909.491, 588.6968, 1.904686, 0.7234713, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+624, 11698, 1, 1, 1, -6954.464, 607.6464, 5.540078, 6.090765, 120, 0, 0), -- 11698 (Area: 0) +(@CGUID+625, 11724, 1, 1, 1, -6986.369, 574.1253, 8.237495, 0.7315085, 120, 0, 0), -- 11724 (Area: 0) +(@CGUID+626, 49727, 1, 1, 1, -6983.503, 578.9879, 7.112495, 3.837081, 120, 0, 0), -- 49727 (Area: 0) +(@CGUID+627, 15475, 1, 1, 1, -6992.701, 620.2025, 7.104697, 2.774138, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+628, 11724, 1, 1, 1, -6998.067, 641.381, 8.764736, 4.431407, 120, 0, 0), -- 11724 (Area: 0) +(@CGUID+629, 11698, 1, 1, 1, -6958.047, 685.957, 7.245537, 0.2976245, 120, 0, 0), -- 11698 (Area: 0) +(@CGUID+630, 11724, 1, 1, 1, -6977.205, 852.6681, 9.393105, 2.912076, 120, 0, 0), -- 11724 (Area: 3097) +(@CGUID+631, 15475, 1, 1, 1, -6983.938, 877.7613, 7.177872, 2.876711, 120, 0, 0), -- 15475 (Area: 3097) +(@CGUID+632, 11740, 1, 1, 1, -6925.908, 972.8239, 10.6904, 3.112319, 120, 0, 0), -- 11740 (Area: 3097) +(@CGUID+633, 61319, 1, 1, 1, -7018.419, 909.39, 9.761324, 1.421858, 120, 5, 1), -- 61319 (Area: 3097) (possible waypoints or random movement) +(@CGUID+634, 49840, 1, 1, 1, -6899.816, 940.6299, 17.13121, 2.418355, 120, 0, 0), -- 49840 (Area: 3097) +(@CGUID+635, 49727, 1, 1, 1, -6956.737, 1013.892, 7.657876, 5.783416, 120, 0, 0), -- 49727 (Area: 3097) +(@CGUID+636, 11740, 1, 1, 1, -6912.104, 1051.076, -0.8970884, 2.224372, 120, 0, 0), -- 11740 (Area: 3097) +(@CGUID+637, 11738, 1, 1, 1, -6954.431, 1040.482, 2.982258, 4.019651, 120, 0, 0), -- 11738 (Area: 3097) +(@CGUID+638, 11740, 1, 1, 1, -6891.089, 1088.306, 3.749715, 5.113564, 120, 0, 0), -- 11740 (Area: 0) +(@CGUID+639, 15476, 1, 1, 1, -6993.564, 1048.995, 3.582632, 5.023952, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+640, 11735, 1, 1, 1, -6855.374, 1041.078, 1.598064, 4.15741, 120, 0, 0), -- 11735 (Area: 0) +(@CGUID+641, 11741, 1, 1, 1, -7025.665, 1031.566, 5.353621, 3.582527, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+642, 11880, 1, 1, 1, -6955.088, 1130.446, 0.8973503, 2.337686, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+643, 11880, 1, 1, 1, -6968.321, 1115.891, 7.543181, 4.537856, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+644, 11880, 1, 1, 1, -7007.808, 1075.795, 3.573654, 4.364648, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+645, 11880, 1, 1, 1, -6915.451, 1156.949, 2.964072, 3.29016, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+646, 15476, 1, 1, 1, -6883.758, 1112.976, 4.300647, 4.591061, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+647, 11881, 1, 1, 1, -6988.456, 1120.126, 9.209662, 2.181662, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+648, 11881, 1, 1, 1, -6994.413, 1087.88, 2.000871, 2.855385, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+649, 11880, 1, 1, 1, -6981.025, 1106.437, 6.564314, 5.218534, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+650, 11880, 1, 1, 1, -7010.042, 1122.39, 9.849092, 3.176499, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+651, 11880, 1, 1, 1, -7000.95, 1106.162, 10.79038, 2.670354, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+652, 11880, 1, 1, 1, -6999.956, 1129.479, 9.233417, 3.281219, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+653, 11804, 1, 1, 1, -6938.577, 1114.749, 0.9504899, 0.7805349, 120, 5, 1), -- 11804 (Area: 0) (possible waypoints or random movement) +(@CGUID+654, 15476, 1, 1, 1, -6873.832, 1145.797, 3.488475, 4.489915, 120, 0, 0), -- 15476 (Area: 2739) +(@CGUID+655, 11881, 1, 1, 1, -7000.749, 1143.991, 9.024521, 0.9252641, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+656, 11881, 1, 1, 1, -6953.904, 1159.702, 11.05382, 2.635447, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+657, 11882, 1, 1, 1, -6977.076, 1191.039, 11.89742, 4.101524, 120, 0, 0), -- 11882 (Area: 2739) (Auras: 13236 - 13236) +(@CGUID+658, 11880, 1, 1, 1, -6989.187, 1220.531, 9.372623, 3.490659, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+659, 11882, 1, 1, 1, -6999.944, 1178.776, 13.92357, 0.08726646, 120, 0, 0), -- 11882 (Area: 2739) (Auras: 13236 - 13236) +(@CGUID+660, 11881, 1, 1, 1, -6971.077, 1210.739, 7.884941, 1.780236, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+661, 11880, 1, 1, 1, -6962.229, 1244.261, -0.09436035, 3.736638, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+662, 11882, 1, 1, 1, -6985.174, 1193.255, 13.45203, 4.764749, 120, 0, 0), -- 11882 (Area: 2739) (Auras: 13236 - 13236) +(@CGUID+663, 11881, 1, 1, 1, -6930.315, 1202.084, 5.26168, 3.141593, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+664, 11880, 1, 1, 1, -6977.769, 1215.917, 9.157702, 3.787364, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+665, 11880, 1, 1, 1, -6949.1, 1178.265, 10.31941, 5.269187, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+666, 11882, 1, 1, 1, -6970.255, 1181.009, 13.41014, 3.211406, 120, 0, 0), -- 11882 (Area: 2739) (Auras: 13236 - 13236) +(@CGUID+667, 11881, 1, 1, 1, -6901.061, 1185.727, 3.765578, 3.050534, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+668, 11882, 1, 1, 1, -6982.665, 1167.753, 13.13781, 1.727876, 120, 0, 0), -- 11882 (Area: 2739) (Auras: 13236 - 13236) +(@CGUID+669, 11741, 1, 1, 1, -6934.474, 1266.401, 3.491725, 5.463539, 120, 0, 0), -- 11741 (Area: 2739) +(@CGUID+670, 11882, 1, 1, 1, -6993.521, 1170.913, 16.73982, 0.8028514, 120, 0, 0), -- 11882 (Area: 2739) (Auras: 13236 - 13236) +(@CGUID+671, 11882, 1, 1, 1, -6974.021, 1170.91, 17.12442, 2.426008, 120, 0, 0), -- 11882 (Area: 2739) (Auras: 13236 - 13236) +(@CGUID+672, 11882, 1, 1, 1, -6992.954, 1188.321, 16.47783, 5.497787, 120, 0, 0), -- 11882 (Area: 2739) (Auras: 13236 - 13236) +(@CGUID+673, 11880, 1, 1, 1, -7014.326, 1177.623, 10.30814, 5.619742, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+674, 11880, 1, 1, 1, -7014.646, 1213.144, 8.349432, 4.101524, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+675, 11881, 1, 1, 1, -6986.229, 1234.375, 1.841268, 0, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+676, 49727, 1, 1, 1, -7013.917, 1284.551, 3.154553, 3.264009, 120, 5, 1), -- 49727 (Area: 2739) (possible waypoints or random movement) +(@CGUID+677, 11881, 1, 1, 1, -7048.809, 1219.347, 0.4467014, 2.684569, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+678, 11880, 1, 1, 1, -7016.125, 1251.374, 1.820302, 1.570796, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+679, 11880, 1, 1, 1, -7022.317, 1149.376, 6.66184, 5.020972, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+680, 11880, 1, 1, 1, -7010.88, 1147.812, 5.946091, 6.129389, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+681, 11880, 1, 1, 1, -7033.646, 1185.058, 7.344493, 2.460914, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+682, 11736, 1, 1, 1, -6982.366, 1344.951, 1.876305, 4.85553, 120, 0, 0), -- 11736 (Area: 2739) +(@CGUID+683, 49840, 1, 1, 1, -6898.584, 1322.47, 4.854162, 5.946603, 120, 0, 0), -- 49840 (Area: 2739) +(@CGUID+684, 11736, 1, 1, 1, -7025.661, 1318.412, 3.94527, 5.845733, 120, 0, 0), -- 11736 (Area: 2739) +(@CGUID+685, 11736, 1, 1, 1, -6886.219, 1361.43, 2.061228, 2.522706, 120, 0, 0), -- 11736 (Area: 2739) +(@CGUID+686, 49727, 1, 1, 1, -7020.625, 1352.656, 5.30112, 4.20236, 120, 5, 1), -- 49727 (Area: 2739) (possible waypoints or random movement) +(@CGUID+687, 11736, 1, 1, 1, -6853.886, 1329.797, 4.70178, 5.58193, 120, 0, 0), -- 11736 (Area: 2739) +(@CGUID+688, 61326, 1, 1, 1, -6940.564, 1375.721, -0.09449458, 5.210879, 120, 0, 0), -- 61326 (Area: 2739) +(@CGUID+689, 11741, 1, 1, 1, -6848.045, 1273.431, 1.125675, 1.28177, 120, 0, 0), -- 11741 (Area: 2739) +(@CGUID+690, 11741, 1, 1, 1, -6891.627, 1414.063, 2.870852, 3.141593, 120, 0, 0), -- 11741 (Area: 2739) +(@CGUID+691, 11736, 1, 1, 1, -6958.366, 1439.962, 4.270009, 4.837713, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+692, 49840, 1, 1, 1, -6959.224, 1442.407, 3.971181, 6.238206, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+693, 11736, 1, 1, 1, -6847.25, 1452.652, 3.826316, 1.113997, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+694, 11745, 1, 1, 1, -6961.95, 1494.858, 1.864493, 3.756162, 120, 0, 0), -- 11745 (Area: 0) +(@CGUID+695, 15476, 1, 1, 1, -6854.113, 1447.226, 2.627585, 3.525724, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+696, 11736, 1, 1, 1, -6984.072, 1515.624, 2.708385, 6.171666, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+697, 14472, 1, 1, 1, -6940.134, 1512.701, 4.286255, 4.413173, 120, 5, 1), -- 14472 (Area: 0) (Auras: 21788 - 21788) (possible waypoints or random movement) +(@CGUID+698, 15476, 1, 1, 1, -6904.304, 1548.164, 3.041188, 2.778482, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+699, 15476, 1, 1, 1, -7038.755, 1477.866, 3.482527, 6.101674, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+700, 11736, 1, 1, 1, -6952.253, 1532.977, 1.11574, 4.847521, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+701, 61441, 1, 1, 1, -6971.851, 1539.888, 4.021828, 5.240016, 120, 5, 1), -- 61441 (Area: 0) (possible waypoints or random movement) +(@CGUID+702, 11741, 1, 1, 1, -6982.885, 1570.806, 4.461198, 4.726685, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+703, 11736, 1, 1, 1, -6911.715, 1583.71, 5.094996, 4.524559, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+704, 62523, 1, 1, 1, -6886.061, 1619.854, 2.609204, 4.142813, 120, 5, 1), -- 62523 (Area: 0) (possible waypoints or random movement) +(@CGUID+705, 61441, 1, 1, 1, -6846.422, 1584.581, 2.816759, 2.937872, 120, 5, 1), -- 61441 (Area: 0) (possible waypoints or random movement) +(@CGUID+706, 11741, 1, 1, 1, -6922.169, 1641.494, -1.401891, 4.382303, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+707, 11736, 1, 1, 1, -6954.945, 1681.782, 2.134271, 3.701434, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+708, 15475, 1, 1, 1, -7017.792, 1613.523, 3.37572, 2.271169, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+709, 11745, 1, 1, 1, -6911.182, 1690.832, 0.8705299, 4.755373, 120, 0, 0), -- 11745 (Area: 0) +(@CGUID+710, 11736, 1, 1, 1, -6992.706, 1661.781, 1.096849, 2.142545, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+711, 61326, 1, 1, 1, -6902.725, 1704.454, -0.5898793, 2.230348, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+712, 11736, 1, 1, 1, -6950.083, 1744.295, 3.485777, 4.443728, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+713, 11741, 1, 1, 1, -6893.64, 1741.628, -0.8376775, 4.004082, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+714, 61441, 1, 1, 1, -6989.632, 1706.865, -1.509362, 4.923005, 120, 5, 1), -- 61441 (Area: 0) (possible waypoints or random movement) +(@CGUID+715, 15545, 1, 1, 1, -7006.425, 1702.991, 1.621078, 6.126106, 120, 0, 0), -- 15545 (Area: 0) +(@CGUID+716, 15476, 1, 1, 1, -6957.812, 1783.032, -0.7893597, 6.226495, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+717, 11741, 1, 1, 1, -6845.35, 1775.497, -0.0698719, 1.380641, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+718, 11741, 1, 1, 1, -6940.92, 1813.136, 4.815222, 6.169696, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+719, 49840, 1, 1, 1, -6856.903, 1792.51, 2.313803, 1.775276, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+720, 11741, 1, 1, 1, -6883.784, 1812.112, 5.324042, 0.5703987, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+721, 15545, 1, 1, 1, -7013.454, 1713.981, 0.9262412, 4.625123, 120, 0, 0), -- 15545 (Area: 0) +(@CGUID+722, 15475, 1, 1, 1, -7016.45, 1754.948, -0.262989, 2.690763, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+723, 15545, 1, 1, 1, -7014.015, 1731.864, 0.9317394, 3.246312, 120, 0, 0), -- 15545 (Area: 0) +(@CGUID+724, 11736, 1, 1, 1, -6983.483, 1809.927, 3.270544, 1.257477, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+725, 11741, 1, 1, 1, -6996.235, 1853.157, 3.42391, 0.1494332, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+726, 15476, 1, 1, 1, -7039.733, 1822.047, -0.5640788, 3.008116, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+727, 11729, 1, 1, 1, -7045.885, 1762.991, -2.661529, 4.72606, 120, 0, 0), -- 11729 (Area: 0) +(@CGUID+728, 15545, 1, 1, 1, -7024.782, 1707.717, 3.049605, 0.1570796, 120, 0, 0), -- 15545 (Area: 0) +(@CGUID+729, 11727, 1, 1, 1, -7050.286, 1667.772, 4.242583, 1.502899, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+730, 11728, 1, 1, 1, -7080.419, 1678.451, 5.049907, 2.957852, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+731, 61319, 1, 1, 1, -7082.618, 1679.407, 5.049907, 3.398238, 120, 5, 1), -- 61319 (Area: 2743) (possible waypoints or random movement) +(@CGUID+732, 11727, 1, 1, 1, -7050.118, 1670.221, 4.241329, 1.505992, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+733, 61319, 1, 1, 1, -7083.076, 1776.359, -2.908742, 4.661796, 120, 0, 0), -- 61319 (Area: 2743) +(@CGUID+734, 11727, 1, 1, 1, -7050.526, 1664.249, 4.161935, 1.502818, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+735, 11725, 1, 1, 1, -7080.668, 1751.947, -1.418204, 0.2857359, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+736, 11728, 1, 1, 1, -7129.679, 1657.754, -0.502284, 5.855346, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+737, 11725, 1, 1, 1, -7136.213, 1704.223, -0.5605471, 3.673831, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+738, 11725, 1, 1, 1, -7051.437, 1583.811, 1.935263, 3.030073, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+739, 11729, 1, 1, 1, -7087.116, 1553.369, 1.665315, 2.147417, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+740, 15475, 1, 1, 1, -7056.166, 1520.274, 6.232951, 1.25649, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+741, 11741, 1, 1, 1, -7082.039, 1450.703, 4.249273, 3.355637, 120, 0, 0), -- 11741 (Area: 2743) +(@CGUID+742, 11725, 1, 1, 1, -7121.256, 1511.74, 5.544181, 3.819751, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+743, 11736, 1, 1, 1, -7046.482, 1394.324, 3.90322, 2.410084, 120, 0, 0), -- 11736 (Area: 2743) +(@CGUID+744, 15475, 1, 1, 1, -7138.63, 1486.887, 5.83314, 3.83295, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+745, 11736, 1, 1, 1, -7083.758, 1439.412, 3.614323, 4.393723, 120, 0, 0), -- 11736 (Area: 2743) +(@CGUID+746, 15476, 1, 1, 1, -7082.137, 1383.398, 4.004591, 6.240243, 120, 0, 0), -- 15476 (Area: 2743) +(@CGUID+747, 11741, 1, 1, 1, -7111.05, 1406.209, 5.824049, 4.541621, 120, 0, 0), -- 11741 (Area: 2743) +(@CGUID+748, 17765, 1, 1, 1, -7134.422, 1400.669, 5.529174, 5.846853, 120, 0, 0), -- 17765 (Area: 0) (Auras: 18950 - 18950) +(@CGUID+749, 17090, 1, 1, 1, -7138.577, 1389.883, 3.712778, 1.396263, 120, 0, 0), -- 17090 (Area: 0) +(@CGUID+750, 17765, 1, 1, 1, -7135.4, 1395.231, 5.134144, 6.248279, 120, 0, 0), -- 17765 (Area: 0) (Auras: 18950 - 18950) +(@CGUID+751, 17765, 1, 1, 1, -7135.837, 1389.384, 4.62578, 0.3665192, 120, 0, 0), -- 17765 (Area: 0) (Auras: 18950 - 18950) +(@CGUID+752, 17068, 1, 1, 1, -7144.842, 1376.436, 3.522969, 6.021386, 120, 0, 0), -- 17068 (Area: 0) +(@CGUID+753, 17080, 1, 1, 1, -7144.343, 1377.835, 3.256584, 5.88176, 120, 0, 0), -- 17080 (Area: 0) +(@CGUID+754, 11736, 1, 1, 1, -7120.631, 1312.619, 4.305565, 2.509421, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+755, 11736, 1, 1, 1, -7110.423, 1255.69, 4.421148, 0.3928505, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+756, 62523, 1, 1, 1, -7109.199, 1243.936, 3.958854, 5.236812, 120, 5, 1), -- 62523 (Area: 0) (possible waypoints or random movement) +(@CGUID+757, 15476, 1, 1, 1, -7081.079, 1230.065, 2.448381, 4.525721, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+758, 61326, 1, 1, 1, -7143.775, 1300.35, 3.009567, 4.679166, 120, 0, 0), -- 61326 (Area: 0) +(@CGUID+759, 11881, 1, 1, 1, -7059.366, 1180.164, 1.100801, 3.97063, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+760, 11881, 1, 1, 1, -7046.354, 1150.521, 6.34897, 4.101524, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+761, 15476, 1, 1, 1, -7046.402, 1108.231, 5.402007, 6.129358, 120, 0, 0), -- 15476 (Area: 2739) +(@CGUID+762, 11881, 1, 1, 1, -7037.143, 1140.754, 7.647521, 3.508112, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+763, 11881, 1, 1, 1, -7047.61, 1111.332, 5.310332, 3.387163, 120, 0, 0), -- 11881 (Area: 2739) +(@CGUID+764, 11880, 1, 1, 1, -6939.66, 1136.288, 4.059771, 1.102782, 120, 0, 0), -- 11880 (Area: 2739) +(@CGUID+765, 11736, 1, 1, 1, -7109.158, 1122.385, 3.813471, 3.58341, 120, 0, 0), -- 11736 (Area: 2739) +(@CGUID+766, 61441, 1, 1, 1, -7136.834, 1121.213, 3.941639, 3.544048, 120, 0, 0), -- 61441 (Area: 2739) +(@CGUID+767, 11741, 1, 1, 1, -7077.25, 1013.285, 3.50302, 1.813406, 120, 0, 0), -- 11741 (Area: 2739) +(@CGUID+768, 11736, 1, 1, 1, -7121.227, 1052.574, 5.769255, 0.985338, 120, 0, 0), -- 11736 (Area: 2739) +(@CGUID+769, 61326, 1, 1, 1, -7138.43, 1014.879, 4.410793, 3.294539, 120, 0, 0), -- 61326 (Area: 0) +(@CGUID+770, 11741, 1, 1, 1, -7150, 1016.666, 3.429509, 5.117281, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+771, 11698, 1, 1, 1, -7047.996, 864.0469, 8.32818, 4.6668, 120, 0, 0), -- 11698 (Area: 0) +(@CGUID+772, 11698, 1, 1, 1, -7058.852, 891.5902, 5.802538, 0.1452447, 120, 0, 0), -- 11698 (Area: 0) +(@CGUID+773, 15475, 1, 1, 1, -7059.327, 877.1367, 5.846972, 1.52041, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+774, 11724, 1, 1, 1, -7116.361, 853.3431, 6.142432, 1.489949, 120, 0, 0), -- 11724 (Area: 0) +(@CGUID+775, 11698, 1, 1, 1, -7027.553, 896.2383, 8.225794, 1.958727, 120, 0, 0), -- 11698 (Area: 0) +(@CGUID+776, 61319, 1, 1, 1, -7150.5, 885.093, 11.21945, 1.885174, 120, 0, 0), -- 61319 (Area: 0) +(@CGUID+777, 11724, 1, 1, 1, -7161.927, 813.0996, 11.5647, 5.291181, 120, 0, 0), -- 11724 (Area: 0) +(@CGUID+778, 11724, 1, 1, 1, -7075.867, 811.3329, 20.97494, 5.461891, 120, 0, 0), -- 11724 (Area: 0) +(@CGUID+779, 61319, 1, 1, 1, -7143.679, 808.3919, 8.992064, 0.125324, 120, 0, 0), -- 61319 (Area: 0) +(@CGUID+780, 11698, 1, 1, 1, -7120.327, 777.6815, 8.061985, 3.906881, 120, 0, 0), -- 11698 (Area: 0) +(@CGUID+781, 11724, 1, 1, 1, -7147.726, 743.6472, 7.457522, 5.485187, 120, 0, 0), -- 11724 (Area: 0) +(@CGUID+782, 61319, 1, 1, 1, -7192.919, 755.9879, 11.06989, 2.395582, 120, 5, 1), -- 61319 (Area: 0) (possible waypoints or random movement) +(@CGUID+783, 11698, 1, 1, 1, -7150.951, 677.9468, 6.995906, 6.020794, 120, 0, 0), -- 11698 (Area: 3097) +(@CGUID+784, 11724, 1, 1, 1, -7186.962, 714.2807, 11.53523, 3.728782, 120, 0, 0), -- 11724 (Area: 3097) +(@CGUID+785, 11724, 1, 1, 1, -7145.308, 615.3193, 7.65941, 1.733327, 120, 0, 0), -- 11724 (Area: 3097) +(@CGUID+786, 11698, 1, 1, 1, -7118.379, 652.8906, 14.86354, 1.193318, 120, 0, 0), -- 11698 (Area: 3097) +(@CGUID+787, 11698, 1, 1, 1, -7117.04, 585.4471, 8.670155, 5.685427, 120, 0, 0), -- 11698 (Area: 3097) +(@CGUID+788, 61319, 1, 1, 1, -7214.652, 682.0352, 6.984793, 0.4523332, 120, 5, 1), -- 61319 (Area: 3097) (possible waypoints or random movement) +(@CGUID+789, 11698, 1, 1, 1, -7217.765, 680.4855, 7.869542, 3.147452, 120, 0, 0), -- 11698 (Area: 3097) +(@CGUID+790, 11724, 1, 1, 1, -7202.838, 653.1017, 7.358236, 2.557702, 120, 0, 0), -- 11724 (Area: 3097) +(@CGUID+791, 11698, 1, 1, 1, -7075.168, 609.234, 5.048219, 5.159739, 120, 0, 0), -- 11698 (Area: 3097) +(@CGUID+792, 61319, 1, 1, 1, -7178.977, 581.0708, 1.748069, 3.178685, 120, 5, 1), -- 61319 (Area: 3097) (possible waypoints or random movement) +(@CGUID+793, 61319, 1, 1, 1, -7095.038, 570.0162, 10.04657, 0.8533533, 120, 0, 0), -- 61319 (Area: 3097) +(@CGUID+794, 11698, 1, 1, 1, -7047.382, 582.1108, 8.468374, 5.874928, 120, 0, 0), -- 11698 (Area: 3097) +(@CGUID+795, 61319, 1, 1, 1, -7151.381, 526.495, 7.761618, 2.823627, 120, 5, 1), -- 61319 (Area: 3097) (possible waypoints or random movement) +(@CGUID+796, 62523, 1, 1, 1, -7079.042, 515.412, 1.867888, 5.113945, 120, 0, 0), -- 62523 (Area: 3097) +(@CGUID+797, 12179, 1, 1, 1, -7179.704, 488.6779, 13.89107, 1.022339, 120, 5, 1), -- 12179 (Area: 3097) (possible waypoints or random movement) +(@CGUID+798, 12179, 1, 1, 1, -7122.599, 435.2555, 18.79366, 0.5892587, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+799, 12178, 1, 1, 1, -7123.037, 419.8367, 10.30175, 3.647082, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+800, 12179, 1, 1, 1, -7183.505, 441.3747, 26.67546, 6.023816, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+801, 12178, 1, 1, 1, -7179.204, 440.8756, 26.68861, 3.37758, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+802, 15476, 1, 1, 1, -7023.898, 440.4471, 9.695474, 5.737728, 120, 0, 0), -- 15476 (Area: 2738) +(@CGUID+803, 12179, 1, 1, 1, -7081.039, 386.2316, 4.367118, 0.6732147, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+804, 61319, 1, 1, 1, -7069.513, 377.8377, 6.713598, 2.416331, 120, 5, 1), -- 61319 (Area: 2738) (possible waypoints or random movement) +(@CGUID+805, 61319, 1, 1, 1, -7183.761, 398.7336, 22.52961, 0.879804, 120, 5, 1), -- 61319 (Area: 2738) (possible waypoints or random movement) +(@CGUID+806, 12199, 1, 1, 1, -7141.848, 350.8466, 26.37809, 0.05235988, 120, 0, 0), -- 12199 (Area: 2738) +(@CGUID+807, 12178, 1, 1, 1, -7078.154, 353.1785, 5.87446, 1.141204, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+808, 12179, 1, 1, 1, -7137.349, 346.1642, 26.29473, 4.431347, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+809, 15475, 1, 1, 1, -7167.417, 363.704, 19.9912, 2.796993, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+810, 12179, 1, 1, 1, -7116.071, 351.9183, 17.89375, 3.398843, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+811, 11738, 1, 1, 1, -7022.9, 390.2721, 5.265147, 4.802342, 120, 0, 0), -- 11738 (Area: 2738) +(@CGUID+812, 12178, 1, 1, 1, -7126.989, 355.4451, 17.88472, 5.27938, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+813, 12178, 1, 1, 1, -7114.151, 352.7711, 26.3781, 3.193953, 120, 0, 0), -- 12178 (Area: 2738) +(@CGUID+814, 12179, 1, 1, 1, -7139.604, 351.9404, 17.36473, 2.055811, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+815, 12178, 1, 1, 1, -7139.63, 354.3192, 26.29473, 2.726126, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+816, 15293, 1, 1, 1, -7114.807, 357.9386, 26.3781, 4.328416, 120, 0, 0), -- 15293 (Area: 2738) +(@CGUID+817, 12178, 1, 1, 1, -7123.09, 344.7117, 18.00972, 2.219974, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+818, 12178, 1, 1, 1, -7054.827, 320.7995, 7.402503, 0.45283, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+819, 49840, 1, 1, 1, -7005.555, 382.3087, 5.291338, 3.306223, 120, 0, 0), -- 49840 (Area: 2738) +(@CGUID+820, 12178, 1, 1, 1, -7114.269, 316.4909, 19.47596, 5.823611, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+821, 61319, 1, 1, 1, -7110.979, 315.3105, 19.22596, 5.278466, 120, 5, 1), -- 61319 (Area: 2738) (possible waypoints or random movement) +(@CGUID+822, 12179, 1, 1, 1, -7084.191, 314.0006, 13.63699, 3.114256, 120, 0, 0), -- 12179 (Area: 2738) +(@CGUID+823, 15475, 1, 1, 1, -7068.13, 265.2691, 5.408271, 3.968632, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+824, 12179, 1, 1, 1, -7053.533, 279.396, 6.12439, 1.037078, 120, 0, 0), -- 12179 (Area: 2738) +(@CGUID+825, 49840, 1, 1, 1, -7015.803, 277.4315, 3.816951, 3.685697, 120, 0, 0), -- 49840 (Area: 2738) +(@CGUID+826, 11735, 1, 1, 1, -7005.784, 291.9152, 3.62482, 1.864124, 120, 0, 0), -- 11735 (Area: 2738) +(@CGUID+827, 12179, 1, 1, 1, -7082.09, 246.4298, 4.225666, 3.747634, 120, 0, 0), -- 12179 (Area: 2738) +(@CGUID+828, 11738, 1, 1, 1, -7029.079, 215.6315, 4.13025, 3.188525, 120, 0, 0), -- 11738 (Area: 2738) +(@CGUID+829, 12179, 1, 1, 1, -7116.275, 244.9892, 3.713584, 1.733829, 120, 0, 0), -- 12179 (Area: 2738) +(@CGUID+830, 49840, 1, 1, 1, -7046.338, 194.7392, 3.016994, 4.179675, 120, 0, 0), -- 49840 (Area: 2738) +(@CGUID+831, 11738, 1, 1, 1, -7078.404, 184.4016, 5.353129, 4.319551, 120, 0, 0), -- 11738 (Area: 2738) +(@CGUID+832, 12178, 1, 1, 1, -7175.326, 294.52, 41.37708, 1.345012, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+833, 12179, 1, 1, 1, -7155.874, 321.5796, 21.67747, 5.666584, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+834, 12179, 1, 1, 1, -7190.271, 319.5867, 37.10455, 3.528267, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+835, 15475, 1, 1, 1, -7188.066, 323.2034, 36.27893, 1.936427, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+836, 12178, 1, 1, 1, -7221.94, 284.9398, 44.31463, 2.726432, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+837, 12179, 1, 1, 1, -7210.588, 327.4031, 45.15031, 3.260029, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+838, 12178, 1, 1, 1, -7235.805, 330.3624, 46.33834, 1.506543, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+839, 12178, 1, 1, 1, -7187.609, 383.4232, 22.9103, 0.7162565, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+840, 12178, 1, 1, 1, -7214.584, 351.0823, 38.5722, 1.570796, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+841, 12178, 1, 1, 1, -7224.66, 325.1385, 46.33818, 3.853724, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+842, 12178, 1, 1, 1, -7184.695, 349.2852, 33.93956, 2.814348, 120, 0, 0), -- 12178 (Area: 2738) +(@CGUID+843, 12178, 1, 1, 1, -7221.789, 385.1551, 23.28556, 3.206083, 120, 0, 0), -- 12178 (Area: 2738) +(@CGUID+844, 15475, 1, 1, 1, -7203.214, 390.3947, 24.99757, 4.726814, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+845, 15475, 1, 1, 1, -7208.988, 410.3387, 25.07937, 3.972491, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+846, 12178, 1, 1, 1, -7220.264, 422.0249, 23.54324, 1.385718, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+847, 12178, 1, 1, 1, -7250.361, 380.0625, 18.83165, 2.479299, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+848, 12178, 1, 1, 1, -7257.134, 349.2116, 40.83872, 4.605469, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+849, 12179, 1, 1, 1, -7220.634, 451.7599, 14.07176, 3.188525, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+850, 12178, 1, 1, 1, -7240.003, 415.5819, 24.69231, 0.4504973, 120, 0, 0), -- 12178 (Area: 2738) +(@CGUID+851, 12179, 1, 1, 1, -7258.109, 328.8172, 47.925, 6.213372, 120, 0, 0), -- 12179 (Area: 2738) +(@CGUID+852, 12179, 1, 1, 1, -7254.796, 447.2693, 17.79445, 2.603138, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+853, 61319, 1, 1, 1, -7250.369, 512.9611, 9.68011, 5.53931, 120, 5, 1), -- 61319 (Area: 2738) (possible waypoints or random movement) +(@CGUID+854, 12179, 1, 1, 1, -7279.112, 449.2283, 17.02878, 4.549489, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+855, 12178, 1, 1, 1, -7251.618, 490.8384, 11.48885, 0.8586493, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+856, 15475, 1, 1, 1, -7260.686, 306.149, 41.11217, 5.333158, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+857, 12179, 1, 1, 1, -7311.851, 412.9421, 21.57164, 1.088279, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+858, 12178, 1, 1, 1, -7319.292, 386.6436, 15.64686, 4.106925, 120, 5, 1), -- 12178 (Area: 2738) (possible waypoints or random movement) +(@CGUID+859, 15475, 1, 1, 1, -7280.379, 477.8777, 10.95433, 2.464107, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+860, 12179, 1, 1, 1, -7322.442, 351.3979, 17.98315, 2.291279, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+861, 49840, 1, 1, 1, -7343.246, 391.6468, 13.32952, 3.196333, 120, 0, 0), -- 49840 (Area: 2738) +(@CGUID+862, 12179, 1, 1, 1, -7317.696, 314.464, 10.98324, 3.33018, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+863, 11736, 1, 1, 1, -7347.156, 377.2085, 12.57538, 5.004325, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+864, 61326, 1, 1, 1, -7316.023, 464.9647, 13.28003, 5.517122, 120, 5, 1), -- 61326 (Area: 2738) (possible waypoints or random movement) +(@CGUID+865, 12179, 1, 1, 1, -7312.548, 279.4082, 15.72545, 4.630222, 120, 5, 1), -- 12179 (Area: 2738) (possible waypoints or random movement) +(@CGUID+866, 15475, 1, 1, 1, -7351.887, 354.8192, 9.374132, 1.364206, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+867, 11736, 1, 1, 1, -7238.387, 551.4009, 3.618447, 3.25669, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+868, 11741, 1, 1, 1, -7315.952, 485.6577, 8.678403, 4.747531, 120, 0, 0), -- 11741 (Area: 2738) +(@CGUID+869, 11736, 1, 1, 1, -7282.011, 576.4532, 0.4911371, 1.521131, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+870, 49840, 1, 1, 1, -7348.347, 552.9988, 0.1114194, 3.915942, 120, 0, 0), -- 49840 (Area: 2738) +(@CGUID+871, 11736, 1, 1, 1, -7350.457, 574.4813, 1.036745, 4.718248, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+872, 61326, 1, 1, 1, -7319.489, 588.0023, 0.5721054, 1.943973, 120, 5, 1), -- 61326 (Area: 2738) (possible waypoints or random movement) +(@CGUID+873, 11736, 1, 1, 1, -7284.048, 683.7576, 3.398395, 0.6751496, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+874, 11736, 1, 1, 1, -7351.51, 612.9536, -3.686652, 4.751432, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+875, 49840, 1, 1, 1, -7317.5, 652.5659, -0.2761698, 4.694813, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+876, 15475, 1, 1, 1, -7244.712, 697.2646, 8.857162, 1.466546, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+877, 11741, 1, 1, 1, -7327.322, 674.5861, 2.978745, 0.6866758, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+878, 15475, 1, 1, 1, -7282.493, 728.7275, 0.4836532, 1.660749, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+879, 11736, 1, 1, 1, -7220.595, 784.8292, 5.872485, 1.976329, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+880, 11745, 1, 1, 1, -7312.375, 763.0076, 5.425468, 4.07455, 120, 0, 0), -- 11745 (Area: 0) +(@CGUID+881, 49840, 1, 1, 1, -7357.896, 715.7002, 0.6694379, 4.195424, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+882, 15475, 1, 1, 1, -7248.33, 813.0359, 0.4829319, 1.198995, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+883, 11736, 1, 1, 1, -7253.852, 841.4431, 3.73612, 3.55674, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+884, 49840, 1, 1, 1, -7349.833, 811.5134, 2.463954, 5.067502, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+885, 61326, 1, 1, 1, -7302.917, 905.3276, 2.679389, 2.615908, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+886, 61319, 1, 1, 1, -7209.055, 891.2402, -1.641764, 5.569816, 120, 0, 0), -- 61319 (Area: 0) +(@CGUID+887, 11746, 1, 1, 1, -7342.039, 873.908, 5.253973, 1.41191, 120, 0, 0), -- 11746 (Area: 0) +(@CGUID+888, 11736, 1, 1, 1, -7300.253, 941.1194, 0.5510998, 6.112583, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+889, 11736, 1, 1, 1, -7344.627, 886.7726, 3.147031, 0.1975871, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+890, 11741, 1, 1, 1, -7218.674, 1008.177, 3.060215, 0.8413949, 120, 0, 0), -- 11741 (Area: 3257) +(@CGUID+891, 11736, 1, 1, 1, -7254.525, 1026.23, 4.491536, 5.195685, 120, 0, 0), -- 11736 (Area: 3257) +(@CGUID+892, 15476, 1, 1, 1, -7249.929, 1047.548, 4.675531, 0.9380395, 120, 0, 0), -- 15476 (Area: 3257) +(@CGUID+893, 11736, 1, 1, 1, -7307.063, 1040.131, 3.163528, 1.643525, 120, 0, 0), -- 11736 (Area: 3257) +(@CGUID+894, 11741, 1, 1, 1, -7358.581, 1042.64, 6.056972, 5.909752, 120, 0, 0), -- 11741 (Area: 3257) +(@CGUID+895, 11741, 1, 1, 1, -7241.424, 1118.003, 1.359726, 3.683017, 120, 0, 0), -- 11741 (Area: 3257) +(@CGUID+896, 11736, 1, 1, 1, -7277.052, 1151.444, 4.004738, 1.886692, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+897, 11736, 1, 1, 1, -7218.319, 1153.457, 2.258783, 1.419781, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+898, 15476, 1, 1, 1, -7215.833, 1158.195, 2.568603, 1.539557, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+899, 11736, 1, 1, 1, -7290.475, 1300.98, 3.556044, 2.30724, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+900, 11736, 1, 1, 1, -7323.167, 1255.188, 3.727894, 2.913184, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+901, 15476, 1, 1, 1, -7244.062, 1217.65, 2.516391, 0.1896552, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+902, 11736, 1, 1, 1, -7179.639, 1228.106, 5.583139, 0.9100823, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+903, 49840, 1, 1, 1, -7347.194, 1256.469, 2.102283, 4.860473, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+904, 11736, 1, 1, 1, -7187.51, 1308.474, 7.371143, 5.670575, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+905, 11741, 1, 1, 1, -7232.429, 1331.983, 4.77287, 1.140009, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+906, 11736, 1, 1, 1, -7347.695, 1282.92, 4.100202, 4.302437, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+907, 15475, 1, 1, 1, -7318.864, 1380.073, -2.398018, 5.994871, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+908, 11736, 1, 1, 1, -7326.564, 1374.023, -2.692023, 0.8092396, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+909, 15441, 1, 1, 1, -7169.733, 1405.132, 2.778323, 5.044002, 120, 0, 0), -- 15441 (Area: 0) +(@CGUID+910, 15441, 1, 1, 1, -7166.924, 1387.328, 3.002745, 1.361357, 120, 0, 0), -- 15441 (Area: 0) +(@CGUID+911, 11729, 1, 1, 1, -7294.03, 1419.81, 1.178668, 2.49874, 120, 0, 0), -- 11729 (Area: 0) +(@CGUID+912, 15441, 1, 1, 1, -7163.413, 1389.059, 2.892809, 2.879793, 120, 0, 0), -- 15441 (Area: 0) +(@CGUID+913, 15441, 1, 1, 1, -7178.135, 1390.418, 2.981064, 2.234021, 120, 0, 0), -- 15441 (Area: 0) +(@CGUID+914, 15442, 1, 1, 1, -7166.91, 1391.601, 2.991693, 5.131268, 120, 0, 0), -- 15442 (Area: 0) +(@CGUID+915, 15441, 1, 1, 1, -7164.139, 1391.242, 3.002746, 3.839724, 120, 0, 0), -- 15441 (Area: 0) +(@CGUID+916, 15441, 1, 1, 1, -7167.75, 1380.486, 3.00275, 2.024582, 120, 0, 0), -- 15441 (Area: 0) +(@CGUID+917, 15442, 1, 1, 1, -7164.314, 1387.005, 2.885211, 1.989675, 120, 0, 0), -- 15442 (Area: 0) +(@CGUID+918, 15442, 1, 1, 1, -7172.894, 1381.325, 3.00275, 1.937315, 120, 0, 0), -- 15442 (Area: 0) +(@CGUID+919, 15443, 1, 1, 1, -7178.561, 1392.075, 2.891632, 2.251475, 120, 0, 0), -- 15443 (Area: 0) +(@CGUID+920, 15444, 1, 1, 1, -7166.91, 1404.12, 2.969813, 3.281219, 120, 0, 0), -- 15444 (Area: 0) +(@CGUID+921, 11736, 1, 1, 1, -7246.969, 1416.971, -2.347212, 1.216739, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+922, 61319, 1, 1, 1, -7225.309, 1417.45, 3.790441, 3.805806, 120, 0, 0), -- 61319 (Area: 0) +(@CGUID+923, 61319, 1, 1, 1, -7241.867, 1470.76, -3.726816, 1.647701, 120, 5, 1), -- 61319 (Area: 2743) (possible waypoints or random movement) +(@CGUID+924, 15441, 1, 1, 1, -7164.271, 1403.142, 3.151643, 3.159046, 120, 0, 0), -- 15441 (Area: 2743) +(@CGUID+925, 11728, 1, 1, 1, -7265.797, 1463.999, -4.473615, 1.158427, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+926, 15903, 1, 1, 1, -7160.946, 1401.186, 3.258851, 4.101524, 120, 0, 0), -- 15903 (Area: 2743) +(@CGUID+927, 11725, 1, 1, 1, -7318.007, 1451.169, -5.034739, 3.188525, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+928, 11727, 1, 1, 1, -7257.686, 1513.71, -2.141973, 3.291291, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+929, 11727, 1, 1, 1, -7255.072, 1514.082, -5.683111, 3.057311, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+930, 11727, 1, 1, 1, -7259.905, 1513.392, -0.8866024, 3.313844, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+931, 11727, 1, 1, 1, -7251.455, 1541.006, -79.30762, 4.035978, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+932, 11727, 1, 1, 1, -7250.919, 1541.028, -79.3324, 2.444636, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+933, 15475, 1, 1, 1, -7259.485, 1558.144, -17.61174, 5.042746, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+934, 11727, 1, 1, 1, -7252.015, 1542.793, -79.11198, 0.4538879, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+935, 11727, 1, 1, 1, -7328.505, 1571.583, -11.13296, 2.993206, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+936, 11727, 1, 1, 1, -7294.681, 1613.905, -76.13383, 5.103651, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+937, 11727, 1, 1, 1, -7328.515, 1571.469, -11.13445, 2.906979, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+938, 11727, 1, 1, 1, -7295.222, 1608.353, -76.18317, 5.207277, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+939, 11727, 1, 1, 1, -7330.906, 1574.973, -11.37151, 2.895485, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+940, 11725, 1, 1, 1, -7240.344, 1616.6, -70.28735, 4.644557, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+941, 11727, 1, 1, 1, -7295.839, 1610.282, -76.18054, 5.313665, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+942, 11727, 1, 1, 1, -7334.41, 1572.581, -10.6634, 2.993932, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+943, 11727, 1, 1, 1, -7331.462, 1572.025, -10.89165, 2.955079, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+944, 11727, 1, 1, 1, -7292.526, 1610.009, -76.2911, 4.816312, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+945, 11728, 1, 1, 1, -7146.437, 1500.411, 4.135615, 1.641292, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+946, 11727, 1, 1, 1, -7294.362, 1615.596, -76.07001, 4.802213, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+947, 15475, 1, 1, 1, -7276.98, 1627.914, -31.29076, 3.21579, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+948, 11728, 1, 1, 1, -7250.03, 1647.594, -32.36115, 2.879182, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+949, 11729, 1, 1, 1, -7145.267, 1680.54, -5.519011, 4.995519, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+950, 11725, 1, 1, 1, -7244.49, 1673.119, -65.11414, 2.876684, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+951, 11728, 1, 1, 1, -7258.752, 1684.798, -65.76569, 5.85105, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+952, 11725, 1, 1, 1, -7249.082, 1723.473, -61.25952, 0.8323503, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+953, 11728, 1, 1, 1, -7318.897, 1652.179, -31.96109, 2.483469, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+954, 11727, 1, 1, 1, -7328.018, 1635.981, -77.10783, 0.69092, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+955, 61319, 1, 1, 1, -7323.296, 1626.756, -29.9376, 5.914544, 120, 5, 1), -- 61319 (Area: 2743) (possible waypoints or random movement) +(@CGUID+956, 11727, 1, 1, 1, -7329.71, 1632.538, -77.52409, 1.114122, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+957, 11727, 1, 1, 1, -7327.421, 1632.565, -77.49169, 0.8769658, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+958, 50897, 1, 1, 1, -7325.332, 1644.424, -31.58928, 3.150382, 120, 5, 1), -- 50897 (Area: 2743) (possible waypoints or random movement) +(@CGUID+959, 11727, 1, 1, 1, -7330.045, 1633.781, -77.49118, 1.245544, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+960, 15475, 1, 1, 1, -7250.956, 1723.994, -60.74769, 1.303693, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+961, 15475, 1, 1, 1, -7322.818, 1671.792, -36.80539, 5.601827, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+962, 11728, 1, 1, 1, -7227.487, 1794.085, -64.88515, 2.566864, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+963, 11725, 1, 1, 1, -7343.336, 1722.143, -92.99269, 6.074087, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+964, 15475, 1, 1, 1, -7220.778, 1794.998, -66.60868, 0.7359379, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+965, 11728, 1, 1, 1, -7346.64, 1688.802, -36.66872, 4.514097, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+966, 15475, 1, 1, 1, -7339.425, 1722.632, -93.02108, 6.021766, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+967, 11728, 1, 1, 1, -7322.908, 1729.747, -94.01192, 1.776793, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+968, 15475, 1, 1, 1, -7333.129, 1795.859, -84.9298, 4.854384, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+969, 11727, 1, 1, 1, -7297.181, 1833.85, -86.83583, 5.157227, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+970, 15475, 1, 1, 1, -7183.533, 1787.571, -78.67828, 3.355828, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+971, 15475, 1, 1, 1, -7240.221, 1813.695, -75.16336, 4.83179, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+972, 11727, 1, 1, 1, -7299.821, 1832.014, -87.17613, 4.950703, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+973, 15475, 1, 1, 1, -7353.072, 1776.161, -87.52277, 2.062865, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+974, 11727, 1, 1, 1, -7298.021, 1835.601, -87.00018, 6.278993, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+975, 11728, 1, 1, 1, -7399.567, 1757.837, -92.36756, 5.607787, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+976, 11725, 1, 1, 1, -7400.483, 1741.734, -92.93285, 4.52564, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+977, 15475, 1, 1, 1, -7363.197, 1709.954, -89.90794, 3.524805, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+978, 11727, 1, 1, 1, -7387.9, 1721.137, -36.72097, 3.585271, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+979, 11727, 1, 1, 1, -7296.634, 1835.818, -86.7964, 5.710849, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+980, 15475, 1, 1, 1, -7374.706, 1718.644, -91.42818, 1.387035, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+981, 11727, 1, 1, 1, -7384.492, 1719.998, -36.47097, 3.682545, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+982, 11727, 1, 1, 1, -7299.347, 1834.305, -87.28453, 5.334405, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+983, 11727, 1, 1, 1, -7386.449, 1724.302, -36.72097, 3.285204, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+984, 11727, 1, 1, 1, -7389.606, 1720.255, -36.5644, 3.52643, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+985, 15475, 1, 1, 1, -7333.446, 1843.557, -88.58925, 6.160915, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+986, 11725, 1, 1, 1, -7402.084, 1781.25, -36.42735, 3.204264, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+987, 11726, 1, 1, 1, -7375.528, 1703.545, -87.17935, 1.972417, 120, 0, 0), -- 11726 (Area: 2743) +(@CGUID+988, 15475, 1, 1, 1, -7318.037, 1829.379, -89.17596, 6.231742, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+989, 15475, 1, 1, 1, -7293.725, 1845.333, -86.07439, 0.176829, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+990, 15475, 1, 1, 1, -7403.003, 1738.812, -92.38245, 0.7943667, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+991, 15475, 1, 1, 1, -7372.23, 1692.362, -88.40175, 5.530878, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+992, 11727, 1, 1, 1, -7399.499, 1845.462, -29.15428, 3.148443, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+993, 15475, 1, 1, 1, -7403.153, 1714.084, -92.31022, 2.70794, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+994, 15475, 1, 1, 1, -7426.353, 1824.635, -101.1807, 0.2492537, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+995, 11727, 1, 1, 1, -7410.38, 1798.275, -99.1733, 1.893294, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+996, 11727, 1, 1, 1, -7402.084, 1847.858, -28.55254, 3.369467, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+997, 15475, 1, 1, 1, -7392.917, 1682.67, -92.66958, 4.225336, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+998, 11727, 1, 1, 1, -7413.351, 1796.107, -98.86583, 2.022332, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+999, 11727, 1, 1, 1, -7412.851, 1797.745, -98.53162, 2.054492, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1000, 15475, 1, 1, 1, -7431.118, 1792.729, -100.9781, 6.233713, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1001, 15475, 1, 1, 1, -7402.65, 1794.914, -101.0121, 3.623844, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1002, 61319, 1, 1, 1, -7426.572, 1746.875, -35.38214, 0, 120, 5, 1), -- 61319 (Area: 2743) (possible waypoints or random movement) +(@CGUID+1003, 11728, 1, 1, 1, -7408.451, 1744.622, -36.38212, 5.17822, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1004, 11725, 1, 1, 1, -7391.238, 1698.429, -92.17062, 2.613752, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+1005, 11727, 1, 1, 1, -7402.594, 1845.456, -29.43316, 3.137687, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1006, 11727, 1, 1, 1, -7414.961, 1795.259, -98.91984, 2.646583, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1007, 11727, 1, 1, 1, -7400.9, 1842.643, -29.90533, 3.251172, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1008, 11729, 1, 1, 1, -7369.466, 1670.57, -92.24157, 3.023068, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1009, 11727, 1, 1, 1, -7403.006, 1844.726, -29.65777, 2.86254, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1010, 11727, 1, 1, 1, -7414.646, 1799.31, -97.07935, 2.064052, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1011, 15610, 1, 1, 1, -7408.387, 1714.49, -91.45692, 0.1919862, 120, 0, 0), -- 15610 (Area: 2743) +(@CGUID+1012, 11729, 1, 1, 1, -7450.767, 1809.501, -62.19483, 5.170957, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1013, 11725, 1, 1, 1, -7452.738, 1737.409, -60.50797, 1.807088, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+1014, 11727, 1, 1, 1, -7329.577, 1870.552, -84.76801, 1.117896, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1015, 11727, 1, 1, 1, -7329.608, 1870.475, -84.77309, 1.184024, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1016, 11727, 1, 1, 1, -7331.762, 1867.477, -84.83752, 4.031686, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1017, 11728, 1, 1, 1, -7448.634, 1787.696, -66.84116, 2.39447, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1018, 15475, 1, 1, 1, -7327.283, 1874.28, -84.62704, 0.8752149, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1019, 11729, 1, 1, 1, -7479.197, 1836.724, -49.57183, 2.259218, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1020, 11727, 1, 1, 1, -7516.666, 1866.07, -58.10595, 1.155398, 120, 0, 0), -- 11727 (Area: 2743) (Auras: ) +(@CGUID+1021, 11727, 1, 1, 1, -7519.239, 1866.385, -58.8639, 1.943047, 120, 0, 0), -- 11727 (Area: 2743) (Auras: ) +(@CGUID+1022, 11727, 1, 1, 1, -7518.559, 1861.694, -57.34179, 4.346897, 120, 0, 0), -- 11727 (Area: 2743) (Auras: ) +(@CGUID+1023, 14474, 1, 1, 1, -7499.134, 1928.74, -56.19435, 1.740836, 120, 5, 1), -- 14474 (Area: 2743) (possible waypoints or random movement) +(@CGUID+1024, 11727, 1, 1, 1, -7518.064, 1863.257, -57.77958, 1.070101, 120, 0, 0), -- 11727 (Area: 2743) (Auras: ) +(@CGUID+1025, 11727, 1, 1, 1, -7520.543, 1863.238, -58.0087, 1.779597, 120, 0, 0), -- 11727 (Area: 2743) (Auras: ) +(@CGUID+1026, 11729, 1, 1, 1, -7451.077, 1707.943, -28.77368, 4.066935, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1027, 11729, 1, 1, 1, -7529.896, 1743.004, 4.26292, 5.789548, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1028, 11725, 1, 1, 1, -7438.389, 1678.696, -92.48615, 4.74755, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+1029, 15475, 1, 1, 1, -7407.135, 1683.068, -34.71369, 2.991627, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1030, 11729, 1, 1, 1, -7529.17, 1727.405, -36.51574, 6.074208, 120, 0, 0), -- 11729 (Area: 2743) (Auras: ) +(@CGUID+1031, 11729, 1, 1, 1, -7419.466, 1688.294, -92.91623, 3.734775, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1032, 11726, 1, 1, 1, -7540.158, 1712.335, -36.45731, 4.015792, 120, 0, 0), -- 11726 (Area: 2743) (Auras: ) +(@CGUID+1033, 11728, 1, 1, 1, -7415.418, 1684.449, -35.97362, 1.576656, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1034, 15475, 1, 1, 1, -7410.859, 1690.295, -92.69666, 3.870895, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1035, 11725, 1, 1, 1, -7387.061, 1637.483, -76.67496, 1.52232, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+1036, 11729, 1, 1, 1, -7377.785, 1653.881, -33.10888, 4.733519, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1037, 15475, 1, 1, 1, -7369.903, 1663.538, -93.0795, 6.189296, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1038, 11729, 1, 1, 1, -7365.031, 1650.448, -92.47849, 1.789465, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1039, 15475, 1, 1, 1, -7393.271, 1649.587, -82.30118, 4.831683, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1040, 15475, 1, 1, 1, -7386.495, 1630.212, -78.3772, 5.114215, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1041, 11728, 1, 1, 1, -7444.87, 1637.839, -36.12154, 1.02221, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1042, 15475, 1, 1, 1, -7427.287, 1624.555, -38.22139, 4.425235, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1043, 15475, 1, 1, 1, -7397.103, 1612.143, -78.23809, 2.771056, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1044, 11725, 1, 1, 1, -7346.225, 1616.012, -28.00517, 2.478368, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+1045, 11729, 1, 1, 1, -7438.333, 1613.836, -43.12502, 1.943664, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1046, 11725, 1, 1, 1, -7468.6, 1603.621, -50.82863, 0.08906198, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+1047, 15475, 1, 1, 1, -7478.965, 1589.58, -53.05403, 0.2807787, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1048, 15475, 1, 1, 1, -7486.82, 1579.537, -54.69869, 2.875738, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1049, 15475, 1, 1, 1, -7382.656, 1578.9, -80.00961, 1.674987, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1050, 15475, 1, 1, 1, -7477.638, 1587.097, -52.94842, 0.02186989, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1051, 15475, 1, 1, 1, -7482.508, 1587.406, -53.50793, 5.110242, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1052, 15475, 1, 1, 1, -7392.809, 1567.908, -80.26364, 3.860542, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1053, 15475, 1, 1, 1, -7527.099, 1543.45, -57.54208, 6.217928, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1054, 15475, 1, 1, 1, -7556.804, 1578.953, -67.23759, 2.321755, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1055, 15475, 1, 1, 1, -7548.363, 1555.33, -66.78846, 3.669988, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1056, 15475, 1, 1, 1, -7541.685, 1589.46, -70.53853, 5.636128, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1057, 15475, 1, 1, 1, -7506.046, 1547.48, -56.05976, 3.153283, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1058, 15475, 1, 1, 1, -7559.573, 1599.292, -68.87349, 6.209721, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1059, 15475, 1, 1, 1, -7496.869, 1561.018, -56.40012, 1.357909, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1060, 11727, 1, 1, 1, -7573.267, 1588.519, 4.799456, 2.439464, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1061, 11727, 1, 1, 1, -7577.211, 1591.856, 4.274032, 2.359172, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1062, 15475, 1, 1, 1, -7522.085, 1518.094, -64.43518, 3.098075, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1063, 15475, 1, 1, 1, -7575.194, 1594.258, -67.55926, 5.939515, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1064, 15475, 1, 1, 1, -7544.366, 1496.674, -70.59941, 3.735178, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1065, 11727, 1, 1, 1, -7574.921, 1589.919, 4.629745, 2.439552, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1066, 15475, 1, 1, 1, -7508.685, 1450.255, -81.83694, 1.083004, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1067, 11725, 1, 1, 1, -7545.623, 1477.801, 3.622764, 5.997905, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+1068, 15475, 1, 1, 1, -7569.485, 1483.21, 3.093459, 3.515213, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1069, 15475, 1, 1, 1, -7533.751, 1459.366, -79.58582, 2.919694, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1070, 11728, 1, 1, 1, -7582.514, 1513.419, 3.322368, 2.521911, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1071, 11728, 1, 1, 1, -7425.577, 1491.462, -2.83227, 3.786449, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1072, 15475, 1, 1, 1, -7563.823, 1482.725, -69.37743, 0.5365942, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1073, 15475, 1, 1, 1, -7497.25, 1428.792, -81.77849, 4.904404, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1074, 11729, 1, 1, 1, -7513.585, 1443.374, 3.234963, 3.149405, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1075, 15475, 1, 1, 1, -7522.926, 1445.87, 4.89096, 4.808267, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1076, 15475, 1, 1, 1, -7475.265, 1425.458, -91.86857, 5.308868, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1077, 15475, 1, 1, 1, -7533.68, 1389.586, -94.13293, 5.248159, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1078, 15475, 1, 1, 1, -7559.311, 1398.346, -93.0035, 3.782284, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1079, 15475, 1, 1, 1, -7511.901, 1405.554, -93.60706, 5.844059, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1080, 15475, 1, 1, 1, -7560.204, 1378.926, -87.82621, 5.46195, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1081, 11727, 1, 1, 1, -7466.617, 1449.146, 5.510873, 3.162251, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1082, 15475, 1, 1, 1, -7462.458, 1370.519, -79.30489, 1.109429, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1083, 15475, 1, 1, 1, -7440.117, 1405.547, -88.26394, 2.637027, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1084, 15475, 1, 1, 1, -7457.949, 1406.146, -92.87181, 2.963657, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1085, 11727, 1, 1, 1, -7468.261, 1451.706, 5.915564, 3.119934, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1086, 11727, 1, 1, 1, -7468.484, 1451.606, 5.916606, 3.082115, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1087, 15475, 1, 1, 1, -7540.786, 1364.678, -93.12327, 3.289259, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1088, 15475, 1, 1, 1, -7456.6, 1417.979, 2.821263, 1.739475, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1089, 15475, 1, 1, 1, -7442.919, 1355.405, -84.83454, 0.2777306, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1090, 15475, 1, 1, 1, -7430.896, 1377.477, -84.22125, 0.2890868, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1091, 15476, 1, 1, 1, -7551.822, 1350.712, 1.328681, 0.02636108, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1092, 11737, 1, 1, 1, -7558.729, 1411.735, 2.796468, 0.08216753, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1093, 15475, 1, 1, 1, -7457.907, 1320.77, -86.28762, 5.84694, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1094, 15475, 1, 1, 1, -7423.179, 1358.534, -85.05221, 0.3638897, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1095, 11727, 1, 1, 1, -7468.98, 1450.522, 5.631384, 0.3651272, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1096, 15475, 1, 1, 1, -7399.261, 1378.221, -89.10112, 2.586978, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1097, 15475, 1, 1, 1, -7437.681, 1334.949, -88.03584, 1.482781, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1098, 15475, 1, 1, 1, -7402.696, 1388.152, 5.434777, 2.936449, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1099, 15475, 1, 1, 1, -7418.754, 1319.901, -91.09369, 5.306272, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1100, 15475, 1, 1, 1, -7432.949, 1264.074, -86.25517, 1.815315, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1101, 49727, 1, 1, 1, -7474.602, 1349.153, 3.688443, 3.142569, 120, 5, 1), -- 49727 (Area: 2743) (possible waypoints or random movement) +(@CGUID+1102, 15475, 1, 1, 1, -7454.44, 1281.766, -86.52577, 2.983873, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1103, 15475, 1, 1, 1, -7436.573, 1296.096, -91.77731, 5.221788, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1104, 15475, 1, 1, 1, -7381.192, 1277.792, -85.30595, 4.404307, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1105, 11741, 1, 1, 1, -7417.625, 1349.309, 1.811659, 1.128586, 120, 0, 0), -- 11741 (Area: 2743) +(@CGUID+1106, 15475, 1, 1, 1, -7379.142, 1254.915, -84.65481, 5.675102, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1107, 15475, 1, 1, 1, -7428.304, 1235.72, -82.528, 5.716414, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1108, 50745, 1, 1, 1, -7393.876, 1262.85, -86.8569, 3.920731, 120, 5, 1), -- 50745 (Area: 0) (possible waypoints or random movement) +(@CGUID+1109, 11745, 1, 1, 1, -7433.115, 1300.713, 3.359399, 1.17578, 120, 0, 0), -- 11745 (Area: 0) +(@CGUID+1110, 49835, 1, 1, 1, -7428.321, 1298.152, 4.218094, 5.5967, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1111, 15475, 1, 1, 1, -7413.73, 1215.14, -75.42882, 1.237101, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1112, 15475, 1, 1, 1, -7384.509, 1232.661, -82.39168, 3.19558, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1113, 11741, 1, 1, 1, -7432.106, 1218.323, 2.481033, 3.154288, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1114, 11736, 1, 1, 1, -7475.741, 1245.983, 0.4118078, 3.215861, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1115, 11741, 1, 1, 1, -7478.283, 1312.728, 1.980595, 5.090008, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1116, 11727, 1, 1, 1, -7373.242, 1560.174, -80.37903, 0.7099838, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1117, 11726, 1, 1, 1, -7398.471, 1659.614, -89.4611, 5.065865, 120, 0, 0), -- 11726 (Area: 2743) +(@CGUID+1118, 11727, 1, 1, 1, -7373.354, 1560.187, -80.31581, 6.166378, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1119, 15475, 1, 1, 1, -7378.027, 1555.862, -80.52341, 5.01487, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1120, 11727, 1, 1, 1, -7373.224, 1560.149, -80.38253, 5.327879, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1121, 15475, 1, 1, 1, -7371.341, 1573.293, -80.3501, 4.815888, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1122, 15475, 1, 1, 1, -7304.611, 1875.743, -84.85643, 0.5185449, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1123, 15475, 1, 1, 1, -7221.644, 1862.605, -80.29771, 5.171955, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1124, 11729, 1, 1, 1, -7238.443, 1855.998, -84.17818, 4.119838, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1125, 11726, 1, 1, 1, -7224.785, 1792.5, -65.57305, 3.160201, 120, 0, 0), -- 11726 (Area: 2743) +(@CGUID+1126, 15475, 1, 1, 1, -7236.716, 1854.54, -83.49272, 2.109203, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1127, 11727, 1, 1, 1, -7169.493, 1787.131, -79.03831, 1.106249, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1128, 11727, 1, 1, 1, -7168.026, 1790.058, -79.50594, 0.6670945, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1129, 11727, 1, 1, 1, -7170.124, 1788.861, -79.96386, 0.6991848, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1130, 15475, 1, 1, 1, -7154.164, 1777.553, -79.56756, 2.231589, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1131, 15475, 1, 1, 1, -7151.324, 1801.54, -80.77872, 6.218497, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1132, 11727, 1, 1, 1, -7163.673, 1809.366, 8.026083, 3.545743, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1133, 11727, 1, 1, 1, -7161.194, 1804.956, 6.860908, 3.739253, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1134, 11727, 1, 1, 1, -7163.903, 1806.354, 6.964804, 3.642045, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1135, 11727, 1, 1, 1, -7166.535, 1804.914, 6.205404, 3.637182, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1136, 11728, 1, 1, 1, -7573.138, 1767.901, -43.181, 4.468615, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1137, 11728, 1, 1, 1, -7553.47, 1742.587, -36.86415, 5.0027, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1138, 11729, 1, 1, 1, -7570.963, 1728.171, -33.98584, 1.606536, 120, 0, 0), -- 11729 (Area: 2743) (Auras: ) +(@CGUID+1139, 11727, 1, 1, 1, -7609.439, 1771.611, -39.14836, 3.000096, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1140, 11727, 1, 1, 1, -7606.163, 1771.512, -40.2504, 1.985071, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1141, 11727, 1, 1, 1, -7608.845, 1772.827, -39.44336, 2.432737, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1142, 11725, 1, 1, 1, -7624.161, 1724.963, -34.42591, 1.179832, 120, 0, 0), -- 11725 (Area: 2743) (Auras: ) +(@CGUID+1143, 11728, 1, 1, 1, -7566.153, 1672.633, -38.15982, 1.875116, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1144, 11727, 1, 1, 1, -7606.975, 1775.215, -39.71637, 2.094321, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1145, 11725, 1, 1, 1, -7577.714, 1686.118, -34.95931, 1.02735, 120, 0, 0), -- 11725 (Area: 2743) +(@CGUID+1146, 11726, 1, 1, 1, -7625.395, 1764.216, -40.18081, 0.8757122, 120, 0, 0), -- 11726 (Area: 2743) +(@CGUID+1147, 11728, 1, 1, 1, -7644.832, 1736.525, -34.70551, 0.48888, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1148, 11728, 1, 1, 1, -7634.475, 1689.723, -30.8609, 5.256248, 120, 0, 0), -- 11728 (Area: 2743) +(@CGUID+1149, 11729, 1, 1, 1, -7649.562, 1672.371, -33.2514, 2.7154, 120, 0, 0), -- 11729 (Area: 2743) +(@CGUID+1150, 15476, 1, 1, 1, -7667.782, 1603.733, 1.482882, 5.374631, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1151, 11739, 1, 1, 1, -7707.552, 1626.664, 6.159113, 3.981182, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1152, 11739, 1, 1, 1, -7729.014, 1698.339, 5.818029, 4.52127, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1153, 11725, 1, 1, 1, -7599.866, 1812.333, -40.69313, 5.858893, 120, 0, 0), -- 11725 (Area: 0) (Auras: ) +(@CGUID+1154, 11728, 1, 1, 1, -7573.303, 1831.068, -48.28037, 3.391206, 120, 0, 0), -- 11728 (Area: 2743) (Auras: ) +(@CGUID+1155, 11727, 1, 1, 1, -7552.706, 1903.915, -62.84489, 3.29947, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1156, 11727, 1, 1, 1, -7553.075, 1908.397, -62.70751, 2.171892, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1157, 11727, 1, 1, 1, -7552.681, 1907.427, -62.70304, 1.95639, 120, 0, 0), -- 11727 (Area: 2743) (Auras: ) +(@CGUID+1158, 11727, 1, 1, 1, -7553.273, 1907.243, -62.69984, 1.400369, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1159, 11726, 1, 1, 1, -7523.687, 1913.503, -55.85861, 2.276172, 120, 0, 0), -- 11726 (Area: 2743) +(@CGUID+1160, 11727, 1, 1, 1, -7512.836, 1933.118, -57.02992, 5.012733, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1161, 11727, 1, 1, 1, -7512.922, 1932.109, -57.04282, 4.508638, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1162, 11727, 1, 1, 1, -7516.072, 1933.325, -56.88907, 4.151471, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1163, 11727, 1, 1, 1, -7515.921, 1935.746, -56.7394, 4.142426, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1164, 15475, 1, 1, 1, -7409.542, 1453.348, 6.490696, 2.220962, 120, 0, 0), -- 15475 (Area: 2743) +(@CGUID+1165, 11727, 1, 1, 1, -7385.59, 1435.544, 5.49418, 4.673069, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1166, 11727, 1, 1, 1, -7383.082, 1440.094, 4.90165, 4.789875, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1167, 11727, 1, 1, 1, -7388.285, 1440.751, 5.525918, 4.727774, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1168, 11727, 1, 1, 1, -7385.649, 1438.543, 5.352765, 4.732153, 120, 0, 0), -- 11727 (Area: 2743) +(@CGUID+1169, 11741, 1, 1, 1, -7384.007, 1382.543, 4.949052, 4.211641, 120, 0, 0), -- 11741 (Area: 2743) +(@CGUID+1170, 62186, 1, 1, 1, -7369.867, 1318.67, 4.1883, 0.008788836, 120, 0, 0), -- 62186 (Area: 2743) +(@CGUID+1171, 11741, 1, 1, 1, -7368.7, 1182.604, 2.803864, 1.152572, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1172, 11741, 1, 1, 1, -7369.23, 1208.626, -0.7707515, 2.64474, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1173, 15476, 1, 1, 1, -7339.208, 1141.597, 0.0851047, 1.599232, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1174, 11736, 1, 1, 1, -7382.206, 1116.953, 3.115171, 2.131784, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1175, 15476, 1, 1, 1, -7416.205, 1056.786, 5.401401, 0.6004159, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1176, 11741, 1, 1, 1, -7418.231, 970.6569, 3.888798, 0.3665428, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1177, 15476, 1, 1, 1, -7426.44, 954.6785, 0.7683208, 2.501605, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1178, 11736, 1, 1, 1, -7366.254, 833.4605, 6.274082, 0.7617154, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1179, 15476, 1, 1, 1, -7395.982, 884.15, -0.549574, 0.003418038, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1180, 11741, 1, 1, 1, -7369.854, 777.791, 1.516752, 0.09481291, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1181, 11741, 1, 1, 1, -7365.786, 709.9532, -1.998208, 6.008405, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1182, 61326, 1, 1, 1, -7380.236, 676.7148, -8.144591, 5.213606, 120, 0, 0), -- 61326 (Area: 0) +(@CGUID+1183, 11736, 1, 1, 1, -7388.063, 652.2593, -9.414929, 0.005859308, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1184, 11736, 1, 1, 1, -7448.056, 617.4593, -16.0993, 2.271627, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1185, 11736, 1, 1, 1, -7415.208, 548.8002, -4.531812, 5.061119, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1186, 11741, 1, 1, 1, -7379.052, 503.9951, 0.04987979, 2.060639, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1187, 49840, 1, 1, 1, -7408.57, 514.838, -2.162957, 6.118358, 120, 0, 0), -- 49840 (Area: 0) +(@CGUID+1188, 11736, 1, 1, 1, -7380.447, 449.2545, 3.747309, 2.992789, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1189, 15476, 1, 1, 1, -7407.321, 442.8011, 1.517708, 3.333065, 120, 0, 0), -- 15476 (Area: 2738) +(@CGUID+1190, 49835, 1, 1, 1, -7448.548, 492.5451, -7.970059, 4.673347, 120, 5, 1), -- 49835 (Area: 2738) (possible waypoints or random movement) +(@CGUID+1191, 11736, 1, 1, 1, -7419.588, 455.4406, -0.6341472, 2.219552, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+1192, 11745, 1, 1, 1, -7445.118, 494.9844, -7.568889, 4.645951, 120, 0, 0), -- 11745 (Area: 2738) +(@CGUID+1193, 15475, 1, 1, 1, -7450.421, 516.5474, -11.23443, 3.874715, 120, 0, 0), -- 15475 (Area: 2738) +(@CGUID+1194, 49840, 1, 1, 1, -7416.048, 383.5047, 0.9955492, 5.637731, 120, 0, 0), -- 49840 (Area: 2738) +(@CGUID+1195, 11736, 1, 1, 1, -7454.126, 414.8618, -2.425965, 4.757369, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+1196, 11741, 1, 1, 1, -7418.648, 359.5174, 2.813438, 4.687004, 120, 0, 0), -- 11741 (Area: 2738) +(@CGUID+1197, 15476, 1, 1, 1, -7385.217, 312.5521, 4.822127, 1.56689, 120, 0, 0), -- 15476 (Area: 2738) +(@CGUID+1198, 11736, 1, 1, 1, -7386.951, 309.3878, 5.492904, 0.505581, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+1199, 49840, 1, 1, 1, -7428.677, 330.592, 9.100734, 0.9757516, 120, 0, 0), -- 49840 (Area: 2738) +(@CGUID+1200, 11736, 1, 1, 1, -7383.62, 258.0906, 6.492635, 3.263039, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+1201, 11741, 1, 1, 1, -7419.441, 269.7019, 6.243218, 1.115882, 120, 0, 0), -- 11741 (Area: 2738) +(@CGUID+1202, 49727, 1, 1, 1, -7481.018, 323.7891, 5.133225, 1.531754, 120, 0, 0), -- 49727 (Area: 2738) +(@CGUID+1203, 11736, 1, 1, 1, -7495.404, 353.8008, -0.4004378, 2.076377, 120, 0, 0), -- 11736 (Area: 2738) +(@CGUID+1204, 11739, 1, 1, 1, -7518.993, 316.817, -1.88063, 1.937999, 120, 0, 0), -- 11739 (Area: 2738) +(@CGUID+1205, 49835, 1, 1, 1, -7478.714, 361.9864, -4.124379, 4.65765, 120, 0, 0), -- 49835 (Area: 2738) +(@CGUID+1206, 11741, 1, 1, 1, -7517.948, 391.3738, -12.20625, 4.855391, 120, 0, 0), -- 11741 (Area: 2744) +(@CGUID+1207, 15476, 1, 1, 1, -7539.661, 390.6355, -15.06739, 5.555973, 120, 0, 0), -- 15476 (Area: 2744) +(@CGUID+1208, 11737, 1, 1, 1, -7543.14, 331.6776, -0.8766508, 3.984874, 120, 0, 0), -- 11737 (Area: 2744) +(@CGUID+1209, 15476, 1, 1, 1, -7459.518, 428.2471, -6.519007, 2.260785, 120, 0, 0), -- 15476 (Area: 2744) +(@CGUID+1210, 15475, 1, 1, 1, -7579.879, 416.5094, -35.92474, 2.455729, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1211, 11736, 1, 1, 1, -7474.115, 476.1091, -7.289809, 0.5641487, 120, 0, 0), -- 11736 (Area: 2744) +(@CGUID+1212, 11736, 1, 1, 1, -7473.97, 507.5242, -9.433195, 3.864369, 120, 0, 0), -- 11736 (Area: 2744) +(@CGUID+1213, 15475, 1, 1, 1, -7476.893, 644.8926, -15.97452, 1.599417, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1214, 11741, 1, 1, 1, -7460.423, 654.7398, -18.09365, 0.09189505, 120, 0, 0), -- 11741 (Area: 2744) +(@CGUID+1215, 61319, 1, 1, 1, -7548.625, 645.1035, -47.98377, 5.461891, 120, 5, 1), -- 61319 (Area: 2744) (possible waypoints or random movement) +(@CGUID+1216, 49840, 1, 1, 1, -7467.682, 699.2647, -18.36088, 0.3322505, 120, 0, 0), -- 49840 (Area: 2744) +(@CGUID+1217, 15616, 1, 1, 1, -7541.548, 724.9285, -15.58798, 4.764749, 120, 0, 0), -- 15616 (Area: 2744) +(@CGUID+1218, 15612, 1, 1, 1, -7547.941, 718.819, -16.25116, 4.660029, 120, 0, 0), -- 15612 (Area: 2744) +(@CGUID+1219, 15613, 1, 1, 1, -7537.146, 731.184, -16.4908, 2.792527, 120, 0, 0), -- 15613 (Area: 2744) (Auras: 15507 - 15507) +(@CGUID+1220, 15616, 1, 1, 1, -7554.113, 724.9603, -16.61872, 4.956735, 120, 0, 0), -- 15616 (Area: 2744) +(@CGUID+1221, 15475, 1, 1, 1, -7501.187, 745.5018, -15.27101, 3.622706, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1222, 15617, 1, 1, 1, -7555.18, 740.3497, -17.2775, 1.32645, 120, 0, 0), -- 15617 (Area: 2744) +(@CGUID+1223, 15617, 1, 1, 1, -7552.726, 740.4077, -17.44747, 2.303835, 120, 0, 0), -- 15617 (Area: 2744) +(@CGUID+1224, 15616, 1, 1, 1, -7549.97, 724.9939, -16.40965, 4.886922, 120, 0, 0), -- 15616 (Area: 2744) +(@CGUID+1225, 15617, 1, 1, 1, -7551.561, 744.4816, -17.87038, 3.665191, 120, 0, 0), -- 15617 (Area: 2744) +(@CGUID+1226, 15616, 1, 1, 1, -7545.832, 724.9579, -15.91217, 4.834562, 120, 0, 0), -- 15616 (Area: 2744) +(@CGUID+1227, 15617, 1, 1, 1, -7551.304, 742.0519, -17.66773, 3.01942, 120, 0, 0), -- 15617 (Area: 2744) +(@CGUID+1228, 15615, 1, 1, 1, -7556.597, 749.007, -17.57885, 5.61996, 120, 0, 0), -- 15615 (Area: 2744) +(@CGUID+1229, 49835, 1, 1, 1, -7462.125, 810.3049, -8.705461, 6.003931, 120, 5, 1), -- 49835 (Area: 2744) (possible waypoints or random movement) +(@CGUID+1230, 11736, 1, 1, 1, -7483.444, 787.4015, -7.426351, 4.749588, 120, 0, 0), -- 11736 (Area: 2744) +(@CGUID+1231, 15617, 1, 1, 1, -7554.27, 746.032, -17.66288, 4.625123, 120, 0, 0), -- 15617 (Area: 2744) +(@CGUID+1232, 15617, 1, 1, 1, -7556.749, 744.3583, -17.41065, 5.689773, 120, 0, 0), -- 15617 (Area: 2744) +(@CGUID+1233, 15617, 1, 1, 1, -7556.874, 741.6298, -17.25734, 0.5235988, 120, 0, 0), -- 15617 (Area: 2744) +(@CGUID+1234, 18199, 1, 1, 1, -7568.768, 763.3789, -17.59844, 5.916666, 120, 0, 0), -- 18199 (Area: 2744) +(@CGUID+1235, 17070, 1, 1, 1, -7576.718, 769.7371, -17.49968, 4.904375, 120, 0, 0), -- 17070 (Area: 0) +(@CGUID+1236, 11737, 1, 1, 1, -7548.128, 812.6785, -9.887871, 5.545436, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1237, 17079, 1, 1, 1, -7573.792, 769.7025, -17.66006, 4.468043, 120, 0, 0), -- 17079 (Area: 0) +(@CGUID+1238, 11736, 1, 1, 1, -7449.365, 843.6752, -3.950167, 3.087932, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1239, 11739, 1, 1, 1, -7517.946, 829.7079, -6.87007, 1.615732, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1240, 11739, 1, 1, 1, -7570.313, 779.6875, -17.87974, 5.994253, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1241, 11737, 1, 1, 1, -7583.454, 828.3348, -8.984705, 4.857463, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1242, 11736, 1, 1, 1, -7481.192, 890.3765, 4.654117, 5.141085, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1243, 61326, 1, 1, 1, -7526.601, 874.149, 0.0356915, 5.90431, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+1244, 11739, 1, 1, 1, -7634.742, 888.6277, -1.936299, 2.866725, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1245, 15476, 1, 1, 1, -7625.396, 853.6589, -6.590764, 3.226681, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1246, 15475, 1, 1, 1, -7677.321, 840.9416, -8.780353, 4.792531, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1247, 61326, 1, 1, 1, -7617.767, 955.0209, 0.4662757, 3.537818, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+1248, 15475, 1, 1, 1, -7622.055, 780.6148, -17.96325, 0.2790588, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1249, 49727, 1, 1, 1, -7632.415, 945.2743, 1.539731, 0.433975, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+1250, 11732, 1, 1, 1, -7655.932, 809.6332, -12.11143, 1.265114, 120, 0, 0), -- 11732 (Area: 0) +(@CGUID+1251, 61326, 1, 1, 1, -7709.125, 919.5732, -1.113389, 0, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+1252, 11739, 1, 1, 1, -7719.816, 898.6367, -4.114522, 1.41785, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1253, 11737, 1, 1, 1, -7762.183, 920.7881, -3.768472, 5.794205, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1254, 49727, 1, 1, 1, -7789.234, 940.1612, -0.2157488, 1.289814, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+1255, 15475, 1, 1, 1, -7790.056, 853.9008, -5.272793, 5.30456, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1256, 11739, 1, 1, 1, -7817.006, 871.4277, -3.941137, 5.11394, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1257, 11737, 1, 1, 1, -7783.162, 977.8389, -2.906708, 6.26216, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1258, 11739, 1, 1, 1, -7841.719, 923.3723, -0.4396729, 3.424634, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1259, 15476, 1, 1, 1, -7753.531, 983.1171, -2.733984, 6.236052, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1260, 11739, 1, 1, 1, -7878.447, 874.0321, -1.557899, 5.070136, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1261, 11732, 1, 1, 1, -7862.221, 813.0977, -8.709326, 6.244541, 120, 0, 0), -- 11732 (Area: 0) +(@CGUID+1262, 15475, 1, 1, 1, -7877.633, 851.5571, -3.002586, 0.5205039, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1263, 15476, 1, 1, 1, -7889.598, 941.574, 1.314615, 5.309683, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1264, 11739, 1, 1, 1, -7887.805, 970.3204, 2.732831, 5.465318, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1265, 11737, 1, 1, 1, -7915.536, 927.2502, -0.7116926, 4.84365, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1266, 11739, 1, 1, 1, -7944.842, 887.6786, 2.373381, 3.319708, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1267, 15476, 1, 1, 1, -7953.197, 915.5362, 2.452636, 3.347227, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1268, 11739, 1, 1, 1, -7953.098, 924.7367, 1.886962, 4.626328, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1269, 61326, 1, 1, 1, -7949.321, 989.1465, 3.538225, 0.7044941, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+1270, 61319, 1, 1, 1, -7987.879, 850.0178, 1.760659, 5.263532, 120, 5, 1), -- 61319 (Area: 0) (possible waypoints or random movement) +(@CGUID+1271, 11737, 1, 1, 1, -7926.342, 1021.692, 0.5871595, 2.266285, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1272, 11733, 1, 1, 1, -8023.864, 807.5069, 4.327849, 4.230606, 120, 0, 0), -- 11733 (Area: 0) +(@CGUID+1273, 61319, 1, 1, 1, -8044.316, 781.4317, 3.785641, 4.816984, 120, 5, 1), -- 61319 (Area: 0) (possible waypoints or random movement) +(@CGUID+1274, 11734, 1, 1, 1, -8039.028, 776.9641, 4.044074, 2.536761, 120, 0, 0), -- 11734 (Area: 0) +(@CGUID+1275, 11732, 1, 1, 1, -8042.539, 715.8302, -62.95652, 0.3244068, 120, 0, 0), -- 11732 (Area: 2744) (Auras: ) +(@CGUID+1276, 15475, 1, 1, 1, -8069.759, 713.682, -69.78903, 4.155725, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1277, 11732, 1, 1, 1, -8028.254, 720.3295, 6.010507, 5.077007, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1278, 15475, 1, 1, 1, -8045.512, 715.4339, 5.825208, 3.548806, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1279, 15475, 1, 1, 1, -8041.874, 708.0649, -64.14774, 1.494697, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1280, 15475, 1, 1, 1, -8035.477, 726.8752, -60.48296, 0.6308614, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1281, 15475, 1, 1, 1, -7968.724, 670.6017, -57.34699, 2.156989, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1282, 15475, 1, 1, 1, -7937.08, 680.606, -58.04412, 0.6419275, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1283, 11733, 1, 1, 1, -8015.745, 670.5589, -11.71291, 5.1874, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1284, 11733, 1, 1, 1, -7940.723, 680.2781, -57.78724, 2.323623, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1285, 15475, 1, 1, 1, -8098.375, 698.2061, -71.39704, 2.168474, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1286, 11730, 1, 1, 1, -8009.933, 658.2402, -44.19463, 4.165068, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1287, 15475, 1, 1, 1, -8008.829, 658.537, -44.43544, 6.215656, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1288, 11734, 1, 1, 1, -7984.867, 655.9121, -20.17009, 2.065002, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1289, 15475, 1, 1, 1, -7988.414, 672.5422, -56.40878, 3.449308, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1290, 15475, 1, 1, 1, -8027.404, 671.1618, -52.37159, 1.304249, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1291, 11733, 1, 1, 1, -8118.146, 698.5635, -70.87457, 3.093183, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1292, 11732, 1, 1, 1, -7947.607, 658.2148, -58.85859, 1.261382, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1293, 15475, 1, 1, 1, -8110.406, 760.5687, -84.87537, 2.7414, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1294, 15475, 1, 1, 1, -8118.35, 698.2426, -70.78448, 3.665163, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1295, 15475, 1, 1, 1, -8002.938, 628.1581, -44.40715, 0.6146359, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1296, 15475, 1, 1, 1, -8129.346, 780.5912, -77.92548, 1.665606, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1297, 15475, 1, 1, 1, -8132.802, 730.462, -83.22457, 3.501547, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1298, 11734, 1, 1, 1, -8128.022, 748.7125, -85.34801, 3.22458, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1299, 11732, 1, 1, 1, -8112.163, 771.4436, -84.78284, 0.756685, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1300, 15476, 1, 1, 1, -7883.975, 1017.19, 5.519141, 6.277326, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1301, 15222, 1, 1, 1, -8021.58, 1099.492, 4.82093, 2.775074, 120, 0, 0), -- 15222 (Area: 0) +(@CGUID+1302, 61326, 1, 1, 1, -7974.464, 1115.277, -1.668772, 2.25016, 120, 5, 1), -- 61326 (Area: 0) (possible waypoints or random movement) +(@CGUID+1303, 15170, 1, 1, 1, -8013.063, 1099.647, 4.718851, 0.8552113, 120, 0, 0), -- 15170 (Area: 0) +(@CGUID+1304, 15171, 1, 1, 1, -8022.499, 1115.789, 2.833622, 6.213372, 120, 0, 0), -- 15171 (Area: 0) +(@CGUID+1305, 15172, 1, 1, 1, -8018.27, 1103.034, 4.643206, 0.454004, 120, 0, 0), -- 15172 (Area: 0) +(@CGUID+1306, 11739, 1, 1, 1, -7881.557, 1053.915, -0.8524712, 1.121634, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1307, 15476, 1, 1, 1, -7883.431, 1052.745, -0.5790457, 1.663238, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1308, 15221, 1, 1, 1, -8029.796, 1122.732, 3.311024, 1.43117, 120, 0, 0), -- 15221 (Area: 0) +(@CGUID+1309, 62186, 1, 1, 1, -8063.665, 1099.736, 8.583473, 4.161757, 120, 0, 0), -- 62186 (Area: 0) +(@CGUID+1310, 11739, 1, 1, 1, -7983.659, 1155.392, -1.634004, 0.1539114, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1311, 11739, 1, 1, 1, -7900.588, 1122.84, 5.724159, 3.924921, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1312, 11737, 1, 1, 1, -7951.396, 1220.298, -2.140133, 4.965188, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1313, 49835, 1, 1, 1, -7970.111, 1206.629, -0.9736269, 2.210129, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1314, 49835, 1, 1, 1, -7890.759, 1145.857, 0.6085722, 1.743489, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1315, 49840, 1, 1, 1, -7950.046, 1250.252, -2.166952, 1.486682, 120, 0, 0), -- 49840 (Area: 3427) +(@CGUID+1316, 11737, 1, 1, 1, -8014.923, 1280.798, 2.156418, 0.9272202, 120, 0, 0), -- 11737 (Area: 3427) +(@CGUID+1317, 11739, 1, 1, 1, -8076.074, 1305.279, 11.8694, 3.902134, 120, 0, 0), -- 11739 (Area: 3427) +(@CGUID+1318, 11745, 1, 1, 1, -8010.808, 1320.621, -6.881212, 2.218884, 120, 0, 0), -- 11745 (Area: 3427) +(@CGUID+1319, 11739, 1, 1, 1, -7936.847, 1295.348, -6.128026, 5.708447, 120, 0, 0), -- 11739 (Area: 3427) +(@CGUID+1320, 15476, 1, 1, 1, -7977.814, 1340.992, -2.895566, 0.07834018, 120, 0, 0), -- 15476 (Area: 3427) +(@CGUID+1321, 62523, 1, 1, 1, -8042.001, 1360.686, -1.633083, 1.684366, 120, 5, 1), -- 62523 (Area: 0) (possible waypoints or random movement) +(@CGUID+1322, 15476, 1, 1, 1, -8005.193, 1380.127, 4.694733, 3.246219, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1323, 11737, 1, 1, 1, -7949.77, 1338.334, -0.81236, 2.568287, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1324, 49746, 1, 1, 1, -7968.97, 1450.973, -0.7917795, 5.627966, 120, 0, 0), -- 49746 (Area: 0) +(@CGUID+1325, 49746, 1, 1, 1, -8082.059, 1483.325, 2.734399, 0.09194503, 120, 0, 0), -- 49746 (Area: 0) +(@CGUID+1326, 15454, 1, 1, 1, -8064.17, 1534.23, 2.960033, 1.239184, 120, 0, 0), -- 15454 (Area: 2737) +(@CGUID+1327, 49746, 1, 1, 1, -7996.544, 1555.074, 4.500059, 4.230422, 120, 0, 0), -- 49746 (Area: 2737) +(@CGUID+1328, 49727, 1, 1, 1, -8168.031, 1486.179, 9.523088, 3.3771, 120, 0, 0), -- 49727 (Area: 2737) +(@CGUID+1329, 49746, 1, 1, 1, -8073.506, 1584.175, 14.51827, 4.699128, 120, 0, 0), -- 49746 (Area: 2737) +(@CGUID+1330, 49727, 1, 1, 1, -8178.179, 1582.681, 4.174855, 0.3690197, 120, 0, 0), -- 49727 (Area: 2737) +(@CGUID+1331, 15693, 1, 1, 1, -8071.324, 1633.949, 24.42445, 4.764749, 120, 0, 0), -- 15693 (Area: 2737) +(@CGUID+1332, 15801, 1, 1, 1, -8115.495, 1621.071, 14.8236, 0.6981317, 120, 0, 0), -- 15801 (Area: 2737) +(@CGUID+1333, 15801, 1, 1, 1, -8105.908, 1619.212, 14.10399, 3.490659, 120, 0, 0), -- 15801 (Area: 2737) +(@CGUID+1334, 11739, 1, 1, 1, -8026.069, 1776.078, 1.618006, 3.616604, 120, 0, 0), -- 11739 (Area: 2741) +(@CGUID+1335, 11737, 1, 1, 1, -7997.278, 1713.683, 1.733802, 0.06059111, 120, 0, 0), -- 11737 (Area: 2741) +(@CGUID+1336, 15476, 1, 1, 1, -7972.556, 1742.816, -2.842035, 0.4745733, 120, 0, 0), -- 15476 (Area: 2741) +(@CGUID+1337, 11737, 1, 1, 1, -8059.949, 1721.6, -1.733515, 4.579192, 120, 0, 0), -- 11737 (Area: 2741) +(@CGUID+1338, 49727, 1, 1, 1, -8024.573, 1724.306, 0.8533065, 5.285987, 120, 0, 0), -- 49727 (Area: 2741) +(@CGUID+1339, 11880, 1, 1, 1, -8014.783, 1817.072, 3.480213, 5.869182, 120, 0, 0), -- 11880 (Area: 2741) +(@CGUID+1340, 49835, 1, 1, 1, -7988.541, 1821.318, 4.797048, 1.98365, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1341, 11881, 1, 1, 1, -7982.697, 1845.249, 4.755234, 4.566851, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1342, 11881, 1, 1, 1, -8018.227, 1847.107, 4.868476, 4.520251, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1343, 11881, 1, 1, 1, -7950.535, 1819.901, 3.422637, 1.783196, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1344, 11880, 1, 1, 1, -7952.141, 1785.143, 0.1923829, 2.503172, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+1345, 11880, 1, 1, 1, -7980.375, 1817.117, 4.168617, 0.1815393, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+1346, 11737, 1, 1, 1, -7932.371, 1743.51, -4.190038, 3.454385, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1347, 62186, 1, 1, 1, -7942.607, 1805.743, 1.812618, 1.673675, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+1348, 49727, 1, 1, 1, -7914.733, 1752.12, -6.566636, 3.191811, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+1349, 11881, 1, 1, 1, -7953.07, 1884.816, 1.851522, 2.983824, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1350, 11883, 1, 1, 1, -7934.37, 1831.818, 5.010087, 4.921828, 120, 0, 0), -- 11883 (Area: 0) +(@CGUID+1351, 11881, 1, 1, 1, -7914.873, 1786.624, 2.753508, 6.15015, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1352, 49835, 1, 1, 1, -7955.186, 1880.391, 1.815145, 4.352687, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+1353, 11881, 1, 1, 1, -7916.57, 1819.409, 2.688292, 2.036627, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1354, 11881, 1, 1, 1, -7979.989, 1879.035, 5.066653, 4.986494, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1355, 11883, 1, 1, 1, -7930.072, 1855.869, 5.669795, 0.9599311, 120, 0, 0), -- 11883 (Area: 0) +(@CGUID+1356, 11882, 1, 1, 1, -7928.313, 1883.017, 10.56715, 0.8726646, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+1357, 11880, 1, 1, 1, -7919.588, 1923.201, 2.987503, 2.362414, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+1358, 11881, 1, 1, 1, -7886.451, 1853.714, 3.988697, 2.618341, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1359, 11882, 1, 1, 1, -7918.573, 1877.469, 9.985389, 1.675516, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+1360, 11880, 1, 1, 1, -7883.691, 1816.855, 0.9595323, 3.92717, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+1361, 11882, 1, 1, 1, -7908.308, 1880.84, 11.01281, 2.356194, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+1362, 11882, 1, 1, 1, -7905.477, 1890.383, 9.254648, 2.984513, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+1363, 11882, 1, 1, 1, -7917.316, 1902.304, 6.1169, 4.415683, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+1364, 11882, 1, 1, 1, -7907.723, 1899.829, 11.88266, 3.665191, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+1365, 11882, 1, 1, 1, -7929.523, 1893.206, 5.852188, 6.213372, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+1366, 11880, 1, 1, 1, -7884.943, 1885.169, 5.986516, 3.714718, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+1367, 11880, 1, 1, 1, -7948.97, 1915.704, 2.859613, 4.85553, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+1368, 11882, 1, 1, 1, -7926.6, 1901.722, 10.21419, 5.323254, 120, 0, 0), -- 11882 (Area: 0) (Auras: 13236 - 13236) +(@CGUID+1369, 11803, 1, 1, 1, -7956.369, 1978.309, 5.939409, 0.3598087, 120, 0, 0), -- 11803 (Area: 0) +(@CGUID+1370, 15476, 1, 1, 1, -7971.79, 1951.899, 5.618457, 0.1481167, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1371, 11880, 1, 1, 1, -7948.538, 1949.99, 7.199615, 0.8299062, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+1372, 11881, 1, 1, 1, -7982.743, 1943.622, 4.473976, 4.445623, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1373, 11881, 1, 1, 1, -7881.621, 1921.152, 2.002944, 0.7333509, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1374, 11881, 1, 1, 1, -7921.394, 1947.748, 6.407795, 3.406937, 120, 0, 0), -- 11881 (Area: 0) +(@CGUID+1375, 11880, 1, 1, 1, -7885.689, 1949.536, 6.453527, 1.979565, 120, 0, 0), -- 11880 (Area: 0) +(@CGUID+1376, 11883, 1, 1, 1, -7869.614, 1914.326, 3.503432, 4.101524, 120, 0, 0), -- 11883 (Area: 3099) +(@CGUID+1377, 11883, 1, 1, 1, -7864.983, 1878.781, 4.303795, 6.091199, 120, 0, 0), -- 11883 (Area: 3099) +(@CGUID+1378, 11881, 1, 1, 1, -7851.888, 1846.116, 3.550809, 5.543192, 120, 0, 0), -- 11881 (Area: 3099) +(@CGUID+1379, 11881, 1, 1, 1, -7816.904, 1913.48, 5.505306, 5.561965, 120, 0, 0), -- 11881 (Area: 3099) +(@CGUID+1380, 11881, 1, 1, 1, -7844.391, 1919.784, 5.641078, 0.7732676, 120, 0, 0), -- 11881 (Area: 3099) +(@CGUID+1381, 11880, 1, 1, 1, -7816.713, 1881.366, 5.913233, 5.227971, 120, 0, 0), -- 11880 (Area: 3099) +(@CGUID+1382, 11737, 1, 1, 1, -7841.595, 1769.721, -0.005007863, 2.266285, 120, 0, 0), -- 11737 (Area: 3099) +(@CGUID+1383, 49835, 1, 1, 1, -7846.356, 1784.587, 1.514722, 1.553019, 120, 0, 0), -- 49835 (Area: 3099) +(@CGUID+1384, 15476, 1, 1, 1, -7781.148, 1814.362, 0.3693452, 0.24541, 120, 0, 0), -- 15476 (Area: 3099) +(@CGUID+1385, 11739, 1, 1, 1, -7752.822, 1887.587, 8.075764, 1.272455, 120, 0, 0), -- 11739 (Area: 3099) +(@CGUID+1386, 15476, 1, 1, 1, -7786.449, 1889.719, 5.177914, 2.433602, 120, 0, 0), -- 15476 (Area: 3099) +(@CGUID+1387, 11737, 1, 1, 1, -7747.469, 1846.265, 4.316427, 1.662165, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1388, 11737, 1, 1, 1, -7809.629, 1709.757, 3.625149, 2.300337, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1389, 49835, 1, 1, 1, -7812.833, 1708.57, 3.487391, 0.3121375, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1390, 15476, 1, 1, 1, -7763.252, 1652.037, 5.663744, 3.195357, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1391, 11739, 1, 1, 1, -7817.728, 1685.721, 2.338401, 1.14821, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1392, 11737, 1, 1, 1, -7764.526, 1614.169, 5.110709, 3.613104, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1393, 62186, 1, 1, 1, -7782.952, 1589.353, 1.576322, 4.592999, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+1394, 11737, 1, 1, 1, -7710.546, 1595.085, 2.669383, 1.959649, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1395, 11739, 1, 1, 1, -7785.148, 1584.334, 1.112699, 2.891205, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1396, 15475, 1, 1, 1, -7615.97, 1587.858, 5.014757, 3.2296, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1397, 11737, 1, 1, 1, -7657.301, 1573.843, 6.64459, 2.046064, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1398, 49727, 1, 1, 1, -7651.733, 1545.434, 9.241704, 5.44114, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+1399, 49835, 1, 1, 1, -7729.833, 1517.64, -1.216022, 3.244373, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1400, 11739, 1, 1, 1, -7721.292, 1507.494, 1.358513, 4.16879, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1401, 11739, 1, 1, 1, -7661.685, 1492.389, 7.218941, 2.452579, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1402, 49840, 1, 1, 1, -7682.576, 1416.71, 1.747938, 4.470259, 120, 0, 0), -- 49840 (Area: 2743) +(@CGUID+1403, 11737, 1, 1, 1, -7624.827, 1422.694, 4.148119, 4.721824, 120, 0, 0), -- 11737 (Area: 2743) +(@CGUID+1404, 11737, 1, 1, 1, -7605.509, 1381.287, 3.503821, 4.340588, 120, 0, 0), -- 11737 (Area: 2743) +(@CGUID+1405, 11736, 1, 1, 1, -7481.246, 1376.483, 5.09711, 1.516057, 120, 0, 0), -- 11736 (Area: 2743) +(@CGUID+1406, 62186, 1, 1, 1, -7550.461, 1250.018, 2.527812, 4.788729, 120, 0, 0), -- 62186 (Area: 0) +(@CGUID+1407, 62186, 1, 1, 1, -7644.856, 1354.206, 0.8375415, 3.283873, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+1408, 11739, 1, 1, 1, -7513.831, 1261.141, 2.388593, 1.19682, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1409, 11737, 1, 1, 1, -7583.989, 1252.053, 2.443407, 2.888093, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1410, 11739, 1, 1, 1, -7541.698, 1286.097, 2.678965, 3.200234, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1411, 49835, 1, 1, 1, -7516.231, 1188.062, 0.2330047, 1.52391, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+1412, 11739, 1, 1, 1, -7578.889, 1208.295, 1.694661, 4.517866, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1413, 11736, 1, 1, 1, -7459.656, 1168.57, 2.221668, 4.117891, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1414, 49727, 1, 1, 1, -7476.412, 1148.39, 2.164463, 6.195178, 120, 0, 0), -- 49727 (Area: 0) +(@CGUID+1415, 11736, 1, 1, 1, -7481.46, 1086.934, 2.818668, 0.749502, 120, 0, 0), -- 11736 (Area: 0) +(@CGUID+1416, 15476, 1, 1, 1, -7515.107, 1084.655, -1.106795, 0.436098, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1417, 15476, 1, 1, 1, -7545.911, 981.2776, 4.455622, 6.15302, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1418, 11741, 1, 1, 1, -7482.491, 940.1171, 4.729746, 4.880582, 120, 0, 0), -- 11741 (Area: 0) +(@CGUID+1419, 11737, 1, 1, 1, -7837.951, 1012.93, 3.193577, 2.871483, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1420, 11737, 1, 1, 1, -7847.781, 1082.869, 3.698251, 2.8696, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1421, 11737, 1, 1, 1, -7849.727, 1149.699, 2.515279, 0.417182, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1422, 15476, 1, 1, 1, -7849.277, 1184.08, 1.289071, 2.966606, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1423, 11739, 1, 1, 1, -7882.795, 1203.162, -2.142249, 2.916038, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1424, 49835, 1, 1, 1, -7853.016, 1251.592, -9.520236, 1.784722, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1425, 11739, 1, 1, 1, -7823.78, 1201.158, 0.1382427, 5.76707, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1426, 11739, 1, 1, 1, -7872.229, 1290.29, -8.366117, 2.034444, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1427, 11739, 1, 1, 1, -7843.85, 1248.389, -10.80454, 4.585128, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1428, 15476, 1, 1, 1, -7814.408, 1321.461, -9.196495, 4.05443, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1429, 11739, 1, 1, 1, -7871.01, 1362.935, -7.06322, 0.06936018, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1430, 49835, 1, 1, 1, -7894.158, 1380.435, -8.987219, 5.253806, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1431, 11739, 1, 1, 1, -7902.221, 1421.316, -6.170787, 0.7294787, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1432, 11737, 1, 1, 1, -7836.248, 1445.141, -4.906862, 2.907985, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1433, 15476, 1, 1, 1, -7814.732, 1439.511, -2.331005, 5.065331, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1434, 11737, 1, 1, 1, -7875.823, 1478.651, -4.078993, 4.455563, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1435, 11737, 1, 1, 1, -7939.082, 1536.619, 0.8134966, 4.79845, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1436, 61326, 1, 1, 1, -7878.284, 1537.866, -4.107474, 1.900883, 120, 0, 0), -- 61326 (Area: 0) +(@CGUID+1437, 11739, 1, 1, 1, -7836.362, 1524.714, 0.3539191, 4.565382, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1438, 62523, 1, 1, 1, -7780.27, 1486.322, -1.880303, 6.262188, 120, 5, 1), -- 62523 (Area: 0) (possible waypoints or random movement) +(@CGUID+1439, 11739, 1, 1, 1, -7832.185, 1584.223, 2.256037, 3.324419, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1440, 11739, 1, 1, 1, -7772.749, 1489.079, -0.9710917, 5.034449, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1441, 11737, 1, 1, 1, -7923.397, 1581.196, -1.627707, 0.4164386, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1442, 49835, 1, 1, 1, -7879.992, 1614.37, -1.814435, 3.19424, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+1443, 11739, 1, 1, 1, -7879.724, 1636.001, -1.826362, 4.554706, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1444, 11745, 1, 1, 1, -7702.329, 1482.442, 3.278651, 2.809342, 120, 0, 0), -- 11745 (Area: 0) +(@CGUID+1445, 11739, 1, 1, 1, -7709.479, 1431.091, 2.268438, 1.590325, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1446, 62523, 1, 1, 1, -7718.756, 1444.462, 3.686534, 2.086343, 120, 0, 0), -- 62523 (Area: 0) +(@CGUID+1447, 15476, 1, 1, 1, -7759.905, 1441.711, -0.5782453, 2.470359, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1448, 11739, 1, 1, 1, -7673.97, 1385.044, 4.327582, 0.6829801, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1449, 11737, 1, 1, 1, -7764.009, 1423.495, -0.2904837, 5.950935, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1450, 15476, 1, 1, 1, -7720.322, 1362.583, 1.940364, 4.753422, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1451, 11739, 1, 1, 1, -7739.557, 1368.706, 0.3338445, 1.152572, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1452, 11739, 1, 1, 1, -7795.25, 1386.95, -3.788897, 3.647738, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1453, 11737, 1, 1, 1, -7674.633, 1318.414, 1.254022, 3.379946, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1454, 11739, 1, 1, 1, -7714.901, 1320.608, -1.881416, 0.05934868, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1455, 11739, 1, 1, 1, -7805.667, 1319.451, -6.689092, 5.922814, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1456, 11739, 1, 1, 1, -7681.28, 1276.553, 2.581738, 2.632502, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1457, 49727, 1, 1, 1, -7759.803, 1278.141, -5.370226, 1.795785, 120, 5, 1), -- 49727 (Area: 0) (possible waypoints or random movement) +(@CGUID+1458, 11737, 1, 1, 1, -7751.809, 1283.543, -4.538561, 2.096148, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1459, 49835, 1, 1, 1, -7672.032, 1297.573, -0.9427502, 2.089942, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+1460, 11737, 1, 1, 1, -7729.48, 1231.038, 4.341218, 3.379778, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1461, 11739, 1, 1, 1, -7665.82, 1225.83, 3.732443, 3.490659, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1462, 15545, 1, 1, 1, -7772.902, 1185.031, -0.172099, 5.662586, 120, 0, 0), -- 15545 (Area: 0) (Auras: ) +(@CGUID+1463, 11739, 1, 1, 1, -7716.132, 1163.761, 3.557251, 6.261111, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1464, 15545, 1, 1, 1, -7771.947, 1180.127, 0.0794313, 1.305652, 120, 0, 0), -- 15545 (Area: 0) (Auras: ) +(@CGUID+1465, 15476, 1, 1, 1, -7715.458, 1196.749, 0.7010776, 2.170719, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1466, 15545, 1, 1, 1, -7774.002, 1185.749, -0.1306853, 5.677674, 120, 0, 0), -- 15545 (Area: 0) (Auras: ) +(@CGUID+1467, 15545, 1, 1, 1, -7768.123, 1185.951, -0.154274, 3.815757, 120, 0, 0), -- 15545 (Area: 0) (Auras: ) +(@CGUID+1468, 11737, 1, 1, 1, -7726.971, 1110.807, 2.587121, 6.226573, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1469, 15476, 1, 1, 1, -7752.678, 1110.304, 5.052612, 3.641096, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1470, 11737, 1, 1, 1, -7784.084, 1044.344, -1.641764, 3.007874, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1471, 15476, 1, 1, 1, -7792.076, 1046.442, -1.641764, 0.5576835, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1472, 62523, 1, 1, 1, -7770.833, 1022.571, -1.212621, 0.02636108, 120, 5, 1), -- 62523 (Area: 0) (possible waypoints or random movement) +(@CGUID+1473, 15476, 1, 1, 1, -7686.292, 998.6958, 0.1095352, 5.160754, 120, 0, 0), -- 15476 (Area: 0) +(@CGUID+1474, 11730, 1, 1, 1, -7712.819, 850.871, -6.577086, 5.878934, 120, 0, 0), -- 11730 (Area: 0) (Auras: 22766 - 22766) +(@CGUID+1475, 17766, 1, 1, 1, -7595.512, 757.488, -16.62545, 1.902409, 120, 0, 0), -- 17766 (Area: 0) (Auras: 18950 - 18950) +(@CGUID+1476, 17766, 1, 1, 1, -7592.24, 762.8517, -16.49887, 3.036873, 120, 0, 0), -- 17766 (Area: 0) (Auras: 18950 - 18950) +(@CGUID+1477, 17766, 1, 1, 1, -7595.088, 751.3487, -16.92389, 1.762783, 120, 0, 0), -- 17766 (Area: 0) (Auras: 18950 - 18950) +(@CGUID+1478, 11745, 1, 1, 1, -7524.425, 824.3853, -8.946454, 2.216306, 120, 0, 0), -- 11745 (Area: 0) +(@CGUID+1479, 11734, 1, 1, 1, -7637.041, 687.3691, -46.29639, 3.365883, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1480, 11739, 1, 1, 1, -7559.146, 1088.203, 2.145297, 4.814098, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1481, 11739, 1, 1, 1, -7580.203, 1094.861, 1.615296, 3.05164, 120, 0, 0), -- 11739 (Area: 0) +(@CGUID+1482, 11737, 1, 1, 1, -7638.838, 1122.069, 3.270405, 0.182826, 120, 0, 0), -- 11737 (Area: 0) +(@CGUID+1483, 61326, 1, 1, 1, -7639.237, 1122.693, 3.496017, 0.1696409, 120, 0, 0), -- 61326 (Area: 0) +(@CGUID+1484, 61319, 1, 1, 1, -7906.984, 750.0578, -26.51229, 1.031549, 120, 5, 1), -- 61319 (Area: 0) (possible waypoints or random movement) +(@CGUID+1485, 15475, 1, 1, 1, -7810.439, 746.6472, -35.36091, 5.566606, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1486, 11731, 1, 1, 1, -7843.74, 732.5922, -28.01806, 3.403392, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1487, 11732, 1, 1, 1, -7874.214, 737.1083, -25.09984, 5.302558, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1488, 11733, 1, 1, 1, -7860.513, 697.8484, -27.18311, 4.44332, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1489, 11733, 1, 1, 1, -7810.104, 753.4961, -35.16914, 0.5611199, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1490, 11731, 1, 1, 1, -7935.219, 671.1879, -57.72101, 2.426008, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1491, 15475, 1, 1, 1, -7842.064, 667.174, -32.40406, 2.025711, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1492, 15475, 1, 1, 1, -7940.47, 655.3691, -59.45042, 4.840367, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1493, 11732, 1, 1, 1, -7927.902, 640.2392, -28.14306, 4.89102, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1494, 11734, 1, 1, 1, -7876.868, 626.3483, -27.586, 0.8545399, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1495, 15475, 1, 1, 1, -7907.984, 637.6066, -27.67895, 4.731918, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1496, 11734, 1, 1, 1, -7812.445, 680.6659, -35.26851, 5.749785, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1497, 11734, 1, 1, 1, -7817.622, 618.8495, -40.09243, 2.045891, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1498, 61319, 1, 1, 1, -7844.793, 594.6055, -37.30474, 2.618692, 120, 5, 1), -- 61319 (Area: 2744) (possible waypoints or random movement) +(@CGUID+1499, 11732, 1, 1, 1, -7845.521, 575.5709, -37.99507, 2.88099, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1500, 11733, 1, 1, 1, -7896.807, 546.7207, -24.84773, 0.1587324, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1501, 61319, 1, 1, 1, -7973.479, 539.1268, -30.0353, 5.947792, 120, 5, 1), -- 61319 (Area: 2744) (possible waypoints or random movement) +(@CGUID+1502, 11730, 1, 1, 1, -7980.411, 586.6975, -38.5999, 1.907379, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1503, 11732, 1, 1, 1, -8028.944, 512.2391, -11.91613, 6.203715, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1504, 15475, 1, 1, 1, -8137.275, 679.1514, -83.47514, 4.700703, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1505, 15475, 1, 1, 1, -8145.627, 758.5842, -85.34116, 3.633968, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1506, 15475, 1, 1, 1, -8166.939, 654.6256, -76.69373, 5.661529, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1507, 11733, 1, 1, 1, -8167.028, 708.3795, -58.27954, 1.998377, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1508, 11733, 1, 1, 1, -8172.356, 658.5726, -76.49757, 3.104211, 120, 0, 0), -- 11733 (Area: 2744) (Auras: ) +(@CGUID+1509, 11732, 1, 1, 1, -8144.613, 763.08, -85.11294, 1.107506, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1510, 15475, 1, 1, 1, -8181.999, 695.9729, -69.05984, 1.539791, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1511, 11732, 1, 1, 1, -8188.533, 695.1014, -71.82259, 5.45313, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1512, 11731, 1, 1, 1, -8162.64, 643.3192, -77.15984, 5.846853, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1513, 11730, 1, 1, 1, -8218.879, 686.5596, -73.18321, 4.34587, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1514, 15475, 1, 1, 1, -8207.079, 690.6981, -72.972, 4.466167, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1515, 15475, 1, 1, 1, -8192.512, 670.3748, -72.09254, 1.554326, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1516, 15475, 1, 1, 1, -8214.766, 667.5165, -72.34368, 4.324336, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1517, 11734, 1, 1, 1, -8211.472, 626.2983, -74.82536, 5.129528, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1518, 15475, 1, 1, 1, -8248.668, 704.3564, -79.92738, 0.2452742, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1519, 11734, 1, 1, 1, -8228.761, 728.6779, -73.42838, 4.808101, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1520, 15475, 1, 1, 1, -8227.788, 720.9525, -75.48082, 3.914803, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1521, 15475, 1, 1, 1, -8248.651, 691.0628, -78.48715, 2.278975, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1522, 15475, 1, 1, 1, -8225.811, 697.0059, -75.70657, 5.90148, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1523, 11734, 1, 1, 1, -8231.285, 746.8065, -66.81722, 2.267754, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1524, 11732, 1, 1, 1, -8271.977, 679.4471, -73.02522, 4.794232, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1525, 15609, 1, 1, 1, -8222.822, 666.4979, -71.71651, 0.8901179, 120, 0, 0), -- 15609 (Area: 2744) (Auras: 6718 - 6718) +(@CGUID+1526, 15475, 1, 1, 1, -8270.601, 739.1949, -75.42565, 6.219415, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1527, 11733, 1, 1, 1, -8301.145, 707.8715, -75.33376, 1.83702, 120, 0, 0), -- 11733 (Area: 2744) (Auras: ) +(@CGUID+1528, 11733, 1, 1, 1, -8268.046, 739.562, -75.89767, 1.197887, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1529, 15475, 1, 1, 1, -8296.002, 694.7443, -74.46698, 4.966687, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1530, 11732, 1, 1, 1, -8324.776, 684.057, -70.69978, 4.954892, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1531, 15475, 1, 1, 1, -8299.514, 736.5547, -73.91688, 3.043025, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1532, 11734, 1, 1, 1, -8303.207, 736.9046, -74.10713, 6.248279, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1533, 15215, 1, 1, 1, -8325.497, 727.5823, -66.98505, 5.742133, 120, 0, 0), -- 15215 (Area: 2744) +(@CGUID+1534, 11731, 1, 1, 1, -8337.923, 702.1575, -70.67725, 5.67232, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1535, 15475, 1, 1, 1, -8325.115, 745.4452, -68.93479, 0.2346559, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1536, 15475, 1, 1, 1, -8323.628, 679.2228, -70.2767, 4.227355, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1537, 11730, 1, 1, 1, -8258.579, 683.9902, -76.68757, 4.223978, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1538, 15475, 1, 1, 1, -8343.663, 707.8884, -69.54646, 2.726027, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1539, 11733, 1, 1, 1, -8342.209, 713.7131, -68.49181, 2.840759, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1540, 11734, 1, 1, 1, -8335.801, 743.017, -65.46051, 4.639794, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1541, 15475, 1, 1, 1, -8346.161, 739.6506, -63.48872, 5.023867, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1542, 11730, 1, 1, 1, -8302.293, 688.5197, -73.312, 1.540872, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1543, 11733, 1, 1, 1, -7914.833, 512.836, -31.07192, 5.23202, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1544, 11734, 1, 1, 1, -7855.003, 517.9075, -35.17218, 5.396564, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1545, 15475, 1, 1, 1, -7858.098, 527.2833, -35.60686, 4.784904, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1546, 11734, 1, 1, 1, -7807.957, 560.8168, -38.55315, 4.323906, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1547, 15475, 1, 1, 1, -7765.833, 591.468, -45.44421, 3.11816, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1548, 11730, 1, 1, 1, -7852.933, 656.1644, -31.11345, 6.145986, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1549, 11733, 1, 1, 1, -7750.489, 663.9318, -42.72486, 4.184033, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1550, 15475, 1, 1, 1, -7741.529, 745.6071, -39.56945, 5.858014, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1551, 11732, 1, 1, 1, -7747.642, 754.5616, -38.5326, 0.7232377, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1552, 15475, 1, 1, 1, -7724.232, 646.4646, -47.42473, 4.541729, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1553, 11730, 1, 1, 1, -7782.876, 717.9631, -35.46669, 6.027304, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1554, 11732, 1, 1, 1, -7688.666, 683.4958, -47.56952, 4.517843, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1555, 11734, 1, 1, 1, -7712.775, 653.0682, -49.17346, 5.540638, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1556, 11733, 1, 1, 1, -7740.941, 628.066, -46.33923, 1.504487, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1557, 11732, 1, 1, 1, -7688.716, 622.0931, -51.30819, 0.03904266, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1558, 15475, 1, 1, 1, -7652.825, 646.8477, -50.46256, 2.945177, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1559, 11733, 1, 1, 1, -7652.046, 660.121, -48.59281, 1.767426, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1560, 11730, 1, 1, 1, -7726.709, 703.3795, -40.31444, 3.910622, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1561, 11731, 1, 1, 1, -7606.714, 629.0131, -43.32714, 0.418879, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1562, 11734, 1, 1, 1, -7620.437, 614.3893, -49.27446, 2.902778, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1563, 11734, 1, 1, 1, -7644.315, 579.4959, -50.89598, 6.210905, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1564, 15475, 1, 1, 1, -7641.047, 544.2963, -49.35691, 4.569388, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1565, 11734, 1, 1, 1, -7629.274, 553.9303, -51.53569, 1.836569, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1566, 11733, 1, 1, 1, -7686.886, 546.4724, -43.52768, 0.824053, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1567, 11732, 1, 1, 1, -7710.972, 588.1791, -46.06475, 6.176332, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1568, 15475, 1, 1, 1, -7721.362, 584.8275, -45.41354, 2.407326, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1569, 15475, 1, 1, 1, -7646.962, 492.4113, -45.61974, 0.5621311, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1570, 11734, 1, 1, 1, -7620.909, 485.6937, -47.8774, 1.971164, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1571, 11732, 1, 1, 1, -7646.102, 448.1313, -43.70167, 5.42818, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1572, 11730, 1, 1, 1, -7652.645, 522.3201, -45.26695, 3.167935, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1573, 11731, 1, 1, 1, -7622.74, 451.4195, -45.62062, 1.64061, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1574, 11734, 1, 1, 1, -7686.318, 421.1373, -37.76407, 2.714642, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1575, 11732, 1, 1, 1, -7666.51, 345.4521, -38.14945, 6.233321, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1576, 61319, 1, 1, 1, -7711.055, 433.5118, -39.57551, 2.532466, 120, 5, 1), -- 61319 (Area: 2744) (possible waypoints or random movement) +(@CGUID+1577, 11730, 1, 1, 1, -7625.97, 407.0495, -41.49677, 5.648782, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1578, 11733, 1, 1, 1, -7716.585, 448.1423, -40.76862, 4.515686, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1579, 11732, 1, 1, 1, -7711.052, 398.462, -32.50335, 0.5300416, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1580, 11730, 1, 1, 1, -7652.933, 388.4503, -34.50484, 2.515668, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1581, 15475, 1, 1, 1, -7676.628, 335.9485, -38.03018, 3.174886, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1582, 11733, 1, 1, 1, -7674.323, 325.2096, -35.89288, 0.615705, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1583, 11733, 1, 1, 1, -7745.066, 417.2122, -34.75769, 0.5782574, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1584, 15475, 1, 1, 1, -7676.27, 323.6765, 1.597684, 4.718248, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1585, 15475, 1, 1, 1, -7747.594, 509.7041, -43.11675, 5.905217, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1586, 11733, 1, 1, 1, -7752.884, 496.9828, -44.00121, 1.717302, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1587, 11733, 1, 1, 1, -7779.442, 383.5607, -30.93269, 5.149842, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1588, 15475, 1, 1, 1, -7794.234, 391.9618, -63.16684, 3.034679, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1589, 15475, 1, 1, 1, -7748.536, 359.4219, -45.27393, 5.654115, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1590, 11731, 1, 1, 1, -7788.049, 413.6758, -58.78341, 0.8377581, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1591, 11734, 1, 1, 1, -7789.369, 395.1372, -60.47217, 5.054068, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1592, 11734, 1, 1, 1, -7778.834, 462.1457, -38.03995, 1.338668, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1593, 15475, 1, 1, 1, -7793, 415.5455, -58.40495, 3.773423, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1594, 11733, 1, 1, 1, -7832.477, 445.1872, -29.83776, 1.459277, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1595, 11733, 1, 1, 1, -7737.234, 338.9128, -37.12407, 2.180347, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1596, 15475, 1, 1, 1, -7819.732, 483.9676, -37.87669, 1.731768, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1597, 11732, 1, 1, 1, -7814.989, 463.9739, -34.26354, 6.118358, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1598, 15475, 1, 1, 1, -7738.224, 339.8104, -37.02354, 3.695499, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1599, 15475, 1, 1, 1, -7781.658, 372.2541, -33.33772, 0.3217506, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1600, 11732, 1, 1, 1, -7821.693, 420.9242, -33.66608, 2.241265, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1601, 15475, 1, 1, 1, -7818.234, 383.5777, -68.12345, 4.602853, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1602, 11730, 1, 1, 1, -7823.576, 377.2448, -34.39074, 4.006126, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1603, 11732, 1, 1, 1, -7847.412, 347.4375, -62.46327, 0.4930766, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1604, 11733, 1, 1, 1, -7833.899, 365.8695, -67.41925, 2.564234, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1605, 15475, 1, 1, 1, -7847.231, 347.9309, -62.56863, 3.525616, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1606, 15475, 1, 1, 1, -7845.146, 366.5689, -65.0182, 4.006115, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1607, 15475, 1, 1, 1, -7868.467, 427.013, -34.13698, 2.853285, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1608, 11730, 1, 1, 1, -7885.857, 420.3504, -34.81705, 1.580562, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1609, 61319, 1, 1, 1, -7857.13, 332.0128, -49.34774, 3.318599, 120, 5, 1), -- 61319 (Area: 2744) (possible waypoints or random movement) +(@CGUID+1610, 11731, 1, 1, 1, -7838.709, 293.7293, -49.56792, 2.844887, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1611, 11734, 1, 1, 1, -7921.08, 387.1555, -32.272, 2.549259, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1612, 15475, 1, 1, 1, -7849.61, 306.8063, -50.54767, 0.2101625, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1613, 11734, 1, 1, 1, -7852.044, 308.0936, -50.40749, 6.034272, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1614, 61319, 1, 1, 1, -7920.849, 406.0134, -31.70905, 4.517439, 120, 5, 1), -- 61319 (Area: 2744) (possible waypoints or random movement) +(@CGUID+1615, 14473, 1, 1, 1, -7937.394, 364.7569, -32.47891, 2.238521, 120, 0, 0), -- 14473 (Area: 2744) +(@CGUID+1616, 11732, 1, 1, 1, -7962.875, 423.8825, -31.50104, 2.760417, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1617, 15475, 1, 1, 1, -7872.949, 270.6381, -59.52123, 0.5670128, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1618, 11733, 1, 1, 1, -7863.221, 267.6837, -58.03819, 4.952918, 120, 0, 0), -- 11733 (Area: 2744) (Auras: ) +(@CGUID+1619, 11732, 1, 1, 1, -7892.728, 255.4312, -58.74585, 0.5935839, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1620, 11737, 1, 1, 1, -7770.749, 287.9307, -1.335234, 1.603987, 120, 0, 0), -- 11737 (Area: 2744) +(@CGUID+1621, 15475, 1, 1, 1, -7891.591, 254.0194, -58.57164, 1.464081, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1622, 15475, 1, 1, 1, -7793.688, 243.39, -49.53034, 2.055569, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1623, 11734, 1, 1, 1, -7846.408, 229.4784, -64.16573, 4.102717, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1624, 11733, 1, 1, 1, -7794.066, 242.8448, -49.41836, 3.792762, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1625, 15475, 1, 1, 1, -7876.69, 217.7702, -59.14107, 6.016848, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1626, 15475, 1, 1, 1, -7849.034, 208.2663, -62.2075, 3.435451, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1627, 11734, 1, 1, 1, -7904.968, 222.0172, -57.54963, 3.404021, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1628, 11739, 1, 1, 1, -7950.531, 272.8667, -1.593297, 3.022086, 120, 0, 0), -- 11739 (Area: 2744) +(@CGUID+1629, 15475, 1, 1, 1, -7801.225, 229.9421, -50.76167, 5.605572, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1630, 15475, 1, 1, 1, -7844.301, 236.0458, -63.27938, 4.273656, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1631, 11733, 1, 1, 1, -7866.503, 205.6309, -63.15604, 3.344347, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1632, 11732, 1, 1, 1, -7891.886, 202.8858, -60.08247, 1.626024, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1633, 15475, 1, 1, 1, -7880.271, 191.8417, -61.52445, 4.844734, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1634, 15475, 1, 1, 1, -7914.297, 217.8578, -56.34484, 2.819511, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1635, 11730, 1, 1, 1, -7884.685, 239.372, -57.10692, 0.7272416, 120, 0, 0), -- 11730 (Area: 2744) (Auras: 22766 - 22766) +(@CGUID+1636, 15475, 1, 1, 1, -7755.484, 233.0839, -42.40918, 5.720322, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1637, 11732, 1, 1, 1, -7758.896, 233.7127, -41.83483, 1.524433, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1638, 11734, 1, 1, 1, -7718.578, 241.8218, -38.77911, 3.815648, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1639, 15475, 1, 1, 1, -7752.414, 299.512, -46.1599, 6.097651, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1640, 15475, 1, 1, 1, -7722.157, 243.9421, -39.54243, 0.4715264, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1641, 62186, 1, 1, 1, -7760.238, 217.005, 4.635038, 2.899945, 120, 0, 0), -- 62186 (Area: 2744) +(@CGUID+1642, 15475, 1, 1, 1, -7739.658, 277.9172, -44.14024, 4.177164, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1643, 15475, 1, 1, 1, -7751.038, 281.786, 2.41345, 4.71071, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1644, 15475, 1, 1, 1, -7736.012, 219.7774, -35.75499, 3.631744, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1645, 15475, 1, 1, 1, -7713.245, 306.3458, -35.91586, 4.115274, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1646, 11732, 1, 1, 1, -7700.755, 245.9622, -41.83242, 4.444349, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1647, 11737, 1, 1, 1, -7707.765, 193.7896, 5.075308, 5.08419, 120, 0, 0), -- 11737 (Area: 2744) +(@CGUID+1648, 15475, 1, 1, 1, -7715.242, 281.0414, -43.01768, 4.107279, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1649, 11731, 1, 1, 1, -7700.078, 259.3057, -43.0291, 4.380776, 120, 0, 0), -- 11731 (Area: 2744) +(@CGUID+1650, 15475, 1, 1, 1, -7706.08, 256.627, -40.99187, 3.745861, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1651, 15476, 1, 1, 1, -7706.346, 225.5175, 3.840758, 4.998095, 120, 0, 0), -- 15476 (Area: 2744) +(@CGUID+1652, 15475, 1, 1, 1, -7704.021, 240.7749, -41.40349, 2.512496, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1653, 15475, 1, 1, 1, -7675.497, 266.2423, -35.42485, 3.081939, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1654, 15475, 1, 1, 1, -7671.094, 238.8304, -34.7405, 3.711722, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1655, 49840, 1, 1, 1, -7703.118, 284.8867, 4.616922, 3.172833, 120, 0, 0), -- 49840 (Area: 2744) +(@CGUID+1656, 11737, 1, 1, 1, -7691.66, 251.0162, 5.285213, 3.041729, 120, 0, 0), -- 11737 (Area: 2744) +(@CGUID+1657, 49727, 1, 1, 1, -7669.764, 212.3452, 5.82651, 5.983864, 120, 0, 0), -- 49727 (Area: 2744) +(@CGUID+1658, 15475, 1, 1, 1, -7684.409, 305.0174, -37.97928, 2.123456, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1659, 15475, 1, 1, 1, -7637.868, 273.7091, -33.28664, 1.403319, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1660, 15475, 1, 1, 1, -7701.027, 323.0115, -36.63932, 3.853504, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1661, 11733, 1, 1, 1, -7683.726, 305.7226, -37.93537, 0.4680198, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1662, 11739, 1, 1, 1, -7710.114, 313.7448, 1.688867, 6.053563, 120, 0, 0), -- 11739 (Area: 2744) +(@CGUID+1663, 11734, 1, 1, 1, -7649.979, 277.6478, -31.20964, 3.115432, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1664, 15476, 1, 1, 1, -7663.178, 274.4631, 6.639983, 0.1181692, 120, 0, 0), -- 15476 (Area: 2744) +(@CGUID+1665, 15475, 1, 1, 1, -7667.787, 292.3265, -39.39104, 5.042536, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1666, 11739, 1, 1, 1, -7651.498, 286.5233, 6.558793, 5.191447, 120, 0, 0), -- 11739 (Area: 2744) +(@CGUID+1667, 11737, 1, 1, 1, -7682.827, 319.8023, 3.179583, 4.396811, 120, 0, 0), -- 11737 (Area: 2744) +(@CGUID+1668, 11733, 1, 1, 1, -7785.093, 515.5814, -39.60701, 3.928863, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1669, 11732, 1, 1, 1, -7984.563, 454.7385, -29.64237, 5.016605, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1670, 11734, 1, 1, 1, -7985.106, 382.7736, -30.17995, 1.490577, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1671, 11734, 1, 1, 1, -8016.323, 420.3836, -31.64176, 4.615147, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1672, 15475, 1, 1, 1, -8019.833, 424.7401, -32.73404, 5.726034, 120, 0, 0), -- 15475 (Area: 2744) +(@CGUID+1673, 11734, 1, 1, 1, -8020.853, 475.8263, -23.99504, 0.9616701, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1674, 11732, 1, 1, 1, -8023.377, 340.4431, -32.54235, 1.099499, 120, 0, 0), -- 11732 (Area: 2744) +(@CGUID+1675, 11733, 1, 1, 1, -8059.104, 436.393, -40.74918, 5.165547, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1676, 11734, 1, 1, 1, -8082.153, 406.5641, -56.21863, 3.100089, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1677, 11733, 1, 1, 1, -8083.889, 481.3114, -24.26548, 3.833616, 120, 0, 0), -- 11733 (Area: 2744) +(@CGUID+1678, 11734, 1, 1, 1, -8070.909, 542.3794, -18.12592, 5.774948, 120, 0, 0), -- 11734 (Area: 2744) +(@CGUID+1679, 15194, 1, 1, 1, -7578.721, 196.9136, 11.54876, 1.343904, 120, 0, 0), -- 15194 (Area: -1) +(@CGUID+1680, 15196, 1, 1, 1, -8071.7, 973.5007, 45.39223, 3.721736, 120, 0, 0); -- 15196 (Area: 0) (Auras: 13299 - 13299) + +SET @OGUID := 224495; +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+261; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 179344, 1, 1, 1, -6386.375, -310.6302, -1.993619, 0.2530724, 0, 0, 0, 1, 120, 255, 1), -- 179344 (Area: 3077) +(@OGUID+1, 176584, 1, 1, 1, -6706.78, 79.2361, 5.34831, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+2, 176583, 1, 1, 1, -6701.4, 134.953, 2.27823, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+3, 324, 1, 1, 1, -6583.77, 209.764, 12.3597, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+4, 180443, 1, 1, 1, -6446.861, 209.1252, 4.056117, 1.186823, 0, 0, 0, 1, 120, 255, 1), -- 180443 (Area: 3426) +(@OGUID+5, 324, 1, 1, 1, -6447.54, 174.132, 10.9423, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 3426) +(@OGUID+6, 180444, 1, 1, 1, -6348.639, 154.4184, 5.832565, 2.862335, 0, 0, 0, 1, 120, 255, 1), -- 180444 (Area: 3426) +(@OGUID+7, 324, 1, 1, 1, -6297.93, 210.898, 24.0334, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 3426) +(@OGUID+8, 180478, 1, 1, 1, -6244.456, 65.03014, 17.19371, 0.6806767, 0, 0, 0.8457279, 0.5336145, 120, 255, 1), -- 180478 (Area: 3426) +(@OGUID+9, 180479, 1, 1, 1, -6258.041, 54.78733, 17.19371, 1.055924, 0, 0, 0.8457279, 0.5336145, 120, 255, 1), -- 180479 (Area: 3426) +(@OGUID+10, 180480, 1, 1, 1, -6246.366, 29.44011, 10.09372, 4.376577, 0, 0, 0.8457279, 0.5336145, 120, 255, 1), -- 180480 (Area: 3446) +(@OGUID+11, 180473, 1, 1, 1, -6317.038, 17.19212, 6.071098, 1.518436, 0, 0, 0.8457279, 0.5336145, 120, 255, 1), -- 180473 (Area: 3446) +(@OGUID+12, 180475, 1, 1, 1, -6308.316, 5.307922, 6.335299, 2.4969, 0, 0, 0.8457279, 0.5336145, 120, 255, 1), -- 180475 (Area: 3446) +(@OGUID+13, 180476, 1, 1, 1, -6237.74, 49.12764, 15.80639, 0.2181658, 0, 0, 0.8457279, 0.5336145, 120, 255, 1), -- 180476 (Area: 3446) +(@OGUID+14, 180477, 1, 1, 1, -6244.735, 33.27951, 11.05767, 2.317314, 0, 0, 0.8457279, 0.5336145, 120, 255, 1), -- 180477 (Area: 3446) +(@OGUID+15, 180474, 1, 1, 1, -6330.928, -3.34761, 6.551298, 1.954769, 0, 0, 0.8457279, 0.5336145, 120, 255, 1), -- 180474 (Area: 3446) +(@OGUID+16, 176584, 1, 1, 1, -6391.04, 325.497, 7.95045, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 3426) +(@OGUID+17, 142142, 1, 1, 1, -6574.97, 349.075, 3.58393, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 0) +(@OGUID+18, 207566, 1, 1, 1, -6772.745, 809.8246, 55.74702, 0, 0, 0, 0, 1, 120, 255, 1), -- 207566 (Area: 0) +(@OGUID+19, 207565, 1, 1, 1, -6776.957, 822.5139, 55.74702, 0, 0, 0, 0, 1, 120, 255, 1), -- 207565 (Area: 0) +(@OGUID+20, 176583, 1, 1, 1, -6547.1, 601.906, 5.61628, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+21, 324, 1, 1, 1, -6254.38, 753.182, 23.1552, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+22, 324, 1, 1, 1, -6197.28, 677.925, 15.6476, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+23, 176584, 1, 1, 1, -6383.62, 865.219, 3.64129, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+24, 175404, 1, 1, 1, -6260.01, 855.938, 22.0483, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 0) +(@OGUID+25, 175404, 1, 1, 1, -6256.68, 980.724, -39.8714, 5.707228, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2742) +(@OGUID+26, 207513, 1, 1, 1, -6249.441, 978.0555, -39.25842, 3.647741, 0, 0, 0, 1, 120, 255, 1), -- 207513 (Area: 2742) +(@OGUID+27, 324, 1, 1, 1, -6279.66, 1120.12, -26.5338, 0.383971, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2742) +(@OGUID+28, 176586, 1, 1, 1, -6315.25, 1130.43, 25.3169, 3.543024, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 2742) +(@OGUID+29, 176583, 1, 1, 1, -6370.05, 1159.11, 5.38533, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 2742) +(@OGUID+30, 324, 1, 1, 1, -6284.59, 1201.31, 19.8977, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2742) +(@OGUID+31, 181598, 1, 1, 1, -6477.602, 1146.197, 2.600087, 1.954769, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 2742) +(@OGUID+32, 176583, 1, 1, 1, -6331.94, 1428.93, 5.26234, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 2742) +(@OGUID+33, 324, 1, 1, 1, -6265.6, 1498.75, 16.4232, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2742) +(@OGUID+34, 180583, 1, 1, 1, -6230.4, 1548.105, 15.11532, 1.204277, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2742) +(@OGUID+35, 180501, 1, 1, 1, -6230.4, 1548.105, 15.11532, 1.204277, 0, 0, 0, 1, 120, 255, 1), -- 180501 (Area: 2742) +(@OGUID+36, 324, 1, 1, 1, -6209.06, 1598.41, 12.2352, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2742) +(@OGUID+37, 180436, 1, 1, 1, -6318.643, 1700.375, 4.299432, 3.001947, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+38, 180583, 1, 1, 1, -6318.643, 1700.375, 4.299432, 3.001947, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+39, 176584, 1, 1, 1, -6228.32, 1688.03, 6.90988, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 2740) +(@OGUID+40, 175404, 1, 1, 1, -6337.24, 1680.57, 27.5808, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2740) +(@OGUID+41, 180583, 1, 1, 1, -6163.897, 1706.998, 26.0339, 2.949595, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+42, 180436, 1, 1, 1, -6220.648, 1746.154, 10.90469, 4.76475, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+43, 180583, 1, 1, 1, -6220.648, 1746.154, 10.90469, 4.76475, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+44, 180501, 1, 1, 1, -6163.897, 1706.998, 26.0339, 2.949595, 0, 0, 0, 1, 120, 255, 1), -- 180501 (Area: 2740) +(@OGUID+45, 180501, 1, 1, 1, -6186.841, 1747.131, 20.19096, 4.084071, 0, 0, 0, 1, 120, 255, 1), -- 180501 (Area: 2740) +(@OGUID+46, 180436, 1, 1, 1, -6203.397, 1769.685, 18.33285, 2.129301, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+47, 180436, 1, 1, 1, -6209.358, 1789.924, 19.2903, 1.710422, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+48, 180583, 1, 1, 1, -6203.397, 1769.685, 18.33285, 2.129301, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+49, 180583, 1, 1, 1, -6209.358, 1789.924, 19.2903, 1.710422, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+50, 180436, 1, 1, 1, -6151.034, 1747.774, 28.91631, 4.363324, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+51, 180583, 1, 1, 1, -6186.841, 1747.131, 20.19096, 4.084071, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+52, 180501, 1, 1, 1, -6198.249, 1778.849, 17.5402, 3.804818, 0, 0, 0, 1, 120, 255, 1), -- 180501 (Area: 2740) +(@OGUID+53, 180583, 1, 1, 1, -6151.034, 1747.774, 28.91631, 4.363324, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+54, 180583, 1, 1, 1, -6198.249, 1778.849, 17.5402, 3.804818, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+55, 180583, 1, 1, 1, -6134.293, 1789.286, 33.91666, 1.745327, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+56, 180436, 1, 1, 1, -6177.331, 1784.065, 30.25432, 5.078908, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+57, 180583, 1, 1, 1, -6223.502, 1824.229, 18.78652, 4.590216, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+58, 180583, 1, 1, 1, -6177.331, 1784.065, 30.25432, 5.078908, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+59, 324, 1, 1, 1, -6179.3, 1784.76, 30.8292, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2740) +(@OGUID+60, 180436, 1, 1, 1, -6134.293, 1789.286, 33.91666, 1.745327, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+61, 180436, 1, 1, 1, -6223.502, 1824.229, 18.78652, 4.590216, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+62, 180436, 1, 1, 1, -6140.709, 1819.92, 39.50312, 1.658062, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 3100) +(@OGUID+63, 180583, 1, 1, 1, -6140.709, 1819.92, 39.50312, 1.658062, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 3100) +(@OGUID+64, 175404, 1, 1, 1, -6209.73, 1835.4, 38.4514, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 3100) +(@OGUID+65, 180436, 1, 1, 1, -6183.269, 1847.859, 38.93341, 3.647741, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 3100) +(@OGUID+66, 180583, 1, 1, 1, -6183.269, 1847.859, 38.93341, 3.647741, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 3100) +(@OGUID+67, 175404, 1, 1, 1, -6374.79, 1854.98, 13.7436, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2740) +(@OGUID+68, 180583, 1, 1, 1, -6393.282, 1762.544, 13.02179, 0.5585039, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+69, 180436, 1, 1, 1, -6378.292, 1805.97, 2.979019, 1.448622, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+70, 180583, 1, 1, 1, -6378.292, 1805.97, 2.979019, 1.448622, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+71, 180501, 1, 1, 1, -6393.282, 1762.544, 13.02179, 0.5585039, 0, 0, 0, 1, 120, 255, 1), -- 180501 (Area: 2740) +(@OGUID+72, 180436, 1, 1, 1, -6446.846, 1861.942, 5.637447, 2.321287, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+73, 180583, 1, 1, 1, -6446.846, 1861.942, 5.637447, 2.321287, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+74, 180436, 1, 1, 1, -6471.716, 1850.614, 3.59942, 0.6457717, 0, 0, 0, 1, 120, 255, 1), -- 180436 (Area: 2740) +(@OGUID+75, 180583, 1, 1, 1, -6471.716, 1850.614, 3.59942, 0.6457717, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 2740) +(@OGUID+76, 324, 1, 1, 1, -6434.66, 1914.65, 11.2081, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+77, 180501, 1, 1, 1, -6494.244, 1924.915, 7.511973, 5.410522, 0, 0, 0, 1, 120, 255, 1), -- 180501 (Area: 0) +(@OGUID+78, 180583, 1, 1, 1, -6494.244, 1924.915, 7.511973, 5.410522, 0, 0, 0, 1, 120, 255, 1), -- 180583 (Area: 0) +(@OGUID+79, 176586, 1, 1, 1, -6480.71, 1922.63, 12.8298, 3.543024, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 0) +(@OGUID+80, 176584, 1, 1, 1, -6616.63, 1901.21, 4.64378, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+81, 324, 1, 1, 1, -6607.24, 1960.09, 14.0142, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+82, 176586, 1, 1, 1, -6714.32, 1923.02, 25.3531, 3.543024, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 0) +(@OGUID+83, 176584, 1, 1, 1, -6672.75, 1780.96, 4.95587, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+84, 324, 1, 1, 1, -6529.86, 1753.53, 12.5525, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+85, 324, 1, 1, 1, -6559.24, 1692.58, 23.1952, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+86, 176583, 1, 1, 1, -6617.47, 1596.85, 6.44559, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+87, 324, 1, 1, 1, -6523.26, 1542.55, 13.6167, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+88, 176584, 1, 1, 1, -6549.56, 1482.57, 1.35546, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+89, 181598, 1, 1, 1, -6486.497, 1512.015, 4.960761, 0.6457717, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 0) +(@OGUID+90, 324, 1, 1, 1, -6636.41, 945.352, -52.6581, 0.06981169, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2742) +(@OGUID+91, 324, 1, 1, 1, -6613.57, 880.51, 1.43134, 3.787367, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2742) +(@OGUID+92, 180454, 1, 1, 1, -6579.912, 765.6702, -49.39077, 2.426008, 0, 0, 0, 1, 120, 255, 1), -- 180454 (Area: 2742) +(@OGUID+93, 176584, 1, 1, 1, -6576.7, 674.955, 5.43908, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 2742) +(@OGUID+94, 142142, 1, 1, 1, -6515.65, 679.276, 5.85894, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2742) +(@OGUID+95, 180451, 1, 1, 1, -6840.305, 734.9417, 42.18867, 1.274091, 0, 0, 0, 1, 120, 255, 1), -- 180451 (Area: 3425) +(@OGUID+96, 180448, 1, 1, 1, -6847.411, 748.7857, 42.53838, 0.6108634, 0, 0, 0, 1, 120, 255, 1), -- 180448 (Area: 3425) +(@OGUID+97, 180913, 1, 1, 1, -6865.656, 754.0374, 42.65667, 3.394674, 0, 0, 0, 1, 120, 255, 1), -- 180913 (Area: 3425) +(@OGUID+98, 180914, 1, 1, 1, -6859.369, 749.0264, 42.52612, 0.2530724, 0, 0, 0, 1, 120, 255, 1), -- 180914 (Area: 3425) +(@OGUID+99, 180915, 1, 1, 1, -6850.662, 765.7254, 42.38664, 3.708827, 0, 0, 0, 1, 120, 255, 1), -- 180915 (Area: 3425) +(@OGUID+100, 142142, 1, 1, 1, -6678.76, 1100.41, 5.5711, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2742) +(@OGUID+101, 324, 1, 1, 1, -6591.9, 1132.68, -46.9159, 1.867502, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2742) +(@OGUID+102, 176584, 1, 1, 1, -6585.76, 1235.95, 4.63642, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 2742) +(@OGUID+103, 180502, 1, 1, 1, -6669.604, 1564.384, 9.238847, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 2742) +(@OGUID+104, 142142, 1, 1, 1, -6672.45, 1523.17, 7.05092, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2742) +(@OGUID+105, 180549, 1, 1, 1, -6669.596, 1564.427, 8.632831, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 180549 (Area: 2742) +(@OGUID+106, 180564, 1, 1, 1, -6794.585, 1686.036, 7.672324, 1.151916, 0, 0, 0, 1, 120, 255, 1), -- 180564 (Area: 0) +(@OGUID+107, 180502, 1, 1, 1, -6717.213, 1677.152, 9.337455, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 0) +(@OGUID+108, 142142, 1, 1, 1, -6819.41, 1777.03, 2.03912, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 0) +(@OGUID+109, 180502, 1, 1, 1, -6794.586, 1686.104, 8.268842, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 0) +(@OGUID+110, 180554, 1, 1, 1, -6716.85, 1677.28, 8.428649, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 180554 (Area: 0) +(@OGUID+111, 180559, 1, 1, 1, -6749.069, 1647.135, 8.070554, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 180559 (Area: 0) +(@OGUID+112, 207513, 1, 1, 1, -6817.999, 1674.811, 6.369393, 5.969027, 0, 0, 0, 1, 120, 255, 1), -- 207513 (Area: 0) +(@OGUID+113, 180438, 1, 1, 1, -6796.547, 1661.365, 5.864169, 3.132858, 0, 0, 0, 1, 120, 255, 1), -- 180438 (Area: 0) +(@OGUID+114, 180502, 1, 1, 1, -6749.136, 1647.156, 8.87061, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 0) +(@OGUID+115, 180439, 1, 1, 1, -6756.503, 1596.811, 6.672342, 2.216565, 0, 0, 0, 1, 120, 255, 1), -- 180439 (Area: 3098) +(@OGUID+116, 181598, 1, 1, 1, -6684.592, 1440.773, 1.662272, 0.06981169, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 3098) +(@OGUID+117, 176583, 1, 1, 1, -6736.9, 1378.31, 6.49278, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+118, 181618, 1, 1, 1, -7141.96, 1397.97, 4.015255, 4.153885, 0, 0, 0, 1, 120, 255, 1), -- 181618 (Area: 0) +(@OGUID+119, 176584, 1, 1, 1, -6710.31, 1162.12, 2.46757, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 2742) +(@OGUID+120, 142142, 1, 1, 1, -6840.49, 1144.89, 0.740633, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2742) +(@OGUID+121, 175404, 1, 1, 1, -6808.55, 427.128, 21.3844, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 0) +(@OGUID+122, 176583, 1, 1, 1, -6989.05, 267.625, 5.06431, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+123, 176583, 1, 1, 1, -6906.09, 303.21, 4.45669, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+124, 142142, 1, 1, 1, -7000.26, 563.559, 9.80304, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 0) +(@OGUID+125, 175404, 1, 1, 1, -7014.81, 815.375, 18.6189, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 3097) +(@OGUID+126, 180441, 1, 1, 1, -6990.709, 1122.79, 8.938093, 5.427975, 0, 0, 0, 1, 120, 255, 1), -- 180441 (Area: 0) +(@OGUID+127, 176584, 1, 1, 1, -6927.22, 1254.63, 4.74423, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 2739) +(@OGUID+128, 180529, 1, 1, 1, -6944.115, 1180.51, 10.76603, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 180529 (Area: 2739) +(@OGUID+129, 180502, 1, 1, 1, -6998.964, 1226.659, 10.09314, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 2739) +(@OGUID+130, 180534, 1, 1, 1, -6998.963, 1226.66, 9.16291, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 180534 (Area: 2739) +(@OGUID+131, 180502, 1, 1, 1, -6944.198, 1180.508, 11.36739, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 2739) +(@OGUID+132, 180440, 1, 1, 1, -6986.947, 1212.806, 9.094853, 1.06465, 0, 0, 0, 1, 120, 255, 1), -- 180440 (Area: 2739) +(@OGUID+133, 180503, 1, 1, 1, -7010.911, 1215.826, 8.900809, 2.757613, 0, 0, 0, 1, 120, 255, 1), -- 180503 (Area: 2739) +(@OGUID+134, 180502, 1, 1, 1, -7037.553, 1203.68, 7.135024, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 2739) +(@OGUID+135, 180539, 1, 1, 1, -7005.526, 1158.177, 10.93057, 5.009095, 0, 0, 0, 1, 120, 255, 1), -- 180539 (Area: 2739) +(@OGUID+136, 180502, 1, 1, 1, -7005.307, 1158.44, 11.6459, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 2739) +(@OGUID+137, 180544, 1, 1, 1, -7037.585, 1203.613, 6.5139, 1.151916, 0, 0, 0, 1, 120, 255, 1), -- 180544 (Area: 2739) +(@OGUID+138, 176583, 1, 1, 1, -7028.6, 1411.72, 7.00188, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+139, 176584, 1, 1, 1, -6974.27, 1539.53, 4.10059, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+140, 175404, 1, 1, 1, -6906.8, 1828.72, 12.7306, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 0) +(@OGUID+141, 175404, 1, 1, 1, -6975.41, 1856.31, 13.3777, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 0) +(@OGUID+142, 142142, 1, 1, 1, -7075.67, 1454.63, 4.70071, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2743) +(@OGUID+143, 181603, 1, 1, 1, -7142.01, 1397.95, 4.002361, 5.358162, 0, 0, 0, 1, 120, 255, 1), -- 181603 (Area: 0) +(@OGUID+144, 176583, 1, 1, 1, -7093.61, 1290.27, 6.18926, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+145, 180442, 1, 1, 1, -7037.038, 1149.421, 6.298429, 1.701696, 0, 0, 0, 1, 120, 255, 1), -- 180442 (Area: 2739) +(@OGUID+146, 176583, 1, 1, 1, -7038.55, 871.542, 8.52622, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+147, 181598, 1, 1, 1, -7042.218, 887.9305, 8.640655, 6.248279, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 0) +(@OGUID+148, 181598, 1, 1, 1, -7140.045, 883.0612, 11.98965, 5.829401, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 0) +(@OGUID+149, 324, 1, 1, 1, -7088.16, 818.128, 18.5358, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+150, 324, 1, 1, 1, -7044.92, 633.201, 18.3285, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 3097) +(@OGUID+151, 142142, 1, 1, 1, -7053.32, 586.481, 9.15721, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 3097) +(@OGUID+152, 176589, 1, 1, 1, -7184.21, 549.497, 6.23685, 0, 0, 0, 0, 1, 120, 255, 1), -- 176589 (Area: 3097) +(@OGUID+153, 181598, 1, 1, 1, -7084.57, 458.5402, 2.376074, 3.560473, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 3097) +(@OGUID+154, 178553, 1, 1, 1, -7179.284, 435.0925, 64.374, 5.061456, 0, 0, 0, 1, 120, 255, 1), -- 178553 (Area: 2738) +(@OGUID+155, 207513, 1, 1, 1, -7181.478, 450.6615, 63.77919, 4.293513, 0, 0, 0, 1, 120, 255, 1), -- 207513 (Area: 2738) +(@OGUID+156, 175404, 1, 1, 1, -7082.33, 277.913, 11.2858, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2738) +(@OGUID+157, 181598, 1, 1, 1, -7014.154, 253.5497, 3.619849, 5.026549, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 2738) +(@OGUID+158, 142142, 1, 1, 1, -7027.9, 210.788, 4.20395, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2738) +(@OGUID+159, 324, 1, 1, 1, -7049.61, 142.377, 11.3775, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2738) +(@OGUID+160, 176586, 1, 1, 1, -7077.71, 139.974, 15.7263, 3.543024, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 2738) +(@OGUID+161, 179565, 1, 1, 1, -7244.063, 335.0953, 46.33818, 5.515242, 0, 0, 0, 1, 120, 255, 1), -- 179565 (Area: 2738) +(@OGUID+162, 176584, 1, 1, 1, -7251.96, 510.936, 9.73215, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 2738) +(@OGUID+163, 324, 1, 1, 1, -7336.99, 265.264, 11.4132, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2738) +(@OGUID+164, 181598, 1, 1, 1, -7323.53, 473.7561, 9.388776, 0.6108634, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 2738) +(@OGUID+165, 181619, 1, 1, 1, -7588.597, 756.8057, -16.41851, 4.153885, 0, 0, 0, 1, 120, 255, 1), -- 181619 (Area: 2738) +(@OGUID+166, 181635, 1, 1, 1, -7178.807, 1384.245, 2.919416, 4.24988, 0, 0, 0, 1, 120, 255, 1), -- 181635 (Area: 0) +(@OGUID+167, 207853, 1, 1, 1, -7159.431, 1397.229, 2.947799, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 207853 (Area: 2743) +(@OGUID+168, 324, 1, 1, 1, -7515.65, 1533.93, -54.6314, 1.169369, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2743) +(@OGUID+169, 324, 1, 1, 1, -7466.41, 1383.47, -70.8387, 1.466076, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2743) +(@OGUID+170, 142142, 1, 1, 1, -7523.8, 1398.2, 4.82973, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2743) +(@OGUID+171, 180455, 1, 1, 1, -7410.125, 1239.345, -80.2098, 6.19592, 0, 0, 0, 1, 120, 255, 1), -- 180455 (Area: 0) +(@OGUID+172, 207513, 1, 1, 1, -7408.79, 1255.071, -87.11991, 1.675514, 0, 0, 0, 1, 120, 255, 1), -- 207513 (Area: 0) +(@OGUID+173, 324, 1, 1, 1, -7299.19, 1875.64, -86.5326, 1.762782, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2743) +(@OGUID+174, 175404, 1, 1, 1, -7201.17, 1848.75, 13.0787, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2743) +(@OGUID+175, 176586, 1, 1, 1, -7177.46, 1814.58, 14.7229, 3.543024, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 2743) +(@OGUID+176, 324, 1, 1, 1, -7595.47, 1756.27, 30.8139, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2743) +(@OGUID+177, 324, 1, 1, 1, -7713.79, 1694.88, 15.4517, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+178, 324, 1, 1, 1, -7574.74, 1924.99, -59.4103, 5.009095, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2743) +(@OGUID+179, 175404, 1, 1, 1, -7509.44, 1953.84, -56.0211, 0.1745321, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2743) +(@OGUID+180, 142142, 1, 1, 1, -7383.69, 1299.14, 5.15079, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2743) +(@OGUID+181, 176584, 1, 1, 1, -7384.17, 1078.7, 4.57228, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+182, 176584, 1, 1, 1, -7422, 974.99, 3.57441, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+183, 142142, 1, 1, 1, -7435.32, 841.639, -2.97908, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 0) +(@OGUID+184, 176584, 1, 1, 1, -7409.18, 708.036, -5.97337, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+185, 175404, 1, 1, 1, -7544.71, 272.535, 11.4444, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2744) +(@OGUID+186, 181633, 1, 1, 1, -7553.389, 764.2361, -18.51111, 3.124123, 0, 0, 0, 1, 120, 255, 1), -- 181633 (Area: 2744) +(@OGUID+187, 181634, 1, 1, 1, -7568.226, 771.0816, -18.23305, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 181634 (Area: 0) +(@OGUID+188, 176583, 1, 1, 1, -7482.23, 910.069, 4.80748, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+189, 176584, 1, 1, 1, -7526.05, 958.292, 2.39355, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+190, 142142, 1, 1, 1, -7872.93, 1003.14, 5.55378, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 0) +(@OGUID+191, 324, 1, 1, 1, -8034.26, 949.823, 7.97738, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+192, 176584, 1, 1, 1, -8036.52, 826.507, 6.86787, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+193, 175404, 1, 1, 1, -8105.05, 782.689, 20.3235, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2744) +(@OGUID+194, 175404, 1, 1, 1, -7928.56, 680.302, -57.2959, 3.054327, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2744) +(@OGUID+195, 180435, 1, 1, 1, -8080.956, 985.235, 48.29628, 0.9075702, 0, 0, 0, 1, 120, 255, 1), -- 180435 (Area: 0) +(@OGUID+196, 180417, 1, 1, 1, -8020.06, 1112.56, 2.73793, 5.995207, 0, 0, 0, 1, 120, 255, 1), -- 180417 (Area: 0) +(@OGUID+197, 2047, 1, 1, 1, -8055.96, 1140.8, 13.8443, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 2047 (Area: 0) +(@OGUID+198, 324, 1, 1, 1, -8056.75, 1185.49, 24.675, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+199, 180898, 1, 1, 1, -8138.68, 1525.46, 17.3969, 6.265733, 0, 0, 0, 1, 120, 255, 0), -- 180898 (Area: 3427) +(@OGUID+200, 180899, 1, 1, 1, -8140.18, 1525.19, 17.4548, 6.239553, 0, 0, 0, 1, 120, 255, 0), -- 180899 (Area: 3427) +(@OGUID+201, 180904, 1, 1, 1, -8138.581, 1525.419, 17.29988, 6.259562, 0, 0, 1, -4.371139E-08, 120, 255, 0), -- 180904 (Area: 3427) +(@OGUID+202, 181598, 1, 1, 1, -7923.451, 1241.099, -2.829648, 3.159062, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 3427) +(@OGUID+203, 324, 1, 1, 1, -8072.81, 1277.46, 18.4338, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 3427) +(@OGUID+204, 142142, 1, 1, 1, -7940.95, 1272.91, -3.93265, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 3427) +(@OGUID+205, 180633, 1, 1, 1, -8028.912, 1538.617, 2.609402, 6.143561, 0, 0, 0, 1, 120, 255, 1), -- 180633 (Area: 2737) +(@OGUID+206, 180788, 1, 1, 1, -8116.828, 1582.422, 12.4188, 2.251473, 0, 0, 0, 1, 120, 255, 1), -- 180788 (Area: 2737) +(@OGUID+207, 206913, 1, 1, 1, -8047.8, 1639.18, 67.4773, 3.106652, 0, 0, 0, 1, 120, 255, 1), -- 206913 (Area: 2737) +(@OGUID+208, 206914, 1, 1, 1, -8088.07, 1642.26, 67.6341, 3.106652, 0, 0, 0, 1, 120, 255, 1), -- 206914 (Area: 2737) +(@OGUID+209, 180718, 1, 1, 1, -8069.049, 1641.719, 27.02996, 4.747296, 0, 0, 0, 1, 120, 255, 1), -- 180718 (Area: 2737) +(@OGUID+210, 180502, 1, 1, 1, -7959.999, 1824.934, 4.115111, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 0) +(@OGUID+211, 206923, 1, 1, 1, -7942.42, 1810.61, 2.25211, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206923 (Area: 0) +(@OGUID+212, 180456, 1, 1, 1, -7959.772, 1824.889, 3.534744, 2.495818, 0, 0, 0, 1, 120, 255, 1), -- 180456 (Area: 0) +(@OGUID+213, 206921, 1, 1, 1, -7901.88, 1840.68, 2.70903, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206921 (Area: 0) +(@OGUID+214, 206922, 1, 1, 1, -7913.03, 1823.31, 2.33662, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206922 (Area: 0) +(@OGUID+215, 180502, 1, 1, 1, -7934.663, 1877.42, 6.813739, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 0) +(@OGUID+216, 206924, 1, 1, 1, -7955.19, 1839.46, 2.53577, 1.989676, 0, 0, 0, 1, 120, 255, 1), -- 206924 (Area: 0) +(@OGUID+217, 206925, 1, 1, 1, -7943.03, 1862.68, 4.45981, 3.377225, 0, 0, 0, 1, 120, 255, 1), -- 206925 (Area: 0) +(@OGUID+218, 206926, 1, 1, 1, -7955.69, 1883.03, 1.44468, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206926 (Area: 0) +(@OGUID+219, 324, 1, 1, 1, -8040.05, 1889.68, 18.6211, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+220, 206581, 1, 1, 1, -7928.5, 1858.51, 5.74402, 3.143625, 0, 0, 0, 1, 120, 255, 1), -- 206581 (Area: 0) +(@OGUID+221, 180502, 1, 1, 1, -7931.527, 1891.815, 6.433453, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 0) +(@OGUID+222, 206920, 1, 1, 1, -7890.04, 1865.83, 2.85855, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206920 (Area: 0) +(@OGUID+223, 206927, 1, 1, 1, -7957.35, 1903.71, 1.50556, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206927 (Area: 0) +(@OGUID+224, 206928, 1, 1, 1, -7934.92, 1924.79, 3.10868, 2.539448, 0, 0, 0, 1, 120, 255, 1), -- 206928 (Area: 0) +(@OGUID+225, 180466, 1, 1, 1, -7898.387, 1891.27, 9.226339, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 180466 (Area: 0) +(@OGUID+226, 206929, 1, 1, 1, -7908.09, 1923.73, 2.20407, 1.989676, 0, 0, 0, 1, 120, 255, 1), -- 206929 (Area: 0) +(@OGUID+227, 206930, 1, 1, 1, -7892.31, 1916.91, 1.95006, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206930 (Area: 0) +(@OGUID+228, 206582, 1, 1, 1, -7874.12, 1907.66, 3.98996, 3.14334, 0, 0, 0, 1, 120, 255, 1), -- 206582 (Area: 0) +(@OGUID+229, 180461, 1, 1, 1, -7928.462, 1938.129, 5.757288, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 180461 (Area: 0) +(@OGUID+230, 181598, 1, 1, 1, -7949.144, 1941.533, 6.346306, 4.433136, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 0) +(@OGUID+231, 324, 1, 1, 1, -7926.31, 1978.07, 9.19843, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+232, 175404, 1, 1, 1, -7977.07, 2004.68, 9.10331, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 0) +(@OGUID+233, 206915, 1, 1, 1, -7860.7, 1922.38, 2.77013, 3.141745, 0, 0, 0, 1, 120, 255, 1), -- 206915 (Area: 3099) +(@OGUID+234, 206916, 1, 1, 1, -7864.14, 1901.25, 3.01939, 2.967041, 0, 0, 0, 1, 120, 255, 1), -- 206916 (Area: 3099) +(@OGUID+235, 206931, 1, 1, 1, -7874.93, 1930.44, 2.37149, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206931 (Area: 3099) +(@OGUID+236, 206917, 1, 1, 1, -7847.19, 1890.15, 2.70947, 4.075345, 0, 0, 0, 1, 120, 255, 1), -- 206917 (Area: 3099) +(@OGUID+237, 206918, 1, 1, 1, -7850.92, 1864.46, 3.05806, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206918 (Area: 3099) +(@OGUID+238, 206919, 1, 1, 1, -7869.09, 1861.26, 2.91079, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 206919 (Area: 3099) +(@OGUID+239, 180518, 1, 1, 1, -7842.688, 1902.397, 5.728855, 0.8377575, 0, 0, 0, 1, 120, 255, 1), -- 180518 (Area: 3099) +(@OGUID+240, 180502, 1, 1, 1, -7842.949, 1902.33, 6.267222, 0, 0, 0, 0, 1, 120, 255, 1), -- 180502 (Area: 3099) +(@OGUID+241, 324, 1, 1, 1, -7756.01, 1900.07, 13.4717, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 3099) +(@OGUID+242, 181598, 1, 1, 1, -7780.333, 1747.635, 0.851937, 4.136433, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 0) +(@OGUID+243, 181598, 1, 1, 1, -7626.45, 1562.606, 7.874925, 2.984498, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 0) +(@OGUID+244, 176583, 1, 1, 1, -7666.3, 1505.53, 7.7446, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+245, 181598, 1, 1, 1, -7674.719, 1422.585, 1.569345, 4.34587, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 2743) +(@OGUID+246, 142142, 1, 1, 1, -7896.32, 1585.47, 1.63337, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 0) +(@OGUID+247, 176584, 1, 1, 1, -7804.26, 1543.09, 1.24764, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+248, 181598, 1, 1, 1, -7851.413, 1617.031, 3.516145, 3.071766, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 0) +(@OGUID+249, 176584, 1, 1, 1, -7673.79, 1335.85, 2.56213, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+250, 181598, 1, 1, 1, -7748.151, 1021.034, 0.958661, 5.707228, 0, 0, 0, 1, 120, 255, 1), -- 181598 (Area: 0) +(@OGUID+251, 176584, 1, 1, 1, -7786.89, 1016.74, -1.82482, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+252, 181617, 1, 1, 1, -7588.776, 756.7775, -16.40946, 2.373644, 0, 0, 0, 1, 120, 255, 1), -- 181617 (Area: 0) +(@OGUID+253, 176584, 1, 1, 1, -7656.84, 1118.35, 4.29449, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 0) +(@OGUID+254, 176583, 1, 1, 1, -7633.23, 1170.62, 3.90447, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+255, 180453, 1, 1, 1, -8323.092, 726.4375, -68.78096, 0.802851, 0, 0, 0, 1, 120, 255, 1), -- 180453 (Area: 2744) +(@OGUID+256, 2047, 1, 1, 1, -8346.8, 690.752, -70.9637, 5.969027, 0, 0, 0, 1, 120, 255, 1), -- 2047 (Area: 2744) +(@OGUID+257, 324, 1, 1, 1, -7897.19, 218.493, 10.0032, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2744) +(@OGUID+258, 142142, 1, 1, 1, -7731.75, 235.425, 4.21406, 0, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 2744) +(@OGUID+259, 324, 1, 1, 1, -7713.01, 230.903, -38.8592, 0.5759573, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 2744) +(@OGUID+260, 175404, 1, 1, 1, -7725.87, 175.55, 13.4269, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 2744) +(@OGUID+261, 176584, 1, 1, 1, -7674.07, 275.069, 6.37011, 2.879789, 0, 0, 0, 1, 120, 255, 1); -- 176584 (Area: 2744) + +DELETE FROM `creature_template_addon` WHERE `entry` IN (11882,15609, 17766, 11730, 17079, 17070, 15615, 15617, 15613, 15612, 15616, 15903, 15444, 15443, 15442, 15441, 17080, 17068, 17090, 17765, 15545, 14472, 11882, 15178, 11744, 15201, 50737, 11723, 15611, 11880, 15184, 15614, 15419, 16543, 16091, 15177, 15270); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES +(11744, 0, 0x0, 0x1, '19514'), -- 11744 - 19514 +(15201, 0, 0x0, 0x1, '15733'), -- 15201 - 15733 +(50737, 0, 0x0, 0x1, '8601'), -- 50737 - 8601 +(11723, 0, 0x20000, 0x1, '22766'), -- 11723 - 22766 +(15611, 0, 0x0, 0x1, '6718'), -- 15611 - 6718tc_wod_master_hotfixes +(15184, 0, 0x0, 0x1, '18950'), -- 15184 - 18950 +(15614, 0, 0x0, 0x1, ''), -- 15614 +(15419, 0, 0x0, 0x101, ''), -- 15419 +(16543, 0, 0x0, 0x1, ''), -- 16543 +(16091, 0, 0x0, 0x101, '8279'), -- 16091 - 8279 +(15177, 0, 0x0, 0x101, ''), -- 15177 +(15270, 0, 0x0, 0x101, ''), -- 15270 +(15178, 0, 0x0, 0x101, ''), -- 15178 +(11882, 0, 0x0, 0x1, '13236'), -- 11882 - 13236 +(14472, 0, 0x0, 0x1, '21788'), -- 14472 - 21788 +(15545, 6080, 0x0, 0x1, ''), -- 15545 +(17765, 0, 0x0, 0x101, '18950'), -- 17765 - 18950 +(17090, 0, 0x0, 0x1, ''), -- 17090 +(17068, 0, 0x0, 0x101, ''), -- 17068 +(17080, 0, 0x0, 0x101, ''), -- 17080 +(15441, 0, 0x0, 0x101, ''), -- 15441 +(15442, 0, 0x0, 0x101, ''), -- 15442 +(15443, 0, 0x0, 0x101, ''), -- 15443 +(15444, 0, 0x0, 0x101, ''), -- 15444 +(15903, 0, 0x0, 0x101, ''), -- 15903 +(15616, 0, 0x0, 0x101, ''), -- 15616 +(15612, 0, 0x0, 0x101, ''), -- 15612 +(15613, 0, 0x0, 0x101, '15507'), -- 15613 - 15507 +(15617, 0, 0x0, 0x101, ''), -- 15617 +(15615, 0, 0x0, 0x101, ''), -- 15615 +(17070, 0, 0x0, 0x101, ''), -- 17070 +(17079, 0, 0x0, 0x101, ''), -- 17079 +(11730, 0, 0x20000, 0x1, '22766'), -- 11730 - 22766 +(17766, 0, 0x0, 0x101, '18950'), -- 17766 - 18950 +(15609, 0, 0x0, 0x1, '6718'); -- 15609 - 6718 + +-- Twilight Stonecaller SAI +SET @ENTRY := 11882; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,1000,1100,20000,20000,11,13236,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Stonecaller - Out of Combat - Cast 'Nature Channeling'"); + +-- Acroniss SAI +SET @ENTRY := 50737; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,5000,12000,15000,11,7992,0,0,0,0,0,2,0,0,0,0,0,0,0," Acroniss - In Combat - Cast 'Slowing Poison'"); + +-- Dredge Crusher SAI +SET @ENTRY := 11741; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4000,15000,17000,11,6607,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dredge Crusher - In Combat - Cast 'Lash'"); + +-- Rock Stalker SAI +SET @ENTRY := 11739; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,30,9000,11000,11,745,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rock Stalker - Within 0-30 Range - Cast 'Web'"), +(@ENTRY,0,1,0,0,0,100,0,4000,6000,22000,24000,11,744,32,0,0,0,0,2,0,0,0,0,0,0,0,"Rock Stalker - In Combat - Cast 'Poison'"); + +-- Rex Ashil SAI +SET @ENTRY := 14475; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,5,18000,22000,11,12097,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rex Ashil - Within 0-5 Range - Cast 'Pierce Armor'"); + +-- Hive'Regal Spitfire SAI +SET @ENTRY := 11732; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,16000,19000,11,21047,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Regal Spitfire - In Combat - Cast 'Corrosive Acid Spit'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,13600,14500,11,5708,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Regal Spitfire - Within 0-5 Range - Cast 'Swoop'"); + +-- Ffexk the Dunestalker SAI +SET @ENTRY := 50897; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,5000,6000,7000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Ffexk the Dunestalker - In Combat - No Action Type"); + +-- Tortured Druid SAI +SET @ENTRY := 12178; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,25,0,0,11,23381,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Druid - Between 0-25% Health - Cast 'Healing Touch' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,5000,8000,5000,8000,11,23380,0,0,0,0,0,2,0,0,0,0,0,0,0,"Tortured Druid - In Combat - Cast 'Moonfire'"), +(@ENTRY,0,2,3,6,0,75,0,0,0,0,0,11,21327,2,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Druid - On Just Died - Cast 'Summon Hive'Ashi Drones'"), +(@ENTRY,0,3,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Druid - On Just Died - Say Line 0"); + +-- Tortured Sentinel SAI +SET @ENTRY := 12179; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,6,0,75,0,0,0,0,0,11,21327,2,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Sentinel - On Just Died - Cast 'Summon Hive'Ashi Drones'"), +(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Sentinel - On Just Died - Say Line 0"); + +DELETE FROM `creature_text` WHERE `entry` IN (12178, 12179); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(12178, 0, 0, '%s''s death wail has stirred the nearby silithid hive!', 16, 0, 100, 0, 0, 0, 8619, 0, 'Tortured Druid'), +(12179, 0, 0, '%s''s death wail has stirred the nearby silithid hive!', 16, 0, 100, 0, 0, 0, 8620, 0, 'Tortured Sentinel'); + +-- Twilight Marauder Morna SAI +SET @ENTRY := 15541; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,5000,8000,9000,13000,11,16856,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder Morna - In Combat - Cast 'Mortal Strike'"), +(@ENTRY,0,1,0,0,0,100,0,0,5,5000,9000,11,15572,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder Morna - In Combat - Cast 'Sunder Armor'"), +(@ENTRY,0,2,0,0,0,100,0,9000,15000,14000,18000,11,23600,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder Morna - In Combat - Cast 'Piercing Howl'"); + +-- Twilight Marauder SAI +SET @ENTRY := 15542; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,0,0,0,0,0,11,22911,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder - On Aggro - Cast 'Charge'"), +(@ENTRY,0,1,0,2,0,100,1,0,20,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Marauder - Between 0-20% Health - Cast 'Enrage' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,9000,15000,14000,18000,11,23600,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Marauder - In Combat - Cast 'Piercing Howl'"); + +-- Gretheer SAI +SET @ENTRY := 14472; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,18000,22000,11,21787,32,0,0,0,0,2,0,0,0,0,0,0,0,"Gretheer - In Combat - Cast 'Deadly Poison'"), +(@ENTRY,0,1,0,9,0,100,0,0,30,9000,11000,11,745,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gretheer - Within 0-30 Range - Cast 'Web'"); + +-- Krellack SAI +SET @ENTRY := 14476; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,17000,21000,11,17170,0,0,0,0,0,2,0,0,0,0,0,0,0,"Krellack - In Combat - Cast 'Fatal Sting'"); + +-- Hive'Zora Wasp SAI +SET @ENTRY := 11727; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4500,15000,21000,11,19448,32,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Zora Wasp - In Combat - Cast 'Poison'"); + +-- Horde Silithyst Sentinel SAI +SET @ENTRY := 17766; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,14000,11,19643,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - In Combat - Cast 'Mortal Strike'"), +(@ENTRY,0,1,0,9,0,100,1,0,30,0,0,11,18396,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - Within 0-30 Range - Cast 'Dismounting Blast' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,6000,8000,22000,24000,11,18328,0,0,0,0,0,1,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - In Combat - Cast 'Incapacitating Shout'"), +(@ENTRY,0,3,0,13,0,100,0,2000,4500,20000,30000,11,15618,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - On Victim Casting 'Alexander's Test Periodic Aura' - Cast 'Snap Kick'"); + +-- Huricanian SAI +SET @ENTRY := 14478; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,4500,15000,21000,11,15659,0,0,0,0,0,4,0,0,0,0,0,0,0,"Huricanian - In Combat - Cast 'Chain Lightning'"); + +-- Janela Stouthammer SAI +SET @ENTRY := 15443; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4000,16000,18000,11,14518,0,0,0,0,0,2,0,0,0,0,0,0,0,"Janela Stouthammer - In Combat - Cast 'Crusader Strike'"), +(@ENTRY,0,1,0,2,0,100,0,0,30,24000,25000,11,25263,0,0,0,0,0,1,0,0,0,0,0,0,0,"Janela Stouthammer - Between 0-30% Health - Cast 'Holy Light'"); + +-- Krellack SAI +SET @ENTRY := 14476; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,17000,21000,11,17170,0,0,0,0,0,2,0,0,0,0,0,0,0,"Krellack - In Combat - Cast 'Fatal Sting'"); + +-- Krug Skullsplit SAI +SET @ENTRY := 15612; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,5000,7000,18000,22000,11,15548,0,0,0,0,0,1,0,0,0,0,0,0,0,"Krug Skullsplit - In Combat - Cast 'Thunderclap'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,12000,16000,11,16856,0,0,0,0,0,2,0,0,0,0,0,0,0,"Krug Skullsplit - Within 0-5 Range - Cast 'Mortal Strike'"); + +-- Lapress SAI +SET @ENTRY := 14473; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4000,25000,27000,11,13445,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lapress - In Combat - Cast 'Rend'"); + +-- Merok Longstride SAI +SET @ENTRY := 15613; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,5000,15000,16000,11,15616,0,0,0,0,0,2,0,0,0,0,0,0,0,"Merok Longstride - In Combat - Cast 'Flame Shock'"), +(@ENTRY,0,1,0,1,0,100,0,500,1000,600000,600000,11,15507,0,0,0,0,0,1,0,0,0,0,0,0,0,"Merok Longstride - Out of Combat - Cast 'Lightning Shield'"), +(@ENTRY,0,2,0,16,0,100,0,15507,1,15000,30000,11,15507,0,0,0,0,0,1,0,0,0,0,0,0,0,"Merok Longstride - On Friendly Unit Missing Buff 'Lightning Shield' - Cast 'Lightning Shield'"); + +-- Sand Skitterer SAI +SET @ENTRY := 11738; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,6000,22000,24000,11,744,32,0,0,0,0,2,0,0,0,0,0,0,0,"Sand Skitterer - In Combat - Cast 'Poison'"); + +-- Hive'Ashi Sandstalker SAI +SET @ENTRY := 11723; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hive'Ashi Sandstalker - On Respawn - Cast 'Sneak' (No Repeat)"), +(@ENTRY,0,1,0,7,0,100,1,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hive'Ashi Sandstalker - On Evade - Cast 'Sneak' (No Repeat)"); + +-- Shadow Priestess Shai SAI +SET @ENTRY := 15615; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3000,12000,16000,11,17194,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shadow Priestess Shai - In Combat - Cast 'Mind Blast'"), +(@ENTRY,0,1,0,0,0,100,0,6000,8000,25000,26000,11,17146,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shadow Priestess Shai - In Combat - Cast 'Shadow Word: Pain'"), +(@ENTRY,0,2,0,2,0,100,0,0,35,22000,26000,11,17138,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shadow Priestess Shai - Between 0-35% Health - Cast 'Flash Heal'"); + +-- Hive'Zora Hive Sister SAI +SET @ENTRY := 11729; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,4500,14000,15000,11,7951,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Zora Hive Sister - In Combat - Cast 'Toxic Spit'"); + +-- Alliance Silithyst Sentinel SAI +SET @ENTRY := 17765; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,14000,11,19643,0,0,0,0,0,2,0,0,0,0,0,0,0,"Alliance Silithyst Sentinel - In Combat - Cast 'Mortal Strike'"), +(@ENTRY,0,1,0,9,0,100,1,0,30,0,0,11,18396,0,0,0,0,0,2,0,0,0,0,0,0,0,"Alliance Silithyst Sentinel - Within 0-30 Range - Cast 'Dismounting Blast' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,6000,8000,22000,24000,11,18328,0,0,0,0,0,1,0,0,0,0,0,0,0,"Alliance Silithyst Sentinel - In Combat - Cast 'Incapacitating Shout'"), +(@ENTRY,0,3,0,13,0,100,0,2000,4500,20000,30000,11,11972,0,0,0,0,0,2,0,0,0,0,0,0,0,"Alliance Silithyst Sentinel - On Victim Casting 'Alexander's Test Periodic Aura' - Cast 'Shield Bash'"); + +-- Horde Silithyst Sentinel SAI +SET @ENTRY := 17766; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,14000,11,19643,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - In Combat - Cast 'Mortal Strike'"), +(@ENTRY,0,1,0,9,0,100,1,0,30,0,0,11,18396,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - Within 0-30 Range - Cast 'Dismounting Blast' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,6000,8000,22000,24000,11,18328,0,0,0,0,0,1,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - In Combat - Cast 'Incapacitating Shout'"), +(@ENTRY,0,3,0,13,0,100,0,2000,4500,20000,30000,11,15618,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Silithyst Sentinel - On Victim Casting 'Alexander's Test Periodic Aura' - Cast 'Snap Kick'"); + +-- Hive'Regal Slavemaker SAI +SET @ENTRY := 11733; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3000,18000,20000,11,3584,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Regal Slavemaker - In Combat - Cast 'Volatile Infection'"), +(@ENTRY,0,1,0,0,0,100,0,2000,4500,22000,24000,11,19469,32,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Regal Slavemaker - In Combat - Cast 'Poison Mind'"); + +-- Dust Stormer SAI +SET @ENTRY := 11744; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,6000,8000,22000,25000,11,19513,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dust Stormer - In Combat - Cast 'Lightning Cloud'"), +(@ENTRY,0,1,0,1,0,100,0,500,1000,600000,600000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dust Stormer - Out of Combat - Cast 'Lightning Shield'"), +(@ENTRY,0,2,0,16,0,100,0,19514,1,15000,30000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dust Stormer - On Friendly Unit Missing Buff 'Lightning Shield' - Cast 'Lightning Shield'"); + +-- Stonelash Flayer SAI +SET @ENTRY := 11737; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,15000,18000,11,5416,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonelash Flayer - In Combat - Cast 'Venom Sting'"), +(@ENTRY,0,1,0,0,0,100,0,6000,7000,15000,16000,11,3391,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonelash Flayer - In Combat - Cast 'Thrash'"); + +-- Stonelash Scorpid SAI +SET @ENTRY := 11735; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,15000,18000,11,5416,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonelash Scorpid - In Combat - Cast 'Venom Sting'"); + +-- Stonelash Pincer SAI +SET @ENTRY := 11736; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4000,21000,22000,11,3604,0,0,0,0,0,2,0,0,0,0,0,0,0,"Stonelash Pincer - In Combat - Cast 'Tendon Rip'"), +(@ENTRY,0,1,0,0,0,100,0,6000,7000,15000,16000,11,3391,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stonelash Pincer - In Combat - Cast 'Thrash'"); + +-- Deathclasp SAI +SET @ENTRY := 15196; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,3500,20000,23000,11,13298,32,0,0,0,0,2,0,0,0,0,0,0,0,"Deathclasp - In Combat - Cast 'Poison'"), +(@ENTRY,0,1,0,0,0,100,0,5000,7000,16000,18000,11,18670,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathclasp - In Combat - Cast 'Knock Away'"); + +-- Hive'Ashi Defender SAI +SET @ENTRY := 11722; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4500,12000,15000,11,11443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Ashi Defender - In Combat - Cast 'Cripple'"), +(@ENTRY,0,1,0,0,0,100,0,6000,9000,22000,27000,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Ashi Defender - In Combat - Cast 'Disarm'"); + +-- Vyral the Vile SAI +SET @ENTRY := 15202; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vyral the Vile - On Aggro - Set Event Phase 1 (No Repeat)"), +(@ENTRY,0,1,0,4,1,100,1,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vyral the Vile - On Aggro - Disable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,2,0,4,1,100,1,0,0,0,0,11,19816,0,0,0,0,0,2,0,0,0,0,0,0,0,"Vyral the Vile - On Aggro - Cast 'Fireball' (Phase 1) (No Repeat)"), +(@ENTRY,0,3,0,9,1,100,0,0,40,3400,4700,11,19816,0,0,0,0,0,2,0,0,0,0,0,0,0,"Vyral the Vile - Within 0-40 Range - Cast 'Fireball' (Phase 1)"), +(@ENTRY,0,4,0,9,1,100,0,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vyral the Vile - Within 40-100 Range - Enable Combat Movement (Phase 1)"), +(@ENTRY,0,5,0,9,1,100,0,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vyral the Vile - Within 10-15 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,6,0,9,1,100,0,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vyral the Vile - Within 0-40 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,7,0,3,1,100,0,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vyral the Vile - Between 0-15% Mana - Set Event Phase 2 (Phase 1)"), +(@ENTRY,0,8,0,3,2,100,0,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vyral the Vile - Between 0-15% Mana - Enable Combat Movement (Phase 2)"), +(@ENTRY,0,9,0,3,2,100,0,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vyral the Vile - Between 30-100% Mana - Set Event Phase 1 (Phase 2)"), +(@ENTRY,0,10,0,9,1,100,0,0,20,12000,15000,11,17439,0,0,0,0,0,2,0,0,0,0,0,0,0,"Vyral the Vile - Within 0-20 Range - Cast 'Shadow Shock' (Phase 1)"); + +-- Hive'Regal Ambusher SAI +SET @ENTRY := 11730; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hive'Regal Ambusher - On Respawn - Cast 'Sneak' (No Repeat)"), +(@ENTRY,0,1,0,7,0,100,1,0,0,0,0,11,22766,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hive'Regal Ambusher - On Evade - Cast 'Sneak' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,2000,4500,15000,24000,11,744,32,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Regal Ambusher - In Combat - Cast 'Poison'"); + +-- Hive'Zora Wasp SAI +SET @ENTRY := 11727; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4500,15000,21000,11,19448,32,0,0,0,0,2,0,0,0,0,0,0,0,"Hive'Zora Wasp - In Combat - Cast 'Poison'"); + +-- Cyclone Warrior SAI +SET @ENTRY := 11745; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,13000,11,12553,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cyclone Warrior - In Combat - Cast 'Shock'"), +(@ENTRY,0,1,0,0,0,100,0,8000,9000,21000,27000,11,15535,0,0,0,0,0,4,0,0,0,0,0,0,0,"Cyclone Warrior - In Combat - Cast 'Enveloping Winds'"); + +-- Desert Rumbler SAI +SET @ENTRY := 11746; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,5000,7000,18000,24000,11,5568,0,0,0,0,0,1,0,0,0,0,0,0,0,"Desert Rumbler - In Combat - Cast 'Trample'"); + +-- Desert Rager SAI +SET @ENTRY := 11747; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4500,12000,16000,11,13728,0,0,0,0,0,2,0,0,0,0,0,0,0,"Desert Rager - In Combat - Cast 'Earth Shock'"), +(@ENTRY,0,1,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Desert Rager - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Twilight Keeper Exeter SAI +SET @ENTRY := 11803; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4500,12000,13000,11,16856,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Exeter - In Combat - Cast 'Mortal Strike'"), +(@ENTRY,0,1,0,0,0,100,0,5000,9000,22000,24000,11,22427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Exeter - In Combat - Cast 'Concussion Blow'"); + +-- Twilight Keeper Havunth SAI +SET @ENTRY := 11804; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,8,13600,14500,11,17366,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Keeper Havunth - Within 0-8 Range - Cast 'Fire Nova'"), +(@ENTRY,0,1,0,9,0,100,0,0,20,16000,19000,11,13339,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Havunth - Within 0-20 Range - Cast 'Fire Blast'"); + +-- Twilight Keeper Mayna SAI +SET @ENTRY := 15200; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,20,12000,14500,11,17165,1,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Mayna - Within 0-20 Range - Cast 'Mind Flay'"), +(@ENTRY,0,1,0,0,0,100,0,5000,6000,20000,27000,11,15654,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Keeper Mayna - In Combat - Cast 'Shadow Word: Pain'"), +(@ENTRY,0,2,0,0,0,100,0,9000,12000,33000,35000,11,22884,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Keeper Mayna - In Combat - Cast 'Psychic Scream'"); + +-- Twilight Lord Everun SAI +SET @ENTRY := 14479; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Lord Everun - On Aggro - Set Event Phase 1 (No Repeat)"), +(@ENTRY,0,1,0,4,1,100,1,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Lord Everun - On Aggro - Disable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,2,0,4,1,100,1,0,0,0,0,11,19816,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Lord Everun - On Aggro - Cast 'Fireball' (Phase 1) (No Repeat)"), +(@ENTRY,0,3,0,9,1,100,0,0,40,3400,4700,11,19816,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Lord Everun - Within 0-40 Range - Cast 'Fireball' (Phase 1)"), +(@ENTRY,0,4,0,9,1,100,0,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Lord Everun - Within 40-100 Range - Enable Combat Movement (Phase 1)"), +(@ENTRY,0,5,0,9,1,100,0,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Lord Everun - Within 10-15 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,6,0,9,1,100,0,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Lord Everun - Within 0-40 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,7,0,3,1,100,0,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Lord Everun - Between 0-15% Mana - Set Event Phase 2 (Phase 1)"), +(@ENTRY,0,8,0,3,2,100,0,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Lord Everun - Between 0-15% Mana - Enable Combat Movement (Phase 2)"), +(@ENTRY,0,9,0,3,2,100,0,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Lord Everun - Between 30-100% Mana - Set Event Phase 1 (Phase 2)"), +(@ENTRY,0,10,0,9,1,100,0,0,20,12000,15000,11,17439,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Lord Everun - Within 0-20 Range - Cast 'Shadow Shock' (Phase 1)"); + +-- Twilight Geolord SAI +SET @ENTRY := 11881; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,9483,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Geolord - On Aggro - Cast 'Boulder' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,2000,3000,14000,15000,11,13728,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Geolord - In Combat - Cast 'Earth Shock'"); + +-- Twilight Master SAI +SET @ENTRY := 11883; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - On Aggro - Set Event Phase 1 (No Repeat)"), +(@ENTRY,0,1,0,4,1,100,1,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - On Aggro - Disable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,2,0,4,1,100,1,0,0,0,0,11,9672,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Master - On Aggro - Cast 'Frostbolt' (Phase 1) (No Repeat)"), +(@ENTRY,0,3,0,9,1,100,0,0,40,3400,4700,11,9672,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Master - Within 0-40 Range - Cast 'Frostbolt' (Phase 1)"), +(@ENTRY,0,4,0,9,1,100,0,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - Within 40-100 Range - Enable Combat Movement (Phase 1)"), +(@ENTRY,0,5,0,9,1,100,0,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - Within 10-15 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,6,0,9,1,100,0,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - Within 0-40 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,7,0,3,1,100,0,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - Between 0-15% Mana - Set Event Phase 2 (Phase 1)"), +(@ENTRY,0,8,0,3,2,100,0,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - Between 0-15% Mana - Enable Combat Movement (Phase 2)"), +(@ENTRY,0,9,0,3,2,100,0,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - Between 30-100% Mana - Set Event Phase 1 (Phase 2)"), +(@ENTRY,0,10,0,9,1,100,0,0,8,13600,14500,11,11831,1,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Master - Within 0-8 Range - Cast 'Frost Nova' (Phase 1)"), +(@ENTRY,0,11,0,0,1,100,0,8000,9000,24000,25000,11,12058,1,0,0,0,0,4,0,0,0,0,0,0,0,"Cast Chain Lightning"), +(@ENTRY,0,12,0,0,1,100,0,5000,6000,15000,21000,11,13339,1,0,0,0,0,2,0,0,0,0,0,0,0,"Cast Fire Blast"); + +-- Twilight Overlord SAI +SET @ENTRY := 15213; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - On Aggro - Set Event Phase 1 (No Repeat)"), +(@ENTRY,0,1,0,4,1,100,1,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - On Aggro - Disable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,2,0,4,1,100,1,0,0,0,0,11,9672,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Overlord - On Aggro - Cast 'Frostbolt' (Phase 1) (No Repeat)"), +(@ENTRY,0,3,0,9,1,100,0,0,40,3400,4700,11,9672,0,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Overlord - Within 0-40 Range - Cast 'Frostbolt' (Phase 1)"), +(@ENTRY,0,4,0,9,1,100,0,40,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - Within 40-100 Range - Enable Combat Movement (Phase 1)"), +(@ENTRY,0,5,0,9,1,100,0,10,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - Within 10-15 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,6,0,9,1,100,0,0,40,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - Within 0-40 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,7,0,3,1,100,0,0,15,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - Between 0-15% Mana - Set Event Phase 2 (Phase 1)"), +(@ENTRY,0,8,0,3,2,100,0,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - Between 0-15% Mana - Enable Combat Movement (Phase 2)"), +(@ENTRY,0,9,0,3,2,100,0,30,100,100,100,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - Between 30-100% Mana - Set Event Phase 1 (Phase 2)"), +(@ENTRY,0,10,0,9,1,100,0,0,8,13600,14500,11,11831,1,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Overlord - Within 0-8 Range - Cast 'Frost Nova' (Phase 1)"), +(@ENTRY,0,11,0,0,1,100,0,8000,9000,24000,25000,11,12058,1,0,0,0,0,4,0,0,0,0,0,0,0,"Twilight Overlord - In Combat - Cast 'Chain Lightning' (Phase 1)"), +(@ENTRY,0,12,0,0,1,100,0,5000,6000,15000,21000,11,13339,1,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Overlord - In Combat - Cast 'Fire Blast' (Phase 1)"); + +-- Twilight Prophet SAI +SET @ENTRY := 15308; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,4500,12000,15000,11,15305,0,0,0,0,0,4,0,0,0,0,0,0,0,"Twilight Prophet - In Combat - Cast 'Chain Lightning'"), +(@ENTRY,0,1,0,0,0,100,0,8000,9000,25000,28000,11,22884,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Prophet - In Combat - Cast 'Psychic Scream'"), +(@ENTRY,0,2,0,9,0,50,0,0,8,16000,19000,11,17366,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Prophet - Within 0-8 Range - Cast 'Fire Nova'"), +(@ENTRY,0,3,0,9,0,30,0,0,8,16000,19000,11,15531,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Prophet - Within 0-8 Range - Cast 'Frost Nova'"); + +-- Twilight Avenger SAI +SET @ENTRY := 11880; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Twilight Avenger - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +UPDATE `creature` SET `spawndist`=6, `MovementType`=1 WHERE `guid` IN (362142,362143,362140,362133,362151,362150,362141,362146,362132, 362125, 362123, 362126); + +UPDATE `creature` SET `spawndist`=8, `MovementType`=1 WHERE `id` IN (11725,11729,12179,12178,11746,11744,11698,15475,11721,11723,11724,11722,11738,11740, 11735); + +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (11728,11727,15172); + +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `id` IN (11730,11733,11734,11732,11737,11739,11741,11745,11736,11880,11881); +-- corrections +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (362949,362935,362911,362906,362904,362913,362772,362860,362741,362747,362749,362748,362858,362779,362754,362756,362762,362657); + +DELETE FROM `creature_addon` WHERE `guid` IN (363402,362772,362858,362860,362748,362756,362779,362741,362749,362170,362173,362160,362158,362168); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(362168,0,0,0,0,69, ''), +(362158,0,0,0,0,69, ''), +(362160,0,0,0,0,69, ''), +(362173,0,0,0,0,69, ''), +-- +(362749,0,0,3,0,0, ''), +(362741,0,0,3,0,0, ''), +(362779,0,0,3,0,0, ''), +(362756,0,0,3,0,0, ''), +(362772,0,0,3,0,0, ''), +-- +(363402,0,0,1,0,0, ''), +-- +(362748,0,0,0,0,69, ''), +(362860,0,0,0,0,69, ''), +(362858,0,0,0,0,69, ''), +(362170,0,0,0,0,69, ''); + +-- Pathing for Entry: 15196 'TDB FORMAT' +SET @NPC := @CGUID+1680; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-8074.142,`position_y`=971.8752,`position_z`=46.62597 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-8074.142,971.8752,46.62597,0,0,0,0,100,0), +(@PATH,2,-8075.392,971.1252,46.87597,0,0,0,0,100,0), +(@PATH,3,-8077.392,970.8752,47.62597,0,0,0,0,100,0), +(@PATH,4,-8078.892,970.6252,48.12597,0,0,0,0,100,0), +(@PATH,5,-8081.892,969.8752,48.87597,0,0,0,0,100,0), +(@PATH,6,-8082.169,969.7091,49.24072,0,0,0,0,100,0), +(@PATH,7,-8083.919,969.2091,50.24072,0,0,0,0,100,0), +(@PATH,8,-8085.919,969.2091,51.24072,0,0,0,0,100,0), +(@PATH,9,-8086.669,969.2091,51.49072,0,0,0,0,100,0), +(@PATH,10,-8087.669,969.2091,52.24072,0,0,0,0,100,0), +(@PATH,11,-8089.669,968.9591,53.49072,0,0,0,0,100,0), +(@PATH,12,-8090.669,968.9591,54.24072,0,0,0,0,100,0), +(@PATH,13,-8089.895,968.6848,53.75996,0,0,0,0,100,0), +(@PATH,14,-8090.895,968.6848,54.50996,0,0,0,0,100,0), +(@PATH,15,-8091.895,968.6848,54.75996,0,0,0,0,100,0), +(@PATH,16,-8093.645,968.4348,55.50996,0,0,0,0,100,0), +(@PATH,17,-8094.645,968.4348,56.25996,0,0,0,0,100,0), +(@PATH,18,-8096.645,968.4348,57.25996,0,0,0,0,100,0), +(@PATH,19,-8094.852,968.2301,56.50195,0,0,0,0,100,0), +(@PATH,20,-8096.852,968.2301,57.50195,0,0,0,0,100,0), +(@PATH,21,-8097.602,967.9801,57.50195,0,0,0,0,100,0), +(@PATH,22,-8099.352,967.9801,58.25195,0,0,0,0,100,0), +(@PATH,23,-8101.352,967.9801,59.25195,0,0,0,0,100,0), +(@PATH,24,-8101.396,967.908,59.62578,0,0,0,0,100,0), +(@PATH,25,-8102.646,967.908,59.87578,0,0,0,0,100,0), +(@PATH,26,-8104.396,968.158,60.62578,0,0,0,0,100,0), +(@PATH,27,-8106.396,968.408,61.37578,0,0,0,0,100,0), +(@PATH,28,-8105.296,968.0443,61.05129,0,0,0,0,100,0), +(@PATH,29,-8103.546,968.0443,60.55129,0,0,0,0,100,0), +(@PATH,30,-8103.265,968.0024,60.31773,0,0,0,0,100,0), +(@PATH,31,-8102.515,968.0024,59.81773,0,0,0,0,100,0), +(@PATH,32,-8099.765,968.0024,58.56773,0,0,0,0,100,0), +(@PATH,33,-8097.278,968.2449,57.40725,0,0,0,0,100,0), +(@PATH,34,-8095.528,968.2449,56.15725,0,0,0,0,100,0), +(@PATH,35,-8094.528,968.2449,55.90725,0,0,0,0,100,0), +(@PATH,36,-8092.528,968.4949,54.90725,0,0,0,0,100,0), +(@PATH,37,-8092.146,968.8511,54.73791,0,0,0,0,100,0), +(@PATH,38,-8091.646,968.8511,54.48791,0,0,0,0,100,0), +(@PATH,39,-8089.646,968.8511,53.48791,0,0,0,0,100,0), +(@PATH,40,-8088.896,968.8511,52.73791,0,0,0,0,100,0), +(@PATH,41,-8086.896,969.1011,51.73791,0,0,0,0,100,0), +(@PATH,42,-8085.896,969.1011,51.23791,0,0,0,0,100,0), +(@PATH,43,-8083.639,969.625,50.13757,0,0,0,0,100,0), +(@PATH,44,-8081.639,969.875,48.88757,0,0,0,0,100,0), +(@PATH,45,-8080.139,970.125,48.38757,0,0,0,0,100,0), +(@PATH,46,-8078.139,970.625,47.63757,0,0,0,0,100,0), +(@PATH,47,-8075.061,971.475,46.74481,0,0,0,0,100,0), +(@PATH,48,-8073.311,972.475,45.99481,0,0,0,0,100,0), +(@PATH,49,-8070.311,974.475,45.49481,0,0,0,0,100,0), +(@PATH,50,-8067.061,976.725,44.99481,0,0,0,0,100,0), +(@PATH,51,-8066.604,976.7609,44.64262,0,0,0,0,100,0), +(@PATH,52,-8065.854,977.5109,44.39262,0,0,0,0,100,0), +(@PATH,53,-8065.604,980.5109,43.64262,0,0,0,0,100,0), +(@PATH,54,-8065.104,984.2609,43.14262,0,0,0,0,100,0), +(@PATH,55,-8065.043,984.5813,42.99982,0,0,0,0,100,0), +(@PATH,56,-8065.043,985.0813,42.74982,0,0,0,0,100,0), +(@PATH,57,-8064.793,990.8313,42.49982,0,0,0,0,100,0), +(@PATH,58,-8064.486,990.9414,42.21078,0,0,0,0,100,0), +(@PATH,59,-8064.236,993.6914,41.71078,0,0,0,0,100,0), +(@PATH,60,-8062.986,994.9414,41.21078,0,0,0,0,100,0), +(@PATH,61,-8060.414,998.0908,40.60638,0,0,0,0,100,0), +(@PATH,62,-8058.664,1000.091,40.10638,0,0,0,0,100,0), +(@PATH,63,-8059.054,999.5816,40.10091,0,0,0,0,100,0), +(@PATH,64,-8059.35,999.4326,40.43353,0,0,0,0,100,0), +(@PATH,65,-8060.6,997.9326,40.68353,0,0,0,0,100,0), +(@PATH,66,-8063.85,994.4326,41.43353,0,0,0,0,100,0), +(@PATH,67,-8063.792,994.0939,41.68647,0,0,0,0,100,0), +(@PATH,68,-8064.292,993.3439,41.68647,0,0,0,0,100,0), +(@PATH,69,-8064.792,987.5939,42.43647,0,0,0,0,100,0), +(@PATH,70,-8064.878,987.4844,42.73891,0,0,0,0,100,0), +(@PATH,71,-8065.128,984.7344,42.98891,0,0,0,0,100,0), +(@PATH,72,-8065.378,981.9844,43.48891,0,0,0,0,100,0), +(@PATH,73,-8065.378,978.9844,44.23891,0,0,0,0,100,0), +(@PATH,74,-8065.731,978.6848,44.42163,0,0,0,0,100,0), +(@PATH,75,-8065.731,977.4348,44.67163,0,0,0,0,100,0), +(@PATH,76,-8069.231,975.4348,45.17163,0,0,0,0,100,0), +(@PATH,77,-8072.231,973.1848,45.67163,0,0,0,0,100,0), +(@PATH,78,-8073.981,972.1848,46.42163,0,0,0,0,100,0), +(@PATH,79,-8074.11,971.9819,46.72411,0,0,0,0,100,0), +(@PATH,80,-8075.36,971.2319,46.97411,0,0,0,0,100,0), +(@PATH,81,-8077.36,970.7319,47.72411,0,0,0,0,100,0), +(@PATH,82,-8079.11,970.4819,47.97411,0,0,0,0,100,0), +(@PATH,83,-8081.86,969.9819,48.97411,0,0,0,0,100,0), +(@PATH,84,-8083.926,969.405,50.31739,0,0,0,0,100,0), +(@PATH,85,-8085.926,969.155,51.31739,0,0,0,0,100,0), +(@PATH,86,-8086.926,969.155,51.56739,0,0,0,0,100,0), +(@PATH,87,-8087.676,969.155,52.31739,0,0,0,0,100,0), +(@PATH,88,-8089.676,968.905,53.56739,0,0,0,0,100,0), +(@PATH,89,-8090.676,968.905,54.31739,0,0,0,0,100,0), +(@PATH,90,-8090.878,968.6632,54.40657,0,0,0,0,100,0), +(@PATH,91,-8091.878,968.6632,54.90657,0,0,0,0,100,0), +(@PATH,92,-8093.628,968.4132,55.65657,0,0,0,0,100,0), +(@PATH,93,-8094.628,968.4132,56.15657,0,0,0,0,100,0), +(@PATH,94,-8096.628,968.4132,57.15657,0,0,0,0,100,0), +(@PATH,95,-8096.863,968.2057,57.40915,0,0,0,0,100,0), +(@PATH,96,-8097.613,967.9557,57.65915,0,0,0,0,100,0), +(@PATH,97,-8099.363,967.9557,58.40915,0,0,0,0,100,0), +(@PATH,98,-8101.113,967.9557,59.15915,0,0,0,0,100,0), +(@PATH,99,-8101.425,967.8853,59.50502,0,0,0,0,100,0), +(@PATH,100,-8102.675,967.8853,60.00502,0,0,0,0,100,0), +(@PATH,101,-8104.425,968.1353,60.75502,0,0,0,0,100,0), +(@PATH,102,-8106.425,968.3853,61.50502,0,0,0,0,100,0), +(@PATH,103,-8105.296,968.0443,61.05129,0,0,0,0,100,0), +(@PATH,104,-8103.546,968.0443,60.55129,0,0,0,0,100,0), +(@PATH,105,-8105.223,968.1716,61.12951,0,0,0,0,100,0), +(@PATH,106,-8103.223,967.9216,60.37951,0,0,0,0,100,0), +(@PATH,107,-8102.473,967.9216,59.87951,0,0,0,0,100,0), +(@PATH,108,-8099.723,968.1716,58.62951,0,0,0,0,100,0); +-- 0x1C399800200ED70000003B000008499C .go -8074.142 971.8752 46.62597 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=362545; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(362545, 362545, 0, 0, 2, 0, 0), +(362545, 362547, 3, 0, 2, 0, 0); + +-- Pathing for Entry: 15184 'TDB FORMAT' +SET @NPC := 362545; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `position_x`=-6827.947,`position_y`=750.6011,`position_z`=43.17421 WHERE `guid`=362547; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6827.947,`position_y`=750.6011,`position_z`=43.17421 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6827.947,750.6011,43.17421,0,0,0,0,100,0), +(@PATH,2,-6831.697,764.8511,43.67421,0,0,0,0,100,0), +(@PATH,3,-6833.708,771.7307,43.96421,0,0,0,0,100,0), +(@PATH,4,-6839.958,785.2307,43.21421,0,0,0,0,100,0), +(@PATH,5,-6842.248,789.7432,42.87852,0,0,0,0,100,0), +(@PATH,6,-6853.884,808.4065,42.96156,0,0,0,0,100,0), +(@PATH,7,-6858.884,821.1565,42.21156,0,0,0,0,100,0), +(@PATH,8,-6860.384,824.9065,41.71156,0,0,0,0,100,0), +(@PATH,9,-6862.384,829.4065,41.21156,0,0,0,0,100,0), +(@PATH,10,-6865.291,836.1432,40.32879,0,0,0,0,100,0), +(@PATH,11,-6867.041,839.6432,39.57879,0,0,0,0,100,0), +(@PATH,12,-6869.291,844.1432,38.82879,0,0,0,0,100,0), +(@PATH,13,-6870.791,847.6432,38.57879,0,0,0,0,100,0), +(@PATH,14,-6873.291,852.8932,37.82879,0,0,0,0,100,0), +(@PATH,15,-6874.541,855.6432,37.32879,0,0,0,0,100,0), +(@PATH,16,-6874.811,855.9362,37.10934,0,0,0,0,100,0), +(@PATH,17,-6875.311,856.9362,36.85934,0,0,0,0,100,0), +(@PATH,18,-6877.311,860.4362,36.10934,0,0,0,0,100,0), +(@PATH,19,-6880.311,866.4362,35.60934,0,0,0,0,100,0), +(@PATH,20,-6883.311,871.6862,35.10934,0,0,0,0,100,0), +(@PATH,21,-6885.061,875.1862,34.35934,0,0,0,0,100,0), +(@PATH,22,-6885.263,875.42,34.19176,0,0,0,0,100,0), +(@PATH,23,-6885.513,875.92,33.94176,0,0,0,0,100,0), +(@PATH,24,-6885.513,879.92,33.44176,0,0,0,0,100,0), +(@PATH,25,-6885.763,883.67,32.69176,0,0,0,0,100,0), +(@PATH,26,-6885.763,886.67,32.19176,0,0,0,0,100,0), +(@PATH,27,-6885.763,888.67,31.44176,0,0,0,0,100,0), +(@PATH,28,-6885.763,890.67,30.94176,0,0,0,0,100,0), +(@PATH,29,-6885.945,890.6282,31.12031,0,0,0,0,100,0), +(@PATH,30,-6885.945,887.6282,31.87031,0,0,0,0,100,0), +(@PATH,31,-6885.945,884.6282,32.37031,0,0,0,0,100,0), +(@PATH,32,-6885.945,880.8782,33.12031,0,0,0,0,100,0), +(@PATH,33,-6885.695,876.8782,33.87031,0,0,0,0,100,0), +(@PATH,34,-6885.587,876.5439,34.09853,0,0,0,0,100,0), +(@PATH,35,-6885.337,875.5439,34.34853,0,0,0,0,100,0), +(@PATH,36,-6883.587,872.0439,34.84853,0,0,0,0,100,0), +(@PATH,37,-6881.587,868.5439,35.34853,0,0,0,0,100,0), +(@PATH,38,-6877.587,861.0439,35.84853,0,0,0,0,100,0), +(@PATH,39,-6876.087,858.2939,36.59853,0,0,0,0,100,0), +(@PATH,40,-6876.033,858.0821,36.90882,0,0,0,0,100,0), +(@PATH,41,-6875.283,856.8321,37.15882,0,0,0,0,100,0), +(@PATH,42,-6873.533,853.0821,37.90882,0,0,0,0,100,0), +(@PATH,43,-6871.283,848.5821,38.40882,0,0,0,0,100,0), +(@PATH,44,-6869.783,845.3321,38.90882,0,0,0,0,100,0), +(@PATH,45,-6867.533,840.8321,39.65882,0,0,0,0,100,0), +(@PATH,46,-6865,836.1639,40.60313,0,0,0,0,100,0), +(@PATH,47,-6863.25,831.4139,41.10313,0,0,0,0,100,0), +(@PATH,48,-6861,825.9139,41.60313,0,0,0,0,100,0), +(@PATH,49,-6859.25,821.4139,42.35313,0,0,0,0,100,0), +(@PATH,50,-6857.75,817.9139,42.85313,0,0,0,0,100,0), +(@PATH,51,-6853.613,808.2167,43.03363,0,0,0,0,100,0), +(@PATH,52,-6841.908,789.7263,43.24368,0,0,0,0,100,0), +(@PATH,53,-6837.408,779.9763,43.49368,0,0,0,0,100,0), +(@PATH,54,-6833.526,771.5621,43.9197,0,0,0,0,100,0), +(@PATH,55,-6829.776,757.3121,43.1697,0,0,0,0,100,0), +(@PATH,56,-6827.718,750.6573,42.96784,0,0,0,0,100,0), +(@PATH,57,-6819.718,738.4073,42.46784,0,0,0,0,100,0), +(@PATH,58,-6816.772,733.8215,41.83261,0,0,0,0,100,0), +(@PATH,59,-6814.522,729.3215,41.08261,0,0,0,0,100,0), +(@PATH,60,-6814.022,727.5715,40.58261,0,0,0,0,100,0), +(@PATH,61,-6812.272,724.0715,40.08261,0,0,0,0,100,0), +(@PATH,62,-6808.802,716.488,39.23988,0,0,0,0,100,0), +(@PATH,63,-6807.302,711.738,38.73988,0,0,0,0,100,0), +(@PATH,64,-6806.552,708.988,37.98988,0,0,0,0,100,0), +(@PATH,65,-6806.052,707.238,37.23988,0,0,0,0,100,0), +(@PATH,66,-6805.552,705.488,36.98988,0,0,0,0,100,0), +(@PATH,67,-6804.552,702.488,36.23988,0,0,0,0,100,0), +(@PATH,68,-6804.052,700.488,35.48988,0,0,0,0,100,0), +(@PATH,69,-6803.803,700.2541,35.24248,0,0,0,0,100,0), +(@PATH,70,-6803.553,699.7541,34.99248,0,0,0,0,100,0), +(@PATH,71,-6803.553,697.7541,33.99248,0,0,0,0,100,0), +(@PATH,72,-6803.553,695.7541,33.24248,0,0,0,0,100,0), +(@PATH,73,-6803.553,693.7541,32.49248,0,0,0,0,100,0), +(@PATH,74,-6803.553,690.7541,31.74248,0,0,0,0,100,0), +(@PATH,75,-6803.303,688.7541,30.99248,0,0,0,0,100,0), +(@PATH,76,-6803.303,686.7541,30.24248,0,0,0,0,100,0), +(@PATH,77,-6803.303,685.0041,29.49248,0,0,0,0,100,0), +(@PATH,78,-6803.053,683.0041,28.74248,0,0,0,0,100,0), +(@PATH,79,-6803.053,681.0041,27.74248,0,0,0,0,100,0), +(@PATH,80,-6803.053,679.0041,26.99248,0,0,0,0,100,0), +(@PATH,81,-6803.053,677.0041,25.99248,0,0,0,0,100,0), +(@PATH,82,-6802.803,675.0041,24.99248,0,0,0,0,100,0), +(@PATH,83,-6802.803,673.0041,24.24248,0,0,0,0,100,0), +(@PATH,84,-6802.78,673.8747,24.60902,0,0,0,0,100,0), +(@PATH,85,-6802.78,675.8747,25.60902,0,0,0,0,100,0), +(@PATH,86,-6803.03,677.8747,26.35902,0,0,0,0,100,0), +(@PATH,87,-6803.03,679.8747,27.35902,0,0,0,0,100,0), +(@PATH,88,-6803.03,681.8747,28.35902,0,0,0,0,100,0), +(@PATH,89,-6803.28,683.8747,29.10902,0,0,0,0,100,0), +(@PATH,90,-6803.28,685.6247,29.60902,0,0,0,0,100,0), +(@PATH,91,-6803.28,687.6247,30.60902,0,0,0,0,100,0), +(@PATH,92,-6803.28,690.6247,31.35902,0,0,0,0,100,0), +(@PATH,93,-6803.28,692.6247,32.10902,0,0,0,0,100,0), +(@PATH,94,-6803.28,694.6247,32.85902,0,0,0,0,100,0), +(@PATH,95,-6803.53,696.6247,33.60902,0,0,0,0,100,0), +(@PATH,96,-6803.53,698.6247,34.35902,0,0,0,0,100,0), +(@PATH,97,-6803.844,698.6635,34.6736,0,0,0,0,100,0), +(@PATH,98,-6803.844,699.9135,35.1736,0,0,0,0,100,0), +(@PATH,99,-6804.344,701.9135,35.6736,0,0,0,0,100,0), +(@PATH,100,-6805.094,703.6635,36.4236,0,0,0,0,100,0), +(@PATH,101,-6805.594,705.6635,36.9236,0,0,0,0,100,0), +(@PATH,102,-6806.094,707.4135,37.6736,0,0,0,0,100,0), +(@PATH,103,-6807.094,711.1635,38.4236,0,0,0,0,100,0), +(@PATH,104,-6808.094,714.1635,38.9236,0,0,0,0,100,0), +(@PATH,105,-6808.197,714.3786,39.24339,0,0,0,0,100,0), +(@PATH,106,-6808.947,716.6286,39.49339,0,0,0,0,100,0), +(@PATH,107,-6810.947,721.3786,40.24339,0,0,0,0,100,0), +(@PATH,108,-6813.697,727.3786,40.49339,0,0,0,0,100,0), +(@PATH,109,-6814.447,729.1286,41.24339,0,0,0,0,100,0), +(@PATH,110,-6816.763,733.9973,41.98037,0,0,0,0,100,0), +(@PATH,111,-6819.513,738.2473,42.48037,0,0,0,0,100,0), +(@PATH,112,-6827.745,750.5536,43.19679,0,0,0,0,100,0), +(@PATH,113,-6831.495,764.8036,43.69679,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=362590; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(362590, 362590, 0, 0, 2, 0, 0), +(362590, 362570, 3, 0, 2, 0, 0); + +-- Pathing for Entry: 15184 'TDB FORMAT' +SET @NPC := 362590; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6821.357,`position_y`=816.1558,`position_z`=50.60997 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6821.357,816.1558,50.60997,0,0,0,0,100,0), +(@PATH,2,-6822.107,817.1558,50.35997,0,0,0,0,100,0), +(@PATH,3,-6819.357,823.4058,50.10997,0,0,0,0,100,0), +(@PATH,4,-6814.945,833.6428,49.84764,0,0,0,0,100,0), +(@PATH,5,-6802.945,837.3928,49.34764,0,0,0,0,100,0), +(@PATH,6,-6799.629,838.6628,48.6907,0,0,0,0,100,0), +(@PATH,7,-6795.629,838.9128,47.6907,0,0,0,0,100,0), +(@PATH,8,-6791.629,839.1628,47.1907,0,0,0,0,100,0), +(@PATH,9,-6785.879,839.6628,46.4407,0,0,0,0,100,0), +(@PATH,10,-6781.879,839.9128,45.9407,0,0,0,0,100,0), +(@PATH,11,-6778.879,840.1628,45.4407,0,0,0,0,100,0), +(@PATH,12,-6773.879,840.6628,44.6907,0,0,0,0,100,0), +(@PATH,13,-6769.09,841.0691,43.02269,0,0,0,0,100,0), +(@PATH,14,-6767.84,841.3191,42.52269,0,0,0,0,100,0), +(@PATH,15,-6767.09,841.8191,42.27269,0,0,0,0,100,0), +(@PATH,16,-6766.09,843.3191,41.02269,0,0,0,0,100,0), +(@PATH,17,-6765.59,844.0691,41.02269,0,0,0,0,100,0), +(@PATH,18,-6765.59,845.8191,40.02269,0,0,0,0,100,0), +(@PATH,19,-6765.34,846.8191,39.27269,0,0,0,0,100,0), +(@PATH,20,-6765.09,847.8191,38.52269,0,0,0,0,100,0), +(@PATH,21,-6765.09,849.0691,37.52269,0,0,0,0,100,0), +(@PATH,22,-6765.069,849.1086,37.33008,0,0,0,0,100,0), +(@PATH,23,-6764.819,849.8586,36.08008,0,0,0,0,100,0), +(@PATH,24,-6765.569,851.6086,34.58008,0,0,0,0,100,0), +(@PATH,25,-6766.319,853.3586,33.08008,0,0,0,0,100,0), +(@PATH,26,-6767.319,855.1086,32.58008,0,0,0,0,100,0), +(@PATH,27,-6767.569,855.8586,31.83008,0,0,0,0,100,0), +(@PATH,28,-6768.319,857.6086,30.08008,0,0,0,0,100,0), +(@PATH,29,-6769.069,859.6086,28.33008,0,0,0,0,100,0), +(@PATH,30,-6770.319,862.1086,27.33008,0,0,0,0,100,0), +(@PATH,31,-6770.325,862.5379,26.86991,0,0,0,0,100,0), +(@PATH,32,-6770.825,863.2879,26.61991,0,0,0,0,100,0), +(@PATH,33,-6770.325,864.0379,25.86991,0,0,0,0,100,0), +(@PATH,34,-6769.075,865.5379,25.36991,0,0,0,0,100,0), +(@PATH,35,-6768.325,867.0379,24.61991,0,0,0,0,100,0), +(@PATH,36,-6767.075,868.7879,24.11991,0,0,0,0,100,0), +(@PATH,37,-6766.974,868.8903,23.87411,0,0,0,0,100,0), +(@PATH,38,-6766.224,869.8903,23.62411,0,0,0,0,100,0), +(@PATH,39,-6761.974,865.6403,22.87411,0,0,0,0,100,0), +(@PATH,40,-6758.974,862.8903,22.12411,0,0,0,0,100,0), +(@PATH,41,-6756.724,860.8903,21.62411,0,0,0,0,100,0), +(@PATH,42,-6754.974,858.8903,20.87411,0,0,0,0,100,0), +(@PATH,43,-6752.724,856.8903,19.87411,0,0,0,0,100,0), +(@PATH,44,-6750.474,854.8903,19.12411,0,0,0,0,100,0), +(@PATH,45,-6748.474,852.8903,18.37411,0,0,0,0,100,0), +(@PATH,46,-6746.224,850.6403,17.37411,0,0,0,0,100,0), +(@PATH,47,-6744.724,849.3903,16.87411,0,0,0,0,100,0), +(@PATH,48,-6745.412,849.8464,16.97767,0,0,0,0,100,0), +(@PATH,49,-6746.912,851.3464,17.72767,0,0,0,0,100,0), +(@PATH,50,-6748.162,852.5964,18.22767,0,0,0,0,100,0), +(@PATH,51,-6750.412,854.8464,19.22767,0,0,0,0,100,0), +(@PATH,52,-6751.162,855.5964,19.72767,0,0,0,0,100,0), +(@PATH,53,-6753.412,857.5964,20.22767,0,0,0,0,100,0), +(@PATH,54,-6755.162,859.3464,21.22767,0,0,0,0,100,0), +(@PATH,55,-6757.412,861.3464,21.72767,0,0,0,0,100,0), +(@PATH,56,-6759.662,863.5964,22.47767,0,0,0,0,100,0), +(@PATH,57,-6762.412,866.3464,23.22767,0,0,0,0,100,0), +(@PATH,58,-6766.338,869.8273,24.02894,0,0,0,0,100,0), +(@PATH,59,-6767.838,867.3273,24.77894,0,0,0,0,100,0), +(@PATH,60,-6768.838,865.5773,25.02894,0,0,0,0,100,0), +(@PATH,61,-6770.088,864.3273,26.02894,0,0,0,0,100,0), +(@PATH,62,-6769.963,864.065,26.16592,0,0,0,0,100,0), +(@PATH,63,-6770.713,863.065,26.91592,0,0,0,0,100,0), +(@PATH,64,-6769.963,861.065,27.91592,0,0,0,0,100,0), +(@PATH,65,-6768.963,859.315,28.91592,0,0,0,0,100,0), +(@PATH,66,-6768.213,857.565,29.91592,0,0,0,0,100,0), +(@PATH,67,-6767.713,856.815,30.91592,0,0,0,0,100,0), +(@PATH,68,-6766.963,855.065,32.41592,0,0,0,0,100,0), +(@PATH,69,-6766.463,853.315,33.91592,0,0,0,0,100,0), +(@PATH,70,-6765.463,851.565,34.66592,0,0,0,0,100,0), +(@PATH,71,-6765.539,851.1853,34.99934,0,0,0,0,100,0), +(@PATH,72,-6764.789,849.4353,36.49934,0,0,0,0,100,0), +(@PATH,73,-6765.039,848.9353,37.49934,0,0,0,0,100,0), +(@PATH,74,-6765.039,847.9353,38.49934,0,0,0,0,100,0), +(@PATH,75,-6765.539,846.1853,38.99934,0,0,0,0,100,0), +(@PATH,76,-6766.789,844.4353,40.74934,0,0,0,0,100,0), +(@PATH,77,-6767.289,842.9353,41.74934,0,0,0,0,100,0), +(@PATH,78,-6768.539,842.4353,42.49934,0,0,0,0,100,0), +(@PATH,79,-6767.168,842.8019,41.88369,0,0,0,0,100,0), +(@PATH,80,-6768.668,842.3019,42.63369,0,0,0,0,100,0), +(@PATH,81,-6769.168,841.0519,43.13369,0,0,0,0,100,0), +(@PATH,82,-6771.168,840.8019,43.63369,0,0,0,0,100,0), +(@PATH,83,-6773.168,840.8019,44.63369,0,0,0,0,100,0), +(@PATH,84,-6778.168,840.5519,45.13369,0,0,0,0,100,0), +(@PATH,85,-6782.168,840.0519,45.88369,0,0,0,0,100,0), +(@PATH,86,-6785.918,839.8019,46.38369,0,0,0,0,100,0), +(@PATH,87,-6791.918,839.3019,47.13369,0,0,0,0,100,0), +(@PATH,88,-6794.918,839.0519,47.63369,0,0,0,0,100,0), +(@PATH,89,-6797.918,838.8019,48.38369,0,0,0,0,100,0), +(@PATH,90,-6799.688,838.4656,48.94979,0,0,0,0,100,0), +(@PATH,91,-6801.688,837.7156,48.94979,0,0,0,0,100,0), +(@PATH,92,-6804.438,836.9656,49.69979,0,0,0,0,100,0), +(@PATH,93,-6808.938,835.4656,50.19979,0,0,0,0,100,0), +(@PATH,94,-6815.2,833.297,50.08068,0,0,0,0,100,0), +(@PATH,95,-6822.045,816.8499,50.59637,0,0,0,0,100,0), +(@PATH,96,-6818.545,812.0999,51.09637,0,0,0,0,100,0), +(@PATH,97,-6812.795,804.0999,51.84637,0,0,0,0,100,0), +(@PATH,98,-6805.488,794.295,51.33554,0,0,0,0,100,0), +(@PATH,99,-6794.738,787.795,51.83554,0,0,0,0,100,0), +(@PATH,100,-6794.625,787.5807,52.06388,0,0,0,0,100,0), +(@PATH,101,-6792.375,786.3307,52.81388,0,0,0,0,100,0), +(@PATH,102,-6792.625,785.3307,53.81388,0,0,0,0,100,0), +(@PATH,103,-6792.625,784.3307,54.56388,0,0,0,0,100,0), +(@PATH,104,-6792.875,781.3307,55.81388,0,0,0,0,100,0), +(@PATH,105,-6792.875,780.3307,56.56388,0,0,0,0,100,0), +(@PATH,106,-6792.875,779.3307,57.31388,0,0,0,0,100,0), +(@PATH,107,-6793.125,778.3307,58.06388,0,0,0,0,100,0), +(@PATH,108,-6793.125,777.5807,59.06388,0,0,0,0,100,0), +(@PATH,109,-6793.125,776.5807,59.81388,0,0,0,0,100,0), +(@PATH,110,-6793.375,775.5807,60.56388,0,0,0,0,100,0), +(@PATH,111,-6793.375,774.5807,61.81388,0,0,0,0,100,0), +(@PATH,112,-6793.375,773.5807,63.06388,0,0,0,0,100,0), +(@PATH,113,-6793.375,772.5807,64.31388,0,0,0,0,100,0), +(@PATH,114,-6793.625,771.5807,65.06388,0,0,0,0,100,0), +(@PATH,115,-6793.625,770.5807,66.06388,0,0,0,0,100,0), +(@PATH,116,-6793.625,769.5807,66.81388,0,0,0,0,100,0), +(@PATH,117,-6793.875,768.5807,67.56388,0,0,0,0,100,0), +(@PATH,118,-6793.875,767.5807,68.56388,0,0,0,0,100,0), +(@PATH,119,-6793.623,768.2801,67.89136,0,0,0,0,100,0), +(@PATH,120,-6793.623,767.2801,68.64136,0,0,0,0,100,0), +(@PATH,121,-6793.623,766.7801,69.14136,0,0,0,0,100,0), +(@PATH,122,-6793.123,765.7801,69.39136,0,0,0,0,100,0), +(@PATH,123,-6792.623,765.0301,69.89136,0,0,0,0,100,0), +(@PATH,124,-6792.123,764.0301,70.64136,0,0,0,0,100,0), +(@PATH,125,-6791.623,763.2801,70.89136,0,0,0,0,100,0), +(@PATH,126,-6791.373,762.2801,71.64136,0,0,0,0,100,0), +(@PATH,127,-6790.623,760.7801,72.39136,0,0,0,0,100,0), +(@PATH,128,-6790.123,760.0301,72.89136,0,0,0,0,100,0), +(@PATH,129,-6789.123,758.2801,73.89136,0,0,0,0,100,0), +(@PATH,130,-6788.373,756.5301,74.89136,0,0,0,0,100,0), +(@PATH,131,-6788.858,757.9641,74.17118,0,0,0,0,100,0), +(@PATH,132,-6788.108,756.2141,75.17118,0,0,0,0,100,0), +(@PATH,133,-6787.858,755.7141,75.17118,0,0,0,0,100,0), +(@PATH,134,-6785.358,754.2141,76.17118,0,0,0,0,100,0), +(@PATH,135,-6783.858,753.2141,76.92118,0,0,0,0,100,0), +(@PATH,136,-6782.358,751.9641,78.17118,0,0,0,0,100,0), +(@PATH,137,-6779.638,750.2194,79.23349,0,0,0,0,100,0), +(@PATH,138,-6777.638,750.7194,80.48349,0,0,0,0,100,0), +(@PATH,139,-6775.638,751.4694,81.48349,0,0,0,0,100,0), +(@PATH,140,-6774.638,751.7194,81.98349,0,0,0,0,100,0), +(@PATH,141,-6772.888,752.2194,82.73349,0,0,0,0,100,0), +(@PATH,142,-6772.138,752.4694,83.48349,0,0,0,0,100,0), +(@PATH,143,-6771.138,752.7194,83.98349,0,0,0,0,100,0), +(@PATH,144,-6769.138,752.9694,84.98349,0,0,0,0,100,0), +(@PATH,145,-6768.918,753.215,84.99495,0,0,0,0,100,0), +(@PATH,146,-6766.168,753.965,85.49495,0,0,0,0,100,0), +(@PATH,147,-6763.418,756.465,85.99495,0,0,0,0,100,0), +(@PATH,148,-6761.168,758.215,86.74495,0,0,0,0,100,0), +(@PATH,149,-6761.525,757.898,86.56975,0,0,0,0,100,0), +(@PATH,150,-6763.525,756.148,85.81975,0,0,0,0,100,0), +(@PATH,151,-6766.433,753.6146,85.36938,0,0,0,0,100,0), +(@PATH,152,-6770.183,752.6146,84.36938,0,0,0,0,100,0), +(@PATH,153,-6772.183,752.3646,83.36938,0,0,0,0,100,0), +(@PATH,154,-6773.933,751.8646,82.11938,0,0,0,0,100,0), +(@PATH,155,-6777.683,750.6146,80.36938,0,0,0,0,100,0), +(@PATH,156,-6779.745,750.2239,79.13618,0,0,0,0,100,0), +(@PATH,157,-6781.995,752.2239,78.13618,0,0,0,0,100,0), +(@PATH,158,-6782.495,752.7239,77.38618,0,0,0,0,100,0), +(@PATH,159,-6784.245,753.7239,76.63618,0,0,0,0,100,0), +(@PATH,160,-6786.636,755.696,75.03162,0,0,0,0,100,0), +(@PATH,161,-6787.886,757.446,74.53162,0,0,0,0,100,0), +(@PATH,162,-6788.886,759.196,73.53162,0,0,0,0,100,0), +(@PATH,163,-6789.636,760.696,72.28162,0,0,0,0,100,0), +(@PATH,164,-6790.886,762.196,71.78162,0,0,0,0,100,0), +(@PATH,165,-6791.886,763.946,70.53162,0,0,0,0,100,0), +(@PATH,166,-6792.886,765.696,69.28162,0,0,0,0,100,0), +(@PATH,167,-6792.879,765.9456,69.20365,0,0,0,0,100,0), +(@PATH,168,-6793.629,766.9456,68.70365,0,0,0,0,100,0), +(@PATH,169,-6793.629,767.9456,67.70365,0,0,0,0,100,0), +(@PATH,170,-6793.379,768.9456,66.95365,0,0,0,0,100,0), +(@PATH,171,-6793.379,770.9456,65.95365,0,0,0,0,100,0), +(@PATH,172,-6793.129,771.9456,65.20365,0,0,0,0,100,0), +(@PATH,173,-6793.129,772.9456,64.20365,0,0,0,0,100,0), +(@PATH,174,-6793.129,773.9456,62.95365,0,0,0,0,100,0), +(@PATH,175,-6793.129,774.9456,61.95365,0,0,0,0,100,0), +(@PATH,176,-6792.879,775.6956,60.95365,0,0,0,0,100,0), +(@PATH,177,-6792.879,776.6956,59.70365,0,0,0,0,100,0), +(@PATH,178,-6792.879,777.6956,58.95365,0,0,0,0,100,0), +(@PATH,179,-6792.879,778.6956,58.20365,0,0,0,0,100,0), +(@PATH,180,-6792.629,779.6956,57.45365,0,0,0,0,100,0), +(@PATH,181,-6792.629,780.6956,56.45365,0,0,0,0,100,0), +(@PATH,182,-6792.629,781.6956,55.70365,0,0,0,0,100,0), +(@PATH,183,-6792.629,782.6956,54.95365,0,0,0,0,100,0), +(@PATH,184,-6792.629,784.6956,53.95365,0,0,0,0,100,0), +(@PATH,185,-6792.629,785.6956,53.20365,0,0,0,0,100,0), +(@PATH,186,-6792.466,784.909,53.66281,0,0,0,0,100,0), +(@PATH,187,-6792.466,785.909,52.91281,0,0,0,0,100,0), +(@PATH,188,-6792.466,786.659,52.66281,0,0,0,0,100,0), +(@PATH,189,-6793.466,787.159,52.41281,0,0,0,0,100,0), +(@PATH,190,-6794.966,788.159,51.91281,0,0,0,0,100,0), +(@PATH,191,-6805.781,794.4606,51.20302,0,0,0,0,100,0), +(@PATH,192,-6809.281,799.2106,51.70302,0,0,0,0,100,0), +(@PATH,193,-6818.031,811.2106,51.20302,0,0,0,0,100,0), +(@PATH,194,-6821.531,815.9606,50.70302,0,0,0,0,100,0), +(@PATH,195,-6821.437,816.2638,50.5932,0,0,0,0,100,0), +(@PATH,196,-6822.187,817.0138,50.3432,0,0,0,0,100,0), +(@PATH,197,-6819.437,823.5138,50.0932,0,0,0,0,100,0), +(@PATH,198,-6814.895,833.5093,49.84903,0,0,0,0,100,0), +(@PATH,199,-6802.895,837.5093,49.34903,0,0,0,0,100,0); + +-- Pathing for Entry: 15189 'TDB FORMAT' +SET @NPC := 362559; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6854.811,`position_y`=738.1525,`position_z`=55.30116 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6854.811,738.1525,55.30116,0,0,0,0,100,0), +(@PATH,2,-6853.561,734.9025,55.30116,0,0,0,0,100,0), +(@PATH,3,-6854.811,738.1525,55.30116,0,0,0,0,100,0), +(@PATH,4,-6853.561,734.9025,55.30116,0,0,0,0,100,0); + +-- Pathing for Entry: 15200 'TDB FORMAT' +SET @NPC := 362649; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6796.487,`position_y`=1611.718,`position_z`=4.134546 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6796.487,1611.718,4.134546,0,0,0,0,100,0), +(@PATH,2,-6803.237,1615.468,3.634547,0,0,0,0,100,0), +(@PATH,3,-6805.731,1617.066,2.801276,0,0,0,0,100,0), +(@PATH,4,-6807.981,1619.066,2.551276,0,0,0,0,100,0), +(@PATH,5,-6809.481,1620.316,1.801276,0,0,0,0,100,0), +(@PATH,6,-6813.908,1624.341,1.522889,0,0,0,0,100,0), +(@PATH,7,-6808.158,1619.091,2.272889,0,0,0,0,100,0), +(@PATH,8,-6806.658,1617.841,2.522889,0,0,0,0,100,0), +(@PATH,9,-6806.523,1617.688,2.940773,0,0,0,0,100,0), +(@PATH,10,-6805.523,1616.688,2.940773,0,0,0,0,100,0), +(@PATH,11,-6803.773,1615.688,3.440773,0,0,0,0,100,0), +(@PATH,12,-6799.523,1613.438,4.190773,0,0,0,0,100,0), +(@PATH,13,-6796.162,1611.554,4.241982,0,0,0,0,100,0), +(@PATH,14,-6789.038,1602.043,4.280756,0,0,0,0,100,0), +(@PATH,15,-6787.538,1598.793,3.530756,0,0,0,0,100,0), +(@PATH,16,-6788.259,1600.612,3.777736,0,0,0,0,100,0), +(@PATH,17,-6788.466,1600.811,3.808295,0,0,0,0,100,0), +(@PATH,18,-6789.216,1602.311,4.058295,0,0,0,0,100,0), +(@PATH,19,-6796.542,1611.859,4.136284,0,0,0,0,100,0); + +-- Pathing for Entry: 11721 'TDB FORMAT' +SET @NPC := 362286; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6410.97,`position_y`=1077.286,`position_z`=-41.634 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6410.97,1077.286,-41.634,0,0,0,0,100,0), +(@PATH,2,-6412.72,1078.036,-41.384,0,0,0,0,100,0), +(@PATH,3,-6415.47,1078.536,-40.884,0,0,0,0,100,0), +(@PATH,4,-6417.22,1079.286,-41.134,0,0,0,0,100,0), +(@PATH,5,-6418.47,1079.536,-41.384,0,0,0,0,100,0), +(@PATH,6,-6420.919,1080.201,-41.80342,0,0,0,0,100,0), +(@PATH,7,-6418.419,1079.451,-41.30342,0,0,0,0,100,0), +(@PATH,8,-6415.169,1078.201,-41.05342,0,0,0,0,100,0), +(@PATH,9,-6411.419,1076.701,-41.55342,0,0,0,0,100,0), +(@PATH,10,-6410.169,1076.451,-42.05342,0,0,0,0,100,0), +(@PATH,11,-6407.419,1075.451,-43.05342,0,0,0,0,100,0), +(@PATH,12,-6404.169,1074.201,-44.30342,0,0,0,0,100,0), +(@PATH,13,-6402.355,1073.539,-44.72012,0,0,0,0,100,0), +(@PATH,14,-6401.605,1074.289,-44.47012,0,0,0,0,100,0), +(@PATH,15,-6400.605,1075.539,-44.47012,0,0,0,0,100,0), +(@PATH,16,-6399.855,1076.289,-43.97012,0,0,0,0,100,0), +(@PATH,17,-6398.105,1078.039,-43.47012,0,0,0,0,100,0), +(@PATH,18,-6397.105,1079.039,-42.97012,0,0,0,0,100,0), +(@PATH,19,-6396.355,1079.789,-42.47012,0,0,0,0,100,0), +(@PATH,20,-6394.855,1081.539,-41.47012,0,0,0,0,100,0), +(@PATH,21,-6393.605,1083.039,-40.72012,0,0,0,0,100,0), +(@PATH,22,-6389.355,1087.539,-38.47012,0,0,0,0,100,0), +(@PATH,23,-6388.105,1088.789,-38.22012,0,0,0,0,100,0), +(@PATH,24,-6387.903,1089.025,-37.87466,0,0,0,0,100,0), +(@PATH,25,-6387.653,1089.525,-37.87466,0,0,0,0,100,0), +(@PATH,26,-6384.903,1093.025,-36.87466,0,0,0,0,100,0), +(@PATH,27,-6383.403,1095.025,-35.87466,0,0,0,0,100,0), +(@PATH,28,-6382.403,1096.275,-35.62466,0,0,0,0,100,0), +(@PATH,29,-6380.403,1099.525,-34.37466,0,0,0,0,100,0), +(@PATH,30,-6378.653,1101.775,-33.87466,0,0,0,0,100,0), +(@PATH,31,-6377.403,1103.275,-33.37466,0,0,0,0,100,0), +(@PATH,32,-6376.653,1104.525,-32.62466,0,0,0,0,100,0), +(@PATH,33,-6375.903,1105.275,-32.87466,0,0,0,0,100,0), +(@PATH,34,-6401.895,1074.467,-44.60557,0,0,0,0,100,0), +(@PATH,35,-6402.395,1073.467,-44.60557,0,0,0,0,100,0), +(@PATH,36,-6403.895,1073.967,-44.35557,0,0,0,0,100,0), +(@PATH,37,-6407.395,1075.467,-43.10557,0,0,0,0,100,0), +(@PATH,38,-6410.145,1076.467,-42.10557,0,0,0,0,100,0), +(@PATH,39,-6411.395,1076.967,-41.60557,0,0,0,0,100,0), +(@PATH,40,-6415.145,1078.217,-41.10557,0,0,0,0,100,0), +(@PATH,41,-6417.395,1078.967,-41.10557,0,0,0,0,100,0), +(@PATH,42,-6417.421,1079.042,-41.1388,0,0,0,0,100,0), +(@PATH,43,-6420.921,1080.292,-41.3888,0,0,0,0,100,0), +(@PATH,44,-6418.421,1079.542,-41.3888,0,0,0,0,100,0), +(@PATH,45,-6417.171,1079.292,-41.1388,0,0,0,0,100,0), +(@PATH,46,-6415.171,1078.542,-41.1388,0,0,0,0,100,0), +(@PATH,47,-6412.921,1078.042,-41.3888,0,0,0,0,100,0), +(@PATH,48,-6415.257,1078.721,-41.09478,0,0,0,0,100,0), +(@PATH,49,-6412.757,1077.971,-41.34478,0,0,0,0,100,0), +(@PATH,50,-6412.507,1077.721,-41.34478,0,0,0,0,100,0), +(@PATH,51,-6410.757,1076.971,-41.59478,0,0,0,0,100,0), +(@PATH,52,-6408.507,1076.221,-42.59478,0,0,0,0,100,0), +(@PATH,53,-6407.257,1075.721,-42.84478,0,0,0,0,100,0), +(@PATH,54,-6404.257,1074.471,-44.09478,0,0,0,0,100,0), +(@PATH,55,-6403.9,1074.162,-44.2942,0,0,0,0,100,0), +(@PATH,56,-6402.4,1073.662,-44.7942,0,0,0,0,100,0), +(@PATH,57,-6401.65,1069.662,-46.7942,0,0,0,0,100,0), +(@PATH,58,-6401.4,1067.412,-47.2942,0,0,0,0,100,0), +(@PATH,59,-6400.9,1065.412,-47.7942,0,0,0,0,100,0), +(@PATH,60,-6399.9,1061.412,-48.5442,0,0,0,0,100,0), +(@PATH,61,-6399.15,1057.412,-49.0442,0,0,0,0,100,0), +(@PATH,62,-6398.4,1053.662,-49.5442,0,0,0,0,100,0), +(@PATH,63,-6397.9,1052.162,-49.7942,0,0,0,0,100,0), +(@PATH,64,-6397.4,1049.412,-50.0442,0,0,0,0,100,0), +(@PATH,65,-6397.093,1049.344,-50.36893,0,0,0,0,100,0), +(@PATH,66,-6397.093,1048.594,-50.36893,0,0,0,0,100,0), +(@PATH,67,-6394.093,1045.094,-50.86893,0,0,0,0,100,0), +(@PATH,68,-6392.343,1042.594,-51.36893,0,0,0,0,100,0), +(@PATH,69,-6391.093,1041.094,-51.61893,0,0,0,0,100,0), +(@PATH,70,-6389.093,1038.594,-51.36893,0,0,0,0,100,0), +(@PATH,71,-6388.688,1038.458,-51.34899,0,0,0,0,100,0), +(@PATH,72,-6388.188,1037.708,-51.09899,0,0,0,0,100,0), +(@PATH,73,-6387.188,1036.458,-51.09899,0,0,0,0,100,0), +(@PATH,74,-6386.438,1035.458,-51.09899,0,0,0,0,100,0), +(@PATH,75,-6383.688,1032.208,-50.84899,0,0,0,0,100,0), +(@PATH,76,-6382.938,1031.208,-50.59899,0,0,0,0,100,0), +(@PATH,77,-6381.938,1029.958,-50.34899,0,0,0,0,100,0), +(@PATH,78,-6382.878,1030.862,-50.34762,0,0,0,0,100,0), +(@PATH,79,-6381.628,1029.612,-50.09762,0,0,0,0,100,0), +(@PATH,80,-6381.128,1028.862,-49.84762,0,0,0,0,100,0), +(@PATH,81,-6378.628,1024.862,-49.09762,0,0,0,0,100,0); + +-- Pathing for Entry: 11721 'TDB FORMAT' +SET @NPC := 362327; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6487.186,`position_y`=1046.088,`position_z`=-1.828539 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6487.186,1046.088,-1.828539,0,0,0,0,100,0), +(@PATH,2,-6488.936,1044.838,-0.828539,0,0,0,0,100,0), +(@PATH,3,-6492.936,1042.088,-0.07853901,0,0,0,0,100,0), +(@PATH,4,-6496.186,1039.588,0.671461,0,0,0,0,100,0), +(@PATH,5,-6519.735,1023.305,1.005377,0,0,0,0,100,0), +(@PATH,6,-6524.985,1020.305,1.505377,0,0,0,0,100,0), +(@PATH,7,-6527.735,1018.805,2.255377,0,0,0,0,100,0), +(@PATH,8,-6529.485,1017.805,2.755377,0,0,0,0,100,0), +(@PATH,9,-6531.985,1016.305,3.505377,0,0,0,0,100,0), +(@PATH,10,-6533.735,1015.555,4.005377,0,0,0,0,100,0), +(@PATH,11,-6537.235,1013.555,4.755377,0,0,0,0,100,0), +(@PATH,12,-6543.985,1009.805,5.255377,0,0,0,0,100,0), +(@PATH,13,-6553.735,1004.555,4.755377,0,0,0,0,100,0), +(@PATH,14,-6556.973,1003.033,4.469028,0,0,0,0,100,0), +(@PATH,15,-6560.973,1002.783,5.219028,0,0,0,0,100,0), +(@PATH,16,-6562.973,1002.783,5.969028,0,0,0,0,100,0), +(@PATH,17,-6565.973,1002.783,6.219028,0,0,0,0,100,0), +(@PATH,18,-6569.723,1002.783,5.969028,0,0,0,0,100,0), +(@PATH,19,-6576.723,1002.783,6.719028,0,0,0,0,100,0), +(@PATH,20,-6577.723,1002.783,7.219028,0,0,0,0,100,0), +(@PATH,21,-6576.766,1002.644,6.633681,0,0,0,0,100,0), +(@PATH,22,-6577.766,1002.644,7.133681,0,0,0,0,100,0), +(@PATH,23,-6578.016,1002.644,7.633681,0,0,0,0,100,0), +(@PATH,24,-6577.766,1001.644,7.133681,0,0,0,0,100,0), +(@PATH,25,-6576.766,997.8944,6.633681,0,0,0,0,100,0), +(@PATH,26,-6575.516,993.8944,6.133681,0,0,0,0,100,0), +(@PATH,27,-6574.766,991.1444,5.383681,0,0,0,0,100,0), +(@PATH,28,-6574.016,989.1444,4.883681,0,0,0,0,100,0), +(@PATH,29,-6573.516,987.1444,3.633682,0,0,0,0,100,0), +(@PATH,30,-6572.766,984.3944,2.633682,0,0,0,0,100,0), +(@PATH,31,-6571.766,981.8944,2.133682,0,0,0,0,100,0), +(@PATH,32,-6566.036,962.769,0.9954512,0,0,0,0,100,0), +(@PATH,33,-6531.036,952.019,1.245451,0,0,0,0,100,0), +(@PATH,34,-6530.036,951.769,1.745451,0,0,0,0,100,0), +(@PATH,35,-6527.477,950.8003,1.616581,0,0,0,0,100,0), +(@PATH,36,-6525.477,950.0503,-0.133419,0,0,0,0,100,0), +(@PATH,37,-6503.727,943.5503,0.616581,0,0,0,0,100,0), +(@PATH,38,-6501.977,942.8003,1.366581,0,0,0,0,100,0), +(@PATH,39,-6499.977,942.3003,2.116581,0,0,0,0,100,0), +(@PATH,40,-6497.129,941.2864,3.000234,0,0,0,0,100,0), +(@PATH,41,-6497.129,939.2864,2.250234,0,0,0,0,100,0), +(@PATH,42,-6496.879,937.2864,1.500234,0,0,0,0,100,0), +(@PATH,43,-6496.879,935.2864,0.7502341,0,0,0,0,100,0), +(@PATH,44,-6495.629,912.5364,1.750234,0,0,0,0,100,0), +(@PATH,45,-6495.379,910.5364,2.750234,0,0,0,0,100,0), +(@PATH,46,-6495.379,908.5364,3.750234,0,0,0,0,100,0), +(@PATH,47,-6495.129,905.5364,4.750234,0,0,0,0,100,0), +(@PATH,48,-6495.129,903.5364,5.500234,0,0,0,0,100,0), +(@PATH,49,-6494.879,902.5364,6.250234,0,0,0,0,100,0), +(@PATH,50,-6494.879,901.5364,6.750234,0,0,0,0,100,0), +(@PATH,51,-6494.879,899.5364,7.750234,0,0,0,0,100,0), +(@PATH,52,-6494.629,897.5364,8.500235,0,0,0,0,100,0), +(@PATH,53,-6494.52,899.3455,8.039156,0,0,0,0,100,0), +(@PATH,54,-6494.52,897.3455,8.789156,0,0,0,0,100,0), +(@PATH,55,-6494.27,896.3455,9.289156,0,0,0,0,100,0), +(@PATH,56,-6494.27,894.3455,10.03916,0,0,0,0,100,0), +(@PATH,57,-6494.02,892.3455,11.03916,0,0,0,0,100,0), +(@PATH,58,-6493.77,890.3455,12.28916,0,0,0,0,100,0), +(@PATH,59,-6493.52,888.3455,12.78916,0,0,0,0,100,0), +(@PATH,60,-6493.52,886.3455,13.28916,0,0,0,0,100,0), +(@PATH,61,-6493.27,882.5955,14.03916,0,0,0,0,100,0), +(@PATH,62,-6492.77,876.5955,14.53916,0,0,0,0,100,0), +(@PATH,63,-6492.52,874.5955,15.28916,0,0,0,0,100,0), +(@PATH,64,-6492.27,872.8455,15.78916,0,0,0,0,100,0), +(@PATH,65,-6492.02,870.8455,16.78916,0,0,0,0,100,0), +(@PATH,66,-6492.02,868.8455,17.53916,0,0,0,0,100,0), +(@PATH,67,-6491.77,866.8455,18.03916,0,0,0,0,100,0), +(@PATH,68,-6491.928,868.223,17.5217,0,0,0,0,100,0), +(@PATH,69,-6492.178,870.223,16.7717,0,0,0,0,100,0), +(@PATH,70,-6492.178,872.223,15.7717,0,0,0,0,100,0), +(@PATH,71,-6492.428,874.223,15.2717,0,0,0,0,100,0), +(@PATH,72,-6492.678,877.223,14.5217,0,0,0,0,100,0), +(@PATH,73,-6493.178,881.973,14.0217,0,0,0,0,100,0), +(@PATH,74,-6493.428,885.973,13.5217,0,0,0,0,100,0), +(@PATH,75,-6493.678,887.973,13.0217,0,0,0,0,100,0), +(@PATH,76,-6493.678,889.973,12.2717,0,0,0,0,100,0), +(@PATH,77,-6494.178,892.973,10.5217,0,0,0,0,100,0), +(@PATH,78,-6494.178,894.973,9.521699,0,0,0,0,100,0), +(@PATH,79,-6494.744,896.5061,9.162479,0,0,0,0,100,0), +(@PATH,80,-6494.744,898.5061,8.162479,0,0,0,0,100,0), +(@PATH,81,-6494.994,900.5061,7.162479,0,0,0,0,100,0), +(@PATH,82,-6494.994,902.5061,6.162479,0,0,0,0,100,0), +(@PATH,83,-6494.994,903.5061,5.662479,0,0,0,0,100,0), +(@PATH,84,-6495.244,905.5061,4.662479,0,0,0,0,100,0), +(@PATH,85,-6495.244,907.5061,3.662479,0,0,0,0,100,0), +(@PATH,86,-6495.494,910.5061,2.662479,0,0,0,0,100,0), +(@PATH,87,-6495.744,912.5061,1.662479,0,0,0,0,100,0), +(@PATH,88,-6495.744,913.5061,1.162479,0,0,0,0,100,0), +(@PATH,89,-6495.744,915.5061,0.4124794,0,0,0,0,100,0), +(@PATH,90,-6496.994,936.2561,1.162479,0,0,0,0,100,0), +(@PATH,91,-6496.994,938.2561,1.912479,0,0,0,0,100,0), +(@PATH,92,-6497.244,940.2561,2.662479,0,0,0,0,100,0), +(@PATH,93,-6497.48,940.6235,2.330024,0,0,0,0,100,0), +(@PATH,94,-6497.48,941.3735,2.830024,0,0,0,0,100,0), +(@PATH,95,-6499.48,942.1235,1.830024,0,0,0,0,100,0), +(@PATH,96,-6501.23,942.6235,1.330024,0,0,0,0,100,0), +(@PATH,97,-6503.23,943.3735,0.8300242,0,0,0,0,100,0), +(@PATH,98,-6512.48,945.8735,0.08002424,0,0,0,0,100,0), +(@PATH,99,-6525.73,950.1235,0.8300242,0,0,0,0,100,0), +(@PATH,100,-6527.662,950.9357,1.475943,0,0,0,0,100,0), +(@PATH,101,-6528.662,951.1857,2.225943,0,0,0,0,100,0), +(@PATH,102,-6530.412,951.9357,1.225943,0,0,0,0,100,0), +(@PATH,103,-6531.412,952.1857,0.4759433,0,0,0,0,100,0), +(@PATH,104,-6566.394,963.0308,1.032637,0,0,0,0,100,0), +(@PATH,105,-6571.894,982.0308,2.032637,0,0,0,0,100,0), +(@PATH,106,-6572.644,984.7808,3.282637,0,0,0,0,100,0), +(@PATH,107,-6573.644,987.5308,4.032637,0,0,0,0,100,0), +(@PATH,108,-6574.644,991.5308,5.782637,0,0,0,0,100,0), +(@PATH,109,-6575.894,995.2808,6.532637,0,0,0,0,100,0), +(@PATH,110,-6577.144,999.0308,7.282637,0,0,0,0,100,0), +(@PATH,111,-6577.894,1002.031,7.782637,0,0,0,0,100,0), +(@PATH,112,-6577.04,999.3224,7.242746,0,0,0,0,100,0), +(@PATH,113,-6578.04,1001.822,7.742746,0,0,0,0,100,0), +(@PATH,114,-6578.04,1002.572,7.742746,0,0,0,0,100,0), +(@PATH,115,-6577.04,1002.572,7.242746,0,0,0,0,100,0), +(@PATH,116,-6576.04,1002.572,6.492746,0,0,0,0,100,0), +(@PATH,117,-6574.04,1002.572,5.492746,0,0,0,0,100,0), +(@PATH,118,-6567.04,1002.572,6.242746,0,0,0,0,100,0), +(@PATH,119,-6563.29,1002.572,5.742746,0,0,0,0,100,0), +(@PATH,120,-6561.29,1002.572,5.242746,0,0,0,0,100,0), +(@PATH,121,-6558.29,1002.572,4.492746,0,0,0,0,100,0), +(@PATH,122,-6558.102,1002.924,4.149929,0,0,0,0,100,0), +(@PATH,123,-6556.602,1002.924,4.149929,0,0,0,0,100,0), +(@PATH,124,-6552.352,1005.424,4.899929,0,0,0,0,100,0), +(@PATH,125,-6534.102,1015.174,4.149929,0,0,0,0,100,0), +(@PATH,126,-6531.602,1016.674,3.399929,0,0,0,0,100,0), +(@PATH,127,-6529.852,1017.674,2.649929,0,0,0,0,100,0), +(@PATH,128,-6528.102,1018.674,2.149929,0,0,0,0,100,0), +(@PATH,129,-6525.352,1020.174,1.649929,0,0,0,0,100,0), +(@PATH,130,-6521.852,1021.924,0.8999286,0,0,0,0,100,0), +(@PATH,131,-6521.732,1022.157,0.7249422,0,0,0,0,100,0), +(@PATH,132,-6519.482,1023.407,0.7249422,0,0,0,0,100,0), +(@PATH,133,-6494.482,1040.907,-0.02505779,0,0,0,0,100,0), +(@PATH,134,-6491.982,1042.657,-0.5250578,0,0,0,0,100,0), +(@PATH,135,-6489.482,1044.407,-1.275058,0,0,0,0,100,0), +(@PATH,136,-6489.166,1044.569,-1.2364,0,0,0,0,100,0), +(@PATH,137,-6486.916,1046.319,-1.7364,0,0,0,0,100,0), +(@PATH,138,-6459.916,1081.819,-1.2364,0,0,0,0,100,0), +(@PATH,139,-6457.044,1086.036,-0.5781414,0,0,0,0,100,0), +(@PATH,140,-6453.294,1089.286,-0.07814139,0,0,0,0,100,0), +(@PATH,141,-6450.294,1092.036,0.4218586,0,0,0,0,100,0), +(@PATH,142,-6442.294,1099.286,0.9218586,0,0,0,0,100,0), +(@PATH,143,-6440.044,1101.286,1.671859,0,0,0,0,100,0), +(@PATH,144,-6437.162,1103.788,2.067003,0,0,0,0,100,0), +(@PATH,145,-6430.412,1099.538,2.317003,0,0,0,0,100,0), +(@PATH,146,-6428.162,1098.038,3.067003,0,0,0,0,100,0), +(@PATH,147,-6425.662,1096.538,3.567003,0,0,0,0,100,0), +(@PATH,148,-6423.162,1094.788,5.317003,0,0,0,0,100,0), +(@PATH,149,-6423.596,1095.055,4.589497,0,0,0,0,100,0), +(@PATH,150,-6425.096,1096.305,3.589497,0,0,0,0,100,0), +(@PATH,151,-6427.846,1097.805,3.089497,0,0,0,0,100,0), +(@PATH,152,-6430.096,1099.305,2.339497,0,0,0,0,100,0), +(@PATH,153,-6434.096,1101.805,1.839497,0,0,0,0,100,0), +(@PATH,154,-6434.424,1101.819,1.526529,0,0,0,0,100,0), +(@PATH,155,-6437.424,1103.819,1.776529,0,0,0,0,100,0), +(@PATH,156,-6441.674,1099.819,1.026529,0,0,0,0,100,0), +(@PATH,157,-6450.424,1091.819,0.2765286,0,0,0,0,100,0), +(@PATH,158,-6454.174,1088.569,-0.2234714,0,0,0,0,100,0), +(@PATH,159,-6457.185,1085.722,-0.8559994,0,0,0,0,100,0), +(@PATH,160,-6460.185,1081.722,-1.355999,0,0,0,0,100,0), +(@PATH,161,-6465.685,1074.472,-1.855999,0,0,0,0,100,0), +(@PATH,162,-6469.935,1068.972,-1.355999,0,0,0,0,100,0), +(@PATH,163,-6475.685,1061.222,-1.855999,0,0,0,0,100,0); + +-- Pathing for Entry: 14475 'TDB FORMAT' +SET @NPC := 362481; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6581.893,`position_y`=877.6938,`position_z`=-44.49958 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6581.893,877.6938,-44.49958,0,0,0,0,100,0), +(@PATH,2,-6586.643,880.1938,-43.24958,0,0,0,0,100,0), +(@PATH,3,-6588.143,881.1938,-42.74958,0,0,0,0,100,0), +(@PATH,4,-6589.143,881.6938,-42.99958,0,0,0,0,100,0), +(@PATH,5,-6591.643,882.6938,-43.74958,0,0,0,0,100,0), +(@PATH,6,-6592.643,883.1938,-43.74958,0,0,0,0,100,0), +(@PATH,7,-6594.143,883.9438,-43.99958,0,0,0,0,100,0), +(@PATH,8,-6594.125,884.3422,-43.93736,0,0,0,0,100,0), +(@PATH,9,-6595.375,885.0922,-44.18736,0,0,0,0,100,0), +(@PATH,10,-6593.875,889.3422,-43.43736,0,0,0,0,100,0), +(@PATH,11,-6593.125,891.0922,-42.68736,0,0,0,0,100,0), +(@PATH,12,-6592.625,892.8422,-42.93736,0,0,0,0,100,0), +(@PATH,13,-6591.875,895.5922,-43.68736,0,0,0,0,100,0), +(@PATH,14,-6591.772,895.9645,-43.69376,0,0,0,0,100,0), +(@PATH,15,-6591.272,897.2145,-44.19376,0,0,0,0,100,0), +(@PATH,16,-6591.272,898.2145,-44.44376,0,0,0,0,100,0), +(@PATH,17,-6591.522,900.7145,-45.69376,0,0,0,0,100,0), +(@PATH,18,-6591.522,902.9645,-46.19376,0,0,0,0,100,0), +(@PATH,19,-6591.522,905.4645,-46.19376,0,0,0,0,100,0), +(@PATH,20,-6591.772,907.2145,-46.69376,0,0,0,0,100,0), +(@PATH,21,-6591.772,908.4645,-46.94376,0,0,0,0,100,0), +(@PATH,22,-6591.804,908.67,-47.3574,0,0,0,0,100,0), +(@PATH,23,-6591.804,910.17,-48.1074,0,0,0,0,100,0), +(@PATH,24,-6592.804,911.92,-49.1074,0,0,0,0,100,0), +(@PATH,25,-6593.554,912.92,-49.3574,0,0,0,0,100,0), +(@PATH,26,-6594.554,914.42,-50.1074,0,0,0,0,100,0), +(@PATH,27,-6596.554,917.42,-50.6074,0,0,0,0,100,0), +(@PATH,28,-6598.804,919.42,-50.8574,0,0,0,0,100,0), +(@PATH,29,-6600.804,921.92,-50.8574,0,0,0,0,100,0), +(@PATH,30,-6601.304,922.42,-50.8574,0,0,0,0,100,0), +(@PATH,31,-6602.804,923.92,-50.8574,0,0,0,0,100,0), +(@PATH,32,-6603.554,924.92,-50.8574,0,0,0,0,100,0), +(@PATH,33,-6606.054,926.92,-51.6074,0,0,0,0,100,0), +(@PATH,34,-6608.899,929.6281,-52.8132,0,0,0,0,100,0), +(@PATH,35,-6610.149,929.6281,-52.8132,0,0,0,0,100,0), +(@PATH,36,-6613.149,929.6281,-52.8132,0,0,0,0,100,0), +(@PATH,37,-6615.899,929.6281,-52.8132,0,0,0,0,100,0), +(@PATH,38,-6617.649,929.6281,-52.5632,0,0,0,0,100,0), +(@PATH,39,-6619.899,929.3781,-52.5632,0,0,0,0,100,0), +(@PATH,40,-6621.899,929.3781,-52.5632,0,0,0,0,100,0), +(@PATH,41,-6624.649,929.3781,-52.8132,0,0,0,0,100,0), +(@PATH,42,-6624.813,929.6943,-52.79211,0,0,0,0,100,0), +(@PATH,43,-6627.563,929.6943,-53.04211,0,0,0,0,100,0), +(@PATH,44,-6627.813,930.9443,-52.79211,0,0,0,0,100,0), +(@PATH,45,-6628.063,933.1943,-52.79211,0,0,0,0,100,0), +(@PATH,46,-6628.313,934.6943,-52.79211,0,0,0,0,100,0), +(@PATH,47,-6628.563,936.6943,-52.54211,0,0,0,0,100,0), +(@PATH,48,-6629.063,938.6943,-52.54211,0,0,0,0,100,0), +(@PATH,49,-6629.063,939.6943,-52.54211,0,0,0,0,100,0), +(@PATH,50,-6629.563,942.1943,-52.79211,0,0,0,0,100,0), +(@PATH,51,-6629.516,942.1774,-52.66272,0,0,0,0,100,0), +(@PATH,52,-6629.016,939.6774,-52.66272,0,0,0,0,100,0), +(@PATH,53,-6629.016,938.6774,-52.66272,0,0,0,0,100,0), +(@PATH,54,-6629.016,937.4274,-52.66272,0,0,0,0,100,0), +(@PATH,55,-6628.516,934.6774,-52.66272,0,0,0,0,100,0), +(@PATH,56,-6628.266,933.1774,-52.66272,0,0,0,0,100,0), +(@PATH,57,-6628.016,931.1774,-52.91272,0,0,0,0,100,0), +(@PATH,58,-6627.709,931.1777,-52.86002,0,0,0,0,100,0), +(@PATH,59,-6627.459,929.6777,-53.11002,0,0,0,0,100,0), +(@PATH,60,-6624.459,929.6777,-52.86002,0,0,0,0,100,0), +(@PATH,61,-6621.959,929.9277,-52.61002,0,0,0,0,100,0), +(@PATH,62,-6619.959,929.9277,-52.61002,0,0,0,0,100,0), +(@PATH,63,-6617.959,929.9277,-52.61002,0,0,0,0,100,0), +(@PATH,64,-6615.959,929.9277,-52.61002,0,0,0,0,100,0), +(@PATH,65,-6613.209,929.9277,-52.86002,0,0,0,0,100,0), +(@PATH,66,-6609.959,930.1777,-53.11002,0,0,0,0,100,0), +(@PATH,67,-6609.532,929.884,-52.9166,0,0,0,0,100,0), +(@PATH,68,-6609.032,929.884,-52.9166,0,0,0,0,100,0), +(@PATH,69,-6606.282,926.634,-51.6666,0,0,0,0,100,0), +(@PATH,70,-6603.782,924.134,-50.9166,0,0,0,0,100,0), +(@PATH,71,-6602.282,922.134,-50.6666,0,0,0,0,100,0), +(@PATH,72,-6601.532,921.134,-50.1666,0,0,0,0,100,0), +(@PATH,73,-6600.782,920.134,-50.6666,0,0,0,0,100,0), +(@PATH,74,-6599.532,919.134,-50.6666,0,0,0,0,100,0), +(@PATH,75,-6597.532,916.884,-50.6666,0,0,0,0,100,0), +(@PATH,76,-6596.532,915.634,-50.4166,0,0,0,0,100,0), +(@PATH,77,-6595.282,914.134,-50.1666,0,0,0,0,100,0), +(@PATH,78,-6594.032,912.884,-49.4166,0,0,0,0,100,0), +(@PATH,79,-6593.282,911.884,-49.1666,0,0,0,0,100,0), +(@PATH,80,-6592.282,910.634,-48.4166,0,0,0,0,100,0), +(@PATH,81,-6592.965,911.5088,-48.79799,0,0,0,0,100,0), +(@PATH,82,-6592.215,910.5088,-48.04799,0,0,0,0,100,0), +(@PATH,83,-6591.715,910.0088,-47.79799,0,0,0,0,100,0), +(@PATH,84,-6591.715,908.5088,-47.04799,0,0,0,0,100,0), +(@PATH,85,-6591.715,907.2588,-46.79799,0,0,0,0,100,0), +(@PATH,86,-6591.715,905.5088,-46.54799,0,0,0,0,100,0), +(@PATH,87,-6591.465,903.0088,-46.29799,0,0,0,0,100,0), +(@PATH,88,-6591.465,900.7588,-45.54799,0,0,0,0,100,0), +(@PATH,89,-6591.215,898.2588,-44.54799,0,0,0,0,100,0), +(@PATH,90,-6591.306,898.0299,-44.50747,0,0,0,0,100,0), +(@PATH,91,-6591.306,896.7799,-44.25747,0,0,0,0,100,0), +(@PATH,92,-6591.806,895.5299,-43.75747,0,0,0,0,100,0), +(@PATH,93,-6592.556,893.2799,-43.00747,0,0,0,0,100,0), +(@PATH,94,-6593.306,891.2799,-42.75747,0,0,0,0,100,0), +(@PATH,95,-6593.806,889.5299,-43.25747,0,0,0,0,100,0), +(@PATH,96,-6595.306,885.7799,-44.00747,0,0,0,0,100,0), +(@PATH,97,-6595.23,885.4431,-44.13034,0,0,0,0,100,0), +(@PATH,98,-6595.48,884.6931,-44.13034,0,0,0,0,100,0), +(@PATH,99,-6594.48,884.1931,-44.13034,0,0,0,0,100,0), +(@PATH,100,-6593.48,883.6931,-43.88034,0,0,0,0,100,0), +(@PATH,101,-6591.73,882.6931,-43.63034,0,0,0,0,100,0), +(@PATH,102,-6589.23,881.6931,-42.88034,0,0,0,0,100,0), +(@PATH,103,-6588.23,880.9431,-42.63034,0,0,0,0,100,0), +(@PATH,104,-6587.48,880.4431,-42.88034,0,0,0,0,100,0), +(@PATH,105,-6586.48,879.9431,-43.13034,0,0,0,0,100,0), +(@PATH,106,-6581.625,877.4446,-44.29211,0,0,0,0,100,0), +(@PATH,107,-6580.125,878.6946,-44.29211,0,0,0,0,100,0), +(@PATH,108,-6576.875,881.1946,-43.79211,0,0,0,0,100,0), +(@PATH,109,-6575.875,881.6946,-44.04211,0,0,0,0,100,0), +(@PATH,110,-6573.375,883.1946,-43.54211,0,0,0,0,100,0), +(@PATH,111,-6570.341,885.3922,-42.84708,0,0,0,0,100,0), +(@PATH,112,-6568.841,885.3922,-42.84708,0,0,0,0,100,0), +(@PATH,113,-6566.091,885.3922,-42.09708,0,0,0,0,100,0), +(@PATH,114,-6564.591,885.3922,-41.84708,0,0,0,0,100,0), +(@PATH,115,-6562.591,885.1422,-41.34708,0,0,0,0,100,0), +(@PATH,116,-6561.341,885.1422,-41.09708,0,0,0,0,100,0), +(@PATH,117,-6554.808,885.088,-39.01291,0,0,0,0,100,0), +(@PATH,118,-6550.808,879.088,-36.76291,0,0,0,0,100,0), +(@PATH,119,-6549.308,877.588,-35.76291,0,0,0,0,100,0), +(@PATH,120,-6546.058,872.838,-33.26291,0,0,0,0,100,0), +(@PATH,121,-6545.649,872.6693,-33.11087,0,0,0,0,100,0), +(@PATH,122,-6544.899,871.4193,-32.36087,0,0,0,0,100,0), +(@PATH,123,-6541.899,868.4193,-30.86087,0,0,0,0,100,0), +(@PATH,124,-6541.149,867.6693,-29.36087,0,0,0,0,100,0), +(@PATH,125,-6539.399,865.9193,-29.86087,0,0,0,0,100,0), +(@PATH,126,-6538.399,865.1693,-29.86087,0,0,0,0,100,0), +(@PATH,127,-6537.649,864.1693,-29.36087,0,0,0,0,100,0), +(@PATH,128,-6536.899,863.4193,-29.11087,0,0,0,0,100,0), +(@PATH,129,-6537.324,864.1331,-29.4792,0,0,0,0,100,0), +(@PATH,130,-6536.574,863.3831,-29.2292,0,0,0,0,100,0), +(@PATH,131,-6535.574,862.3831,-28.9792,0,0,0,0,100,0), +(@PATH,132,-6534.074,862.6331,-29.2292,0,0,0,0,100,0), +(@PATH,133,-6532.574,863.1331,-29.4792,0,0,0,0,100,0), +(@PATH,134,-6529.074,863.8831,-29.2292,0,0,0,0,100,0), +(@PATH,135,-6527.824,864.1331,-28.9792,0,0,0,0,100,0), +(@PATH,136,-6526.824,864.3831,-28.9792,0,0,0,0,100,0), +(@PATH,137,-6524.324,864.8831,-28.9792,0,0,0,0,100,0), +(@PATH,138,-6520.574,865.6331,-29.7292,0,0,0,0,100,0), +(@PATH,139,-6520.402,865.9531,-29.78043,0,0,0,0,100,0), +(@PATH,140,-6518.152,866.4531,-30.28043,0,0,0,0,100,0), +(@PATH,141,-6517.652,868.2031,-31.03043,0,0,0,0,100,0), +(@PATH,142,-6516.652,871.7031,-32.53043,0,0,0,0,100,0), +(@PATH,143,-6516.152,873.9531,-33.53043,0,0,0,0,100,0), +(@PATH,144,-6514.902,877.7031,-35.28043,0,0,0,0,100,0), +(@PATH,145,-6513.902,880.9531,-36.53043,0,0,0,0,100,0), +(@PATH,146,-6512.652,884.7031,-38.78043,0,0,0,0,100,0), +(@PATH,147,-6512.471,885.0007,-39.12286,0,0,0,0,100,0), +(@PATH,148,-6511.721,887.2507,-39.62286,0,0,0,0,100,0), +(@PATH,149,-6509.471,889.5007,-40.37286,0,0,0,0,100,0), +(@PATH,150,-6506.721,892.2507,-40.12286,0,0,0,0,100,0), +(@PATH,151,-6505.221,893.5007,-40.12286,0,0,0,0,100,0), +(@PATH,152,-6504.471,894.5007,-39.87286,0,0,0,0,100,0), +(@PATH,153,-6502.721,896.2507,-39.87286,0,0,0,0,100,0), +(@PATH,154,-6501.971,897.0007,-39.87286,0,0,0,0,100,0), +(@PATH,155,-6500.221,898.5007,-40.37286,0,0,0,0,100,0), +(@PATH,156,-6498.221,900.5007,-40.87286,0,0,0,0,100,0), +(@PATH,157,-6497.884,900.8149,-41.21962,0,0,0,0,100,0), +(@PATH,158,-6496.884,902.0649,-41.46962,0,0,0,0,100,0), +(@PATH,159,-6490.634,903.8149,-41.21962,0,0,0,0,100,0), +(@PATH,160,-6488.134,904.0649,-40.96962,0,0,0,0,100,0), +(@PATH,161,-6486.134,904.8149,-40.21962,0,0,0,0,100,0), +(@PATH,162,-6484.384,905.3149,-40.46962,0,0,0,0,100,0), +(@PATH,163,-6482.134,905.8149,-40.46962,0,0,0,0,100,0), +(@PATH,164,-6480.134,906.3149,-40.71962,0,0,0,0,100,0), +(@PATH,165,-6478.134,906.8149,-40.96962,0,0,0,0,100,0), +(@PATH,166,-6476.884,907.3149,-41.21962,0,0,0,0,100,0), +(@PATH,167,-6475.634,907.5649,-40.96962,0,0,0,0,100,0), +(@PATH,168,-6474.634,907.8149,-41.21962,0,0,0,0,100,0), +(@PATH,169,-6475.622,907.8441,-41.10816,0,0,0,0,100,0), +(@PATH,170,-6474.622,908.0941,-41.10816,0,0,0,0,100,0), +(@PATH,171,-6473.872,908.3441,-41.35816,0,0,0,0,100,0), +(@PATH,172,-6474.622,909.5941,-41.60816,0,0,0,0,100,0), +(@PATH,173,-6476.622,913.8441,-41.60816,0,0,0,0,100,0), +(@PATH,174,-6478.122,916.3441,-41.35816,0,0,0,0,100,0), +(@PATH,175,-6479.122,919.3441,-41.60816,0,0,0,0,100,0), +(@PATH,176,-6479.872,920.8441,-41.60816,0,0,0,0,100,0), +(@PATH,177,-6479.854,920.7589,-41.6753,0,0,0,0,100,0), +(@PATH,178,-6479.354,919.5089,-41.6753,0,0,0,0,100,0), +(@PATH,179,-6478.104,916.7589,-41.4253,0,0,0,0,100,0), +(@PATH,180,-6476.854,914.5089,-41.4253,0,0,0,0,100,0), +(@PATH,181,-6474.854,910.0089,-41.6753,0,0,0,0,100,0), +(@PATH,182,-6474.354,909.0089,-41.6753,0,0,0,0,100,0), +(@PATH,183,-6474.704,909.8595,-41.83865,0,0,0,0,100,0), +(@PATH,184,-6474.204,908.8595,-41.58865,0,0,0,0,100,0), +(@PATH,185,-6473.954,908.1095,-41.33865,0,0,0,0,100,0), +(@PATH,186,-6475.704,907.6095,-41.08865,0,0,0,0,100,0), +(@PATH,187,-6476.704,907.3595,-41.08865,0,0,0,0,100,0), +(@PATH,188,-6478.204,906.8595,-40.83865,0,0,0,0,100,0), +(@PATH,189,-6479.454,906.8595,-41.08865,0,0,0,0,100,0), +(@PATH,190,-6481.204,906.3595,-40.83865,0,0,0,0,100,0), +(@PATH,191,-6483.704,905.6095,-40.83865,0,0,0,0,100,0), +(@PATH,192,-6486.204,904.8595,-40.33865,0,0,0,0,100,0), +(@PATH,193,-6487.704,904.6095,-40.58865,0,0,0,0,100,0), +(@PATH,194,-6490.454,903.8595,-41.33865,0,0,0,0,100,0), +(@PATH,195,-6495.954,902.3595,-41.83865,0,0,0,0,100,0), +(@PATH,196,-6496.21,901.9697,-41.83475,0,0,0,0,100,0), +(@PATH,197,-6496.96,901.7197,-41.58475,0,0,0,0,100,0), +(@PATH,198,-6498.21,900.4697,-40.83475,0,0,0,0,100,0), +(@PATH,199,-6500.21,898.7197,-40.58475,0,0,0,0,100,0), +(@PATH,200,-6501.96,896.9697,-39.83475,0,0,0,0,100,0), +(@PATH,201,-6502.46,896.2197,-39.83475,0,0,0,0,100,0), +(@PATH,202,-6504.21,894.7197,-40.08475,0,0,0,0,100,0), +(@PATH,203,-6505.21,893.7197,-40.08475,0,0,0,0,100,0), +(@PATH,204,-6506.21,892.7197,-40.08475,0,0,0,0,100,0), +(@PATH,205,-6509.46,889.4697,-40.33475,0,0,0,0,100,0), +(@PATH,206,-6512.166,887.1412,-39.37977,0,0,0,0,100,0), +(@PATH,207,-6512.666,884.6412,-38.62977,0,0,0,0,100,0), +(@PATH,208,-6513.916,880.8912,-36.37977,0,0,0,0,100,0), +(@PATH,209,-6514.666,877.6412,-35.37977,0,0,0,0,100,0), +(@PATH,210,-6515.666,874.6412,-34.12977,0,0,0,0,100,0), +(@PATH,211,-6516.416,872.1412,-32.87977,0,0,0,0,100,0), +(@PATH,212,-6517.666,868.1412,-31.12977,0,0,0,0,100,0), +(@PATH,213,-6517.873,868.0214,-30.94336,0,0,0,0,100,0), +(@PATH,214,-6518.373,866.2714,-30.44336,0,0,0,0,100,0), +(@PATH,215,-6519.873,866.0214,-29.94336,0,0,0,0,100,0), +(@PATH,216,-6523.623,865.2714,-28.94336,0,0,0,0,100,0), +(@PATH,217,-6526.623,864.5214,-28.94336,0,0,0,0,100,0), +(@PATH,218,-6527.623,864.2714,-28.94336,0,0,0,0,100,0), +(@PATH,219,-6528.873,863.7714,-29.44336,0,0,0,0,100,0), +(@PATH,220,-6532.623,863.0214,-29.44336,0,0,0,0,100,0), +(@PATH,221,-6534.123,862.7714,-29.19336,0,0,0,0,100,0), +(@PATH,222,-6532.715,863.0087,-29.43711,0,0,0,0,100,0), +(@PATH,223,-6534.465,862.7587,-29.43711,0,0,0,0,100,0), +(@PATH,224,-6535.465,862.5087,-29.18711,0,0,0,0,100,0), +(@PATH,225,-6536.715,863.5087,-29.18711,0,0,0,0,100,0), +(@PATH,226,-6537.465,864.5087,-29.43711,0,0,0,0,100,0), +(@PATH,227,-6538.965,866.2587,-29.93711,0,0,0,0,100,0), +(@PATH,228,-6540.965,867.5087,-29.43711,0,0,0,0,100,0), +(@PATH,229,-6541.965,868.7587,-30.93711,0,0,0,0,100,0), +(@PATH,230,-6545.064,871.7455,-32.75611,0,0,0,0,100,0), +(@PATH,231,-6546.064,872.9955,-33.25611,0,0,0,0,100,0), +(@PATH,232,-6549.064,877.2455,-35.50611,0,0,0,0,100,0), +(@PATH,233,-6550.064,878.4955,-36.25611,0,0,0,0,100,0), +(@PATH,234,-6555.167,885.0463,-39.37602,0,0,0,0,100,0), +(@PATH,235,-6561.417,885.2963,-40.87602,0,0,0,0,100,0), +(@PATH,236,-6562.167,885.2963,-41.12602,0,0,0,0,100,0), +(@PATH,237,-6564.417,885.2963,-41.87602,0,0,0,0,100,0), +(@PATH,238,-6566.167,885.2963,-42.12602,0,0,0,0,100,0), +(@PATH,239,-6568.917,885.2963,-42.62602,0,0,0,0,100,0), +(@PATH,240,-6569.231,885.3406,-42.87326,0,0,0,0,100,0), +(@PATH,241,-6570.481,885.3406,-43.12326,0,0,0,0,100,0), +(@PATH,242,-6573.481,883.3406,-43.62326,0,0,0,0,100,0), +(@PATH,243,-6575.731,881.5906,-43.87326,0,0,0,0,100,0), +(@PATH,244,-6576.731,881.0906,-43.62326,0,0,0,0,100,0), +(@PATH,245,-6579.981,878.5906,-44.37326,0,0,0,0,100,0), +(@PATH,246,-6580.36,878.6445,-44.4393,0,0,0,0,100,0), +(@PATH,247,-6581.86,877.6445,-44.4393,0,0,0,0,100,0), +(@PATH,248,-6586.61,880.1445,-43.1893,0,0,0,0,100,0), +(@PATH,249,-6588.11,881.1445,-42.6893,0,0,0,0,100,0), +(@PATH,250,-6589.11,881.6445,-42.9393,0,0,0,0,100,0), +(@PATH,251,-6591.61,882.6445,-43.6893,0,0,0,0,100,0), +(@PATH,252,-6592.61,883.3945,-43.6893,0,0,0,0,100,0), +(@PATH,253,-6594.11,884.1445,-43.9393,0,0,0,0,100,0), +(@PATH,254,-6592.556,883.4218,-43.89427,0,0,0,0,100,0), +(@PATH,255,-6594.056,884.1718,-43.89427,0,0,0,0,100,0), +(@PATH,256,-6595.556,884.9218,-44.14427,0,0,0,0,100,0), +(@PATH,257,-6593.806,889.4218,-43.39427,0,0,0,0,100,0), +(@PATH,258,-6593.056,891.1718,-42.64427,0,0,0,0,100,0), +(@PATH,259,-6592.556,892.9218,-42.89427,0,0,0,0,100,0), +(@PATH,260,-6591.806,895.6718,-43.89427,0,0,0,0,100,0), +(@PATH,261,-6591.868,895.8162,-43.79365,0,0,0,0,100,0), +(@PATH,262,-6591.368,897.0662,-44.29365,0,0,0,0,100,0), +(@PATH,263,-6591.368,898.3162,-44.54365,0,0,0,0,100,0), +(@PATH,264,-6591.368,900.8162,-45.54365,0,0,0,0,100,0), +(@PATH,265,-6591.618,902.8162,-46.04365,0,0,0,0,100,0), +(@PATH,266,-6591.618,905.3162,-46.29365,0,0,0,0,100,0), +(@PATH,267,-6591.618,907.3162,-46.54365,0,0,0,0,100,0), +(@PATH,268,-6591.868,908.5662,-47.04365,0,0,0,0,100,0); + +-- Pathing for Entry: 11721 'TDB FORMAT' +SET @NPC := 362493; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6608.957,`position_y`=927.7502,`position_z`=-52.78017 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6608.957,927.7502,-52.78017,0,0,0,0,100,0), +(@PATH,2,-6610.957,928.5002,-52.78017,0,0,0,0,100,0), +(@PATH,3,-6612.457,928.5002,-52.78017,0,0,0,0,100,0), +(@PATH,4,-6615.457,928.5002,-52.78017,0,0,0,0,100,0), +(@PATH,5,-6617.707,928.5002,-52.78017,0,0,0,0,100,0), +(@PATH,6,-6619.957,928.7502,-52.78017,0,0,0,0,100,0), +(@PATH,7,-6622.207,928.7502,-52.78017,0,0,0,0,100,0), +(@PATH,8,-6624.957,928.7502,-52.78017,0,0,0,0,100,0), +(@PATH,9,-6628.207,928.7502,-52.78017,0,0,0,0,100,0), +(@PATH,10,-6628.415,928.874,-53.03842,0,0,0,0,100,0), +(@PATH,11,-6629.415,928.874,-53.03842,0,0,0,0,100,0), +(@PATH,12,-6629.665,930.124,-53.28842,0,0,0,0,100,0), +(@PATH,13,-6630.415,931.624,-53.03842,0,0,0,0,100,0), +(@PATH,14,-6630.665,933.374,-53.03842,0,0,0,0,100,0), +(@PATH,15,-6632.665,937.874,-53.03842,0,0,0,0,100,0), +(@PATH,16,-6633.165,939.124,-53.03842,0,0,0,0,100,0), +(@PATH,17,-6632.75,938.1896,-53.1444,0,0,0,0,100,0), +(@PATH,18,-6633,939.1896,-53.1444,0,0,0,0,100,0), +(@PATH,19,-6633.25,939.6896,-53.1444,0,0,0,0,100,0), +(@PATH,20,-6633,943.1896,-53.1444,0,0,0,0,100,0), +(@PATH,21,-6632.832,946.4623,-52.84259,0,0,0,0,100,0), +(@PATH,22,-6631.332,946.9623,-53.09259,0,0,0,0,100,0), +(@PATH,23,-6625.832,948.9623,-52.84259,0,0,0,0,100,0), +(@PATH,24,-6624.332,949.2123,-52.84259,0,0,0,0,100,0), +(@PATH,25,-6622.582,949.9623,-52.84259,0,0,0,0,100,0), +(@PATH,26,-6615.582,952.4623,-53.09259,0,0,0,0,100,0), +(@PATH,27,-6612.743,953.5074,-52.72138,0,0,0,0,100,0), +(@PATH,28,-6611.993,951.2574,-52.97138,0,0,0,0,100,0), +(@PATH,29,-6609.993,945.7574,-52.97138,0,0,0,0,100,0), +(@PATH,30,-6607.993,940.0074,-52.72138,0,0,0,0,100,0), +(@PATH,31,-6606.713,936.5403,-52.78998,0,0,0,0,100,0), +(@PATH,32,-6608.463,935.5403,-52.78998,0,0,0,0,100,0), +(@PATH,33,-6611.963,934.0403,-52.53998,0,0,0,0,100,0), +(@PATH,34,-6614.463,932.2903,-52.28998,0,0,0,0,100,0), +(@PATH,35,-6616.213,931.2903,-52.28998,0,0,0,0,100,0), +(@PATH,36,-6616.188,931.0289,-52.35191,0,0,0,0,100,0), +(@PATH,37,-6616.938,930.7789,-52.35191,0,0,0,0,100,0), +(@PATH,38,-6615.438,930.7789,-52.60191,0,0,0,0,100,0), +(@PATH,39,-6613.438,930.7789,-52.60191,0,0,0,0,100,0), +(@PATH,40,-6609.688,930.2789,-52.85191,0,0,0,0,100,0), +(@PATH,41,-6608.188,930.2789,-52.60191,0,0,0,0,100,0), +(@PATH,42,-6607.188,930.2789,-52.60191,0,0,0,0,100,0), +(@PATH,43,-6607.932,930.1097,-52.53621,0,0,0,0,100,0), +(@PATH,44,-6606.932,929.8597,-52.53621,0,0,0,0,100,0), +(@PATH,45,-6606.682,929.8597,-52.28621,0,0,0,0,100,0), +(@PATH,46,-6603.432,926.1097,-51.03621,0,0,0,0,100,0), +(@PATH,47,-6602.182,924.3597,-51.03621,0,0,0,0,100,0), +(@PATH,48,-6600.932,922.6097,-51.03621,0,0,0,0,100,0), +(@PATH,49,-6600.432,921.8597,-51.03621,0,0,0,0,100,0), +(@PATH,50,-6598.682,919.8597,-51.03621,0,0,0,0,100,0), +(@PATH,51,-6596.682,917.3597,-50.78621,0,0,0,0,100,0), +(@PATH,52,-6594.932,915.1097,-50.03621,0,0,0,0,100,0), +(@PATH,53,-6593.432,913.1097,-49.53621,0,0,0,0,100,0), +(@PATH,54,-6592.432,911.8597,-48.78621,0,0,0,0,100,0), +(@PATH,55,-6593.122,912.7352,-49.07124,0,0,0,0,100,0), +(@PATH,56,-6592.122,911.4852,-48.57124,0,0,0,0,100,0), +(@PATH,57,-6591.872,910.9852,-48.32124,0,0,0,0,100,0), +(@PATH,58,-6591.622,908.4852,-47.32124,0,0,0,0,100,0), +(@PATH,59,-6591.372,907.2352,-46.82124,0,0,0,0,100,0), +(@PATH,60,-6591.122,905.7352,-46.57124,0,0,0,0,100,0), +(@PATH,61,-6590.872,903.2352,-46.32124,0,0,0,0,100,0), +(@PATH,62,-6590.622,901.9852,-46.07124,0,0,0,0,100,0), +(@PATH,63,-6590.622,900.4852,-45.57124,0,0,0,0,100,0), +(@PATH,64,-6590.372,898.9852,-44.82124,0,0,0,0,100,0), +(@PATH,65,-6590.234,898.7715,-44.83385,0,0,0,0,100,0), +(@PATH,66,-6590.234,897.7715,-44.58385,0,0,0,0,100,0), +(@PATH,67,-6590.984,896.2715,-44.08385,0,0,0,0,100,0), +(@PATH,68,-6591.734,895.5215,-43.83385,0,0,0,0,100,0), +(@PATH,69,-6592.734,893.5215,-43.08385,0,0,0,0,100,0), +(@PATH,70,-6594.234,891.7715,-42.83385,0,0,0,0,100,0), +(@PATH,71,-6594.984,890.0215,-43.08385,0,0,0,0,100,0), +(@PATH,72,-6597.992,885.5552,-44.32981,0,0,0,0,100,0), +(@PATH,73,-6600.492,885.3052,-44.57981,0,0,0,0,100,0), +(@PATH,74,-6602.492,885.3052,-44.57981,0,0,0,0,100,0), +(@PATH,75,-6604.242,885.0552,-44.82981,0,0,0,0,100,0), +(@PATH,76,-6605.742,885.0552,-44.82981,0,0,0,0,100,0), +(@PATH,77,-6606.01,884.7334,-45.11391,0,0,0,0,100,0), +(@PATH,78,-6606.76,884.7334,-45.11391,0,0,0,0,100,0), +(@PATH,79,-6608.76,883.7334,-45.11391,0,0,0,0,100,0), +(@PATH,80,-6611.51,882.4834,-45.11391,0,0,0,0,100,0), +(@PATH,81,-6612.51,881.9834,-45.11391,0,0,0,0,100,0), +(@PATH,82,-6613.26,881.7334,-45.11391,0,0,0,0,100,0), +(@PATH,83,-6615.01,881.2334,-45.11391,0,0,0,0,100,0), +(@PATH,84,-6617.26,879.9834,-44.86391,0,0,0,0,100,0), +(@PATH,85,-6618.51,879.4834,-45.11391,0,0,0,0,100,0), +(@PATH,86,-6617.359,880.1313,-44.99215,0,0,0,0,100,0), +(@PATH,87,-6618.609,879.6313,-44.99215,0,0,0,0,100,0), +(@PATH,88,-6618.859,879.3813,-44.99215,0,0,0,0,100,0), +(@PATH,89,-6617.359,880.1313,-44.99215,0,0,0,0,100,0), +(@PATH,90,-6614.859,881.6313,-45.24215,0,0,0,0,100,0), +(@PATH,91,-6613.609,882.1313,-45.49215,0,0,0,0,100,0), +(@PATH,92,-6613.109,882.6313,-45.49215,0,0,0,0,100,0), +(@PATH,93,-6612.109,883.1313,-45.49215,0,0,0,0,100,0), +(@PATH,94,-6613.74,882.2843,-45.06874,0,0,0,0,100,0), +(@PATH,95,-6612.74,882.7843,-45.06874,0,0,0,0,100,0), +(@PATH,96,-6611.74,883.2843,-45.31874,0,0,0,0,100,0), +(@PATH,97,-6610.74,883.5343,-45.06874,0,0,0,0,100,0), +(@PATH,98,-6608.74,883.7843,-44.81874,0,0,0,0,100,0), +(@PATH,99,-6603.49,884.5343,-44.81874,0,0,0,0,100,0), +(@PATH,100,-6600.49,884.7843,-44.56874,0,0,0,0,100,0), +(@PATH,101,-6595.74,885.2843,-44.06874,0,0,0,0,100,0), +(@PATH,102,-6595.372,885.2461,-43.99937,0,0,0,0,100,0), +(@PATH,103,-6594.622,885.4961,-43.99937,0,0,0,0,100,0), +(@PATH,104,-6593.622,884.7461,-43.74937,0,0,0,0,100,0), +(@PATH,105,-6592.372,883.7461,-43.74937,0,0,0,0,100,0), +(@PATH,106,-6590.622,882.4961,-43.49937,0,0,0,0,100,0), +(@PATH,107,-6589.372,881.4961,-42.99937,0,0,0,0,100,0), +(@PATH,108,-6588.372,880.7461,-42.74937,0,0,0,0,100,0), +(@PATH,109,-6587.622,879.9961,-42.74937,0,0,0,0,100,0), +(@PATH,110,-6585.872,878.7461,-43.49937,0,0,0,0,100,0), +(@PATH,111,-6582.122,876.2461,-44.49937,0,0,0,0,100,0), +(@PATH,112,-6581.122,875.4961,-44.49937,0,0,0,0,100,0), +(@PATH,113,-6580.844,875.2336,-44.4491,0,0,0,0,100,0), +(@PATH,114,-6580.344,874.7336,-44.4491,0,0,0,0,100,0), +(@PATH,115,-6576.844,873.7336,-44.4491,0,0,0,0,100,0), +(@PATH,116,-6569.344,871.7336,-45.4491,0,0,0,0,100,0), +(@PATH,117,-6565.594,870.7336,-44.9491,0,0,0,0,100,0), +(@PATH,118,-6562.844,870.2336,-46.1991,0,0,0,0,100,0), +(@PATH,119,-6560.344,869.4836,-46.1991,0,0,0,0,100,0), +(@PATH,120,-6557.844,868.7336,-45.9491,0,0,0,0,100,0), +(@PATH,121,-6550.094,866.4836,-44.6991,0,0,0,0,100,0), +(@PATH,122,-6548.594,866.2336,-44.4491,0,0,0,0,100,0), +(@PATH,123,-6548.737,866.0897,-44.46768,0,0,0,0,100,0), +(@PATH,124,-6549.987,866.5897,-44.71768,0,0,0,0,100,0), +(@PATH,125,-6557.237,868.5897,-45.71768,0,0,0,0,100,0), +(@PATH,126,-6560.487,869.3397,-46.21768,0,0,0,0,100,0), +(@PATH,127,-6562.987,870.0897,-46.21768,0,0,0,0,100,0), +(@PATH,128,-6565.487,870.5897,-44.96768,0,0,0,0,100,0), +(@PATH,129,-6569.487,871.8397,-45.46768,0,0,0,0,100,0), +(@PATH,130,-6575.987,873.5897,-44.46768,0,0,0,0,100,0), +(@PATH,131,-6580.68,875.0477,-44.43678,0,0,0,0,100,0), +(@PATH,132,-6582.18,876.0477,-44.43678,0,0,0,0,100,0), +(@PATH,133,-6585.68,878.7977,-43.43678,0,0,0,0,100,0), +(@PATH,134,-6587.43,880.0477,-42.93678,0,0,0,0,100,0), +(@PATH,135,-6588.18,880.7977,-42.68678,0,0,0,0,100,0), +(@PATH,136,-6589.18,881.2977,-42.93678,0,0,0,0,100,0), +(@PATH,137,-6590.43,882.2977,-43.43678,0,0,0,0,100,0), +(@PATH,138,-6592.43,883.7977,-43.68678,0,0,0,0,100,0), +(@PATH,139,-6593.18,884.2977,-43.68678,0,0,0,0,100,0), +(@PATH,140,-6594.18,885.0477,-43.93678,0,0,0,0,100,0), +(@PATH,141,-6592.531,883.7402,-43.62167,0,0,0,0,100,0), +(@PATH,142,-6593.281,884.4902,-43.87167,0,0,0,0,100,0), +(@PATH,143,-6594.531,885.2402,-43.87167,0,0,0,0,100,0), +(@PATH,144,-6594.781,885.4902,-43.87167,0,0,0,0,100,0), +(@PATH,145,-6600.531,884.7402,-44.62167,0,0,0,0,100,0), +(@PATH,146,-6602.531,884.4902,-44.62167,0,0,0,0,100,0), +(@PATH,147,-6608.531,883.7402,-44.87167,0,0,0,0,100,0), +(@PATH,148,-6611.042,883.4973,-45.13795,0,0,0,0,100,0), +(@PATH,149,-6612.042,882.9973,-45.38795,0,0,0,0,100,0), +(@PATH,150,-6613.042,882.4973,-45.13795,0,0,0,0,100,0), +(@PATH,151,-6613.792,881.9973,-45.13795,0,0,0,0,100,0), +(@PATH,152,-6614.792,881.4973,-45.13795,0,0,0,0,100,0), +(@PATH,153,-6617.542,880.2473,-44.88795,0,0,0,0,100,0), +(@PATH,154,-6618.542,879.4973,-44.88795,0,0,0,0,100,0), +(@PATH,155,-6617.495,880.0712,-45.01062,0,0,0,0,100,0), +(@PATH,156,-6618.495,879.5712,-45.01062,0,0,0,0,100,0), +(@PATH,157,-6618.745,879.3212,-45.01062,0,0,0,0,100,0), +(@PATH,158,-6617.495,880.0712,-45.01062,0,0,0,0,100,0), +(@PATH,159,-6614.995,881.0712,-45.26062,0,0,0,0,100,0), +(@PATH,160,-6613.495,881.8212,-45.26062,0,0,0,0,100,0), +(@PATH,161,-6612.495,882.3212,-45.26062,0,0,0,0,100,0), +(@PATH,162,-6611.495,882.5712,-45.26062,0,0,0,0,100,0), +(@PATH,163,-6608.745,883.8212,-45.01062,0,0,0,0,100,0), +(@PATH,164,-6607.495,884.3212,-45.01062,0,0,0,0,100,0), +(@PATH,165,-6608.605,883.8728,-45.00596,0,0,0,0,100,0), +(@PATH,166,-6607.355,884.3728,-45.00596,0,0,0,0,100,0), +(@PATH,167,-6606.605,884.6228,-45.00596,0,0,0,0,100,0), +(@PATH,168,-6604.355,884.8728,-45.00596,0,0,0,0,100,0), +(@PATH,169,-6602.605,884.8728,-44.75596,0,0,0,0,100,0), +(@PATH,170,-6600.355,885.1228,-44.75596,0,0,0,0,100,0), +(@PATH,171,-6600.163,885.3898,-44.59311,0,0,0,0,100,0), +(@PATH,172,-6597.663,885.6398,-44.34311,0,0,0,0,100,0), +(@PATH,173,-6595.663,889.3898,-43.59311,0,0,0,0,100,0), +(@PATH,174,-6594.163,891.3898,-42.84311,0,0,0,0,100,0), +(@PATH,175,-6593.163,893.1398,-42.84311,0,0,0,0,100,0), +(@PATH,176,-6591.663,895.3898,-43.84311,0,0,0,0,100,0), +(@PATH,177,-6591.163,896.3898,-44.09311,0,0,0,0,100,0), +(@PATH,178,-6591.634,895.6976,-43.66979,0,0,0,0,100,0), +(@PATH,179,-6591.134,896.6976,-44.16979,0,0,0,0,100,0), +(@PATH,180,-6590.134,897.9476,-44.66979,0,0,0,0,100,0), +(@PATH,181,-6590.384,900.1976,-45.41979,0,0,0,0,100,0), +(@PATH,182,-6590.634,901.9476,-46.16979,0,0,0,0,100,0), +(@PATH,183,-6590.884,902.9476,-46.16979,0,0,0,0,100,0), +(@PATH,184,-6591.134,905.4476,-46.41979,0,0,0,0,100,0), +(@PATH,185,-6591.384,907.1976,-46.66979,0,0,0,0,100,0), +(@PATH,186,-6591.634,908.4476,-46.91979,0,0,0,0,100,0), +(@PATH,187,-6591.884,910.1976,-47.91979,0,0,0,0,100,0), +(@PATH,188,-6591.948,910.3034,-48.08257,0,0,0,0,100,0), +(@PATH,189,-6591.948,911.3034,-48.58257,0,0,0,0,100,0), +(@PATH,190,-6592.948,912.5534,-49.08257,0,0,0,0,100,0), +(@PATH,191,-6594.448,914.5534,-50.08257,0,0,0,0,100,0), +(@PATH,192,-6596.698,917.3034,-50.58257,0,0,0,0,100,0), +(@PATH,193,-6598.698,919.5534,-50.83257,0,0,0,0,100,0), +(@PATH,194,-6599.948,921.5534,-50.83257,0,0,0,0,100,0), +(@PATH,195,-6600.948,922.8034,-50.83257,0,0,0,0,100,0), +(@PATH,196,-6602.198,924.3034,-50.83257,0,0,0,0,100,0), +(@PATH,197,-6603.198,925.8034,-50.83257,0,0,0,0,100,0), +(@PATH,198,-6606.198,929.5534,-52.33257,0,0,0,0,100,0); + +-- Pathing for Entry: 15201 'TDB FORMAT' +SET @NPC := 362159; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6281.78,`position_y`=27.94415,`position_z`=-10.25444 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6281.78,27.94415,-10.25444,0,0,0,0,100,0), +(@PATH,2,-6287.03,33.44415,-10.50444,0,0,0,0,100,0), +(@PATH,3,-6290.714,36.99113,-10.15782,0,0,0,0,100,0), +(@PATH,4,-6294.964,33.74113,-10.15782,0,0,0,0,100,0), +(@PATH,5,-6296.714,32.74113,-10.15782,0,0,0,0,100,0), +(@PATH,6,-6297.464,32.24113,-9.907824,0,0,0,0,100,0), +(@PATH,7,-6300.37,29.97268,-9.264338,0,0,0,0,100,0), +(@PATH,8,-6299.87,27.47268,-8.764338,0,0,0,0,100,0), +(@PATH,9,-6298.328,20.09025,-6.640862,0,0,0,0,100,0), +(@PATH,10,-6296.828,17.84025,-5.640862,0,0,0,0,100,0), +(@PATH,11,-6294.578,15.09025,-4.640862,0,0,0,0,100,0), +(@PATH,12,-6293.328,12.59025,-3.140862,0,0,0,0,100,0), +(@PATH,13,-6291.578,10.09025,-1.890862,0,0,0,0,100,0), +(@PATH,14,-6290.578,8.590251,-1.390862,0,0,0,0,100,0), +(@PATH,15,-6289.249,-6.98303,1.385715,0,0,0,0,100,0), +(@PATH,16,-6287.249,-5.73303,1.135715,0,0,0,0,100,0), +(@PATH,17,-6286.249,-4.98303,1.385715,0,0,0,0,100,0), +(@PATH,18,-6286.499,-3.73303,1.135715,0,0,0,0,100,0), +(@PATH,19,-6287.249,-1.48303,1.385715,0,0,0,0,100,0), +(@PATH,20,-6287.499,-0.4830301,0.8857151,0,0,0,0,100,0), +(@PATH,21,-6288.749,4.51697,-0.1142849,0,0,0,0,100,0), +(@PATH,22,-6288.999,5.51697,-0.3642849,0,0,0,0,100,0), +(@PATH,23,-6288.924,5.979234,-0.7672586,0,0,0,0,100,0), +(@PATH,24,-6289.174,6.479234,-0.7672586,0,0,0,0,100,0), +(@PATH,25,-6290.424,8.479234,-1.517259,0,0,0,0,100,0), +(@PATH,26,-6291.424,9.979234,-1.767259,0,0,0,0,100,0), +(@PATH,27,-6293.174,12.47923,-3.017259,0,0,0,0,100,0), +(@PATH,28,-6294.674,14.72923,-4.267259,0,0,0,0,100,0), +(@PATH,29,-6296.924,17.97923,-5.767259,0,0,0,0,100,0), +(@PATH,30,-6297.052,18.10615,-5.957241,0,0,0,0,100,0), +(@PATH,31,-6298.552,20.35615,-6.707241,0,0,0,0,100,0), +(@PATH,32,-6299.802,26.60615,-8.207241,0,0,0,0,100,0), +(@PATH,33,-6300.489,30.03888,-9.50613,0,0,0,0,100,0), +(@PATH,34,-6297.489,32.28888,-9.75613,0,0,0,0,100,0), +(@PATH,35,-6296.489,32.78888,-10.00613,0,0,0,0,100,0), +(@PATH,36,-6295.239,33.78888,-10.25613,0,0,0,0,100,0), +(@PATH,37,-6290.37,37.00554,-10.46274,0,0,0,0,100,0), +(@PATH,38,-6287.37,33.50554,-10.46274,0,0,0,0,100,0), +(@PATH,39,-6281.414,27.74179,-10.23448,0,0,0,0,100,0), +(@PATH,40,-6278.914,21.74179,-10.48448,0,0,0,0,100,0), +(@PATH,41,-6275.414,14.49179,-10.48448,0,0,0,0,100,0), +(@PATH,42,-6273.845,11.28502,-10.29272,0,0,0,0,100,0), +(@PATH,43,-6269.845,8.535019,-10.54272,0,0,0,0,100,0), +(@PATH,44,-6265.345,5.285018,-10.54272,0,0,0,0,100,0), +(@PATH,45,-6260.845,2.535018,-10.29272,0,0,0,0,100,0), +(@PATH,46,-6257.845,0.2850184,-10.29272,0,0,0,0,100,0), +(@PATH,47,-6256.845,-0.4649816,-10.54272,0,0,0,0,100,0), +(@PATH,48,-6251.595,-4.214982,-10.54272,0,0,0,0,100,0), +(@PATH,49,-6251.565,-4.114313,-10.29469,0,0,0,0,100,0), +(@PATH,50,-6256.815,-0.6143126,-10.54469,0,0,0,0,100,0), +(@PATH,51,-6257.815,0.1356874,-10.29469,0,0,0,0,100,0), +(@PATH,52,-6260.815,2.135687,-10.29469,0,0,0,0,100,0), +(@PATH,53,-6265.315,5.385687,-10.54469,0,0,0,0,100,0), +(@PATH,54,-6269.815,8.385687,-10.29469,0,0,0,0,100,0); + +-- Pathing for Entry: 15201 'TDB FORMAT' +SET @NPC := 362155; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6293.746,`position_y`=83.6031,`position_z`=15.48588 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6293.746,83.6031,15.48588,0,0,0,0,100,0), +(@PATH,2,-6293.496,85.6031,15.73588,0,0,0,0,100,0), +(@PATH,3,-6293.496,87.6031,15.98588,0,0,0,0,100,0), +(@PATH,4,-6292.996,91.1031,16.73588,0,0,0,0,100,0), +(@PATH,5,-6292.996,92.3531,16.73588,0,0,0,0,100,0), +(@PATH,6,-6292.246,103.8531,17.48588,0,0,0,0,100,0), +(@PATH,7,-6291.996,106.6031,16.98588,0,0,0,0,100,0), +(@PATH,8,-6292.022,106.8002,16.93616,0,0,0,0,100,0), +(@PATH,9,-6291.772,107.8002,16.68616,0,0,0,0,100,0), +(@PATH,10,-6293.022,109.3002,16.18616,0,0,0,0,100,0), +(@PATH,11,-6294.522,111.5502,15.68616,0,0,0,0,100,0), +(@PATH,12,-6296.272,114.3002,15.18616,0,0,0,0,100,0), +(@PATH,13,-6298.522,117.5502,15.18616,0,0,0,0,100,0), +(@PATH,14,-6303.103,123.9022,14.79397,0,0,0,0,100,0), +(@PATH,15,-6305.853,128.6522,14.54397,0,0,0,0,100,0), +(@PATH,16,-6307.853,132.1522,15.54397,0,0,0,0,100,0), +(@PATH,17,-6307.868,132.1149,15.50166,0,0,0,0,100,0), +(@PATH,18,-6305.868,128.8649,14.50166,0,0,0,0,100,0), +(@PATH,19,-6302.94,123.8182,14.90909,0,0,0,0,100,0), +(@PATH,20,-6298.44,117.5682,15.15909,0,0,0,0,100,0), +(@PATH,21,-6296.19,114.3182,15.15909,0,0,0,0,100,0), +(@PATH,22,-6294.69,111.8182,15.40909,0,0,0,0,100,0), +(@PATH,23,-6292.94,109.3182,16.15909,0,0,0,0,100,0), +(@PATH,24,-6293.026,109.2491,16.21316,0,0,0,0,100,0), +(@PATH,25,-6291.776,107.7491,16.71316,0,0,0,0,100,0), +(@PATH,26,-6292.026,106.4991,16.96316,0,0,0,0,100,0), +(@PATH,27,-6292.276,103.7491,17.46316,0,0,0,0,100,0), +(@PATH,28,-6293.276,92.49913,16.71316,0,0,0,0,100,0), +(@PATH,29,-6293.276,91.24913,16.71316,0,0,0,0,100,0), +(@PATH,30,-6293.526,87.49913,15.96316,0,0,0,0,100,0), +(@PATH,31,-6293.602,87.32507,15.98093,0,0,0,0,100,0), +(@PATH,32,-6293.852,85.57507,15.73093,0,0,0,0,100,0), +(@PATH,33,-6293.852,84.32507,15.48093,0,0,0,0,100,0), +(@PATH,34,-6294.602,73.07507,13.98093,0,0,0,0,100,0), +(@PATH,35,-6294.602,71.82507,13.73093,0,0,0,0,100,0), +(@PATH,36,-6294.813,67.93223,12.81789,0,0,0,0,100,0), +(@PATH,37,-6291.563,65.18223,11.31789,0,0,0,0,100,0), +(@PATH,38,-6286.563,60.68223,10.06789,0,0,0,0,100,0), +(@PATH,39,-6284.989,59.12465,9.59522,0,0,0,0,100,0), +(@PATH,40,-6276.989,54.12465,8.84522,0,0,0,0,100,0), +(@PATH,41,-6274.739,52.62465,8.84522,0,0,0,0,100,0), +(@PATH,42,-6269.489,49.37465,9.34522,0,0,0,0,100,0), +(@PATH,43,-6269.305,49.20694,8.967072,0,0,0,0,100,0), +(@PATH,44,-6268.055,48.45694,9.217072,0,0,0,0,100,0), +(@PATH,45,-6267.805,47.70694,9.467072,0,0,0,0,100,0), +(@PATH,46,-6267.055,46.45694,9.467072,0,0,0,0,100,0), +(@PATH,47,-6263.055,39.45694,8.967072,0,0,0,0,100,0), +(@PATH,48,-6261.055,35.20694,8.467072,0,0,0,0,100,0), +(@PATH,49,-6253.805,24.20694,8.467072,0,0,0,0,100,0), +(@PATH,50,-6253.305,23.20694,8.467072,0,0,0,0,100,0), +(@PATH,51,-6253.286,23.27451,8.694481,0,0,0,0,100,0), +(@PATH,52,-6253.786,23.77451,8.694481,0,0,0,0,100,0), +(@PATH,53,-6260.536,35.52451,8.694481,0,0,0,0,100,0), +(@PATH,54,-6262.536,39.02451,8.944481,0,0,0,0,100,0), +(@PATH,55,-6267.036,46.52451,9.444481,0,0,0,0,100,0), +(@PATH,56,-6267.536,47.77451,9.444481,0,0,0,0,100,0), +(@PATH,57,-6267.268,46.63026,9.502703,0,0,0,0,100,0), +(@PATH,58,-6268.018,47.88026,9.252703,0,0,0,0,100,0), +(@PATH,59,-6268.268,48.38026,9.252703,0,0,0,0,100,0), +(@PATH,60,-6270.018,49.63026,9.252703,0,0,0,0,100,0), +(@PATH,61,-6274.768,52.38026,8.752703,0,0,0,0,100,0), +(@PATH,62,-6276.768,53.88026,8.752703,0,0,0,0,100,0), +(@PATH,63,-6285.133,59.28893,9.883101,0,0,0,0,100,0), +(@PATH,64,-6286.633,60.53893,10.1331,0,0,0,0,100,0), +(@PATH,65,-6291.633,65.03893,11.3831,0,0,0,0,100,0), +(@PATH,66,-6294.892,68.20081,13.21392,0,0,0,0,100,0), +(@PATH,67,-6294.642,71.95081,13.71392,0,0,0,0,100,0), +(@PATH,68,-6294.642,73.20081,13.71392,0,0,0,0,100,0), +(@PATH,69,-6293.642,83.45081,15.21392,0,0,0,0,100,0); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_17_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_17_02_world.sql new file mode 100644 index 00000000000..79d0b382d12 --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_17_02_world.sql @@ -0,0 +1,35 @@ +DELETE FROM `creature_text` WHERE `entry` = 16287 AND `groupid`= 0; +DELETE FROM `creature_text` WHERE `entry` = 10181 AND `groupid` = 2; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(16287, 0, 0, 'That could have gone better. $n, come here, please. I have something I need you to take care of for me.', 15, 0, 100, 0, 0, 0, 12157, 0, 'Ambassador Sunsorrow SAY_SUNSORROW_WHISPER'), +(10181, 2, 0, '%s looks down at the discarded necklace. In her sadness, the lady incants a glamour, which beckons forth Highborne spirits. The chamber resonates with their ancient song about the Sin''dorei...', 16, 0, 100, 0, 0, 0, 19197, 0, 'Lady Sylvanas Windrunner EMOTE_LAMENT'); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 7178 AND `id`= 0; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextId`) VALUES +(7178, 0, 0, 'What is it that you have for me, ambassador?', 19205, 1, 1, 7178, 0, 0, 0, '', 0); + +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 16287; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 16287 AND `source_type` = 0 AND `id` IN (0, 1, 2); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16287,0,0,1,62,0,100,0,7178,0,0,0,11,37084,1,0,0,0,0,7,0,0,0,0,0,0,0,'Ambassador Sunsorrow - On Gossip Option 0 Selected - Create Item \'Lament of the Highborne\''), +(16287,0,1,0,61,0,100,0,0,0,0,0,98,7178,10378,0,0,0,0,7,0,0,0,0,0,0,0,'Ambassador Sunsorrow - On Gossip Option 0 Selected - SEND_GOSSIP_MENU TEXT'), +(16287,0,2,0,64,0,100,0,0,0,0,0,98,7178,8458,0,0,0,0,7,0,0,0,0,0,0,0,'Ambassador Sunsorrow - On Gossip Hello - SEND_GOSSIP_MENU TEXT'); + +DELETE FROM `npc_text` WHERE `id` IN (10378, 8458); +INSERT INTO `npc_text` (`id`, `text0_0`, `text0_1`, `prob0`, `em0_1`, `BroadcastTextID0`) VALUES +(8458, "Greetings, $r. I am Ambassador Sunsorrow of the sin'dorei, or blood elves as we are commonly known. I have high hopes that this new bond between us and the Horde will be mutually beneficial.", "Greetings, $r. I am Ambassador Sunsorrow of the sin'dorei, or blood elves as we are commonly known. I have high hopes that this new bond between us and the Horde will be mutually beneficial.", 1, 2, 12161), +(10378, "Just a small songbook that I thought you might like to have. It contains the lyrics to a song known as the Lament of the Highborne; the one that Lady Sylvanas glamoured from the air.", "", 1, 1, 19206); + +DELETE FROM `gossip_menu` WHERE `entry`=7178 AND `text_id` IN (10378, 8458, 8740); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(7178,10378), +(7178,8740), +(7178,8458); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 15 AND `SourceGroup` = 7178 AND `SourceEntry` = 0 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 7178, 0, 0, 0, 8, 0, 9180, 0, 0, 0, 0, 0, '', 'Ambassador Sunsorrow show gossip only if quest Journey to Undercity is rewarded'), +(15, 7178, 0, 0, 0, 16, 0, 512, 0, 0, 0, 0, 0, '', 'Ambassador Sunsorrow show gossip only if player is Blood Elf'), +(15, 7178, 0, 0, 0, 2, 0, 30632, 1, 0, 1, 0, 0, '', 'Ambassador Sunsorrow show gossip only if player doesn\'t have item Lament of Highborn'); + +UPDATE `creature_text` SET `type` = 12 WHERE `entry` = 10181 AND `groupid` = 1; diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_18_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_18_00_world.sql new file mode 100644 index 00000000000..1dde474d21f --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_18_00_world.sql @@ -0,0 +1,3154 @@ +-- Un'Guro + +SET @CGUID := 363779; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+1540; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 61313, 1, 1, 1, -6543.93, -587.2433, -272.107, 5.39083, 120, 5, 1), -- 61313 (Area: -1) (possible waypoints or random movement) +(@CGUID+1, 49844, 1, 1, 1, -6495.589, -620.132, -213.0502, 1.786185, 120, 0, 0), -- 49844 (Area: -1) +(@CGUID+2, 62127, 1, 1, 1, -6575.594, -627.4327, -271.9997, 4.062545, 120, 5, 1), -- 62127 (Area: 4884) (possible waypoints or random movement) +(@CGUID+3, 6510, 1, 1, 1, -6533.286, -667.8176, -270.3904, 4.881068, 120, 0, 0), -- 6510 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+4, 49725, 1, 1, 1, -6621.848, -658.8183, -271.533, 2.557276, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+5, 49734, 1, 1, 1, -6596.234, -629.1652, -274.6391, 3.684265, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+6, 9600, 1, 1, 1, -6632.427, -638.6072, -245.9401, 2.433545, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+7, 9600, 1, 1, 1, -6573.721, -662.8743, -195.63, 4.563413, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+8, 49722, 1, 1, 1, -6632.139, -583.1592, -270.5326, 2.507477, 120, 5, 1), -- 49722 (Area: 4884) (possible waypoints or random movement) +(@CGUID+9, 49844, 1, 1, 1, -6559.229, -696.7621, -253.8454, 2.024582, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+10, 6512, 1, 1, 1, -6493.576, -693.5568, -272.0822, 4.543126, 120, 0, 0), -- 6512 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+11, 49722, 1, 1, 1, -6435.116, -529.9476, -215.4141, 6.120286, 120, 0, 0), -- 49722 (Area: 4884) +(@CGUID+12, 49722, 1, 1, 1, -6517.59, -718.6737, -271.9625, 2.942198, 120, 5, 1), -- 49722 (Area: 4884) (possible waypoints or random movement) +(@CGUID+13, 6509, 1, 1, 1, -6507.471, -709.8262, -271.7484, 1.915396, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+14, 49734, 1, 1, 1, -6561.167, -701.5931, -268.3776, 1.628718, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+15, 49844, 1, 1, 1, -6426.167, -720.1742, -153.3376, 5.742684, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+16, 49844, 1, 1, 1, -6488.458, -714.0737, -241.3657, 2.421757, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+17, 49734, 1, 1, 1, -6536.138, -786.1982, -271.8258, 5.542837, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+18, 9167, 1, 1, 1, -6520.877, -793.819, -272.4079, 3.133106, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+19, 49734, 1, 1, 1, -6571.531, -757.4854, -272.1, 3.940643, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+20, 49725, 1, 1, 1, -6578.159, -754.0781, -272.1, 2.233239, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+21, 49725, 1, 1, 1, -6625.859, -723.5102, -272.225, 1.064055, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+22, 61318, 1, 1, 1, -6654.965, -721.6928, -271.1411, 3.619112, 120, 5, 1), -- 61318 (Area: 4884) (possible waypoints or random movement) +(@CGUID+23, 9167, 1, 1, 1, -6659.002, -675.7036, -270.4873, 4.313196, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+24, 9167, 1, 1, 1, -6655.063, -710.3705, -270.3386, 5.118308, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+25, 9164, 1, 1, 1, -6656.512, -587.2073, -271.7998, 0.322677, 120, 0, 0), -- 9164 (Area: 4884) +(@CGUID+26, 9167, 1, 1, 1, -6686.545, -617.822, -270.4679, 1.486364, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+27, 9600, 1, 1, 1, -6675.371, -678.3408, -254.7214, 1.994117, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+28, 61319, 1, 1, 1, -6683.184, -655.0508, -269.9, 3.155266, 120, 5, 1), -- 61319 (Area: 4884) (possible waypoints or random movement) +(@CGUID+29, 6511, 1, 1, 1, -6679.484, -680.0987, -270.7109, 3.350929, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+30, 9167, 1, 1, 1, -6732.766, -690.3667, -271.4565, 2.910838, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+31, 49844, 1, 1, 1, -6753.059, -649.5029, -271.9478, 0.6721061, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+32, 49722, 1, 1, 1, -6736.524, -587.1785, -271.9019, 5.959429, 120, 5, 1), -- 49722 (Area: 4884) (possible waypoints or random movement) +(@CGUID+33, 6559, 1, 1, 1, -6782.997, -654.4193, -272.0972, 5.856366, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+34, 49722, 1, 1, 1, -6758.604, -703.1315, -271.832, 0.08709783, 120, 5, 1), -- 49722 (Area: 4884) (possible waypoints or random movement) +(@CGUID+35, 6510, 1, 1, 1, -6778.569, -532.2483, -271.6102, 1.990804, 120, 0, 0), -- 6510 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+36, 9167, 1, 1, 1, -6763.017, -549.0318, -271.953, 4.152548, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+37, 9167, 1, 1, 1, -6807.522, -612.6216, -271.9244, 0.6866014, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+38, 9167, 1, 1, 1, -6725, -508.334, -271.4236, 3.463737, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+39, 6559, 1, 1, 1, -6820.999, -683.3394, -271.8586, 1.413135, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+40, 9167, 1, 1, 1, -6852.502, -647.494, -271.102, 0.5756179, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+41, 61313, 1, 1, 1, -6857.702, -640.9783, -269.9531, 2.387359, 120, 5, 1), -- 61313 (Area: 4884) (possible waypoints or random movement) +(@CGUID+42, 9167, 1, 1, 1, -6878.387, -685.3378, -272.0416, 2.587301, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+43, 9167, 1, 1, 1, -6891.762, -621.5458, -267.2291, 0.559841, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+44, 9600, 1, 1, 1, -6856.834, -716.8071, -217.9014, 0.09899752, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+45, 9167, 1, 1, 1, -6904.687, -591.7619, -268.197, 5.594705, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+46, 9600, 1, 1, 1, -6831.538, -527.07, -232.4765, 4.539427, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+47, 6511, 1, 1, 1, -6919.747, -521.9178, -273.6252, 0.3997265, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+48, 9167, 1, 1, 1, -6754.177, -484.0026, -271.6136, 3.354142, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+49, 15475, 1, 1, 1, -6784.56, -487.1681, -272.0972, 0.9331868, 120, 0, 0), -- 15475 (Area: 4884) +(@CGUID+50, 9167, 1, 1, 1, -6851.552, -451.3629, -272.0972, 4.878912, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+51, 9167, 1, 1, 1, -6875.377, -491.5676, -270.1007, 5.127277, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+52, 9167, 1, 1, 1, -6828.62, -487.1553, -272.3065, 3.648166, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+53, 9167, 1, 1, 1, -6791.87, -436.0295, -269.3421, 2.121939, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+54, 49844, 1, 1, 1, -6845.512, -420.2342, -209.0869, 4.999774, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+55, 49722, 1, 1, 1, -6784.261, -307.557, -189.6884, 5.213223, 120, 0, 0), -- 49722 (Area: 4884) +(@CGUID+56, 61313, 1, 1, 1, -6923.827, -280.5377, -197.8733, 3.362106, 120, 0, 0), -- 61313 (Area: 0) +(@CGUID+57, 9600, 1, 1, 1, -6941.99, -259.7917, -184.5493, 2.024582, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+58, 9167, 1, 1, 1, -6911.574, -403.0598, -260.2789, 1.654911, 120, 0, 0), -- 9167 (Area: 0) (Auras: 8876 - 8876) +(@CGUID+59, 61319, 1, 1, 1, -6973.46, -303.5961, -220.0884, 1.270842, 120, 0, 0), -- 61319 (Area: 0) +(@CGUID+60, 9167, 1, 1, 1, -6921.479, -448.5182, -272.0651, 2.971123, 120, 5, 1), -- 9167 (Area: 0) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+61, 9167, 1, 1, 1, -7021.8, -408.5559, -270.8793, 3.237091, 120, 5, 1), -- 9167 (Area: 0) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+62, 9167, 1, 1, 1, -6959.474, -468.3079, -272.4979, 3.473231, 120, 5, 1), -- 9167 (Area: 0) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+63, 9167, 1, 1, 1, -6982.778, -497.5848, -273.9524, 2.511362, 120, 5, 1), -- 9167 (Area: 0) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+64, 9167, 1, 1, 1, -6955.318, -547.3927, -271.8694, 2.082144, 120, 5, 1), -- 9167 (Area: 0) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+65, 6512, 1, 1, 1, -6971.654, -583.2549, -271.3103, 4.674446, 120, 0, 0), -- 6512 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+66, 9167, 1, 1, 1, -6923.119, -648.7257, -265.5602, 3.276206, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+67, 49722, 1, 1, 1, -6988.173, -599.7446, -272.1211, 1.28662, 120, 5, 1), -- 49722 (Area: 4884) (possible waypoints or random movement) +(@CGUID+68, 9167, 1, 1, 1, -6944.368, -665.9743, -268.8403, 0.3402669, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+69, 6559, 1, 1, 1, -6992.411, -654.8427, -271.8813, 1.627549, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+70, 61319, 1, 1, 1, -6984.935, -682.2877, -270.378, 6.226495, 120, 5, 1), -- 61319 (Area: 4884) (possible waypoints or random movement) +(@CGUID+71, 9167, 1, 1, 1, -7027.057, -564.0987, -275.8178, 4.188395, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+72, 9167, 1, 1, 1, -7013.313, -613.2855, -272.0582, 3.453225, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+73, 9600, 1, 1, 1, -6999.736, -625.8348, -231.7528, 4.806956, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+74, 9167, 1, 1, 1, -7071.641, -603.7595, -270.7419, 1.384537, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+75, 9167, 1, 1, 1, -7011.436, -688.2479, -270.5961, 5.243419, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+76, 15475, 1, 1, 1, -7042.335, -512.3748, -275.1395, 3.412644, 120, 0, 0), -- 15475 (Area: 4884) +(@CGUID+77, 6509, 1, 1, 1, -7014.831, -494.8093, -276.1567, 2.214148, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+78, 61313, 1, 1, 1, -7112.693, -618.7409, -269.9942, 2.208, 120, 5, 1), -- 61313 (Area: 4884) (possible waypoints or random movement) +(@CGUID+79, 61319, 1, 1, 1, -7099.951, -648.5284, -270.5286, 3.155264, 120, 5, 1), -- 61319 (Area: 4884) (possible waypoints or random movement) +(@CGUID+80, 9167, 1, 1, 1, -7042.647, -496.0348, -275.6345, 1.131718, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+81, 6559, 1, 1, 1, -7127.749, -632.4717, -270.0356, 1.471767, 120, 0, 0), -- 6559 (Area: 543) +(@CGUID+82, 9167, 1, 1, 1, -7121.812, -520.5178, -268.4831, 4.030602, 120, 5, 1), -- 9167 (Area: 543) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+83, 49725, 1, 1, 1, -7140.497, -602.7896, -270.3732, 1.652666, 120, 5, 1), -- 49725 (Area: 543) (possible waypoints or random movement) +(@CGUID+84, 9600, 1, 1, 1, -7159.632, -623.4734, -223.8373, 0.1966231, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+85, 49734, 1, 1, 1, -7136.241, -572.2107, -271.4796, 6.081913, 120, 0, 0), -- 49734 (Area: 543) +(@CGUID+86, 62370, 1, 1, 1, -7173.984, -601.641, -271.5695, 0.09452565, 120, 5, 1), -- 62370 (Area: 543) (possible waypoints or random movement) +(@CGUID+87, 49725, 1, 1, 1, -7210.086, -567.7761, -271.0016, 4.638838, 120, 5, 1), -- 49725 (Area: 543) (possible waypoints or random movement) +(@CGUID+88, 38254, 1, 1, 1, -7198.954, -526.4471, -273.8697, 1.999524, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+89, 9272, 1, 1, 1, -7206.978, -645.2934, -233.6188, 2.740167, 120, 0, 0), -- 9272 (Area: 543) +(@CGUID+90, 62127, 1, 1, 1, -7266.989, -566.8929, -271.6103, 0.8987305, 120, 5, 1), -- 62127 (Area: 543) (possible waypoints or random movement) +(@CGUID+91, 38237, 1, 1, 1, -7228.146, -599.6198, -271.1636, 1.151917, 120, 0, 0), -- 38237 (Area: 543) (Auras: 71499 - 71499) +(@CGUID+92, 38373, 1, 1, 1, -7224.069, -599.1649, -271.091, 2.670354, 120, 0, 0), -- 38373 (Area: 543) (Auras: 71499 - 71499) +(@CGUID+93, 38254, 1, 1, 1, -7274.609, -621.1299, -269.7781, 1.987638, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+94, 49725, 1, 1, 1, -7291.401, -611.6215, -269.208, 6.248772, 120, 5, 1), -- 49725 (Area: 543) (possible waypoints or random movement) +(@CGUID+95, 9600, 1, 1, 1, -7258.57, -623.5781, -99.27514, 2.18455, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+96, 38254, 1, 1, 1, -7260.422, -527.2168, -277.6191, 5.962287, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+97, 49725, 1, 1, 1, -7272.506, -628.9509, -270.1248, 3.360987, 120, 5, 1), -- 49725 (Area: 543) (possible waypoints or random movement) +(@CGUID+98, 49734, 1, 1, 1, -7262.392, -503.9767, -266.8991, 0.7850491, 120, 0, 0), -- 49734 (Area: 543) +(@CGUID+99, 38254, 1, 1, 1, -7218.204, -472.8346, -283.2029, 6.059901, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+100, 9600, 1, 1, 1, -7326.712, -557.0837, -252.8366, 2.113528, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+101, 62375, 1, 1, 1, -7327.905, -530.0475, -274.193, 0.4746694, 120, 5, 1), -- 62375 (Area: 543) (possible waypoints or random movement) +(@CGUID+102, 38254, 1, 1, 1, -7331.445, -606.0723, -270.943, 4.252387, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+103, 9164, 1, 1, 1, -7320.697, -531.556, -272.6569, 0.4601309, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+104, 6511, 1, 1, 1, -7373.842, -574.1758, -273.3797, 4.664631, 120, 0, 0), -- 6511 (Area: 543) (Auras: 14111 - 14111) +(@CGUID+105, 49722, 1, 1, 1, -7328.314, -465.2957, -272.163, 2.56272, 120, 5, 1), -- 49722 (Area: 543) (possible waypoints or random movement) +(@CGUID+106, 9164, 1, 1, 1, -7353.592, -511.6071, -275.101, 2.184146, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+107, 9164, 1, 1, 1, -7322.342, -466.31, -272.0806, 4.97727, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+108, 9164, 1, 1, 1, -7389.927, -474.3576, -275.4931, 5.380114, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+109, 6502, 1, 1, 1, -7413.936, -516.7006, -277.442, 0.1885869, 120, 5, 1), -- 6502 (Area: 543) (possible waypoints or random movement) +(@CGUID+110, 6501, 1, 1, 1, -7355.322, -448.9759, -270.8178, 2.215545, 120, 5, 1), -- 6501 (Area: 543) (possible waypoints or random movement) +(@CGUID+111, 6502, 1, 1, 1, -7287.51, -412.6786, -268.3578, 6.254515, 120, 5, 1), -- 6502 (Area: 543) (possible waypoints or random movement) +(@CGUID+112, 9164, 1, 1, 1, -7384.968, -416.4453, -271.3619, 2.40362, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+113, 15475, 1, 1, 1, -7391.662, -392.4217, -269.7235, 1.855395, 120, 0, 0), -- 15475 (Area: 543) +(@CGUID+114, 6559, 1, 1, 1, -7305.563, -383.284, -267.583, 5.040313, 120, 0, 0), -- 6559 (Area: 543) +(@CGUID+115, 6509, 1, 1, 1, -7242.823, -386.8304, -268.2675, 2.862488, 120, 0, 0), -- 6509 (Area: 543) (Auras: 14111 - 14111) +(@CGUID+116, 38254, 1, 1, 1, -7213.849, -426.0031, -274.297, 3.012395, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+117, 49844, 1, 1, 1, -7222.556, -363.3547, -240.2172, 3.532968, 120, 0, 0), -- 49844 (Area: 543) +(@CGUID+118, 49734, 1, 1, 1, -7206.834, -411.8816, -272.1397, 6.014331, 120, 0, 0), -- 49734 (Area: 543) +(@CGUID+119, 49734, 1, 1, 1, -7143.857, -458.1174, -272.0646, 4.401766, 120, 0, 0), -- 49734 (Area: 543) +(@CGUID+120, 38254, 1, 1, 1, -7159.965, -445.6418, -276.3185, 4.516559, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+121, 6512, 1, 1, 1, -7121.996, -448.2979, -271.9418, 0.1237497, 120, 0, 0), -- 6512 (Area: 543) (Auras: 14111 - 14111) +(@CGUID+122, 6559, 1, 1, 1, -7086.015, -418.6785, -270.7412, 3.685254, 120, 0, 0), -- 6559 (Area: 543) +(@CGUID+123, 61313, 1, 1, 1, -7082.279, -416.0152, -270.7502, 1.11777, 120, 0, 0), -- 61313 (Area: 543) +(@CGUID+124, 9164, 1, 1, 1, -7061.712, -449.3729, -271.9543, 1.94882, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+125, 9167, 1, 1, 1, -7055.117, -378.6534, -269.6342, 2.570155, 120, 0, 0), -- 9167 (Area: 543) (Auras: 8876 - 8876) +(@CGUID+126, 49844, 1, 1, 1, -7093.444, -504.5637, -233.623, 4.366031, 120, 0, 0), -- 49844 (Area: 543) +(@CGUID+127, 9167, 1, 1, 1, -7087.131, -473.7296, -272.2511, 0.1170197, 120, 0, 0), -- 9167 (Area: 543) (Auras: 8876 - 8876) +(@CGUID+128, 9600, 1, 1, 1, -7012.237, -363.1154, -207.9096, 2.641875, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+129, 49844, 1, 1, 1, -7042.594, -472.3663, -215.9688, 2.024582, 120, 0, 0), -- 49844 (Area: 543) +(@CGUID+130, 6501, 1, 1, 1, -7420.415, -400.4716, -270.4423, 0.6134438, 120, 5, 1), -- 6501 (Area: 543) (possible waypoints or random movement) +(@CGUID+131, 6509, 1, 1, 1, -7414.911, -386.3799, -269.1711, 0.4881182, 120, 0, 0), -- 6509 (Area: 543) (Auras: 14111 - 14111) +(@CGUID+132, 9164, 1, 1, 1, -7428.486, -440.2886, -273.6001, 5.781968, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+133, 9164, 1, 1, 1, -7483.822, -379.7185, -252.7749, 2.050177, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+134, 9167, 1, 1, 1, -7452.132, -474.2676, -272.2541, 0.4767473, 120, 5, 1), -- 9167 (Area: 543) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+135, 9164, 1, 1, 1, -7553.869, -445.716, -272.0972, 2.666489, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+136, 9600, 1, 1, 1, -7548.734, -493.2448, -224.5315, 2.024582, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+137, 9164, 1, 1, 1, -7472.396, -515.2318, -273.2776, 2.11657, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+138, 6501, 1, 1, 1, -7615.935, -447.0742, -271.4342, 1.210273, 120, 5, 1), -- 6501 (Area: 543) (possible waypoints or random movement) +(@CGUID+139, 9164, 1, 1, 1, -7579.896, -478.136, -270.2829, 3.443799, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+140, 49722, 1, 1, 1, -7605.79, -476.4942, -270.6977, 1.251789, 120, 5, 1), -- 49722 (Area: 543) (possible waypoints or random movement) +(@CGUID+141, 6512, 1, 1, 1, -7653.409, -482.7032, -267.6588, 5.269541, 120, 0, 0), -- 6512 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+142, 6559, 1, 1, 1, -7614.826, -512.7753, -267.391, 5.103421, 120, 0, 0), -- 6559 (Area: 539) +(@CGUID+143, 9600, 1, 1, 1, -7607.942, -550.9054, -266.6861, 4.827788, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+144, 6559, 1, 1, 1, -7599.918, -556.8989, -264.8711, 3.43474, 120, 0, 0), -- 6559 (Area: 539) +(@CGUID+145, 38346, 1, 1, 1, -7978.257, -752.4688, -242.644, 0.8552113, 120, 0, 0), -- 38346 (Area: 539) +(@CGUID+146, 61318, 1, 1, 1, -7580.288, -571.2882, -261.9221, 1.614077, 120, 5, 1), -- 61318 (Area: 539) (possible waypoints or random movement) +(@CGUID+147, 15475, 1, 1, 1, -7618.985, -616.2269, -255.6136, 5.229354, 120, 0, 0), -- 15475 (Area: 539) +(@CGUID+148, 9164, 1, 1, 1, -7542.045, -579.5963, -265.1113, 3.480019, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+149, 9164, 1, 1, 1, -7508.962, -571.445, -274.1326, 5.263532, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+150, 6509, 1, 1, 1, -7585.55, -619.2404, -257.3348, 4.471705, 120, 0, 0), -- 6509 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+151, 6512, 1, 1, 1, -7447.4, -561.6758, -271.7444, 2.903528, 120, 0, 0), -- 6512 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+152, 6501, 1, 1, 1, -7550.591, -643.64, -252.2414, 6.117254, 120, 5, 1), -- 6501 (Area: 539) (possible waypoints or random movement) +(@CGUID+153, 9164, 1, 1, 1, -7522.27, -635.8621, -256.8192, 4.226911, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+154, 6559, 1, 1, 1, -7448.648, -614.3502, -271.2104, 1.789284, 120, 0, 0), -- 6559 (Area: 543) +(@CGUID+155, 9600, 1, 1, 1, -7486.177, -633.4184, -209.0016, 2.024582, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+156, 9164, 1, 1, 1, -7424.26, -584.0057, -271.7086, 2.780883, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+157, 9600, 1, 1, 1, -7436.046, -499.5591, -248.3833, 2.886339, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+158, 49725, 1, 1, 1, -7399.358, -619.3611, -270.5707, 1.772284, 120, 5, 1), -- 49725 (Area: 543) (possible waypoints or random movement) +(@CGUID+159, 38254, 1, 1, 1, -7381.735, -621.4373, -271.5094, 0.2668059, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+160, 38254, 1, 1, 1, -7421.693, -637.7214, -269.2582, 1.721243, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+161, 6510, 1, 1, 1, -7757.039, -632.5691, -268.1835, 1.884517, 120, 0, 0), -- 6510 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+162, 49844, 1, 1, 1, -7741.437, -585.709, -267.9166, 3.121894, 120, 0, 0), -- 49844 (Area: 539) +(@CGUID+163, 6502, 1, 1, 1, -7754.138, -568.0599, -265.7994, 1.994783, 120, 5, 1), -- 6502 (Area: 539) (possible waypoints or random movement) +(@CGUID+164, 9164, 1, 1, 1, -7727.166, -624.16, -266.6604, 3.61834, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+165, 9164, 1, 1, 1, -7775.926, -557.8867, -268.8113, 5.185281, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+166, 9600, 1, 1, 1, -7725.146, -585.1812, -222.7207, 2.698661, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+167, 9167, 1, 1, 1, -7778.963, -615.6359, -262.6412, 6.024362, 120, 5, 1), -- 9167 (Area: 539) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+168, 6510, 1, 1, 1, -7835.158, -615.6107, -263.4057, 0.4618994, 120, 0, 0), -- 6510 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+169, 9167, 1, 1, 1, -7831.32, -579.3035, -265.7614, 3.01046, 120, 5, 1), -- 9167 (Area: 539) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+170, 6503, 1, 1, 1, -7880.276, -585.9661, -259.3583, 1.645389, 120, 5, 1), -- 6503 (Area: 539) (Auras: 14104 - 14104) (possible waypoints or random movement) +(@CGUID+171, 9600, 1, 1, 1, -7802.601, -664.2736, -195.3275, 1.031106, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+172, 61319, 1, 1, 1, -7892.141, -644.8733, -258.8196, 5.689773, 120, 5, 1), -- 61319 (Area: 539) (possible waypoints or random movement) +(@CGUID+173, 6511, 1, 1, 1, -7860.536, -699.968, -257.4406, 4.330069, 120, 0, 0), -- 6511 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+174, 9164, 1, 1, 1, -7841.979, -742.5855, -268.5527, 4.908055, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+175, 6559, 1, 1, 1, -7833.927, -722.679, -263.0303, 3.299435, 120, 0, 0), -- 6559 (Area: 539) +(@CGUID+176, 49722, 1, 1, 1, -7881.529, -773.8177, -269.3952, 0.9727916, 120, 5, 1), -- 49722 (Area: 539) (possible waypoints or random movement) +(@CGUID+177, 6511, 1, 1, 1, -7889.853, -783.3633, -270.7451, 0.3797817, 120, 0, 0), -- 6511 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+178, 9164, 1, 1, 1, -7944.727, -838.9392, -269.8517, 4.485332, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+179, 9164, 1, 1, 1, -7923.273, -826.379, -269.6042, 4.571321, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+180, 9164, 1, 1, 1, -7852.648, -821.1934, -272.2556, 5.173513, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+181, 61319, 1, 1, 1, -7950.248, -888.0429, -274.0056, 4.673347, 120, 5, 1), -- 61319 (Area: 539) (possible waypoints or random movement) +(@CGUID+182, 6503, 1, 1, 1, -7879.612, -845.2803, -271.3099, 4.095236, 120, 5, 1), -- 6503 (Area: 539) (Auras: 14104 - 14104) (possible waypoints or random movement) +(@CGUID+183, 6511, 1, 1, 1, -7987.125, -865.9039, -268.7487, 5.200507, 120, 0, 0), -- 6511 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+184, 6559, 1, 1, 1, -7909.668, -868.8986, -270.2406, 4.861472, 120, 0, 0), -- 6559 (Area: 539) +(@CGUID+185, 38329, 1, 1, 1, -7944.068, -893.3363, -274.6327, 6.197145, 120, 0, 0), -- 38329 (Area: 539) +(@CGUID+186, 9600, 1, 1, 1, -7883.986, -904.6111, -218.2218, 2.024582, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+187, 6501, 1, 1, 1, -7958.262, -900.4012, -273.3598, 1.749048, 120, 5, 1), -- 6501 (Area: 539) (possible waypoints or random movement) +(@CGUID+188, 9164, 1, 1, 1, -8008.742, -940.4658, -272.3523, 4.902106, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+189, 6509, 1, 1, 1, -7915.871, -949.9782, -272.6552, 4.495839, 120, 0, 0), -- 6509 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+190, 9164, 1, 1, 1, -7981.245, -951.0618, -272.3135, 4.234385, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+191, 6552, 1, 1, 1, -8008.322, -1028.131, -271.844, 1.353516, 120, 0, 0), -- 6552 (Area: 539) +(@CGUID+192, 6554, 1, 1, 1, -7970.813, -1077.015, -328.8766, 1.846721, 120, 0, 0), -- 6554 (Area: 539) (Auras: 8601 - 8601) +(@CGUID+193, 6552, 1, 1, 1, -8046.671, -1088.424, -272.0972, 3.255282, 120, 0, 0), -- 6552 (Area: 539) +(@CGUID+194, 6553, 1, 1, 1, -7991.011, -1077.59, -269.4754, 3.258156, 120, 0, 0), -- 6553 (Area: 539) +(@CGUID+195, 6551, 1, 1, 1, -7943.641, -1032.155, -273.1957, 4.356539, 120, 0, 0), -- 6551 (Area: 539) (Auras: 3616 - 3616) +(@CGUID+196, 6555, 1, 1, 1, -7988.389, -1095.63, -329.0622, 4.672648, 120, 0, 0), -- 6555 (Area: 539) +(@CGUID+197, 61318, 1, 1, 1, -7928.48, -1091.188, -272.328, 4.747037, 120, 5, 1), -- 61318 (Area: 539) (possible waypoints or random movement) +(@CGUID+198, 6554, 1, 1, 1, -8026.97, -1127.497, -318.118, 0.4532544, 120, 0, 0), -- 6554 (Area: 539) (Auras: 8601 - 8601) +(@CGUID+199, 6555, 1, 1, 1, -7956.823, -1094.177, -329.5757, 3.32811, 120, 0, 0), -- 6555 (Area: 539) +(@CGUID+200, 6553, 1, 1, 1, -8030.866, -1128.917, -271.188, 3.059425, 120, 0, 0), -- 6553 (Area: 539) +(@CGUID+201, 6555, 1, 1, 1, -7978.024, -1107.222, -328.8522, 4.490717, 120, 0, 0), -- 6555 (Area: 539) +(@CGUID+202, 6555, 1, 1, 1, -8007.971, -1145.794, -319.7761, 3.223533, 120, 0, 0), -- 6555 (Area: 539) +(@CGUID+203, 49844, 1, 1, 1, -7984.073, -1139.44, -204.8453, 1.238743, 120, 0, 0), -- 49844 (Area: 539) +(@CGUID+204, 6553, 1, 1, 1, -8081.653, -1165.3, -269.4828, 5.713609, 120, 0, 0), -- 6553 (Area: 539) +(@CGUID+205, 6551, 1, 1, 1, -7983.474, -1148.582, -274.0255, 1.932853, 120, 0, 0), -- 6551 (Area: 539) (Auras: 3616 - 3616) +(@CGUID+206, 6553, 1, 1, 1, -7940.886, -1127.369, -273.7126, 4.652914, 120, 0, 0), -- 6553 (Area: 539) +(@CGUID+207, 6552, 1, 1, 1, -8020.356, -1184.696, -271.2833, 3.720593, 120, 0, 0), -- 6552 (Area: 539) +(@CGUID+208, 6551, 1, 1, 1, -8045.73, -1153.348, -271.1736, 1.420055, 120, 0, 0), -- 6551 (Area: 539) (Auras: 3616 - 3616) +(@CGUID+209, 6555, 1, 1, 1, -8012.712, -1194.143, -323.2364, 5.436881, 120, 0, 0), -- 6555 (Area: 539) +(@CGUID+210, 6553, 1, 1, 1, -8077.276, -1222.937, -267.7812, 5.636173, 120, 0, 0), -- 6553 (Area: 539) +(@CGUID+211, 6553, 1, 1, 1, -7985.35, -1213.135, -274.6638, 4.242593, 120, 0, 0), -- 6553 (Area: 539) +(@CGUID+212, 15475, 1, 1, 1, -8054.538, -1234.342, -268.7921, 5.005717, 120, 0, 0), -- 15475 (Area: 539) +(@CGUID+213, 6553, 1, 1, 1, -8083.032, -1236.7, -267.2456, 1.457337, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+214, 38305, 1, 1, 1, -8117.13, -1194.29, -334.9728, 5.811946, 120, 0, 0), -- 38305 (Area: 540) +(@CGUID+215, 6553, 1, 1, 1, -8001.862, -1243.831, -270.8304, 0.2920058, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+216, 6553, 1, 1, 1, -8058.663, -1256.555, -331.9668, 3.578873, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+217, 15475, 1, 1, 1, -8072.853, -1306.27, -269.2827, 0.8823254, 120, 0, 0), -- 15475 (Area: 540) +(@CGUID+218, 6555, 1, 1, 1, -7993.184, -1257.802, -323.5128, 4.75873, 120, 0, 0), -- 6555 (Area: 540) +(@CGUID+219, 6554, 1, 1, 1, -8086.859, -1281.265, -337.1038, 3.822592, 120, 0, 0), -- 6554 (Area: 540) (Auras: 8601 - 8601) +(@CGUID+220, 6553, 1, 1, 1, -8071.816, -1277.941, -267.1268, 2.757276, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+221, 6582, 1, 1, 1, -8068.979, -1275.777, -333.0807, 0.5019065, 120, 5, 1), -- 6582 (Area: 540) (possible waypoints or random movement) +(@CGUID+222, 6555, 1, 1, 1, -8007.53, -1296.319, -321.9214, 5.536352, 120, 0, 0), -- 6555 (Area: 540) +(@CGUID+223, 6552, 1, 1, 1, -7982.895, -1252.274, -269.5035, 3.395532, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+224, 6551, 1, 1, 1, -8065.464, -1351.781, -269.4556, 3.639418, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+225, 6551, 1, 1, 1, -8069.92, -1361.139, -269.3835, 2.290511, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+226, 6552, 1, 1, 1, -7997.912, -1323.081, -276.2436, 6.018304, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+227, 49844, 1, 1, 1, -8020.189, -1369.008, -243.2027, 2.323411, 120, 0, 0), -- 49844 (Area: 540) +(@CGUID+228, 15475, 1, 1, 1, -8012.173, -1409.661, -272.0972, 5.901186, 120, 0, 0), -- 15475 (Area: 540) +(@CGUID+229, 6552, 1, 1, 1, -8016.564, -1379.316, -271.7792, 1.515237, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+230, 49844, 1, 1, 1, -8075.048, -1435.238, -180.5007, 4.106875, 120, 0, 0), -- 49844 (Area: 540) +(@CGUID+231, 6553, 1, 1, 1, -8049.356, -1414.379, -268.4641, 1.609839, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+232, 6553, 1, 1, 1, -8015.372, -1446.063, -270.7203, 1.615688, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+233, 9600, 1, 1, 1, -8100.636, -1448.597, -242.942, 2.277304, 120, 0, 0), -- 9600 (Area: 540) +(@CGUID+234, 6552, 1, 1, 1, -8050.601, -1452.074, -270.7581, 1.749427, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+235, 6552, 1, 1, 1, -8049.471, -1442.485, -270.1134, 2.542221, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+236, 6551, 1, 1, 1, -8046.86, -1520.432, -270.9613, 0.04497943, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+237, 15475, 1, 1, 1, -8012.73, -1474.115, -272.0563, 2.887149, 120, 0, 0), -- 15475 (Area: 540) +(@CGUID+238, 6551, 1, 1, 1, -8086.004, -1536.593, -268.2802, 3.711169, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+239, 6552, 1, 1, 1, -7986.436, -1513.685, -273.5467, 4.644003, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+240, 6552, 1, 1, 1, -8049.226, -1523.178, -271.4006, 4.835775, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+241, 6555, 1, 1, 1, -7983.669, -1549.904, -267.9748, 5.055195, 120, 0, 0), -- 6555 (Area: 540) +(@CGUID+242, 9600, 1, 1, 1, -8027.225, -1614.309, -196.9042, 5.58799, 120, 0, 0), -- 9600 (Area: 540) +(@CGUID+243, 6554, 1, 1, 1, -8046.427, -1619.917, -270.752, 5.509447, 120, 0, 0), -- 6554 (Area: 540) (Auras: 8601 - 8601) +(@CGUID+244, 6553, 1, 1, 1, -7986.371, -1614.749, -271.4754, 4.934959, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+245, 61319, 1, 1, 1, -7960.252, -1655.535, -271.7298, 5.428328, 120, 5, 1), -- 61319 (Area: 0) (possible waypoints or random movement) +(@CGUID+246, 6554, 1, 1, 1, -8018.846, -1650.206, -271.9722, 5.323747, 120, 0, 0), -- 6554 (Area: 0) (Auras: 8601 - 8601) +(@CGUID+247, 6505, 1, 1, 1, -7979.541, -1678.528, -269.5651, 0.9359874, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+248, 6555, 1, 1, 1, -7951.096, -1580.361, -274.658, 1.534852, 120, 0, 0), -- 6555 (Area: 0) +(@CGUID+249, 49722, 1, 1, 1, -8006.857, -1673.77, -271.812, 3.88197, 120, 5, 1), -- 49722 (Area: 0) (possible waypoints or random movement) +(@CGUID+250, 49844, 1, 1, 1, -7996.717, -1682.6, -246.0929, 6.10991, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+251, 6506, 1, 1, 1, -8009.591, -1720.097, -272.2402, 5.902679, 120, 0, 0), -- 6506 (Area: 0) +(@CGUID+252, 6505, 1, 1, 1, -7952.505, -1717.669, -275.2773, 3.432489, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+253, 15475, 1, 1, 1, -7976.863, -1743.127, -272.7421, 3.426231, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+254, 6505, 1, 1, 1, -7986.092, -1755.874, -272.1589, 4.207571, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+255, 6505, 1, 1, 1, -7931.328, -1776.176, -274.5454, 5.795067, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+256, 61318, 1, 1, 1, -7951.853, -1799.145, -272.8871, 2.818961, 120, 5, 1), -- 61318 (Area: 0) (possible waypoints or random movement) +(@CGUID+257, 6505, 1, 1, 1, -7919.649, -1746.269, -273.5197, 3.322735, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+258, 49844, 1, 1, 1, -7949.769, -1792.417, -273.4339, 1.115882, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+259, 15475, 1, 1, 1, -7907.771, -1724.677, -270.8981, 1.402117, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+260, 6506, 1, 1, 1, -7893.341, -1715.974, -273.4125, 2.913184, 120, 0, 0), -- 6506 (Area: 0) +(@CGUID+261, 6505, 1, 1, 1, -7918.856, -1659.344, -272.7933, 1.969792, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+262, 9600, 1, 1, 1, -7880.948, -1783.663, -272.8309, 4.759321, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+263, 6506, 1, 1, 1, -7901.942, -1850.929, -273.3365, 4.535637, 120, 0, 0), -- 6506 (Area: 0) +(@CGUID+264, 6505, 1, 1, 1, -7916.596, -1843.514, -271.898, 1.630561, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+265, 6505, 1, 1, 1, -7933.861, -1832.502, -272.055, 2.367244, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+266, 61319, 1, 1, 1, -7876.614, -1848.295, -274.9128, 1.857172, 120, 5, 1), -- 61319 (Area: 1942) (possible waypoints or random movement) +(@CGUID+267, 6506, 1, 1, 1, -7853.409, -1810.796, -271.0405, 1.901199, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+268, 6505, 1, 1, 1, -7822.287, -1782.579, -271.6124, 3.581388, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+269, 6506, 1, 1, 1, -7836.274, -1683.78, -271.2535, 3.154081, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+270, 6505, 1, 1, 1, -7811.537, -1715.621, -270.5634, 1.578609, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+271, 61318, 1, 1, 1, -7855.724, -1704.277, -272.1431, 3.248, 120, 5, 1), -- 61318 (Area: 1942) (possible waypoints or random movement) +(@CGUID+272, 15475, 1, 1, 1, -7841.059, -1717.207, -272.1431, 1.632118, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+273, 6506, 1, 1, 1, -7777.948, -1717.386, -271.0075, 3.11816, 120, 0, 0), -- 6506 (Area: 0) +(@CGUID+274, 6505, 1, 1, 1, -7819.81, -1682.068, -270.6728, 4.348584, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+275, 6505, 1, 1, 1, -7781.684, -1716.421, -270.6603, 1.822128, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+276, 15475, 1, 1, 1, -7757.033, -1696.163, -271.7931, 4.321357, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+277, 6505, 1, 1, 1, -7846.112, -1603.485, -263.2514, 1.654911, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+278, 49844, 1, 1, 1, -7895.382, -1613.519, -236.7122, 2.030911, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+279, 6505, 1, 1, 1, -7927.039, -1640.908, -273.5784, 5.583082, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+280, 15475, 1, 1, 1, -7813.287, -1644.26, -270.907, 4.53568, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+281, 6505, 1, 1, 1, -7895.722, -1610.977, -269.9573, 0.8753077, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+282, 6505, 1, 1, 1, -7751.584, -1682.86, -272.08, 6.107443, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+283, 6506, 1, 1, 1, -7870.812, -1576.193, -263.6917, 3.352005, 120, 0, 0), -- 6506 (Area: 0) +(@CGUID+284, 9163, 1, 1, 1, -7786.773, -1614.472, -271.5661, 5.343008, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+285, 15475, 1, 1, 1, -7855.979, -1572.925, -261.5518, 4.875927, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+286, 6555, 1, 1, 1, -7919.793, -1549.177, -275.9931, 1.447138, 120, 0, 0), -- 6555 (Area: 0) +(@CGUID+287, 6553, 1, 1, 1, -7884.727, -1516.791, -268.9458, 3.799004, 120, 0, 0), -- 6553 (Area: 0) +(@CGUID+288, 15475, 1, 1, 1, -7921.62, -1549.428, -275.4858, 3.004393, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+289, 61319, 1, 1, 1, -7874.904, -1519.596, -267.5241, 2.944843, 120, 5, 1), -- 61319 (Area: 0) (possible waypoints or random movement) +(@CGUID+290, 6555, 1, 1, 1, -7952.965, -1518.586, -271.2763, 3.054785, 120, 0, 0), -- 6555 (Area: 0) +(@CGUID+291, 9162, 1, 1, 1, -7812.293, -1513.32, -260.7996, 1.285517, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+292, 6551, 1, 1, 1, -7868.669, -1483.092, -268.8709, 0.105695, 120, 0, 0), -- 6551 (Area: 0) (Auras: 3616 - 3616) +(@CGUID+293, 6553, 1, 1, 1, -7885.304, -1482.14, -270.2549, 4.434893, 120, 0, 0), -- 6553 (Area: 0) +(@CGUID+294, 6552, 1, 1, 1, -7900.393, -1485.809, -269.9242, 0.09470328, 120, 0, 0), -- 6552 (Area: 0) +(@CGUID+295, 49844, 1, 1, 1, -7867.228, -1440.308, -240.5412, 0.7658778, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+296, 6553, 1, 1, 1, -7814.719, -1446.805, -267.5542, 0.3594568, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+297, 6551, 1, 1, 1, -7848.923, -1413.178, -268.7823, 1.405969, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+298, 6551, 1, 1, 1, -7885.063, -1385.978, -271.5736, 4.110909, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+299, 6552, 1, 1, 1, -7957.291, -1401.041, -274.1308, 4.034344, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+300, 6551, 1, 1, 1, -7847.236, -1351.377, -270.7612, 5.960763, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+301, 6551, 1, 1, 1, -7971.875, -1406.42, -270.7377, 0.9008076, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+302, 9600, 1, 1, 1, -7810.157, -1446.747, -267.9765, 0.3612585, 120, 0, 0), -- 9600 (Area: 540) +(@CGUID+303, 49844, 1, 1, 1, -7904.655, -1347.156, -264.9204, 2.024582, 120, 0, 0), -- 49844 (Area: 540) +(@CGUID+304, 6555, 1, 1, 1, -7928.396, -1328.827, -300.4782, 0.8383071, 120, 0, 0), -- 6555 (Area: 540) +(@CGUID+305, 6551, 1, 1, 1, -7816.042, -1362.454, -271.9458, 0.9253982, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+306, 6553, 1, 1, 1, -7938.371, -1326.258, -305.9695, 2.706076, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+307, 6553, 1, 1, 1, -7866.29, -1279.483, -270.6618, 3.2296, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+308, 9600, 1, 1, 1, -7951.557, -1286.209, -240.5114, 2.87284, 120, 0, 0), -- 9600 (Area: 540) +(@CGUID+309, 6554, 1, 1, 1, -7963.793, -1314.463, -312.0419, 6.200985, 120, 0, 0), -- 6554 (Area: 540) (Auras: 8601 - 8601) +(@CGUID+310, 6551, 1, 1, 1, -7883.347, -1291.394, -272.0134, 1.464704, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+311, 6553, 1, 1, 1, -7819.016, -1315.045, -271.1292, 5.416797, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+312, 6551, 1, 1, 1, -7883.412, -1216.242, -269.9159, 4.602786, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+313, 6553, 1, 1, 1, -7829.633, -1245.333, -266.676, 4.25486, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+314, 6553, 1, 1, 1, -7894.485, -1249.366, -269.7126, 2.796993, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+315, 6553, 1, 1, 1, -7809.912, -1223.238, -264.3908, 5.522644, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+316, 6551, 1, 1, 1, -7852.157, -1205.78, -265.8433, 1.549315, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+317, 6552, 1, 1, 1, -7917.018, -1153.334, -272.0233, 5.104001, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+318, 6553, 1, 1, 1, -7854.387, -1146.489, -265.7312, 2.569315, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+319, 15475, 1, 1, 1, -7863.193, -1126.923, -265.4019, 3.989151, 120, 0, 0), -- 15475 (Area: 540) +(@CGUID+320, 6552, 1, 1, 1, -7790.61, -1188.216, -265.0625, 6.259752, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+321, 6551, 1, 1, 1, -7917.048, -1109.177, -275.4784, 1.775474, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+322, 6552, 1, 1, 1, -7890.446, -1118.073, -271.1276, 2.862488, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+323, 6551, 1, 1, 1, -7802.27, -1146.421, -259.7572, 3.43305, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+324, 6551, 1, 1, 1, -7815.041, -1131.003, -258.047, 1.164547, 120, 0, 0), -- 6551 (Area: 540) (Auras: 3616 - 3616) +(@CGUID+325, 6552, 1, 1, 1, -7845.882, -1079.919, -264.0077, 2.666582, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+326, 9164, 1, 1, 1, -7851.104, -1016.489, -267.5273, 3.262674, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+327, 9600, 1, 1, 1, -7844.102, -1009.712, -227.0685, 4.937794, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+328, 49722, 1, 1, 1, -7868.636, -967.1184, -266.4205, 1.360299, 120, 5, 1), -- 49722 (Area: 539) (possible waypoints or random movement) +(@CGUID+329, 6559, 1, 1, 1, -7785.911, -1021.36, -266.724, 4.441631, 120, 0, 0), -- 6559 (Area: 539) +(@CGUID+330, 6501, 1, 1, 1, -7883.05, -982.4174, -268.155, 2.935002, 120, 5, 1), -- 6501 (Area: 539) (possible waypoints or random movement) +(@CGUID+331, 62375, 1, 1, 1, -7806.042, -982.6072, -267.432, 4.479515, 120, 5, 1), -- 62375 (Area: 539) (possible waypoints or random movement) +(@CGUID+332, 15475, 1, 1, 1, -7829.288, -974.7379, -271.0622, 2.4902, 120, 0, 0), -- 15475 (Area: 539) +(@CGUID+333, 9164, 1, 1, 1, -7812.109, -986.1461, -266.2619, 4.461726, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+334, 9164, 1, 1, 1, -7847.593, -936.6431, -270.671, 1.101976, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+335, 9164, 1, 1, 1, -7854.926, -885.0323, -268.6513, 2.951088, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+336, 9167, 1, 1, 1, -7777.195, -953.24, -269.4038, 5.147401, 120, 5, 1), -- 9167 (Area: 539) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+337, 49844, 1, 1, 1, -7847.905, -862.6675, -268.0317, 4.594824, 120, 0, 0), -- 49844 (Area: 539) +(@CGUID+338, 6510, 1, 1, 1, -7827.091, -854.3665, -269.8415, 3.235434, 120, 0, 0), -- 6510 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+339, 9167, 1, 1, 1, -7779.707, -883.6768, -270.2542, 0.7499465, 120, 5, 1), -- 9167 (Area: 539) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+340, 9164, 1, 1, 1, -7788.345, -812.3713, -271.8472, 4.010603, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+341, 6501, 1, 1, 1, -7806.776, -784.7657, -268.6226, 1.045743, 120, 0, 0), -- 6501 (Area: 539) +(@CGUID+342, 49722, 1, 1, 1, -7780.932, -783.6718, -269.9461, 3.120111, 120, 5, 1), -- 49722 (Area: 539) (possible waypoints or random movement) +(@CGUID+343, 49722, 1, 1, 1, -7793.045, -1375.429, -271.6677, 4.983654, 120, 5, 1), -- 49722 (Area: 540) (possible waypoints or random movement) +(@CGUID+344, 6553, 1, 1, 1, -7767.238, -1343.678, -272.0138, 1.363952, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+345, 6553, 1, 1, 1, -7769.208, -1405.302, -269.6343, 1.198995, 120, 0, 0), -- 6553 (Area: 540) +(@CGUID+346, 6505, 1, 1, 1, -7853.827, -1751.143, -273.5818, 3.055836, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+347, 49725, 1, 1, 1, -7857.367, -1880.359, -271.8326, 3.023547, 120, 5, 1), -- 49725 (Area: 0) (possible waypoints or random movement) +(@CGUID+348, 6505, 1, 1, 1, -7889.208, -1781.892, -273.1937, 2.59045, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+349, 6506, 1, 1, 1, -7876.571, -1851.259, -274.7686, 6.104555, 120, 0, 0), -- 6506 (Area: 0) +(@CGUID+350, 49844, 1, 1, 1, -7894.891, -1871.644, -247.108, 4.732395, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+351, 9600, 1, 1, 1, -7847.815, -1906.934, -233.3255, 6.229025, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+352, 49725, 1, 1, 1, -7824.738, -1870.663, -272.3514, 1.154637, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+353, 49844, 1, 1, 1, -7891.397, -1948.05, -271.5292, 5.113945, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+354, 6505, 1, 1, 1, -7882, -1919.377, -270.1997, 4.507711, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+355, 49725, 1, 1, 1, -7811.417, -1891.298, -273.5, 4.204211, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+356, 49844, 1, 1, 1, -7840.794, -1979.435, -251.7495, 1.526056, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+357, 15475, 1, 1, 1, -7855.725, -1980.135, -269.5398, 2.881828, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+358, 49725, 1, 1, 1, -7811.516, -1936.406, -273.5, 1.468729, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+359, 6505, 1, 1, 1, -7886.797, -1998.525, -271.4008, 3.718574, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+360, 49722, 1, 1, 1, -7843.855, -1994.953, -271.1609, 5.386026, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+361, 49725, 1, 1, 1, -7815.099, -1964.025, -272.2348, 1.66182, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+362, 15475, 1, 1, 1, -7814.863, -1962.617, -272.2348, 0.3229258, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+363, 49844, 1, 1, 1, -7989.831, -2056.76, -166.1257, 2.62475, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+364, 49844, 1, 1, 1, -7902.187, -2084.955, -269.7295, 0.9704731, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+365, 49844, 1, 1, 1, -7933.853, -2081.555, -234.2825, 2.943013, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+366, 15475, 1, 1, 1, -7860.304, -2070.561, -272.1584, 5.106186, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+367, 38274, 1, 1, 1, -7877.151, -2061.585, -272.0972, 1.74092, 120, 0, 0), -- 38274 (Area: 1942) +(@CGUID+368, 49725, 1, 1, 1, -7827.884, -2057.024, -271.7702, 2.044737, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+369, 9619, 1, 1, 1, -7855.455, -2102.509, -266.922, 1.692969, 120, 0, 0), -- 9619 (Area: 1942) +(@CGUID+370, 49722, 1, 1, 1, -7976.743, -2107.595, -214.3807, 1.698516, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+371, 15475, 1, 1, 1, -7873.135, -2102.048, -270.2802, 0.3830905, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+372, 6505, 1, 1, 1, -7805.693, -2017.798, -270.2687, 2.0851, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+373, 34158, 1, 1, 1, -7796.269, -2110.527, -264.8518, 1.115613, 120, 0, 0), -- 34158 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+374, 11701, 1, 1, 1, -7786.836, -2108.8, -267.3085, 2.065699, 120, 5, 1), -- 11701 (Area: 0) (possible waypoints or random movement) +(@CGUID+375, 49725, 1, 1, 1, -7778.281, -2055.527, -270.6711, 5.082547, 120, 5, 1), -- 49725 (Area: 0) (possible waypoints or random movement) +(@CGUID+376, 49734, 1, 1, 1, -7747.055, -2087.174, -271.3646, 2.768368, 120, 0, 0), -- 49734 (Area: 0) +(@CGUID+377, 15475, 1, 1, 1, -7758.375, -2089.827, -270.388, 0.3035644, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+378, 49725, 1, 1, 1, -7764.68, -2031.383, -273.5, 2.395014, 120, 5, 1), -- 49725 (Area: 0) (possible waypoints or random movement) +(@CGUID+379, 38203, 1, 1, 1, -7787.674, -2032.939, -188.4725, 0, 120, 0, 0), -- 38203 (Area: 0) +(@CGUID+380, 62127, 1, 1, 1, -7705.805, -2042.211, -271.8573, 4.018804, 120, 5, 1), -- 62127 (Area: 1942) (possible waypoints or random movement) +(@CGUID+381, 49844, 1, 1, 1, -7723.432, -2040.306, -270.8602, 4.489584, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+382, 49725, 1, 1, 1, -7698.429, -2067.226, -273.5, 5.258897, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+383, 9600, 1, 1, 1, -7730.265, -2026.026, -226.8075, 1.431316, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+384, 49725, 1, 1, 1, -7761.679, -1993.208, -270.2986, 3.653463, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+385, 9162, 1, 1, 1, -7685.875, -2086.332, -272.1102, 3.985249, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+386, 49725, 1, 1, 1, -7583.409, -2121.092, -273.5, 3.344779, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+387, 6560, 1, 1, 1, -7622.51, -2221.443, -270.9546, 0.01958435, 120, 0, 0), -- 6560 (Area: 1942) +(@CGUID+388, 61318, 1, 1, 1, -7639.545, -2128.481, -271.4727, 1.512548, 120, 5, 1), -- 61318 (Area: 1942) (possible waypoints or random movement) +(@CGUID+389, 9162, 1, 1, 1, -7635.78, -2135.543, -270.8946, 0.7122234, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+390, 49734, 1, 1, 1, -7613.048, -2081.75, -272.1046, 4.171123, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+391, 49722, 1, 1, 1, -7658.677, -2117.606, -272.0235, 1.591251, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+392, 6560, 1, 1, 1, -7672.214, -2084.816, -272.2121, 2.872931, 120, 0, 0), -- 6560 (Area: 1942) +(@CGUID+393, 49844, 1, 1, 1, -7541.501, -2142.433, -198.2648, 2.324496, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+394, 9162, 1, 1, 1, -7557.416, -2082.646, -271.0774, 3.602348, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+395, 62370, 1, 1, 1, -7548.269, -2162.081, -271.3333, 2.933106, 120, 5, 1), -- 62370 (Area: 1942) (possible waypoints or random movement) +(@CGUID+396, 49734, 1, 1, 1, -7581.176, -2042.974, -276.28, 4.976499, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+397, 49725, 1, 1, 1, -7527.627, -2060.333, -271.6255, 5.113694, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+398, 49725, 1, 1, 1, -7543.563, -2052.848, -271.9438, 5.699202, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+399, 49722, 1, 1, 1, -7546.494, -2076.41, -271.4992, 1.684256, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+400, 49734, 1, 1, 1, -7503.296, -2150.908, -271.519, 3.30173, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+401, 61319, 1, 1, 1, -7516.839, -2188.476, -271.0905, 1.568666, 120, 0, 0), -- 61319 (Area: 1942) +(@CGUID+402, 15475, 1, 1, 1, -7483.637, -2147.483, -273.1124, 3.617805, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+403, 9162, 1, 1, 1, -7519.405, -2234.615, -270.8979, 4.987203, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+404, 49734, 1, 1, 1, -7487.136, -2204.224, -271.7036, 5.235502, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+405, 6507, 1, 1, 1, -7480.391, -2120.332, -273.0686, 4.487787, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+406, 45439, 1, 1, 1, -7456.021, -2109.755, -271.7848, 4.346725, 120, 0, 0), -- 45439 (Area: 1942) +(@CGUID+407, 61313, 1, 1, 1, -7492.561, -2091.072, -272.0253, 1.502345, 120, 5, 1), -- 61313 (Area: 1942) (possible waypoints or random movement) +(@CGUID+408, 9162, 1, 1, 1, -7427.633, -2255.539, -271.0543, 1.694797, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+409, 9600, 1, 1, 1, -7424.069, -2252.735, -239.4365, 0.589681, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+410, 61319, 1, 1, 1, -7478.046, -2389.053, -197.8733, 2.141215, 120, 0, 0), -- 61319 (Area: 1942) +(@CGUID+411, 49722, 1, 1, 1, -7416.333, -2404.344, -219.5387, 0.3656939, 120, 0, 0), -- 49722 (Area: 1942) +(@CGUID+412, 49734, 1, 1, 1, -7351.078, -2255.667, -271.0498, 0.2292975, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+413, 9162, 1, 1, 1, -7336.242, -2234.886, -272.1911, 1.779298, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+414, 9162, 1, 1, 1, -7283.827, -2252.509, -268.2853, 3.554545, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+415, 62370, 1, 1, 1, -7222.145, -2240.223, -272.1102, 1.354848, 120, 5, 1), -- 62370 (Area: 1942) (possible waypoints or random movement) +(@CGUID+416, 49725, 1, 1, 1, -7162.164, -2236.31, -272.2462, 2.233128, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+417, 38205, 1, 1, 1, -7157.666, -2294.251, -268.129, 3.588482, 120, 0, 0), -- 38205 (Area: 1942) +(@CGUID+418, 38205, 1, 1, 1, -7158.802, -2292.801, -268.2972, 2.050063, 120, 0, 0), -- 38205 (Area: 1942) +(@CGUID+419, 62370, 1, 1, 1, -7190.544, -2211.133, -272.1102, 5.920502, 120, 5, 1), -- 62370 (Area: 1942) (possible waypoints or random movement) +(@CGUID+420, 38214, 1, 1, 1, -7165.226, -2244.652, -271.774, 2.624627, 120, 0, 0), -- 38214 (Area: 1942) +(@CGUID+421, 38205, 1, 1, 1, -7158.593, -2293.985, -268.1295, 4.88884, 120, 0, 0), -- 38205 (Area: 1942) +(@CGUID+422, 38263, 1, 1, 1, -7159.061, -2294.832, -268.0972, 0.5759587, 120, 0, 0), -- 38263 (Area: 1942) +(@CGUID+423, 38205, 1, 1, 1, -7157.698, -2293.786, -268.1852, 0.6677863, 120, 0, 0), -- 38205 (Area: 1942) +(@CGUID+424, 38205, 1, 1, 1, -7158.693, -2294.397, -268.0924, 3.823283, 120, 0, 0), -- 38205 (Area: 1942) +(@CGUID+425, 38214, 1, 1, 1, -7112.64, -2281.248, -266.6243, 0.7531999, 120, 0, 0), -- 38214 (Area: 1942) +(@CGUID+426, 49844, 1, 1, 1, -7137.407, -2221.06, -236.6278, 6.009905, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+427, 49725, 1, 1, 1, -7163.334, -2213.004, -273.5, 3.463159, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+428, 62127, 1, 1, 1, -7123.056, -2222.204, -271.5425, 1.448462, 120, 0, 0), -- 62127 (Area: 1942) +(@CGUID+429, 49722, 1, 1, 1, -7108.563, -2251.846, -268.7257, 0.09189729, 120, 0, 0), -- 49722 (Area: 1942) +(@CGUID+430, 38214, 1, 1, 1, -7074.332, -2306.868, -268.1061, 5.07023, 120, 0, 0), -- 38214 (Area: 1942) +(@CGUID+431, 38214, 1, 1, 1, -7081.666, -2247.045, -271.1076, 1.98663, 120, 0, 0), -- 38214 (Area: 1942) +(@CGUID+432, 62370, 1, 1, 1, -7072.213, -2192.458, -270.9596, 4.366311, 120, 5, 1), -- 62370 (Area: 0) (possible waypoints or random movement) +(@CGUID+433, 38214, 1, 1, 1, -7020.998, -2243.803, -270.9625, 3.118645, 120, 0, 0), -- 38214 (Area: 0) +(@CGUID+434, 15475, 1, 1, 1, -7047.171, -2265.962, -270.5606, 5.245104, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+435, 6500, 1, 1, 1, -6980.054, -2250.195, -273.6031, 0.09943835, 120, 0, 0), -- 6500 (Area: 0) +(@CGUID+436, 49844, 1, 1, 1, -7051.538, -2226.679, -212.5942, 3.509642, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+437, 38214, 1, 1, 1, -7055.697, -2269.256, -270.3715, 4.352932, 120, 0, 0), -- 38214 (Area: 0) +(@CGUID+438, 6560, 1, 1, 1, -7000.799, -2241.463, -271.3661, 0.9548168, 120, 0, 0), -- 6560 (Area: 0) +(@CGUID+439, 38214, 1, 1, 1, -6944.237, -2235.76, -272.2789, 5.109386, 120, 0, 0), -- 38214 (Area: 0) +(@CGUID+440, 38214, 1, 1, 1, -6975.203, -2141.502, -271.7431, 5.283723, 120, 5, 1), -- 38214 (Area: 4885) (possible waypoints or random movement) +(@CGUID+441, 49722, 1, 1, 1, -6922.879, -2191.281, -271.1606, 3.227654, 120, 5, 1), -- 49722 (Area: 4885) (possible waypoints or random movement) +(@CGUID+442, 38214, 1, 1, 1, -6913.5, -2189.441, -271.6972, 2.003015, 120, 5, 1), -- 38214 (Area: 4885) (possible waypoints or random movement) +(@CGUID+443, 6512, 1, 1, 1, -6883.074, -2216.17, -271.8472, 3.92211, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+444, 49722, 1, 1, 1, -6881.308, -2182.652, -270.6158, 5.709267, 120, 5, 1), -- 49722 (Area: 4885) (possible waypoints or random movement) +(@CGUID+445, 38214, 1, 1, 1, -6933.399, -2146.924, -271.3761, 1.937573, 120, 5, 1), -- 38214 (Area: 4885) (possible waypoints or random movement) +(@CGUID+446, 6511, 1, 1, 1, -6850.613, -2182.263, -269.4301, 0.7335669, 120, 0, 0), -- 6511 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+447, 49844, 1, 1, 1, -6877.501, -2157.808, -204.6027, 4.74404, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+448, 6510, 1, 1, 1, -6817.082, -2215.567, -271.9722, 1.673731, 120, 0, 0), -- 6510 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+449, 6509, 1, 1, 1, -6884.101, -2148.284, -270.0828, 1.443842, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+450, 6511, 1, 1, 1, -6785.519, -2185.742, -269.9767, 3.505924, 120, 0, 0), -- 6511 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+451, 6509, 1, 1, 1, -6749.516, -2150.939, -269.2901, 2.368343, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+452, 49844, 1, 1, 1, -6729.512, -2260.2, -211.5129, 2.024582, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+453, 49844, 1, 1, 1, -6738.883, -2111.589, -214.7136, 2.293417, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+454, 6512, 1, 1, 1, -6715.495, -2114.18, -271.2689, 0.5856165, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+455, 9162, 1, 1, 1, -6664.4, -2092.07, -271.9114, 6.106623, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+456, 6512, 1, 1, 1, -6689.475, -2088.103, -270.782, 3.269943, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+457, 6509, 1, 1, 1, -6750.824, -2084.172, -270.6667, 2.881354, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+458, 6499, 1, 1, 1, -6689.481, -2078.725, -272.0719, 5.667032, 120, 5, 1), -- 6499 (Area: 4885) (possible waypoints or random movement) +(@CGUID+459, 9162, 1, 1, 1, -6614.945, -2130.179, -263.5406, 4.473289, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+460, 6509, 1, 1, 1, -6720.749, -2053.236, -271.1474, 0.7313613, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+461, 9162, 1, 1, 1, -6578.84, -2088.333, -272.6122, 3.893587, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+462, 6512, 1, 1, 1, -6821.068, -2079.887, -267.455, 1.975092, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+463, 9162, 1, 1, 1, -6588.362, -2012.401, -269.2765, 0.09772691, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+464, 49844, 1, 1, 1, -6627.769, -2014.793, -226.8469, 2.070859, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+465, 61313, 1, 1, 1, -6565.19, -2045.355, -271.5921, 6.230397, 120, 5, 1), -- 61313 (Area: 4885) (possible waypoints or random movement) +(@CGUID+466, 9162, 1, 1, 1, -6558.295, -2049.578, -271.9615, 4.752937, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+467, 49844, 1, 1, 1, -6584.965, -2128.448, -162.4294, 2.419761, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+468, 9162, 1, 1, 1, -6509.137, -2023.447, -272.0972, 5.012671, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+469, 15475, 1, 1, 1, -6492.17, -2074.229, -270.143, 4.821104, 120, 0, 0), -- 15475 (Area: 4885) +(@CGUID+470, 49844, 1, 1, 1, -6485.362, -2022.565, -255.5034, 0.8934019, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+471, 49844, 1, 1, 1, -6362.539, -2058.056, -190.9184, 2.130052, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+472, 9162, 1, 1, 1, -6549.32, -1980.196, -269.371, 0.2866212, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+473, 9162, 1, 1, 1, -6606.475, -1918.812, -271.3326, 0.5230183, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+474, 6527, 1, 1, 1, -6557.618, -1888.406, -274.0408, 1.48271, 120, 0, 0), -- 6527 (Area: 4885) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+475, 9162, 1, 1, 1, -6585.267, -1899.837, -272.63, 3.960128, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+476, 9162, 1, 1, 1, -6608.455, -1974.865, -270.1228, 6.177102, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+477, 9162, 1, 1, 1, -6578.64, -1953.368, -271.6436, 4.006401, 120, 0, 0), -- 9162 (Area: 4885) +(@CGUID+478, 15475, 1, 1, 1, -6524.88, -1908.683, -271.4955, 5.433307, 120, 0, 0), -- 15475 (Area: 4885) +(@CGUID+479, 9600, 1, 1, 1, -6581.963, -1897.642, -201.7562, 2.97864, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+480, 9600, 1, 1, 1, -6590.168, -1943.823, -244.0633, 1.941439, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+481, 9600, 1, 1, 1, -6447.104, -1845.759, -210.4203, 2.024582, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+482, 6527, 1, 1, 1, -6518.435, -1843.961, -275.8558, 0.6145691, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+483, 49844, 1, 1, 1, -6536.935, -1816.309, -252.6377, 4.54289, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+484, 9623, 1, 1, 1, -6453.729, -1828.092, -270.7515, 2.443461, 120, 0, 0), -- 9623 (Area: 538) +(@CGUID+485, 49844, 1, 1, 1, -6496.267, -1782.93, -273.9173, 3.846831, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+486, 6585, 1, 1, 1, -6424.386, -1797.653, -268.6372, 6.234301, 120, 0, 0), -- 6585 (Area: 538) +(@CGUID+487, 6513, 1, 1, 1, -6430.008, -1757.033, -273.6625, 3.03757, 120, 0, 0), -- 6513 (Area: 538) +(@CGUID+488, 6514, 1, 1, 1, -6479.814, -1778.287, -274.6896, 3.386406, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+489, 6514, 1, 1, 1, -6420.32, -1762.614, -273.0448, 2.821695, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+490, 45439, 1, 1, 1, -6376.573, -1877.655, -259.5831, 3.522694, 120, 0, 0), -- 45439 (Area: 538) +(@CGUID+491, 9162, 1, 1, 1, -6513.236, -1759.413, -274.4069, 3.787047, 120, 0, 0), -- 9162 (Area: 538) +(@CGUID+492, 6514, 1, 1, 1, -6456.729, -1747.947, -274.9015, 4.438478, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+493, 6514, 1, 1, 1, -6389.117, -1805.402, -265.8826, 1.643068, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+494, 6513, 1, 1, 1, -6458.815, -1762.814, -274.9047, 5.626337, 120, 0, 0), -- 6513 (Area: 538) +(@CGUID+495, 49844, 1, 1, 1, -6425.592, -1720.839, -273.977, 0.1728606, 120, 0, 0), -- 49844 (Area: 542) +(@CGUID+496, 49844, 1, 1, 1, -6395.805, -1744.626, -232.7341, 1.55364, 120, 0, 0), -- 49844 (Area: 542) +(@CGUID+497, 6513, 1, 1, 1, -6432.613, -1710.083, -274.1153, 4.163932, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+498, 6514, 1, 1, 1, -6388.568, -1724.044, -272.5183, 3.817555, 120, 0, 0), -- 6514 (Area: 542) +(@CGUID+499, 6516, 1, 1, 1, -6356.983, -1896.688, -257.0574, 2.972055, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+500, 15475, 1, 1, 1, -6386.5, -1648.506, -271.9147, 3.039628, 120, 0, 0), -- 15475 (Area: 542) +(@CGUID+501, 6513, 1, 1, 1, -6382.917, -1651.3, -271.9974, 3.34236, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+502, 6513, 1, 1, 1, -6451.494, -1647.091, -272.8035, 0.5511886, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+503, 6513, 1, 1, 1, -6414.498, -1616.186, -271.5854, 2.528296, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+504, 6514, 1, 1, 1, -6387.128, -1596.331, -271.2222, 4.471669, 120, 0, 0), -- 6514 (Area: 542) (Auras: ) +(@CGUID+505, 6513, 1, 1, 1, -6449.815, -1584.729, -274.938, 5.605773, 120, 0, 0), -- 6513 (Area: 538) +(@CGUID+506, 9600, 1, 1, 1, -6441.207, -1583.618, -246.0078, 1.964762, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+507, 49844, 1, 1, 1, -6215.783, -1482.515, -142.2409, 1.493247, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+508, 9600, 1, 1, 1, -6352.38, -1395.245, -240.9432, 2.024582, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+509, 49844, 1, 1, 1, -6369.248, -1419.371, -270.9842, 2.92123, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+510, 61313, 1, 1, 1, -6264.251, -1337.873, -231.5011, 5.584903, 120, 0, 0), -- 61313 (Area: 538) +(@CGUID+511, 15475, 1, 1, 1, -6376.741, -1254.932, -271.4935, 1.042594, 120, 0, 0), -- 15475 (Area: 538) +(@CGUID+512, 49844, 1, 1, 1, -6382.148, -1204.969, -251.8118, 4.417151, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+513, 45439, 1, 1, 1, -6383.048, -1243.173, -272.0972, 3.026634, 120, 0, 0), -- 45439 (Area: 538) +(@CGUID+514, 6518, 1, 1, 1, -6342.663, -1222.701, -269.2691, 1.678434, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+515, 6518, 1, 1, 1, -6409.296, -1209.596, -271.7746, 0.3423045, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+516, 6518, 1, 1, 1, -6356.447, -1152.848, -271.1744, 4.747531, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+517, 49844, 1, 1, 1, -6311.573, -1133.343, -241.8897, 3.033708, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+518, 6519, 1, 1, 1, -6388.483, -1189.28, -271.7768, 4.262097, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+519, 6518, 1, 1, 1, -6386.185, -1125.49, -271.7927, 4.948845, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+520, 6519, 1, 1, 1, -6412.5, -1138.611, -269.471, 0.6635246, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+521, 61384, 1, 1, 1, -6409.452, -1134.763, -269.0636, 0.8760402, 120, 5, 1), -- 61384 (Area: 538) (possible waypoints or random movement) +(@CGUID+522, 49844, 1, 1, 1, -6206.827, -1207.707, -127.1062, 1.648018, 120, 0, 0), -- 49844 (Area: 541) +(@CGUID+523, 6560, 1, 1, 1, -6225.739, -1113.217, -221.6947, 4.237379, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+524, 6560, 1, 1, 1, -6268.339, -1095.181, -224.7111, 3.516611, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+525, 49844, 1, 1, 1, -6217.262, -1133.798, -198.0001, 3.865909, 120, 0, 0), -- 49844 (Area: 541) +(@CGUID+526, 62373, 1, 1, 1, -6185.119, -1125.476, -217.0305, 4.712909, 120, 5, 1), -- 62373 (Area: 541) (possible waypoints or random movement) +(@CGUID+527, 6560, 1, 1, 1, -6176.433, -1097.548, -212.7954, 4.285439, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+528, 6560, 1, 1, 1, -6192.544, -1136.036, -217.2903, 0.7651663, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+529, 6560, 1, 1, 1, -6168.444, -1061.873, -193.2443, 6.238206, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+530, 6560, 1, 1, 1, -6212.58, -1050.861, -197.8203, 0.9439918, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+531, 6560, 1, 1, 1, -6138.387, -1111.337, -208.0717, 4.721808, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+532, 61319, 1, 1, 1, -6140.462, -1077.451, -198.1965, 0.9450037, 120, 5, 1), -- 61319 (Area: 541) (possible waypoints or random movement) +(@CGUID+533, 6560, 1, 1, 1, -6151.362, -1152.151, -214.3224, 6.226495, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+534, 28092, 1, 1, 1, -6193.865, -1219.552, -160.7679, 4.729842, 120, 0, 0), -- 28092 (Area: 541) (Auras: 16245 - 16245) +(@CGUID+535, 49844, 1, 1, 1, -6112.807, -1119.953, -68.15031, 1.925907, 120, 0, 0), -- 49844 (Area: 541) +(@CGUID+536, 34381, 1, 1, 1, -6191.712, -1220.908, -160.7772, 0, 120, 0, 0), -- 34381 (Area: 541) +(@CGUID+537, 6560, 1, 1, 1, -6114.457, -1147.295, -187.7127, 3.382306, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+538, 28602, 1, 1, 1, -6121.083, -1241.74, -143.1921, 3.193953, 120, 0, 0), -- 28602 (Area: 541) +(@CGUID+539, 6560, 1, 1, 1, -6116.372, -1059.843, -200.4054, 3.727465, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+540, 6560, 1, 1, 1, -6096.299, -1070.259, -199.3215, 1.534979, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+541, 6560, 1, 1, 1, -6073.479, -1069.214, -199.0944, 1.487871, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+542, 6560, 1, 1, 1, -6061.66, -1082.604, -200.6663, 3.433228, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+543, 6560, 1, 1, 1, -6088.269, -1014.478, -204.0597, 4.80867, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+544, 6560, 1, 1, 1, -6069.208, -989.1876, -210.9495, 0.9352022, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+545, 6560, 1, 1, 1, -6033.666, -1022.359, -217.6167, 3.46308, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+546, 6560, 1, 1, 1, -6071.565, -1037.448, -198.9403, 4.095068, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+547, 6560, 1, 1, 1, -6018.134, -994.1462, -215.2329, 1.918174, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+548, 6560, 1, 1, 1, -6039.964, -974.0577, -213.1103, 4.46751, 120, 0, 0), -- 6560 (Area: 541) +(@CGUID+549, 49844, 1, 1, 1, -6384.104, -1022.076, -196.3764, 4.557707, 120, 0, 0), -- 49844 (Area: 541) +(@CGUID+550, 6518, 1, 1, 1, -6381.823, -1049.798, -272.3235, 0.9030718, 120, 0, 0), -- 6518 (Area: 541) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+551, 6518, 1, 1, 1, -6410.074, -1079.41, -272.4867, 0.1884433, 120, 0, 0), -- 6518 (Area: 541) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+552, 9167, 1, 1, 1, -6452.029, -920.5411, -275.136, 2.245537, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+553, 9167, 1, 1, 1, -6442.404, -988.1263, -269.7254, 1.685958, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+554, 15475, 1, 1, 1, -6418.074, -994.0607, -268.9369, 1.782556, 120, 0, 0), -- 15475 (Area: 4884) +(@CGUID+555, 9167, 1, 1, 1, -6485.874, -944.7244, -269.7513, 1.207686, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+556, 9167, 1, 1, 1, -6405.701, -945.482, -273.1905, 0.4881182, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+557, 49844, 1, 1, 1, -6338.209, -841.8956, -123.5617, 4.369864, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+558, 6559, 1, 1, 1, -6486.601, -877.8975, -274.5119, 4.537604, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+559, 9600, 1, 1, 1, -6398.842, -754.2269, -202.5298, 2.136256, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+560, 9167, 1, 1, 1, -6535.612, -887.087, -271.544, 5.903404, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+561, 6510, 1, 1, 1, -6510.615, -913.4383, -274.4257, 6.214309, 120, 0, 0), -- 6510 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+562, 6511, 1, 1, 1, -6569.808, -804.3972, -273.6093, 3.386948, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+563, 49725, 1, 1, 1, -6572.452, -827.8313, -270.7184, 0.765007, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+564, 9167, 1, 1, 1, -6638.867, -770.61, -273.7841, 0.5399124, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+565, 49734, 1, 1, 1, -6638.052, -788.8571, -276.225, 3.972255, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+566, 9167, 1, 1, 1, -6679.15, -744.7202, -271.2369, 0.625415, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+567, 9167, 1, 1, 1, -6719.911, -725.074, -272.0972, 1.194799, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+568, 6511, 1, 1, 1, -6716.602, -776.7708, -271.2164, 2.823019, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+569, 9167, 1, 1, 1, -6768.614, -740.0035, -268.4394, 5.850096, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+570, 9167, 1, 1, 1, -6772.375, -781.9717, -271.3512, 1.23099, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+571, 45439, 1, 1, 1, -6740.316, -809.8351, -272.0972, 2.107234, 120, 0, 0), -- 45439 (Area: 4884) +(@CGUID+572, 9600, 1, 1, 1, -6774.399, -801.3431, -254.6948, 1.97092, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+573, 9600, 1, 1, 1, -6937.798, -777.2803, -272.0972, 3.585433, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+574, 49844, 1, 1, 1, -6903.318, -822.3409, -174.2015, 1.970205, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+575, 6511, 1, 1, 1, -6809.465, -804.8005, -271.6919, 1.537605, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+576, 6511, 1, 1, 1, -6919.456, -762.1058, -272.0889, 1.748654, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+577, 9164, 1, 1, 1, -6920.853, -708.3302, -271.7579, 4.579062, 120, 0, 0), -- 9164 (Area: 4884) +(@CGUID+578, 45439, 1, 1, 1, -6805.171, -827.7999, -272.0972, 3.005917, 120, 0, 0), -- 45439 (Area: 4884) +(@CGUID+579, 9167, 1, 1, 1, -6873.944, -811.1541, -270.9913, 2.780308, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+580, 6510, 1, 1, 1, -6845.05, -726.1088, -272.5049, 4.800396, 120, 0, 0), -- 6510 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+581, 45439, 1, 1, 1, -6824.282, -830.2468, -272.0972, 2.977651, 120, 0, 0), -- 45439 (Area: 4884) +(@CGUID+582, 9167, 1, 1, 1, -6841.113, -781.2737, -271.1549, 0.5369008, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+583, 49844, 1, 1, 1, -6872.228, -885.2852, -259.2114, 5.018071, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+584, 9167, 1, 1, 1, -6913.173, -848.8831, -272.0972, 0.4311112, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+585, 9167, 1, 1, 1, -6880.384, -886.6163, -271.3233, 5.416139, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+586, 6559, 1, 1, 1, -6781.126, -852.8573, -270.0108, 0.7152136, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+587, 9164, 1, 1, 1, -6848.833, -864.3295, -271.8512, 1.978509, 120, 0, 0), -- 9164 (Area: 4884) +(@CGUID+588, 9167, 1, 1, 1, -6809.16, -877.6718, -268.4771, 0.4015559, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+589, 9167, 1, 1, 1, -6740.894, -938.9982, -271.4283, 1.198825, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+590, 9167, 1, 1, 1, -6878.765, -951.59, -271.916, 5.669742, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+591, 6511, 1, 1, 1, -6845.834, -912.2809, -271.1557, 1.570796, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+592, 6559, 1, 1, 1, -6742.559, -885.3541, -270.4272, 0.1228558, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+593, 9167, 1, 1, 1, -6855.403, -986.7208, -271.2364, 4.143834, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+594, 49844, 1, 1, 1, -6787.021, -877.243, -253.266, 1.981239, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+595, 6512, 1, 1, 1, -6778.268, -981.5341, -269.435, 2.428595, 120, 0, 0), -- 6512 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+596, 49722, 1, 1, 1, -6742.384, -990.9129, -269.8017, 4.692313, 120, 5, 1), -- 49722 (Area: 4884) (possible waypoints or random movement) +(@CGUID+597, 6559, 1, 1, 1, -6777.209, -922.2612, -269.1049, 0.3493444, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+598, 9167, 1, 1, 1, -6885.359, -1012.435, -271.9586, 2.047613, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+599, 49734, 1, 1, 1, -6858.428, -1056.217, -270.7499, 1.980333, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+600, 9167, 1, 1, 1, -6737.286, -1021.787, -269.3874, 2.866779, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+601, 49725, 1, 1, 1, -6744.493, -1078.645, -276.225, 0.4398889, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+602, 49844, 1, 1, 1, -6899.569, -1061.272, -254.3953, 2.02298, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+603, 49725, 1, 1, 1, -6882.657, -1057.005, -271.9499, 4.071688, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+604, 49725, 1, 1, 1, -6708.63, -1089.873, -271.0675, 3.942363, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+605, 61319, 1, 1, 1, -6781.646, -1151.646, -272.1169, 3.291451, 120, 5, 1), -- 61319 (Area: 4884) (possible waypoints or random movement) +(@CGUID+606, 49725, 1, 1, 1, -6721.546, -1030.688, -271.0487, 4.959268, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+607, 49725, 1, 1, 1, -6787.716, -1118.828, -271.3849, 4.068264, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+608, 49725, 1, 1, 1, -6872.194, -1108.421, -270.9508, 4.355217, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+609, 9166, 1, 1, 1, -6718.697, -1119.252, -272.0972, 5.42025, 120, 0, 0), -- 9166 (Area: 4884) +(@CGUID+610, 9167, 1, 1, 1, -6715.05, -980.3903, -272.0433, 5.89626, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+611, 49734, 1, 1, 1, -6696.596, -1032.718, -276.225, 1.115693, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+612, 49734, 1, 1, 1, -6673.666, -1041.31, -272.1, 5.386206, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+613, 9167, 1, 1, 1, -6679.363, -1015.177, -274.9059, 5.819538, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+614, 6512, 1, 1, 1, -6635.529, -1011.376, -270.6691, 2.579059, 120, 0, 0), -- 6512 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+615, 9167, 1, 1, 1, -6654.625, -988.3926, -276.2171, 2.812917, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+616, 9167, 1, 1, 1, -6687.076, -957.7457, -271.6979, 4.499658, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+617, 49725, 1, 1, 1, -6630.074, -970.136, -271.7234, 1.913172, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+618, 9600, 1, 1, 1, -6637.825, -979.262, -242.1438, 6.127542, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+619, 6509, 1, 1, 1, -6583.736, -980.8712, -270.8547, 2.436698, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+620, 9167, 1, 1, 1, -6548.593, -1020.582, -271.2791, 4.488304, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+621, 6560, 1, 1, 1, -6542.418, -943.6697, -271.4049, 0.7826378, 120, 0, 0), -- 6560 (Area: 4884) +(@CGUID+622, 6511, 1, 1, 1, -6595.541, -913.5568, -271.6173, 2.691045, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+623, 6518, 1, 1, 1, -6520.486, -1054.683, -268.9394, 0.3635304, 120, 0, 0), -- 6518 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+624, 6510, 1, 1, 1, -6550.302, -950.9561, -271.6791, 6.11359, 120, 0, 0), -- 6510 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+625, 49844, 1, 1, 1, -6516.249, -949.7431, -271.5674, 1.770164, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+626, 6519, 1, 1, 1, -6494.24, -1022.797, -276.3117, 5.39963, 120, 0, 0), -- 6519 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+627, 6519, 1, 1, 1, -6447.424, -1040.905, -271.4178, 0.4015559, 120, 0, 0), -- 6519 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+628, 6519, 1, 1, 1, -6480.956, -1083.397, -271.6636, 3.35049, 120, 0, 0), -- 6519 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+629, 45439, 1, 1, 1, -6439.829, -1071.296, -271.7351, 3.379946, 120, 0, 0), -- 45439 (Area: 4884) +(@CGUID+630, 6519, 1, 1, 1, -6444.148, -1114.859, -271.0977, 5.046299, 120, 0, 0), -- 6519 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+631, 49844, 1, 1, 1, -6650.908, -821.2644, -185.0597, 6.031617, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+632, 9167, 1, 1, 1, -6663.121, -825.4552, -271.4454, 4.948343, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+633, 6510, 1, 1, 1, -6713.54, -937.4227, -270.6467, 4.595053, 120, 0, 0), -- 6510 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+634, 49844, 1, 1, 1, -6677.852, -948.4023, -246.222, 1.011242, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+635, 49725, 1, 1, 1, -6673.846, -917.2917, -271.1021, 3.1728, 120, 0, 0), -- 49725 (Area: 4884) +(@CGUID+636, 15475, 1, 1, 1, -6573.937, -893.3652, -272.1159, 1.876457, 120, 0, 0), -- 15475 (Area: 4884) +(@CGUID+637, 62370, 1, 1, 1, -6583.514, -870.1321, -270.7216, 2.161648, 120, 0, 0), -- 62370 (Area: 4884) +(@CGUID+638, 49725, 1, 1, 1, -6652.856, -890.0229, -272.1414, 0.8884392, 120, 0, 0), -- 49725 (Area: 4884) +(@CGUID+639, 9167, 1, 1, 1, -6677.647, -884.0571, -271.5771, 6.110325, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+640, 6559, 1, 1, 1, -6918.662, -915.0572, -270.4242, 2.51998, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+641, 6511, 1, 1, 1, -6920.378, -985.2684, -272.732, 0.1277244, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+642, 9167, 1, 1, 1, -6949.684, -949.9439, -270.1758, 2.495821, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+643, 9167, 1, 1, 1, -6949.969, -1011.92, -272.2718, 1.809149, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+644, 9600, 1, 1, 1, -6959.313, -994.625, -250.9872, 2.024582, 120, 0, 0), -- 9600 (Area: 4884) +(@CGUID+645, 9167, 1, 1, 1, -6984.087, -979.0793, -271.8594, 1.156933, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+646, 39175, 1, 1, 1, -6960.243, -1098.884, -272.5671, 1.029744, 120, 0, 0), -- 39175 (Area: 4884) +(@CGUID+647, 49844, 1, 1, 1, -7027.195, -1038.073, -242.7757, 4.834902, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+648, 9618, 1, 1, 1, -6976.163, -1073.955, -269.4449, 3.211406, 120, 0, 0), -- 9618 (Area: 4884) +(@CGUID+649, 38275, 1, 1, 1, -6979.001, -1067.436, -269.0572, 2.202683, 120, 0, 0), -- 38275 (Area: 4884) +(@CGUID+650, 38276, 1, 1, 1, -6975.473, -1066.874, -267.6886, 5.307437, 120, 0, 0), -- 38276 (Area: 4884) +(@CGUID+651, 49725, 1, 1, 1, -6955.851, -1090.883, -272.3115, 1.456012, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+652, 38277, 1, 1, 1, -6976.001, -1066.401, -267.7257, 2.100925, 120, 0, 0), -- 38277 (Area: 4884) +(@CGUID+653, 49734, 1, 1, 1, -6910.416, -1097.916, -276.225, 3.457271, 120, 0, 0), -- 49734 (Area: 4884) +(@CGUID+654, 9998, 1, 1, 1, -6986.238, -1073.635, -269.6224, 5.846853, 120, 0, 0), -- 9998 (Area: 4884) +(@CGUID+655, 38561, 1, 1, 1, -6992.45, -1074.266, -270.1722, 0.8726646, 120, 0, 0), -- 38561 (Area: 4884) +(@CGUID+656, 6511, 1, 1, 1, -7006.457, -1027.686, -271.8834, 2.293593, 120, 0, 0), -- 6511 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+657, 9167, 1, 1, 1, -6997.516, -925.9565, -266.0807, 1.635286, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+658, 49844, 1, 1, 1, -6991.48, -914.1089, -222.9507, 4.703123, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+659, 9167, 1, 1, 1, -7020.129, -944.7361, -271.4923, 2.005457, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+660, 6509, 1, 1, 1, -7044.189, -984.0255, -271.9369, 2.476611, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+661, 9164, 1, 1, 1, -7023.342, -888.9733, -268.4561, 4.142813, 120, 0, 0), -- 9164 (Area: 4884) +(@CGUID+662, 9167, 1, 1, 1, -7049.478, -920.176, -271.1619, 4.741102, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+663, 9167, 1, 1, 1, -6946.042, -881.0993, -266.2838, 0.4050609, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+664, 9167, 1, 1, 1, -6981.618, -851.8457, -267.8209, 5.515232, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+665, 9167, 1, 1, 1, -6948.817, -816.3169, -272.0819, 4.521008, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+666, 9167, 1, 1, 1, -7014.856, -825.1392, -271.9402, 4.941813, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+667, 6509, 1, 1, 1, -6986.711, -773.0324, -269.7038, 1.944416, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+668, 9167, 1, 1, 1, -6963.751, -757.95, -269.9984, 3.346271, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+669, 6512, 1, 1, 1, -7034.602, -790.9004, -272.0897, 2.356194, 120, 0, 0), -- 6512 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+670, 6510, 1, 1, 1, -6977.198, -711.3041, -268.2999, 1.643046, 120, 0, 0), -- 6510 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+671, 9167, 1, 1, 1, -7046.362, -649.3247, -271.4197, 0.4079503, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+672, 9164, 1, 1, 1, -7074.089, -684.0693, -269.357, 2.874827, 120, 0, 0), -- 9164 (Area: 4884) +(@CGUID+673, 9167, 1, 1, 1, -7080.543, -750.6168, -269.789, 5.877267, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+674, 9167, 1, 1, 1, -7118.881, -708.087, -271.2448, 0.2487701, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+675, 49844, 1, 1, 1, -7115.646, -709.917, -271.218, 2.057359, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+676, 49725, 1, 1, 1, -7158.36, -720.288, -271.1682, 5.495166, 120, 5, 1), -- 49725 (Area: 4884) (possible waypoints or random movement) +(@CGUID+677, 49844, 1, 1, 1, -7131.601, -773.273, -212.6631, 1.127934, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+678, 9167, 1, 1, 1, -7109.237, -785.5465, -272.0191, 5.996831, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+679, 38254, 1, 1, 1, -7158.594, -731.4117, -271.6249, 3.213874, 120, 5, 1), -- 38254 (Area: 4884) (possible waypoints or random movement) +(@CGUID+680, 9167, 1, 1, 1, -7047.958, -852.663, -271.6957, 5.109023, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+681, 15475, 1, 1, 1, -7046.255, -857.7166, -271.2337, 1.704123, 120, 0, 0), -- 15475 (Area: 4884) +(@CGUID+682, 9167, 1, 1, 1, -7079.658, -880.9243, -272.1761, 0.7516239, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+683, 9167, 1, 1, 1, -7086.969, -948.5806, -271.4643, 2.344492, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+684, 6559, 1, 1, 1, -7121.507, -935.0413, -270.6792, 0.9659931, 120, 0, 0), -- 6559 (Area: 4884) +(@CGUID+685, 49844, 1, 1, 1, -7111.923, -916.0912, -269.1991, 4.896677, 120, 0, 0), -- 49844 (Area: 4884) +(@CGUID+686, 6509, 1, 1, 1, -7149.932, -891.3138, -270.8961, 2.676346, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+687, 9167, 1, 1, 1, -7121.73, -988.0286, -271.3309, 0.3718015, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+688, 9167, 1, 1, 1, -7151.644, -955.8492, -271.4198, 1.131961, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+689, 9167, 1, 1, 1, -7114.515, -1005.712, -272.1754, 3.386652, 120, 0, 0), -- 9167 (Area: 4884) (Auras: 8876 - 8876) +(@CGUID+690, 9167, 1, 1, 1, -7183.553, -922.3463, -270.617, 2.838062, 120, 5, 1), -- 9167 (Area: 4884) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+691, 9167, 1, 1, 1, -7119.458, -1048.165, -272.0704, 2.889038, 120, 0, 0), -- 9167 (Area: 0) (Auras: 8876 - 8876) +(@CGUID+692, 9167, 1, 1, 1, -7185.946, -1046.233, -271.1479, 2.126458, 120, 0, 0), -- 9167 (Area: 0) (Auras: 8876 - 8876) +(@CGUID+693, 9164, 1, 1, 1, -7208.091, -1013.949, -270.9693, 0.995239, 120, 0, 0), -- 9164 (Area: 0) +(@CGUID+694, 9164, 1, 1, 1, -7188.623, -989.9983, -270.527, 0.320375, 120, 0, 0), -- 9164 (Area: 0) +(@CGUID+695, 9600, 1, 1, 1, -7199.076, -947.5352, -247.3733, 0.09310417, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+696, 6509, 1, 1, 1, -7156.814, -1037.862, -271.506, 4.173241, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+697, 50478, 1, 1, 1, -7141.093, -1083.178, -271.9916, 3.644188, 120, 0, 0), -- 50478 (Area: 0) +(@CGUID+698, 15475, 1, 1, 1, -7235.097, -914.4515, -271.6178, 3.037841, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+699, 9164, 1, 1, 1, -7208.024, -946.3219, -271.2822, 0.6797332, 120, 0, 0), -- 9164 (Area: 0) +(@CGUID+700, 62375, 1, 1, 1, -7214.985, -945.5682, -271.3169, 0.669058, 120, 0, 0), -- 62375 (Area: 0) +(@CGUID+701, 9164, 1, 1, 1, -7224.845, -892.9963, -271.8472, 2.462859, 120, 0, 0), -- 9164 (Area: 0) +(@CGUID+702, 6559, 1, 1, 1, -7184.979, -848.9039, -271.2108, 5.35883, 120, 0, 0), -- 6559 (Area: 0) +(@CGUID+703, 49844, 1, 1, 1, -7203.856, -799.2162, -243.3437, 5.937846, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+704, 62127, 1, 1, 1, -7220.971, -802.8342, -271.8579, 4.214266, 120, 5, 1), -- 62127 (Area: 0) (possible waypoints or random movement) +(@CGUID+705, 38254, 1, 1, 1, -7205.597, -804.3038, -268.9185, 4.253054, 120, 5, 1), -- 38254 (Area: 0) (possible waypoints or random movement) +(@CGUID+706, 38254, 1, 1, 1, -7173.43, -777.5615, -273.0028, 3.935278, 120, 5, 1), -- 38254 (Area: 0) (possible waypoints or random movement) +(@CGUID+707, 49734, 1, 1, 1, -7167.895, -738.4936, -275.5013, 4.742785, 120, 0, 0), -- 49734 (Area: 0) +(@CGUID+708, 38254, 1, 1, 1, -7245.973, -805.2795, -269.1621, 1.854089, 120, 5, 1), -- 38254 (Area: 0) (possible waypoints or random movement) +(@CGUID+709, 38254, 1, 1, 1, -7159.83, -691.3623, -271.8909, 2.389918, 120, 0, 0), -- 38254 (Area: 0) +(@CGUID+710, 62127, 1, 1, 1, -7304.038, -793.142, -268.855, 1.158979, 120, 5, 1), -- 62127 (Area: 543) (possible waypoints or random movement) +(@CGUID+711, 49725, 1, 1, 1, -7272.954, -790.2095, -272.0348, 1.28249, 120, 0, 0), -- 49725 (Area: 543) +(@CGUID+712, 38254, 1, 1, 1, -7317.256, -811.252, -271.0374, 1.000888, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+713, 38254, 1, 1, 1, -7289.196, -789.15, -269.2606, 4.152546, 120, 0, 0), -- 38254 (Area: 543) +(@CGUID+714, 9600, 1, 1, 1, -7243.052, -841.3811, -154.1531, 5.058393, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+715, 62127, 1, 1, 1, -7326.767, -830.4329, -271.6565, 1.374779, 120, 5, 1), -- 62127 (Area: 543) (possible waypoints or random movement) +(@CGUID+716, 49844, 1, 1, 1, -7329.441, -818.8754, -244.8898, 3.453134, 120, 0, 0), -- 49844 (Area: 543) +(@CGUID+717, 38254, 1, 1, 1, -7383.645, -846.934, -269.9879, 6.025998, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+718, 38254, 1, 1, 1, -7344.061, -855.8789, -269.1373, 6.118358, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+719, 9164, 1, 1, 1, -7351.884, -885.2185, -270.0446, 0.6636661, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+720, 9600, 1, 1, 1, -7365.936, -906.4734, -271.878, 0.7733352, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+721, 49734, 1, 1, 1, -7420.909, -845.6835, -269.8463, 3.519608, 120, 0, 0), -- 49734 (Area: 543) +(@CGUID+722, 38254, 1, 1, 1, -7386.196, -878.8127, -269.2202, 5.152415, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+723, 49725, 1, 1, 1, -7430.003, -831.7848, -271.6011, 3.579514, 120, 5, 1), -- 49725 (Area: 543) (possible waypoints or random movement) +(@CGUID+724, 49725, 1, 1, 1, -7443.529, -781.3792, -272.2401, 0.1037588, 120, 5, 1), -- 49725 (Area: 543) (possible waypoints or random movement) +(@CGUID+725, 9164, 1, 1, 1, -7446.862, -870.7859, -263.6177, 0.4471926, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+726, 38254, 1, 1, 1, -7443.19, -754.2344, -267.9724, 0.6118463, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+727, 6501, 1, 1, 1, -7412.23, -911.1645, -267.5421, 0.8813984, 120, 5, 1), -- 6501 (Area: 543) (possible waypoints or random movement) +(@CGUID+728, 9164, 1, 1, 1, -7487.914, -784.0865, -268.8158, 2.615908, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+729, 6501, 1, 1, 1, -7488.001, -855.1466, -272.0399, 1.273363, 120, 5, 1), -- 6501 (Area: 543) (possible waypoints or random movement) +(@CGUID+730, 9600, 1, 1, 1, -7502.657, -794.3484, -263.7816, 0.7002572, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+731, 6502, 1, 1, 1, -7488.651, -727.876, -264.3141, 3.738762, 120, 5, 1), -- 6502 (Area: 543) (possible waypoints or random movement) +(@CGUID+732, 9164, 1, 1, 1, -7517.574, -817.9935, -268.8235, 5.87851, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+733, 38254, 1, 1, 1, -7440.444, -682.1586, -270.6675, 2.86061, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+734, 38254, 1, 1, 1, -7462.451, -722.7703, -266.4588, 4.923895, 120, 5, 1), -- 38254 (Area: 543) (possible waypoints or random movement) +(@CGUID+735, 6511, 1, 1, 1, -7514.841, -750.9498, -263.6724, 5.13934, 120, 0, 0), -- 6511 (Area: 543) (Auras: 14111 - 14111) +(@CGUID+736, 49844, 1, 1, 1, -7421.164, -688.1722, -240.9895, 6.19201, 120, 0, 0), -- 49844 (Area: 543) +(@CGUID+737, 49725, 1, 1, 1, -7430.835, -657.8003, -271.8998, 5.452176, 120, 5, 1), -- 49725 (Area: 543) (possible waypoints or random movement) +(@CGUID+738, 61313, 1, 1, 1, -7482.789, -914.1165, -272.2008, 2.965068, 120, 0, 0), -- 61313 (Area: 543) +(@CGUID+739, 15475, 1, 1, 1, -7481.76, -875.9056, -270.3729, 1.421713, 120, 0, 0), -- 15475 (Area: 543) +(@CGUID+740, 6510, 1, 1, 1, -7317.367, -917.7756, -270.669, 1.329453, 120, 0, 0), -- 6510 (Area: 543) (Auras: 14111 - 14111) +(@CGUID+741, 9164, 1, 1, 1, -7403.304, -991.6812, -272.0519, 6.176523, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+742, 9164, 1, 1, 1, -7486.25, -929.5782, -271.9445, 4.423363, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+743, 9600, 1, 1, 1, -7338.927, -944.6114, -255.8824, 4.912013, 120, 0, 0), -- 9600 (Area: 543) +(@CGUID+744, 9164, 1, 1, 1, -7344.74, -948.4275, -270.2878, 3.184535, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+745, 49844, 1, 1, 1, -7407.476, -965.7136, -272.0148, 5.082468, 120, 0, 0), -- 49844 (Area: 543) +(@CGUID+746, 49722, 1, 1, 1, -7404.759, -1038.104, -271.5863, 4.800396, 120, 5, 1), -- 49722 (Area: 543) (possible waypoints or random movement) +(@CGUID+747, 6559, 1, 1, 1, -7493.811, -953.3221, -271.6808, 1.229489, 120, 0, 0), -- 6559 (Area: 543) +(@CGUID+748, 9164, 1, 1, 1, -7410.672, -1019.623, -272.0972, 0.6743675, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+749, 6501, 1, 1, 1, -7549.802, -924.002, -272.1869, 3.577276, 120, 5, 1), -- 6501 (Area: 0) (possible waypoints or random movement) +(@CGUID+750, 6510, 1, 1, 1, -7492.743, -1024.949, -272.1309, 5.978085, 120, 0, 0), -- 6510 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+751, 6512, 1, 1, 1, -7513.83, -880.1627, -270.6087, 5.93686, 120, 0, 0), -- 6512 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+752, 15475, 1, 1, 1, -7541.935, -972.2495, -268.4123, 4.649726, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+753, 9164, 1, 1, 1, -7556.727, -833.4933, -269.4886, 5.126253, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+754, 49844, 1, 1, 1, -7547.332, -843.0688, -240.7834, 0.7095826, 120, 0, 0), -- 49844 (Area: 543) +(@CGUID+755, 9164, 1, 1, 1, -7571.542, -804.8932, -266.4249, 0.797436, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+756, 49844, 1, 1, 1, -7543.953, -731.6545, -259.0243, 3.770133, 120, 0, 0), -- 49844 (Area: 543) +(@CGUID+757, 15475, 1, 1, 1, -7569.011, -769.4987, -260.2604, 1.61714, 120, 0, 0), -- 15475 (Area: 543) +(@CGUID+758, 6501, 1, 1, 1, -7563.122, -803.4755, -266.867, 3.123257, 120, 5, 1), -- 6501 (Area: 543) (possible waypoints or random movement) +(@CGUID+759, 6559, 1, 1, 1, -7529.635, -678.6026, -250.4935, 4.294522, 120, 0, 0), -- 6559 (Area: 543) +(@CGUID+760, 9164, 1, 1, 1, -7555.293, -716.9681, -253.4601, 3.701892, 120, 0, 0), -- 9164 (Area: 543) +(@CGUID+761, 6504, 1, 1, 1, -7485.262, -588.7235, -274.0811, 4.893749, 120, 0, 0), -- 6504 (Area: 543) +(@CGUID+762, 6502, 1, 1, 1, -7551.543, -518.3933, -269.5684, 2.782191, 120, 0, 0), -- 6502 (Area: 543) +(@CGUID+763, 6504, 1, 1, 1, -7607.541, -560.731, -264.6042, 1.51996, 120, 0, 0), -- 6504 (Area: 539) +(@CGUID+764, 9164, 1, 1, 1, -7595.101, -642.7584, -250.8539, 0.3255281, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+765, 6501, 1, 1, 1, -7672.575, -521.6804, -271.3472, 5.16531, 120, 5, 1), -- 6501 (Area: 539) (possible waypoints or random movement) +(@CGUID+766, 9164, 1, 1, 1, -7650.968, -600.5172, -263.0373, 3.803834, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+767, 6509, 1, 1, 1, -7582.291, -663.9628, -248.0814, 4.712389, 120, 0, 0), -- 6509 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+768, 61319, 1, 1, 1, -7668.376, -647.4713, -267.6394, 0.3260742, 120, 5, 1), -- 61319 (Area: 539) (possible waypoints or random movement) +(@CGUID+769, 6559, 1, 1, 1, -7659.78, -677.1164, -265.326, 1.62049, 120, 0, 0), -- 6559 (Area: 539) +(@CGUID+770, 15475, 1, 1, 1, -7575.334, -693.0586, -251.4864, 6.148097, 120, 0, 0), -- 15475 (Area: 539) +(@CGUID+771, 49844, 1, 1, 1, -7647.526, -677.4593, -262.7271, 2.318022, 120, 0, 0), -- 49844 (Area: 539) +(@CGUID+772, 62375, 1, 1, 1, -7587.305, -753.5381, -260.2951, 3.722553, 120, 0, 0), -- 62375 (Area: 539) +(@CGUID+773, 9164, 1, 1, 1, -7593.907, -751.488, -259.6978, 3.612233, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+774, 6559, 1, 1, 1, -7619.921, -775.2963, -266.4862, 5.304723, 120, 0, 0), -- 6559 (Area: 539) +(@CGUID+775, 15475, 1, 1, 1, -7614.382, -803.8683, -269.6629, 4.753053, 120, 0, 0), -- 15475 (Area: 539) +(@CGUID+776, 9167, 1, 1, 1, -7665.87, -755.1194, -270.5715, 4.120055, 120, 5, 1), -- 9167 (Area: 539) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+777, 15475, 1, 1, 1, -7677.699, -762.4201, -272.097, 5.312127, 120, 0, 0), -- 15475 (Area: 539) +(@CGUID+778, 6510, 1, 1, 1, -7687.137, -710.4624, -269.2197, 2.51294, 120, 0, 0), -- 6510 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+779, 6501, 1, 1, 1, -7681.823, -790.6385, -270.6432, 2.75056, 120, 5, 1), -- 6501 (Area: 539) (possible waypoints or random movement) +(@CGUID+780, 6502, 1, 1, 1, -7622.808, -846.3212, -270.8336, 1.376084, 120, 5, 1), -- 6502 (Area: 539) (possible waypoints or random movement) +(@CGUID+781, 6510, 1, 1, 1, -7662.858, -820.2267, -271.7875, 3.502878, 120, 0, 0), -- 6510 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+782, 48972, 1, 1, 1, -7577.063, -893.8888, -272.3268, 2.396355, 120, 0, 0), -- 48972 (Area: 539) +(@CGUID+783, 45439, 1, 1, 1, -7598.564, -885.4336, -271.1256, 4.634776, 120, 0, 0), -- 45439 (Area: 539) +(@CGUID+784, 6559, 1, 1, 1, -7571.536, -877.8535, -268.7503, 0.9140303, 120, 0, 0), -- 6559 (Area: 539) +(@CGUID+785, 9600, 1, 1, 1, -7675.679, -813.1669, -193.3248, 0.1337136, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+786, 9164, 1, 1, 1, -7614.221, -903.5707, -268.8498, 1.230617, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+787, 62373, 1, 1, 1, -7626.615, -925.1807, -267.5691, 5.879832, 120, 5, 1), -- 62373 (Area: 539) (possible waypoints or random movement) +(@CGUID+788, 9164, 1, 1, 1, -7630.733, -889.2448, -269.773, 5.927104, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+789, 6502, 1, 1, 1, -7690.616, -909.0363, -268.7205, 2.433602, 120, 5, 1), -- 6502 (Area: 539) (possible waypoints or random movement) +(@CGUID+790, 49722, 1, 1, 1, -7660.299, -932.5694, -271.3664, 2.171873, 120, 5, 1), -- 49722 (Area: 539) (possible waypoints or random movement) +(@CGUID+791, 9164, 1, 1, 1, -7573.642, -951.584, -270.0984, 0, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+792, 6511, 1, 1, 1, -7692.155, -847.1426, -270.5235, 6.165849, 120, 0, 0), -- 6511 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+793, 49844, 1, 1, 1, -7679.995, -933.9592, -240.0085, 3.976141, 120, 0, 0), -- 49844 (Area: 539) +(@CGUID+794, 62375, 1, 1, 1, -7626.711, -973.3601, -267.7693, 6.142225, 120, 5, 1), -- 62375 (Area: 539) (possible waypoints or random movement) +(@CGUID+795, 9164, 1, 1, 1, -7622.648, -979.0408, -267.1111, 6.114479, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+796, 9164, 1, 1, 1, -7672.011, -950.9916, -270.2227, 3.384211, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+797, 9164, 1, 1, 1, -7718.243, -883.2198, -271.7719, 4.394, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+798, 6510, 1, 1, 1, -7748.695, -916.1454, -272.1289, 5.977406, 120, 0, 0), -- 6510 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+799, 6502, 1, 1, 1, -7738.541, -849.7322, -268.6272, 1.570796, 120, 5, 1), -- 6502 (Area: 539) (possible waypoints or random movement) +(@CGUID+800, 6512, 1, 1, 1, -7687.859, -970.6509, -271.3017, 2.227501, 120, 0, 0), -- 6512 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+801, 9600, 1, 1, 1, -7706.768, -968.5944, -206.5243, 1.969359, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+802, 6509, 1, 1, 1, -7703.676, -946.9601, -270.0716, 0.1838085, 120, 0, 0), -- 6509 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+803, 15475, 1, 1, 1, -7693.891, -729.0602, -271.3948, 4.887104, 120, 0, 0), -- 15475 (Area: 539) +(@CGUID+804, 9600, 1, 1, 1, -7724.062, -818.4794, -270.7897, 4.53568, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+805, 9167, 1, 1, 1, -7751.327, -784.4599, -269.8168, 4.610581, 120, 5, 1), -- 9167 (Area: 539) (Auras: 8876 - 8876) (possible waypoints or random movement) +(@CGUID+806, 9164, 1, 1, 1, -7717.092, -816.6298, -270.3004, 4.03791, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+807, 9164, 1, 1, 1, -7727.441, -685.9085, -260.796, 3.496706, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+808, 15475, 1, 1, 1, -7761.962, -709.2195, -258.5282, 2.843281, 120, 0, 0), -- 15475 (Area: 539) +(@CGUID+809, 9164, 1, 1, 1, -7785.632, -751.252, -267.7462, 5.370348, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+810, 49722, 1, 1, 1, -7753.12, -685.5804, -258.5827, 0.6931995, 120, 5, 1), -- 49722 (Area: 539) (possible waypoints or random movement) +(@CGUID+811, 6502, 1, 1, 1, -7808.795, -656.3525, -259.3323, 5.205608, 120, 5, 1), -- 6502 (Area: 539) (possible waypoints or random movement) +(@CGUID+812, 6504, 1, 1, 1, -7885.979, -718.6804, -264.2184, 3.534077, 120, 0, 0), -- 6504 (Area: 539) +(@CGUID+813, 61318, 1, 1, 1, -7768.117, -924.1288, -271.6679, 3.278792, 120, 5, 1), -- 61318 (Area: 539) (possible waypoints or random movement) +(@CGUID+814, 6502, 1, 1, 1, -7750.734, -985.0388, -272.0972, 2.440232, 120, 5, 1), -- 6502 (Area: 539) (possible waypoints or random movement) +(@CGUID+815, 61318, 1, 1, 1, -7829.048, -973.5198, -270.9598, 4.859923, 120, 0, 0), -- 61318 (Area: 539) +(@CGUID+816, 49844, 1, 1, 1, -7723.161, -989.0929, -270.5976, 0.7896692, 120, 0, 0), -- 49844 (Area: 539) +(@CGUID+817, 9164, 1, 1, 1, -7721.427, -1017.107, -271.4528, 1.725672, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+818, 9600, 1, 1, 1, -7684.276, -1068.773, -267.2112, 4.137391, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+819, 9600, 1, 1, 1, -7767.032, -1139.389, -216.5558, 0.2507024, 120, 0, 0), -- 9600 (Area: 539) +(@CGUID+820, 6509, 1, 1, 1, -7688.674, -1112.611, -272.0972, 0.2418982, 120, 0, 0), -- 6509 (Area: 539) (Auras: 14111 - 14111) +(@CGUID+821, 61319, 1, 1, 1, -7740.907, -1175.203, -271.9546, 5.125183, 120, 5, 1), -- 61319 (Area: 0) (possible waypoints or random movement) +(@CGUID+822, 6509, 1, 1, 1, -7742.646, -1204.552, -270.8261, 1.848022, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+823, 15475, 1, 1, 1, -7783.016, -1218.011, -267.7296, 2.985039, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+824, 9166, 1, 1, 1, -7727.044, -1255.395, -266.9345, 3.447276, 120, 0, 0), -- 9166 (Area: 540) +(@CGUID+825, 49844, 1, 1, 1, -7721.872, -1226.158, -243.0893, 1.460828, 120, 0, 0), -- 49844 (Area: 540) +(@CGUID+826, 9600, 1, 1, 1, -7721.283, -1317.812, -245.1976, 5.094666, 120, 0, 0), -- 9600 (Area: 540) +(@CGUID+827, 6552, 1, 1, 1, -7751.251, -1369.518, -271.8586, 1.510154, 120, 0, 0), -- 6552 (Area: 540) +(@CGUID+828, 6509, 1, 1, 1, -7694.254, -1357.037, -269.8475, 5.965177, 120, 0, 0), -- 6509 (Area: 540) (Auras: 14111 - 14111) +(@CGUID+829, 49722, 1, 1, 1, -7738.778, -1376.468, -270.8472, 3.320224, 120, 5, 1), -- 49722 (Area: 540) (possible waypoints or random movement) +(@CGUID+830, 15475, 1, 1, 1, -7754.677, -1451.574, -271.9711, 1.642149, 120, 0, 0), -- 15475 (Area: 540) +(@CGUID+831, 9162, 1, 1, 1, -7714.836, -1417.976, -270.1618, 5.096687, 120, 0, 0), -- 9162 (Area: 540) +(@CGUID+832, 9162, 1, 1, 1, -7721.905, -1486.317, -271.1936, 3.264896, 120, 0, 0), -- 9162 (Area: 540) +(@CGUID+833, 9162, 1, 1, 1, -7681.53, -1388.047, -271.6514, 4.758859, 120, 0, 0), -- 9162 (Area: 540) +(@CGUID+834, 9163, 1, 1, 1, -7747.221, -1453.785, -272.0848, 5.6785, 120, 0, 0), -- 9163 (Area: 540) +(@CGUID+835, 9163, 1, 1, 1, -7779.194, -1485.564, -268.6209, 0.2046779, 120, 0, 0), -- 9163 (Area: 540) +(@CGUID+836, 9163, 1, 1, 1, -7684.441, -1515.215, -271.2047, 5.87009, 120, 0, 0), -- 9163 (Area: 540) +(@CGUID+837, 61318, 1, 1, 1, -7736.531, -1547.733, -270.9725, 3.402195, 120, 5, 1), -- 61318 (Area: 540) (possible waypoints or random movement) +(@CGUID+838, 9162, 1, 1, 1, -7782.295, -1548.84, -266.261, 1.924927, 120, 0, 0), -- 9162 (Area: 540) +(@CGUID+839, 15475, 1, 1, 1, -7713.511, -1531.286, -270.3961, 4.858631, 120, 0, 0), -- 15475 (Area: 540) +(@CGUID+840, 9163, 1, 1, 1, -7749.064, -1518.27, -271.4084, 5.166899, 120, 0, 0), -- 9163 (Area: 540) +(@CGUID+841, 9162, 1, 1, 1, -7715.263, -1549.736, -271.2915, 0.9820194, 120, 0, 0), -- 9162 (Area: 540) +(@CGUID+842, 9162, 1, 1, 1, -7748.65, -1584.337, -270.9948, 4.070597, 120, 0, 0), -- 9162 (Area: 540) +(@CGUID+843, 9600, 1, 1, 1, -7711.191, -1552.374, -238.2024, 0.06953264, 120, 0, 0), -- 9600 (Area: 540) +(@CGUID+844, 9163, 1, 1, 1, -7715.451, -1617.388, -271.7464, 3.464333, 120, 0, 0), -- 9163 (Area: 540) +(@CGUID+845, 9600, 1, 1, 1, -7769.724, -1623.061, -199.9055, 0.2429753, 120, 0, 0), -- 9600 (Area: 540) +(@CGUID+846, 9163, 1, 1, 1, -7684.435, -1583.628, -271.3753, 3.28673, 120, 0, 0), -- 9163 (Area: 540) +(@CGUID+847, 15475, 1, 1, 1, -7757.83, -1730.129, -272.1664, 1.47781, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+848, 6505, 1, 1, 1, -7719.401, -1711.479, -271.6469, 1.56689, 120, 0, 0), -- 6505 (Area: 0) +(@CGUID+849, 9162, 1, 1, 1, -7685.258, -1647.688, -272.0972, 2.047112, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+850, 6506, 1, 1, 1, -7714.591, -1747.821, -270.4684, 1.209511, 120, 0, 0), -- 6506 (Area: 0) +(@CGUID+851, 62373, 1, 1, 1, -7683.959, -1673.634, -272.0823, 5.260305, 120, 5, 1), -- 62373 (Area: 0) (possible waypoints or random movement) +(@CGUID+852, 49844, 1, 1, 1, -7683.855, -1765.579, -244.9979, 3.543257, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+853, 49725, 1, 1, 1, -7656.605, -1720.963, -270.8818, 4.069398, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+854, 6505, 1, 1, 1, -7724.266, -1792.207, -271.5859, 0.03514178, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+855, 49844, 1, 1, 1, -7679.01, -1678.201, -250.6186, 2.024582, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+856, 6506, 1, 1, 1, -7683.344, -1715.476, -270.5124, 1.712721, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+857, 62370, 1, 1, 1, -7723.669, -1780.398, -271.9757, 4.424307, 120, 5, 1), -- 62370 (Area: 1942) (possible waypoints or random movement) +(@CGUID+858, 9600, 1, 1, 1, -7677.417, -1758.554, -271.7535, 4.858319, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+859, 6498, 1, 1, 1, -7676.191, -1721.029, -270.9678, 1.9457, 120, 5, 1), -- 6498 (Area: 1942) (possible waypoints or random movement) +(@CGUID+860, 9162, 1, 1, 1, -7651.347, -1617.003, -272.0972, 0.6212867, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+861, 9162, 1, 1, 1, -7615.745, -1648.1, -269.251, 6.149859, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+862, 6506, 1, 1, 1, -7638.326, -1726.541, -273.0349, 2.665154, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+863, 49722, 1, 1, 1, -7618.072, -1706.647, -270.6935, 5.321499, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+864, 49725, 1, 1, 1, -7643.876, -1754.804, -272.2201, 1.902074, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+865, 62370, 1, 1, 1, -7670.757, -1776.503, -272.9794, 6.189282, 120, 5, 1), -- 62370 (Area: 1942) (possible waypoints or random movement) +(@CGUID+866, 9163, 1, 1, 1, -7649.74, -1552.298, -271.4115, 5.140056, 120, 0, 0), -- 9163 (Area: 1942) +(@CGUID+867, 9162, 1, 1, 1, -7613.144, -1514.745, -263.724, 0.3244909, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+868, 15475, 1, 1, 1, -7618.019, -1561.645, -270.9932, 3.334047, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+869, 9162, 1, 1, 1, -7615.653, -1581.703, -272.0972, 0.2751978, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+870, 9162, 1, 1, 1, -7591.475, -1608.826, -272.1006, 5.516024, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+871, 51525, 1, 1, 1, -7555.67, -1527.198, -270.6578, 3.861926, 120, 5, 1), -- 51525 (Area: 0) (Auras: ) (possible waypoints or random movement) +(@CGUID+872, 9600, 1, 1, 1, -7560.723, -1521.301, -190.5679, 2.192406, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+873, 9460, 1, 1, 1, -7555.76, -1534.786, -271.1067, 5.393067, 120, 0, 0), -- 9460 (Area: 0) (Auras: ) +(@CGUID+874, 9162, 1, 1, 1, -7651.037, -1412.258, -266.6376, 5.639111, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+875, 9163, 1, 1, 1, -7620.702, -1386.292, -269.8249, 3.053318, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+876, 9162, 1, 1, 1, -7585.171, -1418.31, -269.1632, 4.627057, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+877, 9163, 1, 1, 1, -7645.429, -1352.233, -272.0972, 5.374579, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+878, 9600, 1, 1, 1, -7631.37, -1310.571, -271.9285, 0.003560083, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+879, 9163, 1, 1, 1, -7684.54, -1315.226, -270.8849, 2.638847, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+880, 49844, 1, 1, 1, -7666.289, -1295.922, -237.8781, 5.090684, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+881, 9166, 1, 1, 1, -7677.495, -1249.683, -271.0426, 0.2262321, 120, 0, 0), -- 9166 (Area: 0) +(@CGUID+882, 15475, 1, 1, 1, -7686.121, -1275.88, -271.4513, 5.054453, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+883, 9166, 1, 1, 1, -7646.516, -1228.63, -268.0851, 1.723743, 120, 0, 0), -- 9166 (Area: 0) +(@CGUID+884, 6509, 1, 1, 1, -7679.871, -1200.602, -271.5473, 4.698096, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+885, 62373, 1, 1, 1, -7657.587, -1212.789, -269.8387, 0.1714182, 120, 5, 1), -- 62373 (Area: 0) (possible waypoints or random movement) +(@CGUID+886, 9166, 1, 1, 1, -7651.253, -1149.891, -270.3046, 0.3507727, 120, 0, 0), -- 9166 (Area: 0) +(@CGUID+887, 6557, 1, 1, 1, -7614.765, -1194.51, -267.4384, 1.982871, 120, 0, 0), -- 6557 (Area: 0) +(@CGUID+888, 15475, 1, 1, 1, -7625.142, -1115.581, -271.1766, 0.7217723, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+889, 9166, 1, 1, 1, -7618.202, -1116.174, -271.1006, 4.103263, 120, 0, 0), -- 9166 (Area: 0) +(@CGUID+890, 9164, 1, 1, 1, -7665.614, -1019.987, -268.6346, 3.318302, 120, 0, 0), -- 9164 (Area: 0) +(@CGUID+891, 9164, 1, 1, 1, -7550.722, -989.9327, -268.8513, 2.93725, 120, 0, 0), -- 9164 (Area: 539) +(@CGUID+892, 49844, 1, 1, 1, -7515.748, -1059.229, -272.0972, 4.610612, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+893, 6509, 1, 1, 1, -7515.708, -1142.193, -271.633, 3.121045, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+894, 6557, 1, 1, 1, -7599.44, -1219.47, -262.1692, 2.689215, 120, 0, 0), -- 6557 (Area: 0) +(@CGUID+895, 6557, 1, 1, 1, -7541.331, -1209.864, -271.2308, 2.871026, 120, 0, 0), -- 6557 (Area: 0) +(@CGUID+896, 9163, 1, 1, 1, -7545.749, -1167.652, -268.5029, 0.9351075, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+897, 6509, 1, 1, 1, -7552.191, -1111.033, -268.027, 2.405709, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+898, 6509, 1, 1, 1, -7583.472, -1149.163, -266.3635, 5.774948, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+899, 49844, 1, 1, 1, -7537.721, -1146.05, -271.455, 2.687437, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+900, 6509, 1, 1, 1, -7566.725, -1258.955, -265.2272, 3.004393, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+901, 9600, 1, 1, 1, -7504.028, -1225.728, -268.9539, 3.028896, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+902, 9166, 1, 1, 1, -7597.586, -1279.132, -265.7321, 2.11939, 120, 0, 0), -- 9166 (Area: 0) +(@CGUID+903, 49844, 1, 1, 1, -7535.441, -1295.875, -240.1136, 3.595378, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+904, 9163, 1, 1, 1, -7583.665, -1349.798, -272.0972, 0.4722966, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+905, 49844, 1, 1, 1, -7501.907, -1244.114, -243.4878, 1.213992, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+906, 9163, 1, 1, 1, -7550.939, -1315.912, -271.3923, 2.691045, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+907, 9162, 1, 1, 1, -7551.274, -1384.046, -271.2226, 4.900201, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+908, 9163, 1, 1, 1, -7516.471, -1350.151, -270.5676, 2.621995, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+909, 9162, 1, 1, 1, -7553.118, -1360.855, -270.5073, 3.967595, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+910, 9600, 1, 1, 1, -7512.47, -1350.006, -270.0285, 3.422768, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+911, 9119, 1, 1, 1, -7545.517, -1501.303, -247.9544, 0.05309938, 120, 5, 1), -- 9119 (Area: 0) (possible waypoints or random movement) +(@CGUID+912, 38354, 1, 1, 1, -7532.521, -1457.526, -279.4692, 0, 120, 0, 0), -- 38354 (Area: 0) (Auras: 71989 - 71989) +(@CGUID+913, 45439, 1, 1, 1, -7534.67, -1455.686, -279.4276, 4.331366, 120, 0, 0), -- 45439 (Area: 0) +(@CGUID+914, 9997, 1, 1, 1, -7512.414, -1501.991, -265.5775, 1.64337, 120, 0, 0), -- 9997 (Area: 0) (Auras: ) +(@CGUID+915, 9117, 1, 1, 1, -7511.229, -1494.665, -265.5522, 6.006201, 120, 0, 0), -- 9117 (Area: 0) (Auras: ) +(@CGUID+916, 12959, 1, 1, 1, -7507.721, -1492.495, -265.6661, 4.729842, 120, 0, 0), -- 12959 (Area: 0) (Auras: ) +(@CGUID+917, 9460, 1, 1, 1, -7547.997, -1532.474, -271.1067, 5.532694, 120, 0, 0), -- 9460 (Area: 0) (Auras: ) +(@CGUID+918, 10977, 1, 1, 1, -7511.492, -1495.084, -265.6711, 0.00746056, 120, 0, 0), -- 10977 (Area: 0) (Auras: ) +(@CGUID+919, 10583, 1, 1, 1, -7549.462, -1537.839, -271.0997, 5.410521, 120, 0, 0), -- 10583 (Area: 0) +(@CGUID+920, 45439, 1, 1, 1, -7518.737, -1567.479, -279.4634, 4.768932, 120, 0, 0), -- 45439 (Area: 0) +(@CGUID+921, 9271, 1, 1, 1, -7501.719, -1502.38, -266.1059, 4.817109, 120, 0, 0), -- 9271 (Area: 0) +(@CGUID+922, 9270, 1, 1, 1, -7501.733, -1504.569, -266.1604, 1.361357, 120, 0, 0), -- 9270 (Area: 0) +(@CGUID+923, 10302, 1, 1, 1, -7508.162, -1514.533, -265.6793, 1.413717, 120, 0, 0), -- 10302 (Area: 0) (Auras: ) +(@CGUID+924, 38488, 1, 1, 1, -7502.374, -1515.655, -265.8466, 3.682645, 120, 0, 0), -- 38488 (Area: 0) +(@CGUID+925, 9118, 1, 1, 1, -7537.472, -1598.432, -247.1754, 0.03778314, 120, 5, 1), -- 9118 (Area: 0) (possible waypoints or random movement) +(@CGUID+926, 6505, 1, 1, 1, -7602.94, -1748.743, -272.5088, 6.114507, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+927, 6505, 1, 1, 1, -7600.684, -1750.046, -273.0097, 0.1568048, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+928, 6506, 1, 1, 1, -7613.342, -1787.467, -267.8959, 5.345348, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+929, 9162, 1, 1, 1, -7548.841, -1683.186, -273.6042, 4.737191, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+930, 6505, 1, 1, 1, -7583.967, -1811.609, -267.593, 1.954927, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+931, 49844, 1, 1, 1, -7577.549, -1762.094, -258.2162, 2.024582, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+932, 9163, 1, 1, 1, -7526.309, -1766.661, -276.8957, 5.632031, 120, 0, 0), -- 9163 (Area: 1942) +(@CGUID+933, 9162, 1, 1, 1, -7522.805, -1717.033, -279.2621, 2.942369, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+934, 49722, 1, 1, 1, -7525.146, -1678.827, -281.2158, 0.1649119, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+935, 9163, 1, 1, 1, -7487.021, -1747.394, -273.7992, 3.684689, 120, 0, 0), -- 9163 (Area: 1942) +(@CGUID+936, 9163, 1, 1, 1, -7512.699, -1652.008, -280.2445, 0.4574548, 120, 0, 0), -- 9163 (Area: 1942) +(@CGUID+937, 9162, 1, 1, 1, -7485.385, -1682.572, -281.4467, 1.99883, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+938, 49722, 1, 1, 1, -7477.791, -1692.458, -282.2929, 2.752893, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+939, 61318, 1, 1, 1, -7487.523, -1737.045, -274.4889, 2.915246, 120, 5, 1), -- 61318 (Area: 1942) (possible waypoints or random movement) +(@CGUID+940, 9600, 1, 1, 1, -7494.81, -1659.176, -252.0179, 3.541805, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+941, 9162, 1, 1, 1, -7451.85, -1651.687, -283.7819, 4.940039, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+942, 9162, 1, 1, 1, -7446.721, -1714.548, -278.5054, 0.6279659, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+943, 9163, 1, 1, 1, -7484.339, -1617.481, -278.5788, 5.879944, 120, 0, 0), -- 9163 (Area: 1942) +(@CGUID+944, 48972, 1, 1, 1, -7508.857, -1564.109, -279.5253, 4.710916, 120, 0, 0), -- 48972 (Area: 1942) +(@CGUID+945, 38354, 1, 1, 1, -7517.318, -1570.714, -279.5051, 0, 120, 0, 0), -- 38354 (Area: 1942) (Auras: 71989 - 71989) +(@CGUID+946, 38269, 1, 1, 1, -7461.412, -1528.385, -268.731, 2.443461, 120, 0, 0), -- 38269 (Area: 4882) +(@CGUID+947, 48972, 1, 1, 1, -7464.042, -1513.931, -270.9408, 1.564704, 120, 0, 0), -- 48972 (Area: 4882) +(@CGUID+948, 3000, 1, 1, 1, -7491.394, -1501.245, -265.9643, 3.577925, 120, 0, 0), -- 3000 (Area: 4882) +(@CGUID+949, 38270, 1, 1, 1, -7460.549, -1503.405, -271.2166, 3.176499, 120, 0, 0), -- 38270 (Area: 4882) +(@CGUID+950, 45439, 1, 1, 1, -7454.217, -1491.436, -271.463, 0.6797923, 120, 0, 0), -- 45439 (Area: 4882) +(@CGUID+951, 48972, 1, 1, 1, -7465.236, -1497.064, -271.2286, 1.418224, 120, 0, 0), -- 48972 (Area: 4882) +(@CGUID+952, 38354, 1, 1, 1, -7467.049, -1456.806, -277.5548, 0, 120, 0, 0), -- 38354 (Area: 4882) (Auras: 71989 - 71989) +(@CGUID+953, 9699, 1, 1, 1, -7399.427, -1538.214, -269.3423, 2.314436, 120, 0, 0), -- 9699 (Area: 4882) +(@CGUID+954, 9162, 1, 1, 1, -7414.063, -1474.706, -271.9927, 5.626418, 120, 0, 0), -- 9162 (Area: 4882) +(@CGUID+955, 9162, 1, 1, 1, -7416.341, -1425.681, -270.8281, 2.364244, 120, 0, 0), -- 9162 (Area: 4882) +(@CGUID+956, 49844, 1, 1, 1, -7413.458, -1447.224, -253.4377, 2.080116, 120, 0, 0), -- 49844 (Area: 4882) +(@CGUID+957, 9699, 1, 1, 1, -7382.299, -1529.166, -270.9122, 3.141593, 120, 0, 0), -- 9699 (Area: 4882) +(@CGUID+958, 9162, 1, 1, 1, -7501.003, -1399.461, -266.0654, 3.765332, 120, 0, 0), -- 9162 (Area: 4882) +(@CGUID+959, 6509, 1, 1, 1, -7435.977, -1294.463, -272.3694, 5.187791, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+960, 9600, 1, 1, 1, -7424.249, -1352.918, -249.5913, 2.024582, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+961, 9166, 1, 1, 1, -7421.24, -1328.979, -271.7522, 4.438083, 120, 0, 0), -- 9166 (Area: 0) +(@CGUID+962, 9162, 1, 1, 1, -7485.021, -1315.971, -271.7222, 1.564073, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+963, 9600, 1, 1, 1, -7455.252, -1266.357, -241.8931, 2.130605, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+964, 9162, 1, 1, 1, -7452.729, -1344.12, -269.7467, 6.185606, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+965, 9162, 1, 1, 1, -7432.357, -1381.87, -268.26, 3.110451, 120, 0, 0), -- 9162 (Area: 0) +(@CGUID+966, 6557, 1, 1, 1, -7479.528, -1202.347, -264.8738, 1.688969, 120, 0, 0), -- 6557 (Area: 0) +(@CGUID+967, 9166, 1, 1, 1, -7417.29, -1235.207, -268.1061, 1.924076, 120, 0, 0), -- 9166 (Area: 0) +(@CGUID+968, 6557, 1, 1, 1, -7441.519, -1139.234, -268.7302, 0.187708, 120, 0, 0), -- 6557 (Area: 0) +(@CGUID+969, 6509, 1, 1, 1, -7476.672, -1123.252, -272.3811, 1.752827, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+970, 49844, 1, 1, 1, -7391.837, -1192.351, -253.2816, 2.024582, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+971, 49722, 1, 1, 1, -7465.448, -1124.742, -271.4497, 4.677248, 120, 0, 0), -- 49722 (Area: 0) +(@CGUID+972, 9600, 1, 1, 1, -7447.721, -1151.981, -224.1458, 2.024582, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+973, 9699, 1, 1, 1, -7371.136, -1138.405, -268.8932, 2.14036, 120, 0, 0), -- 9699 (Area: 0) +(@CGUID+974, 9164, 1, 1, 1, -7374.044, -1049.172, -270.6252, 2.763624, 120, 0, 0), -- 9164 (Area: 0) +(@CGUID+975, 6510, 1, 1, 1, -7351.426, -1028.121, -272.0526, 2.099971, 120, 0, 0), -- 6510 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+976, 6510, 1, 1, 1, -7317.25, -984.9223, -271.2728, 5.115743, 120, 0, 0), -- 6510 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+977, 49722, 1, 1, 1, -7307.279, -982.4749, -271.9849, 3.143546, 120, 0, 0), -- 49722 (Area: 0) +(@CGUID+978, 9164, 1, 1, 1, -7283.387, -953.5954, -271.4358, 5.252282, 120, 0, 0), -- 9164 (Area: 0) +(@CGUID+979, 6559, 1, 1, 1, -7309.35, -1050.377, -272.1543, 0.3997316, 120, 0, 0), -- 6559 (Area: 0) +(@CGUID+980, 49844, 1, 1, 1, -7325.996, -1074.681, -270.7332, 1.400339, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+981, 6521, 1, 1, 1, -7346.298, -1153.087, -274.6394, 6.211951, 120, 0, 0), -- 6521 (Area: 0) (Auras: ) +(@CGUID+982, 9600, 1, 1, 1, -7298.128, -1092.744, -198.2556, 5.811002, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+983, 9699, 1, 1, 1, -7294.538, -1113.103, -270.7808, 3.07908, 120, 0, 0), -- 9699 (Area: 0) +(@CGUID+984, 50478, 1, 1, 1, -7321.068, -1170.664, -267.9588, 4.347229, 120, 0, 0), -- 50478 (Area: 0) +(@CGUID+985, 9699, 1, 1, 1, -7261.063, -1162.428, -248.4633, 0.852127, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+986, 6521, 1, 1, 1, -7293.834, -1188.844, -256.2387, 0.9112934, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+987, 10541, 1, 1, 1, -7340.915, -1228.863, -265.584, 4.921828, 120, 0, 0), -- 10541 (Area: 537) +(@CGUID+988, 9699, 1, 1, 1, -7372.984, -1240.655, -270.9088, 4.57648, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+989, 6520, 1, 1, 1, -7276.169, -1218.019, -240.3698, 1.651582, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+990, 6521, 1, 1, 1, -7340.989, -1272.012, -274.0663, 2.092688, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+991, 50478, 1, 1, 1, -7272.557, -1210.615, -240.4945, 5.683046, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+992, 9699, 1, 1, 1, -7288.48, -1241.516, -246.627, 5.246774, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+993, 9699, 1, 1, 1, -7305.717, -1314.459, -240.5837, 5.74818, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+994, 9699, 1, 1, 1, -7346.243, -1303.097, -262.5595, 0.3805064, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+995, 49844, 1, 1, 1, -7343.272, -1372.298, -232.7787, 5.925231, 120, 0, 0), -- 49844 (Area: 537) +(@CGUID+996, 6520, 1, 1, 1, -7276.914, -1306.875, -240.5196, 1.273174, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+997, 9699, 1, 1, 1, -7307.26, -1389.146, -271.3377, 3.51113, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+998, 6521, 1, 1, 1, -7326.933, -1396.93, -269.397, 4.413131, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+999, 49844, 1, 1, 1, -7415.202, -1374.378, -213.5236, 0.6001118, 120, 0, 0), -- 49844 (Area: 537) +(@CGUID+1000, 50478, 1, 1, 1, -7346.74, -1424.92, -267.242, 0.4094147, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1001, 6521, 1, 1, 1, -7324.434, -1462.512, -242.736, 2.939222, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1002, 9699, 1, 1, 1, -7314.818, -1459.285, -241.2148, 3.318346, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1003, 49844, 1, 1, 1, -7368.93, -1526.079, -249.2174, 2.078595, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+1004, 10541, 1, 1, 1, -7364.264, -1550.887, -271.6441, 1.58825, 120, 0, 0), -- 10541 (Area: 4882) +(@CGUID+1005, 6509, 1, 1, 1, -7378.073, -1617.619, -278.0557, 4.117481, 120, 0, 0), -- 6509 (Area: 4882) (Auras: 14111 - 14111) +(@CGUID+1006, 6509, 1, 1, 1, -7398.364, -1662.303, -275.4403, 4.992819, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1007, 15475, 1, 1, 1, -7400.964, -1674.98, -277.2741, 3.780014, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+1008, 6509, 1, 1, 1, -7411.586, -1713.044, -275.3614, 5.896511, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1009, 49844, 1, 1, 1, -7390.903, -1693.432, -245.3765, 2.077763, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1010, 9163, 1, 1, 1, -7454.436, -1780.302, -271.549, 4.037316, 120, 0, 0), -- 9163 (Area: 1942) +(@CGUID+1011, 49722, 1, 1, 1, -7424.876, -1777.526, -272.0072, 2.636012, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1012, 6505, 1, 1, 1, -7519.592, -1813.641, -272.6689, 2.634497, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1013, 9162, 1, 1, 1, -7445.028, -1828.172, -272.0972, 2.635047, 120, 0, 0), -- 9162 (Area: 1942) +(@CGUID+1014, 6508, 1, 1, 1, -7414.669, -1797.237, -269.5168, 1.476955, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1015, 49844, 1, 1, 1, -7416.003, -1822.608, -246.4995, 0.2088283, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1016, 6509, 1, 1, 1, -7379.142, -1750.491, -276.2067, 2.12629, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1017, 6557, 1, 1, 1, -7372.669, -1698.389, -275.0794, 4.973636, 120, 0, 0), -- 6557 (Area: 1942) +(@CGUID+1018, 6509, 1, 1, 1, -7253.231, -1732.739, -273.7544, 4.549489, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1019, 9166, 1, 1, 1, -7287.546, -1709.631, -272.6495, 0.625315, 120, 0, 0), -- 9166 (Area: 1942) +(@CGUID+1020, 6507, 1, 1, 1, -7284.485, -1782.642, -277.7949, 5.497787, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1021, 49844, 1, 1, 1, -7260.384, -1756.49, -211.4722, 2.024582, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1022, 15475, 1, 1, 1, -7365.593, -1636.855, -273.74, 5.773242, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+1023, 6557, 1, 1, 1, -7320.635, -1621.801, -272.156, 3.327499, 120, 0, 0), -- 6557 (Area: 1942) +(@CGUID+1024, 6557, 1, 1, 1, -7347.018, -1650.406, -271.7915, 2.718589, 120, 0, 0), -- 6557 (Area: 1942) +(@CGUID+1025, 6508, 1, 1, 1, -7333.162, -1783.328, -273.5881, 3.177194, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1026, 49844, 1, 1, 1, -7291.643, -1741.854, -269.9501, 2.862488, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1027, 6509, 1, 1, 1, -7306.137, -1658.339, -272.0714, 3.36797, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1028, 6509, 1, 1, 1, -7310.157, -1749.231, -270.9176, 0.8878164, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1029, 6509, 1, 1, 1, -7358.733, -1707.88, -273.5402, 2.78648, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1030, 49844, 1, 1, 1, -7381.909, -1807.766, -245.0188, 1.430289, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1031, 6557, 1, 1, 1, -7229.795, -1720.368, -272.2411, 3.519561, 120, 0, 0), -- 6557 (Area: 1942) +(@CGUID+1032, 6509, 1, 1, 1, -7230.771, -1678.048, -269.175, 0.3013704, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1033, 62373, 1, 1, 1, -7274.579, -1646.338, -271.7641, 0.09986316, 120, 5, 1), -- 62373 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1034, 61318, 1, 1, 1, -7258.787, -1640.378, -270.5356, 1.19492, 120, 5, 1), -- 61318 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1035, 6509, 1, 1, 1, -7351.997, -1581.484, -273.4242, 5.628147, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1036, 9166, 1, 1, 1, -7235.075, -1613.494, -267.2116, 0.5397493, 120, 0, 0), -- 9166 (Area: 1942) +(@CGUID+1037, 6509, 1, 1, 1, -7274.864, -1594.059, -272.0872, 5.439461, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1038, 6557, 1, 1, 1, -7222.314, -1590.196, -265.042, 3.27492, 120, 0, 0), -- 6557 (Area: 1942) +(@CGUID+1039, 6509, 1, 1, 1, -7311.456, -1537.713, -273.2404, 2.539506, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1040, 6509, 1, 1, 1, -7253.438, -1553.422, -274.5999, 1.1718, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1041, 9600, 1, 1, 1, -7254.674, -1532.575, -257.5787, 2.024582, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1042, 50478, 1, 1, 1, -7222.124, -1442.831, -231.5723, 5.432928, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1043, 6520, 1, 1, 1, -7220.012, -1446.808, -231.5723, 4.8301, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+1044, 50478, 1, 1, 1, -7246.361, -1387.501, -231.622, 4.85765, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1045, 6521, 1, 1, 1, -7247.396, -1386.613, -231.622, 2.152714, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1046, 9699, 1, 1, 1, -7247.08, -1386.51, -231.622, 5.62184, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1047, 6521, 1, 1, 1, -7238.882, -1254.361, -216.2927, 3.8565, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1048, 6520, 1, 1, 1, -7213.07, -1221.439, -210.7175, 3.096613, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+1049, 50478, 1, 1, 1, -7193.812, -1211.678, -197.5235, 0.1619213, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1050, 10541, 1, 1, 1, -7163.641, -1148.672, -265.2025, 5.899213, 120, 0, 0), -- 10541 (Area: 537) +(@CGUID+1051, 9699, 1, 1, 1, -7184.237, -1079.171, -271.9916, 4.768551, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1052, 49844, 1, 1, 1, -7145.594, -1107.477, -252.9916, 2.024582, 120, 0, 0), -- 49844 (Area: 537) +(@CGUID+1053, 50478, 1, 1, 1, -7155.4, -1131.266, -270.0854, 3.898904, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1054, 61328, 1, 1, 1, -7178.325, -1107.756, -271.7799, 2.198892, 120, 0, 0), -- 61328 (Area: 537) +(@CGUID+1055, 9699, 1, 1, 1, -7120.013, -1169.708, -234.6279, 1.455624, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1056, 9699, 1, 1, 1, -7087.88, -1129.47, -268.5105, 0.9020259, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1057, 50478, 1, 1, 1, -7165.37, -1252.063, -187.4103, 5.13756, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1058, 49734, 1, 1, 1, -7013.306, -1163.607, -276.225, 3.583532, 120, 0, 0), -- 49734 (Area: 537) +(@CGUID+1059, 50478, 1, 1, 1, -7023.855, -1217.774, -270.1217, 1.691903, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1060, 9699, 1, 1, 1, -7043.136, -1194.824, -267.9356, 1.381583, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1061, 6521, 1, 1, 1, -7150.944, -1263.012, -195.4878, 2.513274, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1062, 6560, 1, 1, 1, -6996.541, -1178.264, -274.4665, 5.553808, 120, 0, 0), -- 6560 (Area: 537) +(@CGUID+1063, 49725, 1, 1, 1, -7005.984, -1218.445, -270.9161, 2.562505, 120, 5, 1), -- 49725 (Area: 537) (possible waypoints or random movement) +(@CGUID+1064, 6521, 1, 1, 1, -7113.428, -1275.899, -195.0086, 5.637414, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1065, 50478, 1, 1, 1, -7028.982, -1257.083, -270.579, 1.875025, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1066, 10541, 1, 1, 1, -7038.983, -1254.684, -269.775, 5.462881, 120, 0, 0), -- 10541 (Area: 537) +(@CGUID+1067, 9600, 1, 1, 1, -7028.207, -1273.23, -235.9211, 2.551645, 120, 0, 0), -- 9600 (Area: 537) +(@CGUID+1068, 15475, 1, 1, 1, -6999.255, -1277.286, -269.9755, 3.148158, 120, 0, 0), -- 15475 (Area: 537) +(@CGUID+1069, 6521, 1, 1, 1, -7108.166, -1310.801, -187.4909, 4.615566, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1070, 9699, 1, 1, 1, -7106.097, -1303.964, -186.41, 4.267489, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1071, 50478, 1, 1, 1, -7020.497, -1287.474, -266.928, 2.990353, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1072, 6520, 1, 1, 1, -7053.376, -1307.314, -248.0501, 1.848022, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+1073, 6521, 1, 1, 1, -7141.437, -1296.976, -184.36, 6.176895, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1074, 9699, 1, 1, 1, -7127.819, -1342.42, -193.6795, 1.345847, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1075, 6521, 1, 1, 1, -7074.973, -1355.338, -222.3349, 1.657012, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1076, 49844, 1, 1, 1, -7025.184, -1346.269, -241.8904, 1.972982, 120, 0, 0), -- 49844 (Area: 537) +(@CGUID+1077, 50478, 1, 1, 1, -7142.105, -1307.079, -184.3511, 4.439072, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1078, 50478, 1, 1, 1, -6987.564, -1355.184, -271.9886, 6.185908, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1079, 50478, 1, 1, 1, -7121.731, -1359.644, -194.0172, 6.065745, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1080, 6521, 1, 1, 1, -7132.352, -1353.208, -195.067, 3.317551, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1081, 6520, 1, 1, 1, -7094.788, -1418.64, -234.6711, 1.978424, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+1082, 6520, 1, 1, 1, -7019.141, -1419.184, -248.5356, 0.2914568, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+1083, 9699, 1, 1, 1, -7086.678, -1419.948, -234.6538, 1.933915, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1084, 6520, 1, 1, 1, -7155.071, -1325.99, -184.3511, 4.709044, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+1085, 6520, 1, 1, 1, -7180.961, -1375.514, -183.8832, 2.082634, 120, 0, 0), -- 6520 (Area: 537) +(@CGUID+1086, 50478, 1, 1, 1, -7138.028, -1470.783, -241.9718, 2.852567, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1087, 6521, 1, 1, 1, -7186.521, -1353.53, -184.2466, 0.1326928, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1088, 6521, 1, 1, 1, -7131.527, -1471.709, -243.3243, 5.4895, 120, 0, 0), -- 6521 (Area: 537) (Auras: ) +(@CGUID+1089, 9999, 1, 1, 1, -7195.259, -1389.547, -231.2427, 3.246312, 120, 0, 0), -- 9999 (Area: 537) +(@CGUID+1090, 50478, 1, 1, 1, -7187.751, -1348.663, -184.3739, 4.214868, 120, 0, 0), -- 50478 (Area: 537) +(@CGUID+1091, 9376, 1, 1, 1, -7183.407, -1294.808, -183.1136, 0.9424778, 120, 0, 0), -- 9376 (Area: 537) (Auras: ) +(@CGUID+1092, 49734, 1, 1, 1, -6944.046, -1235.094, -272.35, 1.703264, 120, 0, 0), -- 49734 (Area: 537) +(@CGUID+1093, 9166, 1, 1, 1, -6925.478, -1191.695, -272.2017, 5.486832, 120, 0, 0), -- 9166 (Area: 537) +(@CGUID+1094, 49734, 1, 1, 1, -6961.738, -1130.061, -271.9462, 0.1036462, 120, 0, 0), -- 49734 (Area: 537) +(@CGUID+1095, 49844, 1, 1, 1, -6928.233, -1109.716, -210.5775, 2.030582, 120, 0, 0), -- 49844 (Area: 4883) +(@CGUID+1096, 9167, 1, 1, 1, -6817.09, -959.2239, -272.1718, 1.035405, 120, 0, 0), -- 9167 (Area: 4883) (Auras: 8876 - 8876) +(@CGUID+1097, 9163, 1, 1, 1, -6848.911, -1110.571, -268.6115, 1.207686, 120, 0, 0), -- 9163 (Area: 4883) +(@CGUID+1098, 6509, 1, 1, 1, -6874.93, -1153.3, -271.5628, 6.002203, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+1099, 6509, 1, 1, 1, -6870.267, -1224.583, -273.0652, 5.856235, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+1100, 6527, 1, 1, 1, -6849.802, -1187.724, -271.645, 1.995654, 120, 0, 0), -- 6527 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1101, 6509, 1, 1, 1, -6920.652, -1254.482, -271.3273, 2.689062, 120, 0, 0), -- 6509 (Area: 4884) (Auras: 14111 - 14111) +(@CGUID+1102, 6517, 1, 1, 1, -6793.205, -1186.114, -270.1371, 2.205928, 120, 0, 0), -- 6517 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1103, 6527, 1, 1, 1, -6849.88, -1248.616, -272.9294, 6.07967, 120, 0, 0), -- 6527 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1104, 6527, 1, 1, 1, -6804.836, -1212.629, -271.894, 0.210138, 120, 0, 0), -- 6527 (Area: 4884) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1105, 49734, 1, 1, 1, -6926.967, -1299.998, -276.1712, 4.544397, 120, 0, 0), -- 49734 (Area: 538) +(@CGUID+1106, 6509, 1, 1, 1, -6865.482, -1317.185, -271.7965, 3.560117, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1107, 49725, 1, 1, 1, -6906.155, -1334.847, -275.623, 0.7248612, 120, 0, 0), -- 49725 (Area: 538) +(@CGUID+1108, 9600, 1, 1, 1, -6914.088, -1358.924, -209.6914, 2.024582, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1109, 6509, 1, 1, 1, -6917.712, -1316.092, -276.1468, 0, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1110, 61318, 1, 1, 1, -6855.199, -1346.306, -270.9045, 1.426132, 120, 0, 0), -- 61318 (Area: 538) +(@CGUID+1111, 6509, 1, 1, 1, -6861.64, -1354.744, -271.3685, 2.366891, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1112, 9699, 1, 1, 1, -6990.707, -1453.954, -269.3911, 3.122064, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1113, 10541, 1, 1, 1, -7034.359, -1508.655, -264.237, 0.5759587, 120, 0, 0), -- 10541 (Area: 537) +(@CGUID+1114, 49722, 1, 1, 1, -6972.901, -1478.273, -272.3796, 3.263624, 120, 0, 0), -- 49722 (Area: 537) +(@CGUID+1115, 9699, 1, 1, 1, -7025.315, -1489.769, -264.0818, 2.268127, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1116, 49734, 1, 1, 1, -6972.577, -1513.315, -273.6478, 4.168025, 120, 0, 0), -- 49734 (Area: 537) +(@CGUID+1117, 9699, 1, 1, 1, -7097.508, -1560.855, -271.8129, 3.271229, 120, 0, 0), -- 9699 (Area: 537) +(@CGUID+1118, 9163, 1, 1, 1, -7081.84, -1594.959, -272.0972, 5.357152, 120, 0, 0), -- 9163 (Area: 537) +(@CGUID+1119, 49725, 1, 1, 1, -6983.252, -1574.05, -273.5, 2.420803, 120, 0, 0), -- 49725 (Area: 537) +(@CGUID+1120, 6509, 1, 1, 1, -7112.831, -1612.322, -271.3851, 3.779889, 120, 0, 0), -- 6509 (Area: 537) (Auras: 14111 - 14111) +(@CGUID+1121, 49734, 1, 1, 1, -7027.26, -1627.904, -271.746, 1.789009, 120, 0, 0), -- 49734 (Area: 537) +(@CGUID+1122, 6509, 1, 1, 1, -7173.301, -1577.728, -271.2683, 2.639592, 120, 0, 0), -- 6509 (Area: 537) (Auras: 14111 - 14111) +(@CGUID+1123, 6557, 1, 1, 1, -7021.137, -1620.175, -271.996, 5.364266, 120, 0, 0), -- 6557 (Area: 537) +(@CGUID+1124, 61318, 1, 1, 1, -7098.425, -1648.033, -271.8148, 3.304493, 120, 5, 1), -- 61318 (Area: 537) (possible waypoints or random movement) +(@CGUID+1125, 6509, 1, 1, 1, -7091.865, -1653.456, -271.8885, 5.576013, 120, 0, 0), -- 6509 (Area: 537) (Auras: 14111 - 14111) +(@CGUID+1126, 6509, 1, 1, 1, -7119.342, -1678.107, -269.2621, 1.863429, 120, 0, 0), -- 6509 (Area: 537) (Auras: 14111 - 14111) +(@CGUID+1127, 9600, 1, 1, 1, -7179.772, -1694.913, -232.27, 2.024582, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1128, 6508, 1, 1, 1, -7212.218, -1762.559, -276.8365, 5.584945, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1129, 6509, 1, 1, 1, -7191.757, -1741.632, -275.8901, 2.459519, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1130, 6507, 1, 1, 1, -7250.292, -1790.233, -273.7263, 1.025123, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1131, 49844, 1, 1, 1, -7130.913, -1745.819, -243.2609, 0.03503792, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1132, 9600, 1, 1, 1, -7181.711, -1788.244, -247.2105, 1.440541, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1133, 6557, 1, 1, 1, -7072.366, -1712.679, -269.7734, 0.1927864, 120, 0, 0), -- 6557 (Area: 1942) +(@CGUID+1134, 6509, 1, 1, 1, -7114.45, -1757.402, -269.5595, 2.498873, 120, 0, 0), -- 6509 (Area: 1942) (Auras: 14111 - 14111) +(@CGUID+1135, 49844, 1, 1, 1, -7083.581, -1721.288, -271.8522, 0.7550207, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1136, 49734, 1, 1, 1, -7048.498, -1771.124, -276.246, 4.103924, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1137, 49734, 1, 1, 1, -7041.287, -1682.965, -276.246, 4.051741, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1138, 49725, 1, 1, 1, -7009.312, -1737.614, -271.968, 5.173216, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1139, 6509, 1, 1, 1, -6982.946, -1647.354, -271.996, 5.707628, 120, 0, 0), -- 6509 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+1140, 9600, 1, 1, 1, -6979.211, -1754.981, -235.378, 6.11674, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+1141, 49722, 1, 1, 1, -6975.349, -1695.538, -271.0889, 1.339866, 120, 5, 1), -- 49722 (Area: 0) (possible waypoints or random movement) +(@CGUID+1142, 9163, 1, 1, 1, -6960.504, -1614.264, -271.9633, 6.127645, 120, 0, 0), -- 9163 (Area: 0) +(@CGUID+1143, 9600, 1, 1, 1, -6931.729, -1688.814, -235.7102, 1.653045, 120, 0, 0), -- 9600 (Area: 0) +(@CGUID+1144, 49844, 1, 1, 1, -6874.506, -1687.45, -241.0482, 1.814889, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+1145, 6511, 1, 1, 1, -6984.39, -1784.685, -262.547, 1.990189, 120, 0, 0), -- 6511 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+1146, 49844, 1, 1, 1, -6876.608, -1808.313, -272.2558, 4.987707, 120, 0, 0), -- 49844 (Area: 0) +(@CGUID+1147, 6527, 1, 1, 1, -6780.691, -1688.721, -274.1523, 0.7801311, 120, 0, 0), -- 6527 (Area: 0) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1148, 6527, 1, 1, 1, -6782.39, -1742.646, -268.3508, 0.5414239, 120, 0, 0), -- 6527 (Area: 0) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1149, 6510, 1, 1, 1, -6817.584, -1815.789, -268.0638, 4.77493, 120, 0, 0), -- 6510 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1150, 6527, 1, 1, 1, -6720.651, -1745.574, -271.4393, 5.20813, 120, 0, 0), -- 6527 (Area: 0) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1151, 6511, 1, 1, 1, -6777.533, -1843.819, -272.0601, 1.072634, 120, 0, 0), -- 6511 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+1152, 61319, 1, 1, 1, -6840.979, -1854.902, -271.6488, 5.346334, 120, 5, 1), -- 61319 (Area: 0) (possible waypoints or random movement) +(@CGUID+1153, 6527, 1, 1, 1, -6740.983, -1719.337, -279.9084, 0.2278963, 120, 0, 0), -- 6527 (Area: 0) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1154, 6510, 1, 1, 1, -6851.633, -1849.587, -271.4908, 2.865423, 120, 0, 0), -- 6510 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+1155, 38307, 1, 1, 1, -6740.449, -1691.044, -280.2804, 4.577139, 120, 0, 0), -- 38307 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1156, 6517, 1, 1, 1, -6744.605, -1636.527, -272.9752, 2.152758, 120, 0, 0), -- 6517 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1157, 6527, 1, 1, 1, -6686.078, -1656.267, -271.5942, 1.819566, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1158, 49844, 1, 1, 1, -6780.04, -1623.318, -271.8391, 4.567456, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1159, 9600, 1, 1, 1, -6722.404, -1657.766, -255.8747, 5.76563, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1160, 6517, 1, 1, 1, -6718.934, -1673.735, -275.297, 1.592277, 120, 0, 0), -- 6517 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1161, 6527, 1, 1, 1, -6708.972, -1629.979, -272.5986, 5.300263, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1162, 6509, 1, 1, 1, -6821.039, -1614.722, -271.3851, 0.9624842, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1163, 9166, 1, 1, 1, -6803.414, -1584.393, -271.3148, 0.710745, 120, 0, 0), -- 9166 (Area: 538) +(@CGUID+1164, 6509, 1, 1, 1, -6847.292, -1585.062, -271.2355, 1.19029, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1165, 6557, 1, 1, 1, -6749.203, -1547.042, -272.0972, 5.04596, 120, 0, 0), -- 6557 (Area: 538) +(@CGUID+1166, 6509, 1, 1, 1, -6799.627, -1531.645, -269.2419, 3.579046, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1167, 6560, 1, 1, 1, -6714.836, -1549.786, -272.0972, 6.193829, 120, 0, 0), -- 6560 (Area: 538) +(@CGUID+1168, 6509, 1, 1, 1, -6722.075, -1537.611, -272.0972, 1.161157, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1169, 15475, 1, 1, 1, -6702.673, -1527.762, -271.873, 0.2303086, 120, 0, 0), -- 15475 (Area: 538) +(@CGUID+1170, 9600, 1, 1, 1, -6691.615, -1581.547, -218.5069, 1.311018, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1171, 6509, 1, 1, 1, -6813.561, -1543.328, -268.6438, 0.5099432, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1172, 6509, 1, 1, 1, -6820.389, -1491.763, -271.8661, 1.078311, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1173, 6509, 1, 1, 1, -6752.681, -1480.759, -271.2433, 2.792655, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1174, 6509, 1, 1, 1, -6855.293, -1513.589, -270.5819, 2.249257, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1175, 6509, 1, 1, 1, -6755.461, -1422.516, -270.7348, 5.231051, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1176, 6509, 1, 1, 1, -6795.297, -1443.708, -270.2274, 2.868659, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1177, 9600, 1, 1, 1, -6764.941, -1430.844, -270.7766, 5.777895, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1178, 6509, 1, 1, 1, -6686.534, -1487.191, -270.5829, 1.247824, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1179, 9166, 1, 1, 1, -6720.983, -1453.42, -271.0846, 5.877151, 120, 0, 0), -- 9166 (Area: 538) +(@CGUID+1180, 6509, 1, 1, 1, -6845.68, -1449.77, -271.547, 4.122272, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1181, 6509, 1, 1, 1, -6809.422, -1417.937, -271.1062, 6.109827, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1182, 9600, 1, 1, 1, -6713.988, -1330.914, -249.8918, 6.27729, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1183, 61384, 1, 1, 1, -6659.977, -1389.117, -270.7495, 1.556367, 120, 5, 1), -- 61384 (Area: 538) (possible waypoints or random movement) +(@CGUID+1184, 48972, 1, 1, 1, -6686.759, -1356.379, -270.0828, 3.208363, 120, 0, 0), -- 48972 (Area: 538) +(@CGUID+1185, 15475, 1, 1, 1, -6700.105, -1377.585, -269.8388, 3.402195, 120, 0, 0), -- 15475 (Area: 538) +(@CGUID+1186, 6509, 1, 1, 1, -6694.213, -1375.789, -269.479, 0.4133101, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1187, 6509, 1, 1, 1, -6821.604, -1356.733, -271.7096, 3.322143, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1188, 6517, 1, 1, 1, -6751.121, -1286.842, -269.7693, 0.08886266, 120, 0, 0), -- 6517 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1189, 49844, 1, 1, 1, -6803.136, -1328.421, -231.9456, 0.749474, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1190, 6517, 1, 1, 1, -6784.175, -1256.919, -270.4977, 1.699761, 120, 0, 0), -- 6517 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1191, 6519, 1, 1, 1, -6653.863, -1316.85, -273.6023, 3.725259, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1192, 6527, 1, 1, 1, -6730.779, -1248.874, -275.3195, 2.782925, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1193, 48972, 1, 1, 1, -6809.617, -1280.917, -270.5822, 3.025059, 120, 0, 0), -- 48972 (Area: 538) +(@CGUID+1194, 6527, 1, 1, 1, -6677.813, -1285.806, -269.6643, 3.960813, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1195, 6527, 1, 1, 1, -6815.465, -1283.855, -270.3918, 3.624537, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1196, 45439, 1, 1, 1, -6780.904, -1203.24, -269.7771, 3.98544, 120, 0, 0), -- 45439 (Area: 538) +(@CGUID+1197, 61319, 1, 1, 1, -6678.761, -1218.513, -270.1734, 4.715971, 120, 5, 1), -- 61319 (Area: 538) (possible waypoints or random movement) +(@CGUID+1198, 6517, 1, 1, 1, -6752.993, -1214.648, -275.3195, 5.066268, 120, 0, 0), -- 6517 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1199, 61317, 1, 1, 1, -6727.334, -1222.461, -270.2992, 1.914283, 120, 5, 1), -- 61317 (Area: 538) (possible waypoints or random movement) +(@CGUID+1200, 49844, 1, 1, 1, -6693.466, -1124.34, -227.3933, 0.5801131, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1201, 9166, 1, 1, 1, -6644.23, -1191.864, -271.6539, 0.2186948, 120, 0, 0), -- 9166 (Area: 538) +(@CGUID+1202, 9600, 1, 1, 1, -6585.615, -1152.107, -260.4404, 0.3777293, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1203, 6509, 1, 1, 1, -6608.194, -1185.797, -265.1827, 1.584467, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1204, 6509, 1, 1, 1, -6557.344, -1139.135, -262.3932, 2.418185, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1205, 6509, 1, 1, 1, -6619.699, -1216.417, -271.1299, 5.389115, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1206, 45439, 1, 1, 1, -6571.036, -1254.438, -271.5238, 0.849158, 120, 0, 0), -- 45439 (Area: 538) +(@CGUID+1207, 45439, 1, 1, 1, -6595.145, -1344.9, -272.0536, 6.034124, 120, 0, 0), -- 45439 (Area: 538) +(@CGUID+1208, 6519, 1, 1, 1, -6617.553, -1345.043, -272.7544, 0.7757433, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1209, 6519, 1, 1, 1, -6644.305, -1370.368, -276.7381, 4.594824, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1210, 6518, 1, 1, 1, -6571.966, -1326.251, -281.0125, 1.348632, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1211, 9600, 1, 1, 1, -6589.135, -1385.902, -271.9468, 3.447276, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1212, 6519, 1, 1, 1, -6600.441, -1385.727, -271.3843, 3.043837, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1213, 6518, 1, 1, 1, -6623.561, -1412.573, -272.0972, 3.944383, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1214, 61317, 1, 1, 1, -6635.547, -1469.562, -272.0972, 0.01434115, 120, 0, 0), -- 61317 (Area: 538) +(@CGUID+1215, 6519, 1, 1, 1, -6612.413, -1473.484, -283.3592, 4.677042, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1216, 6519, 1, 1, 1, -6587.227, -1460.76, -284.7413, 5.215279, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1217, 9600, 1, 1, 1, -6646.714, -1623.568, -246.3396, 2.006173, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1218, 49844, 1, 1, 1, -6655.468, -1743.368, -272.1289, 5.729273, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1219, 49722, 1, 1, 1, -6650.27, -1718.397, -272.1192, 4.497868, 120, 5, 1), -- 49722 (Area: 538) (possible waypoints or random movement) +(@CGUID+1220, 9162, 1, 1, 1, -6616.856, -1686.081, -271.2468, 6.041377, 120, 0, 0), -- 9162 (Area: 538) +(@CGUID+1221, 9162, 1, 1, 1, -6642.99, -1741.177, -272.1289, 5.12193, 120, 0, 0), -- 9162 (Area: 538) +(@CGUID+1222, 6509, 1, 1, 1, -6688.721, -1779.046, -270.7964, 2.408105, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1223, 49844, 1, 1, 1, -6724.276, -1823.875, -258.9146, 2.024582, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1224, 9162, 1, 1, 1, -6623.446, -1771.506, -271.8655, 1.565723, 120, 0, 0), -- 9162 (Area: 538) +(@CGUID+1225, 9162, 1, 1, 1, -6620.497, -1819.519, -272.0972, 3.803875, 120, 0, 0), -- 9162 (Area: 538) +(@CGUID+1226, 49722, 1, 1, 1, -6606.604, -1794.685, -271.9058, 3.347808, 120, 5, 1), -- 49722 (Area: 538) (possible waypoints or random movement) +(@CGUID+1227, 9162, 1, 1, 1, -6581.246, -1782.77, -271.4195, 6.227526, 120, 0, 0), -- 9162 (Area: 538) +(@CGUID+1228, 6509, 1, 1, 1, -6649.578, -1849.411, -272.0972, 3.586247, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1229, 61319, 1, 1, 1, -6557.575, -1749.598, -272.3614, 2.714642, 120, 5, 1), -- 61319 (Area: 538) (possible waypoints or random movement) +(@CGUID+1230, 6527, 1, 1, 1, -6552.914, -1722.81, -273.042, 3.513394, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1231, 6517, 1, 1, 1, -6574.159, -1675.55, -269.245, 0.6323222, 120, 0, 0), -- 6517 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1232, 6527, 1, 1, 1, -6551.12, -1814.578, -273.3464, 2.372767, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1233, 9600, 1, 1, 1, -6594.506, -1853.486, -229.5203, 3.517051, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1234, 49844, 1, 1, 1, -6526.391, -1776.502, -253.6011, 2.024582, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1235, 6517, 1, 1, 1, -6578.866, -1848.197, -271.0446, 3.281778, 120, 0, 0), -- 6517 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1236, 6514, 1, 1, 1, -6510.235, -1794.087, -271.8839, 3.267764, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+1237, 6527, 1, 1, 1, -6519.238, -1848.843, -276.6868, 2.91699, 120, 0, 0), -- 6527 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1238, 15475, 1, 1, 1, -6485.263, -1775.011, -276.1982, 4.604752, 120, 0, 0), -- 15475 (Area: 538) +(@CGUID+1239, 6513, 1, 1, 1, -6480.34, -1814.295, -273.5957, 4.765903, 120, 0, 0), -- 6513 (Area: 538) +(@CGUID+1240, 6514, 1, 1, 1, -6454.189, -1776.817, -274.7199, 1.450544, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+1241, 6513, 1, 1, 1, -6450.15, -1718.496, -275.8456, 2.558686, 120, 0, 0), -- 6513 (Area: 538) +(@CGUID+1242, 6514, 1, 1, 1, -6411.288, -1745.932, -272.7045, 1.031047, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+1243, 6514, 1, 1, 1, -6483.044, -1683.61, -274.7049, 2.326628, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+1244, 49722, 1, 1, 1, -6517.161, -1655.675, -270.8857, 3.581428, 120, 5, 1), -- 49722 (Area: 538) (possible waypoints or random movement) +(@CGUID+1245, 6513, 1, 1, 1, -6418.624, -1684.277, -270.0352, 2.294387, 120, 0, 0), -- 6513 (Area: 538) +(@CGUID+1246, 49844, 1, 1, 1, -6493.265, -1635.451, -244.3734, 0.2997311, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1247, 6513, 1, 1, 1, -6486.137, -1615.247, -272.0577, 2.938738, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1248, 6514, 1, 1, 1, -6383.319, -1710.242, -272.2591, 2.455813, 120, 0, 0), -- 6514 (Area: 542) +(@CGUID+1249, 6513, 1, 1, 1, -6451.066, -1583.695, -274.9331, 0.8083981, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1250, 6513, 1, 1, 1, -6370.917, -1587.377, -271.8379, 5.936591, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1251, 49722, 1, 1, 1, -6470.342, -1515.34, -272.0308, 4.363451, 120, 5, 1), -- 49722 (Area: 538) (possible waypoints or random movement) +(@CGUID+1252, 9600, 1, 1, 1, -6459.802, -1478.655, -240.9707, 5.617678, 120, 0, 0), -- 9600 (Area: 538) +(@CGUID+1253, 45439, 1, 1, 1, -6550.396, -1494.1, -272.1951, 0.7401812, 120, 0, 0), -- 45439 (Area: 538) +(@CGUID+1254, 6518, 1, 1, 1, -6449.858, -1448.119, -280.1166, 3.510868, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1255, 15475, 1, 1, 1, -6515.585, -1437.327, -270.5944, 1.547363, 120, 0, 0), -- 15475 (Area: 538) +(@CGUID+1256, 6519, 1, 1, 1, -6542.338, -1475.036, -273.178, 3.211927, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1257, 48972, 1, 1, 1, -6556.348, -1427.199, -272.0972, 0.7200602, 120, 0, 0), -- 48972 (Area: 538) +(@CGUID+1258, 15475, 1, 1, 1, -6498.755, -1347.9, -272.5328, 3.157217, 120, 0, 0), -- 15475 (Area: 538) +(@CGUID+1259, 6519, 1, 1, 1, -6559.901, -1352.088, -272.2189, 4.790172, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1260, 6518, 1, 1, 1, -6511.81, -1318.962, -271.9538, 3.564507, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1261, 6518, 1, 1, 1, -6552.983, -1289.613, -280.9414, 4.846774, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1262, 45439, 1, 1, 1, -6481.988, -1295.673, -271.7919, 3.764156, 120, 0, 0), -- 45439 (Area: 538) +(@CGUID+1263, 6518, 1, 1, 1, -6483.33, -1225.286, -270.4937, 5.19406, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1264, 49844, 1, 1, 1, -6484.896, -1156.371, -271.1545, 1.613739, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1265, 6509, 1, 1, 1, -6485.759, -1175.752, -272.0668, 1.278957, 120, 0, 0), -- 6509 (Area: 538) (Auras: 14111 - 14111) +(@CGUID+1266, 48972, 1, 1, 1, -6457.068, -1213.103, -272.6208, 4.470282, 120, 0, 0), -- 48972 (Area: 538) +(@CGUID+1267, 6518, 1, 1, 1, -6456.337, -1165.885, -271.4971, 1.681577, 120, 0, 0), -- 6518 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1268, 49844, 1, 1, 1, -6446.972, -1258.318, -253.8776, 1.99015, 120, 0, 0), -- 49844 (Area: 538) +(@CGUID+1269, 6519, 1, 1, 1, -6447.057, -1261.484, -276.6391, 1.652964, 120, 0, 0), -- 6519 (Area: 538) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1270, 15475, 1, 1, 1, -6416.414, -1342.938, -271.8592, 1.217516, 120, 0, 0), -- 15475 (Area: 538) +(@CGUID+1271, 6514, 1, 1, 1, -6520.561, -1585.704, -271.0889, 3.950101, 120, 0, 0), -- 6514 (Area: 538) +(@CGUID+1272, 9162, 1, 1, 1, -6548.183, -1565.113, -271.985, 4.826591, 120, 0, 0), -- 9162 (Area: 538) +(@CGUID+1273, 6517, 1, 1, 1, -6517.321, -1686.508, -269.6633, 4.897751, 120, 0, 0), -- 6517 (Area: 542) (Auras: 14178 - 14178, 14796 - 14796) +(@CGUID+1274, 6514, 1, 1, 1, -6480.807, -1745.522, -273.3725, 0.9879292, 120, 0, 0), -- 6514 (Area: 542) +(@CGUID+1275, 6513, 1, 1, 1, -6396.578, -1763.59, -271.7849, 1.910402, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1276, 6513, 1, 1, 1, -6381.694, -1808.575, -265.8262, 4.523559, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1277, 6513, 1, 1, 1, -6368.59, -1833.534, -260.4022, 6.224159, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1278, 48972, 1, 1, 1, -6363.514, -1896.197, -255.9271, 2.56994, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1279, 48972, 1, 1, 1, -6316.037, -1911.657, -269.308, 1.596792, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1280, 48972, 1, 1, 1, -6332.11, -1959.118, -274.3945, 3.646231, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1281, 6516, 1, 1, 1, -6396.64, -1927.176, -263.9487, 1.551152, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+1282, 6516, 1, 1, 1, -6376.581, -1970.12, -257.1687, 2.303966, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+1283, 6516, 1, 1, 1, -6318.703, -1922.308, -271.1572, 0.1273671, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+1284, 45439, 1, 1, 1, -6401.852, -1951.471, -262.0053, 4.020198, 120, 0, 0), -- 45439 (Area: 542) +(@CGUID+1285, 45439, 1, 1, 1, -6390.007, -1917.144, -262.5904, 1.052351, 120, 0, 0), -- 45439 (Area: 542) +(@CGUID+1286, 48972, 1, 1, 1, -6333.598, -1952.498, -273.8583, 3.678047, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1287, 48972, 1, 1, 1, -6385.155, -1967.638, -258.3669, 3.683424, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1288, 45439, 1, 1, 1, -6338.95, -1959.142, -274.2246, 3.046016, 120, 0, 0), -- 45439 (Area: 542) +(@CGUID+1289, 45439, 1, 1, 1, -6314.084, -1923.119, -272.0892, 5.836607, 120, 0, 0), -- 45439 (Area: 542) +(@CGUID+1290, 45439, 1, 1, 1, -6384.223, -1960.391, -259.3405, 3.95354, 120, 0, 0), -- 45439 (Area: 542) +(@CGUID+1291, 6514, 1, 1, 1, -6349.39, -1901.803, -259.317, 0.5049317, 120, 0, 0), -- 6514 (Area: 542) +(@CGUID+1292, 9622, 1, 1, 1, -6341.053, -1962.787, -274.5613, 1.023103, 120, 0, 0), -- 9622 (Area: 542) +(@CGUID+1293, 48972, 1, 1, 1, -6388.838, -1905.521, -257.7554, 0.455477, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1294, 6516, 1, 1, 1, -6328.696, -1897.131, -264.2224, 4.818999, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+1295, 6513, 1, 1, 1, -6341.463, -1960.475, -274.2344, 4.28173, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1296, 6514, 1, 1, 1, -6305.898, -1972.624, -268.4758, 2.035005, 120, 0, 0), -- 6514 (Area: 542) +(@CGUID+1297, 6514, 1, 1, 1, -6358.731, -1986.078, -276.2113, 0.7577891, 120, 0, 0), -- 6514 (Area: 542) +(@CGUID+1298, 48972, 1, 1, 1, -6294.105, -2003.16, -263.1193, 4.442588, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1299, 6516, 1, 1, 1, -6322.812, -2003.612, -259.8866, 4.544416, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+1300, 6513, 1, 1, 1, -6383.094, -2003.282, -270.6589, 1.305194, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1301, 48972, 1, 1, 1, -6345.895, -2015.274, -256.8455, 2.758423, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1302, 6513, 1, 1, 1, -6339.683, -2010.819, -256.8774, 5.407657, 120, 0, 0), -- 6513 (Area: 542) +(@CGUID+1303, 6514, 1, 1, 1, -6357.283, -2020.266, -257.9867, 2.085291, 120, 0, 0), -- 6514 (Area: 542) +(@CGUID+1304, 48972, 1, 1, 1, -6297.964, -2008.138, -262.1614, 5.046696, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1305, 48972, 1, 1, 1, -6348.836, -2015.155, -256.924, 4.735139, 120, 0, 0), -- 48972 (Area: 542) +(@CGUID+1306, 6516, 1, 1, 1, -6289.366, -1995.08, -263.1231, 3.438299, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+1307, 6516, 1, 1, 1, -6399.246, -2021.902, -262.5305, 0.2917836, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+1308, 6516, 1, 1, 1, -6363.257, -2030.171, -261.2908, 0.7615827, 120, 0, 0), -- 6516 (Area: 542) +(@CGUID+1309, 62373, 1, 1, 1, -6329.894, -2062.479, -189.6764, 1.167657, 120, 0, 0), -- 62373 (Area: 542) +(@CGUID+1310, 6509, 1, 1, 1, -6652.36, -1982.331, -269.4218, 5.220638, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1311, 9600, 1, 1, 1, -6663.863, -1950.25, -244.7945, 1.767719, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1312, 9600, 1, 1, 1, -6643.269, -1947.837, -271.7995, 5.492169, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1313, 6510, 1, 1, 1, -6684.407, -1951.949, -268.7518, 6.18432, 120, 0, 0), -- 6510 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1314, 6511, 1, 1, 1, -6652.045, -1915.717, -272.0743, 2.231445, 120, 0, 0), -- 6511 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1315, 6510, 1, 1, 1, -6686.398, -1870.617, -271.7515, 5.655823, 120, 0, 0), -- 6510 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1316, 49844, 1, 1, 1, -6716.852, -1914.019, -248.2305, 2.039167, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+1317, 6512, 1, 1, 1, -6752.94, -1881.381, -271.4301, 4.73372, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1318, 6509, 1, 1, 1, -6782.606, -1916.329, -271.0036, 0.06163007, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1319, 9600, 1, 1, 1, -6789.358, -1933.07, -242.0895, 4.620697, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1320, 6509, 1, 1, 1, -6753.389, -1945.342, -270.6729, 4.366122, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1321, 6509, 1, 1, 1, -6710.259, -1984.542, -271.5509, 6.21251, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1322, 9600, 1, 1, 1, -6776.451, -2035.046, -271.5904, 0.2546229, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1323, 6512, 1, 1, 1, -6815.428, -1951.117, -269.3765, 0.5357956, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1324, 6510, 1, 1, 1, -6752.171, -2013.117, -271.3356, 2.324792, 120, 0, 0), -- 6510 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1325, 9600, 1, 1, 1, -6687.092, -2049.019, -213.4977, 0.7227343, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1326, 6512, 1, 1, 1, -6814.597, -2013.427, -271.8744, 0.8657148, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1327, 6511, 1, 1, 1, -6852.587, -2053.17, -270.0103, 4.526006, 120, 0, 0), -- 6511 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1328, 45439, 1, 1, 1, -6840.433, -2026.78, -271.6564, 4.32161, 120, 0, 0), -- 45439 (Area: 4885) +(@CGUID+1329, 9600, 1, 1, 1, -6859.795, -2092.598, -269.9791, 5.673349, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1330, 6509, 1, 1, 1, -6852.829, -2116.142, -267.1847, 5.98683, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1331, 6509, 1, 1, 1, -6783.59, -2183.667, -269.9098, 0, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1332, 6511, 1, 1, 1, -6885.74, -1952.135, -270.584, 5.801323, 120, 0, 0), -- 6511 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1333, 49722, 1, 1, 1, -6887.091, -1953.179, -270.6419, 4.278545, 120, 5, 1), -- 49722 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1334, 6511, 1, 1, 1, -6882.291, -2017.709, -272.086, 3.141593, 120, 0, 0), -- 6511 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1335, 38214, 1, 1, 1, -6917.207, -2039.203, -271.2572, 1.942598, 120, 5, 1), -- 38214 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1336, 6509, 1, 1, 1, -6848.563, -1982.832, -270.171, 0.6002141, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1337, 45439, 1, 1, 1, -6854.672, -2003.416, -271.0294, 3.60758, 120, 0, 0), -- 45439 (Area: 4885) +(@CGUID+1338, 45439, 1, 1, 1, -6947.856, -2037.557, -270.8124, 2.588915, 120, 0, 0), -- 45439 (Area: 4885) +(@CGUID+1339, 6509, 1, 1, 1, -6880.169, -2082.454, -271.6263, 2.772662, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1340, 61319, 1, 1, 1, -6846.7, -2005.014, -270.237, 6.147922, 120, 0, 0), -- 61319 (Area: 4885) +(@CGUID+1341, 45439, 1, 1, 1, -6880.566, -2002.496, -271.7239, 5.361014, 120, 0, 0), -- 45439 (Area: 4885) +(@CGUID+1342, 6511, 1, 1, 1, -6853.281, -1916.104, -270.5927, 3.196218, 120, 0, 0), -- 6511 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1343, 38214, 1, 1, 1, -6957.307, -2017.307, -268.9281, 5.551677, 120, 5, 1), -- 38214 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1344, 6509, 1, 1, 1, -6913.828, -1914.8, -272.0674, 3.883091, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1345, 6510, 1, 1, 1, -6820.114, -1876.989, -271.5216, 1.565174, 120, 0, 0), -- 6510 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1346, 15475, 1, 1, 1, -6854.554, -1889.062, -270.735, 0.8845229, 120, 0, 0), -- 15475 (Area: 4885) +(@CGUID+1347, 6512, 1, 1, 1, -6883.993, -1882.627, -270.8324, 1.593488, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1348, 38214, 1, 1, 1, -6951.986, -1960.478, -269.1676, 0.7162564, 120, 5, 1), -- 38214 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1349, 6509, 1, 1, 1, -6914.434, -1846.247, -269.8963, 3.859409, 120, 0, 0), -- 6509 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1350, 62127, 1, 1, 1, -6953.958, -1872.234, -273.1237, 1.735714, 120, 5, 1), -- 62127 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1351, 62370, 1, 1, 1, -6954.998, -1872.346, -273.2618, 2.077141, 120, 5, 1), -- 62370 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1352, 6512, 1, 1, 1, -6950.057, -1882.142, -272.7017, 6.095821, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1353, 6511, 1, 1, 1, -6978.061, -1855.668, -274.5035, 1.585784, 120, 0, 0), -- 6511 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+1354, 49734, 1, 1, 1, -7005.821, -1858.675, -270.4212, 2.930586, 120, 0, 0), -- 49734 (Area: 0) +(@CGUID+1355, 6512, 1, 1, 1, -7011.394, -1818.784, -268.1233, 0.2515094, 120, 0, 0), -- 6512 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+1356, 49725, 1, 1, 1, -7087.016, -1819.347, -272.121, 3.971249, 120, 5, 1), -- 49725 (Area: 0) (possible waypoints or random movement) +(@CGUID+1357, 49725, 1, 1, 1, -7039.625, -1880.744, -273.5, 0.9567448, 120, 5, 1), -- 49725 (Area: 0) (possible waypoints or random movement) +(@CGUID+1358, 6512, 1, 1, 1, -7010.16, -1877.906, -274.2268, 5.255552, 120, 0, 0), -- 6512 (Area: 0) (Auras: 14111 - 14111) +(@CGUID+1359, 38214, 1, 1, 1, -6987.836, -1972.75, -269.3801, 6.006494, 120, 5, 1), -- 38214 (Area: 0) (possible waypoints or random movement) +(@CGUID+1360, 62127, 1, 1, 1, -6997.1, -1949.737, -271.8781, 0.2701828, 120, 5, 1), -- 62127 (Area: 0) (possible waypoints or random movement) +(@CGUID+1361, 15475, 1, 1, 1, -6964.877, -1917.179, -270.6709, 0.06838635, 120, 0, 0), -- 15475 (Area: 0) +(@CGUID+1362, 62127, 1, 1, 1, -7017.382, -1928.182, -271.7491, 5.082958, 120, 5, 1), -- 62127 (Area: 0) (possible waypoints or random movement) +(@CGUID+1363, 38214, 1, 1, 1, -6989.391, -1906.661, -271.1552, 2.357322, 120, 0, 0), -- 38214 (Area: 0) +(@CGUID+1364, 49725, 1, 1, 1, -7017.9, -2023.032, -273.5, 3.871588, 120, 5, 1), -- 49725 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1365, 49734, 1, 1, 1, -7034.4, -1972.868, -272.0373, 1.547237, 120, 0, 0), -- 49734 (Area: 4885) +(@CGUID+1366, 38214, 1, 1, 1, -6974.072, -2044.701, -271.6037, 3.176353, 120, 5, 1), -- 38214 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1367, 49844, 1, 1, 1, -6954.051, -2035.022, -241.3345, 6.20637, 120, 0, 0), -- 49844 (Area: 4885) +(@CGUID+1368, 48972, 1, 1, 1, -6973.346, -2047.497, -271.735, 4.273881, 120, 0, 0), -- 48972 (Area: 4885) +(@CGUID+1369, 9600, 1, 1, 1, -7046.278, -1981.742, -221.5375, 3.348505, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1370, 61384, 1, 1, 1, -6969.767, -2075.212, -271.716, 4.158366, 120, 0, 0), -- 61384 (Area: 4885) +(@CGUID+1371, 62370, 1, 1, 1, -7030.06, -2070.976, -272.8602, 2.272265, 120, 5, 1), -- 62370 (Area: 4885) (possible waypoints or random movement) +(@CGUID+1372, 38214, 1, 1, 1, -6951.235, -2068.634, -271.5161, 2.172027, 120, 0, 0), -- 38214 (Area: 4885) +(@CGUID+1373, 49722, 1, 1, 1, -6948.975, -2076.096, -271.7235, 3.191913, 120, 0, 0), -- 49722 (Area: 4885) +(@CGUID+1374, 9600, 1, 1, 1, -7007.62, -2091.705, -249.3783, 1.907682, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1375, 9600, 1, 1, 1, -7004.527, -2115.868, -272.7899, 1.387329, 120, 0, 0), -- 9600 (Area: 4885) +(@CGUID+1376, 49725, 1, 1, 1, -6990.204, -2114.239, -271.3725, 5.608188, 120, 0, 0), -- 49725 (Area: 4885) +(@CGUID+1377, 38214, 1, 1, 1, -6905.663, -2126.53, -272.118, 2.583408, 120, 0, 0), -- 38214 (Area: 4885) +(@CGUID+1378, 6512, 1, 1, 1, -6882.813, -2148.394, -270.181, 0.8810784, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1379, 6512, 1, 1, 1, -6851.283, -2183.599, -269.5257, 4.706284, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1380, 6512, 1, 1, 1, -6883.552, -2214.082, -271.8111, 1.172827, 120, 0, 0), -- 6512 (Area: 4885) (Auras: 14111 - 14111) +(@CGUID+1381, 62127, 1, 1, 1, -7057.125, -2108.763, -268.2327, 2.453553, 120, 0, 0), -- 62127 (Area: 0) +(@CGUID+1382, 49734, 1, 1, 1, -7086.509, -2038.626, -274.2813, 3.435907, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1383, 49725, 1, 1, 1, -7112.766, -2028.418, -273.5, 4.112778, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1384, 49734, 1, 1, 1, -7159.272, -2028.145, -272.132, 0.2078794, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1385, 61318, 1, 1, 1, -7111.999, -2089.925, -270.7087, 5.536959, 120, 0, 0), -- 61318 (Area: 1942) +(@CGUID+1386, 6508, 1, 1, 1, -7126.709, -2078.948, -272.1116, 3.018207, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1387, 6508, 1, 1, 1, -7081.26, -1980.885, -270.4552, 1.742257, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1388, 62127, 1, 1, 1, -7127.93, -2008.338, -272.5322, 4.340801, 120, 0, 0), -- 62127 (Area: 1942) +(@CGUID+1389, 6507, 1, 1, 1, -7163.929, -2002.519, -272.8042, 5.522516, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1390, 49844, 1, 1, 1, -7177.097, -1947.663, -272.145, 0.425929, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1391, 6507, 1, 1, 1, -7156.241, -1914.342, -270.6753, 2.241265, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1392, 6507, 1, 1, 1, -7116.82, -1877.154, -271.8622, 1.26234, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1393, 61319, 1, 1, 1, -7120.516, -1843.705, -272.0972, 4.933901, 120, 0, 0), -- 61319 (Area: 1942) +(@CGUID+1394, 6507, 1, 1, 1, -7167.287, -1852.447, -273.1815, 1.340488, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1395, 6508, 1, 1, 1, -7193.354, -1863.96, -271.162, 4.922801, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1396, 15475, 1, 1, 1, -7196.517, -1856.561, -270.9008, 2.64209, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+1397, 6507, 1, 1, 1, -7215.331, -1834.062, -272.5618, 1.639183, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1398, 6507, 1, 1, 1, -7215.2, -1824.655, -274.594, 6.246093, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1399, 6508, 1, 1, 1, -7305.806, -1829.27, -271.9089, 1.109766, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1400, 6507, 1, 1, 1, -7227.971, -1896.291, -269.2442, 0.6829801, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1401, 49725, 1, 1, 1, -7313.05, -1870.519, -271.259, 4.986896, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1402, 49844, 1, 1, 1, -7325.014, -1870.467, -225.4015, 4.818087, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1403, 6508, 1, 1, 1, -7207.086, -1949.766, -272.8747, 0.02343321, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1404, 49725, 1, 1, 1, -7330.209, -1890.625, -275, 2.944441, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1405, 6508, 1, 1, 1, -7238.699, -1925.37, -271.9271, 3.580303, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1406, 49722, 1, 1, 1, -7218.264, -1947.594, -273.2734, 0.8986107, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1407, 6508, 1, 1, 1, -7288.97, -1979.186, -270.7424, 4.718248, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1408, 62127, 1, 1, 1, -7263.147, -1981.54, -273.1219, 1.205166, 120, 5, 1), -- 62127 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1409, 49844, 1, 1, 1, -7243.086, -1984.87, -237.9374, 3.2064, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1410, 49734, 1, 1, 1, -7305.308, -1942.791, -277.7316, 3.83993, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1411, 49734, 1, 1, 1, -7239.188, -2005.266, -273.7509, 3.227987, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1412, 6508, 1, 1, 1, -7266.385, -1970.973, -272.5677, 3.37615, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1413, 9600, 1, 1, 1, -7231.086, -1963.236, -244.9921, 3.874428, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1414, 49734, 1, 1, 1, -7269.359, -1953.062, -273.1657, 0.7172292, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1415, 49734, 1, 1, 1, -7247.94, -2001.834, -275.9875, 0.7125772, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1416, 6507, 1, 1, 1, -7203.209, -1985.184, -271.7015, 3.238757, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1417, 6507, 1, 1, 1, -7275.716, -1977.884, -272.039, 4.009903, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1418, 49734, 1, 1, 1, -7271.328, -2017.381, -272.4229, 1.102615, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1419, 9600, 1, 1, 1, -7202.045, -2010.065, -272.3225, 5.991611, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1420, 49734, 1, 1, 1, -7212.746, -2041.512, -272.36, 4.023181, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1421, 49734, 1, 1, 1, -7246.499, -2038.632, -272.2937, 2.746876, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1422, 49734, 1, 1, 1, -7267.942, -2026.619, -271.1385, 1.33808, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1423, 9600, 1, 1, 1, -7192.821, -2038.226, -236.7768, 5.4117, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1424, 6507, 1, 1, 1, -7192.831, -2042.783, -272.0532, 4.758821, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1425, 49734, 1, 1, 1, -7188.115, -2036.375, -272.744, 2.957913, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1426, 49725, 1, 1, 1, -7312.81, -1982.468, -270.9526, 3.746509, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1427, 6508, 1, 1, 1, -7281.264, -2052.837, -270.5302, 5.989139, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1428, 6507, 1, 1, 1, -7337.846, -1987.954, -269.2673, 6.028742, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1429, 6508, 1, 1, 1, -7193.809, -2050.138, -271.5465, 1.033726, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1430, 49844, 1, 1, 1, -7334.398, -2002.636, -223.3999, 3.824766, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1431, 49844, 1, 1, 1, -7216.795, -2079.416, -250.9175, 0.05747125, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1432, 6507, 1, 1, 1, -7210.223, -2067.476, -270.2348, 4.928006, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1433, 49725, 1, 1, 1, -7296.898, -2053.642, -270.9426, 3.156186, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1434, 49844, 1, 1, 1, -7200.283, -2133.565, -220.0711, 5.228989, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1435, 6507, 1, 1, 1, -7210.148, -2122.096, -271.6848, 3.039785, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1436, 49734, 1, 1, 1, -7160.416, -2064.584, -269.507, 1.809816, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1437, 6507, 1, 1, 1, -7323.835, -2089.271, -271.7922, 3.917559, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1438, 49725, 1, 1, 1, -7201.473, -2098.364, -272.2263, 6.276532, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1439, 15475, 1, 1, 1, -7277.854, -2106.762, -271.9474, 3.300325, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+1440, 6507, 1, 1, 1, -7263.652, -2103.356, -271.8185, 5.668616, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1441, 6508, 1, 1, 1, -7290.001, -2092.964, -271.5034, 4.475933, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1442, 6507, 1, 1, 1, -7204.509, -2162.219, -270.2009, 1.702968, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1443, 49725, 1, 1, 1, -7153.459, -2105.864, -273.5, 4.606173, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1444, 9600, 1, 1, 1, -7315.953, -2131.538, -207.8089, 2.024582, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1445, 6508, 1, 1, 1, -7244.255, -2163.362, -268.8635, 1.666581, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1446, 49725, 1, 1, 1, -7332.291, -2157.291, -274.914, 4.761269, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1447, 62370, 1, 1, 1, -7336.344, -2112.885, -271.1231, 1.386798, 120, 5, 1), -- 62370 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1448, 6508, 1, 1, 1, -7378.555, -1954.012, -270.9057, 4.523802, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1449, 49844, 1, 1, 1, -7371.349, -2012.265, -269.9292, 5.950935, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1450, 15475, 1, 1, 1, -7370.092, -1970.378, -270.3887, 4.053993, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+1451, 62370, 1, 1, 1, -7361.154, -1929.127, -271.7863, 1.746682, 120, 5, 1), -- 62370 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1452, 62127, 1, 1, 1, -7357.451, -2053.373, -272.617, 3.32288, 120, 5, 1), -- 62127 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1453, 6507, 1, 1, 1, -7399.992, -1934.037, -271.0516, 5.308105, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1454, 62370, 1, 1, 1, -7403.769, -1914.425, -271.2904, 5.201007, 120, 5, 1), -- 62370 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1455, 49725, 1, 1, 1, -7402.289, -1884.601, -273.5, 1.649761, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1456, 49725, 1, 1, 1, -7362.725, -1840.867, -273.5, 5.226799, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1457, 49725, 1, 1, 1, -7401.943, -1856.153, -271.237, 2.410423, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1458, 6508, 1, 1, 1, -7413.172, -1846.147, -271.936, 3.788129, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1459, 6505, 1, 1, 1, -7448.385, -1884.862, -272.1195, 1.048319, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1460, 6506, 1, 1, 1, -7457.892, -1913.734, -271.7163, 2.874827, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1461, 6505, 1, 1, 1, -7443.621, -1944.969, -269.834, 6.227848, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1462, 15475, 1, 1, 1, -7472.574, -1912.18, -271.9954, 1.370343, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+1463, 9600, 1, 1, 1, -7483.944, -1926.495, -247.772, 3.805755, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1464, 6506, 1, 1, 1, -7472.357, -1937.234, -271.0109, 1.047748, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1465, 61313, 1, 1, 1, -7466.292, -1976.215, -271.8885, 0.2748135, 120, 5, 1), -- 61313 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1466, 6508, 1, 1, 1, -7384.616, -2026.93, -271.6157, 5.735986, 120, 0, 0), -- 6508 (Area: 1942) (Auras: 14108 - 14108) +(@CGUID+1467, 45439, 1, 1, 1, -7482.459, -1955.235, -271.8126, 4.801495, 120, 0, 0), -- 45439 (Area: 1942) +(@CGUID+1468, 6506, 1, 1, 1, -7443.357, -2007.345, -271.6215, 5.408045, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1469, 9600, 1, 1, 1, -7413.552, -2087.956, -272.1492, 5.86222, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1470, 49734, 1, 1, 1, -7359.386, -2082.474, -276.5698, 5.660404, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1471, 6507, 1, 1, 1, -7441.79, -2084.15, -271.8405, 2.767973, 120, 0, 0), -- 6507 (Area: 1942) +(@CGUID+1472, 49725, 1, 1, 1, -7411.57, -2104.174, -272.1342, 2.15023, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1473, 62127, 1, 1, 1, -7441.971, -2130.204, -272.0348, 1.683693, 120, 0, 0), -- 62127 (Area: 1942) +(@CGUID+1474, 49844, 1, 1, 1, -7527.001, -2063.065, -233.7886, 1.290826, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1475, 49844, 1, 1, 1, -7563.314, -2013.195, -272.2221, 5.194315, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1476, 9600, 1, 1, 1, -7591.866, -1998.944, -225.9028, 5.474752, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1477, 49725, 1, 1, 1, -7543.164, -1986.698, -270.8757, 1.223206, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1478, 6506, 1, 1, 1, -7621.344, -1979.918, -272.0886, 2.639485, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1479, 6505, 1, 1, 1, -7580.344, -1944.37, -270.4677, 4.122763, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1480, 49725, 1, 1, 1, -7568.259, -1944.71, -272.5021, 6.258906, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1481, 62373, 1, 1, 1, -7558.514, -1957.156, -271.5934, 5.953284, 120, 5, 1), -- 62373 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1482, 49725, 1, 1, 1, -7523.791, -1941.565, -270.7786, 5.063636, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1483, 49725, 1, 1, 1, -7564.814, -1954.187, -271.5526, 4.577492, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1484, 6505, 1, 1, 1, -7513.743, -1948.499, -270.6536, 4.684572, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1485, 6505, 1, 1, 1, -7615.878, -1927.831, -271.8075, 6.033693, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1486, 9683, 1, 1, 1, -7612.364, -1931.828, -271.4875, 1.229347, 120, 0, 0), -- 9683 (Area: 1942) +(@CGUID+1487, 45439, 1, 1, 1, -7614.1, -1929.644, -271.8126, 4.453667, 120, 0, 0), -- 45439 (Area: 1942) +(@CGUID+1488, 6506, 1, 1, 1, -7623.309, -1951.496, -270.3314, 1.898649, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1489, 49725, 1, 1, 1, -7527.886, -1895.298, -275.2692, 0.4866054, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1490, 6505, 1, 1, 1, -7532.988, -1854.699, -271.2314, 0.1384985, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1491, 9600, 1, 1, 1, -7530.895, -1876.048, -221.1677, 5.044047, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1492, 6506, 1, 1, 1, -7497.913, -1854.851, -271.4418, 2.680205, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1493, 6506, 1, 1, 1, -7581.175, -1870.893, -271.1227, 0.3906428, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1494, 9600, 1, 1, 1, -7572.384, -1884.688, -241.8361, 5.343729, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1495, 62127, 1, 1, 1, -7529.458, -1860.411, -271.5299, 0.607067, 120, 0, 0), -- 62127 (Area: 1942) +(@CGUID+1496, 15475, 1, 1, 1, -7573.313, -1851.97, -271.9188, 1.411007, 120, 0, 0), -- 15475 (Area: 1942) +(@CGUID+1497, 49725, 1, 1, 1, -7611.169, -1861.977, -272.1808, 4.477736, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1498, 49844, 1, 1, 1, -7654.406, -1795.423, -222.2342, 5.793764, 120, 0, 0), -- 49844 (Area: 1942) +(@CGUID+1499, 49734, 1, 1, 1, -7649.722, -1853.742, -278.0834, 5.103894, 120, 0, 0), -- 49734 (Area: 1942) +(@CGUID+1500, 49725, 1, 1, 1, -7655.47, -1878.249, -272.1027, 2.353197, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1501, 9600, 1, 1, 1, -7716.051, -1823.938, -234.0353, 4.826337, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1502, 49725, 1, 1, 1, -7685.778, -1867.986, -269.0757, 1.73564, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1503, 61318, 1, 1, 1, -7694.727, -1956.853, -272.0629, 1.943277, 120, 5, 1), -- 61318 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1504, 49725, 1, 1, 1, -7724.872, -1910.756, -272.1791, 0.8794233, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1505, 49725, 1, 1, 1, -7698.721, -1923.255, -274.9726, 2.423816, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1506, 6506, 1, 1, 1, -7711.836, -1876.073, -271.5409, 2.266285, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1507, 6505, 1, 1, 1, -7674.585, -1940.089, -272.1979, 3.463343, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1508, 6505, 1, 1, 1, -7710.211, -1944.621, -271.2668, 0.3337101, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1509, 6505, 1, 1, 1, -7745.17, -1970.118, -271.6836, 0.9668822, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1510, 61319, 1, 1, 1, -7794.402, -1985.863, -269.9083, 5.602192, 120, 5, 1), -- 61319 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1511, 9600, 1, 1, 1, -7765.781, -1915.218, -243.9693, 6.202195, 120, 0, 0), -- 9600 (Area: 1942) +(@CGUID+1512, 49725, 1, 1, 1, -7764.353, -1911.782, -272.8909, 5.823613, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1513, 45439, 1, 1, 1, -7742.667, -1880.501, -272.4613, 6.063116, 120, 0, 0), -- 45439 (Area: 1942) +(@CGUID+1514, 49725, 1, 1, 1, -7745.039, -1840.141, -273.0226, 5.21693, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1515, 49725, 1, 1, 1, -7731.955, -1862.739, -272.433, 4.704398, 120, 0, 0), -- 49725 (Area: 1942) +(@CGUID+1516, 49725, 1, 1, 1, -7786.188, -1850.314, -272.3921, 0.6390482, 120, 5, 1), -- 49725 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1517, 49722, 1, 1, 1, -7753.639, -1850.242, -272.6483, 1.456756, 120, 5, 1), -- 49722 (Area: 1942) (possible waypoints or random movement) +(@CGUID+1518, 6506, 1, 1, 1, -7783.274, -1812.85, -272.0577, 0.9553666, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1519, 6505, 1, 1, 1, -7780.213, -1734.355, -271.4092, 4.523802, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1520, 6505, 1, 1, 1, -7791.29, -1723.881, -270.5248, 0.6793697, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1521, 6505, 1, 1, 1, -7774.416, -1684.526, -271.7055, 6.253985, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1522, 6505, 1, 1, 1, -7850.479, -1731.075, -272.1431, 2.674033, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1523, 6505, 1, 1, 1, -7842.875, -1775.083, -272.989, 3.006329, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1524, 6505, 1, 1, 1, -7832.839, -1682.62, -270.8446, 6.275315, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1525, 6505, 1, 1, 1, -7902.141, -1711.171, -274.1671, 2.967876, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1526, 6505, 1, 1, 1, -7850.294, -1810.797, -271.3061, 1.235739, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1527, 6505, 1, 1, 1, -7879.727, -1749.13, -272.9352, 2.189934, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1528, 6505, 1, 1, 1, -7913.424, -1748.564, -274.2541, 4.620492, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1529, 6506, 1, 1, 1, -7816.754, -1849.394, -271.1883, 5.841369, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1530, 6506, 1, 1, 1, -7855.535, -1848.562, -273.5287, 3.470268, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1531, 6506, 1, 1, 1, -7920.168, -1777.678, -274.448, 0.166797, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1532, 6505, 1, 1, 1, -7886.013, -1850.478, -274.0415, 3.157217, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1533, 6505, 1, 1, 1, -7911.914, -1813.709, -273.8952, 0.4754656, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1534, 45439, 1, 1, 1, -7814.416, -1855.688, -271.8909, 4.838324, 120, 0, 0), -- 45439 (Area: 1942) +(@CGUID+1535, 6506, 1, 1, 1, -7910.437, -1901.47, -271.3926, 1.421633, 120, 0, 0), -- 6506 (Area: 1942) +(@CGUID+1536, 6505, 1, 1, 1, -7916.127, -1882.904, -272.1635, 0.8460078, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1537, 6505, 1, 1, 1, -7885.981, -1916.153, -270.1026, 2.765856, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1538, 6505, 1, 1, 1, -7994.873, -1748.839, -272.7372, 3.030073, 120, 0, 0), -- 6505 (Area: 1942) +(@CGUID+1539, 44598, 1, 1, 1, -8138.9, -2287.34, 10.12893, 3.682645, 120, 0, 0), -- 44598 (Area: 0) +(@CGUID+1540, 44598, 1, 1, 1, -8212.36, -2283.85, 9.278013, 3.717551, 120, 0, 0); -- 44598 (Area: 0) + +SET @OGUID := 232010; +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+369; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 164781, 1, 1, 1, -6489.23, -580.3073, -269.3558, 5.654869, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: -1) +(@OGUID+1, 164781, 1, 1, 1, -6423.42, -623.8353, -231.1398, 2.705255, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 4884) +(@OGUID+2, 164958, 1, 1, 1, -6540.863, -717.2758, -268.8908, 1.221729, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+3, 180684, 1, 1, 1, -6570.42, -781.8507, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4884) +(@OGUID+4, 164781, 1, 1, 1, -6695.889, -687.558, -272.1516, 5.078908, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 4884) +(@OGUID+5, 164958, 1, 1, 1, -6745.217, -574.2349, -272.1925, 0.9773831, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+6, 175404, 1, 1, 1, -6734.688, -456.375, -261.8623, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 4884) +(@OGUID+7, 164781, 1, 1, 1, -6686.333, -445.2704, -241.6575, 2.809975, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 4884) +(@OGUID+8, 164958, 1, 1, 1, -6887.703, -447.1263, -272.1154, 5.323256, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+9, 324, 1, 1, 1, -6897.002, -415.9132, -265.0339, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 4884) +(@OGUID+10, 164661, 1, 1, 1, -6965.999, -381.1597, -263.1994, 1.361356, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 0) +(@OGUID+11, 164781, 1, 1, 1, -6949.066, -412.0963, -268.135, 2.059488, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 0) +(@OGUID+12, 176583, 1, 1, 1, -7001.824, -670.4305, -272.1653, 2.862335, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 4884) +(@OGUID+13, 164958, 1, 1, 1, -7011.809, -551.5923, -275.058, 0.5759573, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+14, 176584, 1, 1, 1, -7076.981, -650.9427, -269.6422, 6.230826, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 4884) +(@OGUID+15, 164958, 1, 1, 1, -7101.436, -495.3126, -269.1208, 0.9773831, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 543) +(@OGUID+16, 164781, 1, 1, 1, -7112.135, -493.0587, -266.7152, 3.525572, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 543) +(@OGUID+17, 180684, 1, 1, 1, -7204.29, -581.1389, -272.2043, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 543) +(@OGUID+18, 164660, 1, 1, 1, -7241.199, -539.4666, -295.2759, 3.368496, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 543) +(@OGUID+19, 202247, 1, 1, 1, -7227.403, -597.8854, -271.4589, 1.274088, 0, 0, 0, 1, 120, 255, 1), -- 202247 (Area: 543) +(@OGUID+20, 180684, 1, 1, 1, -7222.931, -547.6129, -274.0338, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 543) +(@OGUID+21, 164958, 1, 1, 1, -7267.734, -619.5779, -270.1356, 4.415683, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 543) +(@OGUID+22, 164780, 1, 1, 1, -7353.874, -564.2952, -273.7193, 2.18166, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 543) +(@OGUID+23, 164958, 1, 1, 1, -7425.952, -530.7833, -273.0921, 2.251473, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 543) +(@OGUID+24, 164958, 1, 1, 1, -7338.207, -425.8395, -271.6969, 1.204277, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 543) +(@OGUID+25, 164660, 1, 1, 1, -7294.715, -421.1081, -269.8874, 3.57793, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 543) +(@OGUID+26, 164956, 1, 1, 1, -7200.222, -338.9757, -226.9883, 1.378809, 0, 0, 0, 1, 120, 255, 1), -- 164956 (Area: 543) +(@OGUID+27, 164958, 1, 1, 1, -7187.856, -383.6414, -269.32, 6.073746, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 543) +(@OGUID+28, 164780, 1, 1, 1, -7213.209, -460.0065, -289.3219, 1.047198, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 543) +(@OGUID+29, 180684, 1, 1, 1, -7169.71, -436.5174, -274.0338, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 543) +(@OGUID+30, 324, 1, 1, 1, -7155.353, -358.8142, -264.5399, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 543) +(@OGUID+31, 176586, 1, 1, 1, -7095.585, -338.0938, -248.3181, 2.059488, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 543) +(@OGUID+32, 164781, 1, 1, 1, -7041.16, -366.5486, -268.3956, 1.954769, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 543) +(@OGUID+33, 164660, 1, 1, 1, -7434.769, -431.2465, -272.6928, 3.106652, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 543) +(@OGUID+34, 175404, 1, 1, 1, -7427.859, -380.2795, -266.8399, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 543) +(@OGUID+35, 164660, 1, 1, 1, -7456.818, -375.6129, -253.723, 5.969027, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 543) +(@OGUID+36, 164660, 1, 1, 1, -7475.082, -498.8646, -272.5351, 1.378809, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 543) +(@OGUID+37, 164660, 1, 1, 1, -7528.077, -418.8515, -265.8373, 1.745327, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 543) +(@OGUID+38, 164660, 1, 1, 1, -7619.77, -394.8479, -239.7364, 1.797689, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+39, 164958, 1, 1, 1, -7622.384, -494.9108, -270.6335, 2.705255, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 539) +(@OGUID+40, 175404, 1, 1, 1, -7702.875, -491.8299, -264.9061, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 539) +(@OGUID+41, 164780, 1, 1, 1, -7697.24, -482.514, -264.859, 1.780234, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 539) +(@OGUID+42, 164660, 1, 1, 1, -7705.295, -589.1818, -270.1128, 5.585054, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+43, 161527, 1, 1, 1, -7712.332, -586.9506, -269.2574, 0.5934101, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+44, 164660, 1, 1, 1, -7565.035, -563.7469, -262.0653, 4.834563, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+45, 164660, 1, 1, 1, -7527.689, -605.4011, -266.3612, 1.431168, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+46, 176584, 1, 1, 1, -7618.167, -619.1634, -255.3544, 3.194002, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 539) +(@OGUID+47, 176583, 1, 1, 1, -7749.095, -617.5125, -268.6139, 1.134463, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 539) +(@OGUID+48, 164660, 1, 1, 1, -7863.39, -537.8962, -259.2196, 5.026549, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+49, 164660, 1, 1, 1, -7780.478, -675.0661, -258.3853, 2.478367, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+50, 161527, 1, 1, 1, -7874.334, -621.3458, -260.6308, 5.096362, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+51, 161527, 1, 1, 1, -7890.344, -610.2203, -259.9792, 1.553341, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+52, 161527, 1, 1, 1, -7780.08, -675.2404, -258.4123, 0.2443456, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+53, 161527, 1, 1, 1, -7884.152, -618.1938, -260.1399, 6.19592, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+54, 161527, 1, 1, 1, -7889.811, -618.4717, -259.8479, 5.811947, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+55, 164780, 1, 1, 1, -7917.53, -567.6893, -255.8367, 2.373644, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 539) +(@OGUID+56, 202110, 1, 1, 1, -7806.981, -684.816, -260.1006, 0, 0, 0, 0, 1, 120, 255, 1), -- 202110 (Area: 539) +(@OGUID+57, 175404, 1, 1, 1, -7932.41, -685.8073, -259.5245, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 539) +(@OGUID+58, 164660, 1, 1, 1, -7971.043, -618.9011, -236.8957, 4.97419, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+59, 164660, 1, 1, 1, -7862.963, -719.6507, -261.8824, 3.787367, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+60, 164660, 1, 1, 1, -7984.949, -880.8929, -267.314, 3.822273, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+61, 161527, 1, 1, 1, -7879.144, -896.5162, -271.6303, 1.413715, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+62, 175404, 1, 1, 1, -7878.354, -906.5452, -272.8031, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 539) +(@OGUID+63, 164780, 1, 1, 1, -7937.348, -971.3899, -274.5474, 3.543024, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 539) +(@OGUID+64, 176586, 1, 1, 1, -8054.662, -934.5922, -243.9375, 0.2967052, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 539) +(@OGUID+65, 164958, 1, 1, 1, -7953.478, -1000.994, -273.0998, 1.291542, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 539) +(@OGUID+66, 142142, 1, 1, 1, -7921.628, -986.9515, -273.3553, 0.6632232, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 539) +(@OGUID+67, 164780, 1, 1, 1, -8092.184, -1048.666, -247.876, 2.234018, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 539) +(@OGUID+68, 123848, 1, 1, 1, -8026.948, -1132.663, -318.2184, 2.042035, 0, 0, 0, 1, 120, 255, 1), -- 123848 (Area: 539) +(@OGUID+69, 324, 1, 1, 1, -8092.127, -1127.257, -267.2308, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 539) +(@OGUID+70, 123848, 1, 1, 1, -8014.104, -1299.917, -320.5859, 2.059488, 0, 0, 0, 1, 120, 255, 1), -- 123848 (Area: 540) +(@OGUID+71, 324, 1, 1, 1, -8117.469, -1399.764, -264.6268, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 540) +(@OGUID+72, 164778, 1, 1, 1, -8123.618, -1387.64, -252.2964, 5.235988, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 540) +(@OGUID+73, 324, 1, 1, 1, -8108.762, -1480.635, -263.89, 2.583081, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 540) +(@OGUID+74, 175404, 1, 1, 1, -8082.469, -1603.337, -257.4489, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 540) +(@OGUID+75, 176586, 1, 1, 1, -8134.069, -1602.217, -218.5503, 4.625124, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 540) +(@OGUID+76, 164658, 1, 1, 1, -8004.827, -1589.542, -270.0307, 4.34587, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 540) +(@OGUID+77, 142142, 1, 1, 1, -7980.871, -1608.725, -271.2785, 1.867502, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 540) +(@OGUID+78, 324, 1, 1, 1, -8033.26, -1752.319, -265.2651, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 0) +(@OGUID+79, 164778, 1, 1, 1, -8070.458, -1759.092, -242.4358, 0.9075702, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 0) +(@OGUID+80, 176583, 1, 1, 1, -7947.818, -1716.297, -275.69, 2.391098, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 0) +(@OGUID+81, 195022, 1, 1, 1, -7951.208, -1792.149, -273.5613, 5.061456, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 0) +(@OGUID+82, 164778, 1, 1, 1, -7934.183, -1878.299, -270.0415, 5.148723, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+83, 164658, 1, 1, 1, -7824.443, -1802.7, -271.3588, 1.588249, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+84, 164658, 1, 1, 1, -7878.781, -1699.878, -271.7325, 3.961899, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+85, 164778, 1, 1, 1, -7899.588, -1636.084, -271.6964, 2.740162, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 0) +(@OGUID+86, 195022, 1, 1, 1, -7895.431, -1622.727, -270.097, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 0) +(@OGUID+87, 164778, 1, 1, 1, -7844.961, -1571.407, -261.4893, 0.383971, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 0) +(@OGUID+88, 164958, 1, 1, 1, -7786.116, -1116.57, -263.0907, 4.485497, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 539) +(@OGUID+89, 164780, 1, 1, 1, -7823.138, -964.9659, -270.2751, 3.42085, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 539) +(@OGUID+90, 164958, 1, 1, 1, -7787.233, -1009.995, -266.8961, 0.1047193, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 539) +(@OGUID+91, 161527, 1, 1, 1, -7824.722, -917.7858, -267.9534, 0.6632232, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+92, 161527, 1, 1, 1, -7837.303, -784.1141, -272.9112, 5.183629, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+93, 166863, 1, 1, 1, -7816.577, -1859.997, -272.7628, 2.923424, 0, 0, 0, 1, 120, 255, 1), -- 166863 (Area: 1942) +(@OGUID+94, 164958, 1, 1, 1, -7814.851, -2008.389, -271.3576, 0.157079, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 1942) +(@OGUID+95, 164778, 1, 1, 1, -7939.63, -2035.414, -264.4496, 5.375615, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+96, 164778, 1, 1, 1, -7870.649, -2056.782, -272.2222, 2.478367, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+97, 201925, 1, 1, 1, -7856.179, -2098.059, -267.0514, 2.870081, 0, 0, 0, 1, 120, 255, 1), -- 201925 (Area: 1942) +(@OGUID+98, 164658, 1, 1, 1, -7783.461, -2117.935, -267.105, 4.642576, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 0) +(@OGUID+99, 164778, 1, 1, 1, -7681.362, -2038.85, -272.0748, 4.729844, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+100, 164658, 1, 1, 1, -7581.273, -2168.951, -273.4855, 4.729844, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+101, 180684, 1, 1, 1, -7583.431, -2120.899, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 1942) +(@OGUID+102, 176584, 1, 1, 1, -7646.254, -2153.68, -271.0277, 1.500983, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 1942) +(@OGUID+103, 324, 1, 1, 1, -7672.2, -2221.122, -264.9199, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 1942) +(@OGUID+104, 324, 1, 1, 1, -7618.608, -2232.707, -265.8258, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 1942) +(@OGUID+105, 164778, 1, 1, 1, -7529.58, -2119.799, -270.7658, 5.742135, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+106, 164658, 1, 1, 1, -7547.957, -2065.219, -270.7507, 0.1919852, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+107, 164778, 1, 1, 1, -7541.972, -2219.234, -272.2118, 4.258607, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+108, 164658, 1, 1, 1, -7484.081, -2252.518, -269.5557, 1.884953, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+109, 164778, 1, 1, 1, -7418.202, -2232.561, -272.8612, 2.687807, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+110, 164778, 1, 1, 1, -7390.005, -2304.818, -243.169, 5.93412, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+111, 164778, 1, 1, 1, -7374.736, -2219.991, -269.6594, 6.03884, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+112, 324, 1, 1, 1, -7314.458, -2318.443, -264.0732, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 1942) +(@OGUID+113, 164658, 1, 1, 1, -7395.253, -2404.369, -217.6622, 0.9599299, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+114, 164958, 1, 1, 1, -7314.314, -2251.814, -270.3808, 1.082103, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 1942) +(@OGUID+115, 164957, 1, 1, 1, -7199.53, -2321.679, -227.0717, 1.640607, 0, 0, 0, 1, 120, 255, 1), -- 164957 (Area: 1942) +(@OGUID+116, 164658, 1, 1, 1, -7283.785, -2196.396, -269.2696, 5.567601, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+117, 164958, 1, 1, 1, -7059.705, -2202.612, -271.3468, 5.201083, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 0) +(@OGUID+118, 164779, 1, 1, 1, -7047.988, -2301.49, -269.1787, 2.984498, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 0) +(@OGUID+119, 175404, 1, 1, 1, -6933.571, -2264.458, -267.5417, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 0) +(@OGUID+120, 164659, 1, 1, 1, -6893.923, -2245.541, -267.9082, 3.263772, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 4885) +(@OGUID+121, 164779, 1, 1, 1, -6843.064, -2143.144, -267.2688, 5.899214, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 4885) +(@OGUID+122, 164958, 1, 1, 1, -6810.104, -2186.372, -269.3186, 2.007128, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4885) +(@OGUID+123, 164779, 1, 1, 1, -6786.354, -2135.728, -264.6075, 1.588249, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 4885) +(@OGUID+124, 164659, 1, 1, 1, -6694.145, -2234.506, -254.5044, 4.921829, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 4885) +(@OGUID+125, 324, 1, 1, 1, -6708.059, -2188.976, -264.5407, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 4885) +(@OGUID+126, 176583, 1, 1, 1, -6699.557, -2050.99, -265.5992, 2.024579, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 4885) +(@OGUID+127, 164958, 1, 1, 1, -6657.295, -2054.134, -256.8492, 0.9599299, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4885) +(@OGUID+128, 164779, 1, 1, 1, -6535.801, -2129.67, -269.5512, 3.298687, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 4885) +(@OGUID+129, 2040, 1, 1, 1, -6569.291, -2116.722, -257.2567, 3.57793, 0, 0, 0, 1, 120, 255, 1), -- 2040 (Area: 4885) +(@OGUID+130, 175404, 1, 1, 1, -6554.088, -2112.13, -252.6801, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 4885) +(@OGUID+131, 164958, 1, 1, 1, -6542.848, -2010.525, -270.9181, 2.949595, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4885) +(@OGUID+132, 164659, 1, 1, 1, -6490.545, -2138.649, -241.4937, 3.508117, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 4885) +(@OGUID+133, 164779, 1, 1, 1, -6431.633, -2050.406, -241.33, 0.01745246, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 4885) +(@OGUID+134, 176586, 1, 1, 1, -6440.917, -2034.602, -243.2582, 2.583081, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 4885) +(@OGUID+135, 142144, 1, 1, 1, -6398.941, -2041.58, -263.0374, 0, 0, 0, 0, 1, 120, 255, 1), -- 142144 (Area: 4885) +(@OGUID+136, 142144, 1, 1, 1, -6395.394, -1968.681, -258.9317, 5.899214, 0, 0, 0, 1, 120, 255, 1), -- 142144 (Area: 4885) +(@OGUID+137, 164659, 1, 1, 1, -6487.323, -1915.329, -271.38, 1.623156, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 4885) +(@OGUID+138, 164659, 1, 1, 1, -6592.675, -1995.41, -269.8891, 5.462882, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 4885) +(@OGUID+139, 201975, 1, 1, 1, -6539.135, -1847.021, -281.1539, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+140, 201978, 1, 1, 1, -6458.728, -1838.611, -272.3107, 1.884953, 0, 0, 0, 1, 120, 255, 1), -- 201978 (Area: 538) +(@OGUID+141, 142143, 1, 1, 1, -6522.407, -1822.724, -272.638, 3.38594, 0, 0, 0, 1, 120, 255, 1), -- 142143 (Area: 538) +(@OGUID+142, 164779, 1, 1, 1, -6537.551, -1812.248, -271.9116, 2.18166, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 538) +(@OGUID+143, 2040, 1, 1, 1, -6414.915, -1786.297, -266.1995, 3.735006, 0, 0, 0, 1, 120, 255, 1), -- 2040 (Area: 538) +(@OGUID+144, 201979, 1, 1, 1, -6523.471, -1774.439, -272.5241, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 538) +(@OGUID+145, 201979, 1, 1, 1, -6439.542, -1763.111, -272.9771, 0.3490652, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 538) +(@OGUID+146, 201979, 1, 1, 1, -6423.731, -1743.236, -272.8429, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+147, 201979, 1, 1, 1, -6484.292, -1730.934, -270.5558, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+148, 164659, 1, 1, 1, -6376.935, -1782.194, -267.039, 1.361356, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 542) +(@OGUID+149, 201979, 1, 1, 1, -6484.292, -1730.934, -270.5558, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+150, 324, 1, 1, 1, -6356.351, -1754.72, -255.0923, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 542) +(@OGUID+151, 201979, 1, 1, 1, -6408.314, -1660.694, -270.632, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+152, 201979, 1, 1, 1, -6408.314, -1660.694, -270.632, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+153, 164659, 1, 1, 1, -6339.74, -1721.603, -240.3565, 5.026549, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 542) +(@OGUID+154, 201979, 1, 1, 1, -6408.314, -1660.694, -270.632, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+155, 201979, 1, 1, 1, -6408.314, -1660.694, -270.632, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+156, 164659, 1, 1, 1, -6466.141, -1658.193, -275.0401, 1.762782, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 542) +(@OGUID+157, 175404, 1, 1, 1, -6305.823, -1613.986, -248.7374, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 542) +(@OGUID+158, 164958, 1, 1, 1, -6377.576, -1547.359, -270.88, 5.358162, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+159, 164955, 1, 1, 1, -6276.06, -1557.952, -231.9696, 3.246347, 0, 0, 0, 1, 120, 255, 1), -- 164955 (Area: 538) +(@OGUID+160, 164659, 1, 1, 1, -6269.983, -1557.914, -229.2088, 1.518436, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 538) +(@OGUID+161, 324, 1, 1, 1, -6256.331, -1561.044, -220.4335, 1.797689, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 538) +(@OGUID+162, 164779, 1, 1, 1, -6233.268, -1623.96, -199.5622, 3.490667, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 538) +(@OGUID+163, 176583, 1, 1, 1, -6216.367, -1561.473, -218.7965, 2.391098, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 538) +(@OGUID+164, 164659, 1, 1, 1, -6216.746, -1588.221, -210.3172, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 538) +(@OGUID+165, 164779, 1, 1, 1, -6182.743, -1618.704, -190.0764, 3.33359, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 538) +(@OGUID+166, 164779, 1, 1, 1, -6161.68, -1527.1, -218.225, 2.635444, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 538) +(@OGUID+167, 164958, 1, 1, 1, -6334.023, -1441.268, -268.1309, 5.881761, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+168, 164958, 1, 1, 1, -6346.299, -1380.362, -268.7661, 0.2792516, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+169, 164659, 1, 1, 1, -6300.73, -1373.717, -267.3085, 1.117009, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 538) +(@OGUID+170, 324, 1, 1, 1, -6283.806, -1314.254, -255.126, 0, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 538) +(@OGUID+171, 164779, 1, 1, 1, -6350.659, -1315.252, -272.2222, 2.792518, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 538) +(@OGUID+172, 176586, 1, 1, 1, -6214.531, -1342.509, -210.3945, 5.811947, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 538) +(@OGUID+173, 164958, 1, 1, 1, -6316.032, -1242.893, -267.1574, 4.32842, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+174, 164661, 1, 1, 1, -6284.521, -1218.435, -266.0224, 0.6806767, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 538) +(@OGUID+175, 202160, 1, 1, 1, -6299.781, -1178.097, -268.9583, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 538) +(@OGUID+176, 164958, 1, 1, 1, -6408.134, -1255.152, -270.5878, 1.919862, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+177, 164661, 1, 1, 1, -6338.225, -1199.652, -272.2399, 4.258607, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 538) +(@OGUID+178, 201975, 1, 1, 1, -6351.643, -1181.052, -278.371, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+179, 202160, 1, 1, 1, -6271.776, -1093.957, -223.9268, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 541) +(@OGUID+180, 202160, 1, 1, 1, -6237.624, -1101.623, -218.7047, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 541) +(@OGUID+181, 202159, 1, 1, 1, -6184.012, -1151.432, -209.1073, 0, 0, 0, 0, 1, 120, 255, 1), -- 202159 (Area: 541) +(@OGUID+182, 202160, 1, 1, 1, -6162.068, -1136.778, -218.3811, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 541) +(@OGUID+183, 202160, 1, 1, 1, -6241.932, -1040.573, -200.752, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 541) +(@OGUID+184, 202158, 1, 1, 1, -6202.146, -1043.214, -194.8614, 0, 0, 0, 0, 1, 120, 255, 1), -- 202158 (Area: 541) +(@OGUID+185, 202135, 1, 1, 1, -6157.958, -1149.398, -217.3917, 2.460913, 0, 0, 0, 1, 120, 255, 1), -- 202135 (Area: 541) +(@OGUID+186, 202159, 1, 1, 1, -6163.281, -1116.694, -212.7577, 0, 0, 0, 0, 1, 120, 255, 1), -- 202159 (Area: 541) +(@OGUID+187, 174682, 1, 1, 1, -6174.796, -1077.27, -202.5743, 5.218536, 0, 0, 0, 1, 120, 255, 1), -- 174682 (Area: 541) +(@OGUID+188, 202159, 1, 1, 1, -6157.918, -1064.172, -192.7437, 0, 0, 0, 0, 1, 120, 255, 1), -- 202159 (Area: 541) +(@OGUID+189, 202160, 1, 1, 1, -6132.325, -1097.25, -199.3817, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 541) +(@OGUID+190, 202160, 1, 1, 1, -6105.047, -1135.875, -186.4786, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 541) +(@OGUID+191, 202158, 1, 1, 1, -6121.71, -1151.969, -189.3686, 0, 0, 0, 0, 1, 120, 255, 1), -- 202158 (Area: 541) +(@OGUID+192, 202159, 1, 1, 1, -6115.929, -1049.587, -201.1339, 0, 0, 0, 0, 1, 120, 255, 1), -- 202159 (Area: 541) +(@OGUID+193, 202158, 1, 1, 1, -6094.877, -1013.63, -203.49, 0, 0, 0, 0, 1, 120, 255, 1), -- 202158 (Area: 541) +(@OGUID+194, 202159, 1, 1, 1, -6031.385, -1026.083, -217.7671, 0, 0, 0, 0, 1, 120, 255, 1), -- 202159 (Area: 541) +(@OGUID+195, 202160, 1, 1, 1, -6067.635, -1025.99, -206.4655, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 541) +(@OGUID+196, 202158, 1, 1, 1, -6038.153, -1021.158, -217.3734, 0, 0, 0, 0, 1, 120, 255, 1), -- 202158 (Area: 541) +(@OGUID+197, 202159, 1, 1, 1, -6065.665, -1058.458, -201.2758, 0, 0, 0, 0, 1, 120, 255, 1), -- 202159 (Area: 541) +(@OGUID+198, 202160, 1, 1, 1, -6066.768, -980.8594, -211.5798, 0, 0, 0, 0, 1, 120, 255, 1), -- 202160 (Area: 541) +(@OGUID+199, 202158, 1, 1, 1, -6015.535, -978.3455, -214.8425, 0, 0, 0, 0, 1, 120, 255, 1), -- 202158 (Area: 541) +(@OGUID+200, 164661, 1, 1, 1, -6382.26, -1086.21, -272.1, 4.415683, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 541) +(@OGUID+201, 164781, 1, 1, 1, -6323.309, -922.8395, -231.7596, 3.647741, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 4884) +(@OGUID+202, 164958, 1, 1, 1, -6442.248, -883.0412, -273.5288, 0.2443456, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+203, 164661, 1, 1, 1, -6474.127, -863.7783, -274.3362, 3.089183, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 4884) +(@OGUID+204, 175404, 1, 1, 1, -6457.108, -818.8837, -269.0052, 0, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 4884) +(@OGUID+205, 164958, 1, 1, 1, -6537.28, -884.674, -271.787, 2.18166, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+206, 164958, 1, 1, 1, -6723.25, -743.7507, -272.2036, 4.747296, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+207, 164781, 1, 1, 1, -6786.186, -750.1788, -271.5476, 4.136433, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 4884) +(@OGUID+208, 176583, 1, 1, 1, -6844.168, -795.4438, -271.0732, 1.675514, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 4884) +(@OGUID+209, 164958, 1, 1, 1, -6930.192, -713.757, -271.7614, 5.515242, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+210, 148503, 1, 1, 1, -7039.26, -1254.62, -271.2336, 5.009095, 0, 0, 0, 1, 120, 255, 1), -- 148503 (Area: 4884) +(@OGUID+211, 142142, 1, 1, 1, -6793.376, -908.4249, -270.1224, 0.7679439, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 4884) +(@OGUID+212, 148503, 1, 1, 1, -7163.772, -1149.582, -266.1947, 3.298687, 0, 0, 0, 1, 120, 255, 1), -- 148503 (Area: 4884) +(@OGUID+213, 164661, 1, 1, 1, -6805.854, -1040.065, -265.8256, 2.565632, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 4884) +(@OGUID+214, 324, 1, 1, 1, -6834.642, -1146.743, -262.9427, 2.460913, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 4884) +(@OGUID+215, 180684, 1, 1, 1, -6723.04, -1069.609, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4884) +(@OGUID+216, 164661, 1, 1, 1, -6630.66, -936.302, -272.355, 6.265733, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 4884) +(@OGUID+217, 164958, 1, 1, 1, -6466.89, -1095.73, -269.918, 0.2617982, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+218, 164958, 1, 1, 1, -6586.045, -838.5936, -271.9776, 1.413715, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+219, 164958, 1, 1, 1, -6652.35, -868.461, -271.5693, 6.178466, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+220, 176584, 1, 1, 1, -6950.323, -1015.219, -272.6748, 0.2268925, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 4884) +(@OGUID+221, 201913, 1, 1, 1, -6983.24, -1074.93, -270.242, 2.905974, 0, 0, 0, 1, 120, 255, 1), -- 201913 (Area: 4884) +(@OGUID+222, 164958, 1, 1, 1, -6951.333, -860.8328, -267.9441, 1.117009, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+223, 164781, 1, 1, 1, -6999.323, -875.5269, -265.8233, 6.213374, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 4884) +(@OGUID+224, 164958, 1, 1, 1, -7019.166, -707.2511, -266.9638, 4.258607, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+225, 164661, 1, 1, 1, -7060.369, -718.9464, -266.2513, 5.323256, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 4884) +(@OGUID+226, 164958, 1, 1, 1, -7082.147, -710.3408, -269.3607, 4.136433, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 4884) +(@OGUID+227, 148503, 1, 1, 1, -7341.127, -1228.953, -267.1566, 3.665196, 0, 0, 0, 1, 120, 255, 1), -- 148503 (Area: 4884) +(@OGUID+228, 164958, 1, 1, 1, -7208.404, -996.5166, -270.8479, 0.5759573, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 0) +(@OGUID+229, 164780, 1, 1, 1, -7200.334, -967.7713, -271.7857, 3.194002, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 0) +(@OGUID+230, 164661, 1, 1, 1, -7090.195, -1057.539, -270.7963, 1.099556, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 0) +(@OGUID+231, 180684, 1, 1, 1, -7204.141, -776.2049, -275.068, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 0) +(@OGUID+232, 180684, 1, 1, 1, -7185.899, -724.6927, -275.068, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 0) +(@OGUID+233, 180684, 1, 1, 1, -7342.799, -771.2917, -275.068, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 543) +(@OGUID+234, 164780, 1, 1, 1, -7312.651, -790.0121, -270.1075, 3.490667, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 543) +(@OGUID+235, 164958, 1, 1, 1, -7470.31, -683.3825, -263.1086, 3.787367, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 543) +(@OGUID+236, 161527, 1, 1, 1, -7513.457, -682.2157, -254.2021, 1.884953, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 543) +(@OGUID+237, 2040, 1, 1, 1, -7557.782, -866.9397, -267.3217, 3.595379, 0, 0, 0, 1, 120, 255, 1), -- 2040 (Area: 543) +(@OGUID+238, 161527, 1, 1, 1, -7665.873, -633.5161, -266.9713, 2.932139, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+239, 164958, 1, 1, 1, -7615.912, -655.9842, -254.4197, 5.044002, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 539) +(@OGUID+240, 164958, 1, 1, 1, -7649.268, -725.6436, -265.749, 5.969027, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 539) +(@OGUID+241, 175404, 1, 1, 1, -7676.51, -729.4767, -271.0575, 0.8552105, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 539) +(@OGUID+242, 164780, 1, 1, 1, -7668.572, -804.1902, -272.0688, 4.869471, 0, 0, 0, 1, 120, 255, 1), -- 164780 (Area: 539) +(@OGUID+243, 164958, 1, 1, 1, -7574.243, -855.03, -266.3179, 3.57793, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 539) +(@OGUID+244, 161521, 1, 1, 1, -7596.07, -889.4448, -271.7537, 0.1396245, 0, 0, 0, 1, 120, 255, 1), -- 161521 (Area: 539) +(@OGUID+245, 207513, 1, 1, 1, -7584.495, -892.059, -272.0292, 4.939284, 0, 0, 0, 1, 120, 255, 1), -- 207513 (Area: 539) +(@OGUID+246, 164660, 1, 1, 1, -7606.438, -864.2014, -259.7121, 3.647741, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+247, 161527, 1, 1, 1, -7760.562, -843.3856, -269.0128, 0.9075702, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+248, 161527, 1, 1, 1, -7752.41, -750.9698, -266.4758, 4.607672, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+249, 161527, 1, 1, 1, -7741.713, -742.488, -262.3818, 2.234018, 0, 0, 0, 1, 120, 255, 1), -- 161527 (Area: 539) +(@OGUID+250, 164660, 1, 1, 1, -7808.78, -1089.329, -261.3766, 5.532695, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 539) +(@OGUID+251, 324, 1, 1, 1, -7842.361, -1337.358, -260.6348, 0.4188786, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 540) +(@OGUID+252, 2047, 1, 1, 1, -7720.98, -1329.271, -266.1129, 4.76475, 0, 0, 0, 1, 120, 255, 1), -- 2047 (Area: 540) +(@OGUID+253, 164958, 1, 1, 1, -7702.397, -1440.358, -266.9187, 2.91469, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 540) +(@OGUID+254, 164778, 1, 1, 1, -7782.788, -1550.473, -266.468, 2.042035, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 540) +(@OGUID+255, 148503, 1, 1, 1, -7364.01, -1550.623, -273.0677, 3.508117, 0, 0, 0, 1, 120, 255, 1), -- 148503 (Area: 540) +(@OGUID+256, 164658, 1, 1, 1, -7657.555, -1718.377, -270.713, 6.073746, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+257, 164658, 1, 1, 1, -7701.736, -1772.877, -272.8023, 4.782203, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+258, 164778, 1, 1, 1, -7655.077, -1773.748, -273.1367, 1.151916, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+259, 164958, 1, 1, 1, -7625.162, -1570.041, -271.9051, 0.3316107, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 1942) +(@OGUID+260, 176584, 1, 1, 1, -7614.265, -1602.362, -272.0815, 5.148723, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 1942) +(@OGUID+261, 164778, 1, 1, 1, -7591.393, -1620.302, -270.6682, 5.009095, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+262, 164958, 1, 1, 1, -7679.202, -1217.471, -270.9653, 4.310966, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 0) +(@OGUID+263, 164958, 1, 1, 1, -7594.693, -1054.252, -264.4362, 3.892087, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 0) +(@OGUID+264, 164660, 1, 1, 1, -7595.108, -1050.063, -263.7044, 5.009095, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 0) +(@OGUID+265, 164660, 1, 1, 1, -7593.148, -1148.308, -270.2639, 5.550147, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 0) +(@OGUID+266, 204812, 1, 1, 1, -7505.19, -1503.86, -265.859, 2.766346, 0, 0, 0, 1, 120, 255, 1), -- 204812 (Area: 0) +(@OGUID+267, 161505, 1, 1, 1, -7658.823, -1798.542, -273.0768, 3.45576, 0, 0, 0, 1, 120, 255, 1), -- 161505 (Area: 1942) +(@OGUID+268, 195022, 1, 1, 1, -7593.401, -1772.257, -273.8899, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+269, 164778, 1, 1, 1, -7438.454, -1699.252, -278.1933, 3.490667, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+270, 164658, 1, 1, 1, -7452.547, -1668.967, -278.8863, 5.585054, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+271, 201866, 1, 1, 1, -7492.002, -1504.262, -266.1402, 6.178466, 0, 0, 0, 1, 120, 255, 1), -- 201866 (Area: 4882) +(@OGUID+272, 201867, 1, 1, 1, -7491.905, -1506.743, -266.1162, 0.6370441, 0, 0, 0, 1, 120, 255, 1), -- 201867 (Area: 4882) +(@OGUID+273, 164658, 1, 1, 1, -7460.765, -1546.479, -270.627, 3.438303, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 4882) +(@OGUID+274, 164658, 1, 1, 1, -7485.049, -1365.9, -267.2339, 4.904376, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 0) +(@OGUID+275, 164660, 1, 1, 1, -7471.835, -1203.944, -263.8859, 4.520406, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 0) +(@OGUID+276, 164958, 1, 1, 1, -7408.88, -1065.216, -269.4777, 5.829401, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 0) +(@OGUID+277, 164660, 1, 1, 1, -7269.222, -1053.33, -272.1462, 5.689774, 0, 0, 0, 1, 120, 255, 1), -- 164660 (Area: 0) +(@OGUID+278, 148503, 1, 1, 1, -7034.347, -1508.646, -265.6842, 2.18166, 0, 0, 0, 1, 120, 255, 1), -- 148503 (Area: 537) +(@OGUID+279, 195022, 1, 1, 1, -7395.054, -1736.627, -280.1476, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+280, 195022, 1, 1, 1, -7515.665, -1829.359, -272.9819, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+281, 142142, 1, 1, 1, -7319.12, -1725.39, -271.6194, 0.3665176, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 1942) +(@OGUID+282, 176586, 1, 1, 1, -7248.112, -1458.464, -223.329, 3.839725, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 537) +(@OGUID+283, 202264, 1, 1, 1, -7246.79, -1430.087, -230.3441, 0, 0, 0, 0, 1, 120, 255, 1), -- 202264 (Area: 537) +(@OGUID+284, 175404, 1, 1, 1, -7152.672, -1368.108, -179.9531, 4.869471, 0, 0, 0, 1, 120, 255, 1), -- 175404 (Area: 537) +(@OGUID+285, 176586, 1, 1, 1, -7150.619, -1368.172, -180.8833, 5.340709, 0, 0, 0, 1, 120, 255, 1), -- 176586 (Area: 537) +(@OGUID+286, 164910, 1, 1, 1, -7199.376, -1327.027, -180.7726, 1.553341, 0, 0, 0, 1, 120, 255, 1), -- 164910 (Area: 537) +(@OGUID+287, 164958, 1, 1, 1, -6942.749, -1223.21, -272.7739, 1.029743, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 537) +(@OGUID+288, 164958, 1, 1, 1, -7013.67, -1117.567, -269.3753, 1.850049, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 537) +(@OGUID+289, 164781, 1, 1, 1, -6920.717, -1145.224, -272.1805, 1.797689, 0, 0, 0, 1, 120, 255, 1), -- 164781 (Area: 4883) +(@OGUID+290, 176583, 1, 1, 1, -6872.074, -1124.223, -271.0232, 2.792518, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 4883) +(@OGUID+291, 201975, 1, 1, 1, -6821.238, -1247.316, -277.3097, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 4884) +(@OGUID+292, 180684, 1, 1, 1, -6918.03, -1301.13, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 538) +(@OGUID+293, 164658, 1, 1, 1, -7197.752, -1617.811, -266.7074, 2.705255, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 537) +(@OGUID+294, 164778, 1, 1, 1, -7183.994, -1677.625, -265.4618, 0.5061446, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 537) +(@OGUID+295, 180684, 1, 1, 1, -7038.101, -1729.931, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 1942) +(@OGUID+296, 164779, 1, 1, 1, -6965.334, -1766.035, -266.8647, 0.8726639, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 0) +(@OGUID+297, 164958, 1, 1, 1, -6811.557, -1829.852, -272.0576, 0.03490625, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+298, 201975, 1, 1, 1, -6747.733, -1718.163, -280.3097, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 0) +(@OGUID+299, 164958, 1, 1, 1, -6856.497, -1611.129, -270.7754, 5.340709, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+300, 164958, 1, 1, 1, -6740.474, -1553.429, -272.2213, 1.640607, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+301, 164659, 1, 1, 1, -6828.983, -1381.904, -267.9147, 4.34587, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 538) +(@OGUID+302, 164958, 1, 1, 1, -6744.659, -1354.648, -272.2009, 3.857183, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+303, 164958, 1, 1, 1, -6794.529, -1285.316, -271.3047, 2.268925, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+304, 201975, 1, 1, 1, -6731.66, -1246.92, -275.4445, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+305, 142142, 1, 1, 1, -6650.594, -1211.378, -272.218, 5.881761, 0, 0, 0, 1, 120, 255, 1), -- 142142 (Area: 538) +(@OGUID+306, 164958, 1, 1, 1, -6614.108, -1144.703, -260.0071, 0.6108634, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+307, 201975, 1, 1, 1, -6558.149, -1306.988, -281.1375, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+308, 201975, 1, 1, 1, -6644.432, -1349.345, -276.5506, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+309, 201975, 1, 1, 1, -6589.988, -1460.957, -285.3648, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+310, 176584, 1, 1, 1, -6650.778, -1718.376, -272.2222, 1.97222, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 538) +(@OGUID+311, 164958, 1, 1, 1, -6551.9, -1758.137, -273.6198, 4.555311, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+312, 164958, 1, 1, 1, -6626.662, -1848.48, -272.2222, 2.373644, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 538) +(@OGUID+313, 201975, 1, 1, 1, -6548.422, -1696.901, -280.4691, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+314, 201979, 1, 1, 1, -6482.417, -1665.552, -272.2714, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 538) +(@OGUID+315, 201979, 1, 1, 1, -6482.417, -1665.552, -272.2714, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 538) +(@OGUID+316, 201979, 1, 1, 1, -6482.417, -1665.552, -272.2714, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 538) +(@OGUID+317, 201979, 1, 1, 1, -6482.417, -1665.552, -272.2714, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 538) +(@OGUID+318, 201979, 1, 1, 1, -6474.653, -1615.608, -273.6848, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+319, 201979, 1, 1, 1, -6474.653, -1615.608, -273.6848, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+320, 201979, 1, 1, 1, -6474.653, -1615.608, -273.6848, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+321, 201979, 1, 1, 1, -6474.653, -1615.608, -273.6848, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+322, 164779, 1, 1, 1, -6424.272, -1541.213, -269.1432, 1.658062, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 542) +(@OGUID+323, 164659, 1, 1, 1, -6415.607, -1467.746, -275.2348, 4.904376, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 538) +(@OGUID+324, 201975, 1, 1, 1, -6437.385, -1451.727, -281.5685, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+325, 201975, 1, 1, 1, -6520.84, -1245.19, -280.698, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+326, 164661, 1, 1, 1, -6449.88, -1177.48, -272.023, 0.5410506, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 538) +(@OGUID+327, 164661, 1, 1, 1, -6495.31, -1090.01, -271.472, 6.126106, 0, 0, 0, 1, 120, 255, 1), -- 164661 (Area: 538) +(@OGUID+328, 201975, 1, 1, 1, -6427.93, -1173.77, -277.3, 0, 0, 0, 0, 1, 120, 255, 1), -- 201975 (Area: 538) +(@OGUID+329, 142143, 1, 1, 1, -6427.67, -1246.87, -272.228, 2.583081, 0, 0, 0, 1, 120, 255, 1), -- 142143 (Area: 538) +(@OGUID+330, 201979, 1, 1, 1, -6389.63, -1754.519, -272.1848, 0, 0, 0, 0, 1, 120, 255, 1), -- 201979 (Area: 542) +(@OGUID+331, 142144, 1, 1, 1, -6322.552, -1873.097, -261.1992, 5.899214, 0, 0, 0, 1, 120, 255, 1), -- 142144 (Area: 542) +(@OGUID+332, 207513, 1, 1, 1, -6388.729, -1967.167, -258.7359, 1.588249, 0, 0, 0, 1, 120, 255, 1), -- 207513 (Area: 542) +(@OGUID+333, 324, 1, 1, 1, -6303.346, -1918.322, -272.5016, 1.117009, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 542) +(@OGUID+334, 142144, 1, 1, 1, -6375.463, -1961.788, -258.4539, 5.899214, 0, 0, 0, 1, 120, 255, 1), -- 142144 (Area: 542) +(@OGUID+335, 324, 1, 1, 1, -6301.697, -1961.987, -268.6936, 0.5235979, 0, 0, 0, 1, 120, 255, 1), -- 324 (Area: 542) +(@OGUID+336, 142144, 1, 1, 1, -6326.872, -1994.335, -260.5031, 0, 0, 0, 0, 1, 120, 255, 1), -- 142144 (Area: 542) +(@OGUID+337, 142144, 1, 1, 1, -6355.38, -2000.931, -275.405, 5.899214, 0, 0, 0, 1, 120, 255, 1), -- 142144 (Area: 542) +(@OGUID+338, 164659, 1, 1, 1, -6677.377, -2021.045, -242.1225, 0.5759573, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 4885) +(@OGUID+339, 164659, 1, 1, 1, -6829.366, -2041.274, -271.492, 5.67232, 0, 0, 0, 1, 120, 255, 1), -- 164659 (Area: 4885) +(@OGUID+340, 161526, 1, 1, 1, -6867.917, -2002.76, -272.042, 1.570796, 0, 0, 0, 1, 120, 255, 1), -- 161526 (Area: 4885) +(@OGUID+341, 164958, 1, 1, 1, -6990.328, -1834.413, -272.4677, 0, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 0) +(@OGUID+342, 180684, 1, 1, 1, -7057.03, -1812.601, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 0) +(@OGUID+343, 180684, 1, 1, 1, -7011.92, -2021.83, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4885) +(@OGUID+344, 169217, 1, 1, 1, -6976.703, -2060.269, -274.8977, 0.8377572, 0, 0, 0, 1, 120, 255, 1), -- 169217 (Area: 4885) +(@OGUID+345, 180684, 1, 1, 1, -7026.13, -2043.109, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4885) +(@OGUID+346, 164779, 1, 1, 1, -7025.89, -2098.734, -274.004, 5.550147, 0, 0, 0, 1, 120, 255, 1), -- 164779 (Area: 4885) +(@OGUID+347, 180684, 1, 1, 1, -7022.08, -2116.939, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4885) +(@OGUID+348, 195022, 1, 1, 1, -7169.057, -1852.637, -273.4193, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+349, 164778, 1, 1, 1, -7296.581, -1843.503, -270.4228, 5.619962, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+350, 180684, 1, 1, 1, -7262.391, -1994.42, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 1942) +(@OGUID+351, 164778, 1, 1, 1, -7235.598, -1984.127, -272.7619, 0.2094394, 0, 0, 0, 1, 120, 255, 1), -- 164778 (Area: 1942) +(@OGUID+352, 195022, 1, 1, 1, -7207.365, -2027.576, -271.6726, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+353, 195022, 1, 1, 1, -7309.319, -2000.811, -272.4094, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+354, 180684, 1, 1, 1, -7183.17, -2101.931, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 1942) +(@OGUID+355, 195022, 1, 1, 1, -7287.083, -2125.095, -272.4726, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+356, 164658, 1, 1, 1, -7247.946, -2159.513, -269.6442, 2.373644, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+357, 180684, 1, 1, 1, -7342.049, -2135.521, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 1942) +(@OGUID+358, 164658, 1, 1, 1, -7441.645, -1996.552, -271.2583, 5.340709, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+359, 195022, 1, 1, 1, -7449.703, -2112.196, -271.7587, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+360, 180684, 1, 1, 1, -7426.471, -2143.851, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 1942) +(@OGUID+361, 180684, 1, 1, 1, -7582.41, -2009.101, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 1942) +(@OGUID+362, 195022, 1, 1, 1, -7510.207, -1946.842, -270.7449, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+363, 195022, 1, 1, 1, -7612.828, -1932.127, -271.7521, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+364, 176583, 1, 1, 1, -7571.532, -1854.805, -271.4237, 0.2617982, 0, 0, 0, 1, 120, 255, 1), -- 176583 (Area: 1942) +(@OGUID+365, 176584, 1, 1, 1, -7633.234, -1917.638, -268.3725, 3.735006, 0, 0, 0, 1, 120, 255, 1), -- 176584 (Area: 1942) +(@OGUID+366, 164958, 1, 1, 1, -7641.122, -1939.97, -269.8365, 3.351047, 0, 0, 0, 1, 120, 255, 1), -- 164958 (Area: 1942) +(@OGUID+367, 164658, 1, 1, 1, -7773.228, -1935.767, -272.9897, 5.829401, 0, 0, 0, 1, 120, 255, 1), -- 164658 (Area: 1942) +(@OGUID+368, 195022, 1, 1, 1, -7767.547, -1958.03, -271.9609, 0, 0, 0, 0, 1, 120, 255, 1), -- 195022 (Area: 1942) +(@OGUID+369, 180684, 1, 1, 1, -7796.46, -1894.681, -273.5968, 3.141593, 0, 0, 0, 1, 120, 255, 1); -- 180684 (Area: 1942) + +-- Movement +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `id` IN (9166,6511,6508,6507,38214,6512,9162,6513,6514,49844,6519,6518,6510,9167,6502,6504,9167,6509,6559,9164,6501,9163,6551,6506,6505); +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (6520,6521,49844,6513,6516,6560,38254,6553,6552,6555,34158,49844,9600); + +-- guid addons +DELETE FROM `creature_addon` WHERE `guid`=364434; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(364434,0,0,1,1,0, ''); + +-- Steaming Fury SAI +SET @ENTRY := 38254; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,5000,9000,19000,27000,11,83383,0,0,0,0,0,4,0,0,0,0,0,0,0,"Steaming Fury - In Combat - Cast '<Spell not found!>'"); + +-- Pathing for Entry: 6516 'TDB FORMAT' +SET @NPC := 365078; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6346.436,`position_y`=-2014.295,`position_z`=-256.538 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6346.436,-2014.295,-256.538,0,0,0,0,100,0), +(@PATH,2,-6347.936,-2015.545,-256.788,0,0,0,0,100,0), +(@PATH,3,-6348.686,-2016.295,-256.788,0,0,0,0,100,0), +(@PATH,4,-6352.686,-2020.295,-257.538,0,0,0,0,100,0), +(@PATH,5,-6354.936,-2022.045,-258.288,0,0,0,0,100,0), +(@PATH,6,-6355.936,-2023.295,-258.788,0,0,0,0,100,0), +(@PATH,7,-6356.436,-2023.795,-259.038,0,0,0,0,100,0), +(@PATH,8,-6358.436,-2025.545,-259.288,0,0,0,0,100,0), +(@PATH,9,-6360.936,-2027.795,-260.538,0,0,0,0,100,0), +(@PATH,10,-6363.686,-2030.545,-261.038,0,0,0,0,100,0), +(@PATH,11,-6367.522,-2034.357,-261.5263,0,0,0,0,100,0), +(@PATH,12,-6370.772,-2034.857,-261.5263,0,0,0,0,100,0), +(@PATH,13,-6378.022,-2036.107,-261.7763,0,0,0,0,100,0), +(@PATH,14,-6387.749,-2037.955,-261.769,0,0,0,0,100,0), +(@PATH,15,-6389.499,-2036.705,-261.519,0,0,0,0,100,0), +(@PATH,16,-6392.499,-2034.955,-261.519,0,0,0,0,100,0), +(@PATH,17,-6394.249,-2033.705,-261.519,0,0,0,0,100,0), +(@PATH,18,-6397.249,-2031.955,-261.519,0,0,0,0,100,0), +(@PATH,19,-6399.749,-2030.455,-262.019,0,0,0,0,100,0), +(@PATH,20,-6401.249,-2029.705,-262.019,0,0,0,0,100,0), +(@PATH,21,-6401.157,-2029.344,-262.0107,0,0,0,0,100,0), +(@PATH,22,-6402.407,-2028.594,-262.2607,0,0,0,0,100,0), +(@PATH,23,-6401.407,-2025.594,-262.0107,0,0,0,0,100,0), +(@PATH,24,-6400.407,-2023.094,-262.5107,0,0,0,0,100,0), +(@PATH,25,-6399.907,-2020.844,-262.5107,0,0,0,0,100,0), +(@PATH,26,-6399.907,-2019.844,-263.0107,0,0,0,0,100,0), +(@PATH,27,-6399.907,-2017.094,-264.0107,0,0,0,0,100,0), +(@PATH,28,-6399.625,-2016.751,-264.1794,0,0,0,0,100,0), +(@PATH,29,-6399.375,-2015.751,-264.6794,0,0,0,0,100,0), +(@PATH,30,-6398.375,-2014.751,-264.9294,0,0,0,0,100,0), +(@PATH,31,-6397.125,-2014.001,-265.1794,0,0,0,0,100,0), +(@PATH,32,-6393.125,-2011.001,-267.1794,0,0,0,0,100,0), +(@PATH,33,-6390.875,-2009.251,-267.9294,0,0,0,0,100,0), +(@PATH,34,-6388.125,-2007.501,-268.9294,0,0,0,0,100,0), +(@PATH,35,-6385.875,-2005.751,-269.4294,0,0,0,0,100,0), +(@PATH,36,-6381.625,-2002.501,-270.6794,0,0,0,0,100,0), +(@PATH,37,-6377.875,-2000.001,-271.4294,0,0,0,0,100,0), +(@PATH,38,-6377.765,-1999.659,-271.6681,0,0,0,0,100,0), +(@PATH,39,-6376.015,-1998.409,-272.1681,0,0,0,0,100,0), +(@PATH,40,-6372.015,-1995.409,-273.9181,0,0,0,0,100,0), +(@PATH,41,-6368.515,-1992.909,-274.9181,0,0,0,0,100,0), +(@PATH,42,-6364.265,-1989.659,-275.4181,0,0,0,0,100,0), +(@PATH,43,-6362.015,-1988.159,-275.6681,0,0,0,0,100,0), +(@PATH,44,-6355.265,-1982.909,-275.9181,0,0,0,0,100,0), +(@PATH,45,-6355.28,-1983.125,-275.8899,0,0,0,0,100,0), +(@PATH,46,-6362.03,-1988.125,-275.6399,0,0,0,0,100,0), +(@PATH,47,-6364.03,-1989.375,-275.3899,0,0,0,0,100,0), +(@PATH,48,-6368.53,-1992.875,-274.8899,0,0,0,0,100,0), +(@PATH,49,-6372.03,-1995.375,-273.8899,0,0,0,0,100,0), +(@PATH,50,-6375.966,-1998.507,-272.105,0,0,0,0,100,0), +(@PATH,51,-6377.966,-2000.007,-271.355,0,0,0,0,100,0), +(@PATH,52,-6381.466,-2002.507,-270.605,0,0,0,0,100,0), +(@PATH,53,-6385.966,-2005.757,-269.355,0,0,0,0,100,0), +(@PATH,54,-6387.966,-2007.257,-269.105,0,0,0,0,100,0), +(@PATH,55,-6390.716,-2009.257,-268.105,0,0,0,0,100,0), +(@PATH,56,-6392.966,-2011.007,-267.105,0,0,0,0,100,0), +(@PATH,57,-6397.216,-2014.007,-265.355,0,0,0,0,100,0), +(@PATH,58,-6398.216,-2014.757,-264.855,0,0,0,0,100,0), +(@PATH,59,-6399.82,-2015.958,-264.5358,0,0,0,0,100,0), +(@PATH,60,-6400.07,-2017.208,-264.0358,0,0,0,0,100,0), +(@PATH,61,-6400.57,-2019.708,-262.7858,0,0,0,0,100,0), +(@PATH,62,-6401.07,-2022.958,-262.5358,0,0,0,0,100,0), +(@PATH,63,-6401.82,-2025.458,-262.2858,0,0,0,0,100,0), +(@PATH,64,-6402.395,-2028.963,-262.1985,0,0,0,0,100,0), +(@PATH,65,-6401.145,-2029.713,-261.9485,0,0,0,0,100,0), +(@PATH,66,-6399.645,-2030.463,-261.9485,0,0,0,0,100,0), +(@PATH,67,-6397.395,-2031.963,-261.6985,0,0,0,0,100,0), +(@PATH,68,-6394.645,-2033.713,-261.4485,0,0,0,0,100,0), +(@PATH,69,-6392.645,-2034.963,-261.4485,0,0,0,0,100,0), +(@PATH,70,-6389.645,-2036.713,-261.6985,0,0,0,0,100,0), +(@PATH,71,-6389.315,-2036.792,-261.8086,0,0,0,0,100,0), +(@PATH,72,-6387.565,-2037.792,-261.8086,0,0,0,0,100,0), +(@PATH,73,-6379.065,-2036.292,-261.8086,0,0,0,0,100,0), +(@PATH,74,-6371.565,-2035.042,-261.5586,0,0,0,0,100,0), +(@PATH,75,-6367.465,-2034.1,-261.3268,0,0,0,0,100,0), +(@PATH,76,-6363.715,-2030.6,-261.0768,0,0,0,0,100,0), +(@PATH,77,-6360.965,-2027.85,-260.5768,0,0,0,0,100,0), +(@PATH,78,-6358.965,-2026.1,-259.5768,0,0,0,0,100,0), +(@PATH,79,-6356.715,-2024.1,-259.0768,0,0,0,0,100,0), +(@PATH,80,-6355.965,-2023.35,-258.5768,0,0,0,0,100,0), +(@PATH,81,-6354.965,-2022.1,-258.3268,0,0,0,0,100,0), +(@PATH,82,-6352.715,-2020.1,-257.5768,0,0,0,0,100,0), +(@PATH,83,-6348.965,-2016.6,-256.8268,0,0,0,0,100,0), +(@PATH,84,-6348.958,-2016.462,-256.9837,0,0,0,0,100,0), +(@PATH,85,-6347.708,-2015.212,-256.7337,0,0,0,0,100,0), +(@PATH,86,-6346.208,-2013.962,-256.7337,0,0,0,0,100,0), +(@PATH,87,-6343.708,-2011.962,-256.4837,0,0,0,0,100,0), +(@PATH,88,-6340.208,-2008.962,-256.7337,0,0,0,0,100,0), +(@PATH,89,-6336.208,-2005.462,-257.2337,0,0,0,0,100,0), +(@PATH,90,-6332.208,-2001.962,-258.2337,0,0,0,0,100,0), +(@PATH,91,-6331.921,-2002.066,-258.3661,0,0,0,0,100,0), +(@PATH,92,-6331.421,-2001.566,-258.6161,0,0,0,0,100,0), +(@PATH,93,-6327.171,-2002.566,-259.3661,0,0,0,0,100,0), +(@PATH,94,-6322.421,-2003.816,-259.3661,0,0,0,0,100,0), +(@PATH,95,-6319.421,-2004.566,-259.6161,0,0,0,0,100,0), +(@PATH,96,-6312.753,-2005.853,-260.3428,0,0,0,0,100,0), +(@PATH,97,-6311.503,-2005.853,-260.5928,0,0,0,0,100,0), +(@PATH,98,-6306.753,-2005.353,-261.0928,0,0,0,0,100,0), +(@PATH,99,-6304.003,-2005.103,-261.5928,0,0,0,0,100,0), +(@PATH,100,-6301.253,-2004.853,-261.8428,0,0,0,0,100,0), +(@PATH,101,-6297.253,-2004.603,-262.0928,0,0,0,0,100,0), +(@PATH,102,-6295.253,-2004.353,-262.5928,0,0,0,0,100,0), +(@PATH,103,-6290.584,-2003.618,-263.2199,0,0,0,0,100,0), +(@PATH,104,-6290.084,-2000.618,-263.7199,0,0,0,0,100,0), +(@PATH,105,-6289.834,-1999.618,-263.9699,0,0,0,0,100,0), +(@PATH,106,-6289.334,-1996.118,-264.2199,0,0,0,0,100,0), +(@PATH,107,-6288.682,-1992.294,-264.5473,0,0,0,0,100,0), +(@PATH,108,-6290.932,-1990.044,-264.7973,0,0,0,0,100,0), +(@PATH,109,-6292.432,-1988.544,-265.0473,0,0,0,0,100,0), +(@PATH,110,-6294.682,-1986.294,-265.2973,0,0,0,0,100,0), +(@PATH,111,-6298.932,-1982.044,-266.2973,0,0,0,0,100,0), +(@PATH,112,-6300.932,-1980.294,-267.0473,0,0,0,0,100,0), +(@PATH,113,-6303.432,-1977.794,-267.7973,0,0,0,0,100,0), +(@PATH,114,-6303.932,-1977.044,-267.7973,0,0,0,0,100,0), +(@PATH,115,-6306.182,-1975.044,-268.0473,0,0,0,0,100,0), +(@PATH,116,-6309.182,-1971.794,-268.0473,0,0,0,0,100,0), +(@PATH,117,-6312.432,-1968.794,-268.0473,0,0,0,0,100,0), +(@PATH,118,-6314.432,-1966.794,-267.7973,0,0,0,0,100,0), +(@PATH,119,-6314.263,-1966.839,-267.8446,0,0,0,0,100,0), +(@PATH,120,-6312.263,-1968.839,-268.0946,0,0,0,0,100,0), +(@PATH,121,-6309.263,-1971.839,-268.3446,0,0,0,0,100,0), +(@PATH,122,-6306.263,-1975.089,-268.0946,0,0,0,0,100,0), +(@PATH,123,-6304.013,-1977.089,-267.8446,0,0,0,0,100,0), +(@PATH,124,-6303.263,-1977.839,-267.8446,0,0,0,0,100,0), +(@PATH,125,-6301.013,-1980.089,-266.8446,0,0,0,0,100,0), +(@PATH,126,-6299.013,-1982.089,-266.3446,0,0,0,0,100,0), +(@PATH,127,-6295.263,-1985.839,-265.3446,0,0,0,0,100,0), +(@PATH,128,-6292.263,-1988.589,-265.0946,0,0,0,0,100,0), +(@PATH,129,-6291.263,-1989.839,-264.8446,0,0,0,0,100,0), +(@PATH,130,-6288.557,-1992.599,-264.4372,0,0,0,0,100,0), +(@PATH,131,-6289.057,-1995.349,-264.1872,0,0,0,0,100,0), +(@PATH,132,-6289.807,-1999.599,-263.9372,0,0,0,0,100,0), +(@PATH,133,-6290.057,-2000.599,-263.6872,0,0,0,0,100,0), +(@PATH,134,-6290.232,-2000.909,-263.3343,0,0,0,0,100,0), +(@PATH,135,-6290.732,-2003.659,-263.0843,0,0,0,0,100,0), +(@PATH,136,-6294.732,-2004.159,-262.5843,0,0,0,0,100,0), +(@PATH,137,-6296.732,-2004.409,-262.3343,0,0,0,0,100,0), +(@PATH,138,-6301.232,-2004.659,-261.8343,0,0,0,0,100,0), +(@PATH,139,-6303.982,-2005.159,-261.5843,0,0,0,0,100,0), +(@PATH,140,-6306.732,-2005.409,-261.0843,0,0,0,0,100,0), +(@PATH,141,-6311.732,-2005.909,-260.5843,0,0,0,0,100,0), +(@PATH,142,-6311.945,-2005.779,-260.3426,0,0,0,0,100,0), +(@PATH,143,-6312.945,-2006.029,-260.0926,0,0,0,0,100,0), +(@PATH,144,-6318.945,-2004.529,-259.8426,0,0,0,0,100,0), +(@PATH,145,-6322.195,-2003.779,-259.5926,0,0,0,0,100,0), +(@PATH,146,-6327.195,-2002.779,-259.5926,0,0,0,0,100,0), +(@PATH,147,-6331.619,-2001.543,-258.4933,0,0,0,0,100,0), +(@PATH,148,-6335.619,-2005.043,-257.4933,0,0,0,0,100,0), +(@PATH,149,-6339.369,-2008.293,-256.7433,0,0,0,0,100,0), +(@PATH,150,-6343.869,-2012.043,-256.4933,0,0,0,0,100,0), +(@PATH,151,-6346.119,-2014.043,-256.7433,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=364428; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(364428, 364428, 0, 0, 2, 0, 0), +(364428, 364429, 3, 50, 2, 0, 0), +(364428, 364431, 3, 90, 2, 0, 0); + +-- Pathing for Entry: 9119 'TDB FORMAT' +SET @NPC := 364690; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-7547.964,`position_y`=-1501.409,`position_z`=-247.617 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7547.964,-1501.409,-247.617,0,0,0,0,100,0), +(@PATH,2,-7543.957,-1501.15,-247.7472,0,0,0,0,100,0), +(@PATH,3,-7543.957,-1503.4,-247.4972,0,0,0,0,100,0), +(@PATH,4,-7543.841,-1501.204,-247.8196,0,0,0,0,100,0), +(@PATH,5,-7544.091,-1503.454,-247.5696,0,0,0,0,100,0), +(@PATH,6,-7544.091,-1504.704,-247.5696,0,0,0,0,100,0), +(@PATH,7,-7547.521,-1504.986,-247.4405,0,0,0,0,100,0), +(@PATH,8,-7547.938,-1501.443,-247.6057,0,0,0,0,100,0); + +-- Pathing for Entry: 9118 'TDB FORMAT' +SET @NPC := 364704; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-7533.619,`position_y`=-1598.211,`position_z`=-247.1836 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7533.619,-1598.211,-247.1836,0,0,0,0,100,0), +(@PATH,2,-7533.619,-1599.961,-247.1836,0,0,0,0,100,0), +(@PATH,3,-7533.688,-1600.025,-247.3032,0,0,0,0,100,0), +(@PATH,4,-7533.688,-1601.775,-247.3032,0,0,0,0,100,0), +(@PATH,5,-7536.938,-1601.525,-247.0532,0,0,0,0,100,0), +(@PATH,6,-7536.988,-1601.481,-247.1313,0,0,0,0,100,0), +(@PATH,7,-7537.488,-1601.481,-247.1313,0,0,0,0,100,0), +(@PATH,8,-7537.238,-1599.981,-247.1313,0,0,0,0,100,0), +(@PATH,9,-7537.351,-1601.497,-247.0349,0,0,0,0,100,0), +(@PATH,10,-7537.351,-1599.997,-247.0349,0,0,0,0,100,0), +(@PATH,11,-7537.101,-1598.497,-247.0349,0,0,0,0,100,0), +(@PATH,12,-7533.782,-1598.208,-247.1868,0,0,0,0,100,0); + +-- Pathing for Entry: 38275 'TDB FORMAT' +SET @NPC := 364428; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6995.896,`position_y`=-1069.645,`position_z`=-269.8069 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6995.896,-1069.645,-269.8069,0,0,0,0,100,0), +(@PATH,2,-6995.6,-1072.653,-270.1919,0,0,0,0,100,0), +(@PATH,3,-6995.548,-1073.185,-270.1919,0,0,0,0,100,0), +(@PATH,4,-6995.861,-1069.827,-269.8245,0,0,0,0,100,0), +(@PATH,5,-6995.711,-1068.836,-269.7647,0,0,0,0,100,0), +(@PATH,6,-6995.269,-1065.927,-269.0181,0,0,0,0,100,0), +(@PATH,7,-6994.323,-1065.556,-268.8787,0,0,0,0,100,0), +(@PATH,8,-6993.132,-1064.425,-268.1334,0,0,0,0,100,0), +(@PATH,9,-6990.979,-1063.641,-268.4857,0,0,0,0,100,0), +(@PATH,10,-6988.538,-1063.257,-268.9339,0,0,0,0,100,0), +(@PATH,11,-6985.589,-1063.258,-269.3211,0,0,0,0,100,0), +(@PATH,12,-6984.38,-1063.074,-269.4217,0,0,0,0,100,0), +(@PATH,13,-6981.753,-1064.638,-269.5391,0,0,0,0,100,0), +(@PATH,14,-6980.315,-1065.806,-269.4224,0,0,0,0,100,0), +(@PATH,15,-6978.484,-1068.079,-269.0103,0,0,0,0,100,0), +(@PATH,16,-6977.176,-1070.329,-268.9688,0,0,0,0,100,0), +(@PATH,17,-6977.035,-1070.571,-268.9922,0,0,0,0,100,0), +(@PATH,18,-6979.001,-1067.436,-269.0572,0,0,0,0,100,0), +(@PATH,19,-6979.625,-1066.661,-269.3397,0,0,0,0,100,0), +(@PATH,20,-6980.578,-1065.337,-269.4542,0,0,0,0,100,0), +(@PATH,21,-6983.31,-1063.711,-269.6148,0,0,0,0,100,0), +(@PATH,22,-6984.465,-1063.257,-269.4561,0,0,0,0,100,0), +(@PATH,23,-6987.289,-1063.258,-269.1172,0,0,0,0,100,0), +(@PATH,24,-6989.616,-1063.398,-268.7256,0,0,0,0,100,0), +(@PATH,25,-6992.634,-1063.938,-268.4276,0,0,0,0,100,0), +(@PATH,26,-6993.404,-1064.667,-268.6898,0,0,0,0,100,0), +(@PATH,27,-6994.225,-1065.56,-268.9923,0,0,0,0,100,0), +(@PATH,28,-6995.515,-1067.546,-269.6099,0,0,0,0,100,0), +(@PATH,29,-6995.885,-1069.759,-269.8191,0,0,0,0,100,0), +(@PATH,30,-6995.589,-1072.77,-270.1919,0,0,0,0,100,0), +(@PATH,31,-6995.548,-1073.185,-270.1919,0,0,0,0,100,0), +(@PATH,32,-6995.861,-1069.827,-269.8245,0,0,0,0,100,0), +(@PATH,33,-6995.71,-1068.829,-269.7637,0,0,0,0,100,0), +(@PATH,34,-6995.266,-1065.903,-269.0093,0,0,0,0,100,0), +(@PATH,35,-6994.303,-1065.536,-268.8743,0,0,0,0,100,0), +(@PATH,36,-6993.117,-1064.41,-268.13,0,0,0,0,100,0); + +-- Pathing for Entry: 38274 'TDB FORMAT' +SET @NPC := 364146; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-7856.894,`position_y`=-2090.6,`position_z`=-267.8398 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7856.894,-2090.6,-267.8398,0,0,0,0,100,0), +(@PATH,2,-7856.894,-2089.85,-268.8398,0,0,0,0,100,0), +(@PATH,3,-7856.894,-2088.85,-269.5898,0,0,0,0,100,0), +(@PATH,4,-7856.894,-2087.85,-270.5898,0,0,0,0,100,0), +(@PATH,5,-7857.255,-2087.495,-270.8753,0,0,0,0,100,0), +(@PATH,6,-7857.255,-2087.245,-271.1253,0,0,0,0,100,0), +(@PATH,7,-7865.871,-2078.028,-272.0611,0,0,0,0,100,0), +(@PATH,8,-7871.361,-2072.114,-271.8539,0,0,0,0,100,0), +(@PATH,9,-7876.506,-2064.301,-271.8472,0,0,0,0,100,0), +(@PATH,10,-7857.938,-2076.842,-272.0334,0,0,0,0,100,0), +(@PATH,11,-7857.741,-2076.815,-271.8483,0,0,0,0,100,0), +(@PATH,12,-7846.883,-2080.98,-271.8951,0,0,0,0,100,0), +(@PATH,13,-7838.133,-2079.48,-272.3951,0,0,0,0,100,0), +(@PATH,14,-7833.133,-2078.73,-273.1451,0,0,0,0,100,0), +(@PATH,15,-7829.383,-2078.23,-273.6451,0,0,0,0,100,0), +(@PATH,16,-7829.252,-2078.053,-273.7043,0,0,0,0,100,0), +(@PATH,17,-7827.752,-2077.803,-273.9543,0,0,0,0,100,0), +(@PATH,18,-7830.002,-2082.303,-274.2043,0,0,0,0,100,0), +(@PATH,19,-7832.863,-2087.928,-274.5419,0,0,0,0,100,0), +(@PATH,20,-7832.302,-2087.253,-274.2989,0,0,0,0,100,0), +(@PATH,21,-7831.802,-2085.253,-274.2989,0,0,0,0,100,0), +(@PATH,22,-7830.302,-2083.253,-274.2989,0,0,0,0,100,0), +(@PATH,23,-7830.302,-2081.253,-274.0489,0,0,0,0,100,0), +(@PATH,24,-7830.302,-2079.253,-273.7989,0,0,0,0,100,0), +(@PATH,25,-7830.313,-2079.285,-273.6069,0,0,0,0,100,0), +(@PATH,26,-7831.813,-2078.035,-273.1069,0,0,0,0,100,0), +(@PATH,27,-7837.313,-2079.535,-272.6069,0,0,0,0,100,0), +(@PATH,28,-7837.546,-2079.697,-272.2254,0,0,0,0,100,0), +(@PATH,29,-7840.296,-2080.447,-272.2254,0,0,0,0,100,0), +(@PATH,30,-7848.046,-2084.197,-271.7254,0,0,0,0,100,0), +(@PATH,31,-7848.298,-2084.434,-271.7733,0,0,0,0,100,0), +(@PATH,32,-7851.048,-2085.684,-271.5233,0,0,0,0,100,0), +(@PATH,33,-7857.818,-2087.063,-271.1263,0,0,0,0,100,0), +(@PATH,34,-7857.818,-2088.063,-270.6263,0,0,0,0,100,0), +(@PATH,35,-7857.568,-2089.063,-269.6263,0,0,0,0,100,0), +(@PATH,36,-7857.318,-2090.063,-268.8763,0,0,0,0,100,0), +(@PATH,37,-7857.068,-2090.813,-267.8763,0,0,0,0,100,0), +(@PATH,38,-7856.568,-2092.563,-266.8763,0,0,0,0,100,0); + +-- Pathing for Entry: 6554 'TDB FORMAT' +SET @NPC := 364088; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-8008.76,`position_y`=-1288.444,`position_z`=-322.7437 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-8008.76,-1288.444,-322.7437,0,0,0,0,100,0), +(@PATH,2,-8009.51,-1286.944,-322.7437,0,0,0,0,100,0), +(@PATH,3,-8009.76,-1285.944,-322.7437,0,0,0,0,100,0), +(@PATH,4,-8008.76,-1284.194,-322.9937,0,0,0,0,100,0), +(@PATH,5,-8008.26,-1282.944,-322.9937,0,0,0,0,100,0), +(@PATH,6,-8007.51,-1281.944,-322.9937,0,0,0,0,100,0), +(@PATH,7,-8006.76,-1280.444,-322.9937,0,0,0,0,100,0), +(@PATH,8,-8005.26,-1277.694,-322.9937,0,0,0,0,100,0), +(@PATH,9,-8002.76,-1272.944,-322.7437,0,0,0,0,100,0), +(@PATH,10,-8001.01,-1269.944,-322.7437,0,0,0,0,100,0), +(@PATH,11,-8000.26,-1268.694,-322.7437,0,0,0,0,100,0), +(@PATH,12,-7999.26,-1266.694,-322.4937,0,0,0,0,100,0), +(@PATH,13,-7998.76,-1265.694,-322.2437,0,0,0,0,100,0), +(@PATH,14,-7998.26,-1264.694,-322.7437,0,0,0,0,100,0), +(@PATH,15,-7999.154,-1266.722,-322.5571,0,0,0,0,100,0), +(@PATH,16,-7998.654,-1265.722,-322.3071,0,0,0,0,100,0), +(@PATH,17,-7998.154,-1264.722,-322.5571,0,0,0,0,100,0), +(@PATH,18,-7997.404,-1263.222,-322.8071,0,0,0,0,100,0), +(@PATH,19,-7998.404,-1264.472,-322.5571,0,0,0,0,100,0), +(@PATH,20,-7998.904,-1265.472,-322.3071,0,0,0,0,100,0), +(@PATH,21,-7999.654,-1266.222,-322.5571,0,0,0,0,100,0), +(@PATH,22,-8000.654,-1267.722,-322.8071,0,0,0,0,100,0), +(@PATH,23,-8002.154,-1269.972,-322.8071,0,0,0,0,100,0), +(@PATH,24,-8002.904,-1270.972,-323.0571,0,0,0,0,100,0), +(@PATH,25,-8006.486,-1276.072,-323.0551,0,0,0,0,100,0), +(@PATH,26,-8006.736,-1279.322,-323.0551,0,0,0,0,100,0), +(@PATH,27,-8006.736,-1280.822,-323.0551,0,0,0,0,100,0), +(@PATH,28,-8006.986,-1282.072,-323.0551,0,0,0,0,100,0), +(@PATH,29,-8007.236,-1286.572,-322.8051,0,0,0,0,100,0), +(@PATH,30,-8007.236,-1288.322,-322.8051,0,0,0,0,100,0), +(@PATH,31,-8007.4,-1286.902,-322.5146,0,0,0,0,100,0), +(@PATH,32,-8007.65,-1288.652,-322.5146,0,0,0,0,100,0), +(@PATH,33,-8007.65,-1289.152,-322.5146,0,0,0,0,100,0), +(@PATH,34,-8008.15,-1290.402,-322.5146,0,0,0,0,100,0), +(@PATH,35,-8008.9,-1291.402,-322.2646,0,0,0,0,100,0), +(@PATH,36,-8010.15,-1295.152,-321.7646,0,0,0,0,100,0), +(@PATH,37,-8010.379,-1295.321,-321.8308,0,0,0,0,100,0), +(@PATH,38,-8011.379,-1297.321,-321.3308,0,0,0,0,100,0), +(@PATH,39,-8012.879,-1297.321,-321.0808,0,0,0,0,100,0), +(@PATH,40,-8015.629,-1297.571,-321.0808,0,0,0,0,100,0), +(@PATH,41,-8018.879,-1297.821,-321.8308,0,0,0,0,100,0), +(@PATH,42,-8020.129,-1298.071,-322.3308,0,0,0,0,100,0), +(@PATH,43,-8023.879,-1298.321,-323.5808,0,0,0,0,100,0), +(@PATH,44,-8025.879,-1298.571,-324.0808,0,0,0,0,100,0), +(@PATH,45,-8023.951,-1298.439,-323.4058,0,0,0,0,100,0), +(@PATH,46,-8025.951,-1298.439,-324.4058,0,0,0,0,100,0), +(@PATH,47,-8026.701,-1298.689,-324.6558,0,0,0,0,100,0), +(@PATH,48,-8028.701,-1298.189,-325.4058,0,0,0,0,100,0), +(@PATH,49,-8036.951,-1295.939,-327.9058,0,0,0,0,100,0), +(@PATH,50,-8038.451,-1295.439,-328.4058,0,0,0,0,100,0), +(@PATH,51,-8041.201,-1294.689,-328.6558,0,0,0,0,100,0), +(@PATH,52,-8041.37,-1294.356,-328.8833,0,0,0,0,100,0), +(@PATH,53,-8042.87,-1294.106,-329.1333,0,0,0,0,100,0), +(@PATH,54,-8044.87,-1292.356,-329.3833,0,0,0,0,100,0), +(@PATH,55,-8045.62,-1291.606,-329.6333,0,0,0,0,100,0), +(@PATH,56,-8047.37,-1290.356,-329.6333,0,0,0,0,100,0), +(@PATH,57,-8049.87,-1288.106,-329.8833,0,0,0,0,100,0), +(@PATH,58,-8050.62,-1287.606,-329.8833,0,0,0,0,100,0), +(@PATH,59,-8052.12,-1286.356,-330.1333,0,0,0,0,100,0), +(@PATH,60,-8053.87,-1285.106,-330.3833,0,0,0,0,100,0), +(@PATH,61,-8055.37,-1283.856,-331.1333,0,0,0,0,100,0), +(@PATH,62,-8056.37,-1283.106,-331.6333,0,0,0,0,100,0), +(@PATH,63,-8056.38,-1282.715,-331.6404,0,0,0,0,100,0), +(@PATH,64,-8060.13,-1279.715,-333.1404,0,0,0,0,100,0), +(@PATH,65,-8059.88,-1278.715,-332.8904,0,0,0,0,100,0), +(@PATH,66,-8057.13,-1271.215,-331.6404,0,0,0,0,100,0), +(@PATH,67,-8056.63,-1269.965,-331.6404,0,0,0,0,100,0), +(@PATH,68,-8057.076,-1269.935,-331.8101,0,0,0,0,100,0), +(@PATH,69,-8057.576,-1271.185,-331.8101,0,0,0,0,100,0), +(@PATH,70,-8059.826,-1278.685,-332.8101,0,0,0,0,100,0), +(@PATH,71,-8059.852,-1279.054,-332.9518,0,0,0,0,100,0), +(@PATH,72,-8060.352,-1279.804,-332.9518,0,0,0,0,100,0), +(@PATH,73,-8056.352,-1283.054,-331.7018,0,0,0,0,100,0), +(@PATH,74,-8055.352,-1283.804,-331.2018,0,0,0,0,100,0), +(@PATH,75,-8053.852,-1285.054,-330.4518,0,0,0,0,100,0), +(@PATH,76,-8052.102,-1286.304,-330.2018,0,0,0,0,100,0), +(@PATH,77,-8051.102,-1287.304,-329.9518,0,0,0,0,100,0), +(@PATH,78,-8050.102,-1288.054,-329.9518,0,0,0,0,100,0), +(@PATH,79,-8047.352,-1290.304,-329.7018,0,0,0,0,100,0), +(@PATH,80,-8045.602,-1291.554,-329.7018,0,0,0,0,100,0), +(@PATH,81,-8044.852,-1292.304,-329.2018,0,0,0,0,100,0), +(@PATH,82,-8045.456,-1291.957,-329.2882,0,0,0,0,100,0), +(@PATH,83,-8044.706,-1292.457,-329.0382,0,0,0,0,100,0), +(@PATH,84,-8042.706,-1294.207,-328.7882,0,0,0,0,100,0), +(@PATH,85,-8041.206,-1294.707,-328.5382,0,0,0,0,100,0), +(@PATH,86,-8038.706,-1295.207,-328.2882,0,0,0,0,100,0), +(@PATH,87,-8037.706,-1295.457,-328.0382,0,0,0,0,100,0), +(@PATH,88,-8029.206,-1297.957,-325.5382,0,0,0,0,100,0), +(@PATH,89,-8027.206,-1298.457,-324.7882,0,0,0,0,100,0), +(@PATH,90,-8028.781,-1297.802,-325.1158,0,0,0,0,100,0), +(@PATH,91,-8026.781,-1298.552,-324.6158,0,0,0,0,100,0), +(@PATH,92,-8026.531,-1298.552,-324.3658,0,0,0,0,100,0), +(@PATH,93,-8024.031,-1298.302,-323.6158,0,0,0,0,100,0), +(@PATH,94,-8020.531,-1298.052,-322.3658,0,0,0,0,100,0), +(@PATH,95,-8019.031,-1298.052,-321.8658,0,0,0,0,100,0), +(@PATH,96,-8016.531,-1297.802,-321.1158,0,0,0,0,100,0), +(@PATH,97,-8012.781,-1297.552,-321.1158,0,0,0,0,100,0), +(@PATH,98,-8012.417,-1297.292,-321.1182,0,0,0,0,100,0), +(@PATH,99,-8011.417,-1297.292,-321.3682,0,0,0,0,100,0), +(@PATH,100,-8010.417,-1295.042,-321.8682,0,0,0,0,100,0), +(@PATH,101,-8008.667,-1291.792,-322.3682,0,0,0,0,100,0), +(@PATH,102,-8008.167,-1290.292,-322.6182,0,0,0,0,100,0), +(@PATH,103,-8008.628,-1291.534,-322.6323,0,0,0,0,100,0), +(@PATH,104,-8008.128,-1290.034,-322.6323,0,0,0,0,100,0), +(@PATH,105,-8007.628,-1289.034,-322.6323,0,0,0,0,100,0), +(@PATH,106,-8007.628,-1287.534,-322.8823,0,0,0,0,100,0), +(@PATH,107,-8007.128,-1282.284,-322.8823,0,0,0,0,100,0), +(@PATH,108,-8007.128,-1280.784,-322.8823,0,0,0,0,100,0), +(@PATH,109,-8006.878,-1279.284,-322.8823,0,0,0,0,100,0), +(@PATH,110,-8006.688,-1280.405,-323.1415,0,0,0,0,100,0), +(@PATH,111,-8006.688,-1279.155,-323.1415,0,0,0,0,100,0), +(@PATH,112,-8006.438,-1275.905,-323.1415,0,0,0,0,100,0), +(@PATH,113,-8002.688,-1270.905,-322.8915,0,0,0,0,100,0), +(@PATH,114,-8002.188,-1269.905,-322.8915,0,0,0,0,100,0), +(@PATH,115,-8000.688,-1267.655,-322.6415,0,0,0,0,100,0), +(@PATH,116,-7999.688,-1266.405,-322.6415,0,0,0,0,100,0), +(@PATH,117,-7998.938,-1265.405,-322.3915,0,0,0,0,100,0), +(@PATH,118,-7998.438,-1264.655,-322.6415,0,0,0,0,100,0), +(@PATH,119,-7998.882,-1265.557,-322.4059,0,0,0,0,100,0), +(@PATH,120,-7998.382,-1264.557,-322.6559,0,0,0,0,100,0), +(@PATH,121,-7997.382,-1263.057,-322.9059,0,0,0,0,100,0), +(@PATH,122,-7998.132,-1264.557,-322.6559,0,0,0,0,100,0), +(@PATH,123,-7998.632,-1265.807,-322.4059,0,0,0,0,100,0), +(@PATH,124,-7999.382,-1266.557,-322.4059,0,0,0,0,100,0), +(@PATH,125,-7999.882,-1268.057,-322.6559,0,0,0,0,100,0), +(@PATH,126,-8001.132,-1270.057,-322.6559,0,0,0,0,100,0), +(@PATH,127,-8002.882,-1273.057,-322.9059,0,0,0,0,100,0), +(@PATH,128,-8005.382,-1277.807,-322.9059,0,0,0,0,100,0), +(@PATH,129,-8006.882,-1280.557,-322.9059,0,0,0,0,100,0), +(@PATH,130,-8007.632,-1281.807,-322.9059,0,0,0,0,100,0), +(@PATH,131,-8008.132,-1283.057,-322.9059,0,0,0,0,100,0), +(@PATH,132,-8008.882,-1284.057,-322.9059,0,0,0,0,100,0), +(@PATH,133,-8007.647,-1282.285,-322.7819,0,0,0,0,100,0), +(@PATH,134,-8008.147,-1283.285,-322.7819,0,0,0,0,100,0), +(@PATH,135,-8008.897,-1284.285,-322.7819,0,0,0,0,100,0), +(@PATH,136,-8009.897,-1286.035,-322.5319,0,0,0,0,100,0), +(@PATH,137,-8009.397,-1287.035,-322.5319,0,0,0,0,100,0), +(@PATH,138,-8008.897,-1288.535,-322.5319,0,0,0,0,100,0), +(@PATH,139,-8007.897,-1291.285,-322.5319,0,0,0,0,100,0), +(@PATH,140,-8005.647,-1297.535,-321.5319,0,0,0,0,100,0), +(@PATH,141,-8005.147,-1299.035,-321.2819,0,0,0,0,100,0), +(@PATH,142,-8003.897,-1302.785,-320.2819,0,0,0,0,100,0), +(@PATH,143,-8003.536,-1302.96,-319.9894,0,0,0,0,100,0), +(@PATH,144,-8003.536,-1303.46,-319.7394,0,0,0,0,100,0), +(@PATH,145,-8001.786,-1304.71,-319.2394,0,0,0,0,100,0), +(@PATH,146,-7999.786,-1306.21,-318.7394,0,0,0,0,100,0), +(@PATH,147,-7997.036,-1308.21,-317.4894,0,0,0,0,100,0), +(@PATH,148,-7995.286,-1309.46,-316.4894,0,0,0,0,100,0), +(@PATH,149,-7992.036,-1311.96,-315.2394,0,0,0,0,100,0), +(@PATH,150,-7987.213,-1313.565,-314.0054,0,0,0,0,100,0), +(@PATH,151,-7982.463,-1314.065,-313.0054,0,0,0,0,100,0), +(@PATH,152,-7980.713,-1314.065,-312.5054,0,0,0,0,100,0), +(@PATH,153,-7977.713,-1314.315,-313.0054,0,0,0,0,100,0), +(@PATH,154,-7977.272,-1314.43,-312.6112,0,0,0,0,100,0), +(@PATH,155,-7974.272,-1314.93,-312.6112,0,0,0,0,100,0), +(@PATH,156,-7973.272,-1314.93,-312.3612,0,0,0,0,100,0), +(@PATH,157,-7971.522,-1315.43,-312.3612,0,0,0,0,100,0), +(@PATH,158,-7970.522,-1315.68,-312.3612,0,0,0,0,100,0), +(@PATH,159,-7968.022,-1316.18,-312.1112,0,0,0,0,100,0), +(@PATH,160,-7963.522,-1316.93,-311.3612,0,0,0,0,100,0), +(@PATH,161,-7953.29,-1319.323,-308.5918,0,0,0,0,100,0), +(@PATH,162,-7944.79,-1325.823,-307.8418,0,0,0,0,100,0), +(@PATH,163,-7943.79,-1325.823,-307.5918,0,0,0,0,100,0), +(@PATH,164,-7941.79,-1325.823,-307.0918,0,0,0,0,100,0), +(@PATH,165,-7938.79,-1326.323,-306.0918,0,0,0,0,100,0), +(@PATH,166,-7941.526,-1326.037,-306.887,0,0,0,0,100,0), +(@PATH,167,-7938.526,-1326.537,-305.887,0,0,0,0,100,0), +(@PATH,168,-7937.276,-1326.537,-305.137,0,0,0,0,100,0), +(@PATH,169,-7935.276,-1327.287,-304.137,0,0,0,0,100,0), +(@PATH,170,-7933.526,-1327.787,-303.137,0,0,0,0,100,0), +(@PATH,171,-7932.526,-1328.037,-302.387,0,0,0,0,100,0), +(@PATH,172,-7931.526,-1328.287,-301.637,0,0,0,0,100,0), +(@PATH,173,-7929.776,-1328.787,-300.637,0,0,0,0,100,0), +(@PATH,174,-7928.776,-1329.037,-300.387,0,0,0,0,100,0), +(@PATH,175,-7928.026,-1329.287,-299.387,0,0,0,0,100,0), +(@PATH,176,-7926.026,-1329.537,-298.387,0,0,0,0,100,0), +(@PATH,177,-7924.026,-1330.287,-297.387,0,0,0,0,100,0), +(@PATH,178,-7922.026,-1330.787,-296.387,0,0,0,0,100,0), +(@PATH,179,-7921.276,-1331.037,-295.387,0,0,0,0,100,0), +(@PATH,180,-7919.276,-1331.537,-294.387,0,0,0,0,100,0), +(@PATH,181,-7917.276,-1332.037,-293.137,0,0,0,0,100,0), +(@PATH,182,-7918.619,-1331.837,-294.0125,0,0,0,0,100,0), +(@PATH,183,-7920.619,-1331.087,-294.7625,0,0,0,0,100,0), +(@PATH,184,-7921.619,-1330.837,-295.7625,0,0,0,0,100,0), +(@PATH,185,-7922.369,-1330.587,-296.2625,0,0,0,0,100,0), +(@PATH,186,-7924.369,-1330.087,-297.2625,0,0,0,0,100,0), +(@PATH,187,-7925.369,-1329.837,-298.2625,0,0,0,0,100,0), +(@PATH,188,-7926.369,-1329.587,-299.0125,0,0,0,0,100,0), +(@PATH,189,-7928.119,-1329.337,-299.7625,0,0,0,0,100,0), +(@PATH,190,-7928.869,-1329.087,-300.7625,0,0,0,0,100,0), +(@PATH,191,-7931.869,-1328.087,-301.7625,0,0,0,0,100,0), +(@PATH,192,-7932.869,-1327.837,-302.5125,0,0,0,0,100,0), +(@PATH,193,-7933.869,-1327.587,-303.0125,0,0,0,0,100,0), +(@PATH,194,-7934.619,-1327.337,-303.7625,0,0,0,0,100,0), +(@PATH,195,-7936.619,-1326.837,-304.7625,0,0,0,0,100,0), +(@PATH,196,-7936.901,-1326.591,-304.9556,0,0,0,0,100,0), +(@PATH,197,-7937.651,-1326.341,-305.2056,0,0,0,0,100,0), +(@PATH,198,-7939.151,-1325.091,-306.4556,0,0,0,0,100,0), +(@PATH,199,-7939.651,-1324.841,-306.7056,0,0,0,0,100,0), +(@PATH,200,-7941.401,-1324.341,-307.2056,0,0,0,0,100,0), +(@PATH,201,-7942.151,-1324.341,-307.9556,0,0,0,0,100,0), +(@PATH,202,-7951.901,-1319.841,-308.7056,0,0,0,0,100,0), +(@PATH,203,-7952.325,-1319.703,-308.9708,0,0,0,0,100,0), +(@PATH,204,-7953.325,-1319.203,-308.9708,0,0,0,0,100,0), +(@PATH,205,-7963.325,-1317.203,-311.4708,0,0,0,0,100,0), +(@PATH,206,-7968.075,-1316.203,-312.2208,0,0,0,0,100,0), +(@PATH,207,-7970.575,-1315.703,-312.2208,0,0,0,0,100,0), +(@PATH,208,-7971.575,-1315.453,-312.4708,0,0,0,0,100,0), +(@PATH,209,-7973.075,-1314.953,-312.2208,0,0,0,0,100,0), +(@PATH,210,-7970.825,-1315.338,-312.6175,0,0,0,0,100,0), +(@PATH,211,-7971.825,-1315.088,-312.6175,0,0,0,0,100,0), +(@PATH,212,-7973.325,-1314.838,-312.6175,0,0,0,0,100,0), +(@PATH,213,-7974.325,-1314.588,-312.8675,0,0,0,0,100,0), +(@PATH,214,-7977.575,-1314.588,-312.8675,0,0,0,0,100,0), +(@PATH,215,-7980.075,-1314.338,-312.8675,0,0,0,0,100,0), +(@PATH,216,-7981.575,-1314.088,-312.8675,0,0,0,0,100,0), +(@PATH,217,-7987.075,-1313.588,-313.8675,0,0,0,0,100,0), +(@PATH,218,-7989.575,-1313.338,-314.6175,0,0,0,0,100,0), +(@PATH,219,-7987.185,-1313.407,-314.1517,0,0,0,0,100,0), +(@PATH,220,-7989.685,-1313.157,-314.6517,0,0,0,0,100,0), +(@PATH,221,-7990.435,-1313.157,-314.9017,0,0,0,0,100,0), +(@PATH,222,-7991.935,-1311.907,-315.1517,0,0,0,0,100,0), +(@PATH,223,-7994.435,-1310.157,-315.9017,0,0,0,0,100,0), +(@PATH,224,-7996.435,-1308.657,-317.1517,0,0,0,0,100,0), +(@PATH,225,-7999.685,-1306.157,-318.6517,0,0,0,0,100,0), +(@PATH,226,-8001.685,-1304.657,-319.1517,0,0,0,0,100,0), +(@PATH,227,-8002.011,-1304.45,-319.5716,0,0,0,0,100,0), +(@PATH,228,-8003.511,-1303.45,-320.0716,0,0,0,0,100,0), +(@PATH,229,-8005.011,-1299.7,-320.8216,0,0,0,0,100,0), +(@PATH,230,-8005.511,-1297.2,-321.3216,0,0,0,0,100,0), +(@PATH,231,-8007.761,-1291.45,-322.3216,0,0,0,0,100,0), +(@PATH,232,-8008.761,-1288.7,-322.5716,0,0,0,0,100,0), +(@PATH,233,-8009.511,-1287.2,-322.5716,0,0,0,0,100,0), +(@PATH,234,-8009.515,-1286.755,-322.7753,0,0,0,0,100,0), +(@PATH,235,-8009.765,-1286.005,-322.7753,0,0,0,0,100,0), +(@PATH,236,-8008.765,-1284.255,-323.0253,0,0,0,0,100,0), +(@PATH,237,-8008.265,-1283.005,-323.0253,0,0,0,0,100,0), +(@PATH,238,-8007.515,-1282.005,-323.0253,0,0,0,0,100,0), +(@PATH,239,-8006.765,-1280.505,-323.0253,0,0,0,0,100,0), +(@PATH,240,-8005.265,-1277.755,-323.0253,0,0,0,0,100,0), +(@PATH,241,-8002.765,-1273.005,-322.7753,0,0,0,0,100,0), +(@PATH,242,-8001.015,-1270.005,-322.7753,0,0,0,0,100,0), +(@PATH,243,-8000.265,-1268.505,-322.5253,0,0,0,0,100,0), +(@PATH,244,-7999.265,-1266.755,-322.5253,0,0,0,0,100,0), +(@PATH,245,-7998.765,-1265.755,-322.2753,0,0,0,0,100,0), +(@PATH,246,-7998.265,-1264.755,-322.5253,0,0,0,0,100,0), +(@PATH,247,-7998.806,-1265.592,-322.2094,0,0,0,0,100,0), +(@PATH,248,-7998.306,-1264.842,-322.7094,0,0,0,0,100,0), +(@PATH,249,-7997.306,-1263.092,-322.9594,0,0,0,0,100,0), +(@PATH,250,-7998.306,-1264.592,-322.7094,0,0,0,0,100,0), +(@PATH,251,-7999.056,-1265.342,-322.4594,0,0,0,0,100,0), +(@PATH,252,-7999.556,-1266.342,-322.4594,0,0,0,0,100,0), +(@PATH,253,-8000.556,-1267.592,-322.7094,0,0,0,0,100,0), +(@PATH,254,-8002.056,-1269.842,-322.9594,0,0,0,0,100,0), +(@PATH,255,-8002.806,-1271.092,-322.9594,0,0,0,0,100,0), +(@PATH,256,-8006.392,-1276.135,-323.085,0,0,0,0,100,0), +(@PATH,257,-8006.642,-1279.385,-323.085,0,0,0,0,100,0), +(@PATH,258,-8006.892,-1280.885,-323.085,0,0,0,0,100,0), +(@PATH,259,-8006.892,-1282.135,-323.085,0,0,0,0,100,0), +(@PATH,260,-8007.142,-1286.635,-322.835,0,0,0,0,100,0), +(@PATH,261,-8007.392,-1288.385,-322.835,0,0,0,0,100,0), +(@PATH,262,-8007.031,-1278.929,-323.2906,0,0,0,0,100,0); + +-- Pathing for Entry: 6500 'TDB FORMAT' +SET @NPC := 364214; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-7929.277,`position_y`=-1109.05,`position_z`=-274.4268 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7929.277,-1109.05,-274.4268,0,0,0,0,100,0), +(@PATH,2,-7924.277,-1109.8,-275.1768,0,0,0,0,100,0), +(@PATH,3,-7906.777,-1113.05,-274.4268,0,0,0,0,100,0), +(@PATH,4,-7903.777,-1113.55,-273.6768,0,0,0,0,100,0), +(@PATH,5,-7901.027,-1114.05,-273.1768,0,0,0,0,100,0), +(@PATH,6,-7899.027,-1114.55,-272.6768,0,0,0,0,100,0), +(@PATH,7,-7900.776,-1114.4,-273.0893,0,0,0,0,100,0), +(@PATH,8,-7898.776,-1114.65,-272.5893,0,0,0,0,100,0), +(@PATH,9,-7897.026,-1114.9,-272.0893,0,0,0,0,100,0), +(@PATH,10,-7894.276,-1116.15,-271.3393,0,0,0,0,100,0), +(@PATH,11,-7889.776,-1117.9,-270.5893,0,0,0,0,100,0), +(@PATH,12,-7885.026,-1119.9,-270.0893,0,0,0,0,100,0), +(@PATH,13,-7881.526,-1121.15,-269.5893,0,0,0,0,100,0), +(@PATH,14,-7878.776,-1122.15,-268.8393,0,0,0,0,100,0), +(@PATH,15,-7876.776,-1122.9,-268.3393,0,0,0,0,100,0), +(@PATH,16,-7874.026,-1123.9,-267.5893,0,0,0,0,100,0), +(@PATH,17,-7872.276,-1124.65,-267.0893,0,0,0,0,100,0), +(@PATH,18,-7869.526,-1125.9,-266.3393,0,0,0,0,100,0), +(@PATH,19,-7869.129,-1126.083,-265.9558,0,0,0,0,100,0), +(@PATH,20,-7865.629,-1127.583,-265.4558,0,0,0,0,100,0), +(@PATH,21,-7860.879,-1129.083,-264.9558,0,0,0,0,100,0), +(@PATH,22,-7848.629,-1132.583,-264.2058,0,0,0,0,100,0), +(@PATH,23,-7845.879,-1133.333,-263.7058,0,0,0,0,100,0), +(@PATH,24,-7842.879,-1134.333,-262.9558,0,0,0,0,100,0), +(@PATH,25,-7841.129,-1134.833,-262.4558,0,0,0,0,100,0), +(@PATH,26,-7839.129,-1135.583,-261.7058,0,0,0,0,100,0), +(@PATH,27,-7842.737,-1134.684,-262.6912,0,0,0,0,100,0), +(@PATH,28,-7840.737,-1135.184,-262.1912,0,0,0,0,100,0), +(@PATH,29,-7838.737,-1135.684,-261.4412,0,0,0,0,100,0), +(@PATH,30,-7837.487,-1136.184,-261.1912,0,0,0,0,100,0), +(@PATH,31,-7834.487,-1136.184,-260.6912,0,0,0,0,100,0), +(@PATH,32,-7832.737,-1136.184,-260.1912,0,0,0,0,100,0), +(@PATH,33,-7829.737,-1136.434,-259.4412,0,0,0,0,100,0), +(@PATH,34,-7826.987,-1136.684,-258.9412,0,0,0,0,100,0), +(@PATH,35,-7822.987,-1136.934,-258.1912,0,0,0,0,100,0), +(@PATH,36,-7810.537,-1137.969,-257.8543,0,0,0,0,100,0), +(@PATH,37,-7805.787,-1138.969,-258.6043,0,0,0,0,100,0), +(@PATH,38,-7801.787,-1139.719,-259.1043,0,0,0,0,100,0), +(@PATH,39,-7797.787,-1140.469,-259.8543,0,0,0,0,100,0), +(@PATH,40,-7794.787,-1141.219,-260.6043,0,0,0,0,100,0), +(@PATH,41,-7792.037,-1141.719,-261.3543,0,0,0,0,100,0), +(@PATH,42,-7789.287,-1142.219,-262.1043,0,0,0,0,100,0), +(@PATH,43,-7786.287,-1142.719,-262.8543,0,0,0,0,100,0), +(@PATH,44,-7784.287,-1142.969,-263.1043,0,0,0,0,100,0), +(@PATH,45,-7780.537,-1143.969,-263.8543,0,0,0,0,100,0), +(@PATH,46,-7778.537,-1144.219,-264.6043,0,0,0,0,100,0), +(@PATH,47,-7775.537,-1144.969,-265.3543,0,0,0,0,100,0), +(@PATH,48,-7772.537,-1145.469,-266.1043,0,0,0,0,100,0), +(@PATH,49,-7769.537,-1145.969,-266.8543,0,0,0,0,100,0), +(@PATH,50,-7772.382,-1145.724,-266.3574,0,0,0,0,100,0), +(@PATH,51,-7769.382,-1146.224,-267.1074,0,0,0,0,100,0), +(@PATH,52,-7767.132,-1146.724,-267.3574,0,0,0,0,100,0), +(@PATH,53,-7764.132,-1146.724,-268.1074,0,0,0,0,100,0), +(@PATH,54,-7760.132,-1146.724,-268.3574,0,0,0,0,100,0), +(@PATH,55,-7757.132,-1146.974,-269.1074,0,0,0,0,100,0), +(@PATH,56,-7753.382,-1146.974,-269.6074,0,0,0,0,100,0), +(@PATH,57,-7749.382,-1147.224,-270.3574,0,0,0,0,100,0), +(@PATH,58,-7743.382,-1147.474,-270.8574,0,0,0,0,100,0), +(@PATH,59,-7735.382,-1147.724,-270.1074,0,0,0,0,100,0), +(@PATH,60,-7735.271,-1147.674,-270.337,0,0,0,0,100,0), +(@PATH,61,-7733.271,-1147.674,-269.837,0,0,0,0,100,0), +(@PATH,62,-7730.271,-1146.924,-269.337,0,0,0,0,100,0), +(@PATH,63,-7726.521,-1145.674,-268.837,0,0,0,0,100,0), +(@PATH,64,-7713.521,-1141.924,-269.337,0,0,0,0,100,0), +(@PATH,65,-7709.521,-1140.924,-270.087,0,0,0,0,100,0), +(@PATH,66,-7705.771,-1139.674,-270.837,0,0,0,0,100,0), +(@PATH,67,-7699.021,-1137.674,-271.337,0,0,0,0,100,0), +(@PATH,68,-7698.827,-1137.38,-271.3408,0,0,0,0,100,0), +(@PATH,69,-7696.827,-1137.13,-271.5908,0,0,0,0,100,0), +(@PATH,70,-7668.301,-1135.207,-271.3816,0,0,0,0,100,0), +(@PATH,71,-7642.551,-1134.707,-271.8816,0,0,0,0,100,0), +(@PATH,72,-7625.097,-1134.159,-271.7993,0,0,0,0,100,0), +(@PATH,73,-7608.347,-1135.909,-271.2993,0,0,0,0,100,0), +(@PATH,74,-7604.347,-1135.909,-270.5493,0,0,0,0,100,0), +(@PATH,75,-7602.347,-1136.159,-269.7993,0,0,0,0,100,0), +(@PATH,76,-7600.347,-1136.409,-269.2993,0,0,0,0,100,0), +(@PATH,77,-7598.347,-1136.659,-268.5493,0,0,0,0,100,0), +(@PATH,78,-7596.347,-1136.659,-267.5493,0,0,0,0,100,0), +(@PATH,79,-7594.347,-1136.909,-266.7993,0,0,0,0,100,0), +(@PATH,80,-7592.347,-1137.159,-266.0493,0,0,0,0,100,0), +(@PATH,81,-7594.181,-1137.128,-266.5874,0,0,0,0,100,0), +(@PATH,82,-7592.181,-1137.378,-265.8374,0,0,0,0,100,0), +(@PATH,83,-7591.181,-1137.378,-265.5874,0,0,0,0,100,0), +(@PATH,84,-7587.931,-1139.628,-265.0874,0,0,0,0,100,0), +(@PATH,85,-7586.181,-1140.878,-264.5874,0,0,0,0,100,0), +(@PATH,86,-7571.431,-1150.378,-263.0874,0,0,0,0,100,0), +(@PATH,87,-7569.681,-1151.378,-262.3374,0,0,0,0,100,0), +(@PATH,88,-7568.931,-1151.878,-263.0874,0,0,0,0,100,0), +(@PATH,89,-7567.931,-1152.628,-262.3374,0,0,0,0,100,0), +(@PATH,90,-7565.431,-1154.128,-262.8374,0,0,0,0,100,0), +(@PATH,91,-7569.526,-1151.805,-262.1389,0,0,0,0,100,0), +(@PATH,92,-7568.526,-1152.305,-262.8889,0,0,0,0,100,0), +(@PATH,93,-7567.776,-1152.805,-262.3889,0,0,0,0,100,0), +(@PATH,94,-7565.276,-1154.555,-262.8889,0,0,0,0,100,0), +(@PATH,95,-7564.776,-1154.805,-262.8889,0,0,0,0,100,0), +(@PATH,96,-7562.526,-1156.805,-264.3889,0,0,0,0,100,0), +(@PATH,97,-7561.776,-1157.555,-265.3889,0,0,0,0,100,0), +(@PATH,98,-7560.526,-1158.805,-266.3889,0,0,0,0,100,0), +(@PATH,99,-7559.776,-1159.555,-267.1389,0,0,0,0,100,0), +(@PATH,100,-7559.026,-1160.305,-267.3889,0,0,0,0,100,0), +(@PATH,101,-7557.526,-1161.555,-268.1389,0,0,0,0,100,0), +(@PATH,102,-7546.276,-1172.305,-268.6389,0,0,0,0,100,0), +(@PATH,103,-7544.776,-1173.805,-269.1389,0,0,0,0,100,0), +(@PATH,104,-7542.526,-1175.805,-269.8889,0,0,0,0,100,0), +(@PATH,105,-7540.276,-1177.805,-270.3889,0,0,0,0,100,0), +(@PATH,106,-7536.776,-1181.305,-271.1389,0,0,0,0,100,0), +(@PATH,107,-7536.51,-1181.514,-271.1886,0,0,0,0,100,0), +(@PATH,108,-7534.26,-1183.764,-271.1886,0,0,0,0,100,0), +(@PATH,109,-7523.76,-1199.264,-270.9386,0,0,0,0,100,0), +(@PATH,110,-7516.51,-1210.014,-270.4386,0,0,0,0,100,0), +(@PATH,111,-7512.295,-1215.999,-270.5151,0,0,0,0,100,0), +(@PATH,112,-7510.045,-1219.249,-269.7651,0,0,0,0,100,0), +(@PATH,113,-7507.795,-1222.499,-269.5151,0,0,0,0,100,0), +(@PATH,114,-7503.045,-1229.749,-268.7651,0,0,0,0,100,0), +(@PATH,115,-7488.988,-1253.342,-269.3402,0,0,0,0,100,0), +(@PATH,116,-7483.738,-1262.592,-269.8402,0,0,0,0,100,0), +(@PATH,117,-7478.238,-1272.342,-270.3402,0,0,0,0,100,0), +(@PATH,118,-7478.052,-1272.585,-270.6169,0,0,0,0,100,0), +(@PATH,119,-7476.302,-1275.585,-270.6169,0,0,0,0,100,0), +(@PATH,120,-7475.552,-1280.585,-271.1169,0,0,0,0,100,0), +(@PATH,121,-7474.302,-1291.585,-271.6169,0,0,0,0,100,0), +(@PATH,122,-7476.065,-1277.648,-271.0516,0,0,0,0,100,0), +(@PATH,123,-7476.318,-1277.256,-270.7638,0,0,0,0,100,0), +(@PATH,124,-7476.568,-1275.506,-270.5138,0,0,0,0,100,0), +(@PATH,125,-7481.818,-1265.756,-270.0138,0,0,0,0,100,0), +(@PATH,126,-7486.318,-1258.006,-269.2638,0,0,0,0,100,0), +(@PATH,127,-7494.068,-1244.256,-268.7638,0,0,0,0,100,0), +(@PATH,128,-7498.925,-1235.672,-268.6645,0,0,0,0,100,0), +(@PATH,129,-7505.425,-1226.172,-269.1645,0,0,0,0,100,0), +(@PATH,130,-7509.425,-1220.172,-269.9145,0,0,0,0,100,0), +(@PATH,131,-7511.675,-1216.922,-270.4145,0,0,0,0,100,0), +(@PATH,132,-7509.573,-1220.035,-270.1,0,0,0,0,100,0), +(@PATH,133,-7511.823,-1216.785,-270.6,0,0,0,0,100,0), +(@PATH,134,-7512.573,-1215.785,-270.85,0,0,0,0,100,0), +(@PATH,135,-7516.573,-1210.035,-270.35,0,0,0,0,100,0), +(@PATH,136,-7523.073,-1200.285,-270.85,0,0,0,0,100,0), +(@PATH,137,-7531.573,-1187.785,-271.35,0,0,0,0,100,0), +(@PATH,138,-7531.772,-1187.545,-271.3146,0,0,0,0,100,0), +(@PATH,139,-7534.522,-1183.545,-271.3146,0,0,0,0,100,0), +(@PATH,140,-7539.522,-1178.795,-270.5646,0,0,0,0,100,0), +(@PATH,141,-7541.772,-1176.545,-269.8146,0,0,0,0,100,0), +(@PATH,142,-7544.022,-1174.545,-269.3146,0,0,0,0,100,0), +(@PATH,143,-7546.022,-1172.795,-268.5646,0,0,0,0,100,0), +(@PATH,144,-7550.272,-1168.545,-268.0646,0,0,0,0,100,0), +(@PATH,145,-7559.022,-1160.295,-267.3146,0,0,0,0,100,0), +(@PATH,146,-7559.772,-1159.545,-267.0646,0,0,0,0,100,0), +(@PATH,147,-7560.272,-1159.045,-266.3146,0,0,0,0,100,0), +(@PATH,148,-7561.772,-1157.545,-265.3146,0,0,0,0,100,0), +(@PATH,149,-7562.522,-1156.795,-264.3146,0,0,0,0,100,0), +(@PATH,150,-7563.272,-1156.295,-263.5646,0,0,0,0,100,0), +(@PATH,151,-7559.806,-1159.423,-266.8764,0,0,0,0,100,0), +(@PATH,152,-7560.556,-1158.673,-266.3764,0,0,0,0,100,0), +(@PATH,153,-7562.056,-1157.423,-265.3764,0,0,0,0,100,0), +(@PATH,154,-7562.806,-1156.673,-264.3764,0,0,0,0,100,0), +(@PATH,155,-7563.556,-1155.923,-263.6264,0,0,0,0,100,0), +(@PATH,156,-7565.056,-1154.673,-262.8764,0,0,0,0,100,0), +(@PATH,157,-7568.306,-1152.423,-262.3764,0,0,0,0,100,0), +(@PATH,158,-7570.056,-1151.173,-263.1264,0,0,0,0,100,0), +(@PATH,159,-7570.806,-1150.673,-262.1264,0,0,0,0,100,0), +(@PATH,160,-7571.556,-1150.173,-263.1264,0,0,0,0,100,0), +(@PATH,161,-7573.306,-1149.173,-264.1264,0,0,0,0,100,0), +(@PATH,162,-7575.056,-1148.173,-264.8764,0,0,0,0,100,0), +(@PATH,163,-7575.556,-1147.673,-264.1264,0,0,0,0,100,0), +(@PATH,164,-7578.056,-1145.923,-265.1264,0,0,0,0,100,0), +(@PATH,165,-7580.556,-1144.423,-264.6264,0,0,0,0,100,0), +(@PATH,166,-7589.056,-1138.923,-265.3764,0,0,0,0,100,0), +(@PATH,167,-7589.335,-1138.619,-265.4805,0,0,0,0,100,0), +(@PATH,168,-7591.335,-1137.369,-265.7305,0,0,0,0,100,0), +(@PATH,169,-7593.335,-1137.369,-266.4805,0,0,0,0,100,0), +(@PATH,170,-7595.335,-1137.119,-267.2305,0,0,0,0,100,0), +(@PATH,171,-7597.335,-1136.869,-268.2305,0,0,0,0,100,0), +(@PATH,172,-7599.335,-1136.619,-268.7305,0,0,0,0,100,0), +(@PATH,173,-7601.335,-1136.619,-269.4805,0,0,0,0,100,0), +(@PATH,174,-7603.335,-1136.369,-270.2305,0,0,0,0,100,0), +(@PATH,175,-7605.335,-1136.119,-270.7305,0,0,0,0,100,0), +(@PATH,176,-7608.085,-1135.869,-271.4805,0,0,0,0,100,0), +(@PATH,177,-7625.189,-1134.281,-271.7722,0,0,0,0,100,0), +(@PATH,178,-7652.939,-1135.031,-271.5222,0,0,0,0,100,0), +(@PATH,179,-7668.479,-1135.39,-271.192,0,0,0,0,100,0), +(@PATH,180,-7675.479,-1135.89,-271.692,0,0,0,0,100,0), +(@PATH,181,-7696.951,-1137.124,-271.4912,0,0,0,0,100,0), +(@PATH,182,-7702.701,-1138.874,-270.9912,0,0,0,0,100,0), +(@PATH,183,-7707.451,-1140.124,-270.4912,0,0,0,0,100,0), +(@PATH,184,-7710.451,-1141.124,-269.7412,0,0,0,0,100,0), +(@PATH,185,-7713.951,-1142.124,-269.2412,0,0,0,0,100,0), +(@PATH,186,-7717.951,-1143.124,-268.4912,0,0,0,0,100,0), +(@PATH,187,-7729.451,-1146.624,-269.2412,0,0,0,0,100,0), +(@PATH,188,-7729.633,-1146.459,-268.9451,0,0,0,0,100,0), +(@PATH,189,-7733.383,-1147.709,-269.6951,0,0,0,0,100,0), +(@PATH,190,-7737.383,-1147.459,-270.4451,0,0,0,0,100,0), +(@PATH,191,-7752.133,-1146.959,-269.6951,0,0,0,0,100,0), +(@PATH,192,-7756.133,-1146.959,-269.1951,0,0,0,0,100,0), +(@PATH,193,-7761.133,-1146.709,-268.4451,0,0,0,0,100,0), +(@PATH,194,-7764.133,-1146.709,-267.9451,0,0,0,0,100,0), +(@PATH,195,-7764.477,-1146.714,-267.7685,0,0,0,0,100,0), +(@PATH,196,-7767.477,-1146.464,-267.2685,0,0,0,0,100,0), +(@PATH,197,-7770.227,-1145.964,-266.5185,0,0,0,0,100,0), +(@PATH,198,-7773.227,-1145.214,-265.7685,0,0,0,0,100,0), +(@PATH,199,-7776.227,-1144.714,-265.0185,0,0,0,0,100,0), +(@PATH,200,-7779.227,-1144.214,-264.2685,0,0,0,0,100,0), +(@PATH,201,-7782.227,-1143.464,-263.7685,0,0,0,0,100,0), +(@PATH,202,-7784.977,-1142.964,-263.2685,0,0,0,0,100,0), +(@PATH,203,-7786.977,-1142.464,-262.5185,0,0,0,0,100,0), +(@PATH,204,-7789.727,-1142.214,-261.7685,0,0,0,0,100,0), +(@PATH,205,-7792.727,-1141.714,-261.0185,0,0,0,0,100,0), +(@PATH,206,-7795.477,-1140.964,-260.2685,0,0,0,0,100,0), +(@PATH,207,-7799.477,-1140.214,-259.5185,0,0,0,0,100,0), +(@PATH,208,-7802.477,-1139.714,-259.0185,0,0,0,0,100,0), +(@PATH,209,-7806.477,-1138.964,-258.5185,0,0,0,0,100,0), +(@PATH,210,-7806.618,-1138.684,-258.4622,0,0,0,0,100,0), +(@PATH,211,-7810.868,-1137.684,-257.9622,0,0,0,0,100,0), +(@PATH,212,-7824.618,-1136.934,-258.4622,0,0,0,0,100,0), +(@PATH,213,-7827.618,-1136.934,-259.2122,0,0,0,0,100,0), +(@PATH,214,-7830.618,-1136.684,-259.7122,0,0,0,0,100,0), +(@PATH,215,-7833.618,-1136.434,-260.2122,0,0,0,0,100,0), +(@PATH,216,-7836.618,-1136.184,-260.9622,0,0,0,0,100,0), +(@PATH,217,-7836.664,-1136.003,-261.2224,0,0,0,0,100,0), +(@PATH,218,-7837.914,-1136.003,-261.4724,0,0,0,0,100,0), +(@PATH,219,-7840.664,-1135.003,-262.2224,0,0,0,0,100,0), +(@PATH,220,-7843.664,-1134.253,-262.9724,0,0,0,0,100,0), +(@PATH,221,-7845.414,-1133.503,-263.2224,0,0,0,0,100,0), +(@PATH,222,-7847.414,-1133.003,-263.9724,0,0,0,0,100,0), +(@PATH,223,-7849.914,-1132.003,-264.4724,0,0,0,0,100,0), +(@PATH,224,-7862.414,-1128.503,-265.2224,0,0,0,0,100,0), +(@PATH,225,-7862.619,-1128.3,-265.4785,0,0,0,0,100,0), +(@PATH,226,-7865.869,-1127.3,-265.7285,0,0,0,0,100,0), +(@PATH,227,-7870.619,-1125.55,-266.4785,0,0,0,0,100,0), +(@PATH,228,-7873.369,-1124.3,-267.2285,0,0,0,0,100,0), +(@PATH,229,-7875.119,-1123.55,-267.9785,0,0,0,0,100,0), +(@PATH,230,-7877.869,-1122.55,-268.7285,0,0,0,0,100,0), +(@PATH,231,-7880.369,-1121.55,-268.9785,0,0,0,0,100,0), +(@PATH,232,-7883.369,-1120.55,-269.7285,0,0,0,0,100,0), +(@PATH,233,-7886.869,-1119.05,-270.2285,0,0,0,0,100,0), +(@PATH,234,-7890.619,-1117.55,-270.9785,0,0,0,0,100,0), +(@PATH,235,-7895.369,-1115.8,-271.4785,0,0,0,0,100,0), +(@PATH,236,-7895.681,-1115.441,-271.8307,0,0,0,0,100,0), +(@PATH,237,-7897.431,-1114.691,-272.3307,0,0,0,0,100,0), +(@PATH,238,-7900.181,-1114.191,-273.0807,0,0,0,0,100,0), +(@PATH,239,-7903.181,-1113.691,-273.8307,0,0,0,0,100,0), +(@PATH,240,-7905.181,-1113.191,-274.3307,0,0,0,0,100,0), +(@PATH,241,-7910.181,-1112.441,-275.0807,0,0,0,0,100,0), +(@PATH,242,-7915.931,-1111.441,-275.5807,0,0,0,0,100,0), +(@PATH,243,-7925.681,-1109.691,-275.0807,0,0,0,0,100,0), +(@PATH,244,-7930.431,-1108.691,-274.3307,0,0,0,0,100,0); + +-- Pathing for Entry: 38329 'TDB FORMAT' +SET @NPC := 363964; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-7923.021,`position_y`=-894.3676,`position_z`=-273.9178 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7923.021,-894.3676,-273.9178,0,0,0,0,100,0), +(@PATH,2,-7913.271,-895.3676,-273.4178,0,0,0,0,100,0), +(@PATH,3,-7906.804,-896.1759,-273.3248,0,0,0,0,100,0), +(@PATH,4,-7892.573,-894.8742,-273.2148,0,0,0,0,100,0), +(@PATH,5,-7886.823,-890.8742,-272.7148,0,0,0,0,100,0), +(@PATH,6,-7884.573,-889.1242,-271.9648,0,0,0,0,100,0), +(@PATH,7,-7882.823,-888.3742,-271.4648,0,0,0,0,100,0), +(@PATH,8,-7881.073,-887.3742,-270.9648,0,0,0,0,100,0), +(@PATH,9,-7878.573,-885.6242,-270.4648,0,0,0,0,100,0), +(@PATH,10,-7876.073,-883.8742,-269.7148,0,0,0,0,100,0), +(@PATH,11,-7873.608,-882.02,-268.9651,0,0,0,0,100,0), +(@PATH,12,-7870.608,-878.02,-268.4651,0,0,0,0,100,0), +(@PATH,13,-7867.358,-873.27,-267.7151,0,0,0,0,100,0), +(@PATH,14,-7865.608,-871.02,-267.2151,0,0,0,0,100,0), +(@PATH,15,-7862.237,-866.3293,-266.6736,0,0,0,0,100,0), +(@PATH,16,-7857.987,-857.5793,-267.4236,0,0,0,0,100,0), +(@PATH,17,-7857.726,-857.3749,-267.6118,0,0,0,0,100,0), +(@PATH,18,-7857.476,-856.6249,-267.6118,0,0,0,0,100,0), +(@PATH,19,-7856.976,-854.6249,-268.3618,0,0,0,0,100,0), +(@PATH,20,-7855.976,-851.8749,-268.8618,0,0,0,0,100,0), +(@PATH,21,-7855.226,-848.1249,-269.3618,0,0,0,0,100,0), +(@PATH,22,-7854.226,-844.3749,-269.8618,0,0,0,0,100,0), +(@PATH,23,-7852.114,-836.459,-270.4768,0,0,0,0,100,0), +(@PATH,24,-7852.864,-827.709,-271.2268,0,0,0,0,100,0), +(@PATH,25,-7853.114,-823.959,-271.4768,0,0,0,0,100,0), +(@PATH,26,-7853.082,-823.6227,-271.734,0,0,0,0,100,0), +(@PATH,27,-7853.332,-820.6227,-272.234,0,0,0,0,100,0), +(@PATH,28,-7855.332,-817.1227,-272.484,0,0,0,0,100,0), +(@PATH,29,-7859.596,-808.8323,-272.9627,0,0,0,0,100,0), +(@PATH,30,-7866.096,-807.0823,-273.7127,0,0,0,0,100,0), +(@PATH,31,-7868.846,-806.0823,-274.2127,0,0,0,0,100,0), +(@PATH,32,-7876.887,-803.2471,-273.8707,0,0,0,0,100,0), +(@PATH,33,-7881.887,-802.7471,-273.6207,0,0,0,0,100,0), +(@PATH,34,-7888.637,-801.9971,-273.1207,0,0,0,0,100,0), +(@PATH,35,-7888.981,-801.7701,-272.8314,0,0,0,0,100,0), +(@PATH,36,-7891.481,-801.5201,-272.3314,0,0,0,0,100,0), +(@PATH,37,-7895.981,-803.5201,-272.0814,0,0,0,0,100,0), +(@PATH,38,-7905.981,-807.2701,-271.5814,0,0,0,0,100,0), +(@PATH,39,-7908.731,-808.5201,-270.8314,0,0,0,0,100,0), +(@PATH,40,-7909.084,-808.6144,-270.4971,0,0,0,0,100,0), +(@PATH,41,-7909.584,-808.8644,-270.4971,0,0,0,0,100,0), +(@PATH,42,-7910.834,-811.6144,-269.9971,0,0,0,0,100,0), +(@PATH,43,-7913.334,-816.8644,-269.2471,0,0,0,0,100,0), +(@PATH,44,-7914.474,-818.7842,-269.3693,0,0,0,0,100,0), +(@PATH,45,-7920.224,-828.0342,-270.1193,0,0,0,0,100,0), +(@PATH,46,-7921.474,-830.5342,-270.6193,0,0,0,0,100,0), +(@PATH,47,-7922.724,-832.0342,-271.3693,0,0,0,0,100,0), +(@PATH,48,-7928.835,-841.8446,-271.2889,0,0,0,0,100,0), +(@PATH,49,-7930.585,-842.3446,-270.7889,0,0,0,0,100,0), +(@PATH,50,-7932.585,-842.8446,-270.2889,0,0,0,0,100,0), +(@PATH,51,-7938.335,-843.8446,-269.5389,0,0,0,0,100,0), +(@PATH,52,-7950.521,-847.0728,-269.4813,0,0,0,0,100,0), +(@PATH,53,-7968.771,-856.3228,-268.9813,0,0,0,0,100,0), +(@PATH,54,-7972.521,-858.0728,-268.2313,0,0,0,0,100,0), +(@PATH,55,-7972.743,-858.4626,-268.2517,0,0,0,0,100,0), +(@PATH,56,-7975.743,-859.9626,-268.0017,0,0,0,0,100,0), +(@PATH,57,-7978.743,-860.4626,-268.5017,0,0,0,0,100,0), +(@PATH,58,-7982.743,-860.7126,-269.0017,0,0,0,0,100,0), +(@PATH,59,-7997.697,-863.4493,-269.0331,0,0,0,0,100,0), +(@PATH,60,-8004.197,-864.6993,-268.2831,0,0,0,0,100,0), +(@PATH,61,-8005.197,-864.6993,-267.2831,0,0,0,0,100,0), +(@PATH,62,-8006.197,-864.9493,-265.7831,0,0,0,0,100,0), +(@PATH,63,-8007.197,-865.1993,-264.2831,0,0,0,0,100,0), +(@PATH,64,-8008.197,-865.4493,-263.2831,0,0,0,0,100,0), +(@PATH,65,-8008.578,-865.6191,-263.1956,0,0,0,0,100,0), +(@PATH,66,-8009.328,-865.8691,-262.4456,0,0,0,0,100,0), +(@PATH,67,-8010.578,-869.6191,-263.1956,0,0,0,0,100,0), +(@PATH,68,-8010.828,-870.3691,-265.4456,0,0,0,0,100,0), +(@PATH,69,-8011.328,-871.3691,-266.6956,0,0,0,0,100,0), +(@PATH,70,-8011.578,-872.3691,-267.4456,0,0,0,0,100,0), +(@PATH,71,-8012.328,-875.1191,-268.1956,0,0,0,0,100,0), +(@PATH,72,-8015.685,-884.3976,-268.8216,0,0,0,0,100,0), +(@PATH,73,-8009.685,-884.6476,-269.3216,0,0,0,0,100,0), +(@PATH,74,-7988.964,-885.8844,-269.5424,0,0,0,0,100,0), +(@PATH,75,-7986.214,-886.6344,-270.2924,0,0,0,0,100,0), +(@PATH,76,-7983.214,-887.3844,-271.5424,0,0,0,0,100,0), +(@PATH,77,-7973.964,-889.8844,-272.7924,0,0,0,0,100,0), +(@PATH,78,-7970.083,-890.9946,-273.1865,0,0,0,0,100,0), +(@PATH,79,-7955.333,-892.2446,-273.6865,0,0,0,0,100,0), +(@PATH,80,-7951.333,-892.4946,-274.1865,0,0,0,0,100,0), +(@PATH,81,-7943.322,-893.454,-274.4747,0,0,0,0,100,0); + +-- Pathing for Entry: 6516 'TDB FORMAT' +SET @NPC := 365060; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6396.739,`position_y`=-1950.034,`position_z`=-261.3431 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6396.739,-1950.034,-261.3431,0,0,0,0,100,0), +(@PATH,2,-6396.739,-1948.784,-261.5931,0,0,0,0,100,0), +(@PATH,3,-6396.739,-1943.034,-261.8431,0,0,0,0,100,0), +(@PATH,4,-6396.489,-1938.284,-262.3431,0,0,0,0,100,0), +(@PATH,5,-6396.489,-1934.284,-262.5931,0,0,0,0,100,0), +(@PATH,6,-6396.489,-1931.034,-262.8431,0,0,0,0,100,0), +(@PATH,7,-6396.489,-1929.534,-263.0931,0,0,0,0,100,0), +(@PATH,8,-6396.239,-1925.034,-263.8431,0,0,0,0,100,0), +(@PATH,9,-6396.174,-1919.325,-263.4056,0,0,0,0,100,0), +(@PATH,10,-6391.924,-1915.825,-261.9056,0,0,0,0,100,0), +(@PATH,11,-6389.424,-1913.575,-260.9056,0,0,0,0,100,0), +(@PATH,12,-6385.674,-1910.575,-258.9056,0,0,0,0,100,0), +(@PATH,13,-6383.924,-1909.075,-257.6556,0,0,0,0,100,0), +(@PATH,14,-6379.471,-1905.161,-255.6362,0,0,0,0,100,0), +(@PATH,15,-6377.721,-1904.661,-254.8862,0,0,0,0,100,0), +(@PATH,16,-6373.471,-1903.161,-254.6362,0,0,0,0,100,0), +(@PATH,17,-6371.221,-1902.411,-254.6362,0,0,0,0,100,0), +(@PATH,18,-6367.971,-1901.161,-254.8862,0,0,0,0,100,0), +(@PATH,19,-6362.816,-1899.21,-255.5324,0,0,0,0,100,0), +(@PATH,20,-6361.566,-1899.46,-255.7824,0,0,0,0,100,0), +(@PATH,21,-6356.566,-1899.71,-256.7824,0,0,0,0,100,0), +(@PATH,22,-6354.316,-1899.96,-257.5324,0,0,0,0,100,0), +(@PATH,23,-6351.816,-1900.21,-257.7824,0,0,0,0,100,0), +(@PATH,24,-6350.566,-1900.46,-258.2824,0,0,0,0,100,0), +(@PATH,25,-6349.316,-1900.46,-258.5324,0,0,0,0,100,0), +(@PATH,26,-6345.111,-1900.406,-260.3553,0,0,0,0,100,0), +(@PATH,27,-6342.111,-1899.406,-261.1053,0,0,0,0,100,0), +(@PATH,28,-6341.111,-1898.906,-261.3553,0,0,0,0,100,0), +(@PATH,29,-6339.111,-1898.156,-261.6053,0,0,0,0,100,0), +(@PATH,30,-6336.861,-1897.156,-262.1053,0,0,0,0,100,0), +(@PATH,31,-6334.611,-1896.406,-262.6053,0,0,0,0,100,0), +(@PATH,32,-6331.611,-1895.406,-263.1053,0,0,0,0,100,0), +(@PATH,33,-6329.361,-1894.406,-263.1053,0,0,0,0,100,0), +(@PATH,34,-6325.861,-1893.156,-263.3553,0,0,0,0,100,0), +(@PATH,35,-6325.539,-1893.128,-263.5601,0,0,0,0,100,0), +(@PATH,36,-6325.039,-1892.878,-263.5601,0,0,0,0,100,0), +(@PATH,37,-6324.789,-1894.128,-263.8101,0,0,0,0,100,0), +(@PATH,38,-6323.039,-1901.128,-265.3101,0,0,0,0,100,0), +(@PATH,39,-6322.789,-1902.378,-265.5601,0,0,0,0,100,0), +(@PATH,40,-6321.789,-1907.628,-267.0601,0,0,0,0,100,0), +(@PATH,41,-6319.039,-1918.378,-270.0601,0,0,0,0,100,0), +(@PATH,42,-6318.539,-1920.628,-270.5601,0,0,0,0,100,0), +(@PATH,43,-6317.478,-1924.712,-271.5769,0,0,0,0,100,0), +(@PATH,44,-6318.478,-1926.962,-272.0769,0,0,0,0,100,0), +(@PATH,45,-6319.478,-1929.462,-272.0769,0,0,0,0,100,0), +(@PATH,46,-6320.478,-1931.962,-272.3269,0,0,0,0,100,0), +(@PATH,47,-6321.978,-1934.962,-272.3269,0,0,0,0,100,0), +(@PATH,48,-6322.478,-1935.962,-272.3269,0,0,0,0,100,0), +(@PATH,49,-6323.728,-1939.712,-272.0769,0,0,0,0,100,0), +(@PATH,50,-6325.228,-1942.962,-272.3269,0,0,0,0,100,0), +(@PATH,51,-6326.478,-1945.712,-272.3269,0,0,0,0,100,0), +(@PATH,52,-6326.715,-1945.844,-272.7468,0,0,0,0,100,0), +(@PATH,53,-6326.965,-1946.344,-272.7468,0,0,0,0,100,0), +(@PATH,54,-6329.715,-1949.344,-272.9968,0,0,0,0,100,0), +(@PATH,55,-6331.465,-1951.094,-273.4968,0,0,0,0,100,0), +(@PATH,56,-6334.465,-1954.094,-273.7468,0,0,0,0,100,0), +(@PATH,57,-6335.715,-1955.344,-273.7468,0,0,0,0,100,0), +(@PATH,58,-6336.465,-1956.094,-273.7468,0,0,0,0,100,0), +(@PATH,59,-6337.465,-1957.344,-273.7468,0,0,0,0,100,0), +(@PATH,60,-6336.678,-1956.094,-273.7548,0,0,0,0,100,0), +(@PATH,61,-6337.928,-1957.344,-273.7548,0,0,0,0,100,0), +(@PATH,62,-6338.678,-1958.094,-273.7548,0,0,0,0,100,0), +(@PATH,63,-6339.678,-1956.344,-273.7548,0,0,0,0,100,0), +(@PATH,64,-6340.928,-1952.594,-273.2548,0,0,0,0,100,0), +(@PATH,65,-6341.678,-1950.844,-272.7548,0,0,0,0,100,0), +(@PATH,66,-6342.178,-1949.844,-272.7548,0,0,0,0,100,0), +(@PATH,67,-6343.928,-1946.094,-271.7548,0,0,0,0,100,0), +(@PATH,68,-6344.428,-1944.844,-271.5048,0,0,0,0,100,0), +(@PATH,69,-6344.67,-1944.494,-271.2828,0,0,0,0,100,0), +(@PATH,70,-6345.67,-1942.244,-270.5328,0,0,0,0,100,0), +(@PATH,71,-6346.67,-1939.244,-269.5328,0,0,0,0,100,0), +(@PATH,72,-6348.42,-1933.244,-268.2828,0,0,0,0,100,0), +(@PATH,73,-6349.17,-1931.244,-267.5328,0,0,0,0,100,0), +(@PATH,74,-6352.26,-1921.839,-264.785,0,0,0,0,100,0), +(@PATH,75,-6352.26,-1919.589,-264.285,0,0,0,0,100,0), +(@PATH,76,-6352.26,-1918.589,-264.035,0,0,0,0,100,0), +(@PATH,77,-6352.51,-1911.339,-261.535,0,0,0,0,100,0), +(@PATH,78,-6352.653,-1911.145,-261.4971,0,0,0,0,100,0), +(@PATH,79,-6352.653,-1918.395,-263.7471,0,0,0,0,100,0), +(@PATH,80,-6352.403,-1919.645,-264.2471,0,0,0,0,100,0), +(@PATH,81,-6352.123,-1920.049,-264.5891,0,0,0,0,100,0), +(@PATH,82,-6352.123,-1922.049,-265.0891,0,0,0,0,100,0), +(@PATH,83,-6349.123,-1931.049,-267.5891,0,0,0,0,100,0), +(@PATH,84,-6348.623,-1933.049,-268.0891,0,0,0,0,100,0), +(@PATH,85,-6346.623,-1939.299,-269.5891,0,0,0,0,100,0), +(@PATH,86,-6346.409,-1939.393,-269.712,0,0,0,0,100,0), +(@PATH,87,-6345.409,-1942.393,-270.712,0,0,0,0,100,0), +(@PATH,88,-6344.409,-1944.893,-271.462,0,0,0,0,100,0), +(@PATH,89,-6343.909,-1946.143,-271.712,0,0,0,0,100,0), +(@PATH,90,-6342.409,-1949.643,-272.712,0,0,0,0,100,0), +(@PATH,91,-6341.909,-1950.893,-272.712,0,0,0,0,100,0), +(@PATH,92,-6341.159,-1952.393,-273.212,0,0,0,0,100,0), +(@PATH,93,-6339.659,-1956.393,-273.712,0,0,0,0,100,0), +(@PATH,94,-6339.412,-1956.295,-273.8519,0,0,0,0,100,0), +(@PATH,95,-6338.412,-1958.295,-273.8519,0,0,0,0,100,0), +(@PATH,96,-6337.662,-1957.295,-273.8519,0,0,0,0,100,0), +(@PATH,97,-6336.412,-1956.295,-273.8519,0,0,0,0,100,0), +(@PATH,98,-6335.662,-1955.545,-273.6019,0,0,0,0,100,0), +(@PATH,99,-6334.412,-1954.295,-273.6019,0,0,0,0,100,0), +(@PATH,100,-6331.662,-1950.795,-273.3519,0,0,0,0,100,0), +(@PATH,101,-6329.912,-1949.545,-272.8519,0,0,0,0,100,0), +(@PATH,102,-6327.412,-1946.795,-272.6019,0,0,0,0,100,0), +(@PATH,103,-6327.017,-1946.652,-272.4163,0,0,0,0,100,0), +(@PATH,104,-6326.767,-1946.152,-272.4163,0,0,0,0,100,0), +(@PATH,105,-6325.267,-1942.902,-272.4163,0,0,0,0,100,0), +(@PATH,106,-6323.767,-1939.652,-272.1663,0,0,0,0,100,0), +(@PATH,107,-6322.517,-1936.152,-272.4163,0,0,0,0,100,0), +(@PATH,108,-6322.017,-1935.152,-272.4163,0,0,0,0,100,0), +(@PATH,109,-6320.517,-1931.902,-272.4163,0,0,0,0,100,0), +(@PATH,110,-6319.517,-1929.402,-272.1663,0,0,0,0,100,0), +(@PATH,111,-6318.517,-1927.152,-271.9163,0,0,0,0,100,0), +(@PATH,112,-6317.438,-1924.449,-271.4538,0,0,0,0,100,0), +(@PATH,113,-6318.438,-1920.449,-270.4538,0,0,0,0,100,0), +(@PATH,114,-6318.938,-1918.449,-269.9538,0,0,0,0,100,0), +(@PATH,115,-6321.688,-1907.699,-267.2038,0,0,0,0,100,0), +(@PATH,116,-6322.688,-1902.199,-265.4538,0,0,0,0,100,0), +(@PATH,117,-6322.938,-1901.199,-265.2038,0,0,0,0,100,0), +(@PATH,118,-6324.688,-1894.199,-263.7038,0,0,0,0,100,0), +(@PATH,119,-6325.016,-1894.211,-263.6019,0,0,0,0,100,0), +(@PATH,120,-6325.266,-1892.961,-263.3519,0,0,0,0,100,0), +(@PATH,121,-6329.516,-1894.461,-263.3519,0,0,0,0,100,0), +(@PATH,122,-6331.766,-1895.461,-263.1019,0,0,0,0,100,0), +(@PATH,123,-6334.516,-1896.461,-262.6019,0,0,0,0,100,0), +(@PATH,124,-6336.766,-1897.461,-262.3519,0,0,0,0,100,0), +(@PATH,125,-6339.266,-1898.211,-261.8519,0,0,0,0,100,0), +(@PATH,126,-6341.016,-1898.961,-261.3519,0,0,0,0,100,0), +(@PATH,127,-6342.016,-1899.211,-261.1019,0,0,0,0,100,0), +(@PATH,128,-6345.286,-1900.41,-259.9703,0,0,0,0,100,0), +(@PATH,129,-6349.286,-1900.16,-258.4703,0,0,0,0,100,0), +(@PATH,130,-6350.536,-1900.16,-258.4703,0,0,0,0,100,0), +(@PATH,131,-6351.786,-1899.91,-257.9703,0,0,0,0,100,0), +(@PATH,132,-6354.036,-1899.66,-257.4703,0,0,0,0,100,0), +(@PATH,133,-6356.536,-1899.66,-256.7203,0,0,0,0,100,0), +(@PATH,134,-6361.536,-1899.41,-255.7203,0,0,0,0,100,0), +(@PATH,135,-6361.813,-1899.301,-255.6028,0,0,0,0,100,0), +(@PATH,136,-6362.813,-1899.301,-255.6028,0,0,0,0,100,0), +(@PATH,137,-6368.063,-1901.051,-254.8528,0,0,0,0,100,0), +(@PATH,138,-6370.813,-1902.301,-254.6028,0,0,0,0,100,0), +(@PATH,139,-6373.563,-1903.051,-254.6028,0,0,0,0,100,0), +(@PATH,140,-6377.563,-1904.551,-255.1028,0,0,0,0,100,0), +(@PATH,141,-6378.813,-1905.051,-255.6028,0,0,0,0,100,0), +(@PATH,142,-6377.99,-1904.83,-254.9021,0,0,0,0,100,0), +(@PATH,143,-6379.24,-1905.33,-255.4021,0,0,0,0,100,0), +(@PATH,144,-6379.74,-1905.58,-255.6521,0,0,0,0,100,0), +(@PATH,145,-6383.99,-1909.08,-257.6521,0,0,0,0,100,0), +(@PATH,146,-6385.74,-1910.33,-258.6521,0,0,0,0,100,0), +(@PATH,147,-6389.49,-1913.58,-260.9021,0,0,0,0,100,0), +(@PATH,148,-6391.74,-1915.58,-261.6521,0,0,0,0,100,0), +(@PATH,149,-6396.314,-1919.5,-263.3376,0,0,0,0,100,0), +(@PATH,150,-6396.314,-1925,-263.8376,0,0,0,0,100,0), +(@PATH,151,-6396.314,-1929.5,-263.0876,0,0,0,0,100,0), +(@PATH,152,-6396.564,-1931,-262.8376,0,0,0,0,100,0), +(@PATH,153,-6396.564,-1934,-262.3376,0,0,0,0,100,0), +(@PATH,154,-6396.564,-1938.25,-262.0876,0,0,0,0,100,0), +(@PATH,155,-6396.814,-1943,-262.0876,0,0,0,0,100,0), +(@PATH,156,-6396.814,-1948.75,-261.5876,0,0,0,0,100,0), +(@PATH,157,-6396.888,-1949.047,-261.4266,0,0,0,0,100,0), +(@PATH,158,-6396.888,-1950.297,-261.1766,0,0,0,0,100,0), +(@PATH,159,-6394.388,-1952.797,-260.6766,0,0,0,0,100,0), +(@PATH,160,-6392.388,-1954.797,-260.1766,0,0,0,0,100,0), +(@PATH,161,-6390.888,-1956.297,-259.9266,0,0,0,0,100,0), +(@PATH,162,-6388.388,-1959.047,-259.4266,0,0,0,0,100,0), +(@PATH,163,-6382.888,-1964.547,-258.4266,0,0,0,0,100,0), +(@PATH,164,-6382.92,-1964.71,-258.5191,0,0,0,0,100,0), +(@PATH,165,-6388.42,-1958.96,-259.5191,0,0,0,0,100,0), +(@PATH,166,-6390.92,-1956.46,-259.7691,0,0,0,0,100,0), +(@PATH,167,-6392.42,-1954.96,-260.2691,0,0,0,0,100,0), +(@PATH,168,-6394.42,-1952.71,-260.5191,0,0,0,0,100,0); + +-- Pathing for Entry: 9622 'TDB FORMAT' +SET @NPC := 365071; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6323.988,`position_y`=-1943.194,`position_z`=-272.749 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6323.988,-1943.194,-272.749,0,0,0,0,100,0), +(@PATH,2,-6326.488,-1945.944,-272.749,0,0,0,0,100,0), +(@PATH,3,-6327.238,-1946.944,-272.749,0,0,0,0,100,0), +(@PATH,4,-6329.738,-1949.694,-272.999,0,0,0,0,100,0), +(@PATH,5,-6331.238,-1951.194,-273.499,0,0,0,0,100,0), +(@PATH,6,-6334.488,-1954.944,-273.749,0,0,0,0,100,0), +(@PATH,7,-6335.488,-1955.694,-273.749,0,0,0,0,100,0), +(@PATH,8,-6337.238,-1957.944,-273.999,0,0,0,0,100,0), +(@PATH,9,-6339.381,-1960.122,-273.9489,0,0,0,0,100,0), +(@PATH,10,-6340.631,-1961.872,-274.1989,0,0,0,0,100,0), +(@PATH,11,-6341.381,-1963.372,-274.4489,0,0,0,0,100,0), +(@PATH,12,-6342.631,-1965.372,-274.9489,0,0,0,0,100,0), +(@PATH,13,-6343.131,-1966.622,-274.9489,0,0,0,0,100,0), +(@PATH,14,-6345.381,-1969.872,-275.4489,0,0,0,0,100,0), +(@PATH,15,-6346.131,-1971.122,-275.4489,0,0,0,0,100,0), +(@PATH,16,-6347.631,-1973.872,-275.6989,0,0,0,0,100,0), +(@PATH,17,-6346.274,-1971.433,-275.7051,0,0,0,0,100,0), +(@PATH,18,-6348.024,-1974.183,-275.7051,0,0,0,0,100,0), +(@PATH,19,-6348.274,-1974.683,-275.7051,0,0,0,0,100,0), +(@PATH,20,-6351.524,-1977.433,-275.7051,0,0,0,0,100,0), +(@PATH,21,-6356.024,-1981.683,-275.7051,0,0,0,0,100,0), +(@PATH,22,-6361.774,-1986.433,-275.7051,0,0,0,0,100,0), +(@PATH,23,-6365.051,-1989.479,-275.3253,0,0,0,0,100,0), +(@PATH,24,-6369.051,-1992.729,-274.8253,0,0,0,0,100,0), +(@PATH,25,-6372.801,-1995.729,-273.5753,0,0,0,0,100,0), +(@PATH,26,-6375.801,-1998.229,-272.3253,0,0,0,0,100,0), +(@PATH,27,-6377.801,-1999.729,-271.5753,0,0,0,0,100,0), +(@PATH,28,-6381.051,-2002.479,-270.8253,0,0,0,0,100,0), +(@PATH,29,-6385.355,-2006.063,-269.4599,0,0,0,0,100,0), +(@PATH,30,-6387.355,-2007.813,-268.9599,0,0,0,0,100,0), +(@PATH,31,-6390.855,-2010.563,-267.4599,0,0,0,0,100,0), +(@PATH,32,-6391.605,-2011.063,-267.2099,0,0,0,0,100,0), +(@PATH,33,-6395.355,-2014.313,-265.4599,0,0,0,0,100,0), +(@PATH,34,-6396.355,-2014.813,-265.2099,0,0,0,0,100,0), +(@PATH,35,-6396.15,-2014.967,-265.2227,0,0,0,0,100,0), +(@PATH,36,-6395.4,-2014.217,-265.4727,0,0,0,0,100,0), +(@PATH,37,-6391.65,-2011.217,-267.2227,0,0,0,0,100,0), +(@PATH,38,-6390.9,-2010.467,-267.4727,0,0,0,0,100,0), +(@PATH,39,-6387.4,-2007.717,-268.9727,0,0,0,0,100,0), +(@PATH,40,-6385.9,-2006.717,-269.2227,0,0,0,0,100,0), +(@PATH,41,-6387.032,-2007.393,-269.1848,0,0,0,0,100,0), +(@PATH,42,-6385.782,-2006.393,-269.4348,0,0,0,0,100,0), +(@PATH,43,-6385.032,-2005.893,-269.6848,0,0,0,0,100,0), +(@PATH,44,-6381.032,-2002.643,-270.9348,0,0,0,0,100,0), +(@PATH,45,-6377.782,-1999.893,-271.6848,0,0,0,0,100,0), +(@PATH,46,-6376.032,-1998.393,-272.1848,0,0,0,0,100,0), +(@PATH,47,-6372.782,-1995.893,-273.4348,0,0,0,0,100,0), +(@PATH,48,-6369.032,-1992.893,-274.6848,0,0,0,0,100,0), +(@PATH,49,-6364.698,-1989.162,-275.5084,0,0,0,0,100,0), +(@PATH,50,-6361.698,-1986.412,-275.7584,0,0,0,0,100,0), +(@PATH,51,-6356.448,-1981.912,-275.7584,0,0,0,0,100,0), +(@PATH,52,-6351.448,-1977.662,-275.7584,0,0,0,0,100,0), +(@PATH,53,-6347.998,-1974.638,-275.7075,0,0,0,0,100,0), +(@PATH,54,-6345.998,-1971.138,-275.4575,0,0,0,0,100,0), +(@PATH,55,-6345.248,-1969.888,-275.2075,0,0,0,0,100,0), +(@PATH,56,-6343.498,-1966.638,-274.9575,0,0,0,0,100,0), +(@PATH,57,-6342.498,-1965.138,-274.9575,0,0,0,0,100,0), +(@PATH,58,-6341.498,-1963.388,-274.4575,0,0,0,0,100,0), +(@PATH,59,-6340.498,-1961.888,-274.2075,0,0,0,0,100,0), +(@PATH,60,-6339.748,-1960.638,-273.9575,0,0,0,0,100,0), +(@PATH,61,-6340.192,-1961.599,-273.8857,0,0,0,0,100,0), +(@PATH,62,-6339.442,-1960.349,-273.8857,0,0,0,0,100,0), +(@PATH,63,-6339.192,-1959.849,-273.8857,0,0,0,0,100,0), +(@PATH,64,-6337.192,-1957.849,-273.8857,0,0,0,0,100,0), +(@PATH,65,-6335.942,-1956.349,-273.8857,0,0,0,0,100,0), +(@PATH,66,-6334.942,-1955.349,-273.6357,0,0,0,0,100,0), +(@PATH,67,-6331.192,-1951.599,-273.6357,0,0,0,0,100,0), +(@PATH,68,-6329.942,-1949.849,-272.8857,0,0,0,0,100,0), +(@PATH,69,-6327.442,-1947.099,-272.6357,0,0,0,0,100,0), +(@PATH,70,-6326.442,-1946.099,-272.6357,0,0,0,0,100,0), +(@PATH,71,-6323.942,-1943.349,-272.6357,0,0,0,0,100,0), +(@PATH,72,-6322.192,-1941.349,-272.6357,0,0,0,0,100,0), +(@PATH,73,-6323.988,-1943.194,-272.749,0,0,0,0,100,0), +(@PATH,74,-6326.488,-1945.944,-272.749,0,0,0,0,100,0), +(@PATH,75,-6327.238,-1946.944,-272.749,0,0,0,0,100,0), +(@PATH,76,-6329.738,-1949.694,-272.999,0,0,0,0,100,0), +(@PATH,77,-6331.238,-1951.194,-273.499,0,0,0,0,100,0), +(@PATH,78,-6334.488,-1954.944,-273.749,0,0,0,0,100,0), +(@PATH,79,-6335.488,-1955.694,-273.749,0,0,0,0,100,0), +(@PATH,80,-6337.238,-1957.944,-273.999,0,0,0,0,100,0), +(@PATH,81,-6337.466,-1958.152,-274.1649,0,0,0,0,100,0), +(@PATH,82,-6339.466,-1960.152,-273.9149,0,0,0,0,100,0), +(@PATH,83,-6340.466,-1961.902,-274.1649,0,0,0,0,100,0), +(@PATH,84,-6341.466,-1963.402,-274.6649,0,0,0,0,100,0), +(@PATH,85,-6342.466,-1965.152,-274.9149,0,0,0,0,100,0), +(@PATH,86,-6343.216,-1966.402,-274.9149,0,0,0,0,100,0), +(@PATH,87,-6345.216,-1969.902,-275.4149,0,0,0,0,100,0), +(@PATH,88,-6346.216,-1971.152,-275.4149,0,0,0,0,100,0), +(@PATH,89,-6347.716,-1973.902,-275.6649,0,0,0,0,100,0); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (38307,38237,6511,44598,6517,9999,6508,10583,38354,51525,28092,6519,6518,9623,6527,11701,34158,6551,6554,38329,6503,38373,9167,6509,6512,9600,49844,6510); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES +(49844, 0, 0x3000000, 0x1, ''), -- 49844 +(6510, 0, 0x0, 0x1, '14111'), -- 6510 - 14111 +(9600, 0, 0x3000000, 0x1, ''), -- 9600 +(6512, 0, 0x0, 0x1, '14111'), -- 6512 - 14111 +(6509, 0, 0x0, 0x1, '14111'), -- 6509 - 14111 +(9167, 0, 0x0, 0x1, '8876'), -- 9167 - 8876 +(6511, 0, 0x0, 0x1, '14111'), -- 6511 - 14111 +(38237, 0, 0x10000, 0x1, '71499'), -- 38237 - 71499 +(38373, 0, 0x10000, 0x1, '71499'), -- 38373 - 71499 +(6503, 0, 0x0, 0x1, '14104'), -- 6503 - 14104 +(38329, 6473, 0x0, 0x1, ''), -- 38329 +(6554, 0, 0x0, 0x1, '8601'), -- 6554 - 8601 +(6551, 0, 0x0, 0x1, '3616'), -- 6551 - 3616 +(34158, 0, 0x0, 0x1, '14108'), -- 34158 - 14108 +(11701, 29102, 0x0, 0x101, ''), -- 11701 +(6527, 0, 0x0, 0x1, '14178 14796'), -- 6527 - 14178, 14796 +(9623, 0, 0x7, 0x1, ''), -- 9623 +(6518, 0, 0x0, 0x1, '14178 14796'), -- 6518 - 14178, 14796 +(6519, 0, 0x0, 0x1, '14178 14796'), -- 6519 - 14178, 14796 +(28092, 0, 0x0, 0x1, '16245'), -- 28092 - 16245 +(51525, 0, 0x0, 0x101, ''), -- 51525 +(38354, 0, 0x0, 0x1, '71989'), -- 38354 - 71989 +(10583, 0, 0x0, 0x101, ''), -- 10583 +(6508, 0, 0x0, 0x1, '14108'), -- 6508 - 14108 +(9999, 0, 0x7, 0x1, ''), -- 9999 +(6517, 0, 0x0, 0x1, '14178 14796'), -- 6517 - 14178, 14796 +(38307, 0, 0x0, 0x1, '14178 14796'), -- 38307 - 14178, 14796 +(44598, 0, 0x9, 0x1, ''); -- 44598 +-- corrections +DELETE FROM `creature_template_addon` WHERE `entry`=6516; diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_18_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_18_01_world.sql new file mode 100644 index 00000000000..92fc785b72d --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_18_01_world.sql @@ -0,0 +1,106 @@ +-- complete quest related stuff in silithus +-- noogle lies on the ground +DELETE FROM `creature_addon` WHERE `guid`=362561; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(362561,0,0,3,1,0, ''); + +UPDATE `creature_template` SET `gossip_menu_id`=6687 WHERE `entry`=15612; +DELETE FROM `gossip_menu` WHERE `entry`=6687; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (6687, 8059); + +-- Beetix Ficklespragg SAI +SET @ENTRY := 15189; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,20,0,100,0,8278,0,0,0,1,0,0,0,0,0,0,19,15190,20,0,0,0,0,0,"Beetix Ficklespragg - On Quest 'Noggle's Last Hope' Finished - Say Line 0"), +(@ENTRY,0,1,0,1,0,100,0,5000,5000,20000,20000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Beetix Ficklespragg - Out of Combat - Say Line 0"); + +-- Noggle Ficklespragg SAI +SET @ENTRY := 15190; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,20,0,100,0,8282,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Noggle Ficklespragg - On Quest 'Noggle's Lost Satchel' Finished - Say Line 1"); + +DELETE FROM `creature_text` WHERE `entry` IN (15190, 15189); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(15190, 0, 0, 'Yes! I\'m cured! I\'m cure... whoa, got up too fast!', 12, 0, 100, 0, 0, 0, 10675, 0, ''), +(15190, 1, 0, 'Thanks for finding my reagents! *yawn* That poison\'s made me... a bit tired...', 12, 0, 100, 0, 0, 0, 10676, 0, ''), +(15189, 0, 0, 'You were always the troublemaker in the family, Noggle. Always!', 12, 0, 100, 0, 0, 0, 10751, 0, ''); + +-- Commander Mar'alith SAI +SET @ENTRY := 15181; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,19,0,100,0,8304,0,0,0,1,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Commander Mar'alith - On Quest 'Dearest Natalia' Taken - Say Line 0"); + +DELETE FROM `creature_text` WHERE `entry` IN (15181); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(15181, 0, 0, 'Take this enchanted shard, $n. I will be able to hear the dwarves myself through its twin.', 12, 0, 100, 0, 0, 0, 50667, 0, ''); + +-- Pathing for Entry: 11804 'TDB FORMAT' +SET @NPC := 362751; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-6942.874,`position_y`=1110.533,`position_z`=0.7047257 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-6942.874,1110.533,0.7047257,0,0,0,0,100,0), +(@PATH,2,-6950.666,1104.255,0.8397331,0,0,0,0,100,0), +(@PATH,3,-6950.607,1104.366,0.5897331,0,0,0,0,100,0), +(@PATH,4,-6950.251,1104.682,0.8397331,0,0,0,0,100,0), +(@PATH,5,-6942.69,1110.832,0.8038445,0,0,0,0,100,0), +(@PATH,6,-6937.58,1115.91,1.38085,0,0,0,0,100,0), +(@PATH,7,-6934.83,1118.41,1.88085,0,0,0,0,100,0), +(@PATH,8,-6932.83,1120.41,2.38085,0,0,0,0,100,0), +(@PATH,9,-6932.487,1120.662,2.760576,0,0,0,0,100,0), +(@PATH,10,-6931.737,1121.412,2.760576,0,0,0,0,100,0), +(@PATH,11,-6929.237,1124.162,3.510576,0,0,0,0,100,0), +(@PATH,12,-6929.332,1124.039,3.269823,0,0,0,0,100,0), +(@PATH,13,-6932.028,1121.268,2.675391,0,0,0,0,100,0), +(@PATH,14,-6933.528,1119.768,2.175391,0,0,0,0,100,0), +(@PATH,15,-6935.278,1118.018,1.675391,0,0,0,0,100,0), +(@PATH,16,-6937.735,1115.59,1.140587,0,0,0,0,100,0), +(@PATH,17,-6943.003,1110.408,0.6729961,0,0,0,0,100,0), +(@PATH,18,-6950.686,1104.583,0.8397331,0,0,0,0,100,0); + +-- Pathing for Entry: 11803 'TDB FORMAT' +SET @NPC := 363467; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-7963.382,`position_y`=1977.28,`position_z`=6.844955 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-7963.382,1977.28,6.844955,0,0,0,0,100,0), +(@PATH,2,-7964.632,1977.03,7.094955,0,0,0,0,100,0), +(@PATH,3,-7972.582,1976.436,7.295979,0,0,0,0,100,0), +(@PATH,4,-7977.582,1973.686,6.795979,0,0,0,0,100,0), +(@PATH,5,-7973.047,1976.35,7.348126,0,0,0,0,100,0), +(@PATH,6,-7972.883,1976.539,7.290794,0,0,0,0,100,0), +(@PATH,7,-7972.383,1976.539,7.290794,0,0,0,0,100,0), +(@PATH,8,-7964.361,1977.418,7.03627,0,0,0,0,100,0), +(@PATH,9,-7960.611,1977.668,6.53627,0,0,0,0,100,0), +(@PATH,10,-7960.552,1977.869,6.533808,0,0,0,0,100,0), +(@PATH,11,-7957.052,1978.119,6.283808,0,0,0,0,100,0), +(@PATH,12,-7957.295,1977.961,6.037067,0,0,0,0,100,0), +(@PATH,13,-7957.259,1978.09,6.310391,0,0,0,0,100,0), +(@PATH,14,-7963.009,1977.59,6.810391,0,0,0,0,100,0), +(@PATH,15,-7964.595,1977.169,6.948967,0,0,0,0,100,0); + +-- Mistress Natalia Mar'alith SAI +SET @ENTRY := 15215; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mistress Natalia Mar'alith - On Aggro - Say Line 0"), +(@ENTRY,0,1,0,0,0,100,0,10000,12000,10000,12000,11,44415,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mistress Natalia Mar'alith - In Combat - Cast 'Blackout'"), +(@ENTRY,0,2,0,2,0,100,1,0,50,0,0,11,13704,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mistress Natalia Mar'alith - Between 0-50% Health - Cast 'Psychic Scream' (No Repeat)"), +(@ENTRY,0,3,0,0,0,100,0,12000,16000,16000,24000,11,11639,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mistress Natalia Mar'alith - In Combat - Cast 'Shadow Word: Pain'"); + +DELETE FROM `creature_text` WHERE `entry` IN (15215); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(15215, 0, 0, 'Take this enchanted shard, $n. I will be able to hear the dwarves myself through its twin.', 12, 0, 100, 0, 0, 0, 10742, 0, ''); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_19_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_19_00_world.sql new file mode 100644 index 00000000000..b08542dab48 --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_19_00_world.sql @@ -0,0 +1,4 @@ +UPDATE `trinity_string` SET `content_default` = 'Map: %u (%s) Zone: %u (%s) Area: %u (%s) Phase: %u\nX: %f Y: %f Z: %f Orientation: %f' WHERE `entry` = 101; +DELETE FROM `trinity_string` WHERE `entry` = 185; +INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES +(185, 'grid[%u,%u]cell[%u,%u] InstanceID: %u\n ZoneX: %f ZoneY: %f\nGroundZ: %f FloorZ: %f Have height data (Map: %u VMap: %u MMap: %u)'); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_20_00_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_20_00_world.sql new file mode 100644 index 00000000000..93083732c4d --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_20_00_world.sql @@ -0,0 +1,13 @@ +-- +UPDATE `creature_template` SET `spell1`=49285,`spell2`=29577,`flags_extra`=2,`ainame`='SmartAI' WHERE `entry`=26472; + +DELETE FROM `smart_scripts` WHERE `entryorguid`=26472 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(26472,0,0,0,8,0,100,0,49266,0,0,0,69,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'Highland Mustang - On Spell Hit(Dangle Wild Carrot) - Move To Player'), +(26472,0,1,2,34,0,100,0,0,1,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Highland Mustang - On Movement Inform - Set Root'), +(26472,0,2,0,61,0,100,0,0,0,0,0,85,49282,0,0,0,0,0,1,0,0,0,0,0,0,0,'Highland Mustang - Link With Previous - Invoker Cast Ride Highland Mustang'), +(26472,0,3,0,27,0,100,0,0,0,0,0,103,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Highland Mustang - On Passenger Boarded - Remove Root'); + +DELETE FROM `spell_script_names` WHERE `spell_id`=49285; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(49285,'spell_q12414_hand_over_reins'); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_20_01_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_20_01_world.sql new file mode 100644 index 00000000000..96984da0594 --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_20_01_world.sql @@ -0,0 +1,99 @@ +-- Sungraze Mushan SAI +SET @MUSHAN := 58893; -- Sungraze Mushan +SET @SPELL_BLUDGEON := 117586; -- Bludgeon +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@MUSHAN; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@MUSHAN AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@MUSHAN,0,0,0,0,0,100,0,7200,7300,7250,7350,11,@SPELL_BLUDGEON,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sungraze Mushan - In Combat - Bludgeon"); + +-- Weeping Horror SAI +SET @HORROR := 57649; -- Weeping Horror +SET @SPELL_SADNESS := 119556; -- Overwhelming Sadness +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@HORROR; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@HORROR AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@HORROR,0,0,0,0,0,100,0,7200,8300,7400,8500,11,@SPELL_SADNESS,0,0,0,0,0,2,0,0,0,0,0,0,0,"Weeping Horror - In Combat - Overwhelming Sadness"); + +-- Dojani Surveyor SAI +SET @SURVEYOR := 58068; -- Dojani Surveyor +SET @SPELL_SUNDER := 11971; -- Sunder Armor +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@SURVEYOR; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SURVEYOR AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@SURVEYOR,0,0,0,0,0,100,0,21800,25400,24300,26700,11,@SPELL_SUNDER,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dojani Surveyor - In Combat - Sunder Armor"); + +-- Dojani Enforcer SAI +SET @ENFORCER := 65626; -- Dojani Enforcer +SET @SPELL_SHOCKWAVE := 129018; -- Shockwave +SET @SPELL_LEAP := 129017; -- Leap of Victory +SET @SPELL_ENRAGE := 129016; -- Enrage +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENFORCER; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENFORCER AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENFORCER,0,0,0,0,0,100,0,21800,21900,21700,23100,11,@SPELL_SHOCKWAVE,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dojani Enforcer - In Combat - Shockwave"), +(@ENFORCER,0,1,0,0,0,100,0,13300,14600,14500,15800,11,@SPELL_LEAP,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dojani Enforcer - In Combat - Leap of Victory"), +(@ENFORCER,0,2,0,0,0,100,0,12400,16700,16500,21800,11,@SPELL_ENRAGE,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dojani Enforcer - In Combat - Enrage"); + +-- Mortbreath Snapper SAI +SET @SNAPPER := 60201; -- Mortbreath Snapper +SET @SPELL_CHARGE := 87930; -- Charge +SET @SPELL_JAW_SNAP := 118990; -- Jaw Snap +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@SNAPPER; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SNAPPER AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@SNAPPER,0,0,0,9,0,100,0,5,40,1000,1500,11,@SPELL_CHARGE,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mortbreath Snapper - Within 5-40 Range - Charge"), +(@SNAPPER,0,1,0,0,0,100,0,12000,12900,12500,13400,11,@SPELL_JAW_SNAP,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mortbreath Snapper - In Combat - Jaw Snap"); + +-- Mortbreath Skulker SAI +SET @SKULKER := 60202; -- Mortbreath Skulker +SET @SPELL_CHARGE := 87930; -- Charge +SET @SPELL_JAW_SNAP := 118990; -- Jaw Snap +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@SKULKER; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@SKULKER AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@SKULKER,0,0,0,9,0,100,0,5,40,1000,1500,11,@SPELL_CHARGE,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mortbreath Skulker - Within 5-40 Range - Charge"), +(@SKULKER,0,1,0,0,0,100,0,12000,12900,12500,13400,11,@SPELL_JAW_SNAP,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mortbreath Skulker - In Combat - Jaw Snap"); + +-- Enraged Blacksmith SAI +SET @BLACKSMITH := 61130; +SET @FURIOUS := 121445; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@BLACKSMITH; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@BLACKSMITH AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@BLACKSMITH,0,0,0,0,0,100,0,4900,14400,12500,21700,11,@FURIOUS,0,0,0,0,0,2,0,0,0,0,0,0,0,"Enraged Blacksmith - In Combat - Cast Furious Blow"); + +-- Sha-Infested Prowler SAI +SET @PROWLER := 66668; +SET @FEROCIOUS := 115083; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@PROWLER; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@PROWLER AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@PROWLER,0,0,0,0,0,100,0,5000,15000,10000,20000,11,@FEROCIOUS,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sha-Infested Prowler - In Combat - Ferocious Claw"); + +-- Lupello SAI +SET @LUPELLO := 56357; +SET @SPELL_PREY := 129496; +SET @SPELL_HOWL := 129502; +SET @SPELL_POUNCED := 129497; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@LUPELLO; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@LUPELLO AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@LUPELLO,0,0,0,9,0,100,0,5,40,1700,3800,11,@SPELL_PREY,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lupello - Within 5-40 Range - Cast 'Prey Pounce'"), +(@LUPELLO,0,1,0,0,0,100,0,10000,10500,10500,15500,11,@SPELL_HOWL,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lupello - In Combat - Cast 'Fearsome Howl'"), +(@LUPELLO,0,2,0,0,0,100,0,5000,10000,10000,15000,11,@SPELL_POUNCED,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lupello - In Combat - Cast 'Pounced'"); + +-- Ice Fury SAI +SET @ICEFURY := 78214; -- Ice Fury +SET @SPELL_ICYGUST := 165416; -- Icy Gust +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ICEFURY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ICEFURY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ICEFURY,0,0,0,0,0,100,0,10900,13400,12200,14700,11,@SPELL_ICYGUST,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ice Fury - In Combat - Cast Icy Gust"); + +-- Thunderlord War-Gronn SAI +SET @THUNDERLORD := 74448; -- Thunderlord War-Gronn +SET @SPELL_SMASH := 149864; -- Smash +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@THUNDERLORD; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@THUNDERLORD AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@THUNDERLORD,0,0,0,0,0,100,0,5100,6100,5200,6200,11,@SPELL_SMASH,0,0,0,0,0,2,0,0,0,0,0,0,0,"Thunderlord War-Gronn - In Combat - Cast Smash"); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_20_02_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_20_02_world.sql new file mode 100644 index 00000000000..30b880d4527 --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_20_02_world.sql @@ -0,0 +1,8776 @@ +-- +DELETE FROM `skill_fishing_base_level` WHERE `entry`=4710; +INSERT INTO `skill_fishing_base_level` (`entry`, `skill`) VALUES +(4710, 480); +-- Fel Portal Alarm SAI +SET @ENTRY := 23310; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,46907,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fel Portal Alarm - On Respawn - Cast 'Boss Fel Portal State' (No Repeat)"), +(@ENTRY,0,1,0,38,0,100,0,1,1,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fel Portal Alarm - On Data Set 1 1 - Increment Phase"), +(@ENTRY,0,2,3,1,32,100,0,1000,1000,0,0,12,25003,5,120000,0,0,0,1,0,0,0,0,0,0,0,"Fel Portal Alarm - Out of Combat - Summon Creature 'Emissary of Hate' (Phase 32)"), +(@ENTRY,0,3,0,61,32,100,0,1000,1000,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fel Portal Alarm - Out of Combat - Set Event Phase 0 (Phase 32)"); + +DELETE FROM `creature` WHERE `id`=25003; + +-- Irespeaker SAI +SET @ENTRY := 24999; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,1500,3000,10000,15000,11,35913,0,0,0,0,0,2,0,0,0,0,0,0,0,"Irespeaker - In Combat - Cast 'Fel Fireball'"), +(@ENTRY,0,1,0,0,0,100,0,13000,16000,20000,35000,11,18267,0,0,0,0,0,2,0,0,0,0,0,0,0,"Irespeaker - In Combat - Cast 'Curse of Weakness'"), +(@ENTRY,0,2,0,6,0,100,1,0,0,0,0,33,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Irespeaker - On Just Died - Quest Credit 'Kanrethad's Quest' (No Repeat)"), +(@ENTRY,0,3,0,6,0,100,0,5000,5000,10000,10000,45,1,1,0,0,0,0,10,79450,23310,0,0,0,0,0,"Irespeaker - On Just Died - Set Data 1 1"); + +-- Unleashed Hellion SAI +SET @ENTRY := 25002; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,6,0,100,1,0,0,0,0,33,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Unleashed Hellion - On Just Died - Quest Credit 'Kanrethad's Quest' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,4000,5000,18000,35000,11,11876,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unleashed Hellion - In Combat - Cast 'War Stomp'"), +(@ENTRY,0,2,0,0,0,100,0,6000,9000,12600,16000,11,20754,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unleashed Hellion - In Combat - Cast 'Rain of Fire'"), +(@ENTRY,0,3,0,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,79450,23310,0,0,0,0,0,"Unleashed Hellion - On Just Died - Set Data 1 1"); + +-- Emissary of Hate SAI +SET @ENTRY := 25003; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,5000,15000,20000,11,25003,0,0,0,0,0,2,0,0,0,0,0,0,0,"Emissary of Hate - In Combat - Cast 'Mortar'"), +(@ENTRY,0,1,0,0,0,100,0,8000,10000,15000,20000,11,38611,0,0,0,0,0,2,0,0,0,0,0,0,0,"Emissary of Hate - In Combat - Cast 'Flame Wave'"), +(@ENTRY,0,2,0,54,0,100,0,0,0,0,0,89,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Emissary of Hate - On Just Summoned - Start Random Movement"); +-- Master Gadrin SAI +SET @ENTRY := 3188; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,20,0,100,0,808,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Master Gadrin - On Quest 'Minshina's Skull' Finished - Run Script"); + +-- Actionlist SAI +SET @ENTRY := 318800; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,12,3289,5,14000,0,0,0,8,0,0,0,-822.91,-4923.33,19.6365,3.41642,"Master Gadrin - On Script - Summon Creature 'Spirit of Minshina'"), +(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Master Gadrin - On Script - Set Orientation Closest Player"), +(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,1,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Master Gadrin - On Script - Say Line 0"); + +-- Spirit of Minshina SAI +SET @ENTRY := 3289; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Spirit of Minshina - On Just Summoned - Run Script"); + +-- Actionlist SAI +SET @ENTRY := 328900; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Spirit of Minshina - On Script - Set Orientation Closest Player"), +(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,5,2,0,0,0,0,0,1,2000,2000,0,0,0,0,0,"Spirit of Minshina - On Script - Play Emote 2"), +(@ENTRY,9,2,0,0,0,100,0,11000,11000,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Spirit of Minshina - On Script - Despawn Instant"); + +DELETE FROM `creature_text` WHERE `entry`=3188; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(3188, 0, 0, 'I thank you, $n. And my brother thanks you.', 12, 0, 100, 0, 0, 0, 'Master Gadrin', 983); +-- +DELETE FROM `waypoints` WHERE `entry`=16856; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(16856, 1,-807.327,2739.82,115.447, 'Caretaker Dilandrus'), +(16856, 2,-798.86,2719.21,111.628, 'Caretaker Dilandrus'), +(16856, 3,-785.502,2706.21,107.293, 'Caretaker Dilandrus'), +(16856, 4,-785.546,2702.16,106.208, 'Caretaker Dilandrus'), +(16856, 5,-787.652,2700.58,105.792, 'Caretaker Dilandrus'), +(16856, 6,-791.771,2694.26,104.589, 'Caretaker Dilandrus'), +(16856, 7,-793.482,2693.76,104.592, 'Caretaker Dilandrus'), +(16856, 8,-794.696,2691.44,104.35, 'Caretaker Dilandrus'), +(16856, 9,-797.951,2691.02,104.535, 'Caretaker Dilandrus'), +(16856, 10,-798.984,2693.63,104.891, 'Caretaker Dilandrus'), +(16856, 11,-797.778,2697.53,105.43, 'Caretaker Dilandrus'), +(16856, 12,-792.678,2705.64,106.948, 'Caretaker Dilandrus'), +(16856, 13,-792.409,2708.46,107.754, 'Caretaker Dilandrus'), +(16856, 14,-794.25,2710.38,108.384, 'Caretaker Dilandrus'), +(16856, 15,-799.924,2706.66,107.387, 'Caretaker Dilandrus'), +(16856, 16,-807.92,2692.9,104.856, 'Caretaker Dilandrus'), +(16856, 17,-811.612,2690.9,104.36, 'Caretaker Dilandrus'), +(16856, 18,-814.837,2692.26,104.736, 'Caretaker Dilandrus'), +(16856, 19,-814.33,2696.03,105.773, 'Caretaker Dilandrus'), +(16856, 20,-809.779,2704.45,107.63, 'Caretaker Dilandrus'), +(16856, 21,-801.425,2715.06,109.679, 'Caretaker Dilandrus'), +(16856, 22,-801.359,2718.11,110.676, 'Caretaker Dilandrus'), +(16856, 23,-804.433,2720.69,111.13, 'Caretaker Dilandrus'), +(16856, 24,-810.324,2717.67,110.329, 'Caretaker Dilandrus'), +(16856, 25,-814.433,2712.14,109.487, 'Caretaker Dilandrus'), +(16856, 26,-820.17,2701.35,107.506, 'Caretaker Dilandrus'), +(16856, 27,-823.067,2699.77,107.458, 'Caretaker Dilandrus'), +(16856, 28,-824.921,2701.38,107.939, 'Caretaker Dilandrus'), +(16856, 29,-824.739,2706.05,108.591, 'Caretaker Dilandrus'), +(16856, 30,-820.185,2714.8,110.056, 'Caretaker Dilandrus'), +(16856, 31,-814.476,2725.61,111.567, 'Caretaker Dilandrus'), +(16856, 32,-807.327,2739.82,115.447, 'Caretaker Dilandrus'), +(16856, 33,-807.327,2739.82,115.447, 'Caretaker Dilandrus'); + +UPDATE `creature` SET `position_x`=-807.327, `position_y`=2739.82, `position_z`=115.447, `orientation`=2.611, `MovementType`=2 WHERE `guid`=58021; + +-- Caretaker Dilandrus SAI +SET @ENTRY := 16856; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,16856,1,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Reset - Start Waypoint"), +(@ENTRY,0,1,0,40,0,100,0,5,16856,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Waypoint 5 Reached - Run Script"), +(@ENTRY,0,2,0,40,0,100,0,7,16856,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Waypoint 7 Reached - Run Script"), +(@ENTRY,0,3,0,40,0,100,0,11,16856,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Waypoint 11 Reached - Run Script"), +(@ENTRY,0,4,0,40,0,100,0,15,16856,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Waypoint 15 Reached - Run Script"), +(@ENTRY,0,5,0,40,0,100,0,20,16856,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Waypoint 20 Reached - Run Script"), +(@ENTRY,0,6,0,40,0,100,0,24,16856,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Waypoint 24 Reached - Run Script"), +(@ENTRY,0,7,0,40,0,100,0,30,16856,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Waypoint 30 Reached - Run Script"), +(@ENTRY,0,8,0,40,0,100,0,33,16856,0,0,54,300000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Waypoint 33 Reached - Pause Waypoint"); + +-- Actionlist SAI +SET @ENTRY := 1685601; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Script - Pause Waypoint"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,1,0,0,0,0,0,0,2.75976,"Caretaker Dilandrus - On Script - Set Orientation Home Position"), +(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,5,66,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Script - Play Emote 66"), +(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,5,68,0,0,0,0,0,0,0,0,0,0,0,0,0,"Caretaker Dilandrus - On Script - Play Emote 68"); +-- Areatrigger SAI +SET @ENTRY := 1447; +DELETE FROM `areatrigger_scripts` WHERE `entry`=@ENTRY; +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES (@ENTRY,"SmartTrigger"); +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=2; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,2,0,0,46,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,81519,8127,0,0,0,0,0,"Areatrigger - On Trigger - Set Data 1 1"); + +-- Antu'sul SAI +SET @ENTRY := 8127; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,0,0,50,2,11600,11600,13300,21700,11,8376,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - In Combat - Cast 'Earthgrab Totem' (Normal Dungeon)"), +(@ENTRY,0,1,0,61,0,50,3,11600,11600,13300,21700,11,11899,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - In Combat - Cast 'Healing Ward' (Normal Dungeon)"), +(@ENTRY,0,2,6,4,0,100,3,0,0,0,0,11,11894,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - On Aggro - Cast 'Antu'sul's Minion' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,3,0,2,0,100,3,0,20,0,0,11,11895,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - Between 0-20% Health - Cast 'Healing Wave of Antu'sul' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,4,5,2,0,100,3,0,25,0,0,11,11894,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - Between 0-25% Health - Cast 'Antu'sul's Minion' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,5,0,61,0,100,3,0,25,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - Between 0-25% Health - Say Line 0 (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,6,0,61,0,100,3,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - On Aggro - Say Line 1 (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,7,8,2,0,100,3,0,75,0,0,11,11894,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - Between 0-75% Health - Cast 'Antu'sul's Minion' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,8,0,61,0,100,3,0,75,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Antu'sul - Between 0-75% Health - Say Line 2 (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,9,0,0,0,100,2,5000,5000,12000,14000,11,16006,0,0,0,0,0,5,0,0,0,0,0,0,0,"Antu'sul - In Combat - Cast 'Chain Lightning' (Normal Dungeon)"), +(@ENTRY,0,10,0,0,0,100,2,3000,3000,9000,11000,11,15501,0,0,0,0,0,2,0,0,0,0,0,0,0,"Antu'sul - In Combat - Cast 'Earth Shock' (Normal Dungeon)"), +(@ENTRY,0,11,0,38,0,100,0,1,1,0,0,49,0,0,0,0,0,0,21,100,0,0,0,0,0,0,"Antu'sul - On Data Set 1 1 - Start Attacking"); + +SET @ENTRY := 8127; +DELETE FROM `creature_text` WHERE `entry`=@ENTRY; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(@ENTRY,0,0, 'The children of Sul will protect their master. Rise once more Sul\'lithuz!',14,0,100,0,0,0, 4178, 0, 'Antu\'sul'), +(@ENTRY,1,0, 'Lunch has arrived, my beautiful children. Tear them to pieces!',14,0,100,0,0,0, 4166, 0, 'Antu\'sul'), +(@ENTRY,2,0, 'Rise and defend your master!',14,0,100,0,0,0, 4177, 0, 'Antu\'sul'); +-- Commander Hogarth SAI +SET @ENTRY := 19937; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,33900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Commander Hogarth - On Respawn - Cast 'Shroud of Death' (No Repeat)"), +(@ENTRY,0,1,2,20,0,100,0,10258,0,0,0,12,20117,6,0,0,0,0,8,0,0,0,-1186.95,2608.81,27.702,5.38523,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding Knight'"), +(@ENTRY,0,2,3,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1192.14,2602.7,29.2625,0.0820243,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,3,4,61,0,100,0,10258,0,0,0,12,20117,6,0,0,0,0,8,0,0,0,-1181.95,2611.13,27.3004,4.61566,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding Knight'"), +(@ENTRY,0,4,5,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1183.65,2603.66,29.4927,6.09219,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,5,6,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1184.48,2609.26,27.7192,5.01103,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,6,7,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1175.39,2607.4,28.853,3.63473,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,7,8,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1178.36,2609.96,27.8814,4.12375,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,8,9,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1182.51,2608.35,28.1201,4.67383,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,9,10,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1189.12,2601.88,29.6988,0.242659,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,10,11,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1179.46,2606.03,29.0216,3.81031,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,11,12,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1180.6,2598.15,35.2317,1.94692,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,12,13,61,0,100,0,10258,0,0,0,12,20117,6,0,0,0,0,8,0,0,0,-1190.87,2607.06,27.9991,5.86898,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding Knight'"), +(@ENTRY,0,13,14,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1179.81,2603.43,29.8027,3.12637,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,14,15,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1184.47,2606.9,28.4442,5.18881,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,15,16,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1186.63,2605.58,28.7169,5.79079,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,16,17,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1189.03,2604.6,28.8694,6.10697,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,17,18,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1185.68,2603.39,29.4476,5.18881,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"), +(@ENTRY,0,18,0,61,0,100,0,10258,0,0,0,12,19863,6,0,0,0,0,8,0,0,0,-1181.97,2605.76,28.9476,4.40683,"Commander Hogarth - On Quest 'Honor the Fallen' Finished - Summon Creature 'Vengeful Unyielding'"); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (20117, 19863); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(20117, 0, 0, 0, 0, 0, '33900'), +(19863, 0, 0, 0, 0, 0, '33900'); + +-- Vengeful Unyielding Knight SAI +SET @ENTRY := 20117; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,41,15000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vengeful Unyielding Knight - On Just Summoned - Despawn In 15000 ms"), +(@ENTRY,0,1,0,54,0,100,0,0,0,0,0,5,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vengeful Unyielding Knight - On Just Summoned - Play Emote 2"); + +-- Vengeful Unyielding SAI +SET @ENTRY := 19863; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,41,15000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vengeful Unyielding - On Just Summoned - Despawn In 15000 ms"), +(@ENTRY,0,1,0,54,0,100,0,0,0,0,0,5,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Vengeful Unyielding - On Just Summoned - Play Emote 2"); +-- +UPDATE `creature_questender` SET `id` =38017 WHERE `quest` =24880; +-- Tiny Snowman SAI +SET @ENTRY := 15710; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,22,0,100,0,34,0,0,0,5,94,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tiny Snowman - Received Emote 34 - Play Emote 94"); +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=20206 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(20206, 0, 0, 0, 20, 0, 100, 0, 10919, 0, 0, 0, 53, 0, 20206, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Fei Fei - On Quest \'Fei Fei\'s Treat\' Finished - Start Waypoint (Phase 1) (No Repeat)'); +-- +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (4131, 4133); +DELETE FROM `smart_scripts` WHERE `entryorguid`=4131 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(4131, 0, 0, 0, 0, 0, 100, 1, 4000, 7000, 22000, 25000, 11, 6016, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Silithid Invader - IC - Cast Pierce Armor'), +(4131, 0, 1, 0, 0, 0, 100, 1, 10000, 16000, 0, 0, 11, 8137, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Silithid Invader - IC - Cast Pierce Armor'), +(4131, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 39, 20, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Silithid Invader - on hp below 15 % - call for help'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=4133 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(4133, 0, 2, 0, 2, 0, 100, 1, 0, 15, 0, 0, 39, 20, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Silithid Hive Drone - on hp below 15 % - call for help'); +-- +UPDATE creature_template SET mechanic_immune_mask = mechanic_immune_mask | 0x20 WHERE entry = 31464; +-- +DELETE FROM `disables` WHERE `entry` IN (649,650) AND `sourceType` = 7; +DELETE FROM `disables` WHERE `entry` = 650 AND `sourceType` = 2; +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(7, 649, 0, '', '', 'Disable mmaps - Trial of the Crusader'), +(7, 650, 0, '', '', 'Disable mmaps - Trial of the Champion'), +(2, 650, 3, '', '', 'Disable Trial of the Champion, broken instance'); +-- +UPDATE `gameobject_template` SET `flags`=32 WHERE `entry` IN (175611,175612,175613,175614); +-- A Friendly Chat... (24576, 24657) +-- Snivel Rustrocket set gossip flag +UPDATE `creature_template` SET `npcflag` = 1, `AIName`='SmartAI' WHERE `entry` = 37715; + +-- Quest credit SAI +DELETE FROM `smart_scripts` WHERE (`entryorguid`=37715 AND `source_type`=0); +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(37715,0,0,0,62,0,100,0,10946,0,0,0,11,70646,2,0,0,0,0,7,0,0,0,0,0,0,0, "Snivel Rustrocket - on gosip 10947 - cast Love - Create Snivel's Ledger"); + +-- Gossip option conditions +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId`=15 AND `SourceGroup`=10929); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,10929,0,0,9,24576,0,0,0,'','Show gossip only if plaer have A Friendly Chat... Horde quest'), +(15,10929,0,1,9,24657,0,0,0,'','Show gossip only if plaer have A Friendly Chat... Alliance quest'); +-- Irespeaker SAI +SET @ENTRY := 24999; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,1500,3000,10000,15000,11,35913,0,0,0,0,0,2,0,0,0,0,0,0,0,"Irespeaker - In Combat - Cast 'Fel Fireball'"), +(@ENTRY,0,1,0,0,0,100,0,13000,16000,20000,35000,11,18267,0,0,0,0,0,2,0,0,0,0,0,0,0,"Irespeaker - In Combat - Cast 'Curse of Weakness'"), +(@ENTRY,0,2,0,6,0,100,1,0,0,0,0,33,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Irespeaker - On Just Died - Quest Credit 'Kanrethad's Quest' (No Repeat)"), +(@ENTRY,0,3,0,6,0,100,0,5000,5000,10000,10000,45,1,1,0,0,0,0,10,79450,23310,0,0,0,0,0,"Irespeaker - On Just Died - Set Data 1 1"), +(@ENTRY,0,4,0,25,0,100,0,0,0,0,0,11,45023,0,0,0,0,0,19,25953,13,0,0,0,0,0,"Irespeaker - On Reset - Cast 'Fel Consumption'"); +-- +UPDATE `creature_text` SET `type`=14 WHERE `entry`=20977; +-- +UPDATE `creature` SET `position_x`=1772.803833, `position_y`=848.654846, `position_z`=123.192604, `orientation`=1.649258 WHERE `guid`=127067; +UPDATE `creature` SET `position_x`=1772.699585, `position_y`=852.786560, `position_z`=123.192734, `orientation`=4.675874 WHERE `guid`=127068; + +DELETE FROM `creature_addon` WHERE `guid` IN (127051, 127062, 127065, 127059, 127047); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(127051, 0, 0, 0, 1, 4, ''), +(127062, 0, 0, 0, 1, 4, ''), +(127065, 0, 0, 0, 1, 4, ''), +(127059, 0, 0, 0, 1, 4, ''), +(127047, 0, 0, 0, 1, 4, ''); + +DELETE FROM `creature_addon` WHERE `guid` IN (127067, 127068); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(127067, 0, 0, 0, 1, 36, ''), +(127068, 0, 0, 0, 1, 36, ''); + +UPDATE `creature_addon` SET `emote`=20 WHERE `guid`=127043; + +/* emotes for these creatures. http://pokit.org/get/?2ee8b0b514852adc528b2543f704fdcd.jpg*/ + +-- Pathing for Entry: 29830 'TDB FORMAT' +SET @NPC := 127079; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1580.776,`position_y`=726.0986,`position_z`=143.0329 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1580.776,726.0986,143.0329,0,0,0,0,100,0), +(@PATH,2,1601.526,726.0986,143.0329,0,0,0,0,100,0), +(@PATH,3,1580.776,726.0986,143.0329,0,0,0,0,100,0), +(@PATH,4,1601.526,726.0986,143.0329,0,0,0,0,100,0); +-- 0x1C3AE04B801D2180006CCE0002D7B1EE .go 1580.776 726.0986 143.0329 + +-- Pathing for Entry: 29830 'TDB FORMAT' +SET @NPC := 127077; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1634.252,`position_y`=750.1481,`position_z`=143.0402 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1634.252,750.1481,143.0402,0,0,0,0,100,0), +(@PATH,2,1645.534,749.2593,143.062,0,0,0,0,100,0), +(@PATH,3,1646.846,740.0786,143.036,0,0,0,0,100,0), +(@PATH,4,1643.028,738.3261,143.0428,0,0,0,0,100,0), +(@PATH,5,1634.346,729.3132,143.0253,0,0,0,0,100,0), +(@PATH,6,1629.24,728.4056,143.036,0,0,0,0,100,0), +(@PATH,7,1625.434,724.1005,143.033,0,0,0,0,100,0), +(@PATH,8,1625.066,724.9523,143.0346,0,0,0,0,100,0), +(@PATH,9,1633.39,728.2556,143.0207,0,0,0,0,100,0), +(@PATH,10,1634.352,731.7579,143.036,0,0,0,0,100,0), +(@PATH,11,1642.503,738.0968,143.036,0,0,0,0,100,0), +(@PATH,12,1646.744,748.6193,143.0608,0,0,0,0,100,0); +-- 0x1C3AE04B801D2180006CCE0003D7B1EE .go 1634.252 750.1481 143.0402 + +-- Pathing for Entry: 29830 'TDB FORMAT' +SET @NPC := 127078; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1624.936,`position_y`=762.2312,`position_z`=143.0362 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1624.936,762.2312,143.0362,0,0,0,0,100,0), +(@PATH,2,1624.857,762.3463,143.0362,0,0,0,0,100,0), +(@PATH,3,1616.904,760.4952,143.0778,0,0,0,0,100,0), +(@PATH,4,1616.059,757.1263,143.036,0,0,0,0,100,0), +(@PATH,5,1615.883,751.8171,143.036,0,0,0,0,100,0), +(@PATH,6,1612.587,742.8907,143.036,0,0,0,0,100,0), +(@PATH,7,1615.973,735.1326,143.036,0,0,0,0,100,0), +(@PATH,8,1616.567,728.8411,143.0389,0,0,0,0,100,0), +(@PATH,9,1616.565,728.8934,143.0389,0,0,0,0,100,0), +(@PATH,10,1616.015,735.0688,143.036,0,0,0,0,100,0), +(@PATH,11,1612.599,741.9441,143.036,0,0,0,0,100,0), +(@PATH,12,1612.643,745.9359,143.036,0,0,0,0,100,0), +(@PATH,13,1615.984,759.0609,143.0375,0,0,0,0,100,0), +(@PATH,14,1620.861,760.4977,143.036,0,0,0,0,100,0), +(@PATH,15,1624.961,762.2328,143.0362,0,0,0,0,100,0), +(@PATH,16,1624.857,762.3463,143.0362,0,0,0,0,100,0), +(@PATH,17,1616.904,760.5043,143.0776,0,0,0,0,100,0); +-- 0x1C3AE04B801D2180006CCE000357B1EE .go 1624.936 762.2312 143.0362 + +UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid` IN (29774, 29820) AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Pathing for Entry: 29774 'TDB FORMAT' +SET @NPC := 127023; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1642.346,`position_y`=653.1481,`position_z`=125.2523 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1642.346,653.1481,125.2523,0,0,0,0,100,0), +(@PATH,2,1639.856,642.3232,125.6559,0,0,0,0,100,0), +(@PATH,3,1642.258,637.7573,126.032,0,0,0,0,100,0), +(@PATH,4,1647.147,632.4925,126.6323,0,0,0,0,100,0), +(@PATH,5,1657.781,625.1252,128.0753,0,0,0,0,100,0), +(@PATH,6,1664.838,624.4281,127.6226,0,0,0,0,100,0), +(@PATH,7,1669.714,625.9705,127.4224,0,0,0,0,100,0), +(@PATH,8,1674.736,633.4069,127.3273,0,0,0,0,100,0), +(@PATH,9,1673.877,644.5715,126.3829,0,0,0,0,100,0), +(@PATH,10,1668.756,649.8423,126.1618,0,0,0,0,100,0), +(@PATH,11,1662.11,654.2892,125.6076,0,0,0,0,100,0), +(@PATH,12,1655.857,656.4763,125.5904,0,0,0,0,100,0), +(@PATH,13,1645.618,656.3919,125.2844,0,0,0,0,100,0), +(@PATH,14,1642.373,653.2665,125.2903,0,0,0,0,100,0); +-- 0x1C3AE04B801D1380006CCE0000D7B1EE .go 1642.346 653.1481 125.2523 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=127023; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(127023, 127023, 0, 0, 2, 0, 0), +(127023, 127013, 4, 50, 2, 0, 0), +(127023, 127024, 4, 310, 2, 0, 0); + +-- Pathing for Entry: 29829 'TDB FORMAT' +SET @NPC := 127069; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1592.818,`position_y`=817.3067,`position_z`=149.783 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1592.818,817.3067,149.783,0,0,0,0,100,0), +(@PATH,2,1601.493,805.8055,146.3105,0,0,0,0,100,0), +(@PATH,3,1609.685,802.7231,145.2017,0,0,0,0,100,0), +(@PATH,4,1623.651,794.6301,143.8499,0,0,0,0,100,0), +(@PATH,5,1615.21,801.1007,144.687,0,0,0,0,100,0), +(@PATH,6,1605.104,803.2402,145.5161,0,0,0,0,100,0), +(@PATH,7,1597.137,810.431,147.7381,0,0,0,0,100,0), +(@PATH,8,1591.998,822.5156,150.5477,0,0,0,0,100,0), +(@PATH,9,1586.166,840.6243,153.7294,0,0,0,0,100,0), +(@PATH,10,1584.692,843.8578,154.2673,0,0,0,0,100,0), +(@PATH,11,1584.178,844.4227,154.4869,0,0,0,0,100,0), +(@PATH,12,1590.102,830.2843,152.1621,0,0,0,0,100,0); +-- 0x1C3AE04B801D2140006CCE0000D7B1EE .go 1592.818 817.3067 149.783 + +-- Pathing for Entry: 29829 'TDB FORMAT' +SET @NPC := 127070; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1706.755,`position_y`=857.1785,`position_z`=129.9813 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1706.755,857.1785,129.9813,0,0,0,0,100,0), +(@PATH,2,1707.281,867.1033,130.2534,0,0,0,0,100,0), +(@PATH,3,1704.177,879.5166,130.7884,0,0,0,0,100,0), +(@PATH,4,1691.342,892.488,132.9258,0,0,0,0,100,0), +(@PATH,5,1679.412,891.944,134.244,0,0,0,0,100,0), +(@PATH,6,1668.286,882.3208,137.746,0,0,0,0,100,0), +(@PATH,7,1673.63,888.4031,136.1639,0,0,0,0,100,0), +(@PATH,8,1687.955,893.6246,133.4256,0,0,0,0,100,0), +(@PATH,9,1701.138,885.8834,131.8191,0,0,0,0,100,0), +(@PATH,10,1706.935,871.8005,130.679,0,0,0,0,100,0); +-- 0x1C3AE04B801D2140006CCE000057B1EE .go 1706.755 857.1785 129.9813 + +-- Pathing for Entry: 29820 'TDB FORMAT' +SET @NPC := 127054; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1627.05,`position_y`=895.2917,`position_z`=145.9627 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1627.05,895.2917,145.9627,0,0,0,0,100,0), +(@PATH,2,1641.819,895.4995,144.4391,0,0,0,0,100,0), +(@PATH,3,1646.381,886.3206,142.0332,0,0,0,0,100,0), +(@PATH,4,1648.376,877.1378,140.8607,0,0,0,0,100,0), +(@PATH,5,1651.261,870.6509,139.9442,0,0,0,0,100,0), +(@PATH,6,1648.879,874.7926,140.348,0,0,0,0,100,0), +(@PATH,7,1648.431,879.759,140.6906,0,0,0,0,100,0), +(@PATH,8,1643.23,894.2725,143.7524,0,0,0,0,100,0), +(@PATH,9,1633.633,896.613,144.9795,0,0,0,0,100,0), +(@PATH,10,1628.168,895.5144,145.8911,0,0,0,0,100,0), +(@PATH,11,1608.678,886.468,148.1761,0,0,0,0,100,0), +(@PATH,12,1600.244,880.922,149.9891,0,0,0,0,100,0), +(@PATH,13,1583.596,870.7088,152.9289,0,0,0,0,100,0), +(@PATH,14,1593.538,876.7352,151.3219,0,0,0,0,100,0), +(@PATH,15,1606.508,885.0313,148.7535,0,0,0,0,100,0), +(@PATH,16,1616.299,891.1467,147.5494,0,0,0,0,100,0), +(@PATH,17,1627.23,895.3035,145.926,0,0,0,0,100,0), +(@PATH,18,1641.784,895.3555,144.6143,0,0,0,0,100,0); +-- 0x1C3AE04B801D1F00006CCE000257B1EE .go 1627.05 895.2917 145.9627 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=127054; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(127054, 127054, 0, 0, 2, 0, 0), +(127054, 127064, 4, 90, 2, 0, 0); + +DELETE FROM `creature_addon` WHERE `guid` IN (127057, 127053, 127063, 127052, 127060, 127055, 127066, 127048, 127049, 127061, 127056, 127050); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(127057, 0, 0, 0, 1, 1, ''), +(127053, 0, 0, 0, 1, 1, ''), +(127063, 0, 0, 0, 1, 1, ''), +(127052, 0, 0, 0, 1, 1, ''), +(127060, 0, 0, 0, 1, 1, ''), +(127055, 0, 0, 0, 1, 1, ''), +(127066, 0, 0, 0, 1, 1, ''), +(127048, 0, 0, 0, 1, 1, ''), +(127049, 0, 0, 0, 1, 1, ''), +(127061, 0, 0, 0, 1, 1, ''), +(127056, 0, 0, 0, 1, 1, ''), +(127050, 0, 0, 0, 1, 1, ''); +-- +UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid`=27963 AND `source_type`=0 AND `id`=0 AND `link`=0; + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126709; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126709, 126709, 0, 0, 2, 0, 0), +(126709, 126692, 4, 50, 2, 0, 0), +(126709, 126693, 4, 310, 2, 0, 0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126687; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126687, 126687, 0, 0, 2, 0, 0), +(126687, 126705, 3, 50, 2, 0, 0), +(126687, 126700, 3, 310, 2, 0, 0); + +UPDATE `creature_addon` SET `path_id`=0 WHERE `guid` IN (126711, 126701, 126703); +DELETE FROM `creature_formations` WHERE `leaderGUID`=126690; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126690, 126690, 0, 0, 2, 0, 0), +(126690, 126707, 3, 50, 2, 0, 0), +(126690, 126701, 3, 310, 2, 0, 0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126691; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126691, 126691, 0, 0, 2, 0, 0), +(126691, 126708, 3, 50, 2, 0, 0), +(126691, 126702, 3, 310, 2, 0, 0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126695; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126695, 126695, 0, 0, 2, 0, 0), +(126695, 126713, 3, 50, 2, 0, 0), +(126695, 126703, 3, 310, 2, 0, 0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126696; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126696, 126696, 0, 0, 2, 0, 0), +(126696, 126714, 3, 50, 2, 0, 0), +(126696, 126704, 3, 310, 2, 0, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126696; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1266960, 1, 1180.73, 659.129, 196.233, 0, 0, 0, 0, 100, 3108493), +(1266960, 2, 1181.3, 667.947, 196.233, 0, 0, 0, 0, 100, 3108495), +(1266960, 3, 1180.7, 675.583, 196.235, 0, 0, 0, 0, 100, 3108497), +(1266960, 4, 1177.06, 683.484, 196.235, 0, 0, 0, 0, 100, 3108499), +(1266960, 7, 1180.73, 659.129, 196.233, 0, 0, 0, 0, 100, 3108493), +(1266960, 6, 1181.3, 667.947, 196.233, 0, 0, 0, 0, 100, 3108495), +(1266960, 5, 1180.7, 675.583, 196.235, 0, 0, 0, 0, 100, 3108497), +(1266960, 8, 1177.75, 651.607, 196.235, 0, 0, 0, 0, 100, 3108501); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126715; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126715, 126715, 0, 0, 2, 0, 0), +(126715, 126716, 5, 270, 2, 0, 0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126694; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126694, 126694, 0, 0, 2, 0, 0), +(126694, 126711, 3, 50, 2, 0, 0), +(126694, 126712, 3, 310, 2, 0, 0); + +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=28055; +-- Dark Rune Shaper SAI +SET @ENTRY := 27965; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=14; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,14,0,1,0,100,0,2000,2000,4000,4000,11,50563,0,0,0,0,0,19,28055,50,0,0,0,0,0,"Dark Rune Shaper - On Reset - Cast 'Carve Stone'"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=50563; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 50563, 0, 0, 31, 0, 3, 28055, 0, 0, 0, 0, '', 'Carve Stone - only targets Dummy'); + +DELETE FROM `disables` WHERE `sourceType`=0 AND `entry`=50563; +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(0, 50563, 64, '', '', 'Ignore LOS for Carve Stone'); + +UPDATE `creature` SET `spawndist`=8, `MovementType`=1 WHERE `guid` IN (126738, 126745, 126739, 126744); +-- Scourge Reanimator SAI +SET @GUID := -127410; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=26626; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,1,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,127435,26635,0,0,0,0,0,"Scourge Reanimator - On Just Died - Set Data 1 1"), +(@GUID,0,1,0,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,10,127426,26635,0,0,0,0,0,"Scourge Reanimator - On Just Died - Set Data 1 2"); + + +-- Risen Drakkari Warrior SAI +SET @ENTRY := 26635; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,6,1000,3000,5000,9500,11,36093,0,0,0,0,0,2,0,0,0,0,0,0,0,"Risen Drakkari Warrior - In Combat - Cast 'Ghost Strike' (Dungeon)"), +(@ENTRY,0,1,0,0,0,100,6,1000,3000,7250,10000,11,33661,0,0,0,0,0,2,0,0,0,0,0,0,0,"Risen Drakkari Warrior - In Combat - Cast 'Crush Armor' (Dungeon)"), +(@ENTRY,0,2,0,54,0,100,0,0,0,0,0,89,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Risen Drakkari Warrior - On Just Summoned - Start Random Movement"), +(@ENTRY,0,3,7,38,0,100,0,1,1,0,0,53,1,@ENTRY*100+00,0,0,0,2,1,0,0,0,0,0,0,0,"Risen Drakkari Warrior - On Data Set 1 1 - Start Waypoint"), +(@ENTRY,0,4,8,38,0,100,0,1,2,0,0,53,1,@ENTRY*100+01,0,0,0,2,1,0,0,0,0,0,0,0,"Risen Drakkari Warrior - On Data Set 1 2 - Start Waypoint"), +(@ENTRY,0,5,0,40,0,100,0,9,@ENTRY*100+00,0,0,12,26635,3,600000,0,0,0,8,0,0,0,-358.38,-592.396,4.37907,3.71398,"Risen Drakkari Warrior - On Waypoint 9 Reached - Summon Creature 'Risen Drakkari Warrior'"), +(@ENTRY,0,6,0,40,0,100,0,9,@ENTRY*100+01,0,0,12,26636,3,600000,0,0,0,8,0,0,0,-362.385162,-609.420288,2.467764,2.788083,"Risen Drakkari Warrior - On Waypoint 9 Reached - Summon Creature 'Risen Drakkari Soulmage'"), +(@ENTRY,0,7,0,61,0,100,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Risen Drakkari Warrior - On Data Set 1 1 - Say Line 0"), +(@ENTRY,0,8,0,61,0,100,0,1,2,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Risen Drakkari Warrior - On Data Set 1 2 - Say Line 1"); + +DELETE FROM `waypoints` WHERE `entry`=2663500; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(2663500, 1, -358.149, -591.396, 4.8929, 'Risen Drakkari Warrior'), +(2663500, 2, -355.111, -588.661, 7.43521, 'Risen Drakkari Warrior'), +(2663500, 3, -351.322, -585.026, 10.995, 'Risen Drakkari Warrior'), +(2663500, 4, -345.376, -579.253, 11.012, 'Risen Drakkari Warrior'), +(2663500, 5, -343.792, -579.642, 11.012, 'Risen Drakkari Warrior'), +(2663500, 6, -346.169, -582.965, 11.012, 'Risen Drakkari Warrior'), +(2663500, 7, -350.619, -586.543, 10.6995, 'Risen Drakkari Warrior'), +(2663500, 8, -356.449, -591.583, 5.55874, 'Risen Drakkari Warrior'), +(2663500, 9, -363.399, -595.822, 2.26113, 'Risen Drakkari Warrior'); + +DELETE FROM `waypoints` WHERE `entry`=2663501; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(2663501, 1, -361.498, -611.317, 2.82481, 'Risen Drakkari Warrior'), +(2663501, 2, -358.749, -613.483, 4.91993, 'Risen Drakkari Warrior'), +(2663501, 3, -351.531, -619.59, 11.0096, 'Risen Drakkari Warrior'), +(2663501, 4, -349.112, -623.42, 11.0119, 'Risen Drakkari Warrior'), +(2663501, 5, -347.686, -624.43, 11.0119, 'Risen Drakkari Warrior'), +(2663501, 6, -346.433, -620.963, 11.0119, 'Risen Drakkari Warrior'), +(2663501, 7, -350.655, -617.858, 10.8491, 'Risen Drakkari Warrior'), +(2663501, 8, -356.367, -613.813, 6.09785, 'Risen Drakkari Warrior'), +(2663501, 9, -366.529, -607.86, 2.26056, 'Risen Drakkari Warrior'); + +DELETE FROM `creature_text` WHERE `entry`=26635; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(26635, 0, 0, 'Help mon! There''s too many of dem!', 14, 0, 100, 0, 0, 0, 26538, 0, 'Risen Drakkari Warrior'), +(26635, 1, 0, 'Backup! We need backup!', 14, 0, 100, 0, 0, 0, 26537, 0, 'Risen Drakkari Warrior'); +-- +UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid` IN (26626, 26637) AND `source_type`=0 AND `id`=0 AND `link`=1; +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (26636 ,26625); +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `guid`=127430; /*31261 */ + +UPDATE `creature_addon` SET `auras`='31261 49852' WHERE `guid` IN (127571, 127569, 127568, 127583, 127567, 127570, 127584); + +DELETE FROM `creature_template_addon` WHERE `entry`=26621; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(26621, 0, 0, 0, 1, 418, ''); + + +-- Pathing for Entry: 26624 'TDB FORMAT' +SET @NPC := 127403; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-321.1793,`position_y`=-660.2445,`position_z`=10.63094 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-321.1793,-660.2445,10.63094,0,0,0,0,100,0), +(@PATH,2,-314.265,-658.299,10.85989,0,0,0,0,100,0), +(@PATH,3,-308.3121,-663.0262,10.8531,0,0,0,0,100,0), +(@PATH,4,-312.3275,-667.5159,10.43025,0,0,0,0,100,0), +(@PATH,5,-323.8721,-672.2502,11.15234,0,0,0,0,100,0), +(@PATH,6,-325.2265,-672.576,11.07057,0,0,0,0,100,0), +(@PATH,7,-324.1945,-665.3568,10.65234,0,0,0,0,100,0), +(@PATH,8,-321.2054,-660.1317,10.51689,0,0,0,0,100,0), +(@PATH,9,-314.2662,-658.2737,10.85989,0,0,0,0,100,0), +(@PATH,10,-308.2971,-663.0308,10.85604,0,0,0,0,100,0), +(@PATH,11,-312.3167,-667.5278,10.43211,0,0,0,0,100,0), +(@PATH,12,-323.8912,-672.2682,11.15234,0,0,0,0,100,0), +(@PATH,13,-325.2353,-672.5774,11.0714,0,0,0,0,100,0), +(@PATH,14,-324.1946,-665.3556,10.65234,0,0,0,0,100,0), +(@PATH,15,-321.2102,-660.1342,10.51981,0,0,0,0,100,0), +(@PATH,16,-314.2662,-658.2732,10.85989,0,0,0,0,100,0), +(@PATH,17,-308.2755,-663.0374,10.86023,0,0,0,0,100,0), +(@PATH,18,-312.2948,-667.5519,10.43588,0,0,0,0,100,0), +(@PATH,19,-323.9076,-672.2837,11.15234,0,0,0,0,100,0), +(@PATH,20,-325.265,-672.582,11.07419,0,0,0,0,100,0); +-- 0x1C16DC4B001A0000005B0C0000578386 .go -321.1793 -660.2445 10.63094 + +-- Pathing for Entry: 26624 'TDB FORMAT' +SET @NPC := 127404; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-318.1556,`position_y`=-640.515,`position_z`=11.95144 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-318.1556,-640.515,11.95144,0,0,0,0,100,0), +(@PATH,2,-311.1296,-643.6861,11.3687,0,0,0,0,100,0), +(@PATH,3,-306.9548,-646.1841,10.92374,0,0,0,0,100,0), +(@PATH,4,-300.4054,-650.3721,11.09798,0,0,0,0,100,0), +(@PATH,5,-298.4008,-658.082,10.63272,0,0,0,0,100,0), +(@PATH,6,-298.8151,-659.7013,10.62173,0,0,0,0,100,0), +(@PATH,7,-310.1207,-661.3427,10.63743,0,0,0,0,100,0), +(@PATH,8,-314.2844,-659.1246,10.57358,0,0,0,0,100,0), +(@PATH,9,-316.9409,-657.6439,10.68161,0,0,0,0,100,0), +(@PATH,10,-325.1304,-655.4464,10.74956,0,0,0,0,100,0), +(@PATH,11,-329.8129,-650.3148,12.10803,0,0,0,0,100,0), +(@PATH,12,-329.9256,-647.5079,12.01005,0,0,0,0,100,0), +(@PATH,13,-328.6924,-642.873,12.058,0,0,0,0,100,0); +-- 0x1C16DC4B001A0000005B0C0000D78386 .go -318.1556 -640.515 11.95144 + +-- Pathing for Entry: 26637 'TDB FORMAT' +SET @NPC := 127444; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-466.2595,`position_y`=-652.3038,`position_z`=28.78722 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,6469,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-466.2595,-652.3038,28.78722,0,0,0,0,100,0), +(@PATH,2,-478.2595,-652.0538,28.78722,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=127444; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(127444, 127444, 0, 0, 2, 0, 0), +(127444, 127456, 4, 90, 2, 0, 0), +(127444, 127457, 4, 270, 2, 0, 0); + +-- Pathing for Entry: 26637 'TDB FORMAT' +SET @NPC := 127442; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-499.8308,`position_y`=-705.9434,`position_z`=30.6214 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,6469,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-499.8308,-705.9434,30.6214,0,0,0,0,100,0), +(@PATH,2,-502.4009,-683.0112,30.58796,0,0,0,0,100,0), +(@PATH,3,-502.3382,-683.26,30.3714,0,0,0,0,100,0), +(@PATH,4,-502.022,-683.1946,30.61549,0,0,0,0,100,0), +(@PATH,5,-499.6927,-706.1716,30.6214,0,0,0,0,100,0), +(@PATH,6,-496.0414,-714.49,30.6214,0,0,0,0,100,0), +(@PATH,7,-496.3022,-714.5132,30.3714,0,0,0,0,100,0), +(@PATH,8,-496.2182,-714.349,30.6214,0,0,0,0,100,0), +(@PATH,9,-499.8963,-705.8741,30.6214,0,0,0,0,100,0); +-- 0x1C16DC4B001A0340005B0C0000578386 .go -499.8308 -705.9434 30.6214 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=127442; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(127442, 127442, 0, 0, 2, 0, 0), +(127442, 127443, 4, 90, 2, 0, 0); + +DELETE FROM `creature_addon` WHERE `guid` IN (127617, 127589, 127438, 127590, 127428, 127427, 127580, 127579, 127432, 127578, 127433); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(127427, 0, 0, 0, 1, 36, ''), +(127428, 0, 0, 0, 1, 36, ''), +(127432, 0, 0, 0, 1, 36, ''), +(127433, 0, 0, 0, 1, 36, ''), +(127578, 0, 0, 0, 1, 36, ''), +(127579, 0, 0, 0, 1, 36, ''), +(127580, 0, 0, 0, 1, 36, ''), +(127589, 0, 0, 0, 1, 36, ''), +(127590, 0, 0, 0, 1, 36, ''), +(127617, 0, 0, 0, 1, 36, ''); + +-- Pathing for Entry: 26637 'TDB FORMAT' +SET @NPC := 127446; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-458.184,`position_y`=-595.712,`position_z`=93.7567 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,26751,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH, 1, -431.004, -599.244, 96.6243, 0, 0, 1, 0, 100, 0), +(@PATH, 2, -397.542, -607.933, 89.8221, 0, 0, 1, 0, 100, 0), +(@PATH, 3, -380.795, -608.944, 84.5094, 0, 0, 1, 0, 100, 0), +(@PATH, 4, -366.926, -609.622, 86.2929, 0, 0, 1, 0, 100, 0), +(@PATH, 5, -335.819, -610.248, 92.769, 0, 0, 1, 0, 100, 0), +(@PATH, 6, -324.31, -610.248, 94.3711, 0, 0, 1, 0, 100, 0), +(@PATH, 7, -313.428, -610.467, 95.2595, 0, 0, 1, 0, 100, 0), +(@PATH, 8, -331.964, -610.102, 92.3899, 0, 0, 1, 0, 100, 0), +(@PATH, 9, -343.592, -609.99, 90.6398, 0, 0, 1, 0, 100, 0), +(@PATH, 10, -367.122, -609.527, 87.0978, 0, 0, 1, 0, 100, 0), +(@PATH, 11, -381.21, -609.16, 84.9903, 0, 0, 1, 0, 100, 0), +(@PATH, 12, -399.507, -608.891, 89.1199, 0, 0, 1, 0, 100, 0), +(@PATH, 13, -428.922, -609.198, 91.8185, 0, 0, 1, 0, 100, 0); + +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (26638, 31351); + +-- Pathing for Entry: 29237 'TDB FORMAT' +SET @NPC := 203549; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=6709.566,`position_y`=-4355.494,`position_z`=440.7194 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,6709.566,-4355.494,440.7194,0,0,0,0,100,0), +(@PATH,2,6711.722,-4357.65,440.7194,0,0,0,0,100,0), +(@PATH,3,6713.885,-4359.814,440.7194,0,0,0,0,100,0), +(@PATH,4,6716.069,-4361.999,440.7194,0,0,0,0,100,0), +(@PATH,5,6718.223,-4364.154,440.7194,0,0,0,0,100,0), +(@PATH,6,6720.4,-4366.332,440.7194,0,0,0,0,100,0), +(@PATH,7,6722.556,-4368.488,440.7025,0,0,0,0,100,0), +(@PATH,8,6724.659,-4370.592,440.7025,0,0,0,0,100,0), +(@PATH,9,6726.705,-4372.757,440.7025,0,0,0,0,100,0), +(@PATH,10,6728.782,-4374.959,440.7025,0,0,0,0,100,0), +(@PATH,11,6730.868,-4377.171,440.7025,0,0,0,0,100,0), +(@PATH,12,6732.948,-4379.376,440.7025,0,0,0,0,100,0), +(@PATH,13,6735.021,-4381.573,440.6158,0,0,0,0,100,0), +(@PATH,14,6737.099,-4383.777,440.6158,0,0,0,0,100,0), +(@PATH,15,6738.558,-4385.286,440.6158,0,0,0,0,100,0), +(@PATH,16,6740.794,-4387.498,440.6158,0,0,0,0,100,0), +(@PATH,17,6743.027,-4389.707,440.6158,0,0,0,0,100,0), +(@PATH,18,6745.267,-4391.922,440.6158,0,0,0,0,100,0), +(@PATH,19,6747.505,-4394.136,440.6158,0,0,0,0,100,0), +(@PATH,20,6749.747,-4396.354,440.6158,0,0,0,0,100,0), +(@PATH,21,6752.003,-4398.586,440.6158,0,0,0,0,100,0), +(@PATH,22,6754.265,-4400.824,440.6158,0,0,0,0,100,0), +(@PATH,23,6756.507,-4403.042,440.6158,0,0,0,0,100,0), +(@PATH,24,6758.502,-4405.03,440.6158,0,0,0,0,100,0), +(@PATH,25,6760.651,-4407.223,440.6158,0,0,0,0,100,0), +(@PATH,26,6762.793,-4409.409,440.6158,0,0,0,0,100,0), +(@PATH,27,6764.924,-4411.583,440.6158,0,0,0,0,100,0), +(@PATH,28,6767.083,-4413.788,440.7194,0,0,0,0,100,0), +(@PATH,29,6769.217,-4415.966,440.7194,0,0,0,0,100,0), +(@PATH,30,6771.352,-4418.145,440.7194,0,0,0,0,100,0), +(@PATH,31,6773.472,-4420.309,440.7194,0,0,0,0,100,0), +(@PATH,32,6775.598,-4422.479,440.7194,0,0,0,0,100,0), +(@PATH,33,6776.916,-4423.868,440.7194,0,0,0,0,100,0), +(@PATH,34,6779.079,-4426.187,440.7194,0,0,0,0,100,0), +(@PATH,35,6781.248,-4428.51,440.7194,0,0,0,0,100,0), +(@PATH,36,6783.421,-4430.838,440.7194,0,0,0,0,100,0), +(@PATH,37,6785.586,-4433.158,440.7194,0,0,0,0,100,0), +(@PATH,38,6787.766,-4435.493,440.7009,0,0,0,0,100,0), +(@PATH,39,6789.926,-4437.807,440.7009,0,0,0,0,100,0), +(@PATH,40,6791.934,-4439.958,440.7009,0,0,0,0,100,0), +(@PATH,41,6794.533,-4442.054,440.7009,0,0,0,0,100,0), +(@PATH,42,6796.933,-4443.941,440.7009,0,0,0,0,100,0), +(@PATH,43,6799.326,-4445.824,440.7009,0,0,0,0,100,0), +(@PATH,44,6801.72,-4447.708,440.7194,0,0,0,0,100,0), +(@PATH,45,6804.107,-4449.586,440.7194,0,0,0,0,100,0), +(@PATH,46,6805.872,-4450.974,440.7194,0,0,0,0,100,0), +(@PATH,47,6805.872,-4450.974,440.7194,0,0,0,0,100,0), +(@PATH,48,6802.628,-4448.422,440.7194,0,0,0,0,100,0), +(@PATH,49,6801.03,-4447.165,440.7194,0,0,0,0,100,0), +(@PATH,50,6798.649,-4445.292,440.7009,0,0,0,0,100,0), +(@PATH,51,6796.252,-4443.406,440.7009,0,0,0,0,100,0), +(@PATH,52,6793.855,-4441.521,440.7009,0,0,0,0,100,0), +(@PATH,53,6791.484,-4439.477,440.7009,0,0,0,0,100,0), +(@PATH,54,6789.404,-4437.248,440.7009,0,0,0,0,100,0), +(@PATH,55,6787.313,-4435.008,440.7009,0,0,0,0,100,0), +(@PATH,56,6785.237,-4432.784,440.7194,0,0,0,0,100,0), +(@PATH,57,6783.164,-4430.563,440.7194,0,0,0,0,100,0), +(@PATH,58,6781.085,-4428.335,440.7194,0,0,0,0,100,0), +(@PATH,59,6778.998,-4426.099,440.7194,0,0,0,0,100,0), +(@PATH,60,6776.91,-4423.862,440.7194,0,0,0,0,100,0), +(@PATH,61,6775.327,-4422.202,440.7194,0,0,0,0,100,0), +(@PATH,62,6773.147,-4419.977,440.7194,0,0,0,0,100,0), +(@PATH,63,6770.978,-4417.763,440.7194,0,0,0,0,100,0), +(@PATH,64,6768.798,-4415.538,440.7194,0,0,0,0,100,0), +(@PATH,65,6766.607,-4413.302,440.6158,0,0,0,0,100,0), +(@PATH,66,6764.424,-4411.074,440.6158,0,0,0,0,100,0), +(@PATH,67,6762.253,-4408.858,440.6158,0,0,0,0,100,0), +(@PATH,68,6760.07,-4406.629,440.6158,0,0,0,0,100,0), +(@PATH,69,6757.998,-4404.517,440.6158,0,0,0,0,100,0), +(@PATH,70,6755.836,-4402.378,440.6158,0,0,0,0,100,0), +(@PATH,71,6753.682,-4400.247,440.6158,0,0,0,0,100,0), +(@PATH,72,6751.511,-4398.099,440.6158,0,0,0,0,100,0), +(@PATH,73,6749.368,-4395.979,440.6158,0,0,0,0,100,0), +(@PATH,74,6747.188,-4393.823,440.6158,0,0,0,0,100,0), +(@PATH,75,6745.053,-4391.711,440.6158,0,0,0,0,100,0), +(@PATH,76,6742.909,-4389.59,440.6158,0,0,0,0,100,0), +(@PATH,77,6740.754,-4387.458,440.6158,0,0,0,0,100,0), +(@PATH,78,6738.592,-4385.319,440.6158,0,0,0,0,100,0), +(@PATH,79,6736.751,-4383.408,440.6158,0,0,0,0,100,0), +(@PATH,80,6734.615,-4381.143,440.6158,0,0,0,0,100,0), +(@PATH,81,6732.473,-4378.873,440.7025,0,0,0,0,100,0), +(@PATH,82,6730.346,-4376.617,440.7025,0,0,0,0,100,0), +(@PATH,83,6728.218,-4374.362,440.7025,0,0,0,0,100,0), +(@PATH,84,6729.046,-4370.898,440.9525,0,0,0,0,100,0), +(@PATH,85,6724.064,-4369.998,440.7025,0,0,0,0,100,0), +(@PATH,86,6721.935,-4367.867,440.7025,0,0,0,0,100,0), +(@PATH,87,6719.804,-4365.736,440.7194,0,0,0,0,100,0), +(@PATH,88,6717.628,-4363.559,440.7194,0,0,0,0,100,0), +(@PATH,89,6715.489,-4361.419,440.7194,0,0,0,0,100,0), +(@PATH,90,6713.351,-4359.279,440.7194,0,0,0,0,100,0), +(@PATH,91,6711.217,-4357.145,440.7194,0,0,0,0,100,0), +(@PATH,92,6709.114,-4355.041,440.7194,0,0,0,0,100,0), +(@PATH,93,6706.909,-4353.476,440.7194,0,0,0,0,100,0), +(@PATH,94,6704.445,-4351.718,440.7194,0,0,0,0,100,0), +(@PATH,95,6701.982,-4349.961,440.7194,0,0,0,0,100,0), +(@PATH,96,6699.487,-4348.182,440.7194,0,0,0,0,100,0), +(@PATH,97,6697.032,-4346.43,440.7194,0,0,0,0,100,0), +(@PATH,98,6696.491,-4345.139,440.7194,0,0,0,0,100,0), +(@PATH,99,6693.5,-4346.004,440.7194,0,0,0,0,100,0), +(@PATH,100,6690.534,-4346.862,440.7194,0,0,0,0,100,0), +(@PATH,101,6687.572,-4347.719,440.7582,0,0,0,0,100,0), +(@PATH,102,6684.732,-4348.541,440.7194,0,0,0,0,100,0), +(@PATH,103,6683.093,-4349.978,440.7194,0,0,0,0,100,0), +(@PATH,104,6680.785,-4351.966,440.7194,0,0,0,0,100,0), +(@PATH,105,6678.49,-4353.942,440.7194,0,0,0,0,100,0), +(@PATH,106,6676.195,-4355.919,440.7194,0,0,0,0,100,0), +(@PATH,107,6673.887,-4357.907,440.7194,0,0,0,0,100,0), +(@PATH,108,6672.325,-4359.7,440.7194,0,0,0,0,100,0), +(@PATH,109,6670.341,-4362.154,440.7194,0,0,0,0,100,0), +(@PATH,110,6668.408,-4364.545,440.7194,0,0,0,0,100,0), +(@PATH,111,6666.455,-4366.962,440.8546,0,0,0,0,100,0), +(@PATH,112,6664.507,-4369.371,440.9098,0,0,0,0,100,0), +(@PATH,113,6663.903,-4370.801,441.0089,0,0,0,0,100,0), +(@PATH,114,6663.605,-4373.883,440.7194,0,0,0,0,100,0), +(@PATH,115,6663.312,-4376.927,440.7194,0,0,0,0,100,0), +(@PATH,116,6663.017,-4379.976,440.7194,0,0,0,0,100,0), +(@PATH,117,6663.048,-4380.506,440.7194,0,0,0,0,100,0), +(@PATH,118,6665.024,-4382.971,440.7194,0,0,0,0,100,0), +(@PATH,119,6667.013,-4385.452,440.7194,0,0,0,0,100,0), +(@PATH,120,6669.01,-4387.943,440.7194,0,0,0,0,100,0), +(@PATH,121,6670.983,-4390.403,440.7194,0,0,0,0,100,0), +(@PATH,122,6672.976,-4392.888,440.7194,0,0,0,0,100,0), +(@PATH,123,6674.643,-4394.981,440.7194,0,0,0,0,100,0), +(@PATH,124,6676.801,-4397.127,440.7194,0,0,0,0,100,0), +(@PATH,125,6678.959,-4399.274,440.7194,0,0,0,0,100,0), +(@PATH,126,6681.114,-4401.417,440.7194,0,0,0,0,100,0), +(@PATH,127,6683.27,-4403.563,440.7194,0,0,0,0,100,0), +(@PATH,128,6685.439,-4405.72,440.7194,0,0,0,0,100,0), +(@PATH,129,6687.588,-4407.858,440.7194,0,0,0,0,100,0), +(@PATH,130,6689.752,-4410.01,440.7194,0,0,0,0,100,0), +(@PATH,131,6691.524,-4411.785,440.7194,0,0,0,0,100,0), +(@PATH,132,6693.658,-4414.005,440.7194,0,0,0,0,100,0), +(@PATH,133,6695.81,-4416.244,440.7194,0,0,0,0,100,0), +(@PATH,134,6697.947,-4418.468,440.7194,0,0,0,0,100,0), +(@PATH,135,6700.072,-4420.679,440.6158,0,0,0,0,100,0), +(@PATH,136,6702.215,-4422.909,440.6158,0,0,0,0,100,0), +(@PATH,137,6704.354,-4425.135,440.6158,0,0,0,0,100,0), +(@PATH,138,6706.516,-4427.385,440.6158,0,0,0,0,100,0), +(@PATH,139,6708.664,-4429.62,440.6158,0,0,0,0,100,0), +(@PATH,140,6710.82,-4431.864,440.6158,0,0,0,0,100,0), +(@PATH,141,6713.229,-4433.922,440.7194,0,0,0,0,100,0), +(@PATH,142,6715.676,-4436.133,440.7194,0,0,0,0,100,0), +(@PATH,143,6718.125,-4438.346,440.7194,0,0,0,0,100,0), +(@PATH,144,6720.556,-4440.542,440.7194,0,0,0,0,100,0), +(@PATH,145,6722.997,-4442.747,440.7194,0,0,0,0,100,0), +(@PATH,146,6725.418,-4444.934,440.7194,0,0,0,0,100,0), +(@PATH,147,6727.87,-4447.148,440.7194,0,0,0,0,100,0), +(@PATH,148,6730.146,-4449.292,440.7194,0,0,0,0,100,0), +(@PATH,149,6730.788,-4452.639,440.7194,0,0,0,0,100,0), +(@PATH,150,6731.166,-4454.971,440.7194,0,0,0,0,100,0), +(@PATH,151,6731.166,-4457.63,440.7194,0,0,0,0,100,0), +(@PATH,152,6732.197,-4457.931,440.7194,0,0,0,0,100,0), +(@PATH,153,6734.809,-4459.646,440.7194,0,0,0,0,100,0), +(@PATH,154,6737.403,-4461.349,440.7194,0,0,0,0,100,0), +(@PATH,155,6740.015,-4463.064,440.7194,0,0,0,0,100,0), +(@PATH,156,6742.618,-4464.773,440.7194,0,0,0,0,100,0), +(@PATH,157,6745.232,-4466.489,440.7194,0,0,0,0,100,0), +(@PATH,158,6747.178,-4467.969,440.7194,0,0,0,0,100,0), +(@PATH,159,6749.505,-4470.075,440.7194,0,0,0,0,100,0), +(@PATH,160,6751.848,-4472.194,440.7194,0,0,0,0,100,0), +(@PATH,161,6754.179,-4474.303,440.7194,0,0,0,0,100,0), +(@PATH,162,6756.502,-4476.405,440.7194,0,0,0,0,100,0), +(@PATH,163,6758.849,-4478.528,440.7194,0,0,0,0,100,0), +(@PATH,164,6761.196,-4480.651,440.7194,0,0,0,0,100,0), +(@PATH,165,6763.529,-4482.762,440.7194,0,0,0,0,100,0), +(@PATH,166,6765.672,-4484.701,440.7194,0,0,0,0,100,0), +(@PATH,167,6765.672,-4484.701,440.7194,0,0,0,0,100,0), +(@PATH,168,6762.613,-4481.934,440.7194,0,0,0,0,100,0), +(@PATH,169,6761.11,-4480.573,440.7194,0,0,0,0,100,0), +(@PATH,170,6758.854,-4478.532,440.7194,0,0,0,0,100,0), +(@PATH,171,6756.6,-4476.493,440.7194,0,0,0,0,100,0), +(@PATH,172,6754.358,-4474.465,440.7194,0,0,0,0,100,0), +(@PATH,173,6752.123,-4472.442,440.7194,0,0,0,0,100,0), +(@PATH,174,6749.883,-4470.417,440.7194,0,0,0,0,100,0), +(@PATH,175,6747.618,-4468.367,440.7194,0,0,0,0,100,0), +(@PATH,176,6747.454,-4468.149,440.7194,0,0,0,0,100,0), +(@PATH,177,6745.778,-4463.783,440.7194,0,0,0,0,100,0), +(@PATH,178,6743.626,-4461.631,440.7194,0,0,0,0,100,0), +(@PATH,179,6741.465,-4459.471,440.7194,0,0,0,0,100,0), +(@PATH,180,6739.305,-4457.311,440.7194,0,0,0,0,100,0), +(@PATH,181,6737.125,-4455.129,440.7194,0,0,0,0,100,0), +(@PATH,182,6734.964,-4452.969,440.7194,0,0,0,0,100,0), +(@PATH,183,6731.37,-4451.403,440.7194,0,0,0,0,100,0); +-- 0x1C091047601C8D4000000B0000572225 .go 6709.566 -4355.494 440.7194 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=203549; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(203549, 203549, 0, 0, 2, 0, 0), +(203549, 203562, 3, 270, 2, 0, 0); +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126942; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269420, 1, 1336.35, 97.1842, 40.1805, 0, 0, 0, 0, 100, 0), +(1269420, 2, 1337.76, 97.2226, 40.1805, 0, 0, 0, 0, 100, 0), +(1269420, 3, 1339.43, 101.827, 40.1805, 0, 0, 0, 0, 100, 0), +(1269420, 4, 1337.51, 102.338, 40.1805, 0, 0, 0, 0, 100, 0), +(1269420, 5, 1337.45, 101.881, 40.1805, 0, 4000, 0, 0, 100, 0), +(1269420, 6, 1327.41, 101.553, 40.1805, 0, 0, 0, 0, 100, 0), +(1269420, 7, 1327.35, 100.975, 40.1805, 0, 4000, 0, 0, 100, 0), +(1269420, 8, 1325.64, 100.623, 40.1805, 0, 0, 0, 0, 100, 0), +(1269420, 9, 1325.01, 96.4632, 40.1805, 0, 0, 0, 0, 100, 0), +(1269420, 10, 1327.11, 96.4808, 40.1805, 0, 0, 0, 0, 100, 0), +(1269420, 11, 1327.07, 96.8291, 40.1805, 0, 4000, 0, 0, 100, 0); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (28582, 30974); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(28582, 0, 0, 0, 0, 69, ''), +(30974, 0, 0, 0, 0, 69, ''); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126926; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269260, 1, 1377.28, 64.533, 48.8931, 0, 0, 0, 0, 100, 0), +(1269260, 2, 1377.69, 64.9436, 48.8931, 0, 6000, 0, 0, 100, 0), +(1269260, 3, 1359.25, 81.9585, 41.0455, 0, 0, 0, 0, 100, 0), +(1269260, 4, 1359.68, 82.5069, 41.0204, 0, 6000, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126915; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269150, 1, 1393.45, 47.8648, 50.0383, 0, 6000, 0, 0, 100, 0), +(1269150, 2, 1401.61, 46.3271, 50.0383, 0, 0, 0, 0, 100, 0), +(1269150, 3, 1401.81, 45.7834, 50.0383, 0, 6000, 0, 0, 100, 0), +(1269150, 4, 1394.37, 48.5111, 50.0383, 0, 0, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126925; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269250, 1, 1414.64, 32.7402, 50.2271, 0, 0, 0, 0, 100, 0), +(1269250, 2, 1419.4, 32.7552, 53.1143, 0, 0, 0, 0, 100, 0), +(1269250, 3, 1429.45, 32.845, 58.7644, 0, 0, 0, 0, 100, 0), +(1269250, 4, 1433.53, 32.8176, 58.7671, 0, 0, 0, 0, 100, 0), +(1269250, 5, 1434.02, 32.0269, 58.7671, 0, 6000, 0, 0, 100, 0), +(1269250, 6, 1430.18, 32.2594, 58.7671, 0, 0, 0, 0, 100, 0), +(1269250, 7, 1422.24, 32.287, 54.8356, 0, 0, 0, 0, 100, 0), +(1269250, 8, 1414.43, 32.6758, 50.0945, 0, 0, 0, 0, 100, 0), +(1269250, 9, 1407.78, 32.7916, 50.0383, 0, 0, 0, 0, 100, 0), +(1269250, 10, 1406.76, 32.718, 50.0383, 0, 6000, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126924; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269240, 1, 1358.66, -8.12641, 41.1612, 0, 0, 0, 0, 100, 0), +(1269240, 2, 1359.22, -8.72624, 41.1518, 0, 6000, 0, 0, 100, 0), +(1269240, 3, 1376.27, 9.68446, 48.9541, 0, 0, 0, 0, 100, 0), +(1269240, 4, 1376.68, 9.25245, 48.95, 0, 6000, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126933; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269330, 1, 1353.19, 3.42894, 42.4993, 0, 0, 0, 0, 100, 0), +(1269330, 2, 1352.77, 3.83879, 42.4978, 0, 6000, 0, 0, 100, 0), +(1269330, 3, 1368.11, 18.3238, 49.0597, 0, 0, 0, 0, 100, 0), +(1269330, 4, 1367.63, 18.8363, 49.0662, 0, 6000, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126939; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269390, 1, 1324.11, -36.4178, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 2, 1320.59, -33.3142, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 3, 1322.34, -31.4373, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 4, 1323.13, -32.1258, 40.1806, 0, 6000, 0, 0, 100, 0), +(1269390, 5, 1321.68, -35.1774, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 6, 1324.78, -37.6497, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 7, 1340.48, -36.3091, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 8, 1341.82, -34.5498, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 9, 1342.51, -31.7143, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 10, 1343.71, -26.8389, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 11, 1343.06, -26.1627, 40.1806, 0, 6000, 0, 0, 100, 0), +(1269390, 12, 1341.99, -31.7877, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 13, 1341.6, -32.2199, 40.1806, 0, 6000, 0, 0, 100, 0), +(1269390, 14, 1341.2, -36.4011, 40.1806, 0, 0, 0, 0, 100, 0), +(1269390, 15, 1325.72, -38.8983, 40.1806, 0, 0, 0, 0, 100, 0); + + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126941; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269410, 1, 1267.08, -35.0841, 33.5057, 0, 6000, 0, 0, 100, 0), +(1269410, 2, 1253.98, -31.204, 33.5057, 0, 0, 0, 0, 100, 0), +(1269410, 3, 1252.76, -28.9487, 33.5057, 0, 6000, 0, 0, 100, 0), +(1269410, 4, 1255.2, -33.8478, 33.5057, 0, 0, 0, 0, 100, 0), +(1269410, 5, 1256.82, -34.5311, 33.5057, 0, 6000, 0, 0, 100, 0), +(1269410, 6, 1256.49, -38.1348, 33.5057, 0, 0, 0, 0, 100, 0), +(1269410, 7, 1259.85, -39.4856, 33.5057, 0, 0, 0, 0, 100, 0), +(1269410, 8, 1264.16, -36.9788, 33.5057, 0, 0, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126917; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269170, 1, 1268.62, 32.3739, 33.5057, 0, 0, 0, 0, 100, 0), +(1269170, 2, 1270.03, 32.3423, 33.5057, 0, 6000, 0, 0, 100, 0), +(1269170, 3, 1269.46, 0.489199, 33.5057, 0, 0, 0, 0, 100, 0), +(1269170, 4, 1269.81, 0.525176, 33.5057, 0, 6000, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126940; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269400, 1, 1269.07, 39.2463, 33.5055, 0, 0, 0, 0, 100, 0), +(1269400, 2, 1269.94, 39.279, 33.5055, 0, 6000, 0, 0, 100, 0), +(1269400, 3, 1269, 68.7823, 33.5055, 0, 0, 0, 0, 100, 0), +(1269400, 4, 1269.8, 68.7924, 33.5055, 0, 6000, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126919; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269190, 1, 1254.43, 38.9632, 33.5056, 0, 0, 0, 0, 100, 0), +(1269190, 2, 1254.33, 32.6571, 35.0186, 0, 0, 0, 0, 100, 0), +(1269190, 3, 1254.73, 9.53858, 33.5056, 0, 0, 0, 0, 100, 0), +(1269190, 4, 1254.26, 9.55597, 33.5056, 0, 6000, 0, 0, 100, 0), +(1269190, 5, 1254.61, 28.5055, 33.8212, 0, 0, 0, 0, 100, 0), +(1269190, 6, 1254.59, 33.0582, 35.0141, 0, 0, 0, 0, 100, 0), +(1269190, 7, 1254.56, 55.7588, 33.5058, 0, 0, 0, 0, 100, 0), +(1269190, 8, 1254.14, 55.7403, 33.5058, 0, 6000, 0, 0, 100, 0); + +-- Pathing for Entry: 28582 'TDB FORMAT' +SET @NPC := 126918; +SET @PATH := 1269180; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1269180, 1, 1252.42, 106.457, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 2, 1249.45, 101.782, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 3, 1250.39, 100.591, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 4, 1251.37, 101.803, 33.5057, 0, 6000, 0, 0, 100, 0), +(1269180, 5, 1250.43, 104.446, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 6, 1259.91, 113.097, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 7, 1265.25, 112.968, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 8, 1273.82, 106.516, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 9, 1274.95, 101.531, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 10, 1272.59, 100.018, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 11, 1272.4, 100.808, 33.5057, 0, 6000, 0, 0, 100, 0), +(1269180, 12, 1275.02, 103.29, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 13, 1273.92, 106.241, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 14, 1267.23, 108.337, 33.5057, 0, 0, 0, 0, 100, 0), +(1269180, 15, 1264.99, 108.96, 33.5057, 0, 6000, 0, 0, 100, 0), +(1269180, 16, 1263.4, 112.342, 33.5057, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `spawndist`=8, `MovementType`=1 WHERE `id`=28585; +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (28825, 28547, 28584, 28583); + +-- Pathing for Entry: 28583 'TDB FORMAT' +SET @NPC := 126954; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1311.234,`position_y`=-158.9818,`position_z`=52.27496 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1311.234,-158.9818,52.27496,0,0,0,0,100,0), +(@PATH,2,1312.317,-174.7872,52.27221,0,0,0,0,100,0), +(@PATH,3,1328.705,-186.7419,52.27302,0,0,0,0,100,0), +(@PATH,4,1341.044,-184.8856,52.27322,0,0,0,0,100,0), +(@PATH,5,1354.387,-173.1809,52.27328,0,0,0,0,100,0), +(@PATH,6,1354.742,-169.7169,52.27325,0,0,0,0,100,0), +(@PATH,7,1348.927,-148.5091,52.27411,0,0,0,0,100,0), +(@PATH,8,1335.543,-142.5214,52.27379,0,0,0,0,100,0), +(@PATH,9,1318.144,-146.4185,52.31124,0,0,0,0,100,0), +(@PATH,10,1311.167,-158.8409,52.27437,0,0,0,0,100,0); +-- 0x1C307C4B401BE9C000021700025672BB .go 1311.234 -158.9818 52.27496 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126954; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126954, 126954, 0, 0, 2, 0, 0), +(126954, 126955, 3, 0, 2, 0, 0); + +-- Pathing for Entry: 28583 'TDB FORMAT' +SET @NPC := 76296; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(762960, 1, 1176.14, -298.09, 52.3436, 0, 0, 0, 0, 100, 0), +(762960, 2, 1176.3, -246.576, 52.3528, 0, 0, 0, 0, 100, 0); + +-- Pathing for Entry: 28583 'TDB FORMAT' +SET @NPC := 76297; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(762970, 1, 1180.57, -315.473, 52.3378, 0, 0, 0, 0, 100, 0), +(762970, 2, 1171.95, -315.333, 52.3378, 0, 0, 0, 0, 100, 0), +(762970, 3, 1171.02, -327.394, 52.6927, 0, 0, 0, 0, 100, 0), +(762970, 4, 1183.75, -330.38, 52.3378, 0, 0, 0, 0, 100, 0), +(762970, 5, 1183.62, -317.868, 52.3378, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `spawndist`=8,`MovementType`=1 WHERE `guid`=76298; +UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid`=28547 AND `source_type`=0 AND `id`=0 AND `link`=0; + +-- Pathing for Entry: 28583 'TDB FORMAT' +SET @NPC := 126874; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(1268740, 1, 1118.22, -248.207, 56.8882, 0, 0, 1, 0, 100, 0), +(1268740, 2, 1118.62, -274.988, 56.8831, 0, 0, 1, 0, 100, 0); + +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); + +DELETE FROM `creature_addon` WHERE `guid` IN (126904, 126921, 126903, 126911, 126928, 126929, 126930, 126931, 126912); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(126911, 0, 0, 0, 1, 69, ''), +(126928, 0, 0, 0, 1, 69, ''), +(126929, 0, 0, 0, 1, 69, ''), +(126930, 0, 0, 0, 1, 69, ''), +(126931, 0, 0, 0, 1, 69, ''), +(126912, 0, 0, 0, 1, 69, ''), +(126903, 0, 0, 0, 1, 69, ''), +(126921, 0, 0, 0, 1, 69, ''), +(126904, 0, 0, 0, 1, 69, ''); + + +UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid`=28838 AND `source_type`=0 AND `id`=0 AND `link`=1; +-- Pathing for Entry: 28838 'TDB FORMAT' +SET @NPC := 126938; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1096.845,`position_y`=-166.1139,`position_z`=58.68692 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1096.845,-166.1139,58.68692,0,0,0,0,100,0), +(@PATH,2,1091.599,-152.8187,61.33255,0,0,0,0,100,0), +(@PATH,3,1076.235,-141.8798,61.18824,0,0,0,0,100,0), +(@PATH,4,1060.763,-145.9723,61.39173,0,0,0,0,100,0), +(@PATH,5,1049.471,-171.0271,58.53773,0,0,0,0,100,0), +(@PATH,6,1055.509,-189.0143,58.94555,0,0,0,0,100,0), +(@PATH,7,1073.278,-198.3343,59.91864,0,0,0,0,100,0), +(@PATH,8,1091.632,-153.0076,61.24912,0,0,0,0,100,0), +(@PATH,9,1076.185,-141.7971,61.18842,0,0,0,0,100,0), +(@PATH,10,1060.682,-145.9083,61.35257,0,0,0,0,100,0), +(@PATH,11,1049.497,-171.1528,58.5324,0,0,0,0,100,0), +(@PATH,12,1055.636,-188.8313,58.83115,0,0,0,0,100,0), +(@PATH,13,1073.335,-198.4241,59.88276,0,0,0,0,100,0), +(@PATH,14,1083.434,-195.9087,59.84556,0,0,0,0,100,0), +(@PATH,15,1095.76,-180.6208,58.73315,0,0,0,0,100,0), +(@PATH,16,1096.683,-166.0892,58.71755,0,0,0,0,100,0), +(@PATH,17,1091.595,-152.9597,61.3679,0,0,0,0,100,0), +(@PATH,18,1076.179,-141.7626,61.18819,0,0,0,0,100,0), +(@PATH,19,1060.637,-145.9161,61.39425,0,0,0,0,100,0), +(@PATH,20,1049.585,-171.0794,58.53699,0,0,0,0,100,0), +(@PATH,21,1055.467,-188.91,58.98404,0,0,0,0,100,0), +(@PATH,22,1073.328,-198.439,59.93514,0,0,0,0,100,0), +(@PATH,23,1083.423,-195.8686,59.93195,0,0,0,0,100,0), +(@PATH,24,1095.775,-180.6299,58.52916,0,0,0,0,100,0), +(@PATH,25,1096.451,-166.0939,58.80622,0,0,0,0,100,0), +(@PATH,26,1091.409,-152.9162,61.46411,0,0,0,0,100,0), +(@PATH,27,1076.1,-141.8916,61.18857,0,0,0,0,100,0), +(@PATH,28,1060.651,-145.9504,61.40473,0,0,0,0,100,0), +(@PATH,29,1049.581,-171.0241,58.53423,0,0,0,0,100,0), +(@PATH,30,1055.498,-188.95,59.02743,0,0,0,0,100,0), +(@PATH,31,1073.29,-198.3899,60.07246,0,0,0,0,100,0), +(@PATH,32,1083.527,-195.7341,59.79642,0,0,0,0,100,0), +(@PATH,33,1095.63,-180.5483,58.69926,0,0,0,0,100,0), +(@PATH,34,1096.488,-165.9498,58.67723,0,0,0,0,100,0), +(@PATH,35,1091.622,-152.8619,61.2616,0,0,0,0,100,0), +(@PATH,36,1076.115,-141.9001,61.18835,0,0,0,0,100,0), +(@PATH,37,1060.789,-145.8449,61.36668,0,0,0,0,100,0), +(@PATH,38,1049.622,-171.201,58.53172,0,0,0,0,100,0), +(@PATH,39,1055.608,-188.9287,58.85689,0,0,0,0,100,0), +(@PATH,40,1073.355,-198.4655,59.88638,0,0,0,0,100,0), +(@PATH,41,1083.45,-195.9156,59.8475,0,0,0,0,100,0), +(@PATH,42,1095.778,-180.6123,58.73478,0,0,0,0,100,0), +(@PATH,43,1096.679,-166.0957,58.71638,0,0,0,0,100,0), +(@PATH,44,1091.597,-152.9846,61.35995,0,0,0,0,100,0), +(@PATH,45,1076.191,-141.7885,61.1882,0,0,0,0,100,0), +(@PATH,46,1060.679,-145.9348,61.39341,0,0,0,0,100,0), +(@PATH,47,1049.618,-171.0668,58.53717,0,0,0,0,100,0), +(@PATH,48,1055.49,-188.8295,58.96278,0,0,0,0,100,0), +(@PATH,49,1073.294,-198.3665,59.92146,0,0,0,0,100,0), +(@PATH,50,1083.419,-195.9023,59.84375,0,0,0,0,100,0), +(@PATH,51,1095.709,-180.6607,58.52328,0,0,0,0,100,0), +(@PATH,52,1096.673,-166.108,58.71417,0,0,0,0,100,0), +(@PATH,53,1091.596,-152.9702,61.36453,0,0,0,0,100,0), +(@PATH,54,1076.134,-141.7107,61.1886,0,0,0,0,100,0), +(@PATH,55,1060.718,-145.7299,61.40303,0,0,0,0,100,0), +(@PATH,56,1049.66,-170.9935,58.53466,0,0,0,0,100,0), +(@PATH,57,1055.598,-189.0659,59.09127,0,0,0,0,100,0), +(@PATH,58,1073.295,-198.3694,59.92171,0,0,0,0,100,0), +(@PATH,59,1083.648,-195.8578,59.9237,0,0,0,0,100,0), +(@PATH,60,1095.808,-180.5819,58.69283,0,0,0,0,100,0), +(@PATH,61,1096.681,-166.0555,58.68321,0,0,0,0,100,0), +(@PATH,62,1091.416,-153.0063,61.45639,0,0,0,0,100,0), +(@PATH,63,1076.171,-141.768,61.18841,0,0,0,0,100,0), +(@PATH,64,1060.65,-145.894,61.35575,0,0,0,0,100,0), +(@PATH,65,1049.462,-171.1664,58.5322,0,0,0,0,100,0), +(@PATH,66,1055.634,-188.8381,58.83295,0,0,0,0,100,0), +(@PATH,67,1073.464,-198.508,59.93453,0,0,0,0,100,0), +(@PATH,68,1083.448,-195.6998,59.78678,0,0,0,0,100,0), +(@PATH,69,1095.786,-180.5919,58.69092,0,0,0,0,100,0), +(@PATH,70,1096.673,-166.0698,58.68402,0,0,0,0,100,0), +(@PATH,71,1091.631,-152.9937,61.25031,0,0,0,0,100,0), +(@PATH,72,1076.178,-141.7825,61.18841,0,0,0,0,100,0), +(@PATH,73,1060.676,-145.9058,61.35313,0,0,0,0,100,0), +(@PATH,74,1049.458,-171.1682,58.53218,0,0,0,0,100,0), +(@PATH,75,1055.627,-188.8615,58.83912,0,0,0,0,100,0), +(@PATH,76,1070.503,-200.296,61.23225,0,0,0,0,100,0); +-- 0x1C16DC4B401C2980000A1E0001563CBC .go 1096.845 -166.1139 58.68692 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126938; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126938, 126938, 0, 0, 2, 0, 0), +(126938, 126937, 5, 90, 2, 0, 0); + +-- Pathing for Entry: 28838 'TDB FORMAT' +SET @NPC := 126935; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1049.899,`position_y`=-99.5955,`position_z`=59.38226 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1049.899,-99.5955,59.38226,0,0,0,0,100,0), +(@PATH,2,1050.742,-83.34245,58.92643,0,0,0,0,100,0), +(@PATH,3,1055.898,-75.28898,59.04939,0,0,0,0,100,0), +(@PATH,4,1066.186,-64.55377,61.31993,0,0,0,0,100,0), +(@PATH,5,1083.335,-68.16859,59.77402,0,0,0,0,100,0), +(@PATH,6,1095.981,-92.44127,57.85799,0,0,0,0,100,0), +(@PATH,7,1097.756,-106.9242,61.43462,0,0,0,0,100,0), +(@PATH,8,1097.813,-109.0895,61.5177,0,0,0,0,100,0), +(@PATH,9,1073.511,-124.8458,61.22898,0,0,0,0,100,0), +(@PATH,10,1063.165,-119.7333,61.23046,0,0,0,0,100,0), +(@PATH,11,1052.941,-108.3153,61.3854,0,0,0,0,100,0); +-- 0x1C307C4B401C29800002170000D672BB .go 1049.899 -99.5955 59.38226 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=126935; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(126935, 126935, 0, 0, 2, 0, 0), +(126935, 126936, 5, 270, 2, 0, 0); + +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=29048; +UPDATE `creature` SET `spawndist`=40 WHERE `id`=29048; + +-- Pathing for Entry: 28835 'TDB FORMAT' +SET @NPC := 126892; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1053.155,`position_y`=78.30748,`position_z`=61.44365 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1053.155,78.30748,61.44365,0,0,0,0,100,0), +(@PATH,2,1050.469,75.66108,61.44365,0,0,0,0,100,0), +(@PATH,3,1034.158,48.75368,59.26595,0,0,0,0,100,0), +(@PATH,4,1033.885,12.18762,61.27556,0,0,0,0,100,0), +(@PATH,5,1041.208,0.1274123,61.39244,0,0,0,0,100,0), +(@PATH,6,1052.702,-9.815857,61.43917,0,0,0,0,100,0), +(@PATH,7,1053.008,-10.01389,61.44186,0,0,0,0,100,0), +(@PATH,8,1041.027,0.347192,61.39876,0,0,0,0,100,0), +(@PATH,9,1032.457,20.25849,58.73366,0,0,0,0,100,0), +(@PATH,10,1050.469,75.66108,61.44365,0,0,0,0,100,0), +(@PATH,11,1034.158,48.75368,59.26595,0,0,0,0,100,0); +-- 0x1C307C4B401C28C000021700015672BB .go 1053.155 78.30748 61.44365 + +-- Pathing for Entry: 28920 'TDB FORMAT' +SET @NPC := 126984; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1098.968,`position_y`=19.55447,`position_z`=53.64101 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1098.968,19.55447,53.64101,0,0,0,0,100,0), +(@PATH,2,1080.878,7.88341,53.63377,0,0,0,0,100,0), +(@PATH,3,1066.863,12.70812,53.63047,0,0,0,0,100,0), +(@PATH,4,1078.049,8.259874,53.6311,0,0,0,0,100,0), +(@PATH,5,1091.877,12.4073,53.63206,0,0,0,0,100,0); +-- 0x1C307C4B401C3E0000021700005672BB .go 1098.968 19.55447 53.64101 + +-- Pathing for Entry: 28920 'TDB FORMAT' +SET @NPC := 126983; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1098.049,`position_y`=54.05235,`position_z`=53.65234 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1098.049,54.05235,53.65234,0,0,0,0,100,0), +(@PATH,2,1085.831,60.05393,53.65328,0,0,0,0,100,0), +(@PATH,3,1067.126,53.06633,53.64429,0,0,0,0,100,0), +(@PATH,4,1068.714,55.26102,53.64336,0,0,0,0,100,0), +(@PATH,5,1090.947,60.23857,53.65356,0,0,0,0,100,0), +(@PATH,6,1100.346,51.25973,53.65813,0,0,0,0,100,0); +-- 0x1C307C4B401C3E000002170000D672BB .go 1098.049 54.05235 53.65234 +-- +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (21440, 21438, 21437, 21436, 21439); +-- Update rotation of Ru'zah +UPDATE `creature` SET `orientation`=5.026751 WHERE `guid`=74329; +-- +/* SAI for Burning Exile */ +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=2760; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2760; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(2760, 0, 0, 0, 8, 0, 100, 0, 4130, 0, 0, 0, 41, 500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Burning Exile - on spellhit - Despawn'); + +/* SAI for Cresting Exile */ +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=2761; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2761; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(2761, 0, 0, 0, 1, 0, 100, 1, 1000, 1000, 1800000, 1800000, 11, 12544, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cresting Exile - Out Of Combat - Cast Frost Armor'), +(2761, 0, 1, 0, 0, 0, 100, 0, 1400, 7300, 25600, 32300, 11, 865, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Cresting Exile - In Combat - Cast Frost Nova'), +(2761, 0, 2, 0, 8, 0, 100, 0, 4131, 0, 0, 0, 41, 500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cresting Exile - on spellhit - Despawn'); + +/* SAI for Thundering Exile */ +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=2762; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2762; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(2762, 0, 0, 0, 1, 0, 100, 1, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - Out Of Combat - Allow Combat Movement'), +(2762, 0, 1, 2, 4, 0, 100, 0, 0, 0, 0, 0, 11, 9532, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - On Aggro - Cast Lightning Bolt'), +(2762, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - On Aggro - Increment Phase'), +(2762, 0, 3, 0, 9, 0, 100, 0, 0, 40, 3300, 6600, 11, 9532, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - At 0 - 40 Range - Cast Lightning Bolt'), +(2762, 0, 4, 5, 3, 0, 100, 0, 0, 15, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - At 15% Mana - Allow Combat Movement'), +(2762, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - At 15% Mana - Increment Phase'), +(2762, 0, 6, 0, 9, 0, 100, 1, 35, 80, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - At 35 - 80 Range - Allow Combat Movement'), +(2762, 0, 7, 0, 9, 0, 100, 1, 0, 5, 0, 0, 21, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - At 0 - 5 Range - Allow Combat Movement'), +(2762, 0, 8, 0, 9, 0, 100, 0, 5, 15, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - At 5 - 15 Range - Allow Combat Movement'), +(2762, 0, 9, 10, 3, 0, 100, 0, 30, 100, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - At 100% Mana - Allow Combat Movement'), +(2762, 0, 10, 0, 61, 0, 100, 0, 0, 0, 0, 0, 23, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - At 100% Mana - Increment Phase'), +(2762, 0, 11, 0, 0, 0, 100, 0, 1600, 15100, 18900, 25400, 11, 11824, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - In Combat - Cast Shock'), +(2762, 0, 12, 0, 8, 0, 100, 0, 4132, 0, 0, 0, 41, 500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thundering Exile - on spellhit - Despawn'); +-- Theradrim Shardling SAI +SET @ENTRY := 11783; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,50,0,0,5,7000,11000,11,13584,0,0,0,0,0,2,0,0,0,0,0,0,0,"Theradrim Shardling - Within 0-5 Range - Cast 'Strike'"), +(@ENTRY,0,1,0,54,0,100,0,0,0,0,0,29,2,90,0,0,0,0,19,11784,10,0,0,0,0,0,"Theradrim Shardling - On Just Summoned - Start Follow Closest Creature 'Theradrim Guardian'"); + +-- Theradrim Guardian SAI +SET @ENTRY := 11784; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,2,0,5,7000,12000,11,16790,0,0,0,0,0,2,0,0,0,0,0,0,0,"Theradrim Guardian - Within 0-5 Range - Cast 'Knockdown' (Normal Dungeon)"), +(@ENTRY,0,1,0,1,0,100,3,1000,1000,0,0,11,21057,0,0,0,0,0,1,0,0,0,0,0,0,0,"Theradrim Guardian - Out of Combat - Cast 'Summon Theradrim Shardling' (No Repeat) (Normal Dungeon)"); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=55465; +DELETE FROM `creature_addon` WHERE `guid`=55465; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(55465, 554650, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=554650; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(554650, 1, 248.538, -93.024, -129.62, 0, 0, 0, 0, 100, 0), +(554650, 2, 219.021, -92.1171, -129.607, 0, 0, 0, 0, 100, 0), +(554650, 3, 258.14, -97.1733, -129.619, 0, 0, 0, 0, 100, 0), +(554650, 4, 246.967, -145.304, -130.844, 0, 0, 0, 0, 100, 0), +(554650, 5, 213.934, -199.873, -131.159, 0, 0, 0, 0, 100, 0), +(554650, 6, 248.627, -140.739, -131.005, 0, 0, 0, 0, 100, 0), +(554650, 7, 259.8, -98.2245, -129.619, 0, 0, 0, 0, 100, 0); + +DELETE FROM `creature` WHERE `guid` IN (55466, 56518, 56516, 56517, 56504, 56502, 56505, 56503, 56488, 56487, 56486, 88993, 88991, 88990, 88992, 56343, 56341, 55472); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=55471; +DELETE FROM `creature_addon` WHERE `guid`=55471; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(55471, 554710, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=554710; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(554710, 1, 200.354, -133.505, -101.058, 0, 0, 0, 0, 100, 0), +(554710, 2, 230.841, -109.688, -88.8687, 0, 0, 0, 0, 100, 0), +(554710, 3, 278.173, -121.002, -83.4807, 0, 0, 0, 0, 100, 0), +(554710, 4, 300.187, -149.075, -69.7502, 0, 0, 0, 0, 100, 0), +(554710, 5, 298.76, -178.312, -59.8991, 0, 0, 0, 0, 100, 0), +(554710, 6, 299.577, -148.794, -69.9433, 0, 0, 0, 0, 100, 0), +(554710, 7, 276.408, -121.048, -83.6496, 0, 0, 0, 0, 100, 0), +(554710, 8, 226.955, -112.811, -89.7437, 0, 0, 0, 0, 100, 0), +(554710, 9, 199.686, -134.684, -101.541, 0, 0, 0, 0, 100, 0), +(554710, 10, 183.329, -185.544, -111.375, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=88989; +DELETE FROM `creature_addon` WHERE `guid`=88989; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(88989, 889890, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=889890; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(889890, 1, 109.037, -268.553, -108.677, 0, 0, 0, 0, 100, 0), +(889890, 2, 151.884, -275.712, -108.677, 0, 0, 0, 0, 100, 0), +(889890, 3, 143.666, -231.173, -108.852, 0, 0, 0, 0, 100, 0), +(889890, 4, 156.17, -275.286, -108.676, 0, 0, 0, 0, 100, 0), +(889890, 5, 138.876, -278.577, -108.676, 0, 0, 0, 0, 100, 0), +(889890, 6, 79.5604, -259.988, -108.678, 0, 0, 0, 0, 100, 0), +(889890, 7, 62.416, -207.188, -109.659, 0, 0, 0, 0, 100, 0), +(889890, 8, 8.187, -127.348, -123.845, 0, 0, 0, 0, 100, 0), +(889890, 9, 28.705, -38.025, -128.761, 0, 0, 0, 0, 100, 0), +(889890, 10, 8.187, -127.348, -123.845, 0, 0, 0, 0, 100, 0), +(889890, 11, 62.416, -207.188, -109.659, 0, 0, 0, 0, 100, 0), +(889890, 12, 79.0383, -255.555, -108.677, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=56485; +DELETE FROM `creature_addon` WHERE `guid`=56485; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(56485, 564850, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=564850; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(564850, 1, 150.49, -193.898, -171.747, 0, 0, 0, 0, 100, 0), +(564850, 2, 152.233, -231.891, -170.382, 0, 0, 0, 0, 100, 0), +(564850, 3, 125.841, -257.66, -168.113, 0, 0, 0, 0, 100, 0), +(564850, 4, 155.987, -284.034, -168.989, 0, 0, 0, 0, 100, 0), +(564850, 5, 148.455, -238.759, -169.543, 0, 0, 0, 0, 100, 0), +(564850, 6, 155.062, -199.53, -171.957, 0, 0, 0, 0, 100, 0), +(564850, 7, 104.937, -185.658, -167.457, 0, 0, 0, 0, 100, 0), +(564850, 8, 100.198, -176.082, -167.457, 0, 0, 0, 0, 100, 0), +(564850, 9, 111.893, -160.596, -167.328, 0, 0, 0, 0, 100, 0), +(564850, 10, 121.304, -176.939, -167.457, 0, 0, 0, 0, 100, 0), +(564850, 11, 128.284, -191.12, -168.26, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=56501; +DELETE FROM `creature_addon` WHERE `guid`=56501; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(56501, 565010, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=565010; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(565010, 1, 177.079, -304.031, -172.328, 0, 0, 0, 0, 100, 0), +(565010, 2, 146.519, -316.403, -174.591, 0, 0, 0, 0, 100, 0), +(565010, 3, 153.733, -376.576, -175.003, 0, 0, 0, 0, 100, 0), +(565010, 4, 211.381, -381.672, -160.691, 0, 0, 0, 0, 100, 0), +(565010, 5, 156.615, -376.11, -175.002, 0, 0, 0, 0, 100, 0), +(565010, 6, 148.461, -317.13, -174.589, 0, 0, 0, 0, 100, 0); + + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=56515; +DELETE FROM `creature_addon` WHERE `guid`=56515; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(56515, 565150, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=565150; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(565150, 1, 312.737, -343.241, -117.348, 0, 0, 0, 0, 100, 0), +(565150, 2, 328.91, -288.013, -118.069, 0, 0, 0, 0, 100, 0), +(565150, 3, 320.637, -268.75, -117.912, 0, 0, 0, 0, 100, 0), +(565150, 4, 337.697, -262.309, -118.049, 0, 0, 0, 0, 100, 0), +(565150, 5, 345.634, -276.933, -117.941, 0, 0, 0, 0, 100, 0), +(565150, 6, 331.665, -290.395, -118.061, 0, 0, 0, 0, 100, 0), +(565150, 7, 317.848, -331.827, -116.777, 0, 0, 0, 0, 100, 0), +(565150, 8, 325.14, -394.223, -124.867, 0, 0, 0, 0, 100, 0), +(565150, 9, 250.345, -396.668, -139.555, 0, 0, 0, 0, 100, 0), +(565150, 10, 256.965, -328.427, -140.451, 0, 0, 0, 0, 100, 0), +(565150, 11, 251.778, -396.72, -139.555, 0, 0, 0, 0, 100, 0), +(565150, 12, 319.125, -403.751, -124.866, 0, 0, 0, 0, 100, 0); + +SET @GUID := 160506; +SET @ENTRY := 1211; +-- Placed NPC 12237 (Meshlok the Harvester) into a pool with its placeholder +DELETE FROM `pool_creature` WHERE `guid` IN (@GUID, @GUID +3, 54652); +INSERT INTO `pool_creature` VALUES +(@GUID, @ENTRY, 30, 'Meshlok the Harvester (Maraudon)'), +(@GUID + 3, @ENTRY, 0, 'Meshlok the Harvester placeholder (Maraudon)'), +(54652, @ENTRY, 0, 'Meshlok the Harvester placeholder (Maraudon)'); + +DELETE FROM `pool_template` WHERE `entry` = @ENTRY; +INSERT INTO `pool_template` VALUES +(@ENTRY, 1, 'Meshlok the Harvester (Maraudon)'); + +DELETE FROM `creature` WHERE `guid` BETWEEN @GUID AND @GUID + 7; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@GUID, 12237, 349, 0, 0, 1, 1, 0, 1, 632.101, -92.409, -57.4999, 3.49563, 7200, 0, 0, 5757, 0, 0, 0, 0, 0, 0), +(@GUID + 1, 12224, 349, 0, 0, 1, 1, 0, 1, 748.725, -81.8362, -57.4696, 0.620471, 7200, 0, 0, 4434, 2301, 0, 0, 0, 0, 0), +(@GUID + 2, 12224, 349, 0, 0, 1, 1, 0, 1, 632.101, -92.409, -57.4999, 3.49563, 7200, 0, 0, 4434, 2301, 0, 0, 0, 0, 0), +(@GUID + 3, 12224, 349, 0, 0, 1, 1, 0, 1, 818.573, -215.097, -77.1489, 4.14281, 7200, 0, 0, 4434, 2301, 0, 0, 0, 0, 0), +(@GUID + 4, 12224, 349, 0, 0, 1, 1, 0, 1, 813.453, -370.449, -59.2094, 6.02488, 7200, 0, 0, 4434, 2301, 0, 0, 0, 0, 0), +(@GUID + 5, 12224, 349, 0, 0, 1, 1, 0, 1, 719.899, -83.8715, -57.2155, 3.48941, 7200, 0, 0, 4434, 2301, 0, 0, 0, 0, 0); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=@GUID + 1; +DELETE FROM `creature_addon` WHERE `guid`=@GUID + 1; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@GUID+1, (@GUID+1) * 10, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=(@GUID+1) * 10; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +((@GUID+1) * 10, 1, 747.806, -79.9688, -57.4744, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 2, 750.866, -86.8807, -57.4595, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 3, 741.016, -94.8653, -57.4978, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 4, 745.803, -84.0748, -57.4833, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 5, 738.607, -70.5452, -57.4977, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 6, 751.253, -70.6902, -57.3912, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 7, 744.367, -78.7708, -57.4887, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 8, 756.588, -80.4979, -57.3727, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 9, 736.461, -89.3428, -57.4996, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 10, 734.7, -80.3283, -57.4996, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 11, 744.209, -79.5844, -57.4915, 0, 0, 0, 0, 100, 0), +((@GUID+1) * 10, 12, 734.044, -71.701, -57.4977, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=@GUID + 2; +DELETE FROM `creature_addon` WHERE `guid`=@GUID + 2; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@GUID+2, (@GUID+2) * 10, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=(@GUID+2) * 10; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +((@GUID+2) * 10, 1, 632.101, -92.409, -57.4999, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 2, 642.895, -89.225, -57.4999, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 3, 654.193, -88.5337, -57.4999, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 4, 666.728, -91.7718, -57.4999, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 5, 675.549, -93.9197, -57.4999, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 6, 690.764, -89.7546, -57.4999, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 7, 702.83, -84.753, -57.4631, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 8, 715.159, -83.791, -57.1193, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 9, 708.503, -83.9885, -57.2554, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 10, 699.353, -86.647, -57.5, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 11, 681.834, -93.4817, -57.5, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 12, 674.938, -93.0037, -57.5, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 13, 665.508, -90.6338, -57.5, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 14, 652.935, -87.6942, -57.5, 0, 0, 0, 0, 100, 0), +((@GUID+2) * 10, 15, 634.167, -92.0013, -57.5, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=@GUID + 3; +DELETE FROM `creature_addon` WHERE `guid`=@GUID + 3; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@GUID+3, (@GUID+3) * 10, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=(@GUID+3) * 10; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +((@GUID+3) * 10, 1, 818.873, -216.343, -77.1489, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 2, 813.487, -210.328, -77.1489, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 3, 806.875, -204.634, -77.1489, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 4, 804.811, -193.5, -77.1489, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 5, 806.356, -184.124, -77.1489, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 6, 813.319, -173.6, -77.2995, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 7, 808.847, -175.006, -77.3074, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 8, 805.501, -182.277, -77.1489, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 9, 804.538, -193.051, -77.1489, 0, 0, 0, 0, 100, 0), +((@GUID+3) * 10, 10, 807.906, -203.501, -77.1489, 0, 0, 0, 0, 100, 0); + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=203506; +DELETE FROM `creature_addon` WHERE `guid`=203506; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(203506, 203506 * 10, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=203506 * 10; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(203506 * 10, 1, 632.101, -92.409, -57.4999, 0, 0, 0, 0, 100, 0), +(203506 * 10, 2, 642.895, -89.225, -57.4999, 0, 0, 0, 0, 100, 0), +(203506 * 10, 3, 654.193, -88.5337, -57.4999, 0, 0, 0, 0, 100, 0), +(203506 * 10, 4, 666.728, -91.7718, -57.4999, 0, 0, 0, 0, 100, 0), +(203506 * 10, 5, 675.549, -93.9197, -57.4999, 0, 0, 0, 0, 100, 0), +(203506 * 10, 6, 690.764, -89.7546, -57.4999, 0, 0, 0, 0, 100, 0), +(203506 * 10, 7, 702.83, -84.753, -57.4631, 0, 0, 0, 0, 100, 0), +(203506 * 10, 8, 715.159, -83.791, -57.1193, 0, 0, 0, 0, 100, 0), +(203506 * 10, 9, 708.503, -83.9885, -57.2554, 0, 0, 0, 0, 100, 0), +(203506 * 10, 10, 699.353, -86.647, -57.5, 0, 0, 0, 0, 100, 0), +(203506 * 10, 11, 681.834, -93.4817, -57.5, 0, 0, 0, 0, 100, 0), +(203506 * 10, 12, 674.938, -93.0037, -57.5, 0, 0, 0, 0, 100, 0), +(203506 * 10, 13, 665.508, -90.6338, -57.5, 0, 0, 0, 0, 100, 0), +(203506 * 10, 14, 652.935, -87.6942, -57.5, 0, 0, 0, 0, 100, 0), +(203506 * 10, 15, 634.167, -92.0013, -57.5, 0, 0, 0, 0, 100, 0); + +UPDATE `creature_template` SET `speed_walk`=0.3, `speed_run`=0.4 WHERE `entry`=12222; + +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=55118; +DELETE FROM `creature_addon` WHERE `guid`=55118; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(55118, 55118 * 10, 0, 0, 0, 0, ''); +DELETE FROM `waypoint_data` WHERE `id`=55118 * 10; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(55118 * 10, 1, 560.44, 74.1416, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 2, 556.001, 97.5598, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 3, 562.821, 116.938, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 4, 558.737, 80.2023, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 5, 567.894, 47.7771, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 6, 573.623, 24.1758, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 7, 583.107, 6.90322, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 8, 597.509, 5.07898, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 9, 600.013, 21.6183, -96.3128, 0, 0, 0, 0, 100, 0), +(55118 * 10, 10, 575.202, 46.2133, -96.3128, 0, 0, 0, 0, 100, 0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=55118; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(55118, 55118, 0, 0, 2, 0, 0), +(55118, 55115, 3, 0, 2, 0, 0), +(55118, 55116, 3, 70, 2, 0, 0), +(55118, 55117, 3, 290, 2, 0, 0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=54579; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(54579, 54579, 0, 0, 2, 0, 0), +(54579, 54675, 16, 270, 2, 0, 0), +(54579, 54676, 16, 90, 2, 0, 0); +-- +DELETE FROM `creature` WHERE guid=85587 AND `id`=17318; +-- +UPDATE `creature_template` SET `unit_flags`=0, `flags_extra`=0, `npcflag`=0 WHERE `entry`=17587; +-- Timberstrider Fledgling SAI +SET @ENTRY := 17372; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,17587,10,0,0,0,0,0,"Timberstrider Fledgling - On Just Died - Set Data 1 1"); + +-- Draenei Youngling SAI +SET @ENTRY := 17587; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,3,1,0,100,0,60000,60000,60000,60000,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - Out of Combat - Set Event Phase 0"), +(@ENTRY,0,1,0,8,0,100,0,28880,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Spellhit 'Gift of the Naaru' - Set Event Phase 1"), +(@ENTRY,0,2,0,38,1,100,0,1,1,0,0,81,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Data Set 1 1 - Set Npc Flag Questgiver (Phase 1)"), +(@ENTRY,0,3,0,61,0,100,0,60000,60000,60000,60000,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - Out of Combat - Set Npc Flag "), +(@ENTRY,0,5,0,8,0,100,0,59547,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Spellhit 'Gift of the Naaru' - Set Event Phase 1"), +(@ENTRY,0,6,0,8,0,100,0,59545,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Spellhit 'Gift of the Naaru' - Set Event Phase 1"), +(@ENTRY,0,7,0,8,0,100,0,59544,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Spellhit 'Gift of the Naaru' - Set Event Phase 1"), +(@ENTRY,0,8,0,8,0,100,0,59542,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Spellhit 'Gift of the Naaru' - Set Event Phase 1"), +(@ENTRY,0,9,0,8,0,100,0,59548,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Spellhit 'Gift of the Naaru' - Set Event Phase 1"), +(@ENTRY,0,10,0,8,0,100,0,59543,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Spellhit 'Gift of the Naaru' - Set Event Phase 1"); + +DELETE FROM `creature_text` WHERE `entry`IN (17587); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`, `BroadcastTextID`) VALUES +(17587,0,0, 'Help! I think this creature might be too tough for me to handle alone.',12,35,100,0,0,0, '17587',14167), -- player IC_LOS +(17587,0,1, 'Can anyone hear me? I need help! This creature is going to kill me!',12,35,100,0,0,0, '17587',14168), -- player IC_LOS +(17587,0,2, 'I can''t hold it off any longer! Tell the exarch that I gave it my best.',12,35,100,0,0,0, '17587',14169), -- player IC_LOS +(17587,1,0, 'Thanks again!',12,35,100,0,0,0, '17587',14170), -- heal received +(17587,1,1, 'Thanks for the heal, $n!',12,35,100,0,0,0, '17587',14166), -- heal received +(17587,2,0, 'Another victory for the Draenei!',12,35,100,0,0,0, '17587',14171), -- target dies +(17587,2,1, 'Another infected beast destroyed!',12,35,100,0,0,0, '17587',14172), -- target dies +(17587,2,2, 'Hah! This is easy.',12,35,100,0,0,0, '17587',14174), -- target dies +(17587,2,3, 'How could you think yourself a match for the draenei champion!',12,35,100,0,0,0, '17587',14173), -- target dies +(17587,3,0, 'Kill as many infected nightstalkers as I can find... This should be easy.',12,35,100,0,0,0, '17587',14165), -- random ooc +(17587,3,1, 'I''m supposed to be hunting infected nightstalkers... This should be easy.',12,35,100,0,0,0, '17587',14175), -- random ooc +(17587,3,2, 'Where in the nether are these damnable lashers??',12,35,100,0,0,0, '17587',14176), -- random ooc +(17587,3,3, 'Hrm, azure snapdragons? Where do they come up with these names? Daedal has gone mad!',12,35,100,0,0,0, '17587',14177), -- random ooc +(17587,3,4, 'These stags look nothing like talbuks.',12,35,100,0,0,0, '17587',14178), -- random ooc +(17587,3,5, 'I wonder what that little purple creature at the village is... It''s certainly beautiful.',12,35,100,0,0,0, '17587',14179), -- random ooc +(17587,4,0, 'Time to meet your maker, $n!',12,35,100,0,0,0, '17587',14180); -- on aggro +-- +DELETE FROM `skill_discovery_template` WHERE `spellId`=54020 AND `reqSpell`=60893; +-- Magmoth Shaman SAI +SET @ENTRY := 25428; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,5,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magmoth Shaman - On Aggro - Say Line 0 (No Repeat)"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Magmoth Shaman - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,25,0,100,0,0,0,0,0,11,45575,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magmoth Shaman - On Reset - Cast 'Magmoth Fire Totem'"); + +-- Magmoth Fire Totem SAI +SET @ENTRY := 25444; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magmoth Fire Totem - On Just Summoned - Enable Combat Movement"), +(@ENTRY,0,1,0,0,0,100,0,3000,4000,4000,4000,11,45580,0,0,0,0,0,2,0,0,0,0,0,0,0,"Magmoth Fire Totem - In Combat - Cast 'Fireball'"), +(@ENTRY,0,2,0,1,0,100,0,100,100,20000,20000,11,45576,0,0,0,0,0,19,24021,30,0,0,0,0,0,"Magmoth Fire Totem - Out of Combat - Cast 'Cosmetic - New Fire Beam Channel (Mouth)'"), +(@ENTRY,0,3,0,7,0,100,0,0,0,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magmoth Fire Totem - On Evade - Despawn Instant"); +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=45465; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 45465, 0, 0, 31, 0, 3, 24862, 0, 0, 0, 0, '', 'Mage Hunter Channel - targets Bunny'); + +-- Beryl Treasure Hunter SAI +SET @ENTRY := 25353; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,1000,12500,15500,11,50658,0,0,0,0,0,2,0,0,0,0,0,0,0,"Beryl Treasure Hunter - In Combat - Cast 'Focus Beam'"), +(@ENTRY,0,1,0,1,0,100,0,5000,5000,15000,15000,11,45465,0,0,0,0,0,19,24862,60,0,0,0,0,0,"Beryl Treasure Hunter - Out of Combat - Cast 'Mage Hunter Channel'"); +-- Kvaldir Mist Lord SAI +SET @GUID := -110298; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=25496; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,25,0,100,0,0,0,0,0,53,0,2549600,1,0,0,2,1,0,0,0,0,0,0,0,"Kvaldir Mist Lord - On Reset - Start Waypoint"), +(@GUID,0,1,0,40,0,100,0,2,2549600,0,0,80,2549600,2,0,0,0,0,1,0,0,0,0,0,0,0,"Kvaldir Mist Lord - On Waypoint 2 Reached - Run Script"), +(@GUID,0,2,0,40,0,100,0,4,2549600,0,0,80,2549600,2,0,0,0,0,1,0,0,0,0,0,0,0,"Kvaldir Mist Lord - On Waypoint 4 Reached - Run Script"), +(@GUID,0,3,0,40,0,100,0,6,2549600,0,0,80,2549600,2,0,0,0,0,1,0,0,0,0,0,0,0,"Kvaldir Mist Lord - On Waypoint 6 Reached - Run Script"), +(@GUID,0,4,0,40,0,100,0,8,2549600,0,0,80,2549600,2,0,0,0,0,1,0,0,0,0,0,0,0,"Kvaldir Mist Lord - On Waypoint 8 Reached - Run Script"); + +-- Actionlist SAI +SET @ENTRY := 2549600; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,7000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kvaldir Mist Lord - On Script - Pause Waypoint"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,10,110382,25242,0,0,0,0,0,"Kvaldir Mist Lord - On Script - Set Orientation Closest Creature 'Warsong Battleguard'"), +(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,5,53,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kvaldir Mist Lord - On Script - Play Emote 53"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kvaldir Mist Lord - On Script - Say Line 0"), +(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,11,45667,0,0,0,0,0,19,25244,50,0,0,0,0,0,"Kvaldir Mist Lord - On Script - Cast 'Torch Corpse'"); + +DELETE FROM `waypoints` WHERE `entry`=2549600; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(2549600, 1, 2943.3, 6805.71, 6.86362, 'Kvaldir Mist Lord'), +(2549600, 2, 2946.38, 6808.99, 6.89997, 'Kvaldir Mist Lord'), +(2549600, 3, 2952.22, 6815.03, 5.49191, 'Kvaldir Mist Lord'), +(2549600, 4, 2956.26, 6811.33, 5.7004, 'Kvaldir Mist Lord'), +(2549600, 5, 2959.27, 6809.55, 5.73998, 'Kvaldir Mist Lord'), +(2549600, 6, 2958.56, 6804.6, 6.10027, 'Kvaldir Mist Lord'), +(2549600, 7, 2958.36, 6799.58, 6.55177, 'Kvaldir Mist Lord'), +(2549600, 8, 2953.32, 6798.66, 6.69609, 'Kvaldir Mist Lord'); + +DELETE FROM `creature_text` WHERE `entry`=25496; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(25496, 0, 0, 'You are dismissed, $n.', 12, 0, 100, 113, 0, 0, 1242, 0, 'Marshal McBride'); + +DELETE FROM `creature_text` WHERE `entry`=25496; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES +(25496, 0, 0, 'Become ashes in the mist!', 12, 0, 50, 53, 0, 0, 24719, 'Kvaldir Mist Lord'), +(25496, 0, 1, 'The subjugation of these people has only just begun... so much time for fun and games.', 12, 0, 50, 53, 0, 0, 24718, 'Kvaldir Mist Lord'), +(25496, 0, 2, 'Burn, land dweller! BURN!', 12, 0, 50, 53, 0, 0, 24717, 'Kvaldir Mist Lord'); +-- Fireguard Destroyer SAI +SET @ENTRY := 8911; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,2,0,30,9000,11000,11,15243,0,0,0,0,0,1,0,0,0,0,0,0,0,"Fireguard Destroyer - Within 0-30 Range - Cast 'Fireball Volley' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,0,5000,8000,5000,8000,11,16788,64,0,0,0,0,2,0,0,0,0,0,0,0,"Fireguard Destroyer - In Combat - Cast 'Fireball'"); +-- +UPDATE `conditions` SET `ConditionValue1`=11332 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9546 AND `SourceEntry`=1 AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=9 AND `ConditionTarget`=0 AND `ConditionValue1`=12298 AND `ConditionValue2`=0 AND `ConditionValue3`=0; +UPDATE `gossip_menu_option` SET `npc_option_npcflag`=8195 WHERE `menu_id`=9546 AND `id`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=23859; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(23859, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 80, 2385900, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Greer Orehammer - On aggro - Run Script'), +(23859, 0, 1, 0, 62, 0, 100, 0, 9546, 1, 0, 0, 56, 33634, 10, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Greer Orehammer - On gossip option select - give player 10 Orehammer\'s Precision Bombs'), +(23859, 0, 2, 0, 62, 0, 100, 0, 9546, 1, 0, 0, 52, 745, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Greer Orehammer - On gossip option select - Plague This Taxi Start'); + +-- New Agamand Plague Tank Bunny SAI +SET @ENTRY := 24290; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,8,0,100,0,43404,0,0,0,33,24290,0,0,0,0,0,7,0,0,0,0,0,0,0,"New Agamand Plague Tank Bunny - On Spellhit 'Mission: Plague This!: Orehammer's Precision Bombs Dummy' - Quest Credit 'Mission: Plague This!'"); +-- Pathing for Entry: 25979 'TDB FORMAT' +SET @NPC := 107300; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3289.213,`position_y`=5620.369,`position_z`=51.0953 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3289.213,5620.369,51.0953,0,0,0,0,100,0), +(@PATH,2,3289.156,5612.807,51.6523,0,0,0,0,100,0), +(@PATH,3,3285.626,5645.205,51.53279,0,0,0,0,100,0), +(@PATH,4,3283.541,5652.846,52.70237,0,0,0,0,100,0), +(@PATH,5,3280.611,5683.929,54.8549,0,0,0,0,100,0), +(@PATH,6,3303.37,5707.606,60.20351,0,0,0,0,100,0), +(@PATH,7,3282.027,5687.42,56.04992,0,0,0,0,100,0), +(@PATH,8,3279.962,5672.618,53.23326,0,0,0,0,100,0), +(@PATH,9,3284.723,5649.133,52.33985,0,0,0,0,100,0); +-- 0x1C09144760195EC000000C0000579A79 .go 3289.213 5620.369 51.0953 +-- Inquisitor Salrand SAI +SET @ENTRY := 25584; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=6; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,6,0,1,0,100,0,5000,5000,10000,10000,11,45777,0,0,0,0,0,10,119586,25594,0,0,0,0,0,"Inquisitor Salrand - Out of Combat - Cast 'Salrand's Beam'"); + +-- Pathing for Entry: 25217 'TDB FORMAT' +SET @NPC := 122872; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=4113.013,`position_y`=6276.871,`position_z`=25.68058 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,4113.013,6276.871,25.68058,0,0,0,0,100,0), +(@PATH,2,4090.676,6280.604,27.56935,0,0,0,0,100,0), +(@PATH,3,4074.31,6276.669,26.26191,0,0,0,0,100,0), +(@PATH,4,4063.338,6284.883,23.54415,0,0,0,0,100,0), +(@PATH,5,4060.495,6308.033,24.63371,0,0,0,0,100,0), +(@PATH,6,4064.796,6325.54,25.33357,0,0,0,0,100,0), +(@PATH,7,4062.167,6349.621,24.96839,0,0,0,0,100,0), +(@PATH,8,4055.423,6363.151,27.49203,0,0,0,0,100,0), +(@PATH,9,4061.251,6351.451,25.36894,0,0,0,0,100,0), +(@PATH,10,4064.368,6335.375,25.38478,0,0,0,0,100,0), +(@PATH,11,4061.08,6310.811,24.90634,0,0,0,0,100,0), +(@PATH,12,4059.284,6298.654,24.53846,0,0,0,0,100,0), +(@PATH,13,4069.346,6279.003,24.92667,0,0,0,0,100,0), +(@PATH,14,4084.886,6280.17,27.70065,0,0,0,0,100,0), +(@PATH,15,4107.833,6280.248,25.45559,0,0,0,0,100,0); +-- 0x1C0914476018A04000000C000057EEC0 .go 4113.013 6276.871 25.68058 + +-- Pathing for Entry: 25611 'TDB FORMAT' +SET @NPC := 57031; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2797.154,`position_y`=6620.249,`position_z`=48.24942 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2797.154,6620.249,48.24942,0,0,0,0,100,0), +(@PATH,2,2807.472,6623.047,46.9419,0,0,0,0,100,0), +(@PATH,3,2822.777,6620.003,48.07745,0,0,0,0,100,0), +(@PATH,4,2828.091,6608.199,49.87174,0,0,0,0,100,0), +(@PATH,5,2829.904,6600.112,50.43536,0,0,0,0,100,0), +(@PATH,6,2825.405,6583.044,51.32146,0,0,0,0,100,0), +(@PATH,7,2812.032,6576.637,50.3959,0,0,0,0,100,0), +(@PATH,8,2808.558,6575.663,49.55042,0,0,0,0,100,0), +(@PATH,9,2791.914,6578.114,49.39709,0,0,0,0,100,0), +(@PATH,10,2790.871,6579.394,49.35609,0,0,0,0,100,0), +(@PATH,11,2793.273,6598.499,49.21821,0,0,0,0,100,0), +(@PATH,12,2797.287,6620.314,48.24408,0,0,0,0,100,0); +-- 0x1C091447601902C000000C0000588B21 .go 2797.154 6620.249 48.24942 + +-- Pathing for Entry: 25611 'TDB FORMAT' +SET @NPC := 97489; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2755.648,`position_y`=6516.167,`position_z`=52.22083 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2755.648,6516.167,52.22083,0,0,0,0,100,0), +(@PATH,2,2739.121,6534.617,51.25744,0,0,0,0,100,0), +(@PATH,3,2736.37,6540.505,50.52654,0,0,0,0,100,0), +(@PATH,4,2736.999,6568.931,49.45178,0,0,0,0,100,0), +(@PATH,5,2745.165,6582.929,49.87815,0,0,0,0,100,0), +(@PATH,6,2749.685,6588.33,49.43536,0,0,0,0,100,0), +(@PATH,7,2764.539,6590.529,49.07096,0,0,0,0,100,0), +(@PATH,8,2783.451,6578.873,49.38116,0,0,0,0,100,0), +(@PATH,9,2790.408,6542.078,51.47867,0,0,0,0,100,0), +(@PATH,10,2781.756,6526.21,53.26818,0,0,0,0,100,0), +(@PATH,11,2759.35,6514.721,52.89858,0,0,0,0,100,0); +-- 0x1C091447601902C000000C0001588AE6 .go 2755.648 6516.167 52.22083 + +-- Pathing for Entry: 25611 'TDB FORMAT' +SET @NPC := 97486; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2959.18,`position_y`=6518.749,`position_z`=72.95694 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2959.18,6518.749,72.95694,0,0,0,0,100,0), +(@PATH,2,2943.816,6531.531,70.15851,0,0,0,0,100,0), +(@PATH,3,2922.839,6548.202,66.36589,0,0,0,0,100,0), +(@PATH,4,2905.143,6556.469,64.68446,0,0,0,0,100,0), +(@PATH,5,2886.449,6562.177,61.95524,0,0,0,0,100,0), +(@PATH,6,2870.039,6568.242,58.85592,0,0,0,0,100,0), +(@PATH,7,2849.421,6573.922,54.75926,0,0,0,0,100,0), +(@PATH,8,2864.578,6570.402,57.7508,0,0,0,0,100,0), +(@PATH,9,2880.555,6564.39,60.65393,0,0,0,0,100,0), +(@PATH,10,2900.065,6558.482,64.16826,0,0,0,0,100,0), +(@PATH,11,2916.618,6552.232,65.66638,0,0,0,0,100,0), +(@PATH,12,2939.966,6534.6,69.45979,0,0,0,0,100,0), +(@PATH,13,2950.899,6526.294,71.31409,0,0,0,0,100,0), +(@PATH,14,2978.666,6499.601,75.67303,0,0,0,0,100,0), +(@PATH,15,2959.18,6518.749,72.95694,0,0,0,0,100,0); +-- 0x1C091447601902C000000C00005893B1 .go 2959.18 6518.749 72.95694 + +-- Pathing for Entry: 25611 'TDB FORMAT' +SET @NPC := 97472; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3132.141,`position_y`=6364.85,`position_z`=87.00642 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3132.141,6364.85,87.00642,0,0,0,0,100,0), +(@PATH,2,3145.254,6377.429,86.04013,0,0,0,0,100,0), +(@PATH,3,3150.995,6384.529,85.66245,0,0,0,0,100,0), +(@PATH,4,3150.954,6413.424,86.59067,0,0,0,0,100,0), +(@PATH,5,3148.383,6418.564,87.16897,0,0,0,0,100,0), +(@PATH,6,3127.888,6445.25,85.42545,0,0,0,0,100,0), +(@PATH,7,3125.299,6448.726,84.63122,0,0,0,0,100,0), +(@PATH,8,3098.482,6453.096,86.2816,0,0,0,0,100,0), +(@PATH,9,3092.813,6430.465,86.18443,0,0,0,0,100,0), +(@PATH,10,3092.439,6429.254,86.16457,0,0,0,0,100,0), +(@PATH,11,3090.803,6416.944,86.47922,0,0,0,0,100,0), +(@PATH,12,3080.703,6420.038,86.92494,0,0,0,0,100,0), +(@PATH,13,3066.926,6403.042,89.00624,0,0,0,0,100,0), +(@PATH,14,3071.34,6388.575,89.95999,0,0,0,0,100,0), +(@PATH,15,3071.793,6387.598,89.86023,0,0,0,0,100,0), +(@PATH,16,3092.656,6366.145,89.73042,0,0,0,0,100,0), +(@PATH,17,3109.781,6356.525,88.38365,0,0,0,0,100,0), +(@PATH,18,3114.204,6357.174,87.74312,0,0,0,0,100,0), +(@PATH,19,3132.181,6364.944,87.00461,0,0,0,0,100,0); +-- 0x1C091447601902C000000A000058AB81 .go 3132.141 6364.85 87.00642 + +-- Pathing for Entry: 25475 'TDB FORMAT' +SET @NPC := 107800; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2814.188,`position_y`=6720.133,`position_z`=9.794792 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2814.188,6720.133,9.794792,0,0,0,0,100,0), +(@PATH,2,2810.317,6723.547,9.082146,0,0,0,0,100,0); +-- 0x1C0914476018E0C000000C00005660EE .go 2814.188 6720.133 9.794792 + +-- Pathing for Entry: 25496 'TDB FORMAT' +SET @NPC := 110300; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3067.602,`position_y`=6705.609,`position_z`=6.230121 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3067.602,6705.609,6.230121,0,0,0,0,100,0), +(@PATH,2,3051.766,6718.588,6.615577,0,0,0,0,100,0), +(@PATH,3,3024.569,6720.975,9.706598,0,0,0,0,100,0), +(@PATH,4,3031.904,6726.806,7.207738,0,0,0,0,100,0), +(@PATH,5,3033.154,6727.66,6.58389,0,0,0,0,100,0), +(@PATH,6,3068.976,6704.811,5.953619,0,0,0,0,100,0), +(@PATH,7,3095.539,6680.229,6.846659,0,0,0,0,100,0), +(@PATH,8,3095.83,6662.607,9.923321,0,0,0,0,100,0), +(@PATH,9,3099.785,6674.892,7.75151,0,0,0,0,100,0), +(@PATH,10,3090.089,6685.671,6.213068,0,0,0,0,100,0), +(@PATH,11,3067.523,6705.942,6.221252,0,0,0,0,100,0); +-- 0x1C0914476018E60000000C000058AEB8 .go 3067.602 6705.609 6.230121 + +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `id` IN (25244); +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid`=57067; + +-- Pathing for Entry: 25496 'TDB FORMAT' +SET @NPC := 57066; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2431.173,`position_y`=6827.691,`position_z`=4.434509 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2431.173,6827.691,4.434509,0,0,0,0,100,0), +(@PATH,2,2417.92,6818.268,3.808835,0,0,0,0,100,0), +(@PATH,3,2401.83,6806.687,1.444491,0,0,0,0,100,0), +(@PATH,4,2397.053,6803.022,1.261812,0,0,0,0,100,0), +(@PATH,5,2415.603,6771.807,2.460288,0,0,0,0,100,0), +(@PATH,6,2444.461,6781.449,6.446399,0,0,0,0,100,0), +(@PATH,7,2448.987,6792.239,6.01413,0,0,0,0,100,0), +(@PATH,8,2466.415,6808.424,4.947993,0,0,0,0,100,0), +(@PATH,9,2479.129,6823.808,2.68948,0,0,0,0,100,0), +(@PATH,10,2480.822,6831.567,1.405943,0,0,0,0,100,0), +(@PATH,11,2481.074,6846.526,1.077314,0,0,0,0,100,0), +(@PATH,12,2453.165,6857.935,1.077329,0,0,0,0,100,0), +(@PATH,13,2438.796,6843.509,1.671256,0,0,0,0,100,0); +-- 0x1C0914476018E60000000A0000586C4C .go 2431.173 6827.691 4.434509 + +-- Pathing for Entry: 25496 'TDB FORMAT' +SET @NPC := 57059; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2414.351,`position_y`=6738.811,`position_z`=2.7648 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2414.351,6738.811,2.7648,0,0,0,0,100,0), +(@PATH,2,2411.604,6704.709,6.068311,0,0,0,0,100,0), +(@PATH,3,2411.347,6702.018,6.760894,0,0,0,0,100,0), +(@PATH,4,2452.357,6721.351,6.010249,0,0,0,0,100,0), +(@PATH,5,2466.691,6738.082,6.927616,0,0,0,0,100,0), +(@PATH,6,2495.109,6765.589,6.517776,0,0,0,0,100,0), +(@PATH,7,2513.06,6790.916,4.482207,0,0,0,0,100,0), +(@PATH,8,2523.949,6806.354,1.703682,0,0,0,0,100,0), +(@PATH,9,2532.222,6817.983,1.145756,0,0,0,0,100,0), +(@PATH,10,2546.355,6838.362,1.049538,0,0,0,0,100,0), +(@PATH,11,2548.539,6846.931,0.8498411,0,0,0,0,100,0), +(@PATH,12,2506.485,6784.912,5.38059,0,0,0,0,100,0), +(@PATH,13,2483.945,6763.865,6.803366,0,0,0,0,100,0), +(@PATH,14,2480.173,6760.685,6.7745,0,0,0,0,100,0), +(@PATH,15,2419.531,6764.058,3.010518,0,0,0,0,100,0), +(@PATH,16,2414.283,6738.649,2.879114,0,0,0,0,100,0); +-- 0x1C0914476018E60000000C0000587988 .go 2414.351 6738.811 2.7648 + +DELETE FROM `creature_addon` WHERE `guid` IN (110289,57070,57063, 57065, 57067,57064,57062,57068,57060,57058,57057, 57056,57061,110291,110301,110290,110285,57072); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(57063, 0, 0, 0, 0, 69, ''), +(57065, 0, 0, 0, 0, 234, ''), +(57067, 0, 0, 0, 0, 234, ''), +(57064, 0, 0, 0, 0, 234, ''), +(57062, 0, 0, 0, 0, 69, ''), +(57068, 0, 0, 0, 0, 234, ''), +(57060, 0, 0, 0, 0, 234, ''), +(57058, 0, 0, 0, 0, 234, ''), +(57057, 0, 0, 0, 0, 234, ''), +(57056, 0, 0, 0, 0, 234, ''), +(57061, 0, 0, 0, 0, 27, ''), +(110291, 0, 0, 0, 0, 27, ''), +(110301, 0, 0, 0, 0, 69, ''), +(110290, 0, 0, 0, 0, 27, ''), +(110285, 0, 0, 0, 0, 27, ''), +(57072, 0, 0, 0, 0, 69, ''), +(110289, 0, 0, 0, 0, 27, ''), +(57070, 0, 0, 0, 0, 27, ''); + +DELETE FROM `creature_addon` WHERE `guid` IN (112665,112663,112662,112660,112659,112666,112679,112673,112678,112671,112667,112672,56752,112741,56327,112661,112658,56325, 112668, 112670, 112669, 56322); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(56325, 0, 0, 0, 0, 4, ''), +(112668, 0, 0, 0, 0, 4, ''), +(112670, 0, 0, 0, 0, 4, ''), +(112669, 0, 0, 0, 0, 4, ''), +(56322, 0, 0, 0, 0, 4, ''), +(112661, 0, 0, 0, 0, 234, ''), +(112658, 0, 0, 0, 0, 234, ''), +(56327, 0, 0, 0, 0, 234, ''), +(112741, 0, 0, 0, 0, 27, ''), +(56752, 0, 0, 0, 0, 27, ''), +(112672, 0, 0, 1, 0, 0, ''), +-- +(112678, 0, 0, 0, 0, 4, ''), +(112671, 0, 0, 0, 0, 4, ''), +(112667, 0, 0, 0, 0, 4, ''), +-- +(112673, 0, 0, 1, 0, 0, ''), +(112679, 0, 0, 1, 0, 0, ''), +(112666, 0, 0, 0, 0, 234, ''), +(112665, 0, 0, 0, 0, 234, ''), +(112659, 0, 0, 0, 0, 234, ''), +(112660, 0, 0, 0, 0, 234, ''), +(112663, 0, 0, 0, 0, 234, ''), +(112662, 0, 0, 0, 0, 234, ''); + +-- Pathing for Entry: 25522 'TDB FORMAT' +SET @NPC := 112755; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1863.071,`position_y`=5721.263,`position_z`=0.5444731 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1863.071,5721.263,0.5444731,0,0,0,0,100,0), +(@PATH,2,1871.592,5727.264,0.5210824,0,0,0,0,100,0), +(@PATH,3,1865.804,5766.675,0.8066133,0,0,0,0,100,0), +(@PATH,4,1861.19,5769.085,0.636929,0,0,0,0,100,0), +(@PATH,5,1853.291,5777.555,0.8031902,0,0,0,0,100,0), +(@PATH,6,1838.134,5783.222,0.6275423,0,0,0,0,100,0), +(@PATH,7,1838.138,5783.196,0.5076787,0,0,0,0,100,0), +(@PATH,8,1838.279,5783.279,0.609849,0,0,0,0,100,0), +(@PATH,9,1853.601,5777.178,0.8158144,0,0,0,0,100,0), +(@PATH,10,1872.918,5754.421,0.8373558,0,0,0,0,100,0), +(@PATH,11,1873.445,5750.554,0.7919877,0,0,0,0,100,0), +(@PATH,12,1857.673,5717.76,0.05196175,0,0,0,0,100,0), +(@PATH,13,1863.071,5721.263,0.5444731,0,0,0,0,100,0), +(@PATH,14,1871.617,5727.281,0.5215871,0,0,0,0,100,0), +(@PATH,15,1865.804,5766.67,0.806583,0,0,0,0,100,0), +(@PATH,16,1861.121,5769.259,0.6014363,0,0,0,0,100,0), +(@PATH,17,1853.309,5777.537,0.8029698,0,0,0,0,100,0), +(@PATH,18,1838.146,5783.217,0.6276386,0,0,0,0,100,0), +(@PATH,19,1838.138,5783.196,0.5076787,0,0,0,0,100,0), +(@PATH,20,1838.511,5783.279,0.6102685,0,0,0,0,100,0), +(@PATH,21,1853.596,5777.181,0.8157681,0,0,0,0,100,0), +(@PATH,22,1872.897,5754.442,0.837615,0,0,0,0,100,0), +(@PATH,23,1873.44,5750.595,0.7921225,0,0,0,0,100,0), +(@PATH,24,1857.677,5717.557,0.05224757,0,0,0,0,100,0), +(@PATH,25,1863.071,5721.263,0.5444731,0,0,0,0,100,0), +(@PATH,26,1871.631,5727.291,0.5218816,0,0,0,0,100,0), +(@PATH,27,1865.809,5766.73,0.8069472,0,0,0,0,100,0), +(@PATH,28,1861.136,5769.112,0.6354876,0,0,0,0,100,0); +-- 0x1C0914476018EC8000000B0000D90C39 .go 1863.071 5721.263 0.5444731 + +-- Pathing for Entry: 25522 'TDB FORMAT' +SET @NPC := 112671; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1853.63,`position_y`=5846.966,`position_z`=2.740726 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1853.63,5846.966,2.740726,0,0,0,0,100,0), +(@PATH,2,1874.7,5836.919,4.813838,0,0,0,0,100,0), +(@PATH,3,1876.592,5812.892,4.801723,0,0,0,0,100,0), +(@PATH,4,1872.844,5797.556,3.118221,0,0,0,0,100,0), +(@PATH,5,1875.815,5806.438,3.974422,0,0,0,0,100,0), +(@PATH,6,1876.563,5816.451,5.334268,0,0,0,0,100,0), +(@PATH,7,1877.032,5828.594,4.914,0,0,0,0,100,0), +(@PATH,8,1862.273,5842.986,4.152772,0,0,0,0,100,0), +(@PATH,9,1853.646,5846.958,2.74155,0,0,0,0,100,0), +(@PATH,10,1849.364,5848.809,2.105818,0,0,0,0,100,0); +-- 0x1C0914476018EC8000000B0000D90AF7 .go 1853.63 5846.966 2.740726 + + +-- Pathing for Entry: 25522 'TDB FORMAT' +SET @NPC := 112766; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1821.645,`position_y`=5874.956,`position_z`=2.705887 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1821.645,5874.956,2.705887,0,0,0,0,100,0), +(@PATH,2,1824.808,5874.413,2.800447,0,0,0,0,100,0), +(@PATH,3,1827.45,5854.379,1.631521,0,0,0,0,100,0), +(@PATH,4,1822.537,5840.488,1.119883,0,0,0,0,100,0), +(@PATH,5,1819.79,5826.655,0.8782115,0,0,0,0,100,0), +(@PATH,6,1816.417,5813.835,0.7204496,0,0,0,0,100,0), +(@PATH,7,1816.219,5813.744,0.5043496,0,0,0,0,100,0), +(@PATH,8,1816.581,5813.962,0.5907121,0,0,0,0,100,0), +(@PATH,9,1820.05,5826.836,0.8006111,0,0,0,0,100,0), +(@PATH,10,1828.175,5856.271,1.831071,0,0,0,0,100,0), +(@PATH,11,1828.932,5859.332,2.491501,0,0,0,0,100,0), +(@PATH,12,1816.584,5895.463,0.9250998,0,0,0,0,100,0), +(@PATH,13,1821.645,5874.956,2.705887,0,0,0,0,100,0); +-- 0x1C0914476018EC8000000B000159120F .go 1821.645 5874.956 2.705887 + +UPDATE `creature` SET `spawndist`=10 WHERE `guid` IN (112682, 112762); + +-- Pathing for Entry: 25522 'TDB FORMAT' +SET @NPC := 112761; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1869.091,`position_y`=5953.953,`position_z`=6.38201 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1869.091,5953.953,6.38201,0,0,0,0,100,0), +(@PATH,2,1879.48,5943.066,7.114405,0,0,0,0,100,0), +(@PATH,3,1905.42,5926.519,12.31866,0,0,0,0,100,0), +(@PATH,4,1907.966,5924.864,12.90823,0,0,0,0,100,0), +(@PATH,5,1907.694,5924.906,12.73229,0,0,0,0,100,0), +(@PATH,6,1888.924,5936.15,8.416003,0,0,0,0,100,0), +(@PATH,7,1885.86,5938.519,7.107553,0,0,0,0,100,0), +(@PATH,8,1879.301,5943.302,7.06257,0,0,0,0,100,0), +(@PATH,9,1863.642,5963.351,5.116355,0,0,0,0,100,0), +(@PATH,10,1848.166,5986.37,2.711081,0,0,0,0,100,0), +(@PATH,11,1856.702,5973.741,4.321182,0,0,0,0,100,0), +(@PATH,12,1868.008,5955.694,6.300377,0,0,0,0,100,0), +(@PATH,13,1869.092,5953.951,6.382379,0,0,0,0,100,0); +-- 0x1C0914476018EC8000000B00005916B8 .go 1869.091 5953.953 6.38201 + +-- Pathing for Entry: 25522 'TDB FORMAT' +SET @NPC := 112764; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1949.82,`position_y`=5779.809,`position_z`=10.0687 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1949.82,5779.809,10.0687,0,0,0,0,100,0), +(@PATH,2,1949.888,5780.269,10.04539,0,0,0,0,100,0), +(@PATH,3,1959.407,5805.928,11.8103,0,0,0,0,100,0), +(@PATH,4,1955.581,5821.07,13.57725,0,0,0,0,100,0), +(@PATH,5,1949.136,5832.18,12.86915,0,0,0,0,100,0), +(@PATH,6,1947.718,5833.966,12.66496,0,0,0,0,100,0), +(@PATH,7,1944.919,5838.312,12.17096,0,0,0,0,100,0), +(@PATH,8,1945.014,5838.031,12.05043,0,0,0,0,100,0), +(@PATH,9,1945.333,5838.103,12.31259,0,0,0,0,100,0), +(@PATH,10,1950.632,5829.593,14.2812,0,0,0,0,100,0), +(@PATH,11,1959.209,5813.076,12.95494,0,0,0,0,100,0), +(@PATH,12,1958.309,5800.833,11.20766,0,0,0,0,100,0), +(@PATH,13,1953.69,5789.138,10.24553,0,0,0,0,100,0), +(@PATH,14,1952.009,5763.52,9.059128,0,0,0,0,100,0), +(@PATH,15,1949.82,5779.809,10.0687,0,0,0,0,100,0); +-- 0x1C0914476018EC8000000B0001D91590 .go 1949.82 5779.809 10.0687 + +-- Pathing for Entry: 25464 'TDB FORMAT' +SET @NPC := 132708; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2822.261,`position_y`=5519.366,`position_z`=53.74162 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2822.261,5519.366,53.74162,0,0,0,0,100,0), +(@PATH,2,2823.339,5522.105,53.3661,0,0,0,0,100,0), +(@PATH,3,2816.756,5522.176,52.7483,0,0,0,0,100,0), +(@PATH,4,2815.625,5523.958,52.19855,0,0,0,0,100,0), +(@PATH,5,2815.16,5520.309,52.78535,0,0,0,0,100,0), +(@PATH,6,2820.333,5521.584,53.39899,0,0,0,0,100,0), +(@PATH,7,2824.778,5510.136,55.34394,0,0,0,0,100,0), +(@PATH,8,2815.103,5518.417,53.53315,0,0,0,0,100,0), +(@PATH,9,2819.598,5522.154,52.91368,0,0,0,0,100,0), +(@PATH,10,2822.082,5521.53,53.60404,0,0,0,0,100,0), +(@PATH,11,2818.371,5523.108,52.66743,0,0,0,0,100,0), +(@PATH,12,2819.409,5516.978,53.96194,0,0,0,0,100,0), +(@PATH,13,2823.384,5522.104,53.37409,0,0,0,0,100,0), +(@PATH,14,2825.392,5523.739,52.87629,0,0,0,0,100,0), +(@PATH,15,2815.691,5521.912,52.45197,0,0,0,0,100,0), +(@PATH,16,2814.33,5518.599,52.92414,0,0,0,0,100,0), +(@PATH,17,2815.653,5522.167,52.41706,0,0,0,0,100,0), +(@PATH,18,2821.683,5522.525,53.24909,0,0,0,0,100,0), +(@PATH,19,2822.436,5520.497,53.40412,0,0,0,0,100,0), +(@PATH,20,2822.451,5523.602,53.0274,0,0,0,0,100,0), +(@PATH,21,2815.243,5522.016,52.44831,0,0,0,0,100,0), +(@PATH,22,2818.638,5521.292,53.17999,0,0,0,0,100,0), +(@PATH,23,2822.181,5517.789,54.00129,0,0,0,0,100,0), +(@PATH,24,2822.296,5519.241,53.7021,0,0,0,0,100,0), +(@PATH,25,2816.71,5523.35,52.70033,0,0,0,0,100,0), +(@PATH,26,2819.778,5520.425,53.55138,0,0,0,0,100,0), +(@PATH,27,2824.004,5522.665,53.19855,0,0,0,0,100,0), +(@PATH,28,2822.11,5517.678,54.01472,0,0,0,0,100,0), +(@PATH,29,2823.61,5518.823,53.80622,0,0,0,0,100,0), +(@PATH,30,2824.499,5512.02,55.12739,0,0,0,0,100,0), +(@PATH,31,2824.968,5518.775,54.21228,0,0,0,0,100,0), +(@PATH,32,2822.294,5517.814,53.99824,0,0,0,0,100,0), +(@PATH,33,2818.368,5520.58,53.24421,0,0,0,0,100,0), +(@PATH,34,2822.198,5523.147,52.89338,0,0,0,0,100,0), +(@PATH,35,2819.597,5521.721,53.0246,0,0,0,0,100,0), +(@PATH,36,2822.367,5519.021,53.98109,0,0,0,0,100,0), +(@PATH,37,2826.401,5522.089,53.23542,0,0,0,0,100,0), +(@PATH,38,2816.553,5521.619,52.96187,0,0,0,0,100,0), +(@PATH,39,2825.091,5521.14,53.50007,0,0,0,0,100,0), +(@PATH,40,2822.17,5524.09,52.63996,0,0,0,0,100,0), +(@PATH,41,2823.85,5520.973,53.41511,0,0,0,0,100,0), +(@PATH,42,2823.884,5524.132,52.88813,0,0,0,0,100,0), +(@PATH,43,2823.595,5521.119,53.4554,0,0,0,0,100,0), +(@PATH,44,2822.149,5521.591,53.26643,0,0,0,0,100,0), +(@PATH,45,2825.091,5523.302,52.98078,0,0,0,0,100,0); +-- 0x1C0914476018DE0000000B00005919F4 .go 2822.261 5519.366 53.74162 + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122683; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3856.668,`position_y`=6592.438,`position_z`=165.8591 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3856.668,6592.438,165.8591,0,0,0,0,100,0), +(@PATH,2,3845.146,6580.313,167.2839,0,0,0,0,100,0), +(@PATH,3,3819.979,6552.679,171.2212,0,0,0,0,100,0), +(@PATH,4,3834.785,6568.925,168.5641,0,0,0,0,100,0), +(@PATH,5,3856.229,6592.091,166.1844,0,0,0,0,100,0), +(@PATH,6,3856.884,6592.668,166.1273,0,0,0,0,100,0), +(@PATH,7,3856.668,6592.438,165.8591,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C00005923F6 .go 3856.668 6592.438 165.8591 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122683; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122683, 122683, 0, 0, 2, 0, 0), +(122683, 122668, 4, 0, 2, 0, 0); + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122679; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3877.737,`position_y`=6617.055,`position_z`=165.4812 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3877.737,6617.055,165.4812,0,0,0,0,100,0), +(@PATH,2,3876.591,6615.319,165.2154,0,0,0,0,100,0), +(@PATH,3,3876.513,6615.291,165.0491,0,0,0,0,100,0), +(@PATH,4,3881.765,6622.608,165.9126,0,0,0,0,100,0), +(@PATH,5,3887.004,6630.904,166.6272,0,0,0,0,100,0), +(@PATH,6,3890.648,6642.739,166.3096,0,0,0,0,100,0), +(@PATH,7,3895.043,6655.15,167.9105,0,0,0,0,100,0), +(@PATH,8,3892.582,6650.448,166.6568,0,0,0,0,100,0), +(@PATH,9,3890.725,6641.271,166.7931,0,0,0,0,100,0), +(@PATH,10,3886.259,6630.026,166.4984,0,0,0,0,100,0), +(@PATH,11,3877.767,6616.941,165.558,0,0,0,0,100,0), +(@PATH,12,3876.568,6615.188,165.1826,0,0,0,0,100,0), +(@PATH,13,3876.513,6615.291,165.0491,0,0,0,0,100,0), +(@PATH,14,3881.689,6622.583,165.9073,0,0,0,0,100,0), +(@PATH,15,3886.83,6631.109,166.6665,0,0,0,0,100,0), +(@PATH,16,3890.699,6642.743,166.3585,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C00005923E0 .go 3877.737 6617.055 165.4812 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122679; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122679, 122679, 0, 0, 2, 0, 0), +(122679, 122664, 4, 0, 2, 0, 0); + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122682; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3802.633,`position_y`=6610.85,`position_z`=160.9254 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3802.633,6610.85,160.9254,0,0,0,0,100,0), +(@PATH,2,3814.249,6608.161,162.6728,0,0,0,0,100,0), +(@PATH,3,3817.92,6607.578,162.962,0,0,0,0,100,0), +(@PATH,4,3817.757,6607.444,162.8091,0,0,0,0,100,0), +(@PATH,5,3809.16,6609.176,161.7681,0,0,0,0,100,0), +(@PATH,6,3794.561,6613.893,159.8145,0,0,0,0,100,0), +(@PATH,7,3787.977,6622.479,157.1806,0,0,0,0,100,0), +(@PATH,8,3777.748,6635.708,153.5259,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C000059215B .go 3802.633 6610.85 160.9254 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122682; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122682, 122682, 0, 0, 2, 0, 0), +(122682, 122667, 4, 0, 2, 0, 0); + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122671; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3876.684,`position_y`=6542.924,`position_z`=175.354 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3876.684,6542.924,175.354,0,0,0,0,100,0), +(@PATH,2,3865.112,6532.595,176.6299,0,0,0,0,100,0), +(@PATH,3,3868.344,6534.336,176.2356,0,0,0,0,100,0), +(@PATH,4,3880.712,6554.647,173.5269,0,0,0,0,100,0), +(@PATH,5,3880.566,6581.678,168.6076,0,0,0,0,100,0), +(@PATH,6,3881.85,6561.938,171.8416,0,0,0,0,100,0), +(@PATH,7,3876.725,6542.939,175.2055,0,0,0,0,100,0), +(@PATH,8,3864.951,6532.556,176.746,0,0,0,0,100,0), +(@PATH,9,3868.344,6534.336,176.2356,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C0000592014 .go 3876.684 6542.924 175.354 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122671; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122671, 122671, 0, 0, 2, 0, 0), +(122671, 122660, 4, 0, 2, 0, 0); + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122681; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3856.668,`position_y`=6592.438,`position_z`=165.8591 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3856.668,6592.438,165.8591,0,0,0,0,100,0), +(@PATH,2,3845.146,6580.313,167.2839,0,0,0,0,100,0), +(@PATH,3,3819.979,6552.679,171.2212,0,0,0,0,100,0), +(@PATH,4,3834.785,6568.925,168.5641,0,0,0,0,100,0), +(@PATH,5,3856.229,6592.091,166.1844,0,0,0,0,100,0), +(@PATH,6,3856.884,6592.668,166.1273,0,0,0,0,100,0), +(@PATH,7,3856.668,6592.438,165.8591,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C00005923F6 .go 3856.668 6592.438 165.8591 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122681; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122681, 122681, 0, 0, 2, 0, 0), +(122681, 122666, 4, 0, 2, 0, 0); + +UPDATE `creature` SET `spawndist`=15 WHERE `guid`=122549; +UPDATE `creature` SET `spawndist`=20 WHERE `guid`=122548; + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122675; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3772.382,`position_y`=6700.643,`position_z`=150.745 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3772.382,6700.643,150.745,0,0,0,0,100,0), +(@PATH,2,3765.955,6706.445,152.0959,0,0,0,0,100,0), +(@PATH,3,3760.302,6711.588,152.1358,0,0,0,0,100,0), +(@PATH,4,3750.747,6726.564,151.7103,0,0,0,0,100,0), +(@PATH,5,3749.879,6729.181,151.658,0,0,0,0,100,0), +(@PATH,6,3750.81,6726.225,151.6613,0,0,0,0,100,0), +(@PATH,7,3771.484,6701.582,151.0565,0,0,0,0,100,0), +(@PATH,8,3772.745,6700.572,150.9297,0,0,0,0,100,0), +(@PATH,9,3772.382,6700.643,150.745,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C0000592493 .go 3772.382 6700.643 150.745 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122675; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122675, 122675, 0, 0, 2, 0, 0), +(122675, 122661, 4, 0, 2, 0, 0); + + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122678; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3765.189,`position_y`=6646.188,`position_z`=152.2007 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3765.189,6646.188,152.2007,0,0,0,0,100,0), +(@PATH,2,3761.339,6649.458,151.591,0,0,0,0,100,0), +(@PATH,3,3761.412,6649.275,151.5081,0,0,0,0,100,0), +(@PATH,4,3775.332,6638.132,152.7523,0,0,0,0,100,0), +(@PATH,5,3784.681,6626.98,155.8878,0,0,0,0,100,0), +(@PATH,6,3791.935,6616.86,158.9415,0,0,0,0,100,0), +(@PATH,7,3802.772,6610.692,160.7068,0,0,0,0,100,0), +(@PATH,8,3814.205,6608.264,162.5391,0,0,0,0,100,0), +(@PATH,9,3817.96,6607.651,162.9075,0,0,0,0,100,0), +(@PATH,10,3817.757,6607.444,162.8091,0,0,0,0,100,0), +(@PATH,11,3809.104,6609.054,161.8425,0,0,0,0,100,0), +(@PATH,12,3794.503,6613.823,159.8757,0,0,0,0,100,0), +(@PATH,13,3788.144,6622.311,157.2462,0,0,0,0,100,0), +(@PATH,14,3777.916,6635.792,153.5504,0,0,0,0,100,0), +(@PATH,15,3765.363,6646.322,152.2002,0,0,0,0,100,0), +(@PATH,16,3761.535,6649.459,151.5641,0,0,0,0,100,0), +(@PATH,17,3761.412,6649.275,151.5081,0,0,0,0,100,0), +(@PATH,18,3775.165,6638.005,152.7578,0,0,0,0,100,0), +(@PATH,19,3784.59,6626.891,155.6862,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C0000592B08 .go 3765.189 6646.188 152.2007 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122678; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122678, 122678, 0, 0, 2, 0, 0), +(122678, 122663, 4, 0, 2, 0, 0); + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122684; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3726.047,`position_y`=6604.721,`position_z`=171.6309 WHERE `guid` IN (@NPC, 122669); +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3726.047,6604.721,171.6309,0,0,0,0,100,0), +(@PATH,2,3737.404,6582.727,172.9987,0,0,0,0,100,0), +(@PATH,3,3752.602,6559.511,175.07,0,0,0,0,100,0), +(@PATH,4,3757.825,6548.518,176.1503,0,0,0,0,100,0), +(@PATH,5,3741.299,6576.517,173.8608,0,0,0,0,100,0), +(@PATH,6,3731.644,6593.12,172.3642,0,0,0,0,100,0), +(@PATH,7,3725.372,6606.514,171.4347,0,0,0,0,100,0), +(@PATH,8,3726.047,6604.721,171.6309,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C0000592BE0 .go 3726.047 6604.721 171.6309 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122684; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122684, 122684, 0, 0, 2, 0, 0), +(122684, 122669, 4, 0, 2, 0, 0); + +-- Coldarra Spellweaver SAI +SET @ENTRY := 25722; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,600,5300,11,34447,64,0,0,0,0,2,0,0,0,0,0,0,0,"Coldarra Spellweaver - In Combat - Cast 'Arcane Missiles'"), +(@ENTRY,0,1,0,1,0,100,0,100,100,45000,45000,11,39550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Coldarra Spellweaver - Out of Combat - Cast 'Arcane Channeling'"); + +-- Coldarra Spellbinder SAI +SET @ENTRY := 25719; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3900,5800,11,9672,64,0,0,0,0,2,0,0,0,0,0,0,0,"Coldarra Spellbinder - In Combat - Cast 'Frostbolt'"), +(@ENTRY,0,1,0,0,0,100,0,1700,13500,172100,172100,11,50583,1,0,0,0,0,1,0,0,0,0,0,0,0,"Coldarra Spellbinder - In Combat - Cast 'Summon Frozen Spheres'"), +(@ENTRY,0,2,0,1,0,100,0,100,100,45000,45000,11,39550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Coldarra Spellbinder - Out of Combat - Cast 'Arcane Channeling'"); + +-- Inquisitor Caleras SAI +SET @ENTRY := 25720; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,6200,11,15043,64,0,0,0,0,2,0,0,0,0,0,0,0,"Inquisitor Caleras - In Combat - Cast 'Frostbolt'"), +(@ENTRY,0,1,0,0,0,100,0,9800,21300,18400,18400,11,32192,1,0,0,0,0,1,0,0,0,0,0,0,0,"Inquisitor Caleras - In Combat - Cast 'Frost Nova'"), +(@ENTRY,0,2,0,1,0,100,0,100,100,45000,45000,11,39550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Inquisitor Caleras - Out of Combat - Cast 'Arcane Channeling'"); + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122676; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3839.049,`position_y`=6746.131,`position_z`=150.8772 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3839.049,6746.131,150.8772,0,0,0,0,100,0), +(@PATH,2,3838.777,6746.075,150.6292,0,0,0,0,100,0), +(@PATH,3,3838.793,6746.344,150.9143,0,0,0,0,100,0), +(@PATH,4,3826.649,6753.63,150.9941,0,0,0,0,100,0), +(@PATH,5,3811.169,6750.051,150.4951,0,0,0,0,100,0), +(@PATH,6,3811.172,6750.112,150.299,0,0,0,0,100,0), +(@PATH,7,3811.489,6750.411,150.5408,0,0,0,0,100,0), +(@PATH,8,3826.923,6753.677,150.8951,0,0,0,0,100,0), +(@PATH,9,3839.046,6746.012,150.8834,0,0,0,0,100,0), +(@PATH,10,3838.777,6746.075,150.6292,0,0,0,0,100,0), +(@PATH,11,3838.828,6746.229,150.9149,0,0,0,0,100,0), +(@PATH,12,3826.723,6753.648,150.7468,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C00005924AC .go 3839.049 6746.131 150.8772 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122676; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122676, 122676, 0, 0, 2, 0, 0), +(122676, 122662, 4, 0, 2, 0, 0); + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122680; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3863.127,`position_y`=6753.518,`position_z`=150.5189 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3863.127,6753.518,150.5189,0,0,0,0,100,0), +(@PATH,2,3860.453,6741.29,150.7381,0,0,0,0,100,0), +(@PATH,3,3875.973,6736.009,151.0474,0,0,0,0,100,0), +(@PATH,4,3886.431,6727.403,151.3167,0,0,0,0,100,0), +(@PATH,5,3886.167,6727.198,151.1895,0,0,0,0,100,0), +(@PATH,6,3886.265,6727.485,151.3074,0,0,0,0,100,0), +(@PATH,7,3875.836,6736.28,151.0612,0,0,0,0,100,0), +(@PATH,8,3860.38,6741.66,150.7448,0,0,0,0,100,0), +(@PATH,9,3862.974,6753.514,150.6811,0,0,0,0,100,0), +(@PATH,10,3867.98,6753.716,150.6562,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C00005924B3 .go 3863.127 6753.518 150.5189 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122680; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122680, 122680, 0, 0, 2, 0, 0), +(122680, 122665, 4, 0, 2, 0, 0); + +-- Pathing for Entry: 25719 'TDB FORMAT' +SET @NPC := 122685; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3908.275,`position_y`=6757.146,`position_z`=150.8441 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3908.275,6757.146,150.8441,0,0,0,0,100,0), +(@PATH,2,3893.045,6770.693,150.8547,0,0,0,0,100,0), +(@PATH,3,3880.528,6782.54,150.7091,0,0,0,0,100,0), +(@PATH,4,3880.478,6782.537,150.6073,0,0,0,0,100,0), +(@PATH,5,3880.76,6782.527,150.8653,0,0,0,0,100,0), +(@PATH,6,3893.34,6770.562,150.8441,0,0,0,0,100,0), +(@PATH,7,3908.603,6756.879,150.896,0,0,0,0,100,0), +(@PATH,8,3925.911,6721.284,153.766,0,0,0,0,100,0), +(@PATH,9,3920.531,6713.925,153.515,0,0,0,0,100,0), +(@PATH,10,3906.757,6706.551,151.9455,0,0,0,0,100,0), +(@PATH,11,3894.688,6701.577,151.5052,0,0,0,0,100,0), +(@PATH,12,3894.756,6701.676,151.4043,0,0,0,0,100,0), +(@PATH,13,3916.371,6709.826,152.6267,0,0,0,0,100,0), +(@PATH,14,3921.297,6714.496,153.5745,0,0,0,0,100,0), +(@PATH,15,3929.399,6745.379,151.6542,0,0,0,0,100,0), +(@PATH,16,3919.581,6752.038,150.9705,0,0,0,0,100,0), +(@PATH,17,3908.269,6757.149,150.8441,0,0,0,0,100,0), +(@PATH,18,3893.047,6770.691,150.8547,0,0,0,0,100,0), +(@PATH,19,3880.51,6782.556,150.7091,0,0,0,0,100,0); +-- 0x1C09144760191DC000000C00005932EB .go 3908.275 6757.146 150.8441 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=122685; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(122685, 122685, 0, 0, 2, 0, 0), +(122685, 122670, 4, 0, 2, 0, 0); + +UPDATE `creature` SET `spawndist`=20 WHERE `guid`=122550; + +UPDATE `creature` SET `spawndist`=15 WHERE `id`=25721; + +-- Pathing for Entry: 25717 'TDB FORMAT' +SET @NPC := 122652; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=4071.958,`position_y`=7059.748,`position_z`=166.7365 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,4071.958,7059.748,166.7365,0,0,0,0,100,0), +(@PATH,2,4072.932,7060.661,166.5419,0,0,0,0,100,0), +(@PATH,3,4087.155,7066.582,166.7904,0,0,0,0,100,0), +(@PATH,4,4086.809,7066.466,166.6568,0,0,0,0,100,0), +(@PATH,5,4086.776,7066.416,166.7174,0,0,0,0,100,0), +(@PATH,6,4062.645,7049.889,167.7236,0,0,0,0,100,0), +(@PATH,7,4054.082,7027.509,166.672,0,0,0,0,100,0), +(@PATH,8,4059.144,7041.778,167.9961,0,0,0,0,100,0), +(@PATH,9,4071.981,7059.813,166.7345,0,0,0,0,100,0); +-- 0x1C09144760191D4000000C00005932C9 .go 4071.958 7059.748 166.7365 + +-- General Cerulean SAI +SET @ENTRY := 25716; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,10200,13600,10000,12000,11,15499,0,0,0,0,0,2,0,0,0,0,0,0,0,"General Cerulean - In Combat - Cast 'Frost Shock'"), +(@ENTRY,0,1,0,1,0,100,0,100,100,45000,45000,11,39550,0,0,0,0,0,1,0,0,0,0,0,0,0,"General Cerulean - Out of Combat - Cast 'Arcane Channeling'"); + +UPDATE `creature` SET `spawndist`=20 WHERE `guid` IN (122547, 122551); + +-- Pathing for Entry: 25713 'TDB FORMAT' +SET @NPC := 122611; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3820.672,`position_y`=7153.959,`position_z`=163.4258 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3820.672,7153.959,163.4258,0,0,0,0,100,0), +(@PATH,2,3816.873,7173.65,161.3409,0,0,0,0,100,0), +(@PATH,3,3819.527,7160.829,162.4046,0,0,0,0,100,0), +(@PATH,4,3821.152,7145.412,164.2622,0,0,0,0,100,0), +(@PATH,5,3820.075,7133.457,165.5549,0,0,0,0,100,0), +(@PATH,6,3819.108,7129.334,166.0357,0,0,0,0,100,0), +(@PATH,7,3819.164,7129.457,165.8505,0,0,0,0,100,0), +(@PATH,8,3820.722,7140.354,165.1108,0,0,0,0,100,0), +(@PATH,9,3820.762,7154.072,163.3669,0,0,0,0,100,0), +(@PATH,10,3816.832,7173.758,161.5131,0,0,0,0,100,0); +-- 0x1C09144760191C4000000C0000590957 .go 3820.672 7153.959 163.4258 + +-- Pathing for Entry: 25713 'TDB FORMAT' +SET @NPC := 122643; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3715.234,`position_y`=7159.224,`position_z`=160.5815 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3715.234,7159.224,160.5815,0,0,0,0,100,0), +(@PATH,2,3712.465,7168.071,160.3927,0,0,0,0,100,0), +(@PATH,3,3711.697,7180.112,160.1553,0,0,0,0,100,0), +(@PATH,4,3712.53,7195.874,160.5102,0,0,0,0,100,0), +(@PATH,5,3712.202,7195.61,160.2491,0,0,0,0,100,0), +(@PATH,6,3712.354,7195.505,160.5099,0,0,0,0,100,0), +(@PATH,7,3711.637,7179.952,160.1052,0,0,0,0,100,0), +(@PATH,8,3712.478,7167.976,160.2884,0,0,0,0,100,0), +(@PATH,9,3715.501,7158.848,160.5296,0,0,0,0,100,0), +(@PATH,10,3715.303,7158.94,160.4226,0,0,0,0,100,0), +(@PATH,11,3715.255,7159.067,160.5904,0,0,0,0,100,0), +(@PATH,12,3712.359,7168.119,160.3639,0,0,0,0,100,0), +(@PATH,13,3711.62,7180.215,160.1398,0,0,0,0,100,0), +(@PATH,14,3712.332,7195.925,160.5264,0,0,0,0,100,0); +-- 0x1C09144760191C4000000C0000592DB7 .go 3715.234 7159.224 160.5815 + +-- Warbringer Goredrak SAI +SET @ENTRY := 25712; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,200,16900,21200,11,50534,0,0,0,0,0,2,0,0,0,0,0,0,0,"Warbringer Goredrak - In Combat - Cast 'Power Sap'"), +(@ENTRY,0,1,0,0,0,100,0,5900,6700,16800,21200,11,50545,1,0,0,0,0,2,0,0,0,0,0,0,0,"Warbringer Goredrak - In Combat - Cast 'Arcane Blast'"), +(@ENTRY,0,2,0,1,0,100,0,100,100,45000,45000,11,39550,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warbringer Goredrak - Out of Combat - Cast 'Arcane Channeling'"); + +UPDATE `creature` SET `spawndist`=10 WHERE `guid`=122806; +UPDATE `creature` SET `spawndist`=15 WHERE `guid` IN (122824, 122545); +-- Pathing for Entry: 25709 'TDB FORMAT' +SET @NPC := 122562; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3821.72,`position_y`=7226.874,`position_z`=165.7941 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3821.72,7226.874,165.7941,0,0,0,0,100,0), +(@PATH,2,3840.45,7225.532,167.5351,0,0,0,0,100,0), +(@PATH,3,3854.693,7219.692,168.801,0,0,0,0,100,0), +(@PATH,4,3872.789,7201.074,168.0432,0,0,0,0,100,0), +(@PATH,5,3877.849,7192.911,167.4686,0,0,0,0,100,0), +(@PATH,6,3853.227,7162.686,166.2984,0,0,0,0,100,0), +(@PATH,7,3831.403,7190.82,162.3192,0,0,0,0,100,0), +(@PATH,8,3821.685,7226.815,165.7664,0,0,0,0,100,0); +-- 0x1C09144760191B4000000C00005929B2 .go 3821.72 7226.874 165.7941 + +-- Pathing for Entry: 25717 'TDB FORMAT' +SET @NPC := 122655; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=4158.797,`position_y`=7025.598,`position_z`=165.7506 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,4158.797,7025.598,165.7506,0,0,0,0,100,0), +(@PATH,2,4158.771,7025.846,166.0288,0,0,0,0,100,0), +(@PATH,3,4149.362,7040.18,166.0216,0,0,0,0,100,0), +(@PATH,4,4141.375,7046.86,165.9186,0,0,0,0,100,0), +(@PATH,5,4128.7,7050.973,165.6986,0,0,0,0,100,0), +(@PATH,6,4128.795,7050.833,165.5718,0,0,0,0,100,0), +(@PATH,7,4129.043,7050.743,165.6772,0,0,0,0,100,0), +(@PATH,8,4141.438,7046.565,166.0175,0,0,0,0,100,0), +(@PATH,9,4149.486,7040.006,166.0294,0,0,0,0,100,0), +(@PATH,10,4159.022,7025.654,165.9743,0,0,0,0,100,0); +-- 0x1C09144760191D4000000C000059272B .go 4158.797 7025.598 165.7506 +-- +SET @NPC:= 25968; +UPDATE `creature_template` SET `VehicleId`=30 WHERE `entry`=@NPC; +DELETE FROM `vehicle_template_accessory` where `entry` in (@NPC) AND `accessory_entry` IN (25801); +INSERT INTO `vehicle_template_accessory` (`entry`,`accessory_entry`,`seat_id`,`minion`,`description`,`summontype`,`summontimer`) VALUES +(@NPC,25801,0,0,'Lunchbox',8,0); +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` = @NPC; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(@NPC, 46598, 1, 0); + +-- Nedar, Lord of Rhinos SAI +SET @ENTRY := 25801; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - On Aggro - Set Event Phase 1 (No Repeat)"), +(@ENTRY,0,1,0,4,1,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - On Aggro - Say Line 0 (Phase 1) (No Repeat)"), +(@ENTRY,0,2,0,4,1,100,1,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - On Aggro - Disable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,3,0,4,1,100,1,0,0,0,0,11,41440,0,0,0,0,0,2,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - On Aggro - Cast 'Shoot' (Phase 1) (No Repeat)"), +(@ENTRY,0,4,0,9,1,100,0,5,30,3500,4100,11,41440,0,0,0,0,0,2,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - Within 5-30 Range - Cast 'Shoot' (Phase 1)"), +(@ENTRY,0,5,0,9,1,100,0,30,100,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - Within 30-100 Range - Enable Combat Movement (Phase 1)"), +(@ENTRY,0,6,0,9,1,100,0,9,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - Within 9-15 Range - Disable Combat Movement (Phase 1)"), +(@ENTRY,0,7,0,9,1,100,0,0,5,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - Within 0-5 Range - Enable Combat Movement (Phase 1)"), +(@ENTRY,0,8,0,9,1,100,0,5,30,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nedar, Lord of Rhinos - Within 5-30 Range - Disable Combat Movement (Phase 1)"); +-- Complete the Broadcast_text +DELETE FROM `creature_text` WHERE `entry` IN (@ENTRY); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@ENTRY, 0, 0, 'Your impetuousness will be your end!', 12, 0, 100, 0, 0, 0, 'Nedar', 25103), +(@ENTRY, 0, 1, 'You dare challenge Nedar, lord of the tundral!?', 12, 0, 100, 0, 0, 0, 'Nedar', 25102), +(@ENTRY, 0, 2, 'You don''t stand a chance!', 12, 0, 100, 0, 0, 0, 'Nedar', 25104); + +-- Pathing for Entry: 25968 'TDB FORMAT' +SET @NPC := 106302; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3170.232,`position_y`=5968.757,`position_z`=96.36165 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3170.232,5968.757,96.36165,0,0,0,0,100,0), +(@PATH,2,3159.33,5950.815,95.96857,0,0,0,0,100,0), +(@PATH,3,3162.685,5902.838,96.0918,0,0,0,0,100,0), +(@PATH,4,3169.452,5888.983,97.71611,0,0,0,0,100,0), +(@PATH,5,3204.079,5874.618,97.02065,0,0,0,0,100,0), +(@PATH,6,3238.726,5868.98,94.07452,0,0,0,0,100,0), +(@PATH,7,3266.804,5867.507,86.87187,0,0,0,0,100,0), +(@PATH,8,3300.308,5874.12,83.72194,0,0,0,0,100,0), +(@PATH,9,3328.993,5853.078,78.86817,0,0,0,0,100,0), +(@PATH,10,3344.677,5812.18,67.82541,0,0,0,0,100,0), +(@PATH,11,3341.184,5774.667,61.2993,0,0,0,0,100,0), +(@PATH,12,3357.205,5767.466,65.42284,0,0,0,0,100,0), +(@PATH,13,3357.227,5799.264,67.74834,0,0,0,0,100,0), +(@PATH,14,3359.967,5824.072,71.90356,0,0,0,0,100,0), +(@PATH,15,3354.479,5873.997,76.9686,0,0,0,0,100,0), +(@PATH,16,3341.863,5907.724,79.92758,0,0,0,0,100,0), +(@PATH,17,3316.034,5925.089,85.70946,0,0,0,0,100,0), +(@PATH,18,3293.812,5947.116,82.76896,0,0,0,0,100,0); +-- 0x2009144760195C0000000C000057E949 .go 3170.232 5968.757 96.36165 +-- +UPDATE `creature` SET `MovementType`=0 WHERE `guid` IN (126701,126703,126711); +UPDATE `creature` SET `equipment_id`=0 WHERE `id` IN (12237, 12224); +-- +UPDATE `creature` SET `MovementType`=0 WHERE `guid` = 58021; +UPDATE `creature` SET `MovementType`=1 WHERE `guid` IN (122545, 122824); +-- +UPDATE `creature_template` SET `unit_class`=4 WHERE `entry`=32535; +UPDATE `creature_template_addon` SET`auras`="" WHERE`entry` IN (26608, 31306); -- vehicle auras appear only when the npc ride a vehicle or when he's mounted +UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry`=35427; +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=49947; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 49947, 0, 0, 31, 0, 3, 19871, 0, 0, 0, 0, '', 'Laser - only targets Bunny'); + +-- Scavenge-bot 004-A8 SAI +SET @ENTRY := 25752; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id` >=3; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,3,0,1,0,100,0,5000,5000,15000,20000,11,49947,0,0,0,0,0,19,19871,25,0,0,0,0,0,"Scavenge-bot 004-A8 - Out of Combat - Cast 'Cutting Laser'"), +(@ENTRY,0,4,0,1,0,100,0,20000,25000,35000,40000,5,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scavenge-bot 004-A8 - Out of Combat - Play Emote 35"); +-- Pathing for Stonebreaker Grunt Entry: 18973 'TDB FORMAT' +SET @NPC := 68131; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2562.284,`position_y`=4397.473,`position_z`=58.68661 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2562.284,4397.473,58.68661,0,0,0,0,100,0), +(@PATH,2,-2551.224,4407.652,53.44283,0,0,0,0,100,0), +(@PATH,3,-2547.335,4405.842,52.35535,0,0,0,0,100,0), +(@PATH,4,-2543.202,4397.742,52.17545,0,0,0,0,100,0), +(@PATH,5,-2547.734,4388.876,52.18408,0,0,0,0,100,0), +(@PATH,6,-2556.611,4386.977,52.1886,0,0,0,0,100,0), +(@PATH,7,-2556.627,4386.753,51.9386,0,0,0,0,100,0), +(@PATH,8,-2556.481,4387.06,52.1886,0,0,0,0,100,0), +(@PATH,9,-2543.486,4397,52.17455,0,0,0,0,100,0), +(@PATH,10,-2547.152,4405.732,52.17457,0,0,0,0,100,0), +(@PATH,11,-2558.628,4405.742,57.89645,0,0,0,0,100,0), +(@PATH,12,-2562.429,4397.533,58.73559,0,0,0,0,100,0), +(@PATH,13,-2562.816,4394.701,58.72124,0,0,0,0,100,0), +(@PATH,14,-2547.645,4388.162,58.39926,0,0,0,0,100,0), +(@PATH,15,-2545.306,4391.472,58.38942,0,0,0,0,100,0), +(@PATH,16,-2543.268,4397.77,58.69866,0,0,0,0,100,0), +(@PATH,17,-2543.174,4397.481,58.44216,0,0,0,0,100,0), +(@PATH,18,-2545.374,4391.247,58.40757,0,0,0,0,100,0), +(@PATH,19,-2554.22,4387.671,58.65759,0,0,0,0,100,0), +(@PATH,20,-2562.223,4394.01,58.45053,0,0,0,0,100,0), +(@PATH,21,-2562.396,4397.497,58.69535,0,0,0,0,100,0), +(@PATH,22,-2551.103,4407.721,53.44612,0,0,0,0,100,0), +(@PATH,23,-2547.447,4405.818,52.24909,0,0,0,0,100,0), +(@PATH,24,-2543.19,4397.657,52.17642,0,0,0,0,100,0), +(@PATH,25,-2547.777,4388.548,52.18584,0,0,0,0,100,0), +(@PATH,26,-2556.725,4387.103,52.1886,0,0,0,0,100,0), +(@PATH,27,-2556.627,4386.753,51.9386,0,0,0,0,100,0), +(@PATH,28,-2556.351,4386.949,52.1886,0,0,0,0,100,0), +(@PATH,29,-2543.485,4397.102,52.17455,0,0,0,0,100,0), +(@PATH,30,-2547.133,4405.784,52.17457,0,0,0,0,100,0), +(@PATH,31,-2558.618,4405.514,57.89614,0,0,0,0,100,0), +(@PATH,32,-2562.308,4397.42,58.72334,0,0,0,0,100,0), +(@PATH,33,-2562.909,4394.518,58.71896,0,0,0,0,100,0), +(@PATH,34,-2547.697,4388.187,58.39987,0,0,0,0,100,0), +(@PATH,35,-2545.525,4391.353,58.41209,0,0,0,0,100,0), +(@PATH,36,-2543.177,4397.777,58.7028,0,0,0,0,100,0), +(@PATH,37,-2543.174,4397.481,58.44216,0,0,0,0,100,0), +(@PATH,38,-2545.295,4391.392,58.40459,0,0,0,0,100,0), +(@PATH,39,-2554.367,4387.682,58.65977,0,0,0,0,100,0), +(@PATH,40,-2562.382,4393.967,58.45837,0,0,0,0,100,0); +-- 0x1C3930424012874000002C0003BF2EBC .go -2562.284 4397.473 58.68661 + +-- Pathing for Stonebreaker Grunt Entry: 18973 'TDB FORMAT' +SET @NPC := 68132; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2582.699,`position_y`=4367.507,`position_z`=27.14433 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2582.699,4367.507,27.14433,240000,0,0,0,100,0), +(@PATH,2,-2595.828,4382.915,29.9575,0,0,0,0,100,0), +(@PATH,3,-2613.849,4391.314,33.12907,0,0,0,0,100,0), +(@PATH,4,-2632.729,4386.462,35.28672,0,0,0,0,100,0), +(@PATH,5,-2636.813,4385.448,35.57519,0,0,0,0,100,0), +(@PATH,6,-2667.237,4407.722,35.60794,0,0,0,0,100,0), +(@PATH,7,-2701.92,4386.847,28.3668,0,0,0,0,100,0), +(@PATH,8,-2708.737,4383.311,26.62656,0,0,0,0,100,0), +(@PATH,9,-2671.687,4406.917,35.27893,0,0,0,0,100,0), +(@PATH,10,-2638.984,4412.332,35.20811,0,0,0,0,100,0), +(@PATH,11,-2613.415,4394.945,33.2278,0,0,0,0,100,0), +(@PATH,12,-2591.59,4381.07,29.3395,0,0,0,0,100,0); +-- 0x1C3930424012874000002C00023F2EBA .go -2582.699 4367.507 27.14433 + +-- Pathing for Stonebreaker Peon Entry: 19048 'TDB FORMAT' +SET @NPC := 68353; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2607.763,`position_y`=4381.312,`position_z`=33.58602 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2607.763,4381.312,33.58602,0,0,0,0,100,0), +(@PATH,2,-2633.11,4379.769,35.77549,0,0,0,0,100,0), +(@PATH,3,-2634.318,4379.514,35.83887,0,0,0,0,100,0), +(@PATH,4,-2647.237,4382.08,36.08328,0,240000,0,0,100,0), +(@PATH,5,-2642.319,4381.9,35.72264,0,0,0,0,100,0), +(@PATH,6,-2642.08,4381.872,35.9688,0,0,0,0,100,0), +(@PATH,7,-2607.333,4387.602,31.9885,0,0,0,0,100,0), +(@PATH,8,-2603.056,4389.318,31.18134,0,0,0,0,100,0), +(@PATH,9,-2598.985,4391.519,30.64458,0,240000,0,0,100,0), +(@PATH,10,-2592.19,4391.983,30.50177,0,240000,0,0,100,0), +(@PATH,11,-2568.814,4388.118,33.5708,0,0,0,0,100,0), +(@PATH,12,-2567.081,4387.359,34.20564,0,240000,0,0,100,0); +-- 0x1C39304240129A0000002C00023F2EBC .go -2607.763 4381.312 33.58602 + +-- Update Keb'ezil's movement, he should be running around as an imp. +UPDATE `creature` SET `MovementType`=1 WHERE `guid`=66944; +UPDATE `creature` SET `spawndist`=5 WHERE `guid`=66944; + +-- Update coordinates of Ru'zah +UPDATE `creature` SET `position_x`=-2627.9, `position_y`=4486.034, `position_z`=36.21471 WHERE `guid`=74329; +-- Urdak SAI +SET @ENTRY := 18541; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,0,0,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Out of Combat - Enable Combat Movement (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,1,0,0,0,0,11,32924,1,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - In Combat - Cast 'Power of Kran'aish' (No Repeat)"), +(@ENTRY,0,2,3,4,0,100,1,0,0,0,0,11,38465,0,0,0,0,0,2,0,0,0,0,0,0,0,"Urdak - On Aggro - Cast 'Lightning Bolt' (No Repeat)"), +(@ENTRY,0,3,0,61,0,100,0,0,0,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - On Aggro - Increment Phase By 1 (No Repeat)"), +(@ENTRY,0,4,0,9,1,100,0,0,40,2400,3800,11,38465,0,0,0,0,0,2,0,0,0,0,0,0,0,"Urdak - Within 0-40 Range - Cast 'Lightning Bolt' (No Repeat)"), +(@ENTRY,0,5,6,3,1,100,1,0,15,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Between 0-15% Mana - Enable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,6,0,61,1,100,0,0,0,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Between 0-15% Mana - Increment Phase By 1 (Phase 1) (No Repeat)"), +(@ENTRY,0,7,0,9,1,100,1,35,80,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Within 35-80 Range - Enable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,8,0,9,1,100,1,5,15,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Within 5-15 Range - Disable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,9,0,9,1,100,1,0,5,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Within 0-5 Range - Enable Combat Movement (Phase 1) (No Repeat)"), +(@ENTRY,0,10,0,3,2,100,0,30,100,100,100,23,0,1,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Between 30-100% Mana - Decrement Phase By 1 (Phase 1) (No Repeat)"), +(@ENTRY,0,11,0,0,0,100,0,6000,10000,12000,16000,11,32907,1,0,0,0,0,2,0,0,0,0,0,0,0,"Urdak - In Combat - Cast 'Arakkoa Blast' (Phase 1) (No Repeat)"), +(@ENTRY,0,12,0,0,0,100,0,10000,14000,18000,25000,11,6728,1,0,0,0,0,6,0,0,0,0,0,0,0,"Urdak - In Combat - Cast 'Enveloping Winds' (Phase 1) (No Repeat)"), +(@ENTRY,0,13,14,2,0,100,1,0,15,0,0,22,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Between 0-15% Health - Set Event Phase 3 (No Repeat)"), +(@ENTRY,0,14,15,61,0,100,0,0,0,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Urdak - Between 0-15% Health - Enable Combat Movement (No Repeat)"), +(@ENTRY,0,15,0,61,0,100,0,0,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Urdak - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Pathing for Urdak Entry: 18541 'TDB FORMAT' +SET @NPC := 66701; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2531.757,`position_y`=5367.723,`position_z`=27.48038 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2531.757,5367.723,27.48038,0,0,0,0,100,0), +(@PATH,2,-2522.244,5363.866,27.5043,0,0,0,0,100,0), +(@PATH,3,-2511.568,5370.136,27.19551,0,0,0,0,100,0), +(@PATH,4,-2509.842,5376.426,27.17996,0,0,0,0,100,0), +(@PATH,5,-2514.843,5388.665,27.42471,0,0,0,0,100,0), +(@PATH,6,-2525.896,5389.706,27.21724,0,0,0,0,100,0), +(@PATH,7,-2531.956,5386.355,27.44649,0,0,0,0,100,0), +(@PATH,8,-2535.825,5377.078,27.48491,0,0,0,0,100,0); +-- 0x1C39304240121B400000D00000395D5F .go -2531.757 5367.723 27.48038 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=66960; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(66960, 66960, 0, 0, 2), +(66960, 57334, 3, 270, 2); + +-- Pathing for Shadowy Hunter Entry: 18718 'TDB FORMAT' +SET @NPC := 66960; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2399.251,`position_y`=4948.647,`position_z`=33.51818 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2399.251,4948.647,33.51818,0,0,0,0,100,0), +(@PATH,2,-2382.013,4957.111,36.26661,0,0,0,0,100,0), +(@PATH,3,-2386.387,4964.082,33.5477,0,0,0,0,100,0), +(@PATH,4,-2396.421,4967.332,32.63216,0,0,0,0,100,0), +(@PATH,5,-2404.207,4968.344,32.13279,0,0,0,0,100,0), +(@PATH,6,-2411.476,4973.782,31.9511,0,0,0,0,100,0), +(@PATH,7,-2419.75,5004.045,29.51139,0,0,0,0,100,0), +(@PATH,8,-2423.043,5009.497,29.88427,0,0,0,0,100,0), +(@PATH,9,-2425.305,5012.542,29.87346,0,0,0,0,100,0), +(@PATH,10,-2452.268,5014.185,28.21556,0,0,0,0,100,0), +(@PATH,11,-2455.99,5026.977,25.38416,0,0,0,0,100,0), +(@PATH,12,-2461.66,5046.541,20.78516,0,0,0,0,100,0), +(@PATH,13,-2468.601,5062.008,17.91999,0,0,0,0,100,0), +(@PATH,14,-2471.484,5074.755,15.08363,0,0,0,0,100,0), +(@PATH,15,-2462.648,5034.314,23.94722,0,0,0,0,100,0), +(@PATH,16,-2458.38,5013.544,27.85468,0,0,0,0,100,0), +(@PATH,17,-2460.833,5004.856,28.65945,0,0,0,0,100,0), +(@PATH,18,-2468.316,4978.999,31.72539,0,0,0,0,100,0), +(@PATH,19,-2469.694,4960.631,33.31852,0,0,0,0,100,0), +(@PATH,20,-2466.243,4944.808,34.89827,0,0,0,0,100,0), +(@PATH,21,-2466.676,4930.218,36.72472,0,0,0,0,100,0), +(@PATH,22,-2473.81,4922.928,38.69386,0,0,0,0,100,0), +(@PATH,23,-2476.339,4921.196,39.03951,0,0,0,0,100,0), +(@PATH,24,-2486.696,4911.087,38.99028,0,0,0,0,100,0), +(@PATH,25,-2488.085,4899.312,39.16518,0,0,0,0,100,0), +(@PATH,26,-2466.59,4887.837,36.24532,0,0,0,0,100,0), +(@PATH,27,-2459.039,4893.131,34.30416,0,0,0,0,100,0), +(@PATH,28,-2456.6,4895.325,33.89172,0,0,0,0,100,0), +(@PATH,29,-2455.763,4912.572,33.6131,0,0,0,0,100,0), +(@PATH,30,-2459.973,4922.549,33.84817,0,0,0,0,100,0), +(@PATH,31,-2454.409,4941.216,34.89568,0,0,0,0,100,0), +(@PATH,32,-2453.032,4942.258,34.88249,0,0,0,0,100,0), +(@PATH,33,-2441.288,4944.204,34.91498,0,0,0,0,100,0), +(@PATH,34,-2424.706,4957.187,34.11639,0,0,0,0,100,0), +(@PATH,35,-2420.334,4960.088,33.7532,0,0,0,0,100,0), +(@PATH,36,-2399.827,4949.04,33.55933,0,0,0,0,100,0); +-- 0x1C393042401247800000D80000395139 .go -2399.251 4948.647 33.51818 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=66959; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(66959, 66959, 0, 0, 2), +(66959, 57324, 3, 270, 2); + +-- Pathing for Shadowy Hunter Entry: 18718 'TDB FORMAT' +SET @NPC := 66959; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2458.59,`position_y`=4883.933,`position_z`=34.63649 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2458.59,4883.933,34.63649,0,0,0,0,100,0), +(@PATH,2,-2454.139,4881.942,34.18031,0,0,0,0,100,0), +(@PATH,3,-2441.338,4867.939,34.96668,0,0,0,0,100,0), +(@PATH,4,-2447.259,4881.18,33.54724,0,0,0,0,100,0), +(@PATH,5,-2454.204,4888.805,33.82166,0,0,0,0,100,0), +(@PATH,6,-2455.784,4897.667,33.77719,0,0,0,0,100,0), +(@PATH,7,-2455.145,4910.682,33.57897,0,0,0,0,100,0), +(@PATH,8,-2459.188,4921.684,33.73078,0,0,0,0,100,0), +(@PATH,9,-2455.591,4939.817,34.61909,0,0,0,0,100,0), +(@PATH,10,-2453.116,4941.684,35.0243,0,0,0,0,100,0), +(@PATH,11,-2443.437,4943.616,34.76263,0,0,0,0,100,0), +(@PATH,12,-2431.095,4940.732,36.18304,0,0,0,0,100,0), +(@PATH,13,-2422.104,4931.316,35.36322,0,0,0,0,100,0), +(@PATH,14,-2418.187,4924.916,36.3769,0,0,0,0,100,0), +(@PATH,15,-2425.994,4937.722,36.55001,0,0,0,0,100,0), +(@PATH,16,-2430.061,4945.802,35.26893,0,0,0,0,100,0), +(@PATH,17,-2429.3,4947.917,34.86908,0,0,0,0,100,0), +(@PATH,18,-2424.078,4963.271,33.09982,0,0,0,0,100,0), +(@PATH,19,-2421.393,4974.704,31.43381,0,0,0,0,100,0), +(@PATH,20,-2421.332,4975.644,31.21901,0,0,0,0,100,0), +(@PATH,21,-2418.137,5000.565,30.00104,0,0,0,0,100,0), +(@PATH,22,-2417.527,5002.019,29.37036,0,0,0,0,100,0), +(@PATH,23,-2416.402,5010.205,29.2325,0,0,0,0,100,0), +(@PATH,24,-2417.669,5014.722,28.97691,0,0,0,0,100,0), +(@PATH,25,-2428.226,5012.224,29.9898,0,0,0,0,100,0), +(@PATH,26,-2444.966,5008.044,29.51899,0,0,0,0,100,0), +(@PATH,27,-2453.993,5013.485,28.19345,0,0,0,0,100,0), +(@PATH,28,-2456.664,5023.554,26.07574,0,0,0,0,100,0), +(@PATH,29,-2459.761,5038.568,22.79576,0,0,0,0,100,0), +(@PATH,30,-2465.731,5053.402,19.17121,0,0,0,0,100,0), +(@PATH,31,-2467.348,5032.213,24.09672,0,0,0,0,100,0), +(@PATH,32,-2467.405,5023.126,25.73068,0,0,0,0,100,0), +(@PATH,33,-2467.814,5012.714,28.07976,0,0,0,0,100,0), +(@PATH,34,-2470.525,4997.041,29.28029,0,0,0,0,100,0), +(@PATH,35,-2471.126,4980.461,31.38793,0,0,0,0,100,0), +(@PATH,36,-2477.811,4974.808,32.3695,0,0,0,0,100,0), +(@PATH,37,-2497.777,4966.848,35.28411,0,0,0,0,100,0), +(@PATH,38,-2506.064,4953.317,38.70324,0,0,0,0,100,0), +(@PATH,39,-2510.001,4942.142,39.95487,0,0,0,0,100,0), +(@PATH,40,-2510.834,4938.938,40.30884,0,0,0,0,100,0), +(@PATH,41,-2510.035,4921.547,39.56293,0,0,0,0,100,0), +(@PATH,42,-2510.577,4918.453,39.31087,0,0,0,0,100,0), +(@PATH,43,-2507.691,4905.567,39.31522,0,0,0,0,100,0), +(@PATH,44,-2500.221,4899.546,39.09933,0,0,0,0,100,0), +(@PATH,45,-2490.795,4896.659,39.47167,0,0,0,0,100,0); +-- 0x1C393042401247800000D800003955BB .go -2458.59 4883.933 34.63649 + +-- Remove 1 too many 'Shadowy Executioner' +DELETE FROM `creature` WHERE `guid`=57323; +-- +DELETE FROM `disables` WHERE `sourceType` =0 AND `entry` IN (71599, 71024) AND `flags`=64; +INSERT INTO `disables` (`sourceType`, `entry`, `flags`, `params_0`, `params_1`, `comment`) VALUES +(0, 71599, 64, '', '', 'Ignore LOS for Cosmetic - Explosion (Chemical Wagon)'), +(0, 71024, 64, '', '', 'Ignore LOS for Throw Bomb'); +-- +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=26191; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(26191, 46978, 2, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=26191 AND `SourceEntry`=46978; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(18, 26191, 46978, 0, 0, 9, 0, 11956, 0, 0, 0, 0, 0, '', 'Required quest ''Finding the Phylactery'' active for spellclick'); + +UPDATE `creature_template` SET `minlevel`=80, `maxlevel`=80, `rank`=3, `speed_walk`=2.5, `speed_run`=2.5 WHERE `entry`=28182; + +-- Dusk SAI +SET @ENTRY := 28182; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,53,1,28182,0,0,0,0,1,0,0,0,0,0,0,0,"Dusk - On Just Summoned - Start Waypoint"), +(@ENTRY,0,1,0,40,0,100,0,21,28182,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dusk - On Waypoint 21 Reached - Despawn Instant"), +(@ENTRY,0,2,0,54,0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dusk - On Just Summoned - Set Reactstate Passive"), +(@ENTRY,0,3,0,28,0,100,0,0,0,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dusk - On Passenger Removed - Despawn Instant"); + +DELETE FROM `waypoints` WHERE `entry`=28182; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(28182, 1,3137.103,3835.605,23.80482, 'Dusk'), +(28182, 2,3151.105,3841.837,26.15598, 'Dusk'), +(28182, 3,3190.882,3844.668,28.8679, 'Dusk'), +(28182, 4,3232.1,3838.992,27.33721, 'Dusk'), +(28182, 5,3282.762,3832.855,27.20968, 'Dusk'), +(28182, 6,3307.908,3829.667,28.43119, 'Dusk'), +(28182, 7,3340.627,3826.012,25.35527, 'Dusk'), +(28182, 8,3352.079,3823.348,27.22523, 'Dusk'), +(28182, 9,3399.218,3818.613,27.66385, 'Dusk'), +(28182, 10,3439.386,3828.509,27.79152, 'Dusk'), +(28182, 11,3456.517,3835.027,29.58427, 'Dusk'), +(28182, 12,3482.749,3841.445,32.40864, 'Dusk'), +(28182, 13,3531.002,3843.39,33.53048, 'Dusk'), +(28182, 14,3549.508,3830.051,39.22393, 'Dusk'), +(28182, 15,3561.163,3818.268,40.28746, 'Dusk'), +(28182, 16,3573.922,3785.856,36.752, 'Dusk'), +(28182, 17,3574.622,3781.316,36.74898, 'Dusk'), +(28182, 18,3583.712,3758.963,36.55262, 'Dusk'), +(28182, 19,3603.148,3712.664,36.74012, 'Dusk'), +(28182, 20,3605.655,3702.697,36.80239, 'Dusk'), +(28182, 21,3618.601,3670.745,35.97186, 'Dusk'); +-- +UPDATE `smart_scripts` SET `target_type`=2 WHERE `entryorguid`=28557 AND `source_type`=0 AND `id`=0; +-- Fix 'Teleport to Lake Wintergrasp' +DELETE FROM `spell_scripts` WHERE `id`=58622; +INSERT INTO `spell_scripts` (`id`, `effIndex`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) VALUES +(58622, 0, 1, 6, 571, 0, 0, 5386.05, 2840.97, 418.675, 3.14159); +-- Magnataur Huntress SAI +SET @ENTRY := 24469; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=2; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,2,0,8,0,100,0,46012,0,0,0,36,25788,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magnataur Huntress - On Spellhit 'Bloodspore Poison' - Update Template To 'Weakened Magnataur Huntress'"); +-- Festering Corpse SAI +SET @ENTRY := 31130; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,8,0,100,1,58641,0,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Festering Corpse - On Spellhit 'Olakin's Torch' - Run Script (No Repeat)"); + +-- Actionlist SAI +SET @ENTRY := 3113000; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,11,59216,0,0,0,0,0,1,0,0,0,0,0,0,0,"Festering Corpse - On Script - Cast 'Burning Corpse'"), +(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,33,31130,0,0,0,0,0,7,0,0,0,0,0,0,0,"Festering Corpse - On Script - Quest Credit 'By Fire Be Purged'"), +(@ENTRY,9,2,0,0,0,100,0,6000,9000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Festering Corpse - On Script - Despawn Instant"); +-- +DELETE FROM `event_scripts` WHERE `id` = 14394; +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES +(14394,0,8,22395,0,0,0,0,0,0); +-- +UPDATE `creature_template` SET `npcflag`=16777217, `InhabitType`=4 WHERE `entry`=27923; + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=27923; +INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES +(27923,46598,1,1); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9045 AND `SourceEntry`=0 AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=8 AND `ConditionTarget`=0 AND `ConditionValue1`=11509 AND `ConditionValue2`=0 AND `ConditionValue3`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9045 AND `SourceEntry`=0 AND `SourceId`=0 AND `ElseGroup`=1 AND `ConditionTypeOrReference`=28 AND `ConditionTarget`=0 AND `ConditionValue1`=11509 AND `ConditionValue2`=0 AND `ConditionValue3`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (15, 9045, 0, 0, 0, 8, 0, 11509, 0, 0, 0, 0, 0, '', 'Lou the Cabin Boy - Show gossip option only if player has taken quest 11509'); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (15, 9045, 0, 0, 1, 28, 0, 11509, 0, 0, 0, 0, 0, '', 'Lou the Cabin Boy - Show gossip option only if player has taken quest 11509'); + +-- Lou the Cabin Boy SAI +SET @ENTRY := 27923; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,53,1,27923,0,0,0,0,1,0,0,0,0,0,0,0,"Lou the Cabin Boy - On Just Summoned - Start Waypoint"), +(@ENTRY,0,1,0,28,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lou the Cabin Boy - On Passenger Removed - Despawn Instant"), +(@ENTRY,0,2,0,54,0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lou the Cabin Boy - On Just Summoned - Set Reactstate Passive"), +(@ENTRY,0,3,0,40,0,100,0,13,27923,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lou the Cabin Boy - On Waypoint 13 Reached - Despawn Instant"); + +DELETE FROM `waypoints` WHERE `entry`=27923; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(27923, 1, 556.8802, -2811.598, -0.076807, 'Lou'), +(27923, 2, 482.0306, -2834.213, -0.049029, 'Lou'), +(27923, 3, 454.4951, -2891.859, -0.049029, 'Lou'), +(27923, 4, 335.4129, -2946.441, -0.049029, 'Lou'), +(27923, 5, 262.8804, -3016.949, -0.021251, 'Lou'), +(27923, 6, 147.2193, -3176.037, -0.049029, 'Lou'), +(27923, 7, 86.28928, -3239.844, -0.021251, 'Lou'), +(27923, 8, -22.49794, -3241.448, -0.076807, 'Lou'), +(27923, 9, -151.2886, -3296.966, 0.006526, 'Lou'), +(27923, 10, -195.9667, -3366.19, -0.132362, 'Lou'), +(27923, 11, -255.5049, -3519.14, -0.021251, 'Lou'), +(27923, 12, -217.6928, -3555.593, -0.076807, 'Lou'), +(27923, 13, -201.783, -3548.484, -0.021251, 'Lou'); +-- Dawnblade Marksman SAI +SET @ENTRY := 24979; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,10,0,100,0,0,70,7000,13000,11,45101,0,0,0,0,0,7,0,0,0,0,0,0,0,"Dawnblade Marksman - Within 0-70 Range Out of Combat LoS - Cast 'Flaming Arrow'"), +(@ENTRY,0,1,0,1,0,100,0,3000,3000,5000,5000,11,45101,0,0,0,0,0,19,5202,26,0,0,0,0,0,"Dawnblade Marksman - Out of Combat - Cast 'Flaming Arrow'"); + +-- Pathing for Entry: 25001 'TDB FORMAT' +SET @NPC := 93967; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=12616.02,`position_y`=-6826.477,`position_z`=13.30631 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,12616.02,-6826.477,13.30631,0,0,0,0,100,0), +(@PATH,2,12615.95,-6826.547,13.58466,0,0,0,0,100,0), +(@PATH,3,12607.38,-6830.652,13.76608,0,0,0,0,100,0), +(@PATH,4,12591.51,-6834.896,13.87594,0,0,0,0,100,0), +(@PATH,5,12566.56,-6827.448,16.54662,0,0,0,0,100,0), +(@PATH,6,12579.94,-6832.642,14.98803,0,0,0,0,100,0), +(@PATH,7,12584.21,-6834.116,14.20888,0,0,0,0,100,0), +(@PATH,8,12591.75,-6834.886,13.74139,0,0,0,0,100,0), +(@PATH,9,12607.81,-6830.203,13.69277,0,0,0,0,100,0), +(@PATH,10,12616.39,-6826.547,13.49831,0,0,0,0,100,0), +(@PATH,11,12616.02,-6826.477,13.30631,0,0,0,0,100,0), +(@PATH,12,12615.95,-6826.547,13.5846,0,0,0,0,100,0), +(@PATH,13,12607.6,-6830.664,13.76679,0,0,0,0,100,0), +(@PATH,14,12591.65,-6834.927,13.87652,0,0,0,0,100,0), +(@PATH,15,12566.47,-6827.438,16.55291,0,0,0,0,100,0), +(@PATH,16,12579.94,-6832.642,14.98803,0,0,0,0,100,0), +(@PATH,17,12584.21,-6834.114,14.20937,0,0,0,0,100,0), +(@PATH,18,12591.73,-6834.884,13.74244,0,0,0,0,100,0), +(@PATH,19,12607.78,-6830.21,13.69292,0,0,0,0,100,0), +(@PATH,20,12616.38,-6826.549,13.49841,0,0,0,0,100,0), +(@PATH,21,12616.02,-6826.477,13.30631,0,0,0,0,100,0), +(@PATH,22,12615.95,-6826.547,13.58466,0,0,0,0,100,0), +(@PATH,23,12607.59,-6830.418,13.76704,0,0,0,0,100,0); +-- 0x1C09084240186A4000002E000055E86A .go 12616.02 -6826.477 13.30631 + +-- Pathing for Entry: 25001 'TDB FORMAT' +SET @NPC := 93966; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=12488.71,`position_y`=-6887.34,`position_z`=16.40788 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,12488.71,-6887.34,16.40788,0,0,0,0,100,0), +(@PATH,2,12495.96,-6887.744,16.62086,0,0,0,0,100,0), +(@PATH,3,12491.32,-6874.924,17.07642,0,0,0,0,100,0); +-- 0x1C09084240186A4000002E0000558FDB .go 12488.71 -6887.34 16.40788 +-- +SET @Ameer :=20482; -- Image of Commander Ameer +SET @SpellSummon:=35679; -- Summons Protectorate. +SET @Protectorate:=20802; -- Protectorate Demolitionist +SET @Cleave :=30619; -- Protectorate Demolitionist's Cleave +SET @Hamstring :=31553; -- Protectorate Demolitionist's Hamstring +SET @Strike :=16856; -- Protectorate Demolitionist's Mortal Striket +SET @Stalker :=20474; -- Ethereum Nexus-Stalker +SET @Sshadowtouched:=36515; -- Ethereum Nexus-Stalker's Shadowtouched +SET @Sshadowsurge:=36517; -- Ethereum Nexus-Stalker's Shadowsurge + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@Ameer,@Protectorate,@Stalker); +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`= @Ameer AND id IN (5,6); +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@Protectorate,@Stalker); +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid` IN (@Protectorate*100); +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@Ameer,0,5,0,19,0,100,0,10406,0,0,0,85,@SpellSummon,2,0,0,0,0,7,0,0,0,0,0,0,0,'Image of Commander Ameer - On Quest 10406 accepted - Cast Summon Protectorate Demolitionist'), +(@Ameer,0,6,0,20,0,100,0,10406,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Image of Commander Ameer - On Quest 10406 accepted - Cast Summon Protectorate Demolitionist'), +(@Protectorate,0,0,0,54,0,100,0,0,0,0,0,1,0,4000,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Just Summoned - Say 0'), +(@Protectorate,0,1,0,52,0,100,0,0,@Protectorate,0,0,53,0,@Protectorate,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Text Over - Start Wp'), +(@Protectorate,0,2,3,40,0,100,0,3,@Protectorate,0,0,54,4000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Reached WP 3 - Pause Wp'), +(@Protectorate,0,3,0,61,0,100,0,0,0,0,0,1,1,5000,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Link Event - Say 1'), +(@Protectorate,0,4,5,40,0,100,0,5,@Protectorate,0,0,54,4000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Reached WP 5 - Pause Wp'), +(@Protectorate,0,5,0,61,0,100,0,0,0,0,0,1,2,4000,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Link Event - Say 2'), +(@Protectorate,0,6,7,40,0,100,0,7,@Protectorate,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Reached WP 7 - Pause Wp'), +(@Protectorate*100,9,0,0,0,0,100,0,0,0,0,0,1,3,14000,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Script - Say 3'), +(@Protectorate*100,9,1,0,0,0,100,0,500,500,0,0,5,28,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Script - Emote Work'), +(@Protectorate*100,9,2,0,0,0,100,0,3500,3500,0,0,12,@Stalker,2,30000,1,0,0,8,0,0,0,3866.837402,2321.753418,113.736206,0.120686,'Protectorate Demolitionist - Script - Summon Nexus-Stalker'), +(@Protectorate*100,9,3,0,0,0,100,0,0,0,0,0,12,@Stalker,2,30000,1,0,0,8,0,0,0,3879.268799,2321.939209,115.065338,3.137270,'Protectorate Demolitionist - Script - Summon Nexus-Stalker'), +(@Protectorate*100,9,4,0,0,0,100,0,6000,6000,0,0,1,4,4000,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Script - Say 4'), +(@Protectorate*100,9,5,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Script - Run'), +(@Protectorate*100,9,6,0,0,0,100,0,0,0,0,0,65,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Script - Resume WP'), +(@Protectorate*100,9,7,0,0,0,100,0,0,0,0,0,5,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Script - Emote Work'), +(@Protectorate,0,7,0,61,0,100,0,0,0,0,0,80,@Protectorate*100,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Link - Start Script'), +(@Protectorate,0,8,9,40,0,100,0,8,@Protectorate,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Reached WP 8 - Pause Wp'), +(@Protectorate,0,9,10,61,0,100,0,0,0,0,0,1,5,6000,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Link - Say 5'), +(@Protectorate,0,10,0,61,0,100,0,0,0,0,0,15,10406,0,0,0,0,0,21,15,0,0,0,0,0,0,'Protectorate Demolitionist - Link - Complete Quest'), +(@Protectorate,0,11,12,52,0,100,0,5,@Protectorate,0,0,11,35517,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Text Over - cast teleportaion visual'), +(@Protectorate,0,12,0,61,0,100,0,0,0,0,0,41,2000,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - Text Over - despawn'), +(@Protectorate,0,13,0,4,0,100,0,0,0,0,0,1,6,0,0,0,0,0,1,0,0,0,0,0,0,0,'Protectorate Demolitionist - On aggro - talk'), +(@Stalker,0,0,0,54,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereum Nexus-Stalker - On respawn - Say 0'), +(@Stalker,0,1,0,0,0,100,0,200,200,5000,5000,11,@Sshadowtouched,0,0,0,0,0,1,0,0,0,0,0,0,0,'Ethereum Nexus-Stalker - IC - Cast Shadowtouched'), +(@Stalker,0,2,0,0,0,100,0,500,2000,10000,12000,11,@Sshadowsurge,0,0,0,0,0,2,0,0,0,0,0,0,0,'Ethereum Nexus-Stalker -IC - Cast Shadowsurge'); + +DELETE FROM `creature_text` WHERE `entry` IN (@Protectorate,@Stalker, @Ameer); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`,`BroadcastTextID`) VALUES +(@Protectorate,0,0,'Let''s do this... Just keep me covered and I''ll deliver the package.',12,0,100,0,0,0,'Protectorate Demolitionist - Comienza escort', 18432), +(@Protectorate,1,0,'By the second sun of K''aresh, look at this place! I can only imagine what Salhadaar is planning. Come on, let''s keep going.',12,0,100,0,0,0,'Protectorate Demolitionist - Waypoint 1', 18433), +(@Protectorate,2,0,'Look there, fleshling! Salhadaar''s conduits! He''s keeping well fed...',12,0,100,0,0,0,'Protectorate Demolitionist - Waypoint 4', 18435), +(@Protectorate,3,0,'Alright, keep me protected while I plant this disruptor. This shouldn''t take very long..',12,0,100,0,0,0,'Protectorate Demolitionist - Waypoint 6', 18436), +(@Protectorate,4,0,'Done! Back up! Back up!',12,0,100,0,0,0,'Protectorate Demolitionist - Disruptor', 18437), +(@Protectorate,5,0,'Looks like my work here is done. Report to the holo-image of Ameer over at the transporter.',12,0,100,0,0,0,'Protectorate Demolitionist - Waypoint 7', 18442), +(@Protectorate,6,0,'I''m under attack! I repeat, I am under attack!',12,0,100,0,0,0,'Protectorate Demolitionist - Being attacked', 18439), +(@Protectorate,6,1,'Keep these things off me!',12,0,100,0,0,0,'Protectorate Demolitionist - Being attacked', 18438), +(@Stalker,0,0,'Protect the conduit! Stop the intruders!',12,0,100,0,0,0,'Ethereum Nexus-Stalker - Protect Conduct',18441), +(@Ameer,0,0,'Hostiles detected. Ending transmission.',12,0,100,15,0,0,'Image of Commander Ameer - On aggro', 18190), +(@Ameer,1,0,'Protectorate transmission complete.',12,0,100,0,0,0,'Ameer - Quest rewarded',18191); + +DELETE FROM `waypoints` WHERE `entry`=@Protectorate; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(@Protectorate,1,4006.368652,2323.582520,111.407501,'Protectorate Demolitionist'), +(@Protectorate,2,3946.502441,2329.601074,113.647179,'Protectorate Demolitionist'), +(@Protectorate,3,3934.442383,2333.215088,110.971733,'Protectorate Demolitionist'), +(@Protectorate,4,3912.811035,2339.968018,113.876434,'Protectorate Demolitionist'), +(@Protectorate,5,3887.416748,2408.539063,113.081406,'Protectorate Demolitionist'), +(@Protectorate,6,3863.596191,2348.160645,115.446754,'Protectorate Demolitionist'), +(@Protectorate,7,3872.944580,2321.384766,114.501541,'Protectorate Demolitionist'), +(@Protectorate,8,3859.826416,2360.402588,114.603340,'Protectorate Demolitionist'); +-- +UPDATE creature_template SET npcflag=0 WHERE entry=6776; +SET @NPC_BLACK_KNIGHT := 33785; +SET @NPC_CAVIN := 33522; +SET @SPELL_CHARGE := 63003; +SET @SPELL_SHIELD_BREAKER := 65147; +SET @SPELL_DARK_SHIELD := 64505; +SET @SPELL_BLACK_NIGHT_TRANSFORM := 64490; -- Apply Aura: Change Model (34104) +SET @SPELL_BLACK_NIGHT_TRANSFORM_2 := 64498; -- Apply Aura: Increase Max Health +SET @SPELL_FULL_HEAL := 25840; +SET @GOSSIP := 10383; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@NPC_BLACK_KNIGHT, @NPC_CAVIN); +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@NPC_BLACK_KNIGHT; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@NPC_BLACK_KNIGHT*100; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@NPC_BLACK_KNIGHT*100+1; +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@NPC_CAVIN; +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@NPC_CAVIN*100; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@NPC_CAVIN,0,0,1,62,0,100,0,@GOSSIP,0,0,0,80,@NPC_CAVIN*100,0,2,0,0,0,1,0,0,0,0,0,0,0,'Cavin - On gossip option select - Run script'), +(@NPC_CAVIN,0,1,2,61,0,100,0,0,0,0,0,12,@NPC_BLACK_KNIGHT,1,120000,0,0,0,8,0,0,0,8482.370117, 964.506653, 547.292908, 3.253865,'Cavin - On gossip option select - Summon the Black Knight'), +(@NPC_CAVIN,0,2,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Cavin - On gossip option select - Close gossip'), +(@NPC_CAVIN*100,9,0,0,0,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cavin - On Script - Turn off Gossip & Gossip flags'), +(@NPC_CAVIN*100,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,'Cavin - On Script - Say text 0'), +(@NPC_CAVIN*100,9,2,0,0,0,100,0,5000,5000,0,0,1,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'Cavin - On Script - Say text 1'), +(@NPC_BLACK_KNIGHT,0,0,0,54,0,100,1,0,0,0,0,80,@NPC_BLACK_KNIGHT*100+1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - Just Summoned - Mount to entry'), +(@NPC_BLACK_KNIGHT*100+1,9,0,0,0,0,100,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,8426.153320, 962.307861, 544.675293, 6.273711,'Blackknight - On Script - MOVE TO POS'), +(@NPC_BLACK_KNIGHT*100+1,9,1,0,0,0,100,0,10000,10000,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - REMOVE IMMUNE TO PC'), +(@NPC_BLACK_KNIGHT*100+1,9,2,0,0,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - REMOVE IMMUNE TO PC'), +(@NPC_BLACK_KNIGHT*100+1,9,3,0,0,0,100,0,0,0,0,0,49,0,0,0,0,0,0,19,33782,25,0,0,0,0,0,'Blackknight - On Script - attack'), +(@NPC_BLACK_KNIGHT,0,1,0,4,0,100,0,0,0,0,0,11,@SPELL_CHARGE,0,0,0,0,0,2,0,0,0,0,0,0,0,'Blackknight - On Aggro - Cast Charge'), +(@NPC_BLACK_KNIGHT,0,2,0,4,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Aggro - Set Phase 1'), +(@NPC_BLACK_KNIGHT,0,3,0,0,1,100,0,10000,10000,15000,15000,25,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - In Phase 1 - Flee for assist'), +(@NPC_BLACK_KNIGHT,0,4,0,9,1,100,0,5,30,1000,1000,11,@SPELL_CHARGE,0,0,0,0,0,2,0,0,0,0,0,0,0,'Blackknight - In Phase 1& On Range - Cast Charge'), +(@NPC_BLACK_KNIGHT,0,5,0,9,1,100,0,3,30,1500,2000,11,@SPELL_SHIELD_BREAKER,0,0,0,0,0,2,0,0,0,0,0,0,0,'Blackknight - In Phase 1 & On Range - Cast Shield Breaker'), +(@NPC_BLACK_KNIGHT,0,6,0,6,0,100,0,0,0,0,0,81,1,0,0,0,0,0,10,85140,@NPC_CAVIN,0,0,0,0,0,'Blackknight - On Death - Turn on Gossip & Gossip flags on Cavin'), +(@NPC_BLACK_KNIGHT,0,7,8,1,0,100,0,20000,20000,20000,20000,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - Out Of Combat after 20s - Despawn'), +(@NPC_BLACK_KNIGHT,0,8,0,61,0,100,0,0,0,0,0,81,1,0,0,0,0,0,10,85140,@NPC_CAVIN,0,0,0,0,0,'Blackknight - Out Of Combat after 20s - Turn on Gossip & Gossip flags on Cavin'), +(@NPC_BLACK_KNIGHT,0,9,0,2,1,100,1,0,25,0,0,80,@NPC_BLACK_KNIGHT*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On 25% health - Run script'), +(@NPC_BLACK_KNIGHT*100,9,0,0,0,0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - State passive'), +(@NPC_BLACK_KNIGHT*100,9,1,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - Say text 0'), +(@NPC_BLACK_KNIGHT*100,9,2,0,0,0,100,0,0,0,0,0,43,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - Unmount'), +(@NPC_BLACK_KNIGHT*100,9,3,0,0,0,100,0,0,0,0,0,51,0,0,0,0,0,0,19,33782,30,0,0,0,0,0,'Blackknight - On Script - Unmount player'), +(@NPC_BLACK_KNIGHT*100,9,4,0,0,0,100,0,0,0,0,0,11,@SPELL_DARK_SHIELD,2,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - Cast Dark Shield'), +(@NPC_BLACK_KNIGHT*100,9,5,0,0,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Aggro - Set Phase 0'), +(@NPC_BLACK_KNIGHT*100,9,6,0,0,0,100,0,6000,6000,0,0,11,@SPELL_BLACK_NIGHT_TRANSFORM,2,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - Apply Aura'), +(@NPC_BLACK_KNIGHT*100,9,7,0,0,0,100,0,0,0,0,0,11,@SPELL_FULL_HEAL,2,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - Full hp'), +(@NPC_BLACK_KNIGHT*100,9,8,0,0,0,100,0,1000,1000,0,0,11,@SPELL_BLACK_NIGHT_TRANSFORM_2,2,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - Increase Max Health'), +(@NPC_BLACK_KNIGHT*100,9,9,0,0,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - State Aggresive'), +(@NPC_BLACK_KNIGHT*100,9,10,0,0,0,100,0,1000,1000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blackknight - On Script - Say text 1'), +(@NPC_BLACK_KNIGHT*100,9,11,0,0,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,15,0,0,0,0,0,0,'Blackknight - On Script - Start Attack'); + +DELETE FROM `creature_text` WHERE `entry`IN (@NPC_BLACK_KNIGHT, @NPC_CAVIN); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`,`BroadcastTextID`) VALUES +(@NPC_BLACK_KNIGHT,0,0,'Get off that horse and fight me man-to-man!',14,0,100,0,0,0,'yell',34169), +(@NPC_BLACK_KNIGHT,1,0,'I will not fail you, master!',14,0,100,0,0,0,'yell',34185), +(@NPC_CAVIN,0,0,'$N challenges the Black Knight to trial by combat!',14,0,100,0,0,0,'yell',33803), +(@NPC_CAVIN,1,0,'Good luck, $N.',12,0,100,0,0,0,'say',33804); + +UPDATE `conditions` SET `ConditionValue2`=1 WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=10383 AND `SourceEntry`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=1 AND `ConditionValue1`=63663; +-- +SET @KC_FIRST_PROPHECY := 22798; +SET @KC_SECOND_PROPHECY := 22799; +SET @KC_THIRD_PROPHECY := 22800; +SET @KC_FOURTH_PROPHECY := 22801; +SET @QUEST_WHISPERS_RAVEN_GOD := 10607; +SET @NPC_VISION_RAVEN_GOD := 21861; +SET @SPELL_UNDERSTANDING_RAVENSPEECH := 37466; +SET @AURA_UNDERSTANDING_RAVENSPEECH := 37642; +SET @Falconwing := 19988; +SET @Harbinger := 19989; +SET @Scorncrow := 19990; + +UPDATE `creature_template` SET `exp`='1', `minlevel`='67', `maxlevel`='67', `unit_flags`='768', `type`='7' WHERE `entry`=@NPC_VISION_RAVEN_GOD; + +DELETE FROM `creature_text` WHERE `entry`=@NPC_VISION_RAVEN_GOD; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextId`) VALUES +(@NPC_VISION_RAVEN_GOD,0,0,'From the darkest night shall rise again the raven, shall take flight in the shadows, shall reveal the nature of its kind. Prepare yourself for its coming, for the faithful shall be elevated to take flight with the raven, the rest be forgotten to walk upon the ground, clipped wings and shame.',15,0,100,0,0,0,'The Voice of the Raven God - The First Prophecy', 19475), +(@NPC_VISION_RAVEN_GOD,1,0,'Steel your minds and guard your thoughts. The dark wings will cloud and consume the minds of the weak, a flock of thralls whose feet may never leave the ground.', 15,0,100,0,0,0,'The Voice of the Raven God - The Second Prophecy', 19476), +(@NPC_VISION_RAVEN_GOD,2,0,'The Old blood will flow once again with the coming of the raven, the return of the darkness in the skies. Scarlet night, and the rise of the old.', 15,0,100,0,0,0,'The Voice of the Raven God - The Third Prophecy', 19477), +(@NPC_VISION_RAVEN_GOD,3,0,'The raven was struck down once for flying too high, unready. The eons have prepared the Dark Watcher for its ascent, to draw the dark cloak across the horizon.', 15,0,100,0,0,0,'The Voice of the Raven God - The Fourth Prophecy', 19478); + +UPDATE creature_template SET AIName="SmartAI" WHERE entry IN (@Falconwing, @Harbinger, @Scorncrow,@NPC_VISION_RAVEN_GOD); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (184950,184967,184968,184969); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Falconwing, @Harbinger, @Scorncrow,@NPC_VISION_RAVEN_GOD) AND `source_type`=0; -- Npcs +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (184950,184967,184968,184969) AND `source_type`=1; -- Gameobjects (totems) +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +-- Npcs a matar para que te den el buff +(@Falconwing,0,0,0,0,0,100,0,2500,5500,10000,11000,11,37587,0,0,0,0,0,2,0,0,0,0.0,0.0,0.0,0.0,"Grishna Falconwing - In Combat - Cast Bestial Wrath"), +(@Falconwing,0,1,0,6,0,35,0,0,0,0,0,85,@SPELL_UNDERSTANDING_RAVENSPEECH,2,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Grishna Falconwing - On Death - Cast Understanding Ravenspeech"), +(@Harbinger,0,0,0,0,0,100,0,2500,5500,20000,21000,11,37589,0,0,0,0,0,2,0,0,0,0.0,0.0,0.0,0.0,"Grishna Harbinger - In Combat - Cast Shriveling Gaze"), +(@Harbinger,0,1,0,0,0,100,0,1000,6000,10000,15000,11,9532,0,0,0,0,0,2,0,0,0,0.0,0.0,0.0,0.0,"Grishna Harbinger - In Combat - Cast Lightning Bolt"), +(@Harbinger,0,2,0,6,0,35,0,0,0,0,0,85,@SPELL_UNDERSTANDING_RAVENSPEECH,2,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Grishna Harbringer - On Death - Cast Understanding Ravenspeech"), +(@Scorncrow,0,0,0,0,0,100,0,2500,5500,10000,11000,11,35321,0,0,0,0,0,2,0,0,0,0.0,0.0,0.0,0.0,"Grishna Scorncrow - In Combat - Cast Gushing Wound"), +(@Scorncrow,0,1,0,6,0,35,0,0,0,0,0,85,@SPELL_UNDERSTANDING_RAVENSPEECH,2,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Grishna Scorncrow - On Death - Cast Understanding Ravenspeech"), +-- Vision Of Raven God +(@NPC_VISION_RAVEN_GOD,0,0,1,38,0,100,0,1,1,0,0,33,@KC_FIRST_PROPHECY,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - On Data Set 4 - Call Killedmonster"), +(@NPC_VISION_RAVEN_GOD,0,1,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - Link - Say 0"), +(@NPC_VISION_RAVEN_GOD,0,2,3,38,0,100,0,1,2,0,0,33,@KC_SECOND_PROPHECY,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - On Data Set 4 - Call Killedmonster"), +(@NPC_VISION_RAVEN_GOD,0,3,0,61,0,100,0,0,0,0,0,1,1,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - Link - Say 1"), +(@NPC_VISION_RAVEN_GOD,0,4,5,38,0,100,0,1,3,0,0,33,@KC_THIRD_PROPHECY ,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - On Data Set 4 - Call Killedmonster"), +(@NPC_VISION_RAVEN_GOD,0,5,0,61,0,100,0,0,0,0,0,1,2,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - Link - Say 2"), +(@NPC_VISION_RAVEN_GOD,0,6,7,38,0,100,0,1,4,0,0,33,@KC_FOURTH_PROPHECY,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - On Data Set 4 - Call Killedmonster"), +(@NPC_VISION_RAVEN_GOD,0,7,0,61,0,100,0,0,0,0,0,1,3,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - Link - Say 3"), +-- GOB Totems +(184950,1,0,1,64,0,100,0,0,0,0,0,12,@NPC_VISION_RAVEN_GOD,3,6000,0,0,0,8,0,0,0,3779.987061,6729.603027,180.498413,5.71490,"First Prophecy - On Gossip Hello - Summon Whisper Raven God"), +(184950,1,1,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,11,@NPC_VISION_RAVEN_GOD,20,0,0,0,0,0,"First Prophecy - Link - Set Data 1 to Raven God"), +(184967,1,0,1,64,0,100,0,0,0,0,0,12,@NPC_VISION_RAVEN_GOD,3,6000,0,0,0,8,0,0,0,3629.285889,6542.140137,155.004669,2.56267,"Second Prophecy - On Gossip Hello - Summon Whisper Raven God"), +(184967,1,1,0,61,0,100,0,0,0,0,0,45,1,2,0,0,0,0,11,@NPC_VISION_RAVEN_GOD,20,0,0,0,0,0,"Second Prophecy - Link - Set Data 2 to Raven God"), +(184968,1,0,1,64,0,100,0,0,0,0,0,12,@NPC_VISION_RAVEN_GOD,3,6000,0,0,0,8,0,0,0,3736.950439,6640.749023,133.674530,3.33629,"Third Prophecy - On Gossip Hello - Summon Whisper Raven God"), +(184968,1,1,0,61,0,100,0,0,0,0,0,45,1,3,0,0,0,0,11,@NPC_VISION_RAVEN_GOD,20,0,0,0,0,0,"Third Prophecy - Link - Set Data 3 to Raven God"), +(184969,1,0,1,64,0,100,0,0,0,0,0,12,@NPC_VISION_RAVEN_GOD,3,6000,0,0,0,8,0,0,0,3572.574219,6669.196289,128.455444,5.62290,"Four Prophecy - On Gossip Hello - Summon Whisper Raven God"), +(184969,1,1,0,61,0,100,0,0,0,0,0,45,1,4,0,0,0,0,11,@NPC_VISION_RAVEN_GOD,20,0,0,0,0,0,"Fourth Prophecy - Link - Set Data 4 to Raven God"); + +DELETE FROM `conditions` WHERE `ConditionValue1`=@AURA_UNDERSTANDING_RAVENSPEECH AND `sourcetypeorreferenceid`=22; +DELETE FROM `conditions` WHERE `ConditionValue1`=@NPC_VISION_RAVEN_GOD AND `sourcetypeorreferenceid`=22; +DELETE FROM `conditions` WHERE `SourceEntry`=@NPC_VISION_RAVEN_GOD AND `sourcetypeorreferenceid`=22; +INSERT INTO `conditions` (SourceTypeOrReferenceId,SourceGroup,SourceEntry,SourceId,ElseGroup,ConditionTypeOrReference,ConditionTarget,ConditionValue1,ConditionValue2,ConditionValue3,NegativeCondition,ErrorType,ErrorTextId,ScriptName,`Comment`) VALUES +(22,1,184950,1,0,1 ,0,@AURA_UNDERSTANDING_RAVENSPEECH,0,0,0,0,0,'','GOb First Prophecy - SAI 1, only if player has aura Understanding Ravenspeech'), +(22,1,184950,1,0,29,0,@NPC_VISION_RAVEN_GOD,20,0,1,0,0,'','GOb First Prophecy - SAI 1, only if Raven God is not near'), +(22,1,184967,1,0,1 ,0,@AURA_UNDERSTANDING_RAVENSPEECH,0,0,0,0,0,'','GOb Second Prophecy - SAI 1, only if player has aura Understanding Ravenspeech'), +(22,1,184967,1,0,29,0,@NPC_VISION_RAVEN_GOD,20,0,1,0,0,'','GOb Second Prophecy - SAI 1, only if Raven God is not near'), +(22,1,184968,1,0,1 ,0,@AURA_UNDERSTANDING_RAVENSPEECH,0,0,0,0,0,'','GOb Third Prophecy - SAI 1, only if player has aura Understanding Ravenspeech'), +(22,1,184968,1,0,29,0,@NPC_VISION_RAVEN_GOD,20,0,1,0,0,'','GOb Third Prophecy - SAI 1, only if Raven God is not near'), +(22,1,184969,1,0,1 ,0,@AURA_UNDERSTANDING_RAVENSPEECH,0,0,0,0,0,'','GOb Fourth Prophecy - SAI 1, only if player has aura Understanding Ravenspeech'), +(22,1,184969,1,0,29,0,@NPC_VISION_RAVEN_GOD,20,0,1,0,0,'','GOb Fourth Prophecy - SAI 1, only if Raven God is not near'); +-- +DELETE FROM `areatrigger_scripts` WHERE `ScriptName` IN ('at_twiggy_flathead','at_madrigosa','at_eye_of_eternity_improvised_floor'); + +UPDATE `gameobject_template` SET `ScriptName`='' WHERE `ScriptName` IN ('go_defias_cannon','go_door_lever_dm','go_kael_orb','go_movie_orb'); + +UPDATE `creature_template` SET `ScriptName`='' WHERE `ScriptName` IN ('do_nothing','npc_aran_blizzard','npc_bladespire_ogre','npc_blaze','npc_crystalline_tangler','npc_demon_fire','npc_flame_crash','npc_generic_harpoon_cannon','npc_homunculus','npc_invis_legion_teleporter','npc_magnetic_core','npc_mindless_skeleton','npc_nether_vapor','npc_novos_minion','npc_sliver','npc_thuzadin_acolyte','npc_tracy_proudwell','npc_vereth_the_cunning','npc_void_zone','npc_yauj_brood'); + +DELETE FROM `spell_script_names` WHERE `scriptname` IN ('spell_ex_463', 'spell_ex_5581', 'spell_ex_66244', 'spell_ex_absorb_aura', 'spell_mimiron_flame_suppressant'); + +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=37120 AND `source_type`=0 AND `id`=3 AND `link`=7; + +-- Grand Necrolord Antiok SAI +SET @ENTRY := 28006; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,7000,7000,18000,18000,11,32863,0,0,0,0,0,2,0,0,0,0,0,0,0,"Grand Necrolord Antiok - In Combat - Cast 'Seed of Corruption'"), +(@ENTRY,0,1,0,0,0,100,0,1100,1100,20000,20000,11,50455,0,0,0,0,0,2,0,0,0,0,0,0,0,"Grand Necrolord Antiok - In Combat - Cast 'Shadow Bolt'"), +(@ENTRY,0,2,0,1,0,100,0,10000,10000,40000,40000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Grand Necrolord Antiok - Out of Combat - Say Line 1"), +(@ENTRY,0,3,0,2,0,100,1,0,25,0,0,11,50497,1,0,0,0,0,2,0,0,0,0,0,0,0,"Grand Necrolord Antiok - Between 0-25% Health - Cast 'Scream of Chaos' (No Repeat)"), +(@ENTRY,0,4,0,6,0,100,0,0,0,0,0,11,50472,0,0,0,0,0,1,0,0,0,0,0,0,0,"Grand Necrolord Antiok - On Just Died - Cast 'Drop Scythe of Antiok'"), +(@ENTRY,0,5,6,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Grand Necrolord Antiok - On Aggro - Say Line 0"), +(@ENTRY,0,6,0,61,0,100,0,0,0,0,0,11,55984,1,0,0,0,0,2,0,0,0,0,0,0,0,"Grand Necrolord Antiok - On Aggro - Cast 'Shadow Bolt'"), +(@ENTRY,0,7,8,4,0,100,0,0,0,0,0,51,0,0,0,0,0,0,19,27996,20,0,0,0,0,0,"Grand Necrolord Antiok - On Aggro - Kill Target"), +(@ENTRY,0,8,0,61,0,100,0,0,0,0,0,28,50494,0,0,0,0,0,1,0,0,0,0,0,0,0,"Grand Necrolord Antiok - On Aggro - Remove Aura 'Shroud of Lightning'"); + +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=27987 AND `source_type`=0 AND `id`=0 AND `link`=1; +UPDATE `smart_scripts` SET `link`=11 WHERE `entryorguid`=27788 AND `source_type`=0 AND `id`=2 AND `link`=12; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=26701 AND `source_type`=0 AND `id`=0 AND `link`=1; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=24035 AND `source_type`=0 AND `id`=0 AND `link`=1; + +-- Ara Technician SAI +SET @ENTRY := 20438; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,38,0,100,0,4,4,0,0,8,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ara Technician - On Data Set 4 4 - Set Reactstate Defensive"), +(@ENTRY,0,1,0,61,0,100,0,4,4,0,0,87,2043900,2043901,0,0,0,0,1,0,0,0,0,0,0,0,"Ara Technician - On Data Set 4 4 - Run Random Script"), +(@ENTRY,0,2,0,1,1,100,1,12000,12000,0,0,45,1,1,0,0,0,0,20,184312,0,0,0,0,0,0,"Ara Technician - Out of Combat - Set Data 1 1 (Phase 1) (No Repeat)"), +(@ENTRY,0,3,4,40,0,100,0,1,0,0,0,11,35176,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ara Technician - On Waypoint 1 Reached - Cast 'Interrupt Shutdown'"), +(@ENTRY,0,4,0,61,0,100,0,1,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ara Technician - On Waypoint 1 Reached - Set Event Phase 1"), +(@ENTRY,0,5,6,4,0,100,0,1,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ara Technician - On Aggro - Set Event Phase 0"), +(@ENTRY,0,6,7,61,0,100,0,1,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ara Technician - On Aggro - Set Reactstate Aggressive"), +(@ENTRY,0,7,8,61,0,100,0,1,0,0,0,20,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ara Technician - On Aggro - Start Attacking"), +(@ENTRY,0,8,0,61,0,100,0,1,0,0,0,21,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ara Technician - On Aggro - Enable Combat Movement"), +(@ENTRY,0,9,0,7,0,100,0,0,0,0,0,45,1,1,0,0,0,0,20,184312,0,0,0,0,0,0,"Ara Technician - On Evade - Set Data 1 1"); + +-- Audrid SAI +SET @ENTRY := 18903; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,0,0,0,0,0,53,0,18903,1,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Respawn - Start Waypoint"), +(@ENTRY,0,1,11,40,0,100,0,4,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 4 Reached - Pause Waypoint"), +(@ENTRY,0,2,12,40,0,100,0,9,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 9 Reached - Pause Waypoint"), +(@ENTRY,0,3,13,40,0,100,0,11,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 11 Reached - Pause Waypoint"), +(@ENTRY,0,4,14,40,0,100,0,12,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 12 Reached - Pause Waypoint"), +(@ENTRY,0,5,15,40,0,100,0,13,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 13 Reached - Pause Waypoint"), +(@ENTRY,0,6,16,40,0,100,0,14,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 14 Reached - Pause Waypoint"), +(@ENTRY,0,7,17,40,0,100,0,17,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 17 Reached - Pause Waypoint"), +(@ENTRY,0,8,18,40,0,100,0,22,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 22 Reached - Pause Waypoint"), +(@ENTRY,0,9,19,40,0,100,0,25,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 25 Reached - Pause Waypoint"), +(@ENTRY,0,10,20,40,0,100,0,28,18903,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 28 Reached - Pause Waypoint"), +(@ENTRY,0,11,21,61,0,100,0,4,18903,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 4 Reached - Run Script"), +(@ENTRY,0,12,22,61,0,100,0,9,18903,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 9 Reached - Run Script"), +(@ENTRY,0,13,22,61,0,100,0,11,18903,0,0,80,@ENTRY*100+02,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 11 Reached - Run Script"), +(@ENTRY,0,14,23,61,0,100,0,12,18903,0,0,80,@ENTRY*100+03,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 12 Reached - Run Script"), +(@ENTRY,0,15,21,61,0,100,0,13,18903,0,0,80,@ENTRY*100+04,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 13 Reached - Run Script"), +(@ENTRY,0,16,24,61,0,100,0,14,18903,0,0,80,@ENTRY*100+05,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 14 Reached - Run Script"), +(@ENTRY,0,17,22,61,0,100,0,17,18903,0,0,80,@ENTRY*100+06,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 17 Reached - Run Script"), +(@ENTRY,0,18,21,61,0,100,0,22,18903,0,0,80,@ENTRY*100+07,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 22 Reached - Run Script"), +(@ENTRY,0,19,21,61,0,100,0,25,18903,0,0,80,@ENTRY*100+08,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 25 Reached - Run Script"), +(@ENTRY,0,20,21,61,0,100,0,28,18903,0,0,80,@ENTRY*100+09,2,0,0,0,0,1,0,0,0,0,0,0,0,"Audrid - On Waypoint 28 Reached - Run Script"), +(@ENTRY,0,21,0,61,0,100,0,4,18903,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.5,"Audrid - On Waypoint 4 Reached - Set Orientation 1,5"), +(@ENTRY,0,22,0,61,0,100,0,9,18903,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3,"Audrid - On Waypoint 9 Reached - Set Orientation 3"), +(@ENTRY,0,23,0,61,0,100,0,12,18903,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.5,"Audrid - On Waypoint 12 Reached - Set Orientation 4,5"), +(@ENTRY,0,24,0,61,0,100,0,14,18903,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,6,"Audrid - On Waypoint 14 Reached - Set Orientation 6"); + +UPDATE `smart_scripts` SET `event_type`=61 WHERE `entryorguid`=26670 AND `source_type`=0 AND `id`=19 AND `link`=20; +UPDATE `smart_scripts` SET `link`=20 WHERE `entryorguid`=17892 AND `source_type`=0 AND `id`=19 AND `link`=0; +UPDATE `smart_scripts` SET `link`=7 WHERE `entryorguid`=17892 AND `source_type`=0 AND `id`=6 AND `link`=0; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=37952 AND `source_type`=0 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=26787 AND `source_type`=0 AND `id`=0 AND `link`=1; + +-- Mad Voidwalker SAI +SET @ENTRY := 15146; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,0,0,0,0,0,89,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mad Voidwalker - On Respawn - Start Random Movement"), +(@ENTRY,0,1,0,0,0,100,2,7000,9000,11000,13000,11,24614,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mad Voidwalker - In Combat - Cast 'Consuming Shadows' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,3000,4000,8000,8000,11,24616,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mad Voidwalker - In Combat - Cast 'Shadow Shock' (Normal Dungeon)"), +(@ENTRY,0,3,0,1,0,100,0,0,0,0,0,41,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mad Voidwalker - Out of Combat - Despawn In 180000 ms"); + +UPDATE `smart_scripts` SET `link`=9 WHERE `entryorguid`=12236 AND `source_type`=0 AND `id`=8 AND `link`=0; +UPDATE `smart_scripts` SET `link`=9 WHERE `entryorguid`=13196 AND `source_type`=0 AND `id`=8 AND `link`=0; + +-- Scarlet Curate SAI +SET @ENTRY := 9450; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,40,3400,4800,11,25054,64,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Curate - Within 0-40 Range - Cast 'Holy Smite'"), +(@ENTRY,0,1,0,15,0,100,1,0,0,30,0,11,17201,1,0,0,0,0,7,0,0,0,0,0,0,0,"Scarlet Curate - On Friendly Crowd Controlled - Cast 'Dispel Magic' (No Repeat)"), +(@ENTRY,0,2,0,74,0,100,0,0,40,25000,35000,11,17201,1,0,0,0,0,9,0,0,0,0,0,0,0,"Scarlet Curate - On Friendly Between 0-40% Health - Cast 'Dispel Magic'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Curate - Between 0-15% Health - Flee For Assist (No Repeat)"); + +UPDATE `smart_scripts` SET `link`=25 WHERE `entryorguid`=4880 AND `source_type`=0 AND `id`=24 AND `link`=26; +UPDATE `smart_scripts` SET `link`=22, `event_type`=61 WHERE `entryorguid`=4880 AND `source_type`=0 AND `id`=21 AND `link`=0; +UPDATE `smart_scripts` SET `link`=16 WHERE `entryorguid`=31279 AND `source_type`=0 AND `id`=15 AND `link`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=1535 AND `source_type`=0 AND `id`=0 AND `link`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=2719 AND `source_type`=0 AND `id`=0 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=4484 AND `source_type`=0 AND `id`=24 AND `link`=25; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=13601 AND `source_type`=0 AND `id`=2 AND `link`=0; + +-- Short John Mithril SAI +SET @ENTRY := 14508; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,68,0,100,0,16,0,0,0,53,0,14508,0,0,0,0,1,0,0,0,0,0,0,0,"Short John Mithril - On Game Event 16 Started - Start Waypoint"), +(@ENTRY,0,1,0,40,0,100,0,1,14508,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Short John Mithril - On Waypoint 1 Reached - Say Line 0"), +(@ENTRY,0,2,3,40,0,100,0,16,14508,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Short John Mithril - On Waypoint 16 Reached - Say Line 1"), +(@ENTRY,0,3,0,61,0,100,0,16,14508,0,0,11,23176,0,0,0,0,0,1,0,0,0,0,0,0,0,"Short John Mithril - On Waypoint 16 Reached - Cast 'Summon Pirate Booty (DND)'"), +(@ENTRY,0,4,0,40,0,100,0,33,14508,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.41568,"Short John Mithril - On Waypoint 33 Reached - Set Orientation 4,41568"); + +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=15324 AND `source_type`=0 AND `id`=3 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=15526 AND `source_type`=0 AND `id`=2 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=17397 AND `source_type`=0 AND `id`=0 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=18554 AND `source_type`=0 AND `id`=9 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=18554 AND `source_type`=0 AND `id`=13 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=18554 AND `source_type`=0 AND `id`=14 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=18938 AND `source_type`=0 AND `id`=2 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5 WHERE `entryorguid`=19354 AND `source_type`=0 AND `id`=4 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=23669 AND `source_type`=0 AND `id`=3 AND `link`=0; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=24198 AND `source_type`=0 AND `id`=3 AND `link`=4; +UPDATE `smart_scripts` SET `action_type`=11, `action_param1`=55036 WHERE `entryorguid`=29903 AND `source_type`=0 AND `id`=6 AND `link`=7; +UPDATE `smart_scripts` SET `action_type`=11, `action_param1`=58190 WHERE `entryorguid`=30894 AND `source_type`=0 AND `id`=2 AND `link`=3; +UPDATE `smart_scripts` SET `action_type`=5, `action_param1`=1 WHERE `entryorguid`=30945 AND `source_type`=0 AND `id`=9 AND `link`=0; + +UPDATE `creature_template_addon` SET`auras`="" WHERE`entry` IN (26608, 31306); -- vehicle auras appear only when the npc ride a vehicle or when he's mounted +UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry`=35427; +-- +UPDATE `smart_scripts` SET `target_o`=0 WHERE `entryorguid`=177490 AND `source_type`=1 AND `id`=0; +UPDATE `smart_scripts` SET `target_o`=0 WHERE `entryorguid`=177490 AND `source_type`=1 AND `id`=2; +UPDATE `smart_scripts` SET `target_o`=0 WHERE `entryorguid`=2749200 AND `source_type`=9 AND `id`=5; +-- +UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=23616; +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=24762; +DELETE FROM `creature_addon` WHERE `guid`=24762; +DELETE FROM `waypoint_data` WHERE `id`=247620; +DELETE FROM `waypoints` WHERE `entry`=23616; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(23616, 1, -2454.94, -482.136, -8.97948, 'Kyle'), +(23616, 2, -2445.34, -476.395, -8.92086, 'Kyle'), +(23616, 3, -2433.79, -468.785, -9.20522, 'Kyle'), +(23616, 4, -2422.01, -460.858, -9.1759, 'Kyle'), +(23616, 5, -2407.47, -451.07, -8.70993, 'Kyle'), +(23616, 6, -2395.98, -443.42, -8.42222, 'Kyle'), +(23616, 7, -2383.8, -436.212, -8.78844, 'Kyle'), +(23616, 8, -2367.83, -425.967, -9.38671, 'Kyle'), +(23616, 9, -2355.15, -413.835, -9.75652, 'Kyle'), +(23616, 10, -2345.39, -403.032, -8.87064, 'Kyle'), +(23616, 11, -2338.73, -387.213, -7.97681, 'Kyle'), +(23616, 12, -2330.27, -374.08, -8.37519, 'Kyle'), +(23616, 13, -2314.64, -365.663, -9.41672, 'Kyle'), +(23616, 14, -2295.45, -360.874, -9.42468, 'Kyle'), +(23616, 15, -2279.85, -357.148, -9.42468, 'Kyle'), +(23616, 16, -2263.83, -363.376, -9.42468, 'Kyle'), +(23616, 17, -2248.52, -370.238, -9.42468, 'Kyle'), +(23616, 18, -2226.43, -386.156, -9.42468, 'Kyle'), +(23616, 19, -2232.14, -416.578, -9.42205, 'Kyle'), +(23616, 20, -2247.29, -439.615, -9.42475, 'Kyle'), +(23616, 21, -2252.91, -448.416, -9.09973, 'Kyle'), +(23616, 22, -2257.71, -455.921, -8.15442, 'Kyle'), +(23616, 23, -2271.66, -475.713, -7.80418, 'Kyle'), +(23616, 24, -2293.85, -483.264, -7.86093, 'Kyle'), +(23616, 25, -2302.71, -490.694, -7.92982, 'Kyle'), +(23616, 26, -2306.74, -494.585, -8.44247, 'Kyle'), +(23616, 27, -2324.17, -516.494, -9.32393, 'Kyle'), +(23616, 28, -2340.11, -535.209, -9.2326, 'Kyle'), +(23616, 29, -2357.69, -538.25, -9.158, 'Kyle'), +(23616, 30, -2372.68, -528.41, -9.15687, 'Kyle'), +(23616, 31, -2391.28, -518.477, -8.4459, 'Kyle'), +(23616, 32, -2404.81, -514.866, -7.4283, 'Kyle'), +(23616, 33, -2418.06, -510.431, -6.09458, 'Kyle'), +(23616, 34, -2431.22, -505.672, -6.06301, 'Kyle'), +(23616, 35, -2443.9, -499.738, -7.60161, 'Kyle'), +(23616, 36, -2462.4, -488.247, -9.27003, 'Kyle'); + +SET @ENTRY := 23616; +SET @Friendly:= 23622; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`IN (@ENTRY, @Friendly); +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Friendly AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Friendly*100 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,1,23616,1,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Frenzied - On Reset - Start Waypoint"), +(@ENTRY,0,1,2,8,0,100,0,42222,0,55000,55000,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Kyle the Frenzied - On Spellhit 'Lunch for Kyle' - Store Targetlist"), +(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Frenzied - On Spellhit 'Lunch for Kyle' - Run Script"); + +-- Actionlist SAI +SET @ENTRY := 2361600; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,54,55000,0,0,0,0,0,1,186265,50,0,0,0,0,0,"Kyle the Frenzied - On Script - Pause Waypoint"), +(@ENTRY,9,1,0,0,0,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Frenzied - On Script - Say Line 0 (No Repeat)"), +(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,17,393,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Frenzied - On Script - Set Emote State 393"), +(@ENTRY,9,3,0,0,0,100,0,5000,5000,0,0,69,0,0,0,0,0,0,20,186265,50,0,0,0,0,0,"Kyle the Frenzied - On Script - Move To Closest Gameobject 'Kyle's Lunch'"), +(@ENTRY,9,4,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Frenzied - On Script - Say Line 1"), +(@ENTRY,9,5,0,0,0,100,0,0,0,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Frenzied - On Script - Set Emote State 69"), +(@ENTRY,9,6,0,0,0,100,0,4000,4000,0,0,12,@Friendly,8,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Summon Kyle the Friendly"), +(@ENTRY,9,7,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Despawn"), + +(@Friendly,0,0,0,25,0,100,0,0,0,0,0,80,@Friendly*100,2,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Friendly - On Reset - Run Script"), +(@Friendly*100,9,0,0,0,0,100,0,5000,5000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Friendly - On Script - Say Line 2"), +(@Friendly*100,9,1,0,0,0,100,0,0,0,0,0,17,400,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Friendly - On Script - Set Emote State 400"), +(@Friendly*100,9,2,0,0,0,100,0,0,0,0,0,33,23616,0,0,0,0,0,21,10,0,0,0,0,0,0,"Kyle the Friendly - On Script - Quest Credit 'Kyle's Gone Missing!'"), +(@Friendly*100,9,3,0,0,0,100,0,30000,30000,0,0,70,0,0,0,0,0,0,10,24762,23616,0,0,0,0,0,"Kyle the Friendly - On Script - respawn Kyle the Frenzied"), +(@Friendly*100,9,4,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kyle the Friendly -On Script - Despawn"); +-- +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=34935; +INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES +(34935,43671,1,0); -- Horde Gunship Cannon - Ride Vehicle + +SET @NPC_VISION_RAVEN_GOD := 21861; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@NPC_VISION_RAVEN_GOD) AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@NPC_VISION_RAVEN_GOD,0,0,1,38,0,100,0,1,1,0,0,11,39426,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - On Data Set 4 - Cast credit"), +(@NPC_VISION_RAVEN_GOD,0,1,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - Link - Say 0"), +(@NPC_VISION_RAVEN_GOD,0,2,3,38,0,100,0,1,2,0,0,11,39428,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - On Data Set 4 - Cast credit"), +(@NPC_VISION_RAVEN_GOD,0,3,0,61,0,100,0,0,0,0,0,1,1,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - Link - Say 1"), +(@NPC_VISION_RAVEN_GOD,0,4,5,38,0,100,0,1,3,0,0,11,39430,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - On Data Set 4 - Cast credit"), +(@NPC_VISION_RAVEN_GOD,0,5,0,61,0,100,0,0,0,0,0,1,2,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - Link - Say 2"), +(@NPC_VISION_RAVEN_GOD,0,6,7,38,0,100,0,1,4,0,0,11,39431,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - On Data Set 4 - Cast credit"), +(@NPC_VISION_RAVEN_GOD,0,7,0,61,0,100,0,0,0,0,0,1,3,0,0,0,0,0,21,20,0,0,0.0,0.0,0.0,0.0,"Vision of Raven God - Link - Say 3"); + +SET @ENTRY := 24290; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,8,0,100,0,43404,0,0,0,11,43419,0,0,0,0,0,7,0,0,0,0,0,0,0,"New Agamand Plague Tank Bunny - On Spellhit 'Mission: Plague This!: Orehammer's Precision Bombs Dummy' - Quest Credit 'Mission: Plague This!'"); + +UPDATE `smart_scripts` SET `action_param1`=25068 WHERE `entryorguid`=24999 AND `source_type`=0 AND `id`=2 AND `link`=0; +-- +SET @Zuluhed := 11980; +SET @Portal := 22336; +SET @Arcubus := 22338; +SET @Infusion := 38853; +SET @SummonPortal := 38876; +SET @Rain := 19717; +SET @SummonArcubus := 38877; + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (@Zuluhed, @Portal, @Arcubus); + +DELETE FROM `creature_text` WHERE `entry`=@Zuluhed; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextId`) VALUES +(@Zuluhed,0,0,'Indeed, the time has come to end this charade.',14,0,100,0,0,0,'Zuluhed the Whacked', 20128), +(@Zuluhed,1,0,'Destroy them! Destroy them all!', 14,0,100,0,0,0,'Zuluhed the Whacked', 20129), +(@Zuluhed,2,0,'Foolish mortals. Did you think that I would not strike you down for your transgressions?', 14,0,100,0,0,0,'Zuluhed the Whacked', 20127), +(@Zuluhed,3,0,'Lord Illidan, bless me with the power of the flight!', 14,0,100,0,0,0,'Zuluhed the Whacked', 20126); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Zuluhed, @Portal, @Arcubus) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Zuluhed*100, @Zuluhed*100+1, @Portal*100) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@Zuluhed,0,0,0,54,0,100,0,0,0,0,0,80,@Zuluhed*100,2,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0,"Zuluhed the Whacked - Just Summoned - action list"), +(@Zuluhed*100,9,0,0,0,0,100,0,0,0,0,0,1,2,0,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0,"Zuluhed the Whacked - action list - text"), +(@Zuluhed*100,9,1,0,0,0,100,0,5000,5000,0,0,1,0,0,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0,"Zuluhed the Whacked - action list - text"), +(@Zuluhed*100,9,2,0,0,0,100,0,4000,4000,0,0,1,1,0,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0,"Zuluhed the Whacked - action list - text"), +(@Zuluhed,0,1,0,0,0,100,0,12000,12000,12000,12000,11,@Rain,0,0,0,0,0,5,0,0,0,0.0,0.0,0.0,0.0,"Zuluhed the Whacked - IC - Cast rain"), +(@Zuluhed,0,2,0,0,0,100,0,30000,30000,60000,60000,11,@SummonPortal,0,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0,"Zuluhed the Whacked - IC - Summon portal"), +(@Zuluhed,0,3,0,2,0,100,1,0,25,0,0,80,@Zuluhed*100+1,2,0,0,0,0,1,0,0,0,0,0,0,0,'Zuluhed the Whacked - On 25% health - ActionList'), +(@Zuluhed*100+1,9,0,0,0,0,100,0,0,0,0,0,11,@Infusion,0,0,0,0,0,1,0,0,0,0,0,0,0,'Zuluhed the Whacked - ActionList - Cast Infusion'), +(@Zuluhed*100+1,9,1,0,0,0,100,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Zuluhed the Whacked - ActionList - Text'), +(@Arcubus,0,0,0,54,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,10,0,0,0.0,0.0,0.0,0.0,"Zuluhed the Whacked - Just Summoned - Attack player on 10 yards"), +(@Portal,0,0,0,54,0,100,1,0,0,0,0,80,@Portal*100,2,0,0,0,0,1,0,0,0,0.0,0.0,0.0,0.0,"Portal - Just Summoned - action list"), +(@Portal*100,9,0,0,0,0,100,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Portal - ActionList - SET_ROOT'), +(@Portal*100,9,1,0,0,0,100,0,15000,15000,0,0,11,@SummonArcubus,0,0,0,0,0,1,0,0,0,0,0,0,0,'Portal - ActionList - Cast SummonArcubus'); +-- +UPDATE `smart_scripts` SET `action_param1`=25068 WHERE `entryorguid`=25002 AND `source_type`=0 AND `id`=0 AND `link`=0; + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=35427; +INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`,`user_type`) VALUES +(35427,43671,1,0); + +UPDATE `smart_scripts` SET `action_type`=11, `action_param1`=38162 WHERE `entryorguid`=19937 AND `source_type`=0 AND `id` IN (1, 3, 12); +UPDATE `smart_scripts` SET `action_type`=11, `action_param1`=70606 WHERE `entryorguid`=37826 AND `source_type`=0 AND `id` = 0; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=25359 AND `source_type`=0 AND `id`=1; +UPDATE `smart_scripts` SET `link`=6 WHERE `entryorguid`=25335 AND `source_type`=0 AND `id`=5; +UPDATE `smart_scripts` SET `link`=10 WHERE `entryorguid`=25335 AND `source_type`=0 AND `id`=9; +UPDATE `smart_scripts` SET `event_type`=61, `link`=0 WHERE `entryorguid`=4880 AND `source_type`=0 AND `id`=21; +UPDATE `smart_scripts` SET `event_param1`=0 WHERE `entryorguid`=4880 AND `source_type`=0 AND `id`=23; +UPDATE `smart_scripts` SET `link`=16 WHERE `entryorguid`=28122 AND `source_type`=0 AND `id`=15; +-- +UPDATE `conditions` SET `ConditionValue3`=0 WHERE `SourceTypeOrReferenceId`=17 AND `SourceGroup`=0 AND `SourceEntry`=48363 AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=29 AND `ConditionTarget`=0 AND `ConditionValue1`=27315 AND `ConditionValue2`=5 AND `ConditionValue3`=1; +UPDATE `conditions` SET `ConditionValue3`=0 WHERE `SourceTypeOrReferenceId`=17 AND `SourceGroup`=0 AND `SourceEntry`=48363 AND `SourceId`=0 AND `ElseGroup`=1 AND `ConditionTypeOrReference`=29 AND `ConditionTarget`=0 AND `ConditionValue1`=27336 AND `ConditionValue2`=5 AND `ConditionValue3`=1; +UPDATE `conditions` SET `ConditionValue3`=0 WHERE `SourceTypeOrReferenceId`=17 AND `SourceGroup`=0 AND `SourceEntry`=48397 AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=29 AND `ConditionTarget`=0 AND `ConditionValue1`=27315 AND `ConditionValue2`=5 AND `ConditionValue3`=1; +UPDATE `conditions` SET `ConditionValue3`=0 WHERE `SourceTypeOrReferenceId`=17 AND `SourceGroup`=0 AND `SourceEntry`=48397 AND `SourceId`=0 AND `ElseGroup`=1 AND `ConditionTypeOrReference`=29 AND `ConditionTarget`=0 AND `ConditionValue1`=27336 AND `ConditionValue2`=5 AND `ConditionValue3`=1; +UPDATE `conditions` SET `ConditionTypeOrReference`=29, `ConditionValue1`=37852, `ConditionValue2`=10 WHERE `SourceTypeOrReferenceId`=17 AND `SourceGroup`=0 AND `SourceEntry`=70586 AND `SourceId`=0 AND `ElseGroup`=0 AND `ConditionTypeOrReference`=18 AND `ConditionTarget`=0 AND `ConditionValue1`=1 AND `ConditionValue2`=37852 AND `ConditionValue3`=0; +UPDATE `conditions` SET `ConditionValue2`=0 WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=23286 AND `SourceEntry`=32726 AND `SourceId`=0 AND `ElseGroup`=2 AND `ConditionTypeOrReference`=9 AND `ConditionTarget`=0 AND `ConditionValue1`=11081 AND `ConditionValue2`=1 AND `ConditionValue3`=0; +UPDATE `conditions` SET `ConditionValue2`=0 WHERE `SourceTypeOrReferenceId`=1 AND `SourceGroup`=23324 AND `SourceEntry`=32726 AND `SourceId`=0 AND `ElseGroup`=2 AND `ConditionTypeOrReference`=9 AND `ConditionTarget`=0 AND `ConditionValue1`=11081 AND `ConditionValue2`=1 AND `ConditionValue3`=0; +-- +DELETE FROM `creature_formations` WHERE `leaderGUID`=57528; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(57528, 57528, 0, 0, 2), +(57528, 57527, 3, 90, 2); + +-- Pathing for Thrallmar Grunt Entry: 16580 'TDB FORMAT' +SET @NPC := 57528; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=132.3433,`position_y`=2762.987,`position_z`=102.3826 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,132.3433,2762.987,102.3826,0,0,0,0,100,0), +(@PATH,2,121.0521,2749.356,98.25848,0,0,0,0,100,0), +(@PATH,3,109.0274,2741.556,94.49025,0,0,0,0,100,0), +(@PATH,4,95.7988,2726.423,89.95798,0,0,0,0,100,0), +(@PATH,5,83.33932,2712.466,86.36182,0,0,0,0,100,0), +(@PATH,6,75.62203,2702.179,84.19798,0,0,0,0,100,0), +(@PATH,7,68.19456,2688.539,81.85039,0,0,0,0,100,0), +(@PATH,8,66.99038,2685.902,81.33047,0,0,0,0,100,0), +(@PATH,9,82.17162,2678.548,81.62874,0,0,0,0,100,0), +(@PATH,10,96.37463,2678.292,82.75209,0,0,0,0,100,0), +(@PATH,11,112.1558,2676.275,83.38298,0,0,0,0,100,0), +(@PATH,12,119.6769,2675.056,83.7209,0,0,0,0,100,0), +(@PATH,13,111.278,2648.706,80.93124,0,0,0,0,100,0), +(@PATH,14,109.0044,2646.347,80.20769,0,0,0,0,100,0), +(@PATH,15,116.2792,2653.762,81.89182,0,0,0,0,100,0), +(@PATH,16,122.4159,2660.933,84.18261,0,0,0,0,100,0), +(@PATH,17,123.3134,2662.276,84.17096,0,0,0,0,100,0), +(@PATH,18,103.6847,2670.964,83.00417,0,0,0,0,100,0), +(@PATH,19,80.54628,2673.75,81.59075,0,0,0,0,100,0), +(@PATH,20,73.74189,2676.277,80.69298,0,0,0,0,100,0), +(@PATH,21,69.13676,2697.863,83.02922,0,0,0,0,100,0), +(@PATH,22,75.02055,2712.901,85.39117,0,0,0,0,100,0), +(@PATH,23,87.82365,2724.378,88.41669,0,0,0,0,100,0), +(@PATH,24,104.5768,2742.848,93.40324,0,0,0,0,100,0), +(@PATH,25,117.3608,2752.192,97.77188,0,0,0,0,100,0), +(@PATH,26,129.486,2763.919,102.3025,0,0,0,0,100,0); +-- 0x1C09E4424010310000002C00015AED53 .go 132.3433 2762.987 102.3826 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=57506; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(57506, 57506, 0, 0, 2), +(57506, 57507, 3, 90, 2); + +-- Pathing for Thrallmar Grunt Entry: 16580 'TDB FORMAT' +SET @NPC := 57506; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=160.0679,`position_y`=2783.137,`position_z`=111.3373 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,160.0679,2783.137,111.3373,0,0,0,0,100,0), +(@PATH,2,162.4358,2778.617,110.5461,0,0,0,0,100,0), +(@PATH,3,172.7094,2774.508,110.6423,0,0,0,0,100,0), +(@PATH,4,186.6513,2777.03,113.5835,0,0,0,0,100,0), +(@PATH,5,200.0523,2782.693,116.7996,0,0,0,0,100,0), +(@PATH,6,209.4241,2784.837,118.5891,0,0,0,0,100,0), +(@PATH,7,222.8512,2785.429,121.0061,0,0,0,0,100,0), +(@PATH,8,233.1155,2787.613,123.6816,0,0,0,0,100,0), +(@PATH,9,237.861,2791.877,125.6136,0,0,0,0,100,0), +(@PATH,10,239.1323,2799.748,127.3235,0,0,0,0,100,0), +(@PATH,11,239.1207,2795.199,126.621,0,0,0,0,100,0), +(@PATH,12,235.6156,2789.706,124.6459,0,0,0,0,100,0), +(@PATH,13,227.0757,2786.192,122.1876,0,0,0,0,100,0), +(@PATH,14,212.622,2785.389,119.2345,0,0,0,0,100,0), +(@PATH,15,205.132,2784.269,117.806,0,0,0,0,100,0), +(@PATH,16,188.0606,2777.626,114.1675,0,0,0,0,100,0), +(@PATH,17,175.7908,2774.627,111.4541,0,0,0,0,100,0), +(@PATH,18,168.39,2775.401,110.4383,0,0,0,0,100,0), +(@PATH,19,160.1083,2782.976,111.366,0,0,0,0,100,0); +-- 0x1C09E4424010310000002C00015AED54 .go 160.0679 2783.137 111.3373 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=57965; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(57594, 57594, 0, 0, 2), +(57594, 57595, 5, 0, 2), +(57594, 57596, 10, 0, 2), +(57594, 57597, 15, 0, 2); + +-- Pathing for Thrallmar Wolf Rider Entry: 16599 'TDB FORMAT' +SET @NPC := 57594; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=196.28,`position_y`=2781.241,`position_z`=115.9637 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,14334,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,196.28,2781.241,115.9637,0,0,1,0,100,0), +(@PATH,2,173.7009,2773.865,111.0617,0,0,1,0,100,0), +(@PATH,3,144.2007,2764.989,105.126,0,0,1,0,100,0), +(@PATH,4,113.7401,2748.569,96.21298,0,0,1,0,100,0), +(@PATH,5,94.41273,2728.12,89.81252,0,0,1,0,100,0), +(@PATH,6,65.77112,2693.39,82.38187,0,0,1,0,100,0), +(@PATH,7,36.76459,2661.932,76.78915,0,0,1,0,100,0), +(@PATH,8,17.91903,2638.404,72.61198,0,0,1,0,100,0), +(@PATH,9,5.355525,2605.847,68.47747,0,0,1,0,100,0), +(@PATH,10,8.97837,2575.031,65.2146,0,0,1,0,100,0), +(@PATH,11,18.05011,2542.307,61.65181,0,0,1,0,100,0), +(@PATH,12,20.63871,2501.002,57.12801,0,0,1,0,100,0), +(@PATH,13,14.14331,2460.918,53.1017,0,0,1,0,100,0), +(@PATH,14,7.45386,2419.164,52.73537,0,0,1,0,100,0), +(@PATH,15,-14.25867,2395.82,52.69493,0,0,1,0,100,0), +(@PATH,16,-31.19849,2384.302,53.77038,0,0,1,0,100,0), +(@PATH,17,0.05626106,2409.986,52.19868,0,0,1,0,100,0), +(@PATH,18,13.30882,2456.084,52.34318,0,0,1,0,100,0), +(@PATH,19,20.00414,2492.995,56.18382,0,0,1,0,100,0), +(@PATH,20,19.18841,2536.792,60.81985,0,0,1,0,100,0), +(@PATH,21,11.05238,2567.616,64.15677,0,0,1,0,100,0), +(@PATH,22,4.750309,2601.44,67.78731,0,0,1,0,100,0), +(@PATH,23,13.32799,2630.8,71.16357,0,0,1,0,100,0), +(@PATH,24,32.40791,2656.75,75.65665,0,0,1,0,100,0), +(@PATH,25,62.52131,2689.98,81.53972,0,0,1,0,100,0), +(@PATH,26,92.98247,2726.685,89.31989,0,0,1,0,100,0), +(@PATH,27,109.4178,2744.999,94.76643,0,0,1,0,100,0), +(@PATH,28,142.0419,2764.24,104.1994,0,0,1,0,100,0), +(@PATH,29,171.1686,2772.708,110.2985,0,0,1,0,100,0); +-- 0x1C09E442401035C000002C00005AED54 .go 196.28 2781.241 115.9637 + +-- Pathing for Thrallmar Peon Entry: 16591 'TDB FORMAT' +SET @NPC := 57575; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=55.27306,`position_y`=2654.043,`position_z`=78.42071 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,69, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,55.27306,2654.043,78.42071,0,0,0,0,100,0), +(@PATH,2,60.95808,2657.462,79.7836,0,0,0,0,100,0), +(@PATH,3,64.60378,2660.895,80.497,0,0,0,0,100,0), +(@PATH,4,66.75615,2663.12,80.74207,0,0,0,0,100,0), +(@PATH,5,65.12799,2682.579,80.74263,0,0,0,0,100,0), +(@PATH,6,65.82681,2693.285,82.36795,0,0,0,0,100,0), +(@PATH,7,75.21483,2707.858,84.6664,0,0,0,0,100,0), +(@PATH,8,84.96182,2718.535,87.05235,0,0,0,0,100,0), +(@PATH,9,95.03929,2728.742,90.13913,0,0,0,0,100,0), +(@PATH,10,106.4619,2744.316,94.00992,0,0,0,0,100,0), +(@PATH,11,123.8118,2755.292,99.37874,0,0,0,0,100,0), +(@PATH,12,135.8948,2760.833,102.7533,0,0,0,0,100,0), +(@PATH,13,155.0525,2769.579,107.7352,0,0,0,0,100,0), +(@PATH,14,158.3794,2773.243,108.8904,0,0,0,0,100,0), +(@PATH,15,159.9402,2783.268,111.4848,0,0,0,0,100,0), +(@PATH,16,161.3573,2786.643,112.5604,0,0,0,0,100,0), +(@PATH,17,165.1619,2790.098,113.5347,0,120000,0,0,100,0), +(@PATH,18,165.2408,2775.052,109.6661,3,0,0,0,100,0), +(@PATH,19,161.6743,2781.431,111.1523,0,0,0,0,100,0), +(@PATH,20,161.0955,2772.586,109.2963,0,0,0,0,100,0), +(@PATH,21,143.7382,2764.468,104.6033,0,0,0,0,100,0), +(@PATH,22,122.8,2754.483,99.03847,0,0,0,0,100,0), +(@PATH,23,109.0177,2745.05,94.75985,0,0,0,0,100,0), +(@PATH,24,96.74924,2729.785,90.4996,0,0,0,0,100,0), +(@PATH,25,83.87657,2715.537,86.72665,0,0,0,0,100,0), +(@PATH,26,75.78943,2705.43,84.61099,0,0,0,0,100,0), +(@PATH,27,64.73528,2690.525,81.81812,0,0,0,0,100,0), +(@PATH,28,62.68444,2679.1,80.26672,0,0,0,0,100,0), +(@PATH,29,62.20171,2674.227,80.11406,0,0,0,0,100,0), +(@PATH,30,62.53893,2659.067,79.85791,0,0,0,0,100,0), +(@PATH,31,53.87121,2650.147,77.64667,0,0,0,0,100,0), +(@PATH,32,52.78874,2648.066,76.98107,0,120000,0,0,100,0); +-- 0x1C09E442401033C000002C00005AED55 .go 55.27306 2654.043 78.42071 +-- Shakes O'Breen SAI +SET @ENTRY := 2610; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI', ScriptName='' WHERE `entry`=113531; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 113531 AND `source_type` = 1; + +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,3,19,0,100,0,667,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Shakes O'Breen - On Quest 'Death From Below' Taken - Run Script"), +(@ENTRY,0,1,0,6,0,100,0,0,0,0,0,6,667,0,0,0,0,0,18,30,0,0,0,0,0,0,"Shakes O'Breen - On Just Died - Fail Quest 'Death From Below'"), +(@ENTRY,0,2,0,11,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shakes O'Breen - On Respawn - Add Npc Flag Questgiver"), +(@ENTRY,0,3,4,61,0,100,0,667,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shakes O'Breen - On Quest 'Death From Below' Taken - Remove Npc Flag Questgiver"), +(@ENTRY,0,4,0,61,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shakes O'Breen - On Just Created - react agressive"), +(113531,1,0,0,64,0,100,0,0,0,0,0,51,0,0,0,0,0,0,11,2775,50,0,0,0,0,0,"Shakes O'Breen - On gossip hello - kill"); + +-- Actionlist SAI +SET @ENTRY := 261000; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,1000,1000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shakes O'Breen - On Script - Say Line 0"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,106,4,0,0,0,0,0,14,210721,113531,0,0,0,0,0,"Shakes O'Breen - On Script - remove flag from gob "), +(@ENTRY,9,2,0,0,0,100,0,9000,9000,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2158.637939, -1967.593628, 15.347894, 5.525547,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2161.894531, -1968.629517, 15.641345, 5.462712,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2158.246582, -1965.681763, 15.063377, 5.600158,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,5,0,0,0,100,0,0,0,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2158.358643, -1971.417480, 15.596241, 4.967206,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,6,0,0,0,100,0,20000,20000,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2158.637939, -1967.593628, 15.347894, 5.525547,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,7,0,0,0,100,0,0,0,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2161.894531, -1968.629517, 15.641345, 5.462712,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,8,0,0,0,100,0,0,0,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2158.246582, -1965.681763, 15.063377, 5.600158,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,9,0,0,0,100,0,3000,3000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shakes O'Breen - On Script - Say Line 1"), +(@ENTRY,9,10,0,0,0,100,0,15000,15000,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2158.637939, -1967.593628, 15.347894, 5.525547,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,11,0,0,0,100,0,0,0,0,0,12,2775,1,60000,0,0,0,8,0,0,0,-2161.894531, -1968.629517, 15.641345, 5.462712,"Shakes O'Breen - On Script - Summon Creature 'Daggerspine Marauder'"), +(@ENTRY,9,12,0,0,0,100,0,0,0,0,0,105,4,0,0,0,0,0,14,210721,113531,0,0,0,0,0,"Shakes O'Breen - On Script - Add Flag to gob "), +(@ENTRY,9,13,0,0,0,100,0,30000,30000,0,0,15,667,0,0,0,0,0,17,0,100,0,0,0,0,0,"Shakes O'Breen - On Script - Quest Credit 'Death From Below'"), +(@ENTRY,9,14,0,0,0,100,0,30000,30000,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Shakes O'Breen - On Script - Add Npc Flag "); + +-- Daggerspine Marauder SAI +SET @ENTRY := 2775; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,63,0,30,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Daggerspine Marauder - On Just Created - Say Line 0"), +(@ENTRY,0,1,0,63,0,100,0,0,0,0,0,69,0,0,0,0,0,0,8,0,0,0,-2086.070068, -2028.859985, 3.220880, 2.670350,"Daggerspine Marauder - On Just Created - go to pos"), +(@ENTRY,0,2,0,63,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Daggerspine Marauder - On Just Created - react agressive"), +(@ENTRY,0,3,0,10,0,100,0,0,30,3000,3000,49,0,0,0,0,0,0,19,2610,30,0,0,0,0,0,"Daggerspine Marauder - OOCLOS - Attack start"); + +DELETE FROM `creature_text` WHERE `entry` IN (2775, 2610); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(2775, 0, 0, 'Nothing will stop us! You will die!', 14, 0, 100, 0, 0, 0, 855, 0, 'Daggerspine Marauder'), +(2775, 0, 1, 'You''ve plundered our treasures too long. Prepare to meet your watery grave!', 14, 0, 100, 0, 0, 0, 854, 0, 'Daggerspine Marauder'), +(2610, 0, 0, 'All hands to battle stations! Naga incoming!', 14, 0, 100, 0, 0, 0, 6372, 0, 'Shakes Breen'), +(2610, 1, 0, 'If we can just hold them now, I am sure we will be in the clear.', 12, 0, 100, 0, 0, 0, 863, 0, 'Shakes Breen'); +-- +UPDATE `creature_template` SET `vehicleId`=196 WHERE `entry`=30108; +DELETE FROM `vehicle_template_accessory` WHERE `entry`=30108 AND `accessory_entry` IN (30401); +INSERT INTO `vehicle_template_accessory` (`entry`,`accessory_entry`,`seat_id`,`minion`,`description`,`summontype`,`summontimer`)VALUES +(30108,30401,1,1,'Stormcrest Eagle',8,0); + +UPDATE `creature_template` SET `ScriptName` = 'npc_stormcrest_eagle' WHERE `entry` = 30108; +DELETE FROM `gossip_menu_option` WHERE `menu_id`=9891 AND `id`=0; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES +(9891, 0, 0, 'King Stormheart sent me to be tested as a frostborn would. I am ready for my test, Fjorlin', 32929, 1, 1, 0, 0, 0, 0, '',0); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceID`=15 AND `SourceEntry`=0 AND `SourceGroup`=9891; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ConditionTypeOrReference`,`elseGroup`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`Comment`) VALUES +(15,9891,0,9,0,12874,0,0,0,'show gossip on quest 12874 taken'); + +-- Fjorlin Frostbrow SAI +SET @ENTRY := 29732; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,62,0,100,0,9891,1,0,0,11,56411,0,0,0,0,0,7,0,0,0,0,0,0,0,"Fjorlin Frostbrow - On Gossip Option 1 Selected - Cast 'Forcecast Summon Scripted Eagle'"), +(@ENTRY,0,1,0,61,0,100,0,9891,1,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Fjorlin Frostbrow - On Gossip Option 1 Selected - Close Gossip"), +(@ENTRY,0,2,3,62,0,100,0,9891,0,0,0,85,55942,2,0,0,0,0,7,0,0,0,0,0,0,0,"Fjorlin Frostbrow - On Gossip Option 0 Selected - Invoker Cast 'Summon Battle Eagle'"), +(@ENTRY,0,3,0,61,0,100,0,9891,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Fjorlin Frostbrow - On Gossip Option 0 Selected - Close Gossip"); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=30108; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(30108,46598,1,0); + +UPDATE `creature_template` SET `ScriptName`='', `InhabitType`=4 WHERE `entry`=30108; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=30108; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 30108, 0, 0, 9, 0, 12874, 0, 0, 0, 0, 0, '', 'SAI triggers only if player on quest 12874'); + +DELETE FROM `creature_text` WHERE `entry`=30401; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`,`BroadcastTextId`) VALUES +(30401, 0, 0, 'King Stormheart is putting you to the test, eh? He must see something in you to begin with or I doubt he''d put you through such a sacred ritual.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30942), +(30401, 1, 0, 'I know you''re new to our kind, so I''ll catch you up a bit while we''re on our way over.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30943), +(30401, 2, 0, 'Years back, my father and several other frostborn were returning from a trek across Dragonblight. There was a heavy blizzard... far worse than we''ve ever seen since.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30944), +(30401, 3, 0, 'They crossed a trail of blood-soaked snow and followed it to find a dwarf wandering and speaking in a dialect they couldn''t make out... and not a dwarf of our kind mind you, but a mountain dwarf - something our kind had never seen before.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30945), +(30401, 4, 0, 'The dwarf seemed lost, having no memory of where he came from, or even of his own name. Not being the kind to leave a dwarven cousin to die in the snow, my father''s party took him in and continued back towards Frosthold.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30946), +(30401, 5, 0, 'Not long later, out of nowhere, the snow burst before them and a jormungar the size of Veranus herself came down upon their party... one of them was swallowed whole before they even had time to react.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30947), +(30401, 6, 0, 'My father thought they were all doomed... but behind him, a furious roar rumbled across the snow, and he turned to see the mountain dwarf growing in size, his skin taking on a stone-like texture, and his hands sizzling with lightning.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30948), +(30401, 7, 0, 'The dwarf barreled forward with a sound like rolling thunder and hurled a shining metal hammer, lightning coursing over its surface, directly into the jormungar''s throat.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30949), +(30401, 8, 0, 'The jormungar collapsed instantly, its head barely still attached to its convulsing body. My father turned to the dwarf in awe and raised a fist in praise...', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30950), +(30401, 9, 0, 'The stranger having no name of his own, my father deemed \"Yorg,\" a name reserved for champions of legend. Years later, he now stands before us as Yorg Stormheart, King of the Frostborn.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30952), +(30401, 10, 0, 'King Stormheart has trained us well... turned us into even more fearsome warriors than we could have boasted during the time of our war with the Frost Giants.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30953), +(30401, 11, 0, 'And as one of the fiercest tests put upon a warrior of the frostborn, we are made to face a creature far larger than ourselves--giants, dragons, jormungar--as a testament to the fact that size will never be our weakness.', 12, 0, 100, 0, 0, 0, 'Velog Icebellow',30955), +(30401, 12, 0, 'This is the test put before you this day. Return to us only once The Iron Watcher is dead, and be revered as a warrior of the frostborn.', 14, 0, 100, 0, 0, 0, 'Velog Icebellow',30956), +(30401, 13, 0, 'He is slow from the rust of the ages... be quick on your feet and he will not best you. You have King Stormheart''s favor - do not disappoint.', 14, 0, 100, 0, 0, 0, 'Velog Icebellow',31343); + +DELETE FROM `creature_template_addon` WHERE `entry`=30108; +INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(30108,0,0,0,1,0,'52211'); -- Flight Aura + +DELETE FROM `spell_target_position` WHERE id=55942; +INSERT INTO `spell_target_position` (`ID`,`MapID`,`PositionX`,`PositionY`,`PositionZ`) VALUES +(55942, 571, 6610.838379, -280.558685, 984.428772); + +-- Stormcrest Eagle SAI +SET @ENTRY := 30108; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,27,0,100,0,0,0,0,0,53,1,30108,0,0,0,0,1,0,0,0,0,0,0,0,"Stormcrest Eagle - On Passenger Boarded - Start Waypoint"), +(@ENTRY,0,1,0,40,0,100,0,1,30108,0,0,1,0,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 1 Reached - Say Line 0"), +(@ENTRY,0,2,0,40,0,100,0,2,30108,0,0,1,1,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 2 Reached - Say Line 1"), +(@ENTRY,0,3,0,40,0,100,0,4,30108,0,0,1,2,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 4 Reached - Say Line 2"), +(@ENTRY,0,4,0,40,0,100,0,6,30108,0,0,1,3,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 6 Reached - Say Line 3"), +(@ENTRY,0,5,0,40,0,100,0,8,30108,0,0,1,4,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 8 Reached - Say Line 4"), +(@ENTRY,0,6,0,40,0,100,0,10,30108,0,0,1,5,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 10 Reached - Say Line 5"), +(@ENTRY,0,7,0,40,0,100,0,12,30108,0,0,1,6,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 12 Reached - Say Line 6"), +(@ENTRY,0,8,0,40,0,100,0,14,30108,0,0,1,7,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 14 Reached - Say Line 7"), +(@ENTRY,0,9,0,40,0,100,0,16,30108,0,0,1,8,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 16 Reached - Say Line 8"), +(@ENTRY,0,10,0,40,0,100,0,18,30108,0,0,1,9,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 18 Reached - Say Line 9"), +(@ENTRY,0,12,0,40,0,100,0,22,30108,0,0,1,10,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 22 Reached - Say Line 10"), +(@ENTRY,0,13,0,40,0,100,0,24,30108,0,0,1,11,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 24 Reached - Say Line 11"), +(@ENTRY,0,14,0,40,0,100,0,25,30108,0,0,1,12,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 25 Reached - Say Line 12"), +(@ENTRY,0,15,0,40,0,100,0,26,30108,0,0,1,13,0,0,0,0,0,19,30401,10,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 26 Reached - Say Line 13"), +(@ENTRY,0,16,0,40,0,100,0,28,30108,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Stormcrest Eagle - On Waypoint 28 Reached - Despawn Instant"); + +DELETE FROM `waypoints` WHERE `entry`=30108; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(30108, 1, 6586.2, -294.997, 989.82, 'Eagle'), +(30108, 2, 6519.83, -384.722, 994.117, 'Eagle'), +(30108, 3, 6519.97, -524.613, 986.315, 'Eagle'), +(30108, 4, 6582.99, -676.868, 973.055, 'Eagle'), +(30108, 5, 6687.48, -733.39, 964.698, 'Eagle'), +(30108, 6, 6855.16, -744.853, 961.192, 'Eagle'), +(30108, 7, 6994.31, -760.115, 959.543, 'Eagle'), +(30108, 8, 7119.54, -785.058, 970.552, 'Eagle'), +(30108, 9, 7245.46, -832.456, 982.112, 'Eagle'), +(30108, 10, 7372.43, -884.75, 992.92, 'Eagle'), +(30108, 11, 7451.38, -912.608, 999.791, 'Eagle'), +(30108, 12, 7550.54, -946.482, 1008.39, 'Eagle'), +(30108, 13, 7627.06, -969.296, 1025.31, 'Eagle'), +(30108, 14, 7701.49, -991.429, 1041.78, 'Eagle'), +(30108, 15, 7767.2, -1011.33, 1056.82, 'Eagle'), +(30108, 16, 7837.09, -1032.49, 1072.82, 'Eagle'), +(30108, 17, 7898.99, -1053.29, 1090.37, 'Eagle'), +(30108, 18, 7944.64, -1070.18, 1112.88, 'Eagle'), +(30108, 19, 7995.38, -1111.07, 1138.38, 'Eagle'), +(30108, 20, 8075.38, -1184.51, 1180.87, 'Eagle'), +(30108, 21, 8133, -1259.6, 1214.29, 'Eagle'), +(30108, 22, 8221.79, -1381.51, 1271, 'Eagle'), +(30108, 23, 8300.22, -1485.87, 1321.57, 'Eagle'), +(30108, 24, 8367.07, -1592.58, 1382.36, 'Eagle'), +(30108, 25, 8414.48, -1701.68, 1449.03, 'Eagle'), +(30108, 26, 8456.78, -1783.6, 1462.78, 'Eagle'), +(30108, 27, 8482.2, -1838.47, 1470, 'Eagle'), +(30108, 28, 8526.7, -1956.21, 1473.59, 'Eagle'); +-- Fix up formation from last commit +-- https://github.com/TrinityCore/TrinityCore/commit/bbcf8f58e69d361c3df1c37fa79d1efa3e52bc54 +DELETE FROM `creature_formations` WHERE `leaderGUID`=57594; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(57594, 57594, 0, 0, 2), +(57594, 57595, 5, 0, 2), +(57594, 57596, 10, 0, 2), +(57594, 57597, 15, 0, 2); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=57965; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(57965, 57965, 0, 0, 2), +(57965, 57966, 5, 0, 2), +(57965, 57967, 10, 0, 2), +(57965, 57968, 15, 0, 2); + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 58706; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-372.7111,`position_y`=2839.348,`position_z`=3.085857 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-372.7111,2839.348,3.085857,0,0,0,0,100,0), +(@PATH,2,-369.1973,2833.291,3.833567,0,0,0,0,100,0), +(@PATH,3,-366.1855,2828.1,4.404455,0,0,0,0,100,0), +(@PATH,4,-364.1777,2824.639,5.029455,0,0,0,0,100,0), +(@PATH,5,-363.1738,2822.908,5.654455,0,0,0,0,100,0), +(@PATH,6,-361.668,2820.313,6.279455,0,0,0,0,100,0), +(@PATH,7,-360.6641,2818.582,7.029455,0,0,0,0,100,0), +(@PATH,8,-357.6523,2813.391,7.904455,0,0,0,0,100,0), +(@PATH,9,-354.6406,2808.199,8.654455,0,0,0,0,100,0), +(@PATH,10,-352.1309,2803.873,9.279455,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C0000212A8F .go -372.7111 2839.348 3.085857 + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 58710; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-173.5004,`position_y`=2340.303,`position_z`=60.07005 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-173.5004,2340.303,60.07005,0,0,0,0,100,0), +(@PATH,2,-167.5776,2345.781,59.66853,0,0,0,0,100,0), +(@PATH,3,-168.3658,2358.138,57.73066,0,0,0,0,100,0), +(@PATH,4,-170.6648,2371.729,55.37167,0,0,0,0,100,0), +(@PATH,5,-176.5131,2386.787,51.77451,0,0,0,0,100,0), +(@PATH,6,-179.7427,2391.649,50.90343,0,0,0,0,100,0), +(@PATH,7,-179.451,2411.232,48.48401,0,0,0,0,100,0), +(@PATH,8,-181.9889,2397.549,50.08649,0,0,0,0,100,0), +(@PATH,9,-179.687,2391.666,50.90021,0,0,0,0,100,0), +(@PATH,10,-172.3989,2376.937,54.03761,0,0,0,0,100,0), +(@PATH,11,-168.9601,2362.579,56.66465,0,0,0,0,100,0), +(@PATH,12,-167.4705,2349.302,59.07915,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C000021381E .go -173.5004 2340.303 60.07005 + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 58709; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-280.5386,`position_y`=2385.487,`position_z`=49.5167 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-280.5386,2385.487,49.5167,0,0,0,0,100,0), +(@PATH,2,-274.4911,2399.897,49.77866,0,0,0,0,100,0), +(@PATH,3,-282.391,2415.943,47.12805,0,0,0,0,100,0), +(@PATH,4,-292.0588,2418.96,45.69984,0,0,0,0,100,0), +(@PATH,5,-296.9233,2425.813,44.45638,0,0,0,0,100,0), +(@PATH,6,-288.1144,2443.262,43.60903,0,0,0,0,100,0), +(@PATH,7,-293.5082,2451.608,42.39658,0,0,0,0,100,0), +(@PATH,8,-297.1542,2466.072,41.27671,0,0,0,0,100,0), +(@PATH,9,-296.9443,2470.941,40.92609,0,0,0,0,100,0), +(@PATH,10,-284.6176,2477.495,40.50471,0,0,0,0,100,0), +(@PATH,11,-290.6595,2483.031,40.95429,0,0,0,0,100,0), +(@PATH,12,-284.6285,2477.351,40.70044,0,0,0,0,100,0), +(@PATH,13,-297.5089,2457.768,41.62237,0,0,0,0,100,0), +(@PATH,14,-289.9194,2446.963,43.04158,0,0,0,0,100,0), +(@PATH,15,-287.7819,2443.668,43.38817,0,0,0,0,100,0), +(@PATH,16,-296.9543,2424.329,44.54842,0,0,0,0,100,0), +(@PATH,17,-284.9567,2418.073,46.32718,0,0,0,0,100,0), +(@PATH,18,-276.5181,2404.314,49.4864,0,0,0,0,100,0), +(@PATH,19,-280.4977,2385.4,49.48282,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C0000213910 .go -280.5386 2385.487 49.5167 + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 58708; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-314.1599,`position_y`=2611.343,`position_z`=41.12054 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-314.1599,2611.343,41.12054,0,0,0,0,100,0), +(@PATH,2,-302.6028,2572.273,41.00031,0,0,0,0,100,0), +(@PATH,3,-297.84,2550.173,41.36596,0,0,0,0,100,0), +(@PATH,4,-303.8246,2525.236,42.58739,0,0,0,0,100,0), +(@PATH,5,-297.9362,2545.895,41.70477,0,0,0,0,100,0), +(@PATH,6,-300.882,2566.604,41.32217,0,0,0,0,100,0), +(@PATH,7,-306.6208,2578.347,41.52526,0,0,0,0,100,0), +(@PATH,8,-312.7142,2588.381,41.36144,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C00002139B5 .go -314.1599 2611.343 41.12054 + +-- Add missing Bonechewer Raider +DELETE FROM `creature` WHERE `guid`=29980; +INSERT INTO `creature` (`guid`, `id`, `map`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `curhealth`, `MovementType`) VALUES +(29980, 16925, 530, 1, -354.3998, 2663.006, 41.72623, 0, 300, 3989, 2); + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 29980; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-354.3998,`position_y`=2663.006,`position_z`=41.72623 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-354.3998,2663.006,41.72623,0,0,0,0,100,0), +(@PATH,2,-346.7007,2672.114,38.15508,0,0,0,0,100,0), +(@PATH,3,-332.8381,2681.229,34.02082,0,0,0,0,100,0), +(@PATH,4,-319.6889,2687.015,31.10067,0,0,0,0,100,0), +(@PATH,5,-318.0042,2694.25,29.72155,0,0,0,0,100,0), +(@PATH,6,-324.0378,2716.413,25.33266,0,0,0,0,100,0), +(@PATH,7,-319.7849,2729.284,23.22117,0,0,0,0,100,0), +(@PATH,8,-322.0183,2746.254,18.96142,0,0,0,0,100,0), +(@PATH,9,-322.4724,2747.062,18.86184,0,0,0,0,100,0), +(@PATH,10,-322.3822,2746.857,18.3417,0,0,0,0,100,0), +(@PATH,11,-319.7568,2733.282,22.47406,0,0,0,0,100,0), +(@PATH,12,-323.8112,2718.555,24.77036,0,0,0,0,100,0), +(@PATH,13,-317.9898,2696.302,28.92368,0,0,0,0,100,0), +(@PATH,14,-318.5087,2690.603,30.36932,0,0,0,0,100,0), +(@PATH,15,-329.6577,2682.807,32.7053,0,0,0,0,100,0), +(@PATH,16,-344.2849,2674.339,36.96185,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C0000213896 .go -354.3998 2663.006 41.72623 + +-- Only one Tagar Spinebreaker should be spawned +DELETE FROM `creature` WHERE `guid`=85990; + +-- Pathing for Tagar Spinebreaker Entry: 19443 'TDB FORMAT' +SET @NPC := 85987; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-179.7917,`position_y`=2839.993,`position_z`=23.64687 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-179.7917,2839.993,23.64687,0,0,0,0,100,0), +(@PATH,2,-168.0662,2837.727,26.36559,0,0,0,0,100,0), +(@PATH,3,-149.3422,2826.91,33.67762,0,0,0,0,100,0), +(@PATH,4,-149.3403,2813.561,35.25396,0,0,0,0,100,0), +(@PATH,5,-160.4427,2807.621,32.6923,0,0,0,0,100,0), +(@PATH,6,-172.6706,2803.528,29.62396,0,0,0,0,100,0), +(@PATH,7,-185.5681,2808.792,25.53679,0,0,0,0,100,0), +(@PATH,8,-186.3388,2797.655,26.33011,0,0,0,0,100,0), +(@PATH,9,-153.882,2788.701,36.85746,0,0,0,0,100,0), +(@PATH,10,-134.5498,2778.104,41.05849,0,0,0,0,100,0), +(@PATH,11,-120.4556,2753.937,49.37396,0,0,0,0,100,0), +(@PATH,12,-110.122,2737.952,52.16914,0,0,0,0,100,0), +(@PATH,13,-108.798,2709.016,51.00445,0,0,0,0,100,0), +(@PATH,14,-125.7525,2695.987,46.92542,0,0,0,0,100,0), +(@PATH,15,-165.7749,2686.863,43.39313,0,0,0,0,100,0), +(@PATH,16,-166.924,2686.502,43.27299,0,0,0,0,100,0), +(@PATH,17,-170.6192,2661.56,42.24799,0,0,0,0,100,0), +(@PATH,18,-166.9141,2633.801,41.55241,0,0,0,0,100,0), +(@PATH,19,-165.2749,2618.521,40.12231,0,0,0,0,100,0), +(@PATH,20,-164.5241,2612.235,40.08208,0,0,0,0,100,0), +(@PATH,21,-162.7764,2603.097,40.06981,0,0,0,0,100,0), +(@PATH,22,-165.0483,2590.722,39.90811,0,0,0,0,100,0), +(@PATH,23,-144.7979,2569.513,41.10892,0,0,0,0,100,0), +(@PATH,24,-146.1405,2544.73,40.98074,0,0,0,0,100,0), +(@PATH,25,-156.8518,2539.49,42.95174,0,0,0,0,100,0), +(@PATH,26,-170.4912,2527.817,41.62189,0,0,0,0,100,0), +(@PATH,27,-177.3363,2516.895,41.11181,0,0,0,0,100,0), +(@PATH,28,-176.3846,2510.593,41.94983,0,0,0,0,100,0), +(@PATH,29,-168.8438,2501.025,43.79488,0,0,0,0,100,0), +(@PATH,30,-145.8467,2499.76,45.61186,0,0,0,0,100,0), +(@PATH,31,-131.4405,2495.996,46.55548,0,0,0,0,100,0), +(@PATH,32,-124.8685,2492.812,46.93701,0,0,0,0,100,0), +(@PATH,33,-118.3926,2470.393,46.95731,0,0,0,0,100,0), +(@PATH,34,-134.5914,2450.625,46.18983,0,0,0,0,100,0), +(@PATH,35,-139.636,2439.596,48.65514,0,0,0,0,100,0), +(@PATH,36,-153.0726,2420.765,44.33873,0,0,0,0,100,0), +(@PATH,37,-164.3153,2415.917,48.36614,0,0,0,0,100,0), +(@PATH,38,-176.0278,2408.138,48.95763,0,0,0,0,100,0), +(@PATH,39,-181.3092,2397.231,50.16575,0,0,0,0,100,0), +(@PATH,40,-174.2651,2386.537,51.88837,0,0,0,0,100,0), +(@PATH,41,-171.3092,2382.064,53.20797,0,0,0,0,100,0), +(@PATH,42,-168.7256,2366.751,56.15277,0,0,0,0,100,0), +(@PATH,43,-168.0793,2352.929,58.49963,0,0,0,0,100,0), +(@PATH,44,-168.3409,2341.554,60.14597,0,0,0,0,100,0), +(@PATH,45,-175.721,2327.79,62.15151,0,0,0,0,100,0), +(@PATH,46,-193.0925,2317.189,56.10988,0,0,0,0,100,0), +(@PATH,47,-211.1901,2312.889,49.67965,0,0,0,0,100,0), +(@PATH,48,-243.0014,2311.802,51.36759,0,0,0,0,100,0), +(@PATH,49,-257.705,2324.297,56.98617,0,0,0,0,100,0), +(@PATH,50,-267.8463,2334.503,54.92202,0,0,0,0,100,0), +(@PATH,51,-284.0244,2347.267,51.85397,0,0,0,0,100,0), +(@PATH,52,-285.5917,2348.854,51.30281,0,0,0,0,100,0), +(@PATH,53,-277.6388,2384.371,49.04704,0,0,0,0,100,0), +(@PATH,54,-277.4207,2389,49.55646,0,0,0,0,100,0), +(@PATH,55,-282.4726,2415.647,47.11025,0,0,0,0,100,0), +(@PATH,56,-290.6383,2417.861,45.76169,0,0,0,0,100,0), +(@PATH,57,-296.9912,2425.083,44.68782,0,0,0,0,100,0), +(@PATH,58,-297.4091,2429.13,44.28957,0,0,0,0,100,0), +(@PATH,59,-292.8183,2446.393,42.99865,0,0,0,0,100,0), +(@PATH,60,-297.4739,2458.016,41.8229,0,0,0,0,100,0), +(@PATH,61,-299.0847,2461.294,41.30234,0,0,0,0,100,0), +(@PATH,62,-291.5309,2472.148,40.82636,0,0,0,0,100,0), +(@PATH,63,-315.7325,2479.059,38.88892,0,0,0,0,100,0), +(@PATH,64,-333.1553,2479.061,30.43475,0,0,0,0,100,0), +(@PATH,65,-362.027,2481.302,26.76814,0,0,0,0,100,0), +(@PATH,66,-381.832,2489.02,35.44767,0,0,0,0,100,0), +(@PATH,67,-383.683,2499.09,43.07095,0,0,0,0,100,0), +(@PATH,68,-373.0249,2518.307,44.52934,0,0,0,0,100,0), +(@PATH,69,-356.4537,2524.72,43.92796,0,0,0,0,100,0), +(@PATH,70,-341.8646,2517.716,42.69872,0,0,0,0,100,0), +(@PATH,71,-325.4874,2514.352,39.74596,0,0,0,0,100,0), +(@PATH,72,-317.6911,2517.743,42.27646,0,0,0,0,100,0), +(@PATH,73,-307.9288,2522.574,42.47154,0,0,0,0,100,0), +(@PATH,74,-303.3547,2545.351,42.88755,0,0,0,0,100,0), +(@PATH,75,-313.6268,2562.334,44.01721,0,0,0,0,100,0), +(@PATH,76,-319.8146,2564.861,44.6563,0,0,0,0,100,0), +(@PATH,77,-315.3898,2592.442,41.60535,0,0,0,0,100,0), +(@PATH,78,-315.032,2593.062,41.37146,0,0,0,0,100,0), +(@PATH,79,-333.1518,2616.684,42.40425,0,0,0,0,100,0), +(@PATH,80,-352.777,2633.742,40.45049,0,0,0,0,100,0), +(@PATH,81,-360.1994,2656.165,43.72129,0,0,0,0,100,0), +(@PATH,82,-344.7037,2680.905,36.1579,0,0,0,0,100,0), +(@PATH,83,-334.6349,2700.036,30.34241,0,0,0,0,100,0), +(@PATH,84,-324.9058,2712.125,26.43651,0,0,0,0,100,0), +(@PATH,85,-322.9779,2724.364,23.96236,0,0,0,0,100,0), +(@PATH,86,-326.3518,2734.545,22.44383,0,0,0,0,100,0), +(@PATH,87,-342.5912,2742.288,22.4451,0,0,0,0,100,0), +(@PATH,88,-368.7488,2739.919,27.63747,0,0,0,0,100,0), +(@PATH,89,-392.2097,2734.005,34.55191,0,0,0,0,100,0), +(@PATH,90,-414.4307,2741.14,39.55831,0,0,0,0,100,0), +(@PATH,91,-436.1942,2742.233,45.3562,0,0,0,0,100,0), +(@PATH,92,-462.9823,2756.808,49.85812,0,0,0,0,100,0), +(@PATH,93,-480.5942,2778.588,50.47923,0,0,0,0,100,0), +(@PATH,94,-476.0007,2799.573,45.95654,0,0,0,0,100,0), +(@PATH,95,-458.507,2835.351,35.33127,0,0,0,0,100,0), +(@PATH,96,-431.757,2863.309,23.74757,0,0,0,0,100,0), +(@PATH,97,-413.4223,2892.728,17.20714,0,0,0,0,100,0), +(@PATH,98,-419.2291,2905.467,19.51181,0,0,0,0,100,0), +(@PATH,99,-443.1462,2933.887,17.85199,0,0,0,0,100,0), +(@PATH,100,-438.8401,2966.167,8.723536,0,0,0,0,100,0), +(@PATH,101,-444.0433,2936.331,17.40722,0,0,0,0,100,0), +(@PATH,102,-432.5814,2918.56,19.31524,0,0,0,0,100,0), +(@PATH,103,-411.3571,2898.61,17.23361,0,0,0,0,100,0), +(@PATH,104,-429.0982,2867.209,22.665,0,0,0,0,100,0), +(@PATH,105,-457.4272,2836.473,34.75057,0,0,0,0,100,0), +(@PATH,106,-474.1913,2804.114,44.81591,0,0,0,0,100,0), +(@PATH,107,-481.0764,2783.36,50.09081,0,0,0,0,100,0), +(@PATH,108,-465.5521,2759.48,50.03743,0,0,0,0,100,0), +(@PATH,109,-440.5409,2744.546,46.12499,0,0,0,0,100,0), +(@PATH,110,-420.0836,2742.421,41.1034,0,0,0,0,100,0), +(@PATH,111,-397.9436,2734.918,35.90202,0,0,0,0,100,0), +(@PATH,112,-372.9858,2738.609,28.64789,0,0,0,0,100,0), +(@PATH,113,-348.4457,2742.212,23.42384,0,0,0,0,100,0), +(@PATH,114,-333.7679,2740.035,21.81408,0,0,0,0,100,0), +(@PATH,115,-324.9037,2731.125,22.83686,0,0,0,0,100,0), +(@PATH,116,-323.9969,2714.816,25.20854,0,0,0,0,100,0), +(@PATH,117,-332.7059,2702.867,29.4334,0,0,0,0,100,0), +(@PATH,118,-343.4227,2683.021,35.1899,0,0,0,0,100,0), +(@PATH,119,-359.6221,2658.229,43.55175,0,0,0,0,100,0), +(@PATH,120,-353.887,2635.825,39.48611,0,0,0,0,100,0), +(@PATH,121,-344.0572,2624.184,43.10011,0,0,0,0,100,0), +(@PATH,122,-325.4768,2613.256,41.99747,0,0,0,0,100,0), +(@PATH,123,-315.0096,2608.486,41.19632,0,0,0,0,100,0), +(@PATH,124,-325.0719,2578.15,44.60706,0,0,0,0,100,0), +(@PATH,125,-325.6835,2576.813,44.85286,0,0,0,0,100,0), +(@PATH,126,-313.8424,2562.751,43.86629,0,0,0,0,100,0), +(@PATH,127,-306.6296,2559.59,43.31482,0,0,0,0,100,0), +(@PATH,128,-303.079,2544.062,42.30245,0,0,0,0,100,0), +(@PATH,129,-324.1274,2514.437,40.29177,0,0,0,0,100,0), +(@PATH,130,-333.2019,2515.876,41.902,0,0,0,0,100,0), +(@PATH,131,-354.4488,2524.19,43.33042,0,0,0,0,100,0), +(@PATH,132,-359.7796,2523.489,44.53107,0,0,0,0,100,0), +(@PATH,133,-378.1317,2510.007,43.7447,0,0,0,0,100,0), +(@PATH,134,-382.583,2491,37.3352,0,0,0,0,100,0), +(@PATH,135,-368.7838,2483.057,28.09278,0,0,0,0,100,0), +(@PATH,136,-337.7688,2479.346,28.95182,0,0,0,0,100,0), +(@PATH,137,-318.8761,2478.915,37.70119,0,0,0,0,100,0), +(@PATH,138,-301.9458,2480.981,40.5145,0,0,0,0,100,0), +(@PATH,139,-300.0336,2481.129,40.53691,0,0,0,0,100,0), +(@PATH,140,-291.6542,2471.877,40.91128,0,0,0,0,100,0), +(@PATH,141,-295.2729,2454.313,42.07068,0,0,0,0,100,0), +(@PATH,142,-291.9165,2442.606,43.58534,0,0,0,0,100,0), +(@PATH,143,-290.83,2436.461,44.0534,0,0,0,0,100,0), +(@PATH,144,-296.628,2422.13,44.75555,0,0,0,0,100,0), +(@PATH,145,-284.9365,2416.829,46.52535,0,0,0,0,100,0), +(@PATH,146,-277.901,2404.396,49.46965,0,0,0,0,100,0), +(@PATH,147,-276.7875,2401.742,49.57491,0,0,0,0,100,0), +(@PATH,148,-275.867,2368.15,50.02176,0,0,0,0,100,0), +(@PATH,149,-280.12,2358.433,51.42045,0,0,0,0,100,0), +(@PATH,150,-271.6628,2337.664,53.90419,0,0,0,0,100,0), +(@PATH,151,-260.8519,2327.604,56.16253,0,0,0,0,100,0), +(@PATH,152,-246.7255,2313.879,53.0292,0,0,0,0,100,0), +(@PATH,153,-233.4331,2311.107,50.28912,0,0,0,0,100,0), +(@PATH,154,-194.8462,2316.223,54.13938,0,0,0,0,100,0), +(@PATH,155,-184.3219,2321.592,61.90179,0,0,0,0,100,0), +(@PATH,156,-169.6792,2336.901,61.27917,0,0,0,0,100,0), +(@PATH,157,-167.8382,2348.53,59.15134,0,0,0,0,100,0), +(@PATH,158,-168.2972,2362.321,57.01959,0,0,0,0,100,0), +(@PATH,159,-169.3826,2376.633,54.4596,0,0,0,0,100,0), +(@PATH,160,-171.8145,2382.753,52.97548,0,0,0,0,100,0), +(@PATH,161,-180.183,2392.34,51.01487,0,0,0,0,100,0), +(@PATH,162,-181.2741,2398.439,49.99238,0,0,0,0,100,0), +(@PATH,163,-175.461,2408.534,48.88574,0,0,0,0,100,0), +(@PATH,164,-157.5141,2417.718,45.03862,0,0,0,0,100,0), +(@PATH,165,-146.3332,2426.921,48.30313,0,0,0,0,100,0), +(@PATH,166,-137.9598,2445.376,46.12595,0,0,0,0,100,0), +(@PATH,167,-118.3926,2470.393,46.95731,0,0,0,0,100,0), +(@PATH,168,-124.8685,2492.812,46.93701,0,0,0,0,100,0), +(@PATH,169,-131.4405,2495.996,46.55548,0,0,0,0,100,0), +(@PATH,170,-145.8467,2499.76,45.61186,0,0,0,0,100,0), +(@PATH,171,-168.8438,2501.025,43.79488,0,0,0,0,100,0), +(@PATH,172,-176.3846,2510.593,41.94983,0,0,0,0,100,0), +(@PATH,173,-177.3363,2516.895,41.11181,0,0,0,0,100,0), +(@PATH,174,-170.4912,2527.817,41.62189,0,0,0,0,100,0), +(@PATH,175,-156.8518,2539.49,42.95174,0,0,0,0,100,0), +(@PATH,176,-146.1405,2544.73,40.98074,0,0,0,0,100,0), +(@PATH,177,-144.7979,2569.513,41.10892,0,0,0,0,100,0), +(@PATH,178,-165.0483,2590.722,39.90811,0,0,0,0,100,0), +(@PATH,179,-162.7764,2603.097,40.06981,0,0,0,0,100,0), +(@PATH,180,-164.5241,2612.235,40.08208,0,0,0,0,100,0), +(@PATH,181,-165.2749,2618.521,40.12231,0,0,0,0,100,0), +(@PATH,182,-166.9141,2633.801,41.55241,0,0,0,0,100,0), +(@PATH,183,-170.6192,2661.56,42.24799,0,0,0,0,100,0), +(@PATH,184,-166.924,2686.502,43.27299,0,0,0,0,100,0), +(@PATH,185,-165.7749,2686.863,43.39313,0,0,0,0,100,0), +(@PATH,186,-125.7525,2695.987,46.92542,0,0,0,0,100,0), +(@PATH,187,-108.798,2709.016,51.00445,0,0,0,0,100,0), +(@PATH,188,-110.122,2737.952,52.16914,0,0,0,0,100,0), +(@PATH,189,-120.4556,2753.937,49.37396,0,0,0,0,100,0), +(@PATH,190,-134.5498,2778.104,41.05849,0,0,0,0,100,0), +(@PATH,191,-153.882,2788.701,36.85746,0,0,0,0,100,0), +(@PATH,192,-186.3388,2797.655,26.33011,0,0,0,0,100,0), +(@PATH,193,-185.5681,2808.792,25.53679,0,0,0,0,100,0), +(@PATH,194,-172.6706,2803.528,29.62396,0,0,0,0,100,0), +(@PATH,195,-160.4427,2807.621,32.6923,0,0,0,0,100,0), +(@PATH,196,-149.3403,2813.561,35.25396,0,0,0,0,100,0), +(@PATH,197,-149.3422,2826.91,33.67762,0,0,0,0,100,0), +(@PATH,198,-168.0662,2837.727,26.36559,0,0,0,0,100,0), +(@PATH,199,-179.7917,2839.993,23.64687,0,0,0,0,100,0); +-- 0x1C09E4424012FCC000002C00005FBF34 .go -179.7917 2839.993 23.64687 + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 58704; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-404.7873,`position_y`=2895.921,`position_z`=13.85265 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-404.7873,2895.921,13.85265,0,0,0,0,100,0), +(@PATH,2,-404.2322,2900.299,14.15039,0,0,0,0,100,0), +(@PATH,3,-428.3772,2914.106,19.38362,0,0,0,0,100,0), +(@PATH,4,-439.7838,2928.416,18.55647,0,0,0,0,100,0), +(@PATH,5,-445.6255,2946.441,15.33809,0,0,0,0,100,0), +(@PATH,6,-439.2244,2964.096,9.26938,0,0,0,0,100,0), +(@PATH,7,-454.467,2971.035,9.009753,0,0,0,0,100,0), +(@PATH,8,-467.3622,2966.943,12.50773,0,0,0,0,100,0), +(@PATH,9,-482.1766,2976.099,11.32469,0,0,0,0,100,0), +(@PATH,10,-471.1085,2966.682,13.06236,0,0,0,0,100,0), +(@PATH,11,-456.4288,2970.18,9.417983,0,0,0,0,100,0), +(@PATH,12,-450.4304,2969.706,9.393501,0,0,0,0,100,0), +(@PATH,13,-446.038,2951.119,14.24401,0,0,0,0,100,0), +(@PATH,14,-442.8287,2934.824,17.44841,0,0,0,0,100,0), +(@PATH,15,-435.4904,2921.99,19.82334,0,0,0,0,100,0), +(@PATH,16,-404.6763,2913.004,15.59055,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C00005FACA1 .go -404.7873 2895.921 13.85265 + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 58705; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-394.2339,`position_y`=2891.354,`position_z`=8.341909 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-394.2339,2891.354,8.341909,0,0,0,0,100,0), +(@PATH,2,-404.354,2907.934,14.82262,0,0,0,0,100,0), +(@PATH,3,-420.1548,2911.418,19.02849,0,0,0,0,100,0), +(@PATH,4,-434.6948,2920.658,19.59609,0,0,0,0,100,0), +(@PATH,5,-443.507,2937.645,16.52073,0,0,0,0,100,0), +(@PATH,6,-438.1014,2952.321,11.34356,0,0,0,0,100,0), +(@PATH,7,-445.5783,2967.97,9.331216,0,0,0,0,100,0), +(@PATH,8,-438.8247,2958.072,10.36737,0,0,0,0,100,0), +(@PATH,9,-442.9203,2943.862,15.03016,0,0,0,0,100,0), +(@PATH,10,-440.1529,2925.814,19.82526,0,0,0,0,100,0), +(@PATH,11,-430.9389,2917.94,18.84661,0,0,0,0,100,0), +(@PATH,12,-407.8214,2910.193,16.49719,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C00005FACD2 .go -394.2339 2891.354 8.341909 + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 58703; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-173.0258,`position_y`=2784.179,`position_z`=31.73058 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-184.2477,2841.474,22.17058,0,0,0,0,100,0), +(@PATH,2,-186.5912,2837.849,21.70995,0,0,0,0,100,0), +(@PATH,3,-186.0354,2821.816,23.10514,0,0,0,0,100,0), +(@PATH,4,-190.4859,2804.101,24.46144,0,0,0,0,100,0), +(@PATH,5,-190.1222,2800.265,25.05125,0,0,0,0,100,0), +(@PATH,6,-185.8087,2784.323,28.49104,0,0,0,0,100,0), +(@PATH,7,-173.0258,2784.179,31.73058,0,0,0,0,100,0), +(@PATH,8,-153.8195,2788.142,37.07464,0,0,0,0,100,0), +(@PATH,9,-146.762,2781.243,39.44977,0,0,0,0,100,0), +(@PATH,10,-150.9473,2773.002,39.19555,0,0,0,0,100,0), +(@PATH,11,-165.231,2763.583,36.20363,0,0,0,0,100,0), +(@PATH,12,-181.1507,2755.388,30.1041,0,0,0,0,100,0), +(@PATH,13,-168.6309,2761.67,34.94637,0,0,0,0,100,0), +(@PATH,14,-157.0087,2768.504,38.33034,0,0,0,0,100,0), +(@PATH,15,-147.9143,2776.101,39.64468,0,0,0,0,100,0), +(@PATH,16,-148.772,2785.843,38.60817,0,0,0,0,100,0), +(@PATH,17,-167.8991,2784.874,33.46256,0,0,0,0,100,0), +(@PATH,18,-185.8087,2784.323,28.49104,0,0,0,0,100,0), +(@PATH,19,-190.1222,2800.265,25.05125,0,0,0,0,100,0), +(@PATH,20,-190.4859,2804.101,24.46144,0,0,0,0,100,0), +(@PATH,21,-186.0354,2821.816,23.10514,0,0,0,0,100,0), +(@PATH,22,-186.5912,2837.849,21.70995,0,0,0,0,100,0), +(@PATH,23,-184.2477,2841.474,22.17058,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C00005FBE47 .go -173.0258 2784.179 31.73058 + +-- Pathing for Bonechewer Raider Entry: 16925 'TDB FORMAT' +SET @NPC := 58707; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-180.3116,`position_y`=2686.223,`position_z`=40.81258 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,17408,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-180.3116,2686.223,40.81258,0,0,0,0,100,0), +(@PATH,2,-175.7397,2679.259,42.18403,0,0,0,0,100,0), +(@PATH,3,-171.9714,2660.608,42.08878,0,0,0,0,100,0), +(@PATH,4,-170.7084,2658.794,42.01125,0,0,0,0,100,0), +(@PATH,5,-171.3484,2640.479,41.27383,0,0,0,0,100,0), +(@PATH,6,-171.948,2638.051,41.02221,0,0,0,0,100,0), +(@PATH,7,-165.7785,2619.644,40.29411,0,0,0,0,100,0), +(@PATH,8,-166.9228,2612.098,39.69428,0,0,0,0,100,0), +(@PATH,9,-169.5662,2594.979,39.33304,0,0,0,0,100,0), +(@PATH,10,-170.6965,2594.06,39.20753,0,0,0,0,100,0), +(@PATH,11,-170.8916,2594.003,38.98936,0,0,0,0,100,0), +(@PATH,12,-166.2133,2597.965,39.64554,0,0,0,0,100,0), +(@PATH,13,-163.8443,2600.274,39.8479,0,0,0,0,100,0), +(@PATH,14,-165.4025,2621.016,40.56765,0,0,0,0,100,0), +(@PATH,15,-164.8262,2624.799,41.17817,0,0,0,0,100,0), +(@PATH,16,-170.1738,2643.713,41.53741,0,0,0,0,100,0), +(@PATH,17,-169.1673,2647.221,41.99223,0,0,0,0,100,0), +(@PATH,18,-171.7151,2670.958,42.49662,0,0,0,0,100,0); +-- 0x1C09E4424010874000002C00005FBFA9 .go -180.3116 2686.223 40.81258 +-- Darnassian Scout SAI +SET @ENTRY := 15968; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,75,30831,0,0,0,0,0,1,0,0,0,0,0,0,0,"Darnassian Scout - On Reset - Cast 'Stealth'"), +(@ENTRY,0,1,0,4,0,100,0,0,0,0,0,28,30831,0,0,0,0,0,1,0,0,0,0,0,0,0,"Darnassian Scout - On Aggro - Remove Aura 'Stealth'"); +-- Nexus-King Salhadaar SAI +SET @ENTRY := 20454; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,1,3,100,1,1000,1000,1000,1000,19,33554432,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - Out of Combat - Remove Flag Not Selectable (Phase 4) (No Repeat)"), +(@ENTRY,0,1,2,61,0,100,1,1000,1000,1000,1000,2,1796,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - Out of Combat - Set Faction 1796 (Phase 4) (No Repeat)"), +(@ENTRY,0,2,0,61,0,100,1,1,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - Out of Combat - Say Line 0 (Phase 4)"), +(@ENTRY,0,3,0,0,0,100,0,5000,10000,15000,25000,11,36533,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - In Combat - Cast 'Gravity Flux'"), +(@ENTRY,0,4,5,2,0,100,1,5,25,0,0,11,36848,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - Between 5-25% Health - Cast 'Mirror Image' (No Repeat)"), +(@ENTRY,0,5,0,61,0,100,0,5,25,0,0,11,36847,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - Between 5-25% Health - Cast 'Mirror Image' (No Repeat)"), +(@ENTRY,0,6,0,0,0,100,0,15000,25000,10000,30000,11,36527,0,0,0,0,0,5,0,0,0,0,0,0,0,"Nexus-King Salhadaar - In Combat - Cast 'Stasis'"), +(@ENTRY,0,7,8,7,0,100,0,0,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - On Evade - Set Faction 35"), +(@ENTRY,0,8,10,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,11,21425,20,0,0,0,0,0,"Nexus-King Salhadaar - On Evade - Set Data 1 1"), +(@ENTRY,0,9,0,38,0,100,0,1,1,0,0,23,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - On Data Set 1 1 - Increment Phase"), +(@ENTRY,0,10,0,61,0,100,0,0,0,0,0,22,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - On Evade - Set Event Phase 0"); + +-- Nexus-King Salhadaar SAI +SET @ENTRY := 21425; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Nexus-King Salhadaar - On Just Summoned - Start Attacking"), +(@ENTRY,0,1,0,38,0,100,0,1,1,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nexus-King Salhadaar - On Data Set 1 1 - Despawn Instant"); + +-- remove randmmovement +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (73277, 73278, 73279); + +-- Salaadin's Energy Ball SAI +SET @ENTRY := 20769; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,32566,0,0,0,0,0,1,0,0,0,0,0,0,0,"Salaadin's Energy Ball - On Respawn - Cast 'Purple Banish State' (No Repeat)"), +(@ENTRY,0,1,0,1,0,100,0,5000,5000,0,0,11,35515,0,0,0,0,0,9,20454,0,200,0,0,0,0,"Salaadin's Energy Ball - Out of Combat - Cast 'Salaadin's Tesla'"), +(@ENTRY,0,2,0,38,0,100,0,1,1,0,0,41,100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Salaadin's Energy Ball - On Data Set 1 1 - Despawn In 100 ms"); + +-- Protectorate Disruptor SAI +SET @ENTRY := 184561; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,1,0,100,1,0,0,0,0,45,1,1,0,0,0,0,19,20769,10,0,0,0,0,0,"Protectorate Disruptor - Out of Combat - Set Data 1 1 (No Repeat)"), +(@ENTRY,1,1,0,1,0,100,1,1000,1000,0,0,45,1,1,0,0,0,0,10,72462,20454,0,0,0,0,0,"Protectorate Disruptor - Out of Combat - Set Data 1 1 (No Repeat)"); + +DELETE FROM `creature_text` WHERE `entry` = 20454 AND `groupid` = 0; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`comment`, `BroadcastTextId`) VALUES +(20454, 0, 0, "Prepare to enter oblivion, meddlers. You have unleashed a god!", 14, 0, 100, "Nexus-King Salhadaar", 18443); + +DELETE FROM `creature_text` WHERE `entry` = 20454 AND `groupid` = 0; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`comment`, `BroadcastTextID`) VALUES +(20454, 0, 0, "Prepare to enter oblivion, meddlers. You have unleashed a god!", 14, 0, 100, "Nexus-King Salhadaar", 18443); + +DELETE FROM `disables` WHERE `sourceType`=0 AND `entry`=35515; +INSERT INTO `disables`(`sourceType`,`entry`,`flags`,`comment`) VALUES +(0,35515,64,'Ignore LOS on Salaadin\'s Tesla'); +-- Plagueborn Horror SAI +SET @ENTRY := 36879; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,5000,5000,10000,10000,11,69581,0,0,0,0,0,5,0,0,0,0,0,0,0,"Plagueborn Horror - In Combat - Cast 'Pustulant Flesh' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,5000,5000,10000,10000,11,70273,0,0,0,0,0,5,0,0,0,0,0,0,0,"Plagueborn Horror - In Combat - Cast 'Pustulant Flesh' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,6,8000,8000,8000,8000,11,70274,0,0,0,0,0,5,0,0,0,0,0,0,0,"Plagueborn Horror - In Combat - Cast 'Toxic Waste' (Dungeon)"), +(@ENTRY,0,3,0,2,0,100,6,15,15,0,0,11,69582,0,0,0,0,0,1,0,0,0,0,0,0,0,"Plagueborn Horror - Between 15-15% Health - Cast 'Blight Bomb' (Dungeon)"), +(@ENTRY,0,4,5,1,0,100,0,0,0,120000,120000,11,58051,2,0,0,0,0,1,0,0,0,0,0,0,0,"Plagueborn Horror - Out of Combat - Cast 'Summon Scourge Package'"), +(@ENTRY,0,5,0,61,0,100,0,0,0,120000,120000,11,69702,2,0,0,0,0,9,30887,0,4,0,0,0,0,"Plagueborn Horror - Out of Combat - Cast 'Rope'"), +(@ENTRY,0,6,0,4,0,100,0,0,0,0,0,45,1,1,0,0,0,0,9,30887,0,10,0,0,0,0,"Plagueborn Horror - On Aggro - Set Data 1 1"), +(@ENTRY,0,7,8,25,0,100,0,0,0,0,0,11,58051,2,0,0,0,0,1,0,0,0,0,0,0,0,"Plagueborn Horror - On Reset - Cast 'Summon Scourge Package'"), +(@ENTRY,0,8,0,61,0,100,0,0,0,0,0,11,63413,2,0,0,0,0,9,30887,0,5,0,0,0,0,"Plagueborn Horror - On Reset - Cast 'Rope Beam'"); + +UPDATE `creature` SET `spawndist`=15, `MovementType`=1 WHERE `guid` IN (201981, 201833, 202236, 201903); + +-- Scourge Package SAI +SET @ENTRY := 30887; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,29,3,40,0,0,0,0,7,0,0,0,0,0,0,0,"Scourge Package - On Just Summoned - Start Follow Invoker"), +(@ENTRY,0,1,0,54,0,100,0,0,0,0,0,87,@ENTRY*100+00,@ENTRY*100+01,@ENTRY*100+02,@ENTRY*100+03,0,0,1,0,0,0,0,0,0,0,"Scourge Package - On Just Summoned - Run Random Script"), +(@ENTRY,0,2,0,38,0,100,0,1,1,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Package - On Data Set 1 1 - Despawn In 1000 ms"); + +-- Actionlist SAI +SET @ENTRY := 3088700; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,11,58016,2,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Package - On Script - Cast 'Scourge Package Visual'"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Package - On Script - Set Faction 35"); + +-- Actionlist SAI +SET @ENTRY := 3088701; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,11,58022,2,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Cast 'Scourge Package Visual'"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Package - On Script - Set Faction 35"); + +-- Actionlist SAI +SET @ENTRY := 3088702; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,11,58020,2,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Cast 'Scourge Package Visual'"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Package - On Script - Set Faction 35"); + +-- Actionlist SAI +SET @ENTRY := 3088703; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,11,58023,2,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Cast 'Scourge Package Visual'"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,2,35,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Package - On Script - Set Faction 35"); +-- Volcor SAI +SET @ENTRY := 3692; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,19,0,100,0,994,0,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Volcor - On Quest 'Escape Through Force' Taken - Run Script"), +(@ENTRY,0,1,0,19,0,100,0,995,0,0,0,80,@ENTRY*100+01,0,0,0,0,0,1,0,0,0,0,0,0,0,"Volcor - On Quest 'Escape Through Stealth' Taken - Run Script"), +(@ENTRY,0,2,0,40,0,100,0,15,3692,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Volcor - On Waypoint 15 Reached - Despawn Instant"), +(@ENTRY,0,3,0,4,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Volcor - On Aggro - Say Line 1"); + +-- Actionlist SAI +SET @ENTRY := 369200; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Volcor - On Script - Say Line 0"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,53,0,3692,0,0,0,2,1,0,0,0,0,0,0,0,"Volcor - On Script - Start Waypoint"), +(@ENTRY,9,2,0,0,0,100,0,110000,110000,0,0,1,2,0,0,0,0,0,7,0,0,0,0,0,0,0,"Volcor - On Script - Say Line 2"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,15,994,0,0,0,0,0,7,0,0,0,0,0,0,0,"Volcor - On Script - Quest Credit 'Escape Through Force'"); + +-- Actionlist SAI +SET @ENTRY := 369201; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,3,0,0,0,0,0,0,"Volcor - On Script - Say Line 0"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,53,0,3692,0,0,0,2,1,0,0,0,0,0,0,0,"Volcor - On Script - Start Waypoint"), +(@ENTRY,9,2,0,0,0,100,0,110000,110000,0,0,1,3,0,0,0,0,0,7,0,0,0,0,0,0,0,"Volcor - On Script - Say Line 3"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,15,995,0,0,0,0,0,7,0,0,0,0,0,0,0,"Volcor - On Script - Quest Credit 'Escape Through Stealth'"); +-- +DELETE FROM `areatrigger_scripts` WHERE `entry` = 4479; +INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES +(4479, 'SmartTrigger'); +DELETE FROM `smart_scripts` WHERE `entryorguid` = 4479 AND `source_type` = 2; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(4479, 2, 0, 0, 46, 0, 100, 0, 4479, 0, 0, 0, 85, 33728, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger - On Trigger - Cast Teleport Shattrath'); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 4479 AND `SourceId` = 2; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 4479, 2, 0, 28, 0, 10280, 0, 0, 0, 0, '', 'Teleport only on Quest "Special Delivery to Shattrath City"'); +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=24 AND `SourceEntry`=522; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `Comment`) VALUES +(14, 24, 522, 0, 0, 8, 0, 770, 0, 0, 1, 0, 0, 'Show gossip text if player do not has quest 770 completed'); +-- Infiltrator Marksen SAI +SET @ENTRY := 5416; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,20,0,100,0,1391,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Quest 'Nothing But The Truth' Finished - Run Script"), +(@ENTRY,0,1,0,6,0,100,0,0,0,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Just Died - Say Line 4"); + +-- Actionlist SAI +SET @ENTRY := 541600; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Script - Say Line 0"), +(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,1,1,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Script - Say Line 1"), +(@ENTRY,9,2,0,0,0,100,0,4000,4000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Script - Say Line 2"), +(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Script - Say Line 3"), +(@ENTRY,9,4,0,0,0,100,0,1000,1000,0,0,3,0,10973,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Script - Morph To Model 10973"), +(@ENTRY,9,5,0,0,0,100,0,100,100,0,0,89,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Script - Start Random Movement"), +(@ENTRY,9,6,0,0,0,100,0,5000,5000,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Infiltrator Marksen - On Script - Kill Self"); + +DELETE FROM `creature_text` WHERE `entry`=5416; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(5416, 0, 0, '%s takes a big swig of ale.', 16, 0, 100, 0, 0, 0, 'Infiltrator Marksen',18019), +(5416, 1, 0, 'That was refreshing. Now there\'s information that needs to be told...', 12, 0, 100, 1, 0, 0, 'Infiltrator Marksen',18019), +(5416, 2, 0, 'I believe the Forsaken are misleading the allies of the Horde.... wait... I feel so... dizzy...', 12, 0, 100, 1, 0, 0, 'Infiltrator Marksen',18019), +(5416, 3, 0, '%s writhes in pain.', 16, 0, 100, 0, 0, 0, 'Infiltrator Marksen',18019), +(5416, 4, 0, 'AAAAAAAAAAAAAAAAARGH!', 12, 0, 100, 0, 0, 0, 'Infiltrator Marksen',18019); +-- +DELETE FROM `gossip_menu` WHERE `entry`=40060; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(40060, 2494), +(40060, 2493); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=40060 AND `SourceEntry` IN (2494, 2493); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `Comment`) VALUES +(14, 40060, 2494, 0, 0, 8, 0, 4023, 0, 0, 1, 0, 0, 'Show gossip text if player do not has quest 4023 completed'), +(14, 40060, 2493, 0, 1, 8, 0, 4022, 0, 0, 1, 0, 0, 'Show gossip text if player do not has quest 4022 completed'); +-- +SET @newestguid := 45208; +DELETE FROM `creature` WHERE `guid`=@newestguid AND `id`=25654; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`) VALUES +(@newestguid, 25654, 571, 1, 1, 0, 0, 4207.15, 4057.02, 91.6273, 1.38362, 300, 0, 0, 42, 0, 0, 0, 0, 0); +-- +SET @CGUID := 45212; +DELETE FROM `creature` WHERE `guid` IN (@CGUID); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID, 30082, 571, 1, 4, 7271.656, -878.8148, 926.0092, 5.532694, 600, 0, 0); + +DELETE FROM `spell_area` WHERE `spell`=55783 AND `area`=4432; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(55783, 4432, 12879, 12973, 0, 0, 2, 1, 66, 1); +-- +SET @CGUID := 45761; + +DELETE FROM `creature` WHERE `id`=26265; +INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES +(@CGUID, 26265, 571, 0, 0, 1, 1, 0, 0, 4031.15, 7326.39, 635.972, 4.26247, 300, 0, 0, 1, 0, 0, 0, 0, 0,0); + +UPDATE `creature_template` SET `ScriptName`='', `npcflag`=`npcflag`|1 WHERE `entry`=26206; +-- Keristrasza SAI +SET @ENTRY := 26206; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,62,0,100,0,9262,0,0,0,11,46772,0,0,0,0,0,7,0,0,0,0,0,0,0,"Keristrasza - On Gossip Option 0 Selected - Cast 'Teleport'"), +(@ENTRY,0,1,0,61,0,100,0,9262,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Keristrasza - On Gossip Option 0 Selected - Close Gossip"), +(@ENTRY,0,2,3,62,0,100,0,9262,1,0,0,11,46824,0,0,0,0,0,7,0,0,0,0,0,0,0,"Keristrasza - On Gossip Option 1 Selected - Cast 'Teleport'"), +(@ENTRY,0,3,0,61,0,100,0,9262,1,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Keristrasza - On Gossip Option 1 Selected - Close Gossip"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9262 AND `SourceEntry` IN (0, 1); +INSERT INTO `conditions` VALUES +(15, 9262, 0, 0, 0, 9, 0, 11957, 0, 0, 0, 0, 0, '', 'Only show gossip if player has quest 11957'), +(15, 9262, 1, 0, 0, 2, 0, 35709, 1, 0, 0, 0, 0, '', 'Only show gossip if player has item 35709'); + +-- Saragosa's End Invisman SAI +SET @ENTRY := 26265; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,8,0,100,0,46793,0,0,0,12,26231,5,0,0,0,0,8,0,0,0,4050.19,7329.25,635.97,3.34,"Saragosa's End Invisman - On Spellhit 'Activate Power Focus' - Summon Creature 'Saragosa'"), +(@ENTRY,0,1,0,61,0,100,0,46793,0,0,0,11,46789,0,0,0,0,0,1,0,0,0,0,0,0,0,"Saragosa's End Invisman - On Spellhit 'Activate Power Focus' - Cast 'Blue Power Focus'"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=26265; +INSERT INTO `conditions` VALUES +(22, 1, 26265, 0, 0, 29, 0, 26231, 40, 0, 1, 0, 0, '', 'Only summon Saragosa if there is not already one in range'), +(22, 1, 26265, 0, 0, 29, 0, 26232, 40, 0, 1, 0, 0, '', 'Only summon Saragosa if there is not already one in range'); + +-- Activate Power Focus (46793) +DELETE FROM `event_scripts` WHERE `id`=17452; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=46793; +INSERT INTO `conditions` VALUES +(13, 1, 46793, 0, 0, 31, 0, 3, 26265, 0, 0, 0, 0, '', 'Target needs to be Saragosa''s End Invisman'); + +UPDATE `creature_template` SET `ScriptName`='', `unit_flags`=`unit_flags`|768, `flags_extra`=`flags_extra`|2 WHERE `entry`=26231; +-- Saragosa SAI +SET @ENTRY := 26231; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,6000,6000,0,0,28,46789,0,0,0,0,0,19,26265,40,0,0,0,0,0,"Saragosa - Out of Combat - Remove Aura 'Blue Power Focus' (No Repeat)"), +(@ENTRY,0,1,2,1,0,100,1,12000,12000,0,0,12,26232,1,120000,0,0,0,1,0,0,0,0,0,0,0,"Saragosa - Out of Combat - Summon Creature 'Saragosa' (No Repeat)"), +(@ENTRY,0,2,0,61,0,100,0,12000,12000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Saragosa - Out of Combat - Despawn Instant (No Repeat)"); + +UPDATE `creature_template` SET `ScriptName`='', `flags_extra`=`flags_extra`|2 WHERE `entry`=26232; +-- Saragosa SAI +SET @ENTRY := 26232; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,40,3400,6200,11,51779,0,0,0,0,0,2,0,0,0,0,0,0,0,"Saragosa - In Combat - Cast 'Frostfire Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,8500,17500,20100,40100,11,15063,0,0,0,0,0,2,0,0,0,0,0,0,0,"Saragosa - In Combat - Cast 'Frost Nova'"); +-- +SET @CGUID := 56502; -- needs 3 +DELETE FROM `creature` WHERE `guid` IN (@CGUID+0, @CGUID+1, @CGUID+2); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 26620, 600, 3, 1, -522.7039, -605.9083, 1.299988, 2.6529, 7200, 0, 0), -- 26620 (Area: 4196) (Auras: 47503 - 47503) +(@CGUID+1, 26620, 600, 3, 1, -518.0062, -599.1102, 1.10835, 3.054326, 7200, 0, 0), -- 26620 (Area: 4196) (Auras: 47503 - 47503) +(@CGUID+2, 26626, 600, 3, 1, -511.0887, -602.5585, 2.56744, 3.193953, 7200, 0, 0); -- 26626 (Area: 4196) + +DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+0, @CGUID+1); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@CGUID+0, 0, 0, 0, 0, 0, '47503'), +(@CGUID+1, 0, 0, 0, 0, 0, '47503'); + +UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid`=26626 AND `source_type`=0 AND `id`=0 AND `link`=1; + +-- Scourge Reanimator SAI +SET @GUID := -@CGUID+2; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=26626; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,2,25,0,100,1,0,0,0,0,80,2662600,2,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Reset - Run Script (No Repeat)"), +(@GUID,0,1,0,40,0,100,0,1,2662600,0,0,80,2662601,2,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Waypoint 1 Reached - Run Script"); + +-- Actionlist SAI +SET @ENTRY := 2662600; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Script - Say Line 0"), +(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,53,1,2662600,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Script - Start Waypoint"); + +-- Actionlist SAI +SET @ENTRY := 2662601; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,@CGUID,26620,0,0,0,0,0,"Scourge Reanimator - On Script - Set Data 1 1"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,@CGUID+1,26620,0,0,0,0,0,"Scourge Reanimator - On Script - Set Data 1 1"), +(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,11,48597,0,0,0,0,0,10,@CGUID+1,26620,0,0,0,0,0,"Scourge Reanimator - On Script - Cast 'Raise Dead'"), +(@ENTRY,9,3,0,0,0,100,0,2000,2000,0,0,12,26635,3,600000,0,0,0,8,0,0,0,-536.830505,-578.793091,1.91333,1.774444,"Scourge Reanimator - On Script - Summon Creature 'Risen Drakkari Warrior'"), +(@ENTRY,9,4,0,0,0,100,0,3000,3000,0,0,11,48597,0,0,0,0,0,10,@CGUID,26620,0,0,0,0,0,"Scourge Reanimator - On Script - Cast 'Raise Dead'"), +(@ENTRY,9,5,0,0,0,100,0,2000,2000,0,0,12,26635,3,600000,0,0,0,8,0,0,0,-543.121582,-582.083313,1.025425,2.120673,"Scourge Reanimator - On Script - Summon Creature 'Risen Drakkari Warrior'"), +(@ENTRY,9,6,0,0,0,100,0,4000,4000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Script - Say Line 2"), +(@ENTRY,9,7,0,0,0,100,0,0,0,0,0,11,47506,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Script - Cast 'Teleport'"), +(@ENTRY,9,8,0,0,0,100,0,1500,1500,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Script - Despawn Instant"); + +DELETE FROM `waypoints` WHERE `entry`=2662600; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(2662600, 1, -533.262695, -591.052856, 2.484161, 'Scourge Reanimator'); + +-- Drakkari Guardian SAI +SET @GUID := -@CGUID; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=26620; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,1,2000,2000,0,0,69,0,0,0,0,0,0,8,0,0,0,-543.121582,-582.083313,1.025425,2.120673,"Drakkari Guardian - Out of Combat - Move To Position (No Repeat)"), +(@GUID,0,1,0,38,0,100,0,1,1,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drakkari Guardian - On Data Set 1 1 - Kill Self"); + +-- Drakkari Guardian SAI +SET @GUID := -@CGUID+1; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=26620; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,1,2000,2000,0,0,69,0,0,0,0,0,0,8,0,0,0,-536.830505,-578.793091,1.913330,1.774444,"Drakkari Guardian - Out of Combat - Move To Position (No Repeat)"), +(@GUID,0,1,0,38,0,100,0,1,1,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drakkari Guardian - On Data Set 1 1 - Kill Self"); + +-- Risen Drakkari Warrior SAI +SET @ENTRY := 26635; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,6,1000,3000,5000,9500,11,36093,0,0,0,0,0,2,0,0,0,0,0,0,0,"Risen Drakkari Warrior - In Combat - Cast 'Ghost Strike' (Dungeon)"), +(@ENTRY,0,1,0,0,0,100,6,1000,3000,7250,10000,11,33661,0,0,0,0,0,2,0,0,0,0,0,0,0,"Risen Drakkari Warrior - In Combat - Cast 'Crush Armor' (Dungeon)"), +(@ENTRY,0,2,0,54,0,100,0,0,0,0,0,89,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Risen Drakkari Warrior - On Just Summoned - Start Random Movement"); + +DELETE FROM `creature_text` WHERE `entry`=26626; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(26626, 0, 0, 'Don''t be so quick to escape! I have a parting gift....', 14, 0, 100, 0, 0, 0, 26474, 0, 'Scourge Reanimator'), +(26626, 1, 0, 'Rise my warriors and fight for your new liege!', 14, 0, 100, 0, 0, 0, 26464, 0, 'Scourge Reanimator'), +(26626, 2, 0, 'Please enjoy their company, the Lich King sends his regards!', 14, 0, 100, 0, 0, 0, 26473, 0, 'Scourge Reanimator'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=48597; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 48597, 0, 0, 31, 0, 3, 26620, 0, 0, 0, 0, '', 'Raise Dead - only targets Drakkari Guardian'); + +DELETE FROM `creature` WHERE `guid` IN (127436, 127437); +-- +DELETE FROM `creature_addon` WHERE `guid` IN (127436, 127437); +DELETE FROM `linked_respawn` WHERE `guid` IN (127436, 127437); +DELETE FROM `spell_script_names` WHERE `spell_id`=8283 AND `ScriptName`='spell_snufflenose_command'; +UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=26206; +-- +UPDATE `smart_scripts` SET `action_param1`=1 WHERE `entryorguid`=83600 AND `source_type`=9 AND `id`=2 AND `link`=0; +-- +DELETE FROM `spell_target_position` WHERE `id` in (50859); +-- +DELETE FROM `gameobject_template` WHERE `entry` IN (193977,193978); +INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `faction`, `flags`, `size`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES +(193977, 22, 8532, 'Bottle of Peaked Dalaran Red', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 61064, 5, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', -18019), +(193978, 22, 8531, 'Cask of Peaked Dalaran Red', '', '', '', 0, 0, 0.8, 0, 0, 0, 0, 0, 0, 61064, 25, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', -18019); +-- +SET @CGUID := 56502; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=11789; +UPDATE `smart_scripts` SET `link`=0 WHERE `entryorguid`=-56500 AND `source_type`=0 AND `id`=0 AND `link`=2; + +-- Scourge Reanimator SAI +SET @GUID := -(@CGUID+2); +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=26626; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,25,0,100,1,0,0,0,0,80,2662600,2,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Reset - Run Script (No Repeat)"), +(@GUID,0,1,0,40,0,100,0,1,2662600,0,0,80,2662601,2,0,0,0,0,1,0,0,0,0,0,0,0,"Scourge Reanimator - On Waypoint 1 Reached - Run Script"); + +-- Drakkari Guardian SAI +SET @GUID := -(@CGUID); +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=26620; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,1,2000,2000,0,0,69,0,0,0,0,0,0,8,0,0,0,-543.121582,-582.083313,1.025425,2.120673,"Drakkari Guardian - Out of Combat - Move To Position (No Repeat)"), +(@GUID,0,1,0,38,0,100,0,1,1,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drakkari Guardian - On Data Set 1 1 - Kill Self"); + +-- Drakkari Guardian SAI +SET @GUID := -(@CGUID+1); +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=26620; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,1,2000,2000,0,0,69,0,0,0,0,0,0,8,0,0,0,-536.830505,-578.793091,1.913330,1.774444,"Drakkari Guardian - Out of Combat - Move To Position (No Repeat)"), +(@GUID,0,1,0,38,0,100,0,1,1,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drakkari Guardian - On Data Set 1 1 - Kill Self"); +-- +-- Tome of Mel'Thandris SAI +SET @ENTRY := 19027; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,12,3946,2,40000,0,0,0,8,0,0,0,3169.15,-1211.71,216.95,4.59,"Tome of Mel'Thandris - On Gameobject State Changed - Summon Creature 'Velinde Starsong'"); + +UPDATE `creature_template` SET `AIName`='' WHERE `entry`=11789; +DELETE FROM `smart_scripts` WHERE `entryorguid`=-56500; +-- +-- King Mrgl-Mrgl SAI +SET @ENTRY := 25197; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,1,0,19,0,100,0,11571,0,0,0,11,45328,0,0,0,0,0,7,0,0,0,0,0,0,0,"King Mrgl-Mrgl - On Quest 'Learning to Communicate' Taken - Cast 'Water Breathing'"); + +DELETE FROM `creature_text` WHERE `entry` IN(18927,19171,19175,19177,19173,19172,19176,19148,19178,19169,20102) AND `groupid`=0; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES +(19178, 0, 0, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 1, 100, 0, 0, 0, 24334, 'Forsaken Commoner to Forsaken Commoner'), +(19178, 0, 1, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 1, 100, 0, 0, 0, 24333, 'Forsaken Commoner to Forsaken Commoner'), +(19178, 0, 2, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 1, 100, 0, 0, 0, 24335, 'Forsaken Commoner to Forsaken Commoner'), +(19178, 0, 3, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 1, 100, 396, 0, 0, 24333, 'Forsaken Commoner to Forsaken Commoner'), +(19178, 0, 4, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 1, 100, 0, 0, 0, 24332, 'Forsaken Commoner to Forsaken Commoner'), +(19178, 0, 5, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 1, 100, 6, 0, 0, 24332, 'Forsaken Commoner to Forsaken Commoner'), +(19169, 0, 0, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 1, 100, 0, 0, 0, 24332, 'Blood Elf Commoner to Blood Elf Commoner'), +(19169, 0, 1, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 1, 100, 0, 0, 0, 24334, 'Blood Elf Commoner to Blood Elf Commoner'), +(19169, 0, 2, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 1, 100, 0, 0, 0, 24333, 'Blood Elf Commoner to Blood Elf Commoner'), +(19169, 0, 3, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 1, 100, 0, 0, 0, 24335, 'Blood Elf Commoner to Blood Elf Commoner'), +(19169, 0, 4, 'The festival of the moon was ever more important to the kaldorei. The great festival of the druids is surely in full swing.', 12, 1, 100, 0, 0, 0, 16171, 'Blood Elf Commoner to Blood Elf Commoner'), +(19176, 0, 0, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 1, 100, 0, 0, 0, 24333, 'Tauren Commoner to Tauren Commoner'), +(19176, 0, 1, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 1, 100, 0, 0, 0, 24332, 'Tauren Commoner to Tauren Commoner'), +(19176, 0, 2, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 1, 100, 0, 0, 0, 24335, 'Tauren Commoner to Tauren Commoner'), +(19176, 0, 3, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 1, 100, 0, 0, 0, 24334, 'Tauren Commoner to Tauren Commoner'), +(19175, 0, 0, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 1, 100, 0, 0, 0, 24332, 'Orc Commoner to Orc Commoner'), +(19175, 0, 1, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 1, 100, 0, 0, 0, 24335, 'Orc Commoner to Orc Commoner'), +(19175, 0, 2, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 1, 100, 0, 0, 0, 24333, 'Orc Commoner to Orc Commoner'), +(19175, 0, 3, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 1, 100, 274, 0, 0, 24334, 'Orc Commoner to Orc Commoner'), +(19175, 0, 4, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 1, 100, 274, 0, 0, 24335, 'Orc Commoner to Orc Commoner'), +(19177, 0, 0, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 1, 100, 0, 0, 0, 24333, 'Troll Commoner to Troll Commoner'), +(19177, 0, 1, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 1, 100, 0, 0, 0, 24334, 'Troll Commoner to Troll Commoner'), +(19177, 0, 2, 'We should go to Moonglade to see the druids'' great festival of the moon.', 12, 1, 100, 0, 0, 0, 0, 'Troll Commoner to Troll Commoner'), +(19177, 0, 3, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 1, 100, 0, 0, 0, 24335, 'Troll Commoner to Troll Commoner'), +(19172, 0, 0, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 7, 100, 0, 0, 0, 24351, 'Gnome Commoner to Gnome Commoner'), +(19172, 0, 1, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 7, 100, 0, 0, 0, 24350, 'Gnome Commoner to Gnome Commoner'), +(19172, 0, 2, 'Lunar Festival is the best time of year for fireworks!', 12, 7, 100, 0, 0, 0, 0, 'Gnome Commoner to Gnome Commoner'), +(19172, 0, 3, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 7, 100, 0, 0, 0, 24352, 'Gnome Commoner to Gnome Commoner'), +(19171, 0, 0, 'It is no surprise that the people of this land hold a great festival of the moon. I should very much like to go to Moonglade to attend it.', 12, 7, 100, 6, 0, 0, 17428, 'Draenei Commoner to Draenei Commoner'), +(19171, 0, 1, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 7, 100, 274, 0, 0, 24351, 'Draenei Commoner to Draenei Commoner'), +(19171, 0, 2, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 7, 100, 0, 0, 0, 24351, 'Draenei Commoner to Draenei Commoner'), +(19171, 0, 3, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 7, 100, 0, 0, 0, 24352, 'Draenei Commoner to Draenei Commoner'), +(19171, 0, 4, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 7, 100, 273, 0, 0, 24351, 'Draenei Commoner to Draenei Commoner'), +(19171, 0, 5, 'It is no surprise that the people of this land hold a great festival of the moon. I should very much like to go to Moonglade to attend it.', 12, 7, 100, 273, 0, 0, 17428, 'Draenei Commoner to Draenei Commoner'), +(19171, 0, 6, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 7, 100, 0, 0, 0, 24350, 'Draenei Commoner to Draenei Commoner'), +(19173, 0, 0, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 7, 100, 0, 0, 0, 24350, 'Night Elf Commoner to Night Elf Commoner'), +(19173, 0, 1, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 7, 100, 0, 0, 0, 24351, 'Night Elf Commoner to Night Elf Commoner'), +(19173, 0, 2, 'The Lunar Festival holds special meaning for the night elves. We seek out the wisdom of our elders across the world.', 12, 7, 100, 396, 0, 0, 16156, 'Night Elf Commoner to Night Elf Commoner'), +(19173, 0, 3, 'The Lunar Festival holds special meaning for the night elves. We seek out the wisdom of our elders across the world.', 12, 7, 100, 0, 0, 0, 16156, 'Night Elf Commoner to Night Elf Commoner'), +(19173, 0, 4, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 7, 100, 0, 0, 0, 24349, 'Night Elf Commoner to Night Elf Commoner'), +(18927, 0, 0, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 7, 100, 0, 0, 0, 24349, 'Human Commoner to Human Commoner'), +(18927, 0, 1, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 7, 100, 0, 0, 0, 24351, 'Human Commoner to Human Commoner'), +(18927, 0, 2, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 7, 100, 0, 0, 0, 24352, 'Human Commoner to Human Commoner'), +(18927, 0, 3, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 7, 100, 274, 0, 0, 24349, 'Human Commoner to Human Commoner'), +(18927, 0, 4, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 7, 100, 274, 0, 0, 24352, 'Human Commoner to Human Commoner'), +(18927, 0, 5, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 7, 100, 0, 0, 0, 24350, 'Human Commoner to Human Commoner'), +(19148, 0, 0, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 7, 100, 396, 0, 0, 24352, 'Dwarf Commoner to Dwarf Commoner'), +(19148, 0, 1, 'The Lunar Festival is a special time for us. We seek out our ancient elders, the Earthen, and pay homage to them.', 12, 7, 100, 396, 0, 0, 16153, 'Dwarf Commoner to Dwarf Commoner'), +(19148, 0, 2, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 7, 100, 0, 0, 0, 0, 'Dwarf Commoner to Dwarf Commoner'), +(19148, 0, 3, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 7, 100, 0, 0, 0, 24349, 'Dwarf Commoner to Dwarf Commoner'), +(19148, 0, 4, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 7, 100, 0, 0, 0, 24352, 'Dwarf Commoner to Dwarf Commoner'), +(19148, 0, 5, 'The Lunar Festival is a special time for us. We seek out our ancient elders, the Earthen, and pay homage to them.', 12, 7, 100, 0, 0, 0, 16153, 'Dwarf Commoner to Dwarf Commoner'), +(19148, 0, 6, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 7, 100, 0, 0, 0, 24350, 'Dwarf Commoner to Dwarf Commoner'), +(20102, 0, 0, 'During the Lunar Festival, we should take time to seek out our elders and consider their wisdom.', 12, 0, 100, 0, 0, 0, 16466, 'Goblin Commoner to Goblin Commoner'), +(20102, 0, 1, 'Legend says that the great beast Omen sleeps in the waters of Lake Elune''ara in Moonglade, only to appear once a year. But that''s just a legend.', 12, 0, 100, 0, 0, 0, 16465, 'Goblin Commoner to Goblin Commoner'), +(20102, 0, 2, 'Have you seen the fireworks? This is the best time of year to buy them.', 12, 0, 100, 0, 0, 0, 16467, 'Goblin Commoner to Goblin Commoner'), +(20102, 0, 3, 'The druids of Nighthaven are holding a great celebration in Moonglade for the Lunar Festival.', 12, 0, 100, 0, 0, 0, 16468, 'Goblin Commoner to Goblin Commoner'); + + +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(18927,19171,19175,19177,19173,19172,19176,19148,19169,19178,20102) AND `source_type`=0 AND `id`IN(0,10); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18927,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Human Commoner - OOC - Say'), +(19171,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Dreani Commoner - OOC - Say'), +(19175,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Orc Commoner - OOC - Say'), +(19177,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Troll Commoner - OOC - Say'), +(19173,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Night Elf Commoner - OOC - Say'), +(19172,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gnome Commoner - OOC - Say'), +(19176,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tauren Commoner - OOC - Say'), +(19148,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Dwarf Commoner - OOC - Say'), +(20102,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Goblin Commoner - OOC - Say'), +(19178,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Forsaken Commoner - OOC - Say'), +(19169,0,0,0,1,0,100,0,3000,15000,45000,90000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Blood Elf Commoner - OOC - Say'), + +(18927,0,10,0,64,0,100,0,0,0,0,0,98,7898, 9662,0,0,0,0,7,0,0,0,0,0,0,0,'Human Commoner - On Gossip Hello - Send Gossip Menu'), +(19148,0,10,0,64,0,100,0,0,0,0,0,98,7923, 9688,0,0,0,0,7,0,0,0,0,0,0,0,'Dwarf Commoner - On Gossip Hello - Send Gossip Menu'), +(19169,0,10,0,64,0,100,0,0,0,0,0,98,7921, 9700,0,0,0,0,7,0,0,0,0,0,0,0,'Blood Elf Commoner - On Gossip Hello - Send Gossip Menu'), +(19171,0,10,0,64,0,100,0,0,0,0,0,98,7922, 9696,0,0,0,0,7,0,0,0,0,0,0,0,'Draeni Commoner - On Gossip Hello - Send Gossip Menu'), +(19172,0,10,0,64,0,100,0,0,0,0,0,98,7931, 1915,0,0,0,0,7,0,0,0,0,0,0,0,'Gnome Commoner - On Gossip Hello - Send Gossip Menu'), +(19173,0,10,0,64,0,100,0,0,0,0,0,98,7924, 9692,0,0,0,0,7,0,0,0,0,0,0,0,'Night Elf Commoner - On Gossip Hello - Send Gossip Menu'), +(19175,0,10,0,64,0,100,0,0,0,0,0,98,7925, 9704,0,0,0,0,7,0,0,0,0,0,0,0,'Orc Commoner - On Gossip Hello - Send Gossip Menu'), +(19176,0,10,0,64,0,100,0,0,0,0,0,98,7926, 9708,0,0,0,0,7,0,0,0,0,0,0,0,'Tauren Commoner - On Gossip Hello - Send Gossip Menu'), +(19177,0,10,0,64,0,100,0,0,0,0,0,98,7935, 9716,0,0,0,0,7,0,0,0,0,0,0,0,'Troll Commoner - On Gossip Hello - Send Gossip Menu'), +(19178,0,10,0,64,0,100,0,0,0,0,0,98,7927, 9712,0,0,0,0,7,0,0,0,0,0,0,0,'Forsaken Commoner - On Gossip Hello - Send Gossip Menu'), +(20102,0,10,0,64,0,100,0,0,0,0,0,98,8064, 9964,0,0,0,0,7,0,0,0,0,0,0,0,'Goblin Commoner - On Gossip Hello - Send Gossip Menu'); + + + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` in(18927,19171,19175,19177,19173,19172,19176,19148,19169,19178,20102) AND `SourceGroup` IN(1,11); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 18927, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19148, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19169, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19171, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19172, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19173, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19175, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19176, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19177, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 19178, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 1, 20102, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), + +(22, 11, 18927, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19148, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19169, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19171, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19172, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19173, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19175, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19176, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19177, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 19178, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'), +(22, 11, 20102, 0, 0, 12, 1, 7, 0, 0, 0, 0, 0, '', 'Commoner - Luna Festival must be active'); + +DELETE FROM `gossip_menu` WHERE `entry` IN(7931,7926,7925,7924,7898,7923,7921,7927,7935,7922,8064); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(7931, 1915), -- 19172 +(7926, 9708), -- 19176 +(7925, 9704), -- 19175* +(7924, 9692), -- 19173* +(7898, 9662), -- 18927* +(7923, 9688), -- 19148* +(7921, 9700), -- 19169* +(7927, 9712), -- 19178* +(7935, 9716), -- 19177* +(7922, 9696), -- 19171* +(8064, 9964); -- 20102* + +DELETE FROM `npc_text` WHERE `ID` IN(9715,9708); +INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `prob0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `BroadcastTextID1`, `lang1`, `prob1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `BroadcastTextID2`, `lang2`, `prob2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `BroadcastTextID3`, `lang3`, `prob3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `BroadcastTextID4`, `lang4`, `prob4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `BroadcastTextID5`, `lang5`, `prob5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `BroadcastTextID6`, `lang6`, `prob6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `BroadcastTextID7`, `lang7`, `prob7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `VerifiedBuild`) VALUES +(9715, 'Go to Ironforge''s Mystic Ward and speak with the night elf druids there. They can transport you to Moonglade to join in the Lunar Festival celebration.', 'Go to Ironforge''s Mystic Ward and speak with the night elf druids there. They can transport you to Moonglade to join in the Lunar Festival celebration.', 16214, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(9708, 'The largest celebration of the Lunar Festival takes place in Moonglade. Druids will transport you there from the Elder Rise of Thunder Bluff.', 'The largest celebration of the Lunar Festival takes place in Moonglade. Druids will transport you there from the Elder Rise of Thunder Bluff.', 16201, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); + +-- +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (2248200,2203800) AND `source_type`=9 AND `id` IN (2, 3, 4); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(2248200, 9, 2, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Mature Bone Sifter - Script - Set Agressive'), +(2248200, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 19, 33554432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Mature Bone Sifter - Script - Remove UnitFlag'), +(2248200, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Mature Bone Sifter - Script - Root'), +(2203800, 9, 2, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Hai shulud <The Bone Emperor> - Script - Set Agressive'), +(2203800, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 19, 33554432, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Hai shulud <The Bone Emperor> - Script - Remove UnitFlag'), +(2203800, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Hai shulud <The Bone Emperor> - Script - Root'); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=16968 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16968,0,0,1,4,0,100,0,0,0,0,0,19,33554432,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tunneler - On Aggro - Remove UNIT_FLAG_NOT_SELECTABLE'), +(16968,0,1,2,61,0,100,0,0,0,0,0,28,29147,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tunneler - Link With Previous - Remove Tunnel Bore Passive'), +(16968,0,2,3,61,0,100,0,0,0,0,0,11,37752,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tunneler - Link With Previous - Cast Stand'), +(16968,0,3,0,61,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tunneler - Link With Previous - Root'), +(16968,0,4,5,25,0,100,0,0,0,0,0,11,29147,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tunneler - Spawn/Respawn/OOC - Cast Tunnel Bore Passive'), +(16968,0,5,6,61,0,100,0,0,0,0,0,18,33554432,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tunneler - Link With Previous Set UNIT_FLAG_NOT_SELECTABLE'), +(16968,0,6,0,61,0,100,0,0,0,0,0,11,37751,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tunneler - Link With Previous - Cast Submerge'), +(16968,0,7,0,0,0,100,0,1000,1000,2100,4500,11,31747,0,0,0,0,0,2,0,0,0,0,0,0,0,'Tunneler - In Combat - Cast Poison'), +(16968,0,8,0,0,0,100,0,10400,10400,45000,50000,11,32738,0,0,0,0,0,2,0,0,0,0,0,0,0,'Tunneler - In Combat - Cast Bore'), +(16968,0,9,0,2,0,100,0,0,30,8000,8000,11,32714,1,0,0,0,0,1,0,0,0,0,0,0,0,"Tunneler - Between 0-30% Health - Cast 8599"); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=21849; +DELETE FROM `smart_scripts` WHERE `entryorguid`=21849 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21849,0,0,1,4,0,100,0,0,0,0,0,19,33554432,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bone Crawler - On Aggro - Remove UNIT_FLAG_NOT_SELECTABLE'), +(21849,0,1,2,61,0,100,0,0,0,0,0,28,38885,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bone Crawler - Link With Previous - Remove Tunnel Bore Passive'), +(21849,0,2,3,61,0,100,0,0,0,0,0,11,37752,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bone Crawler - Link With Previous - Cast Stand'), +(21849,0,3,0,61,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bone Crawler - Link With Previous - Root'), +(21849,0,4,5,25,0,100,0,0,0,0,0,11,38885,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bone Crawler - Spawn/Respawn/OOC - Cast Tunnel Bore Passive'), +(21849,0,5,6,61,0,100,0,0,0,0,0,18,33554432,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bone Crawler - Link With Previous Set UNIT_FLAG_NOT_SELECTABLE'), +(21849,0,6,0,61,0,100,0,0,0,0,0,11,37751,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bone Crawler - Link With Previous - Cast Submerge'), +(21849,0,7,0,0,0,100,0,1000,1000,2100,4500,11,31747,0,0,0,0,0,2,0,0,0,0,0,0,0,'Bone Crawler - In Combat - Cast Poison'), +(21849,0,8,0,0,0,100,0,10400,10400,45000,50000,11,32738,0,0,0,0,0,2,0,0,0,0,0,0,0,'Bone Crawler - In Combat - Cast Bore'); +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=-56501; +-- +SET @CGUID := 49137; +DELETE FROM `creature` WHERE `guid` IN (@CGUID); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID, 30142, 571, 1, 1, 8392.7, -1970.14, 1461.84, 0.0948219, 600, 0, 0); + +SET @OGUID := 5501; +DELETE FROM `gameobject` WHERE `guid`= @OGUID; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `rotation2`, `rotation3`, `animprogress`, `state`) VALUES +(@OGUID, 192243, 571, 1, 1, 8531.9, -1971.44, 1467.57, -0.837757, 300, -0.406736, 0.913546, 100, 1); + +UPDATE `creature_template` SET `unit_flags`=32832 WHERE `entry`=29730; +-- +SET @CGUID := 49141; + +SET @Loken := 30396; +SET @Thorim := 30399; +SET @Veranus:= 30420; +SET @Servant:= 30429; + +UPDATE `creature_template` SET `gossip_menu_id`=9928, `minlevel`=82, `maxlevel`=82, `npcflag`=1, `speed_walk`=4.8, `speed_run`=3.142857, `rank`=3, `unit_flags`=320, `unit_flags2`=2099200, `AIName`='SmartAI', `type_flags`=0 WHERE `entry`=@Thorim; -- thorim +UPDATE `creature_template` SET `faction`=14, `speed_walk`=1.6, `speed_run`=1.857143, `unit_flags`=320, `unit_flags2`=2099200, `AIName`='SmartAI' WHERE `entry`=@Loken; -- loken +UPDATE `creature_template` SET `speed_walk`=3.2, `speed_run`=1.428571, `unit_flags`=33088, `unit_flags2`=2099200, `AIName`='SmartAI', `HoverHeight`=2.1, `InhabitType`=4 WHERE `entry`=@Veranus; +UPDATE `creature_template` SET `faction`=2102, `unit_flags`=320,`AIName`='SmartAI' WHERE `entry`=@Servant; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(@Thorim*100,@Loken*100) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid`IN(@Thorim,@Loken,@Veranus,@Servant) AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@Loken,0,0,1,38,0,100,0,1,1,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - On Data Set 1 1 - Set Bytes 1"), +(@Loken,0,1,0,61,0,100,0,0,0,0,0,80,@Loken*100,2,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - On Data Set 1 1 - Run Script"), +(@Veranus,0,0,0,38,0,100,0,1,1,0,0,69,0,0,0,0,0,0,8,0,0,0,8609.171875, -636.665955, 967.317383, 2.124008,"Veranus - On Data Set 1 1 - move to pos"), +(@Veranus,0,1,2,38,0,100,0,2,2,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0,"Veranus - On Data Set 2 2 - Cast Ethereal Teleport"), +(@Veranus,0,2,0,61,0,100,0,0,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Veranus - On Data Set 2 2 - Despawn After 1 Seconds"), +(@Veranus,0,3,0,1,0,100,0,160000,160000,160000,160000,70,0,0,0,0,0,0,10,@CGUID,@Thorim,0,0,0,0,0,"Veranus - Ooc - respawn target"), +(@Servant,0,0,1,38,0,100,0,2,2,0,0,11,34427,0,0,0,0,0,1,0,0,0,0,0,0,0,"Runeforged Servant <Servant of Loken> - On Data Set 2 2 - Cast Ethereal Teleport"), +(@Servant,0,1,2,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,10,@CGUID,@Thorim,0,0,0,0,0,"Runeforged Servant <Servant of Loken> - On Data Set 2 2 - Despawn After 1 Seconds"), +(@Servant,0,2,3,61,0,100,0,0,0,0,0,41,0,0,0,0,0,0,19,@Loken,30,0,0,0,0,0,"Runeforged Servant <Servant of Loken> - On Data Set 2 2 - Despawn After 1 Seconds"), +(@Servant,0,3,0,61,0,100,0,0,0,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Runeforged Servant <Servant of Loken> - On Data Set 2 2 - Despawn After 1 Seconds"), +(@Thorim,0,0,1,62,0,100,0,9928,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Thorim - On Gossip Option select - Store Targetlist"), +(@Thorim,0,1,2,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Thorim - On Gossip Option select - Close Gossip"), +(@Thorim,0,2,3,61,0,100,0,0,0,0,0,28,54503,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - On Gossip Option select - remove aura"), +(@Thorim,0,3,0,61,0,100,0,0,0,0,0,80,@Thorim*100,2,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - On Gossip Option select - Run Script"), +(@Thorim,0,4,0,40,0,100,0,2,@Thorim,0,0,1,1,0,0,0,0,0,19,@Loken,30,0,0,0,0,0,"Thorim - On Reached WP2 - Say Line 2"), +(@Thorim,0,5,0,40,0,100,0,3,@Thorim,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - On Reached WP3 - Set Home Position"), +(@Thorim,0,6,0,8,0,100,0,56696,0,0,0,100,1,0,0,0,0,0,19,@Loken,30,0,0,0,0,0,"Thorim - On Spellhit (Loken - Defeat Thorim) - Send Target List to Loken"), +(@Thorim,0,7,0,9,0,100,0,0,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - On Spawn - Set Invincibility hp"), +(@Thorim,0,8,0,25,0,100,0,1,1,0,0,75,54503,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - On Reset - Add aura"), +(@Loken*100,9,0,0,0,0,100,0,0,0,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Set Run On"), +(@Loken*100,9,1,0,0,0,100,0,0,0,0,0,17,30,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - set stand none"), +(@Loken*100,9,2,0,0,0,100,0,2000,2000,0,0,11,56677,0,0,0,0,0,19,@Thorim,30,0,0,0,0,0,"Loken - Script - Cast Loken's Knockback"), +(@Loken*100,9,3,0,0,0,100,0,3000,3000,0,0,69,0,0,0,0,0,0,8,0,0,0,8591.518555, -610.456604, 925.558228, 5.241327,"Loken - Script - Say Line 1"), +(@Loken*100,9,5,0,0,0,100,0,5000,5000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Say Line 1"), +(@Loken*100,9,6,0,0,0,100,0,1000,1000,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Play emote 25"), +(@Loken*100,9,7,0,0,0,100,0,5000,5000,0,0,69,0,0,0,0,0,0,8,0,0,0,8577.214844, -596.050659, 925.558289, 5.372476,"Loken - Script - Say Line 1"), +(@Loken*100,9,8,0,0,0,100,0,7000,7000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Say Line 2"), +(@Loken*100,9,9,0,0,0,100,0,7000,7000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Say Line 3"), +(@Loken*100,9,10,0,0,0,100,0,6000,6000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Say Line 4"), +(@Loken*100,9,11,0,0,0,100,0,1000,1000,0,0,75,56696,0,0,0,0,0,10,@CGUID,@Thorim,0,0,0,0,0,"Loken - Script - Cast Loken - Defeat Thorim"), +(@Loken*100,9,12,0,0,0,100,0,0,0,0,0,11,46846,0,0,0,0,0,10,@CGUID,@Thorim,0,0,0,0,0,"Loken - Script - Cast Loken - Defeat Thorim"), +(@Loken*100,9,13,0,0,0,100,0,1000,1000,0,0,45,1,1,0,0,0,0,10,@CGUID+1,@Veranus,0,0,0,0,0,"Loken - Script - Set Data 1 1 to Veranus"), +(@Loken*100,9,14,0,0,0,100,0,5000,5000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Say Line 5"), +(@Loken*100,9,15,0,0,0,100,0,7000,7000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Say Line 6"), +(@Loken*100,9,16,0,0,0,100,0,0,0,0,0,12,@Servant,1,60000,0,0,0,8,0,0,0,8622.837,-605.7887,926.2864,4.433136,"Loken - Script - Spawn Runeforged Servant <Servant of Loken>"), +(@Loken*100,9,17,0,0,0,100,0,0,0,0,0,12,@Servant,1,60000,0,0,0,8,0,0,0,8586.867,-564.764,925.6412,5.166174,"Loken - Script - Spawn Runeforged Servant <Servant of Loken>"), +(@Loken*100,9,18,0,0,0,100,0,7000,7000,0,0,1,6,0,0,0,0,0,21,50,0,0,0,0,0,0,"Loken - Script - Say Line 7"), +(@Loken*100,9,19,0,0,0,100,0,7000,7000,0,0,1,7,0,0,0,0,0,21,50,0,0,0,0,0,0,"Loken - Script - Say Line 8"), +(@Loken*100,9,20,0,0,0,100,0,0,0,0,0,28,46846,0,0,0,0,0,10,@CGUID,@Thorim,0,0,0,0,0,"Loken - Script - Say Line 1"), +(@Loken*100,9,21,0,0,0,100,0,5000,5000,0,0,11,56941,0,0,0,0,0,1,0,0,0,0,0,0,0,"Loken - Script - Cast Witness the Reckoning"), +(@Loken*100,9,22,0,0,0,100,0,0,0,0,0,45,2,2,0,0,0,0,10,@CGUID+1,@Veranus,0,0,0,0,0,"Loken - Script - Set Data 2 2 to Veranus"), +(@Loken*100,9,23,0,0,0,100,0,0,0,0,0,45,2,2,0,0,0,0,9,30429,0,200,0,0,0,0,"Loken - Script - Set Data 2 2 to Runeforged Servant <Servant of Loken>"), +(@Thorim*100,9,0,0,0,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Set NPC Flags"), +(@Thorim*100,9,1,0,0,0,100,0,0,0,0,0,12,@Loken,1,180000,0,0,0,8,0,0,0,8564.411,-580.366,925.6412,5.5676,"Thorim - Script - Spawn Loken"), +(@Thorim*100,9,2,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Thorim - Script - Say Line 1"), +(@Thorim*100,9,3,0,0,0,100,0,3000,3000,0,0,53,0,@Thorim,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Start WP"), +(@Thorim*100,9,4,0,0,0,100,0,15000,15000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Say Line 3"), +(@Thorim*100,9,5,0,0,0,100,0,2000,2000,0,0,5,333,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Play Emote 333"), +(@Thorim*100,9,6,0,0,0,100,0,4000,4000,0,0,45,1,1,0,0,0,0,19,@Loken,30,0,0,0,0,0,"Thorim - Script - Set Data 1 1 to Loken"), +(@Thorim*100,9,7,0,0,0,100,0,6000,6000,0,0,59,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Set Run On"), +(@Thorim*100,9,8,0,0,0,100,0,0,0,0,0,46,20,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Cast Move to Loken"), +(@Thorim*100,9,9,0,0,0,100,0,6000,6000,0,0,11,56688,0,0,0,0,0,19,@Loken,30,0,0,0,0,0,"Thorim - Script - Cast Thorim's Knockback"), +(@Thorim*100,9,10,0,0,0,100,0,2000,2000,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Say Line 4"), +(@Thorim*100,9,11,0,0,0,100,0,2000,2000,0,0,1,4,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Say Line 5"), +(@Thorim*100,9,12,0,0,0,100,0,2000,2000,0,0,1,5,0,0,0,0,0,1,0,0,0,0,0,0,0,"Thorim - Script - Say Line 6"), +(@Thorim*100,9,13,0,0,0,100,0,1000,1000,0,0,11,56694,0,0,0,0,0,19,@Loken,30,0,0,0,0,0,"Thorim - Script - Cast Lightning Fury"), +(@Thorim*100,9,14,0,0,0,100,0,3000,3000,0,0,11,56695,0,0,0,0,0,19,@Loken,30,0,0,0,0,0,"Thorim - Script - Cast Thorim's Hammer"); + +DELETE FROM `spell_area` WHERE `spell`=54504 AND `area` IN(4543,4445); +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(54504, 4543, 13047, 13047, 0, 0, 2, 1, 8, 11), +(54504, 4445, 13047, 13047, 0, 0, 2, 1, 8, 11); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9928; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 9928, 0, 0, 0, 9, 0, 13047, 0, 0, 0, 0, 0, '', 'Gossip option requires the reckoning taken'); + +DELETE from `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=56677; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 56677, 0, 31, 3, @Thorim, 0, 0, '', 'Loken''s Knockback'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=56688; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 56688, 0, 31, 3, @Loken, 0, 0, '', 'Thorim''s Knockback'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=56694; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 3, 56694, 0, 31, 3, @Loken, 0, 0, '', 'Thorim''s Knockback'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=56695; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 56695, 0, 31, 3, @Loken, 0, 0, '', 'Thorim''s hammer'); + +DELETE FROM `creature_text` WHERE `entry` IN(@Thorim,@Loken); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextId`) VALUES +(@Thorim, 0, 0, 'It is time I put an end to my brother''s madness.', 12, 0, 100, 0, 0, 0, 'Thorim', 31078), +(@Thorim, 1, 0, 'Loken!!', 14, 0, 100, 15, 0, 0, 'Thorim', 31079), +(@Thorim, 2, 0, 'Stand up and fight me, you worthless traitor! ', 14, 0, 100, 53, 0, 0, 'Thorim', 31080), +(@Thorim, 3, 0, 'Do not dare...', 12, 0, 100, 0, 0, 0, 'Thorim', 31083), +(@Thorim, 4, 0, 'Speak...', 12, 0, 100, 0, 0, 0, 'Thorim', 31116), +(@Thorim, 5, 0, 'Her name!!', 12, 0, 100, 0, 0, 0, 'Thorim', 31117), +(@Loken, 0, 0, 'You seem eager to join your beloved Sif, brother.', 12, 0, 100, 0, 0, 0, 'Loken', 31082), +(@Loken, 1, 0, 'ENOUGH!', 14, 0, 100, 15, 0, 0, 'Loken', 31126), +(@Loken, 2, 0, 'Looks like you can still best me in a fair fight, little brother.', 12, 0, 100, 1, 0, 0, 'Loken', 31110), +(@Loken, 3, 0, 'Unfortunately for you.... this fight is anything but fair!', 12, 0, 100, 1, 0, 0, 'Loken', 31111), +(@Loken, 4, 0, 'Thanks to your little friend, you''ve left the Temple of Storms, where you were at your strongest. Instead we fight closer to my master''s power.', 12, 0, 100, 0, 0, 0, 'Loken', 31112), +(@Loken, 5, 0, 'Minions! Take my brother and his drake to their new dwellings. Make sure the beast makes it alive. I have special plans for the broodmother.', 12, 0, 100, 0, 0, 0, 'Loken', 31128), +(@Loken, 6, 0, 'As for your life, mortal. I will be generous. After all... why would I destroy my most useful servant? I waited for you for weeks inside that Hyldnir mine.', 12, 0, 100, 0, 0, 0, 'Loken', 31127), +(@Loken, 7, 0, 'The shape wasn''t mine, of course. And had you not been so reckless, you would''ve seen past my illusion. But you came through for me, and for that... I must thank you!', 12, 0, 100, 0, 0, 0, 'Loken', 31133); + +DELETE FROM `creature_template_addon` WHERE `entry` IN(@Thorim,@Loken,@Veranus); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES +(@Thorim, 0, 0x10000, 0x1, '54503'), -- 30399 - 54503 +(@Loken, 0, 0x1, 0x1, ''), -- 30396 +(@Veranus, 0, 0x3010000, 0x1, '54503'); -- 30420 - 54503 + +DELETE FROM `creature` WHERE `id` IN(@Thorim,@Veranus); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, @Thorim, 571, 1, 1, 8703.806, -714.0443, 934.9764, 2.321288, 120, 0, 0), -- 30399 (Area: 67) +(@CGUID+1, @Veranus, 571, 1, 1, 8711.395, -754.7941, 955.1224, 2.338741, 120, 0, 0); -- 30420 (Area: 67) + +DELETE FROM `gossip_menu` WHERE `entry`=9928; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(9928, 13800); -- 30399 + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=9928; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES +(9928, 0, 0, 'I''m with you, Thorim.', 0, 1, 1, 0, 0, 0, 0, '', 31225); + +DELETE FROM `waypoints` WHERE `entry` IN(@Thorim); +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(@Thorim, 1,8695.301, -703.0229, 933.7817, 'Thorim'), +(@Thorim, 2,8665.801, -675.7729, 927.5317, 'Thorim'), +(@Thorim, 3,8573.930664, -591.286133, 925.558167 , 'Thorim'); + +UPDATE creature_template SET InhabitType=4 WHERE entry IN (29747, 29790); +UPDATE `gossip_menu` SET `text_id`=9715 WHERE `entry`=7931 AND `text_id`=1915; +-- Mug'gok SAI +SET @ENTRY := 18475; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY*100+00 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,53,0,18475,1,0,0,2,1,0,0,0,0,0,0,0,"Mug'gok - On Reset - Start Waypoint"), +(@ENTRY,0,1,0,40,0,100,0,1,18475,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Mug'gok - On Waypoint 1 Reached - Run Script"), +(@ENTRY,0,2,0,40,0,100,0,1,18475,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mug'gok - On Waypoint 1 Reached - Pause Waypoint"), +(@ENTRY*100+00,9,0,0,0,0,100,0,2000,2000,0,0,1,0,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Mug'gok - On Script - Say Line 0"), +(@ENTRY*100+00,9,1,0,0,0,100,0,2000,2000,0,0,1,1,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Mug'gok - On Script - Say Line 1"), +(@ENTRY*100+00,9,3,0,0,0,100,0,2000,2000,0,0,1,2,3000,0,0,0,0,1,0,0,0,0,0,0,0,"Mug'gok - On Script - Say Line 2"); + +-- Add text +DELETE FROM `creature_text` WHERE `entry`=18475; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(18475, 0, 0, 'Come out, little birdies! Mug''gok want to play!', 14, 0, 100, 0, 0, 0, 'Muggok', 15463), +(18475, 1, 0, 'No hurt Mug''gok''s feelings, bird-men!', 14, 0, 100, 0, 0, 0, 'Muggok', 15464), +(18475, 2, 0, 'Fine! Birdies be dat way! Mug''gok find new friends!', 14, 0, 100, 14, 0, 0, 'Muggok', 15465); + +-- Add waypoints +DELETE FROM `waypoints` WHERE `entry`=18475; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(18475, 1, -3586.119,5789.734,-4.249763, 'Muggok'), +(18475, 2, -3607.362,5802.457,-4.015522, 'Muggok'), +(18475, 3, -3611.601,5813.162,-4.286913, 'Muggok'), +(18475, 4, -3620.696,5832.479,0.1701524, 'Muggok'), +(18475, 5, -3632.274,5845.131,-0.2069848, 'Muggok'), +(18475, 6, -3644.935,5868.452,-4.990351, 'Muggok'), +(18475, 7, -3637.306,5910.221,-21.84441, 'Muggok'), +(18475, 8, -3641.046,5941.752,-30.85709, 'Muggok'), +(18475, 9, -3638.008,5970.188,-22.30242, 'Muggok'), +(18475, 10, -3625.294,5984.689,-19.98056, 'Muggok'), +(18475, 11, -3593.81,5984.915,-30.74051, 'Muggok'), +(18475, 12, -3560.429,5994.253,-34.44781, 'Muggok'), +(18475, 13, -3533.398,6024.583,-24.52451, 'Muggok'), +(18475, 14, -3525.008,6048.768,-20.22229, 'Muggok'), +(18475, 15, -3509.135,6060.514,-15.46761, 'Muggok'), +(18475, 16, -3465.905,6061.523,-15.65, 'Muggok'), +(18475, 17, -3455.743,6054.097,-12.08964, 'Muggok'), +(18475, 18, -3452,6032.292,-14.2308, 'Muggok'), +(18475, 19, -3449.686,6012.386,-17.47238, 'Muggok'), +(18475, 20, -3443.185,5993.315,-23.15056, 'Muggok'), +(18475, 21, -3440.388,5986.851,-24.24662, 'Muggok'), +(18475, 22, -3435.465,5956.201,-24.91395, 'Muggok'), +(18475, 23, -3446.49,5924.918,-33.08622, 'Muggok'), +(18475, 24, -3466.203,5894.721,-28.9427, 'Muggok'), +(18475, 25, -3483.424,5870.367,-23.49757, 'Muggok'), +(18475, 26, -3495.208,5849.559,-15.93699, 'Muggok'), +(18475, 27, -3507.46,5820.458,-12.90878, 'Muggok'), +(18475, 28, -3519.906,5799.604,-7.427849, 'Muggok'), +(18475, 29, -3532.312,5789.58,-6.70218, 'Muggok'), +(18475, 30, -3553.792,5784.59,-4.330991, 'Muggok'), +(18475, 31, -3562.554,5785.313,-1.650567, 'Muggok'); +-- +SET @ENTRY := 178905; +SET @Scion:= 13696; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (@Scion); +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Scion AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,64,0,100,0,0,0,0,0,12,13696,2,60000,0,0,0,1,0,0,0,0,0,0,0,"Vylestem Vine - On Gossip Hello - Summon Creature 'Noxxious Scion'"), +(@Scion,0,0,0,4,0,100,1,0,0,0,0,11,21883,0,0,0,0,0,1,0,0,0,0,0,0,0,"Noxxious Scion - On Aggro -Cast 21883"), +(@Scion,0,1,0,63,0,100,0,0,0,0,0,49,0,0,0,0,0,0,21,20,0,0,0,0,0,0,"Noxxious Scion - On Just created - Attack"); +-- +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (31198, 31150); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (31198, 31150) AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(31150,0,0,0,0,0,100,0,2000,8000,12000,15000,11,60678,0,0,0,0,0,2,0,0,0,0.0,0.0,0.0,0.0,"Plagued Fiend - IC - Plague Bite"), +(31198,0,0,0,0,0,100,0,2000,2000,15000,20000,11,38971,0,0,0,0,0,2,0,0,0,0.0,0.0,0.0,0.0,"Coprous the Defiled - IC - Cast Acid Geyser"), +(31198,0,1,0,0,0,100,0,5000,5000,10000,10000,11,5164,0,0,0,0,0,2,0,0,0,0.0,0.0,0.0,0.0,"Coprous the Defiled - IC - Cast Knockdown"); +-- +DELETE FROM `creature_template_addon` WHERE `entry` IN (25760, 25622, 25615); +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(25760, 0, 0, 0, 0, 45, NULL), +(25622, 0, 0, 0, 0, 173, NULL), +(25615, 0, 0, 0, 0, 0, '45797'); + +UPDATE `creature_addon` SET `emote`=36 WHERE `guid`=102838; + +UPDATE `creature` SET `spawndist`=9, `MovementType`=1 WHERE `id` IN (26202, 25715, 25668, 25791, 25792); + +UPDATE `creature` SET `spawndist`=9, `MovementType`=1 WHERE `id` IN (26126); + +UPDATE `creature` SET `spawndist`=13, `MovementType`=1 WHERE `id` IN (25452, 25615); + +UPDATE `creature` SET `MovementType`=0 WHERE `guid`=122669; + +DELETE FROM `creature_formations` WHERE `leaderGUID`=111466; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(111466, 111466, 0, 0, 0, 0, 0), +(111466, 111467, 5, 10, 0, 0, 0); + +-- Pathing for Entry: 26790 'TDB FORMAT' +SET @NPC := 111466; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3269.226,`position_y`=4429.583,`position_z`=25.58942 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3269.226,4429.583,25.58942,0,0,0,0,100,0), +(@PATH,2,3267.759,4388,25.7008,0,0,0,0,100,0), +(@PATH,3,3267.792,4381.39,25.73712,0,0,0,0,100,0), +(@PATH,4,3278.066,4307.007,24.88556,0,0,0,0,100,0), +(@PATH,5,3279.909,4296.206,24.66411,0,0,0,0,100,0), +(@PATH,6,3295.526,4235.11,26.38262,0,0,0,0,100,0), +(@PATH,7,3300.244,4216.931,27.75196,0,0,0,0,100,0), +(@PATH,8,3318.573,4152.362,27.67955,0,0,0,0,100,0), +(@PATH,9,3325.382,4131.279,26.32579,0,0,0,0,100,0), +(@PATH,10,3332.996,4089.244,27.17685,0,0,0,0,100,0), +(@PATH,11,3343.786,4049.672,25.98749,0,0,0,0,100,0), +(@PATH,12,3363.78,4008.359,26.03116,0,0,0,0,100,0), +(@PATH,13,3366.464,4003.271,25.94505,0,0,0,0,100,0), +(@PATH,14,3425.143,4003.964,27.52853,0,0,0,0,100,0), +(@PATH,15,3476.093,4013.513,26.82531,0,0,0,0,100,0), +(@PATH,16,3515.465,4026.42,22.9796,0,0,0,0,100,0), +(@PATH,17,3530.343,4051.534,21.97854,0,0,0,0,100,0), +(@PATH,18,3552.293,4122.889,21.95212,0,0,0,0,100,0), +(@PATH,19,3590.191,4148.155,21.84193,0,0,0,0,100,0), +(@PATH,20,3620.669,4159.591,25.41138,0,0,0,0,100,0), +(@PATH,21,3659.4,4169.95,25.3229,0,0,0,0,100,0), +(@PATH,22,3700.533,4186.467,24.96351,0,0,0,0,100,0), +(@PATH,23,3743.046,4216.556,24.08723,0,0,0,0,100,0), +(@PATH,24,3771.806,4239.74,25.29598,0,0,0,0,100,0), +(@PATH,25,3820.626,4241.001,27.25442,0,0,0,0,100,0), +(@PATH,26,3848.42,4209.31,28.84864,0,0,0,0,100,0), +(@PATH,27,3840.634,4170.563,28.2758,0,0,0,0,100,0), +(@PATH,28,3804.119,4155.879,27.68908,0,0,0,0,100,0), +(@PATH,29,3767.293,4171.405,26.47837,0,0,0,0,100,0), +(@PATH,30,3739.984,4183.705,24.70092,0,0,0,0,100,0), +(@PATH,31,3695.544,4177.419,25.40162,0,0,0,0,100,0), +(@PATH,32,3690.549,4175.297,25.46773,0,0,0,0,100,0), +(@PATH,33,3664.658,4165.97,25.39618,0,0,0,0,100,0), +(@PATH,34,3608.881,4156.498,24.01619,0,0,0,0,100,0), +(@PATH,35,3562.48,4159.697,23.3773,0,0,0,0,100,0), +(@PATH,36,3545.413,4159.953,22.43779,0,0,0,0,100,0), +(@PATH,37,3526.568,4167.223,15.17734,0,0,0,0,100,0), +(@PATH,38,3522.761,4171.347,12.94395,0,0,0,0,100,0), +(@PATH,39,3513.761,4183.413,12.85036,0,0,0,0,100,0), +(@PATH,40,3521.258,4190.762,12.85036,0,0,0,0,100,0), +(@PATH,41,3529.055,4194.656,12.85036,0,0,0,0,100,0), +(@PATH,42,3537.065,4186.435,12.85036,0,0,0,0,100,0), +(@PATH,43,3549.637,4182.573,12.84298,0,0,0,0,100,0), +(@PATH,44,3560.2,4184.638,12.84456,0,0,0,0,100,0), +(@PATH,45,3551.881,4191.742,12.85036,0,0,0,0,100,0), +(@PATH,46,3552.376,4284.875,12.60797,0,0,0,0,100,0), +(@PATH,47,3537.689,4185.746,12.85036,0,0,0,0,100,0), +(@PATH,48,3535.854,4184.324,12.85036,0,0,0,0,100,0), +(@PATH,49,3526.616,4197.904,12.85036,0,0,0,0,100,0), +(@PATH,50,3514.75,4185.95,12.85036,0,0,0,0,100,0), +(@PATH,51,3487.793,4170.192,17.39668,0,0,0,0,100,0), +(@PATH,52,3474.217,4172.794,17.44868,0,0,0,0,100,0), +(@PATH,53,3466.45,4161.327,17.44301,0,0,0,0,100,0), +(@PATH,54,3463.186,4144.002,17.44657,0,0,0,0,100,0), +(@PATH,55,3461.733,4133.489,15.50942,0,0,0,0,100,0), +(@PATH,56,3461.425,4131.252,15.57042,0,0,0,0,100,0), +(@PATH,57,3440.413,4107.955,16.253,0,0,0,0,100,0), +(@PATH,58,3439.38,4106.382,16.33916,0,0,0,0,100,0), +(@PATH,59,3384.195,4062.901,19.78522,0,0,0,0,100,0), +(@PATH,60,3350.907,4085.523,26.59955,0,0,0,0,100,0), +(@PATH,61,3336.268,4101.299,25.10432,0,0,0,0,100,0), +(@PATH,62,3313.968,4123.463,25.70841,0,0,0,0,100,0), +(@PATH,63,3298.833,4136.27,25.76038,0,0,0,0,100,0), +(@PATH,64,3284.301,4171.881,25.73615,0,0,0,0,100,0), +(@PATH,65,3260.152,4249.911,26.19264,0,0,0,0,100,0), +(@PATH,66,3265.231,4272.233,25.12194,0,0,0,0,100,0), +(@PATH,67,3267.608,4324.161,25.83903,0,0,0,0,100,0), +(@PATH,68,3266.102,4333.994,26.12407,0,0,0,0,100,0), +(@PATH,69,3269.841,4402.301,25.18758,0,0,0,0,100,0), +(@PATH,70,3287.93,4442.964,24.90842,0,0,0,0,100,0), +(@PATH,71,3330.486,4488.953,25.63785,0,0,0,0,100,0), +(@PATH,72,3346.958,4513.736,25.21837,0,0,0,0,100,0), +(@PATH,73,3370.701,4574.729,28.1356,0,0,0,0,100,0), +(@PATH,74,3329.835,4909.289,31.98566,0,0,0,0,100,0), +(@PATH,75,3260.729,4889.575,31.59256,0,0,0,0,100,0), +(@PATH,76,3254.577,4883.116,30.8572,0,0,0,0,100,0), +(@PATH,77,3244.599,4836.884,30.49381,0,0,0,0,100,0), +(@PATH,78,3274.862,4794.816,31.06407,0,0,0,0,100,0), +(@PATH,79,3312.659,4774.863,32.49248,0,0,0,0,100,0), +(@PATH,80,3349.351,4758.671,31.47926,0,0,0,0,100,0), +(@PATH,81,3287.93,4442.964,24.90842,0,0,0,0,100,0), +(@PATH,82,3330.486,4488.953,25.63785,0,0,0,0,100,0), +(@PATH,83,3346.958,4513.736,25.21837,0,0,0,0,100,0), +(@PATH,84,3370.701,4574.729,28.1356,0,0,0,0,100,0); +-- 0x1C39AC47601A298000000B00005AED7E .go 3269.226 4429.583 25.58942 + +-- Pathing for Entry: 25793 'TDB FORMAT' +SET @NPC := 57171; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3561.628,`position_y`=5005.68,`position_z`=-1.416187 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3561.628,5005.68,-1.416187,0,0,0,0,100,0), +(@PATH,2,3561.647,5005.603,-1.154766,0,0,0,0,100,0), +(@PATH,3,3548.455,4987.43,-1.165261,0,0,0,0,100,0), +(@PATH,4,3548.445,4987.507,-1.393345,0,0,0,0,100,0), +(@PATH,5,3548.703,4987.758,-1.156939,0,0,0,0,100,0), +(@PATH,6,3561.752,5006.026,-1.164443,0,0,0,0,100,0), +(@PATH,7,3561.628,5005.68,-1.416187,0,0,0,0,100,0); +-- 0x1C39AC47601930400000A3000065B380 .go 3561.628 5005.68 -1.416187 + +-- Pathing for Entry: 25619 'TDB FORMAT' +SET @NPC := 57156; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3653.617,`position_y`=4706.431,`position_z`=-12.93513 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3653.617,4706.431,-12.93513,0,0,0,0,100,0), +(@PATH,2,3644.772,4705.505,-13.09717,0,0,0,0,100,0), +(@PATH,3,3650.718,4705.053,-12.68797,0,0,0,0,100,0), +(@PATH,4,3657.83,4709.773,-12.6719,0,0,0,0,100,0), +(@PATH,5,3662.773,4713.923,-12.66263,0,0,0,0,100,0), +(@PATH,6,3683.912,4744.512,-13.18753,0,0,0,0,100,0), +(@PATH,7,3684.609,4746.4,-13.26137,0,0,0,0,100,0), +(@PATH,8,3681.26,4750.936,-12.83029,0,0,0,0,100,0), +(@PATH,9,3677.817,4771.657,-12.96236,0,0,0,0,100,0), +(@PATH,10,3677.802,4771.346,-13.06311,0,0,0,0,100,0), +(@PATH,11,3678.06,4771.458,-12.99139,0,0,0,0,100,0), +(@PATH,12,3683.749,4747.838,-13.2233,0,0,0,0,100,0), +(@PATH,13,3683.588,4743.549,-12.92916,0,0,0,0,100,0), +(@PATH,14,3676.425,4727.065,-12.68113,0,0,0,0,100,0), +(@PATH,15,3653.484,4706.284,-12.93378,0,0,0,0,100,0), +(@PATH,16,3644.924,4705.583,-13.21565,0,0,0,0,100,0); +-- 0x1C39AC47601904C000000C00006399A7 .go 3653.617 4706.431 -12.93513 + +-- Pathing for Entry: 25619 'TDB FORMAT' +SET @NPC := 57154; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3668.695,`position_y`=4852.459,`position_z`=-12.74998 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3668.695,4852.459,-12.74998,0,0,0,0,100,0), +(@PATH,2,3664.671,4872.002,-12.99413,0,0,0,0,100,0), +(@PATH,3,3664.699,4871.859,-13.07822,0,0,0,0,100,0), +(@PATH,4,3665.02,4871.801,-13.02737,0,0,0,0,100,0), +(@PATH,5,3675.036,4847.65,-13.24574,0,0,0,0,100,0), +(@PATH,6,3689.288,4839.663,-12.73423,0,0,0,0,100,0), +(@PATH,7,3700.295,4827.3,-13.29157,0,0,0,0,100,0), +(@PATH,8,3702.61,4824.848,-13.29076,0,0,0,0,100,0), +(@PATH,9,3702.303,4824.782,-13.54672,0,0,0,0,100,0), +(@PATH,10,3696.016,4832.376,-12.71317,0,0,0,0,100,0), +(@PATH,11,3684.51,4841.927,-13.23423,0,0,0,0,100,0), +(@PATH,12,3671.438,4849.996,-12.73423,0,0,0,0,100,0), +(@PATH,13,3668.495,4852.239,-12.74998,0,0,0,0,100,0); +-- 0x1C39AC47601904C000000C00006398F7 .go 3668.695 4852.459 -12.74998 + +-- Pathing for Entry: 25619 'TDB FORMAT' +SET @NPC := 97940; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3580.309,`position_y`=4549.389,`position_z`=-11.17193 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3580.309,4549.389,-11.17193,0,0,0,0,100,0), +(@PATH,2,3578.376,4553.744,-12.42194,0,0,0,0,100,0), +(@PATH,3,3568.719,4586.03,-13.21303,0,0,0,0,100,0), +(@PATH,4,3580.922,4608.78,-13.29673,0,0,0,0,100,0), +(@PATH,5,3569.915,4581.717,-12.73434,0,0,0,0,100,0), +(@PATH,6,3580.182,4549.349,-11.17194,0,0,0,0,100,0); +-- 0x1C39AC47601904C000000C0000635FEA .go 3580.309 4549.389 -11.17193 + +-- Pathing for Entry: 25619 'TDB FORMAT' +SET @NPC := 97945; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3638.907,`position_y`=4590.849,`position_z`=-12.90129 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3638.907,4590.849,-12.90129,0,0,0,0,100,0), +(@PATH,2,3639.077,4591.158,-12.65275,0,0,0,0,100,0), +(@PATH,3,3657.039,4597.404,-12.65622,0,0,0,0,100,0), +(@PATH,4,3674.552,4584.037,-12.69051,0,0,0,0,100,0), +(@PATH,5,3691.104,4575.537,-12.92792,0,0,0,0,100,0), +(@PATH,6,3700.628,4561.468,-12.65065,0,0,0,0,100,0), +(@PATH,7,3700.406,4561.409,-12.89539,0,0,0,0,100,0), +(@PATH,8,3700.436,4561.741,-12.6833,0,0,0,0,100,0), +(@PATH,9,3690.878,4575.947,-12.68227,0,0,0,0,100,0), +(@PATH,10,3674.272,4584.251,-12.66346,0,0,0,0,100,0), +(@PATH,11,3656.891,4597.556,-12.65173,0,0,0,0,100,0), +(@PATH,12,3638.816,4591.054,-12.67964,0,0,0,0,100,0), +(@PATH,13,3638.907,4590.849,-12.90129,0,0,0,0,100,0); +-- 0x1C39AC47601904C000000C000063960F .go 3638.907 4590.849 -12.90129 + +-- Pathing for Entry: 25619 'TDB FORMAT' +SET @NPC := 57150; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3540.325,`position_y`=4553.921,`position_z`=-11.9877 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3540.325,4553.921,-11.9877,0,0,0,0,100,0), +(@PATH,2,3551.097,4546.824,-12.09515,0,0,0,0,100,0), +(@PATH,3,3556.957,4542.564,-12.71872,0,0,0,0,100,0), +(@PATH,4,3572.592,4519.032,-12.57456,0,0,0,0,100,0), +(@PATH,5,3611.974,4514.621,-11.45239,0,0,0,0,100,0), +(@PATH,6,3596.514,4512.68,-11.4117,0,0,0,0,100,0), +(@PATH,7,3591.572,4513.184,-12.59506,0,0,0,0,100,0), +(@PATH,8,3572.187,4519.236,-12.62936,0,0,0,0,100,0), +(@PATH,9,3542.318,4553.094,-11.18209,0,0,0,0,100,0), +(@PATH,10,3538.412,4553.636,-12.23789,0,0,0,0,100,0), +(@PATH,11,3540.325,4553.921,-11.9877,0,0,0,0,100,0), +(@PATH,12,3551.078,4546.787,-12.28936,0,0,0,0,100,0); +-- 0x1C39AC47601904C00000A30000661A2D .go 3540.325 4553.921 -11.9877 + + +-- Pathing for Entry: 25619 'TDB FORMAT' +SET @NPC := 57149; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3440.258,`position_y`=4514.217,`position_z`=-12.88582 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3440.258,4514.217,-12.88582,2,0,0,0,100,0), +(@PATH,2,3440.258,4514.217,-12.88582,2,0,0,0,100,0), +(@PATH,3,3440.896,4516.193,-12.89167,3,0,0,0,100,0), +(@PATH,4,3442.607,4496.93,-12.91095,0,0,0,0,100,0), +(@PATH,5,3447.15,4488.138,-12.65823,0,0,0,0,100,0), +(@PATH,6,3452.752,4476.723,-12.68911,0,0,0,0,100,0), +(@PATH,7,3476.311,4474.729,-12.71476,0,0,0,0,100,0), +(@PATH,8,3494.302,4476.382,-12.71264,0,0,0,0,100,0), +(@PATH,9,3494.728,4476.228,-12.96695,3,0,0,0,100,0), +(@PATH,10,3511.506,4473.141,-12.958,0,0,0,0,100,0), +(@PATH,11,3494.125,4476.339,-12.96727,0,0,0,0,100,0), +(@PATH,12,3494.088,4476.244,-12.71688,0,0,0,0,100,0), +(@PATH,13,3476.16,4474.544,-12.68911,0,0,0,0,100,0), +(@PATH,14,3444.08,4494.611,-12.66572,0,0,0,0,100,0), +(@PATH,15,3442.532,4497.133,-12.64838,0,0,0,0,100,0), +(@PATH,16,3440.716,4522.266,-12.63575,0,0,0,0,100,0), +(@PATH,17,3440.376,4522.044,-12.88582,0,0,0,0,100,0), +(@PATH,18,3440.543,4522.067,-12.6481,0,0,0,0,100,0), +(@PATH,19,3447.229,4487.997,-12.65975,0,0,0,0,100,0), +(@PATH,20,3452.721,4477.046,-12.68911,0,0,0,0,100,0); +-- 0x1C39AC47601904C000000A000063A957 .go 3440.258 4514.217 -12.88582 + +-- Pathing for Entry: 25700 'TDB FORMAT' +SET @NPC := 104890; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3649.046,`position_y`=3947.566,`position_z`=25.10987 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3649.046,3947.566,25.10987,0,0,0,0,100,0), +(@PATH,2,3670.215,3953.261,27.32766,0,0,0,0,100,0), +(@PATH,3,3661.302,3951.949,25.85034,0,0,0,0,100,0), +(@PATH,4,3647.474,3946.993,24.98032,0,0,0,0,100,0), +(@PATH,5,3631.758,3945.262,25.08576,0,0,0,0,100,0), +(@PATH,6,3635.313,3944.982,24.81682,0,0,0,0,100,0), +(@PATH,7,3649.313,3947.802,25.10083,0,0,0,0,100,0), +(@PATH,8,3670.304,3953.393,27.30864,0,0,0,0,100,0); +-- 0x1C39AC47601919000000A3000065CBC5 .go 3649.046 3947.566 25.10987 + +-- Pathing for Entry: 25700 'TDB FORMAT' +SET @NPC := 104873; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3612.053,`position_y`=3969.457,`position_z`=25.79908 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3612.053,3969.457,25.79908,0,0,0,0,100,0), +(@PATH,2,3612.913,3949.386,26.9285,0,0,0,0,100,0), +(@PATH,3,3606.506,3943.484,27.81473,0,0,0,0,100,0), +(@PATH,4,3599.383,3941.598,27.42816,0,0,0,0,100,0), +(@PATH,5,3613.519,3957.487,25.68642,0,0,0,0,100,0), +(@PATH,6,3610.85,3975.829,26.71345,0,0,0,0,100,0), +(@PATH,7,3610.689,3977.498,26.90823,0,0,0,0,100,0); +-- 0x1C39AC47601919000000A3000065CBB6 .go 3612.053 3969.457 25.79908 + +-- Pathing for Entry: 25700 'TDB FORMAT' +SET @NPC := 104885; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3547.306,`position_y`=3938.455,`position_z`=28.18571 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3547.306,3938.455,28.18571,0,0,0,0,100,0), +(@PATH,2,3547.207,3940.361,28.20439,0,0,0,0,100,0), +(@PATH,3,3549.885,3950.133,28.27749,0,0,0,0,100,0), +(@PATH,4,3547.638,3926.375,28.40306,0,0,0,0,100,0), +(@PATH,5,3546.562,3908.686,26.7371,0,0,0,0,100,0); +-- 0x1C39AC47601919000000990000649C8A .go 3547.306 3938.455 28.18571 + +-- Pathing for Entry: 25700 'TDB FORMAT' +SET @NPC := 104894; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3778.342,`position_y`=3912.803,`position_z`=29.24027 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3778.342,3912.803,29.24027,0,0,0,0,100,0), +(@PATH,2,3759.181,3931.342,27.90885,0,0,0,0,100,0), +(@PATH,3,3753.393,3933.303,27.37968,0,0,0,0,100,0), +(@PATH,4,3753.327,3933.25,27.1396,0,0,0,0,100,0), +(@PATH,5,3770.313,3927.754,29.42538,0,0,0,0,100,0), +(@PATH,6,3771.412,3927.011,29.40953,0,0,0,0,100,0), +(@PATH,7,3778.897,3901.917,30.91071,0,0,0,0,100,0); +-- 0x1C39AC476019190000000A00005F9DDF .go 3778.342 3912.803 29.24027 + + +-- Pathing for Entry: 25615 'TDB FORMAT' +SET @NPC := 97719; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3952.9,`position_y`=3970.767,`position_z`=60.06356 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '45797'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3952.9,3970.767,60.06356,0,0,0,0,100,0), +(@PATH,2,3978.35,3999.136,62.92397,0,0,0,0,100,0), +(@PATH,3,4018.881,4028.354,68.87595,0,0,0,0,100,0), +(@PATH,4,4054.792,4041.589,78.42586,0,0,0,0,100,0), +(@PATH,5,4079.642,4057.923,86.41113,0,0,0,0,100,0), +(@PATH,6,4109.986,4083.86,91.92527,0,0,0,0,100,0), +(@PATH,7,4146.447,4095.262,94.97155,0,0,0,0,100,0), +(@PATH,8,4116.737,4088.786,92.95302,0,0,0,0,100,0), +(@PATH,9,4085.337,4060.936,87.70323,0,0,0,0,100,0), +(@PATH,10,4058.099,4043.569,79.66705,0,0,0,0,100,0), +(@PATH,11,4020.782,4029.594,69.42237,0,0,0,0,100,0), +(@PATH,12,3994.482,4012.06,64.00913,0,0,0,0,100,0), +(@PATH,13,3968.87,3988.12,59.70909,0,0,0,0,100,0), +(@PATH,14,3929.95,3947.708,63.23425,0,0,0,0,100,0), +(@PATH,15,3911.141,3924.254,62.15401,0,0,0,0,100,0), +(@PATH,16,3873.239,3894.211,53.25244,0,0,0,0,100,0), +(@PATH,17,3906.264,3919.628,61.43396,0,0,0,0,100,0), +(@PATH,18,3928.859,3946.259,63.19824,0,0,0,0,100,0), +(@PATH,19,3952.789,3970.748,60.02489,0,0,0,0,100,0); +-- 0x1C39AC47601903C00000FB00006640F7 .go 3952.9 3970.767 60.06356 + +-- Pathing for Entry: 25684 'TDB FORMAT' +SET @NPC := 103453; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=4426.675,`position_y`=4548.689,`position_z`=105.0451 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,4426.675,4548.689,105.0451,0,0,0,0,100,0), +(@PATH,2,4426.097,4567.237,105.0696,0,0,0,0,100,0), +(@PATH,3,4427.304,4550.866,105.1948,0,0,0,0,100,0), +(@PATH,4,4424.215,4542.484,104.0657,0,0,0,0,100,0), +(@PATH,5,4408.765,4527.845,109.2442,0,0,0,0,100,0), +(@PATH,6,4417.008,4531.223,106.1703,0,0,0,0,100,0), +(@PATH,7,4426.797,4548.548,105.0981,0,0,0,0,100,0), +(@PATH,8,4426.019,4567.411,105.0588,0,0,0,0,100,0); +-- 0x1C39AC47601915000000F80000663747 .go 4426.675 4548.689 105.0451 + +-- Cult Plaguebringer SAI +SET @ENTRY := 24957; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,1000,900000,500000,700000,11,45850,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cult Plaguebringer - Out of Combat - Cast 'Ghoul Summons'"), +(@ENTRY,0,1,0,11,0,100,0,0,0,0,0,11,45820,0,0,0,0,0,9,24021,0,30,0,0,0,0,"Cult Plaguebringer - On Respawn - Cast 'Plague Cauldron Beam'"), +(@ENTRY,0,2,0,0,0,30,0,1100,6300,8800,13800,11,50356,0,0,0,0,0,2,0,0,0,0,0,0,0,"Cult Plaguebringer - In Combat - Cast 'Inject Plague'"), +(@ENTRY,0,3,0,21,0,100,0,0,0,0,0,11,45820,0,0,0,0,0,9,24021,0,30,0,0,0,0,"Cult Plaguebringer - On Reached Home - Cast 'Plague Cauldron Beam'"), +(@ENTRY,0,4,0,1,0,100,0,5000,10000,10000,15000,11,45864,0,0,0,0,0,19,23837,20,0,0,0,0,0,"Cult Plaguebringer - Out of Combat - Cast 'Soul Missile'"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=1 AND `SourceEntry`=45864; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 45864, 0, 0, 31, 0, 3, 23837, 0, 0, 0, 0, '', 'Visual - ony targets Dummy'); + +DELETE FROM `waypoints` WHERE `entry`=965560; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(965560, 1,3882.081,3605.613,47.20867, 'Darkfallen Bloodbearer'), +(965560, 2,3880.675,3604.947,46.98143, 'Darkfallen Bloodbearer'), +(965560, 3,3873.556,3605.217,47.1648, 'Darkfallen Bloodbearer'), +(965560, 4,3864.232,3594.599,46.89387, 'Darkfallen Bloodbearer'), +(965560, 5,3863.215,3593.009,46.80249, 'Darkfallen Bloodbearer'), +(965560, 6,3857.541,3589.546,46.89201, 'Darkfallen Bloodbearer'), +(965560, 7,3849.738,3589.315,47.19809, 'Darkfallen Bloodbearer'), +(965560, 8,3841.684,3593.68,47.05273, 'Darkfallen Bloodbearer'), +(965560, 9,3835.923,3599.622,47.26691, 'Darkfallen Bloodbearer'), +(965560, 10,3828.859,3599.792,47.14082, 'Darkfallen Bloodbearer'), +(965560, 11,3821.26,3598.35,46.8344, 'Darkfallen Bloodbearer'), +(965560, 12,3806.117,3590.271,48.67004, 'Darkfallen Bloodbearer'), +(965560, 13,3801.333,3586.158,49.71964, 'Darkfallen Bloodbearer'); + +-- Darkfallen Bloodbearer SAI +SET @GUID := -96556; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=26115; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,25,0,100,0,0,0,0,0,53,0,965560,0,0,0,0,1,0,0,0,0,0,0,0,"Darkfallen Bloodbearer - On Reset - Start Waypoint"), +(@GUID,0,1,0,40,0,100,0,13,965560,0,0,41,2000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Darkfallen Bloodbearer - On Waypoint 13 Reached - Despawn In 2000 ms"); +-- +DELETE FROM `conditions` WHERE `SourceEntry`=56727; +DELETE FROM `conditions` WHERE `SourceEntry`=36546 AND `SourceGroup`=1; +DELETE FROM `conditions` WHERE `SourceEntry`=58118; +DELETE FROM `conditions` WHERE `SourceEntry`=48397 AND `SourceTypeOrReferenceId`=13; +DELETE FROM `conditions` WHERE `SourceEntry`= 44997 AND `SourceTypeOrReferenceId`=13; +DELETE FROM `conditions` WHERE `SourceEntry`= 70529; +UPDATE `conditions` SET `SourceGroup`=1 WHERE `SourceEntry`=70471; +UPDATE `conditions` SET `SourceGroup`=1 WHERE `SourceEntry`=71310; +UPDATE `smart_scripts` SET `action_param2`=9715 WHERE `entryorguid`=19172 AND `source_type`=0 AND `id`=10 AND `link`=0; +-- +UPDATE `creature_template` SET `npcflag`=2 WHERE `entry`=17587; +SET @ENTRY := 17587; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id` IN (11, 12, 13, 14, 15, 16); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@ENTRY, 0, 11, 0, 26, 0, 100, 0, 1, 15, 60000, 60000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Draenei Youngling - IC_LOS - TALK'), +(@ENTRY, 0, 12, 0, 53, 0, 100, 0, 1, 200000, 20000, 20000, 1, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Draenei Youngling - RECEIVE_HEAL - TALK'), +(@ENTRY, 0, 13, 0, 5, 0, 100, 0, 30000, 30000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Draenei Youngling - KILL - TALK'), +(@ENTRY, 0, 14, 0, 1, 0, 100, 0, 60000, 60000, 60000, 60000, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Draenei Youngling - OOC - TALK'), +(@ENTRY, 0, 15, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 25, 15, 0, 0, 0, 0, 0, 0, 'Draenei Youngling - AGGRO - TALK'), +(@ENTRY,0,16,0,11,0,100,0,0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Youngling - On Respawn ' Remove npcflag"); +DELETE FROM smart_scripts WHERE `entryorguid`=24178 AND `id`=3; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(24178,0,3,0,8,0,0,0,43209,0,0,0,19,256,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shatterhorn - On Place Meat spellhit remove unit flags'); +-- +-- Keritose Bloodblade SAI +SET @ENTRY := 30946; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,62,0,100,0,10110,0,0,0,85,58698,0,0,0,0,0,7,0,0,0,0,0,0,0,"Keritose Bloodblade - On Gossip Option 0 Selected - Invoker Cast 'Possessed Skeletal Assault Gryphon'"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceID`=15 AND `SourceEntry`=0 AND `SourceGroup`=10110; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ConditionTypeOrReference`,`elseGroup`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`Comment`) VALUES +(15,10110,0,9,0,13172,0,0,0,'show gossip on quest 13172 taken'); + +-- Restless Lookout SAI +SET @ENTRY := 30951; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,8,0,100,0,45254,0,0,0,33,30951,0,0,0,0,0,21,50,0,0,0,0,0,0,"Restless Lookout - On Spellhit 'Suicide' - Quest Credit 'Honor is for the Weak'"), +(@ENTRY,0,2,0,8,0,100,0,59234,0,0,0,33,31555,0,0,0,0,0,7,0,0,0,0,0,0,0,"Restless Lookout - On Spellhit 'Firebomb' - Quest Credit 'Seeds of Chaos'"); + +-- Risen Laborer SAI +SET @ENTRY := 30949; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,8,0,100,0,59234,0,0,0,33,31555,0,0,0,0,0,7,0,0,0,0,0,0,0,"Risen Laborer - On Spellhit 'Firebomb' - Quest Credit 'Seeds of Chaos'"); + +/* gryphon */ +DELETE FROM `creature_template_addon` WHERE `entry`=31157; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(31157, 0, 0, 33554432, 0, 0, '55971'); +UPDATE `creature_template` SET `InhabitType`=4, `spell1`= 59234 WHERE `entry`=31157; + +-- Skeletal Assault Gryphon SAI +SET @ENTRY := 31157; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,53,1,31157,0,0,0,0,1,0,0,0,0,0,0,0,"Skeletal Assault Gryphon - On Just Summoned - Start Waypoint"), +(@ENTRY,0,1,2,40,0,100,0,35,31157,0,0,11,50630,2,0,0,0,0,1,0,0,0,0,0,0,0,"Skeletal Assault Gryphon - On Waypoint 35 Reached - Cast 'Eject All Passengers'"), +(@ENTRY,0,2,0,61,0,100,0,36,31157,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Skeletal Assault Gryphon - On Waypoint 36 Reached - Despawn In 1000 ms"); + +DELETE FROM `waypoints` WHERE `entry`=31157; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(31157, 1, 8397.621, 2683.953, 657.3679, 'Skeletal Assault Gryphon'), +(31157, 2, 8370.314, 2727.218, 664.7281, 'Skeletal Assault Gryphon'), +(31157, 3, 8335.474, 2760.751, 670.5891, 'Skeletal Assault Gryphon'), +(31157, 4, 8289.219, 2785.704, 674.7277, 'Skeletal Assault Gryphon'), +(31157, 5, 8212.881, 2826.851, 661.2293, 'Skeletal Assault Gryphon'), +(31157, 6, 8070.518, 2879.992, 614.7838, 'Skeletal Assault Gryphon'), +(31157, 7, 7950.946, 2893.043, 570.5617, 'Skeletal Assault Gryphon'), +(31157, 8, 7859.049, 2925.734, 547.0621, 'Skeletal Assault Gryphon'), +(31157, 9, 7804.694, 2973.792, 558.8955, 'Skeletal Assault Gryphon'), +(31157, 10, 7725.221, 3051.099, 570.2289, 'Skeletal Assault Gryphon'), +(31157, 11, 7658.346, 3084.103, 576.8101, 'Skeletal Assault Gryphon'), +(31157, 12, 7591.941, 3146.263, 587.5597, 'Skeletal Assault Gryphon'), +(31157, 13, 7576.145, 3203.526, 598.5592, 'Skeletal Assault Gryphon'), +(31157, 14, 7622.536, 3240.809, 611.8931, 'Skeletal Assault Gryphon'), +(31157, 15, 7703.133, 3210.107, 613.2822, 'Skeletal Assault Gryphon'), +(31157, 16, 7796.588, 3149.966, 615.9203, 'Skeletal Assault Gryphon'), +(31157, 17, 7889.656, 3088.229, 614.7259, 'Skeletal Assault Gryphon'), +(31157, 18, 7983.687, 3018.498, 597.3369, 'Skeletal Assault Gryphon'), +(31157, 19, 8053.703, 2943.441, 588.1163, 'Skeletal Assault Gryphon'), +(31157, 20, 8076.742, 2864.08, 582.1427, 'Skeletal Assault Gryphon'), +(31157, 21, 8005.022, 2790.798, 556.4193, 'Skeletal Assault Gryphon'), +(31157, 22, 7897.278, 2831.605, 550.6705, 'Skeletal Assault Gryphon'), +(31157, 23, 7847.702, 2963.348, 561.8926, 'Skeletal Assault Gryphon'), +(31157, 24, 7792.906, 3089.349, 590.8646, 'Skeletal Assault Gryphon'), +(31157, 25, 7735.124, 3173.07, 604.7814, 'Skeletal Assault Gryphon'), +(31157, 26, 7620.355, 3179.519, 599.2814, 'Skeletal Assault Gryphon'), +(31157, 27, 7590.6, 3106.805, 591.0317, 'Skeletal Assault Gryphon'), +(31157, 28, 7650.019, 3055.191, 581.8378, 'Skeletal Assault Gryphon'), +(31157, 29, 7734.892, 3021.323, 573.1149, 'Skeletal Assault Gryphon'), +(31157, 30, 7862.496, 2979.27, 572.5039, 'Skeletal Assault Gryphon'), +(31157, 31, 7956.528, 2972.131, 575.9482, 'Skeletal Assault Gryphon'), +(31157, 32, 8039.022, 2947.35, 576.0869, 'Skeletal Assault Gryphon'), +(31157, 33, 8155.893, 2883.776, 606.1532, 'Skeletal Assault Gryphon'), +(31157, 34, 8239.198, 2805.797, 654.0699, 'Skeletal Assault Gryphon'), +(31157, 35, 8290.536, 2766.505, 682.2192, 'Skeletal Assault Gryphon'), +(31157, 36, 8353.981, 2708.914, 714.5253, 'Skeletal Assault Gryphon'); +-- +DELETE FROM `creature` WHERE `id` = 29498; +DELETE FROM `vehicle_template_accessory` WHERE `entry` IN (29500) AND `accessory_entry` IN (29498); +INSERT INTO `vehicle_template_accessory` (`entry`,`accessory_entry`,`seat_id`,`minion`,`description`,`summontype`,`summontimer`)VALUES +(29500,29498,0,1,'Brunnhildar Warbear',8,0); + +DELETE FROM `creature` WHERE `id` = 30175; +DELETE FROM `vehicle_template_accessory` WHERE `entry` IN (30174) AND `accessory_entry` IN (30175); +INSERT INTO `vehicle_template_accessory` (`entry`,`accessory_entry`,`seat_id`,`minion`,`description`,`summontype`,`summontimer`)VALUES +(30174,30175,0,1,'Hyldsmeet Warbear',8,0); +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132553; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3852.509,`position_y`=3183.065,`position_z`=439.9884 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3852.509,3183.065,439.9884,0,0,0,0,100,0), +(@PATH,2,-3819.889,3184.794,439.9884,0,0,0,0,100,0), +(@PATH,3,-3782.827,3181.228,439.9884,0,0,0,0,100,0), +(@PATH,4,-3750.342,3182.072,439.9884,0,0,0,0,100,0), +(@PATH,5,-3722.763,3185.583,439.9884,0,0,0,0,100,0), +(@PATH,6,-3686.632,3214.135,439.9884,0,0,0,0,100,0), +(@PATH,7,-3656.386,3240.646,439.9884,0,0,0,0,100,0), +(@PATH,8,-3626.851,3272.052,439.9884,0,0,0,0,100,0), +(@PATH,9,-3614.448,3315.655,439.9884,0,0,0,0,100,0), +(@PATH,10,-3607.889,3352.559,439.9884,0,0,0,0,100,0), +(@PATH,11,-3585.032,3376.603,439.9884,0,0,0,0,100,0), +(@PATH,12,-3587.389,3402.663,439.9884,0,0,0,0,100,0), +(@PATH,13,-3579.043,3438.117,439.9884,0,0,0,0,100,0), +(@PATH,14,-3548.228,3462.314,439.9884,0,0,0,0,100,0), +(@PATH,15,-3537.522,3491.375,439.9884,0,0,0,0,100,0), +(@PATH,16,-3536.816,3529.879,439.9884,0,0,0,0,100,0), +(@PATH,17,-3531.781,3565.558,439.9884,0,0,0,0,100,0), +(@PATH,18,-3534.733,3584.761,439.9884,0,0,0,0,100,0), +(@PATH,19,-3540.309,3619.033,439.9884,0,0,0,0,100,0), +(@PATH,20,-3548.71,3648.066,439.9884,0,0,0,0,100,0), +(@PATH,21,-3565.15,3673.789,439.9884,0,0,0,0,100,0), +(@PATH,22,-3593.257,3700.032,439.9884,0,0,0,0,100,0), +(@PATH,23,-3629.609,3714.834,439.9884,0,0,0,0,100,0), +(@PATH,24,-3663.73,3728.198,439.9884,0,0,0,0,100,0), +(@PATH,25,-3699.584,3743.161,439.9884,0,0,0,0,100,0), +(@PATH,26,-3730.971,3758.693,439.9884,0,0,0,0,100,0), +(@PATH,27,-3763.805,3764.051,439.9884,0,0,0,0,100,0), +(@PATH,28,-3796.277,3791.6,439.9884,0,0,0,0,100,0), +(@PATH,29,-3829.475,3825.91,439.9884,0,0,0,0,100,0), +(@PATH,30,-3866.195,3833.057,439.9884,0,0,0,0,100,0), +(@PATH,31,-3901.688,3854.476,439.9884,0,0,0,0,100,0), +(@PATH,32,-3932.767,3851.711,439.9884,0,0,0,0,100,0), +(@PATH,33,-3965.585,3849.424,439.9884,0,0,0,0,100,0), +(@PATH,34,-3999.315,3846.842,439.9884,0,0,0,0,100,0), +(@PATH,35,-4034.047,3812.782,439.9884,0,0,0,0,100,0), +(@PATH,36,-4053.754,3766.908,439.9884,0,0,0,0,100,0), +(@PATH,37,-4065.977,3737.402,439.9884,0,0,0,0,100,0), +(@PATH,38,-4097.885,3717.781,439.9884,0,0,0,0,100,0), +(@PATH,39,-4102.042,3680.511,439.9884,0,0,0,0,100,0), +(@PATH,40,-4104.036,3655.926,439.9884,0,0,0,0,100,0), +(@PATH,41,-4101.168,3611.585,439.9884,0,0,0,0,100,0), +(@PATH,42,-4102.894,3574.591,439.9884,0,0,0,0,100,0), +(@PATH,43,-4103.932,3544.913,439.9884,0,0,0,0,100,0), +(@PATH,44,-4104.642,3508.564,439.9884,0,0,0,0,100,0), +(@PATH,45,-4106.799,3476.665,439.9884,0,0,0,0,100,0), +(@PATH,46,-4107.433,3449.932,439.9884,0,0,0,0,100,0), +(@PATH,47,-4104.114,3418.243,439.9884,0,0,0,0,100,0), +(@PATH,48,-4089.375,3376.191,439.9884,0,0,0,0,100,0), +(@PATH,49,-4055.623,3343.717,446.405,0,0,0,0,100,0), +(@PATH,50,-4011.469,3341.788,448.6551,0,0,0,0,100,0), +(@PATH,51,-3975.74,3311.974,446.6827,0,0,0,0,100,0), +(@PATH,52,-3947.277,3278.158,445.544,0,0,0,0,100,0), +(@PATH,53,-3922.814,3246.151,445.7939,0,0,0,0,100,0), +(@PATH,54,-3886.357,3212.919,439.9884,0,0,0,0,100,0); +-- 0x1C393042401682C000002B0003B619B4 .go -3852.509 3183.065 439.9884 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 86115; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3844.01,`position_y`=3755.452,`position_z`=357.5598 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3844.01,3755.452,357.5598,0,0,0,0,100,0), +(@PATH,2,-3852.51,3791.215,357.0599,0,0,0,0,100,0), +(@PATH,3,-3890.182,3810.264,355.8931,0,0,0,0,100,0), +(@PATH,4,-3916.092,3784.685,356.5043,0,0,0,0,100,0), +(@PATH,5,-3923.033,3754.531,361.0602,0,0,0,0,100,0), +(@PATH,6,-3922.995,3732.825,381.1874,0,0,0,0,100,0), +(@PATH,7,-3926.192,3702.992,389.9645,0,0,0,0,100,0), +(@PATH,8,-3920.217,3670.407,389.9645,0,0,0,0,100,0), +(@PATH,9,-3902.139,3652.927,389.9645,0,0,0,0,100,0), +(@PATH,10,-3881.576,3654.323,389.9645,0,0,0,0,100,0), +(@PATH,11,-3865.405,3672.89,381.4647,0,0,0,0,100,0), +(@PATH,12,-3862.587,3682.567,374.4212,0,0,0,0,100,0), +(@PATH,13,-3856.335,3709.221,366.0322,0,0,0,0,100,0); +-- 0x1C393042401682C000002C00003804ED .go -3844.01 3755.452 357.5598 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 79017; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3712.47,`position_y`=3449.822,`position_z`=329.5283 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3712.47,3449.822,329.5283,0,0,0,0,100,0), +(@PATH,2,-3692.213,3483.701,323.2226,0,0,0,0,100,0), +(@PATH,3,-3682.306,3518.447,319.0838,0,0,0,0,100,0), +(@PATH,4,-3686.292,3551.121,328.0282,0,0,0,0,100,0), +(@PATH,5,-3704.019,3589.462,327.0838,0,0,0,0,100,0), +(@PATH,6,-3720.923,3618.094,323.1671,0,0,0,0,100,0), +(@PATH,7,-3746.331,3629.958,322.9449,0,0,0,0,100,0), +(@PATH,8,-3788.036,3651.199,328.056,0,0,0,0,100,0), +(@PATH,9,-3829.155,3656.951,343.6671,0,0,0,0,100,0), +(@PATH,10,-3864.913,3641.72,343.6671,0,0,0,0,100,0), +(@PATH,11,-3899.767,3634.007,334.5004,0,0,0,0,100,0), +(@PATH,12,-3932.793,3625.805,327.7227,0,0,0,0,100,0), +(@PATH,13,-3965.984,3604.831,323.5561,0,0,0,0,100,0), +(@PATH,14,-3994.316,3568.82,324.0004,0,0,0,0,100,0), +(@PATH,15,-4020.807,3533.474,321.6671,0,0,0,0,100,0), +(@PATH,16,-4017.46,3505.427,320.4171,0,0,0,0,100,0), +(@PATH,17,-4012.915,3469.437,318.2504,0,0,0,0,100,0), +(@PATH,18,-4008.829,3443.473,322.9727,0,0,0,0,100,0), +(@PATH,19,-3987.128,3409.836,320.0283,0,0,0,0,100,0), +(@PATH,20,-3956.549,3381.68,323.2782,0,0,0,0,100,0), +(@PATH,21,-3917.093,3373.904,324.1949,0,0,0,0,100,0), +(@PATH,22,-3879.394,3373.863,331.1393,0,0,0,0,100,0), +(@PATH,23,-3846.889,3379.781,335.556,0,0,0,0,100,0), +(@PATH,24,-3815.72,3383.242,336.0282,0,0,0,0,100,0), +(@PATH,25,-3785.73,3387.147,333.7504,0,0,0,0,100,0), +(@PATH,26,-3745.971,3412.045,331.7226,0,0,0,0,100,0); +-- 0x1C393042401682C00000D80000384658 .go -3712.47 3449.822 329.5283 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132567; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3800.044,`position_y`=3329.872,`position_z`=342.0992 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3800.044,3329.872,342.0992,0,0,0,0,100,0), +(@PATH,2,-3820.034,3366.339,344.5435,0,0,0,0,100,0), +(@PATH,3,-3848.72,3382.158,349.6544,0,0,0,0,100,0), +(@PATH,4,-3866.445,3399.19,356.9323,0,0,0,0,100,0), +(@PATH,5,-3892.608,3428.64,364.4878,0,0,0,0,100,0), +(@PATH,6,-3875.494,3457.741,364.4878,0,0,0,0,100,0), +(@PATH,7,-3846.305,3462.793,364.4878,0,0,0,0,100,0), +(@PATH,8,-3835.524,3455.278,363.4879,0,0,0,0,100,0), +(@PATH,9,-3826.342,3432.901,363.4879,0,0,0,0,100,0), +(@PATH,10,-3833.529,3403.362,349.9602,0,0,0,0,100,0), +(@PATH,11,-3849.905,3384.756,348.2379,0,0,0,0,100,0), +(@PATH,12,-3869.018,3342.68,345.9046,0,0,0,0,100,0), +(@PATH,13,-3866.873,3308.942,344.5435,0,0,0,0,100,0), +(@PATH,14,-3833.351,3299.779,344.5435,0,0,0,0,100,0); +-- 0x1C393042401682C00000D80000389A53 .go -3800.044 3329.872 342.0992 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132557; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-4027.127,`position_y`=3236.136,`position_z`=342.3879 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-4027.127,3236.136,342.3879,0,0,0,0,100,0), +(@PATH,2,-4050.725,3247.826,342.3879,0,0,0,0,100,0), +(@PATH,3,-4074.902,3254.402,339.4433,0,0,0,0,100,0), +(@PATH,4,-4099.817,3279.177,340.388,0,0,0,0,100,0), +(@PATH,5,-4090.614,3300.566,342.3879,0,0,0,0,100,0), +(@PATH,6,-4066.256,3322.034,342.3879,0,0,0,0,100,0), +(@PATH,7,-4034.025,3315.976,340.4436,0,0,0,0,100,0), +(@PATH,8,-4000.627,3300.234,340.7216,0,0,0,0,100,0), +(@PATH,9,-3962.779,3269.458,342.3879,0,0,0,0,100,0), +(@PATH,10,-3932.333,3241.691,350.61,0,0,0,0,100,0), +(@PATH,11,-3924.384,3214.195,353.11,0,0,0,0,100,0), +(@PATH,12,-3948.188,3192.575,352.915,0,0,0,0,100,0), +(@PATH,13,-3975.502,3190.098,351.4991,0,0,0,0,100,0), +(@PATH,14,-4002.08,3217.684,348.0821,0,0,0,0,100,0); +-- 0x1C393042401682C00000D800003947B4 .go -4027.127 3236.136 342.3879 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 86099; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3617.656,`position_y`=3768.498,`position_z`=321.4414 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3617.656,3768.498,321.4414,0,0,0,0,100,0), +(@PATH,2,-3621.72,3753.039,319.025,0,0,0,0,100,0), +(@PATH,3,-3619.644,3727.897,309.8305,0,0,0,0,100,0), +(@PATH,4,-3627.178,3681.108,308.5527,0,0,0,0,100,0), +(@PATH,5,-3656.429,3650.599,304.2195,0,0,0,0,100,0), +(@PATH,6,-3696.808,3638.603,303.0528,0,0,0,0,100,0), +(@PATH,7,-3734.566,3654.597,302.6361,0,0,0,0,100,0), +(@PATH,8,-3766.324,3670.245,301.1362,0,0,0,0,100,0), +(@PATH,9,-3799.271,3684.971,303.1361,0,0,0,0,100,0), +(@PATH,10,-3832.15,3705.031,308.4691,0,0,0,0,100,0), +(@PATH,11,-3868.131,3721.502,318.4415,0,0,0,0,100,0), +(@PATH,12,-3909.399,3735.214,328.5527,0,0,0,0,100,0), +(@PATH,13,-3931.017,3766.784,334.3581,0,0,0,0,100,0), +(@PATH,14,-3917.445,3807.967,334.4695,0,0,0,0,100,0), +(@PATH,15,-3890.349,3823.759,327.1638,0,0,0,0,100,0), +(@PATH,16,-3849.03,3819.391,319.025,0,0,0,0,100,0), +(@PATH,17,-3822.998,3781.306,314.3583,0,0,0,0,100,0), +(@PATH,18,-3792.191,3762.3,302.9972,0,0,0,0,100,0), +(@PATH,19,-3753.88,3777.921,300.1917,0,0,0,0,100,0), +(@PATH,20,-3738.559,3813.297,304.1084,0,0,0,0,100,0), +(@PATH,21,-3707.912,3826.754,304.9972,0,0,0,0,100,0), +(@PATH,22,-3666.76,3801.158,304.9972,0,0,0,0,100,0), +(@PATH,23,-3632.452,3787.691,313.8025,0,0,0,0,100,0); +-- 0x1C393042401682C00000D800003950AB .go -3617.656 3768.498 321.4414 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132562; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3740.354,`position_y`=3781.2,`position_z`=318.1236 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3740.354,3781.2,318.1236,0,0,0,0,100,0), +(@PATH,2,-3733.342,3800.063,318.5958,0,0,0,0,100,0), +(@PATH,3,-3700.761,3815.838,314.9293,0,0,0,0,100,0), +(@PATH,4,-3684.377,3790.57,311.3183,0,0,0,0,100,0), +(@PATH,5,-3673.302,3755.679,311.3183,0,0,0,0,100,0), +(@PATH,6,-3654.191,3733.858,317.7345,0,0,0,0,100,0), +(@PATH,7,-3627.812,3735.349,321.0125,0,0,0,0,100,0), +(@PATH,8,-3620.85,3745.508,318.7352,0,0,0,0,100,0), +(@PATH,9,-3616.733,3766.586,318.0404,0,0,0,0,100,0), +(@PATH,10,-3633.59,3782.3,318.1792,0,0,0,0,100,0), +(@PATH,11,-3666.707,3773.215,316.2348,0,0,0,0,100,0), +(@PATH,12,-3699.968,3755.006,317.2626,0,0,0,0,100,0), +(@PATH,13,-3728.831,3766.574,318.1514,0,0,0,0,100,0); +-- 0x1C393042401682C00000D800003955EA .go -3740.354 3781.2 318.1236 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132558; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3889.631,`position_y`=3647.446,`position_z`=379.841 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3889.631,3647.446,379.841,0,0,0,0,100,0), +(@PATH,2,-3867.698,3661.597,374.2303,0,0,0,0,100,0), +(@PATH,3,-3829.105,3657.187,352.5638,0,0,0,0,100,0), +(@PATH,4,-3781.735,3660.671,339.2026,0,0,0,0,100,0), +(@PATH,5,-3733.907,3659.38,326.0082,0,0,0,0,100,0), +(@PATH,6,-3700.169,3654.304,306.0638,0,0,0,0,100,0), +(@PATH,7,-3666.533,3646.272,305.6747,0,0,0,0,100,0), +(@PATH,8,-3633.503,3666.819,305.6747,0,0,0,0,100,0), +(@PATH,9,-3615.833,3700.001,308.675,0,0,0,0,100,0), +(@PATH,10,-3612.93,3733.396,310.8136,0,0,0,0,100,0), +(@PATH,11,-3620.4,3766.181,312.2859,0,0,0,0,100,0), +(@PATH,12,-3633.891,3791.979,308.6469,0,0,0,0,100,0), +(@PATH,13,-3672.738,3787.063,303.5358,0,0,0,0,100,0), +(@PATH,14,-3699.661,3766.161,308.3416,0,0,0,0,100,0), +(@PATH,15,-3722.004,3734.262,307.3692,0,0,0,0,100,0), +(@PATH,16,-3758.981,3700.716,303.9804,0,0,0,0,100,0), +(@PATH,17,-3780.951,3669.244,307.3969,0,0,0,0,100,0), +(@PATH,18,-3823.718,3662.368,306.5638,0,0,0,0,100,0), +(@PATH,19,-3855.767,3696.363,309.2023,0,0,0,0,100,0), +(@PATH,20,-3888.813,3716.222,313.5079,0,0,0,0,100,0), +(@PATH,21,-3922.735,3736.949,316.8968,0,0,0,0,100,0), +(@PATH,22,-3932.095,3764.875,321.5081,0,0,0,0,100,0), +(@PATH,23,-3910.485,3799.088,334.758,0,0,0,0,100,0), +(@PATH,24,-3868.099,3812.761,342.1745,0,0,0,0,100,0), +(@PATH,25,-3842.411,3793.997,354.0078,0,0,0,0,100,0), +(@PATH,26,-3820.221,3754.304,346.8967,0,0,0,0,100,0), +(@PATH,27,-3833.732,3709.265,337.0357,0,0,0,0,100,0), +(@PATH,28,-3851.1,3670.116,337.0357,0,0,0,0,100,0), +(@PATH,29,-3880.107,3634.346,337.0357,0,0,0,0,100,0), +(@PATH,30,-3922.091,3616.533,325.3135,0,0,0,0,100,0), +(@PATH,31,-3965.485,3605.971,311.0912,0,0,0,0,100,0), +(@PATH,32,-3990.204,3580.163,305.9802,0,0,0,0,100,0), +(@PATH,33,-4011.796,3540.719,305.9802,0,0,0,0,100,0), +(@PATH,34,-4011.68,3508.126,305.9802,0,0,0,0,100,0), +(@PATH,35,-3987.115,3486.282,305.9802,0,0,0,0,100,0), +(@PATH,36,-3945.38,3469.3,318.369,0,0,0,0,100,0), +(@PATH,37,-3915.382,3492.937,334.7857,0,0,0,0,100,0), +(@PATH,38,-3903.774,3531.629,345.4246,0,0,0,0,100,0), +(@PATH,39,-3920.156,3565.949,365.369,0,0,0,0,100,0), +(@PATH,40,-3933.356,3594.115,376.4244,0,0,0,0,100,0), +(@PATH,41,-3912.393,3631.522,376.4244,0,0,0,0,100,0); +-- 0x1C393042401682C00000D8000039560D .go -3889.631 3647.446 379.841 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 86116; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3876.833,`position_y`=3314.512,`position_z`=379.5609 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3876.833,3314.512,379.5609,0,0,0,0,100,0), +(@PATH,2,-3886.097,3325.345,379.5609,0,0,0,0,100,0), +(@PATH,3,-3911.672,3347.092,379.5609,0,0,0,0,100,0), +(@PATH,4,-3945.02,3355.806,379.5609,0,0,0,0,100,0), +(@PATH,5,-3972.972,3374.654,379.5609,0,0,0,0,100,0), +(@PATH,6,-4009.497,3393.97,379.5609,0,0,0,0,100,0), +(@PATH,7,-4038.995,3394.833,379.5609,0,0,0,0,100,0), +(@PATH,8,-4084.306,3383.78,379.5609,0,0,0,0,100,0), +(@PATH,9,-4114.101,3348.398,379.5609,0,0,0,0,100,0), +(@PATH,10,-4121.285,3315.157,359.6998,0,0,0,0,100,0), +(@PATH,11,-4133.357,3269.041,344.6721,0,0,0,0,100,0), +(@PATH,12,-4127.872,3224.243,336.2553,0,0,0,0,100,0), +(@PATH,13,-4088.58,3195.296,338.8943,0,0,0,0,100,0), +(@PATH,14,-4068.468,3153.282,341.0054,0,0,0,0,100,0), +(@PATH,15,-4070.876,3123.454,342.6997,0,0,0,0,100,0), +(@PATH,16,-4097.591,3094.782,347.3387,0,0,0,0,100,0), +(@PATH,17,-4122.666,3063.981,348.1721,0,0,0,0,100,0), +(@PATH,18,-4162.276,3056.197,349.6165,0,0,0,0,100,0), +(@PATH,19,-4202.113,3083.117,358.5054,0,0,0,0,100,0), +(@PATH,20,-4214.216,3116.871,357.2553,0,0,0,0,100,0), +(@PATH,21,-4193.599,3157.323,355.2832,0,0,0,0,100,0), +(@PATH,22,-4155.592,3185.045,347.0332,0,0,0,0,100,0), +(@PATH,23,-4111.882,3181.491,345.0887,0,0,0,0,100,0), +(@PATH,24,-4062.104,3179.68,348.9498,0,0,0,0,100,0), +(@PATH,25,-4020.427,3179.234,361.4219,0,0,0,0,100,0), +(@PATH,26,-3982.672,3180.415,363.0051,0,0,0,0,100,0), +(@PATH,27,-3951.448,3159.866,363.561,0,0,0,0,100,0), +(@PATH,28,-3937.524,3133.349,370.6444,0,0,0,0,100,0), +(@PATH,29,-3931.404,3105.327,376.0884,0,0,0,0,100,0), +(@PATH,30,-3933.873,3066.744,379.5609,0,0,0,0,100,0), +(@PATH,31,-3940.64,3017.597,385.5607,0,0,0,0,100,0), +(@PATH,32,-3962.612,2986.642,387.3109,0,0,0,0,100,0), +(@PATH,33,-3987.704,2976.624,388.1721,0,0,0,0,100,0), +(@PATH,34,-4028.228,2974.074,379.5609,0,0,0,0,100,0), +(@PATH,35,-4068.643,2997.102,369.2554,0,0,0,0,100,0), +(@PATH,36,-4093.04,3026.769,367.2279,0,0,0,0,100,0), +(@PATH,37,-4081.151,3058.765,357.4498,0,0,0,0,100,0), +(@PATH,38,-4050.25,3086.566,362.8388,0,0,0,0,100,0), +(@PATH,39,-4009.628,3109.691,361.9498,0,0,0,0,100,0), +(@PATH,40,-3962.259,3115.2,365.2273,0,0,0,0,100,0), +(@PATH,41,-3931.493,3131.271,371.1159,0,0,0,0,100,0), +(@PATH,42,-3901.853,3157.168,376.1166,0,0,0,0,100,0), +(@PATH,43,-3882.195,3190.008,374.5609,0,0,0,0,100,0), +(@PATH,44,-3907.507,3233.704,369.0056,0,0,0,0,100,0), +(@PATH,45,-3930.386,3264.117,346.8111,0,0,0,0,100,0), +(@PATH,46,-3952.398,3305.412,329.4775,0,0,0,0,100,0), +(@PATH,47,-3949.958,3344.656,317.033,0,0,0,0,100,0), +(@PATH,48,-3933.078,3390.3,316.2833,0,0,0,0,100,0), +(@PATH,49,-3924.384,3438.506,320.0887,0,0,0,0,100,0), +(@PATH,50,-3908.001,3480.083,321.7832,0,0,0,0,100,0), +(@PATH,51,-3881.964,3513.231,323.2551,0,0,0,0,100,0), +(@PATH,52,-3844.591,3536.472,335.8942,0,0,0,0,100,0), +(@PATH,53,-3822.905,3535.266,339.8388,0,0,0,0,100,0), +(@PATH,54,-3792.544,3507.122,337.1997,0,0,0,0,100,0), +(@PATH,55,-3760.572,3487.132,351.5052,0,0,0,0,100,0), +(@PATH,56,-3744.966,3453.418,364.5887,0,0,0,0,100,0), +(@PATH,57,-3744.307,3416.908,367.4221,0,0,0,0,100,0), +(@PATH,58,-3740.536,3368.536,367.0887,0,0,0,0,100,0), +(@PATH,59,-3734.622,3321.623,379.5609,0,0,0,0,100,0), +(@PATH,60,-3731.181,3282.171,379.5609,0,0,0,0,100,0), +(@PATH,61,-3694.877,3249.842,379.5609,0,0,0,0,100,0), +(@PATH,62,-3655.565,3261.063,379.5609,0,0,0,0,100,0), +(@PATH,63,-3641.669,3284.071,367.7832,0,0,0,0,100,0), +(@PATH,64,-3641.303,3315.587,364.9221,0,0,0,0,100,0), +(@PATH,65,-3654.031,3343.666,369.4221,0,0,0,0,100,0), +(@PATH,66,-3680.551,3352.762,367.6165,0,0,0,0,100,0), +(@PATH,67,-3714.793,3358.927,363.9776,0,0,0,0,100,0), +(@PATH,68,-3753.792,3357.834,379.5609,0,0,0,0,100,0), +(@PATH,69,-3787.513,3323.292,384.7554,0,0,0,0,100,0), +(@PATH,70,-3817.402,3284.448,390.9497,0,0,0,0,100,0), +(@PATH,71,-3855.805,3289.496,379.5609,0,0,0,0,100,0); +-- 0x1C393042401682C00000D80000395FE7 .go -3876.833 3314.512 379.5609 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132564; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3811.575,`position_y`=3318.012,`position_z`=350.0489 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3811.575,3318.012,350.0489,0,0,0,0,100,0), +(@PATH,2,-3839.544,3360.737,346.5213,0,0,0,0,100,0), +(@PATH,3,-3844.532,3382.859,327.4657,0,0,0,0,100,0), +(@PATH,4,-3824.744,3421.51,330.4099,0,0,0,0,100,0), +(@PATH,5,-3815.863,3458.307,331.2989,0,0,0,0,100,0), +(@PATH,6,-3810.683,3497.717,331.2989,0,0,0,0,100,0), +(@PATH,7,-3813.658,3530.778,320.3824,0,0,0,0,100,0), +(@PATH,8,-3816.187,3562.303,309.2156,0,0,0,0,100,0), +(@PATH,9,-3807.29,3592.113,304.2435,0,0,0,0,100,0), +(@PATH,10,-3785.319,3618.569,304.2435,0,0,0,0,100,0), +(@PATH,11,-3745.147,3632.447,304.2435,0,0,0,0,100,0), +(@PATH,12,-3709.023,3627.542,304.2435,0,0,0,0,100,0), +(@PATH,13,-3675.768,3604.466,304.2435,0,0,0,0,100,0), +(@PATH,14,-3671.146,3576.667,304.2435,0,0,0,0,100,0), +(@PATH,15,-3681.459,3543.929,304.2435,0,0,0,0,100,0), +(@PATH,16,-3683.946,3516.303,304.2435,0,0,0,0,100,0), +(@PATH,17,-3690.97,3482.81,304.2435,0,0,0,0,100,0), +(@PATH,18,-3718.609,3446.152,304.2435,0,0,0,0,100,0), +(@PATH,19,-3752.872,3415.494,304.2435,0,0,0,0,100,0), +(@PATH,20,-3787.441,3393.248,306.6046,0,0,0,0,100,0), +(@PATH,21,-3819.708,3391.489,304.2435,0,0,0,0,100,0), +(@PATH,22,-3843.183,3389.003,306.9379,0,0,0,0,100,0), +(@PATH,23,-3878.647,3381.219,308.4658,0,0,0,0,100,0), +(@PATH,24,-3917.604,3385.046,313.9101,0,0,0,0,100,0), +(@PATH,25,-3948.888,3388.875,314.6601,0,0,0,0,100,0), +(@PATH,26,-3981.859,3411.407,311.4101,0,0,0,0,100,0), +(@PATH,27,-4006.548,3451.265,312.8823,0,0,0,0,100,0), +(@PATH,28,-4013.026,3483.869,313.6044,0,0,0,0,100,0), +(@PATH,29,-4007.704,3522.086,312.9934,0,0,0,0,100,0), +(@PATH,30,-3979.958,3551.535,309.1602,0,0,0,0,100,0), +(@PATH,31,-3949.836,3557.036,311.2711,0,0,0,0,100,0), +(@PATH,32,-3916.583,3556.782,310.1602,0,0,0,0,100,0), +(@PATH,33,-3878.491,3547.684,308.91,0,0,0,0,100,0), +(@PATH,34,-3848.358,3529.306,308.3823,0,0,0,0,100,0), +(@PATH,35,-3810.661,3519.969,310.9657,0,0,0,0,100,0), +(@PATH,36,-3788.128,3509.623,314.0764,0,0,0,0,100,0), +(@PATH,37,-3746.377,3484.105,314.4373,0,0,0,0,100,0), +(@PATH,38,-3720.415,3453.266,311.1879,0,0,0,0,100,0), +(@PATH,39,-3711.39,3414.835,316.1873,0,0,0,0,100,0), +(@PATH,40,-3695.241,3382.754,310.2711,0,0,0,0,100,0), +(@PATH,41,-3690.628,3349.262,309.5486,0,0,0,0,100,0), +(@PATH,42,-3707.501,3320.029,317.0488,0,0,0,0,100,0), +(@PATH,43,-3743.783,3305.247,330.9655,0,0,0,0,100,0), +(@PATH,44,-3787.108,3314.23,339.9933,0,0,0,0,100,0); +-- 0x1C393042401682C00000D80000397863 .go -3811.575 3318.012 350.0489 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132554; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-4096.788,`position_y`=3033.959,`position_z`=360.6063 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-4096.788,3033.959,360.6063,0,0,0,0,100,0), +(@PATH,2,-4104.214,3041.3,359.5785,0,0,0,0,100,0), +(@PATH,3,-4125.444,3052.258,358.9676,0,0,0,0,100,0), +(@PATH,4,-4159.867,3033.596,358.9952,0,0,0,0,100,0), +(@PATH,5,-4186.089,3020.478,361.662,0,0,0,0,100,0), +(@PATH,6,-4216.206,3023.308,363.8009,0,0,0,0,100,0), +(@PATH,7,-4219.776,3049.481,362.9398,0,0,0,0,100,0), +(@PATH,8,-4205.974,3076.206,360.8285,0,0,0,0,100,0), +(@PATH,9,-4175.602,3071.705,356.4121,0,0,0,0,100,0), +(@PATH,10,-4149.558,3039.067,356.4121,0,0,0,0,100,0), +(@PATH,11,-4139.287,3016.167,361.1343,0,0,0,0,100,0), +(@PATH,12,-4115.834,2995.427,363.3842,0,0,0,0,100,0), +(@PATH,13,-4089.456,3009.014,362.3842,0,0,0,0,100,0); +-- 0x1C393042401682C00000D80000397B33 .go -4096.788 3033.959 360.6063 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 83238; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3740.354,`position_y`=3781.2,`position_z`=318.1236 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3740.354,3781.2,318.1236,0,0,0,0,100,0), +(@PATH,2,-3733.342,3800.063,318.5958,0,0,0,0,100,0), +(@PATH,3,-3700.761,3815.838,314.9293,0,0,0,0,100,0), +(@PATH,4,-3684.377,3790.57,311.3183,0,0,0,0,100,0), +(@PATH,5,-3673.302,3755.679,311.3183,0,0,0,0,100,0), +(@PATH,6,-3654.191,3733.858,317.7345,0,0,0,0,100,0), +(@PATH,7,-3627.812,3735.349,321.0125,0,0,0,0,100,0), +(@PATH,8,-3620.85,3745.508,318.7352,0,0,0,0,100,0), +(@PATH,9,-3616.733,3766.586,318.0404,0,0,0,0,100,0), +(@PATH,10,-3633.59,3782.3,318.1792,0,0,0,0,100,0), +(@PATH,11,-3666.707,3773.215,316.2348,0,0,0,0,100,0), +(@PATH,12,-3699.968,3755.006,317.2626,0,0,0,0,100,0), +(@PATH,13,-3728.831,3766.574,318.1514,0,0,0,0,100,0); +-- 0x1C393042401682C00000D800003989DF .go -3740.354 3781.2 318.1236 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132566; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3671.494,`position_y`=3402.642,`position_z`=324.4617 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3671.494,3402.642,324.4617,0,0,0,0,100,0), +(@PATH,2,-3675.101,3400.796,324.5731,0,0,0,0,100,0), +(@PATH,3,-3695.996,3378.851,323.7954,0,0,0,0,100,0), +(@PATH,4,-3677.757,3333.374,329.4622,0,0,0,0,100,0), +(@PATH,5,-3671.793,3306.185,341.9066,0,0,0,0,100,0), +(@PATH,6,-3691.331,3277.393,341.9066,0,0,0,0,100,0), +(@PATH,7,-3714.71,3287.554,341.9066,0,0,0,0,100,0), +(@PATH,8,-3715.633,3314.267,336.4897,0,0,0,0,100,0), +(@PATH,9,-3681.489,3340.859,327.934,0,0,0,0,100,0), +(@PATH,10,-3648.484,3360.056,326.1562,0,0,0,0,100,0), +(@PATH,11,-3641.23,3384.09,325.4897,0,0,0,0,100,0), +(@PATH,12,-3655.433,3406.725,325.0451,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE000039182E .go -3671.494 3402.642 324.4617 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132556; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-4209.313,`position_y`=3165.873,`position_z`=345.6776 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-4209.313,3165.873,345.6776,0,0,0,0,100,0), +(@PATH,2,-4209.917,3166.669,345.6776,0,0,0,0,100,0), +(@PATH,3,-4214.472,3180.67,347.2502,0,0,0,0,100,0), +(@PATH,4,-4216.52,3213.613,345.6775,0,0,0,0,100,0), +(@PATH,5,-4208.682,3255.884,339.0109,0,0,0,0,100,0), +(@PATH,6,-4189.062,3300.134,333.0109,0,0,0,0,100,0), +(@PATH,7,-4149.259,3324.875,328.7887,0,0,0,0,100,0), +(@PATH,8,-4108.452,3350.17,317.011,0,0,0,0,100,0), +(@PATH,9,-4062.702,3352.578,312.0665,0,0,0,0,100,0), +(@PATH,10,-4014.43,3348.026,315.1498,0,0,0,0,100,0), +(@PATH,11,-3986.476,3375.022,322.1496,0,0,0,0,100,0), +(@PATH,12,-3981.146,3423.131,315.4276,0,0,0,0,100,0), +(@PATH,13,-3984.354,3463.035,318.9552,0,0,0,0,100,0), +(@PATH,14,-3983.076,3512.558,312.2053,0,0,0,0,100,0), +(@PATH,15,-3966.213,3540.754,323.3442,0,0,0,0,100,0), +(@PATH,16,-3949.22,3584.559,328.372,0,0,0,0,100,0), +(@PATH,17,-3913.326,3616.715,336.8163,0,0,0,0,100,0), +(@PATH,18,-3871.808,3634.682,342.0666,0,0,0,0,100,0), +(@PATH,19,-3845.71,3666.634,355.0107,0,0,0,0,100,0), +(@PATH,20,-3851.377,3715.548,351.7607,0,0,0,0,100,0), +(@PATH,21,-3821.307,3750.763,351.2052,0,0,0,0,100,0), +(@PATH,22,-3795.161,3777.228,334.7328,0,0,0,0,100,0), +(@PATH,23,-3763.429,3800.694,324.3996,0,0,0,0,100,0), +(@PATH,24,-3732.729,3778.102,316.9553,0,0,0,0,100,0), +(@PATH,25,-3699.662,3753.815,315.6498,0,0,0,0,100,0), +(@PATH,26,-3666.87,3741.209,315.7607,0,0,0,0,100,0), +(@PATH,27,-3634.06,3717.237,319.2329,0,0,0,0,100,0), +(@PATH,28,-3613.867,3678.084,317.8165,0,0,0,0,100,0), +(@PATH,29,-3622.779,3632.821,322.9277,0,0,0,0,100,0), +(@PATH,30,-3620.368,3590.816,320.0942,0,0,0,0,100,0), +(@PATH,31,-3625.737,3551.353,323.3442,0,0,0,0,100,0), +(@PATH,32,-3626.56,3508.485,328.3718,0,0,0,0,100,0), +(@PATH,33,-3652.823,3477.152,326.2332,0,0,0,0,100,0), +(@PATH,34,-3666.577,3433.208,328.844,0,0,0,0,100,0), +(@PATH,35,-3689.016,3394.729,323.7608,0,0,0,0,100,0), +(@PATH,36,-3716.738,3363.748,323.2885,0,0,0,0,100,0), +(@PATH,37,-3754.879,3351.833,332.8161,0,0,0,0,100,0), +(@PATH,38,-3795.422,3366.06,336.0938,0,0,0,0,100,0), +(@PATH,39,-3839.274,3378.524,336.0663,0,0,0,0,100,0), +(@PATH,40,-3884.272,3383.12,331.8162,0,0,0,0,100,0), +(@PATH,41,-3923.974,3361.845,329.0664,0,0,0,0,100,0), +(@PATH,42,-3938.367,3317.121,327.0108,0,0,0,0,100,0), +(@PATH,43,-3970.304,3289.182,332.4276,0,0,0,0,100,0), +(@PATH,44,-4001.49,3256,340.0942,0,0,0,0,100,0), +(@PATH,45,-4017.281,3211.053,337.8997,0,0,0,0,100,0), +(@PATH,46,-4034.001,3168.051,336.3162,0,0,0,0,100,0), +(@PATH,47,-4060.109,3128.304,345.6775,0,0,0,0,100,0), +(@PATH,48,-4089.788,3088.067,342.4553,0,0,0,0,100,0), +(@PATH,49,-4130.021,3082.164,339.8998,0,0,0,0,100,0), +(@PATH,50,-4161.369,3103.56,345.6775,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE0000391BB1 .go -4209.313 3165.873 345.6776 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132565; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3700.187,`position_y`=3268.531,`position_z`=332.5694 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3700.187,3268.531,332.5694,0,0,0,0,100,0), +(@PATH,2,-3712.445,3309.058,332.5694,0,0,0,0,100,0), +(@PATH,3,-3731.05,3347.229,317.6805,0,0,0,0,100,0), +(@PATH,4,-3716.804,3386.164,312.5971,0,0,0,0,100,0), +(@PATH,5,-3714.796,3416.085,310.3194,0,0,0,0,100,0), +(@PATH,6,-3726.431,3460.464,311.0414,0,0,0,0,100,0), +(@PATH,7,-3753.865,3482.538,314.9584,0,0,0,0,100,0), +(@PATH,8,-3788.998,3508.942,314.9305,0,0,0,0,100,0), +(@PATH,9,-3824.704,3524.107,309.9028,0,0,0,0,100,0), +(@PATH,10,-3848.736,3512.536,316.0972,0,0,0,0,100,0), +(@PATH,11,-3888.76,3485.173,326.2916,0,0,0,0,100,0), +(@PATH,12,-3912.334,3450.138,334.236,0,0,0,0,100,0), +(@PATH,13,-3915.319,3410.722,336.7916,0,0,0,0,100,0), +(@PATH,14,-3881.387,3385.134,337.5138,0,0,0,0,100,0), +(@PATH,15,-3847.486,3374.93,332.5694,0,0,0,0,100,0), +(@PATH,16,-3805.386,3361.039,326.6804,0,0,0,0,100,0), +(@PATH,17,-3773.776,3364.174,321.6806,0,0,0,0,100,0), +(@PATH,18,-3746.576,3378.93,320.8195,0,0,0,0,100,0), +(@PATH,19,-3711.678,3399.851,324.7638,0,0,0,0,100,0), +(@PATH,20,-3677.318,3417.94,324.6248,0,0,0,0,100,0), +(@PATH,21,-3633.113,3400.247,323.4301,0,0,0,0,100,0), +(@PATH,22,-3626.553,3376.975,323.0689,0,0,0,0,100,0), +(@PATH,23,-3616.881,3334.872,332.5694,0,0,0,0,100,0), +(@PATH,24,-3627.39,3296.557,332.5694,0,0,0,0,100,0), +(@PATH,25,-3664.143,3265.263,332.5694,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE0000391D86 .go -3700.187 3268.531 332.5694 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132555; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3910.414,`position_y`=2965.875,`position_z`=390.4576 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3910.414,2965.875,390.4576,0,0,0,0,100,0), +(@PATH,2,-3933.329,2966.657,390.4576,0,0,0,0,100,0), +(@PATH,3,-3954.885,2975.502,382.291,0,0,0,0,100,0), +(@PATH,4,-3963.788,3013.65,381.3741,0,0,0,0,100,0), +(@PATH,5,-3969.197,3050.419,375.9853,0,0,0,0,100,0), +(@PATH,6,-3984.531,3090.169,372.0131,0,0,0,0,100,0), +(@PATH,7,-3972.277,3135.571,367.5407,0,0,0,0,100,0), +(@PATH,8,-3947.474,3178.757,362.0132,0,0,0,0,100,0), +(@PATH,9,-3930.654,3222.331,346.0132,0,0,0,0,100,0), +(@PATH,10,-3944.785,3269.054,337.6526,0,0,0,0,100,0), +(@PATH,11,-3988.984,3283.474,328.0133,0,0,0,0,100,0), +(@PATH,12,-4020.175,3305.831,332.7634,0,0,0,0,100,0), +(@PATH,13,-4043.304,3338.783,339.9855,0,0,0,0,100,0), +(@PATH,14,-4076.572,3375.872,343.2631,0,0,0,0,100,0), +(@PATH,15,-4067.485,3424.765,347.1243,0,0,0,0,100,0), +(@PATH,16,-4037.804,3458.173,351.3187,0,0,0,0,100,0), +(@PATH,17,-4007.092,3452.119,341.2909,0,0,0,0,100,0), +(@PATH,18,-3969.205,3437.343,334.1797,0,0,0,0,100,0), +(@PATH,19,-3932.203,3431.731,332.2077,0,0,0,0,100,0), +(@PATH,20,-3896.705,3421.381,327.7629,0,0,0,0,100,0), +(@PATH,21,-3871.978,3389.38,331.041,0,0,0,0,100,0), +(@PATH,22,-3827.513,3390.714,332.2075,0,0,0,0,100,0), +(@PATH,23,-3802.128,3368.306,336.7633,0,0,0,0,100,0), +(@PATH,24,-3790.874,3332.89,343.6242,0,0,0,0,100,0), +(@PATH,25,-3808.656,3291.044,352.0409,0,0,0,0,100,0), +(@PATH,26,-3817.205,3243.875,361.9853,0,0,0,0,100,0), +(@PATH,27,-3841.924,3206.913,365.2077,0,0,0,0,100,0), +(@PATH,28,-3882.906,3183.564,363.3185,0,0,0,0,100,0), +(@PATH,29,-3903.045,3142.097,372.3742,0,0,0,0,100,0), +(@PATH,30,-3883.694,3111.339,382.5131,0,0,0,0,100,0), +(@PATH,31,-3856.857,3076.734,390.4576,0,0,0,0,100,0), +(@PATH,32,-3843.808,3035.878,390.4576,0,0,0,0,100,0), +(@PATH,33,-3833.452,2993.256,390.4576,0,0,0,0,100,0), +(@PATH,34,-3866.545,2965.673,390.4576,0,0,0,0,100,0), +(@PATH,35,-3910.414,2965.875,390.4576,0,0,0,0,100,0), +(@PATH,36,-3933.329,2966.657,390.4576,0,0,0,0,100,0), +(@PATH,37,-3954.885,2975.502,382.291,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE0000393AF6 .go -3910.414 2965.875 390.4576 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 132560; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-4210.051,`position_y`=3036.035,`position_z`=359.2715 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-4210.051,3036.035,359.2715,0,0,0,0,100,0), +(@PATH,2,-4197.814,3024.344,366.188,0,0,0,0,100,0), +(@PATH,3,-4166.595,3015.782,353.327,0,0,0,0,100,0), +(@PATH,4,-4119.361,3000.518,350.3828,0,0,0,0,100,0), +(@PATH,5,-4078.058,3004.437,346.7713,0,0,0,0,100,0), +(@PATH,6,-4047.495,3033.212,346.8269,0,0,0,0,100,0), +(@PATH,7,-4037.817,3075.937,350.9382,0,0,0,0,100,0), +(@PATH,8,-4037.221,3122.487,345.1326,0,0,0,0,100,0), +(@PATH,9,-4020.077,3150.257,329.8825,0,0,0,0,100,0), +(@PATH,10,-3983.114,3172.777,330.1326,0,0,0,0,100,0), +(@PATH,11,-3945.796,3163.176,338.4935,0,0,0,0,100,0), +(@PATH,12,-3906.744,3138.077,347.0493,0,0,0,0,100,0), +(@PATH,13,-3872.958,3116.541,357.4377,0,0,0,0,100,0), +(@PATH,14,-3857.695,3086.127,367.6046,0,0,0,0,100,0), +(@PATH,15,-3866.051,3043.046,372.1045,0,0,0,0,100,0), +(@PATH,16,-3902.363,3025,374.7159,0,0,0,0,100,0), +(@PATH,17,-3939.945,3047.438,368.138,0,0,0,0,100,0), +(@PATH,18,-3976.81,3075.321,357.9659,0,0,0,0,100,0), +(@PATH,19,-4015.781,3101.057,352.3272,0,0,0,0,100,0), +(@PATH,20,-4057.297,3120.64,344.0215,0,0,0,0,100,0), +(@PATH,21,-4093.992,3151.9,340.0216,0,0,0,0,100,0), +(@PATH,22,-4133.575,3148.626,338.077,0,0,0,0,100,0), +(@PATH,23,-4161.596,3113.013,348.6326,0,0,0,0,100,0), +(@PATH,24,-4193.336,3081.118,359.2715,0,0,0,0,100,0), +(@PATH,25,-4214.105,3060.078,359.2715,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE0000393F44 .go -4210.051 3036.035 359.2715 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 86117; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3894.564,`position_y`=3430.655,`position_z`=372.4708 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3894.564,3430.655,372.4708,0,0,0,0,100,0), +(@PATH,2,-3857.21,3447.031,372.4708,0,0,0,0,100,0), +(@PATH,3,-3823.56,3471.693,372.4708,0,0,0,0,100,0), +(@PATH,4,-3784.599,3479.697,372.4708,0,0,0,0,100,0), +(@PATH,5,-3742.468,3490.947,353.0265,0,0,0,0,100,0), +(@PATH,6,-3709.652,3520.501,345.0263,0,0,0,0,100,0), +(@PATH,7,-3664.314,3533.171,334.0263,0,0,0,0,100,0), +(@PATH,8,-3616.403,3539.115,323.9706,0,0,0,0,100,0), +(@PATH,9,-3582.801,3553.028,325.193,0,0,0,0,100,0), +(@PATH,10,-3589.008,3587.388,329.9429,0,0,0,0,100,0), +(@PATH,11,-3636.932,3603.025,325.1376,0,0,0,0,100,0), +(@PATH,12,-3663.247,3624.526,321.2208,0,0,0,0,100,0), +(@PATH,13,-3704.071,3625.825,318.6652,0,0,0,0,100,0), +(@PATH,14,-3750.566,3629.281,322.7488,0,0,0,0,100,0), +(@PATH,15,-3785.251,3646.629,322.5265,0,0,0,0,100,0), +(@PATH,16,-3821.648,3660.992,332.4431,0,0,0,0,100,0), +(@PATH,17,-3844.523,3693.082,347.1931,0,0,0,0,100,0), +(@PATH,18,-3873.079,3712.225,349.1932,0,0,0,0,100,0), +(@PATH,19,-3903.724,3693.448,347.4153,0,0,0,0,100,0), +(@PATH,20,-3935.185,3680.15,346.9429,0,0,0,0,100,0), +(@PATH,21,-3961.531,3655.501,345.2486,0,0,0,0,100,0), +(@PATH,22,-3966.79,3606.822,348.2763,0,0,0,0,100,0), +(@PATH,23,-3973.929,3571.161,341.0261,0,0,0,0,100,0), +(@PATH,24,-3980.9,3522.605,335.8875,0,0,0,0,100,0), +(@PATH,25,-4004.451,3487.919,317.9431,0,0,0,0,100,0), +(@PATH,26,-4001.448,3441.261,334.3042,0,0,0,0,100,0), +(@PATH,27,-3966.929,3406.75,330.5819,0,0,0,0,100,0), +(@PATH,28,-3922.993,3396.193,351.9707,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE00003946C7 .go -3894.564 3430.655 372.4708 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 86131; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3884.442,`position_y`=3113.831,`position_z`=389.185 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3884.442,3113.831,389.185,0,0,0,0,100,0), +(@PATH,2,-3869.677,3093.181,392.3522,0,0,0,0,100,0), +(@PATH,3,-3876.115,3078.8,392.3522,0,0,0,0,100,0), +(@PATH,4,-3900.006,3066.922,392.3522,0,0,0,0,100,0), +(@PATH,5,-3934.172,3083.277,392.3522,0,0,0,0,100,0), +(@PATH,6,-3942.406,3108.275,392.3522,0,0,0,0,100,0), +(@PATH,7,-3955.406,3132.591,392.3522,0,0,0,0,100,0), +(@PATH,8,-3983.802,3151.235,400.1577,0,0,0,0,100,0), +(@PATH,9,-4018.729,3167.318,408.8244,0,0,0,0,100,0), +(@PATH,10,-4048.56,3146.723,397.5466,0,0,0,0,100,0), +(@PATH,11,-4034.677,3106.917,375.3246,0,0,0,0,100,0), +(@PATH,12,-3999.241,3105.82,364.3524,0,0,0,0,100,0), +(@PATH,13,-3976.743,3112.321,363.4634,0,0,0,0,100,0), +(@PATH,14,-3934.065,3120.998,373.4079,0,0,0,0,100,0), +(@PATH,15,-3904.763,3124.439,386.7683,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE0000394785 .go -3884.442 3113.831 389.185 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 83237; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-3620.779,`position_y`=3761.98,`position_z`=319.1757 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-3620.779,3761.98,319.1757,0,0,0,0,100,0), +(@PATH,2,-3621.137,3762.914,319.1757,0,0,0,0,100,0), +(@PATH,3,-3621.72,3753.039,319.025,0,0,0,0,100,0), +(@PATH,4,-3619.644,3727.897,309.8305,0,0,0,0,100,0), +(@PATH,5,-3627.178,3681.108,308.5527,0,0,0,0,100,0), +(@PATH,6,-3656.429,3650.599,304.2195,0,0,0,0,100,0), +(@PATH,7,-3696.808,3638.603,303.0528,0,0,0,0,100,0), +(@PATH,8,-3734.566,3654.597,302.6361,0,0,0,0,100,0), +(@PATH,9,-3766.324,3670.245,301.1362,0,0,0,0,100,0), +(@PATH,10,-3799.271,3684.971,303.1361,0,0,0,0,100,0), +(@PATH,11,-3832.15,3705.031,308.4691,0,0,0,0,100,0), +(@PATH,12,-3868.131,3721.502,318.4415,0,0,0,0,100,0), +(@PATH,13,-3909.399,3735.214,328.5527,0,0,0,0,100,0), +(@PATH,14,-3931.017,3766.784,334.3581,0,0,0,0,100,0), +(@PATH,15,-3917.445,3807.967,334.4695,0,0,0,0,100,0), +(@PATH,16,-3890.349,3823.759,327.1638,0,0,0,0,100,0), +(@PATH,17,-3849.03,3819.391,319.025,0,0,0,0,100,0), +(@PATH,18,-3822.998,3781.306,314.3583,0,0,0,0,100,0), +(@PATH,19,-3792.191,3762.3,302.9972,0,0,0,0,100,0), +(@PATH,20,-3753.88,3777.921,300.1917,0,0,0,0,100,0), +(@PATH,21,-3738.559,3813.297,304.1084,0,0,0,0,100,0), +(@PATH,22,-3707.912,3826.754,304.9972,0,0,0,0,100,0), +(@PATH,23,-3666.76,3801.158,304.9972,0,0,0,0,100,0), +(@PATH,24,-3632.452,3787.691,313.8025,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE00003981C1 .go -3620.779 3761.98 319.1757 + +-- Pathing for Monstrous Kaliri Entry: 23051 'TDB FORMAT' +SET @NPC := 86133; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-4210.051,`position_y`=3036.035,`position_z`=359.2715 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-4210.051,3036.035,359.2715,0,0,0,0,100,0), +(@PATH,2,-4197.814,3024.344,366.188,0,0,0,0,100,0), +(@PATH,3,-4166.595,3015.782,353.327,0,0,0,0,100,0), +(@PATH,4,-4119.361,3000.518,350.3828,0,0,0,0,100,0), +(@PATH,5,-4078.058,3004.437,346.7713,0,0,0,0,100,0), +(@PATH,6,-4047.495,3033.212,346.8269,0,0,0,0,100,0), +(@PATH,7,-4037.817,3075.937,350.9382,0,0,0,0,100,0), +(@PATH,8,-4037.221,3122.487,345.1326,0,0,0,0,100,0), +(@PATH,9,-4020.077,3150.257,329.8825,0,0,0,0,100,0), +(@PATH,10,-3983.114,3172.777,330.1326,0,0,0,0,100,0), +(@PATH,11,-3945.796,3163.176,338.4935,0,0,0,0,100,0), +(@PATH,12,-3906.744,3138.077,347.0493,0,0,0,0,100,0), +(@PATH,13,-3872.958,3116.541,357.4377,0,0,0,0,100,0), +(@PATH,14,-3857.695,3086.127,367.6046,0,0,0,0,100,0), +(@PATH,15,-3866.051,3043.046,372.1045,0,0,0,0,100,0), +(@PATH,16,-3902.363,3025,374.7159,0,0,0,0,100,0), +(@PATH,17,-3939.945,3047.438,368.138,0,0,0,0,100,0), +(@PATH,18,-3976.81,3075.321,357.9659,0,0,0,0,100,0), +(@PATH,19,-4015.781,3101.057,352.3272,0,0,0,0,100,0), +(@PATH,20,-4057.297,3120.64,344.0215,0,0,0,0,100,0), +(@PATH,21,-4093.992,3151.9,340.0216,0,0,0,0,100,0), +(@PATH,22,-4133.575,3148.626,338.077,0,0,0,0,100,0), +(@PATH,23,-4161.596,3113.013,348.6326,0,0,0,0,100,0), +(@PATH,24,-4193.336,3081.118,359.2715,0,0,0,0,100,0), +(@PATH,25,-4214.105,3060.078,359.2715,0,0,0,0,100,0); +-- 0x1C393042401682C00000DE00003985F0 .go -4210.051 3036.035 359.2715 + +UPDATE `waypoint_data` SET `move_type`=1 WHERE `id` IN (132553 * 10, 86115 * 10, 79017 * 10, 132567 * 10, 132557 * 10, 86099 * 10, 132562 * 10, 132558 * 10, 86116 * 10, 132564 * 10, 132554 * 10, 83238 * 10, 132566 * 10, 132556 * 10, 132565 * 10, 132555 * 10, 132560 * 10, 86117 * 10, 86131 * 10, 83237 * 10, 86133 * 10); + +-- Pathing for Bonechewer Devastator Entry: 16772 'TDB FORMAT' +SET @NPC := 57784; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2979.448,`position_y`=3526.724,`position_z`=-5.101617 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2979.448,3526.724,-5.101617,0,0,0,0,100,0), +(@PATH,2,-2986.465,3536.819,-4.151853,0,0,0,0,100,0), +(@PATH,3,-2999.478,3533.506,-2.088938,0,0,0,0,100,0), +(@PATH,4,-3001.169,3532.58,-1.651159,0,0,0,0,100,0), +(@PATH,5,-3001.333,3532.634,-1.814128,0,0,0,0,100,0), +(@PATH,6,-2988.259,3537.786,-3.722197,0,0,0,0,100,0), +(@PATH,7,-2983.174,3532.755,-5.044437,0,0,0,0,100,0), +(@PATH,8,-2984.85,3516.351,-3.515834,0,0,0,0,100,0); +-- 0x1C393042401061000000DE0000397551 .go -2979.448 3526.724 -5.101617 +DELETE FROM `spell_proc_event` WHERE `entry` IN (33953); +INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES +(33953, 0x00, 0x00, 0x00000000, 0x00000000, 0x00000000, 0x00004400, 0x00000000, 0, 0, 45); +-- Actionlist SAI +SET @ENTRY := 6192700; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,1,0,0,0,100,0,60000,60000,0,0,12,2202,3,120000,0,0,0,8,0,0,0,4988.25,568.897,3.15542,5,"Bonfire - On Script - Summon Creature 'Greymist Coastrunner'"), +(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,12,2202,3,120000,0,0,0,8,0,0,0,4998.76,568.891,3.21375,5,"Bonfire - On Script - Summon Creature 'Greymist Coastrunner'"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,12,2202,3,120000,0,0,0,8,0,0,0,4994.69,573.448,2.4842,5,"Bonfire - On Script - Summon Creature 'Greymist Coastrunner'"), +(@ENTRY,9,4,0,0,0,100,0,60000,60000,0,0,12,2205,3,120000,0,0,0,8,0,0,0,4988.25,568.897,3.15542,5,"Bonfire - On Script - Summon Creature 'Greymist Warrior'"), +(@ENTRY,9,5,0,0,0,100,0,0,0,0,0,12,2205,3,120000,0,0,0,8,0,0,0,4998.76,568.891,3.21375,5,"Bonfire - On Script - Summon Creature 'Greymist Warrior'"), +(@ENTRY,9,6,0,0,0,100,0,60000,60000,0,0,12,2206,3,120000,0,0,0,8,0,0,0,4998.76,568.891,3.21375,5,"Bonfire - On Script - Summon Creature 'Greymist Hunter'"), +(@ENTRY,9,7,0,0,0,100,0,0,0,0,0,12,10323,3,120000,0,0,0,8,0,0,0,4994.69,573.448,2.4842,5,"Bonfire - On Script - Summon Creature 'Murkdeep'"); + +-- Bonfire SAI +SET @ENTRY := 61927; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,38,0,100,0,0,1,0,0,80,6192700,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bonfire - On Data Set 0 1 - Run Script"); + +-- Greymist Hunter SAI +SET @GUID := -37989; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=2206; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,6,0,100,0,0,1,0,0,45,0,1,0,0,0,0,14,48515,61927,0,0,0,0,0,"Greymist Hunter - On Just Died -Set Data 0 1"); +DELETE FROM `spell_group` WHERE `id`=1 AND `spell_id`=63729; +INSERT INTO `spell_group` (`id`, `spell_id`) VALUES +(1, 63729); +-- Delete wrong data for achiev Flirt With Disaster +DELETE FROM `player_factionchange_achievement` WHERE `alliance_id`=1280 AND `horde_id`=1279; +SET @gob:=192492; +SET @spell:=56649; +SET @Veranus:=30393; +SET @Thorim:= 30390; +SET @Jokkum:=30331; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@Veranus, @Thorim, @Jokkum); +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@Veranus, @Thorim, @Jokkum); +UPDATE `creature_template` SET `ScriptName`="", `MovementType`=2 WHERE `entry`=@Jokkum; + +DELETE FROM `creature_template_addon` WHERE `entry`=@Veranus; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(@Veranus, 0, 0, 33554432, 0, 0, '55971'); + +DELETE FROM `vehicle_template_accessory` where `entry` IN (@Veranus) AND `accessory_entry` in (@Thorim); +INSERT INTO `vehicle_template_accessory` (`entry`,`accessory_entry`,`seat_id`,`minion`,`description`,`summontype`,`summontimer`)VALUES +(@Veranus,@Thorim,0,0,'Veranus',8,0); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (@Veranus); +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(@Veranus, 46598, 1, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9900; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,9900,0,0,0,9,0,13010,0,0,0,0,'','Show gossip if player has quest completed'), +(15,9900,0,0,0,5,0,1119,704,0,0,0,'','Show gossip if player is at least friendly'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Jokkum AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Thorim AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Veranus AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Jokkum*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Thorim*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Thorim*100+1 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Thorim*100+2 AND `source_type` = 9; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Jokkum, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 53, 1, @Jokkum*100, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - JustSummoned - Start WP'), +(@Jokkum, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - JustSummoned - Talk1'), +(@Jokkum, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - JustSummoned - Add unit flag'), +(@Jokkum, 0, 3, 0, 40, 0, 100, 0, 22, @Jokkum*100, 0, 0, 80, @Jokkum*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - On way pont 22 - Actionlist'), +(@Jokkum*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, @spell, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - Cast spell to summon'), +(@Jokkum*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - Root'), +(@Jokkum*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - Talk2'), +(@Jokkum*100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 5, 53, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - Emote'), +(@Jokkum*100, 9, 4, 0, 0, 0, 100, 0, 24000, 24000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, @Thorim, 30, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 5, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 6, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, @Thorim, 30, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 7, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, @Thorim, 30, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 8, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 28, 68442, 0, 0, 0, 0, 0, 19, @Thorim, 30, 0, 0, 0, 0, 0, 'Jokkum - ActionList - remove kneel'), +(@Jokkum*100, 9, 10, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 11, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 12, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 80, @Thorim*100+1, 0, 0, 0, 0, 0, 19, @Thorim, 30, 0, 0, 0, 0, 0, 'Jokkum - ActionList - Actionlist'), +(@Jokkum*100, 9, 13, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 14, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, @Thorim, 30, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 15, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 16, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - talk'), +(@Jokkum*100, 9, 17, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 56545, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - Cast credit'), +(@Jokkum*100, 9, 18, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 11, 50630, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - Cast eject passenger'), +(@Jokkum*100, 9, 19, 0, 0, 0, 100, 0, 0, 0, 0, 0, 103, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - remove root'), +(@Jokkum*100, 9, 20, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 53, 1, @Jokkum*100+1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Jokkum - ActionList - Start WP2'), +(@Thorim*100+1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 50, @gob, 400000, 0, 0, 0, 0, 8, 0, 0, 0, 7867.189453, -3255.752930, 853.379700, 2.321934, 'Thorim - ActionList - Spawn gob'), +(@Thorim*100+1, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 50, 188142, 400000, 0, 0, 0, 0, 8, 0, 0, 0, 7867.189453, -3255.752930, 850.467590, 2.321934, 'Thorim - ActionList - Spawn gob'), +(@Thorim, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 80, @Thorim*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thorim - Just created - actionlist'), +(@Thorim*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thorim - ActionList - set run ON'), +(@Thorim*100, 9, 1, 0, 0, 0, 100, 0, 18000, 18000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 7886.027344, -3239.358887, 849.435791, 3.769581, 'Thorim - ActionList - go to pos'), +(@Thorim*100, 9, 2, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 75, 68442, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thorim - ActionList - Aura state kneel'), +(@Thorim*100, 9, 3, 0, 0, 0, 100, 0, 460000, 460000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thorim - ActionList - Aura state kneel'), +(@Thorim, 0, 1, 0, 19, 0, 100, 0, 13057, 0, 0, 0, 80, @Thorim*100+2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thorim - Just created - actionlist'), +(@Thorim*100+2, 9, 0, 0, 0, 0, 100, 0, 30000, 30000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Thorim - ActionList - Aura state kneel'), +(@Veranus, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 53, 1, @Veranus*100, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Veranus - JustSummoned - Start WP'), +(@Veranus, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 18, 33554432, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Veranus - JustSummoned - Set unit_flag not selectable'), +(@Veranus, 0, 2, 0, 40, 0, 100, 0, 2, 0, 0, 0, 11, 50630, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Veranus - On waypoint 2 - Eject passenger'); + +DELETE FROM `waypoint_data` WHERE `id` IN (2072200, 2072201); + +DELETE FROM `waypoints` WHERE `entry`IN (@Jokkum*100+1, @Jokkum*100, @Veranus*100); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@Jokkum*100+1,1,7837.09, -3235.54, 853.878, '@Jokkum'), +(@Jokkum*100+1,2,7828.62, -3230.38, 855.915, '@Jokkum'), +(@Jokkum*100+1,3,7793.78, -3219.74, 861.146, '@Jokkum'), +(@Jokkum*100+1,4,7765.22, -3225.37, 864.083, '@Jokkum'), +(@Jokkum*100+1,5,7736.73, -3226.5, 861.458, '@Jokkum'), +(@Jokkum*100,1,7357.09,-2865.4,803.501, '@Jokkum'), +(@Jokkum*100,2,7355.18,-2904.32,821.008, '@Jokkum'), +(@Jokkum*100,3,7355.47,-2946.65,833.092, '@Jokkum'), +(@Jokkum*100,4,7358.79,-2974.21,845.018, '@Jokkum'), +(@Jokkum*100,5,7360.87,-2994.78,845.989, '@Jokkum'), +(@Jokkum*100,6,7378.76,-3035.89,840.6, '@Jokkum'), +(@Jokkum*100,7,7411.66,-3072.21,837.577, '@Jokkum'), +(@Jokkum*100,8,7454,-3088.7,837.577, '@Jokkum'), +(@Jokkum*100,9,7496.08,-3113.92,837.583, '@Jokkum'), +(@Jokkum*100,10,7536.84,-3136.49,837.581, '@Jokkum'), +(@Jokkum*100,11,7564.74,-3145.14,844.831, '@Jokkum'), +(@Jokkum*100,12,7604.36,-3171.26,850.887, '@Jokkum'), +(@Jokkum*100,13,7635.47,-3207.21,857.19, '@Jokkum'), +(@Jokkum*100,14,7657.86,-3219.26,863.19, '@Jokkum'), +(@Jokkum*100,15,7685.42,-3218.98,867.141, '@Jokkum'), +(@Jokkum*100,16,7706.54,-3219.74,864.333, '@Jokkum'), +(@Jokkum*100,17,7747.33,-3226.99,862.458, '@Jokkum'), +(@Jokkum*100,18,7796.66,-3221.78,860.646, '@Jokkum'), +(@Jokkum*100,19,7827.6, -3229.27,856.415, '@Jokkum'), +(@Jokkum*100,20,7846.17,-3253.24,852.128, '@Jokkum'), +(@Jokkum*100,21,7849.41,-3270.86,854.538, '@Jokkum'), +(@Jokkum*100,22,7853.12,-3268.03,853.50, '@Jokkum'), +(@Veranus*100,1, 7915.017578, -3202.903076, 899.580872, '@Veranus'), +(@Veranus*100,2, 7889.363770, -3236.394043, 899.580872, '@Veranus'), +(@Veranus*100,3, 7865.838867, -3266.453369, 899.580872, '@Veranus'), +(@Veranus*100,4, 7929.517578, -3369.971191, 899.580872, '@Veranus'); +UPDATE `spell_area` SET `quest_end`='13157', `quest_end_status`='1' WHERE `spell`='57674' and`area`='4504' and`quest_start`='13086' and`aura_spell`='0' and`racemask`='0' and`gender`='2'; +-- North Sea Kraken SAI +SET @ENTRY := 34925; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY*100 AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,6000,9000,7000,9000,11,66514,0,0,0,0,0,1,0,0,0,0,0,0,0,'North Sea Kraken - IC - Cast Frost Breath'), +(@ENTRY,0, 1,0,8,0,25,0,66588,0,0,0,80,@ENTRY*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'North Sea Kraken - On Spell hit Flaming Sphere - actionList'), +(@ENTRY*100,9,0,0,0,0,100,0,0,0,0,0,11,66717,0,0,0,0,0,7,0,0,0,0,0,0,0,'North Sea Kraken - actionList - Cast 66717'), +(@ENTRY*100,9,1,0,0,0,100,0,0,0,0,0,11,50142,2,0,0,0,0,1,0,0,0,0,0,0,0,'North Sea Kraken - actionList - Cast 50142'), +(@ENTRY*100,9,2,0,0,0,100,0,3000,3000,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'North Sea Kraken - actionList - Turn Invisible'), +(@ENTRY*100,9,3,0,0,0,100,0,0,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'North Sea Kraken - actionList - Evade'), +(@ENTRY, 0, 2, 0, 1, 0, 100, 0, 30000, 30000, 30000, 30000, 47, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Northsea Kraken - OOC - Make Visible'), +(@ENTRY, 0, 3, 4, 2, 0, 100, 1, 1, 6, 0, 0, 11, 66994, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Northsea Kraken - On Between 1 and 6% HP - Cast Kraken Tooth Explosion'), +(@ENTRY, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 11, 66717, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Northsea Kraken - Linked with previous event - Give quest credit'), +(@ENTRY, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Northsea Kraken - Linked With Previous Event die'), +(@ENTRY, 0, 6, 0, 1, 0, 100, 0, 30000, 30000, 30000, 30000, 11, 68909, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Northsea Kraken - OOC - Cast Submerge '), +(@ENTRY, 0, 7, 0, 0, 0, 100, 0, 15000, 20000, 15000, 20000, 11, 66511, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Northsea Kraken - IC - Whirl'); +DELETE FROM `spell_scripts` WHERE `id`= 66477; +INSERT INTO `spell_scripts` (`id`, `effIndex`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) VALUES +(66477, 0, 0, 15, 66622, 2, 1, 0, 0, 0, 0), +(66477, 0, 0, 15, 66478, 2, 1, 0, 0, 0, 0), +(66477, 0, 0, 15, 66041, 2, 1, 0, 0, 0, 0); +-- A Distraction For Akama +SET @Maiev := 22989; -- Maev +SET @Akama := 22990; -- Akama +SET @Vagath := 23152; -- Vagath +SET @IllidariShadow := 22988; -- IllidariShadow +SET @Ashtongue := 21701; -- Ashtongue +SET @FanOfBlades := 39954; -- Maev spell +SET @Stealth := 34189; -- Maev spell +SET @ChainLightning := 39945; -- Akama spell +SET @Xiri := 18528; -- XI'RI +SET @IllidariRavag := 22857; -- Illidari Ravager +SET @LightOfTheNaa1 := 39829; -- XI'RI spell +SET @LightOfTheNaa2 := 39831; -- XI'RI spell +SET @FyraDawnstar := 22864; -- FyraDawnstar +SET @Caalen := 22862; -- Anachorete Caalen +SET @Lightsworn := 22861; -- Lightsworn Vindicator +SET @Magister := 22863; -- Seasoned Magister +SET @ID := 8650; -- Gossip Menu + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (22989, 22990, 23152, 22988, 21701, 18528, 22857, 22864, 22863, 22862, 22861); +UPDATE `creature_template` SET `npcflag`=0 where `entry`=22990; +DELETE FROM creature_summon_groups WHERE summonerid=@Xiri; +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +(@Xiri,0,0,@Akama,-3557.775635,624.185852,6.244853,4.687259,3,300000), +(@Xiri,0,0,@Maiev,-3563.998047,623.326050,6.134195,4.687259,3,300000), +(@Xiri,0,0,@Ashtongue,-3568.963867,627.467407,5.477327,4.742220,3,300000), +(@Xiri,0,0,@Ashtongue,-3565.453125,627.804199,5.458982,4.801125,3,300000), +(@Xiri,0,0,@Ashtongue,-3561.734375,628.002930,5.536494,4.76578,3,300000), +(@Xiri,0,0,@Ashtongue,-3557.638428,628.221863,5.681130,4.76578,3,300000), +(@Xiri,0,0,@Ashtongue,-3554.038574,628.414246,5.853768,4.76578,3,300000), +(@Xiri,0,0,@Ashtongue,-3557.367188,632.975952,5.016828,4.830713,3,300000), +(@Xiri,0,0,@Ashtongue,-3561.433350,632.492554,4.889128,4.830713,3,300000), +(@Xiri,0,0,@Ashtongue,-3565.568848,632.000916,4.862391,4.830713,3,300000), +(@Xiri,0,0,@Vagath,-3564.023438,406.373199,29.640791,1.577282,3,300000), +(@Xiri,0,0,@IllidariRavag,-3570.985840,408.893219,29.715797,1.529191,3,300000), +(@Xiri,0,0,@IllidariRavag,-3556.721924,409.166534,29.495508,1.599877,3,300000), +(@Xiri,0,0,@IllidariShadow,-3571.129395,418.261780,28.846333,1.556680,3,300000), +(@Xiri,0,0,@IllidariShadow,-3581.750977,417.807861,30.357321,1.560607,3,300000), +(@Xiri,0,0,@IllidariShadow,-3576.343506,424.403748,28.781679,1.482065,3,300000), +(@Xiri,0,0,@IllidariShadow,-3568.493652,427.238312,28.031080,1.609870,3,300000), +(@Xiri,0,0,@IllidariShadow,-3559.938232,428.418793,27.697611,1.641286,3,300000), +(@Xiri,0,0,@IllidariShadow,-3564.919678,432.020447,27.485765,1.633432,3,300000); + +DELETE FROM `creature_text` WHERE `entry` IN (@Akama, @FyraDawnstar, @Caalen, @Vagath, @Maiev, @Xiri) ; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextId`) VALUES +(@FyraDawnstar, 0, 0, 'Onward, Scryers! Show Illidan''s lackeys the temper of our steel!', 14, 0, 100, 0, 0, 0, 'Fyra Downstar', 20696), +(@Caalen, 0, 0, 'Come closer, demon! Death awaits!', 12, 0, 100, 0, 0, 0, 'Caalen', 20670), +(@Caalen, 0, 1, 'Illidan''s lapdogs! Destroy them all!', 12, 0, 100, 0, 0, 0, 'Caalen', 20669), +(@Caalen, 0, 2, 'I''ve a message for your master, scum!', 12, 0, 100, 0, 0, 0, 'Caalen', 20672), +(@Caalen, 0, 3, 'Pathetic worm... your master''s days are over!', 12, 0, 100, 0, 0, 0, 'Caalen', 20671), +(@Caalen, 0, 4, 'For Xi''ri! For the Sha''tar!', 12, 0, 100, 0, 0, 0, 'Caalen', 20667), +(@Caalen, 0, 5, 'Your end is at hand, Illidari!', 12, 0, 100, 0, 0, 0, 'Caalen', 20668), +(@Vagath, 0, 0, 'Pitiful wretches. You dared invade Illidan''s temple? Very well, I shall make it your death bed!', 14, 0, 100, 0, 0, 0, 'Vagath', 20719), +(@Akama, 0, 0, 'Now is the time, Maiev! Unleash your wrath!', 14, 0, 100, 0, 0, 0, 'Akama', 20742), +(@Maiev, 0, 0, 'I''ve waited for this moment for years. Illidan and his lapdogs will be destroyed!', 14, 0, 100, 0, 0, 0, 'Maiev', 20743), +(@Akama, 1, 0, 'Slay all who see us! Word must not get back to Illidan.', 14, 0, 100, 0, 0, 0, 'Akama', 20744), +(@Maiev, 1, 0, 'Meet your end, demon!', 12, 0, 100, 0, 0, 0, 'Maiev', 0), +(@Vagath, 1, 0, 'You''ve sealed you fate, Akama. The Master will learn from your betrayal!', 14, 0, 100, 0, 0, 0, 'Vagath', 20745), +(@Akama, 2, 0, 'Akama has no master, not anymore.', 12, 0, 100, 0, 0, 0, 'Akama', 20746), +(@Akama, 3, 0, 'Our plans are in danger already. It appears Maiev''s decided to do things her own way.', 12, 0, 100, 0, 0, 0, 'Akama', 20748), +(@Akama, 4, 0, '%s''s attention shifts to a crack along the temple''s southern wall.', 16, 0, 100, 0, 0, 0, 'Akama', 20749), +(@Akama, 5, 0, 'We must carry on with or without Maiev. Inside! Quickly!', 12, 0, 100, 0, 0, 0, 'Akama', 20750), +(@Xiri, 0, 0, '%s falls silent and a quiet tension falls over nearby Sha''tar forces as Xi''ri makes his decision.', 16, 0, 100, 0, 0, 0, 'Xiri', 20737), +(@Xiri, 1, 0, '%s begins channeling the powers of the light.', 16, 0, 100, 0, 0, 0, 'Xiri', 20693); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 8650 AND `id` = 0; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `OptionBroadcastTextID`) VALUES +(8650,0,0, 'I am ready to join you for the battle, Xi''ri.',1,1,0,0,0,0, '', 21003); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=@ID; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,@ID,0,0,9,10985,0,0,0,'','Show gossip menu if player accept the quest A distraction for Akama'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Akama AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Akama*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Maiev AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Maiev*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Xiri AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Xiri*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Xiri*100+1 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Xiri*100+2 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Ashtongue AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Vagath AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Lightsworn AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Magister AND `source_type` = 0; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Xiri, 0, 0, 0, 62, 0, 100, 0, 8650, 0, 0, 0, 80, @Xiri*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - On Gossip use - ActionList'), +(@Xiri*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Xiri - ActionList - Close gossip'), +(@Xiri*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 83, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - ActionList - Remove npcflag'), +(@Xiri*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - ActionList - Talk'), +(@Xiri*100, 9, 3, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - ActionList - Talk'), +(@Xiri*100, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 39828, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - ActionList - Cast'), +(@Xiri*100, 9, 5, 0, 0, 0, 100, 0, 12000, 12000, 0, 0, 107, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - ActionList - Summon Group'), +(@Xiri*100, 9, 6, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, @Caalen, 60, 0, 0, 0, 0, 0, 'Caalen - On Gossip use - Talk'), +(@Xiri*100, 9, 7, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, @FyraDawnstar, 60, 0, 0, 0, 0, 0, 'Caalen - On Gossip use - Talk'), +(@Xiri*100, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 39831, 0, 0, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 'Xiri - ActionList - Cast'), +(@Xiri*100, 9, 9, 0, 0, 0, 100, 0, 40000, 40000, 0, 0, 82, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - ActionList - Add npcflag'), +(@Akama, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 53, 1, @Akama, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Gossip use - Start Waypoint'), +(@Ashtongue, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 53, 1, @Ashtongue, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 'Ashtongue - On Gossip use - Start Waypoint'), +(@Maiev, 0, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 53, 1, @Maiev, 0, 0, 1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 'Ashtongue - On Gossip use - Start Waypoint'), +(@Xiri, 0, 1, 0, 62, 0, 100, 0, 8650, 0, 0, 0, 80, @Xiri*100+1, 2, 0, 0, 0, 0, 11, @Lightsworn, 80, 0, 0, 0, 0, 0, 'Xiri - On Gossip use - Start waypoint'), +(@Xiri*100+1, 9, 0, 0, 0, 0, 100, 0, 27000, 27000, 0, 0, 53, 1, @Lightsworn, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - On Gossip use - Start waypoint'), +(@Xiri, 0, 2, 0, 62, 0, 100, 0, 8650, 0, 0, 0, 80, @Xiri*100+2, 2, 0, 0, 0, 0, 11, @Magister, 80, 0, 0, 0, 0, 0, 'Xiri - On Gossip use - Start waypoint'), +(@Xiri*100+2, 9, 0, 0, 0, 0, 100, 0, 27000, 27000, 0, 0, 53, 1, @Magister, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 'Xiri - On Gossip use - Start waypoint'), +(@Maiev, 0, 1, 0, 40, 0, 100, 0, 1, 0, 0, 0, 80, @Maiev*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Vagath - On waypoint1 - Start Script'), +(@Maiev*100, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, @Vagath, 80, 0, 0, 0, 0, 0, 'Vagath - On Script - Talk1'), +(@Maiev*100, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, @Akama, 20, 0, 0, 0, 0, 0, 'Akama - On Script - Talk1'), +(@Maiev*100, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Maiev - On Script - Talk1'), +(@Maiev*100, 9, 3, 0, 0, 0, 100, 0, 2500, 2500, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, @Akama, 20, 0, 0, 0, 0, 0, 'Akama - On Script - Talk2'), +(@Maiev*100, 9, 4, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Maiev - On Script - Talk2'), +(@Maiev*100, 9, 5, 0, 0, 0, 100, 0, 15000, 15000, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Maiev - On Script - Set React Passive'), +(@Maiev*100, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 18, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Maiev - On Script - Set Immune To NPC'), +(@Maiev*100, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Maiev - On Script - evade'), +(@Maiev*100, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 11, 34189, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Maiev - On Script - Stealth'), +(@Vagath, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 1, 14000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Vagath - On aggro - Talk2'), +(@Vagath, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 1, 2, 14000, 0, 0, 0, 0, 19, @Akama, 20, 0, 0, 0, 0, 0, 'Akama - On Vagath death - Talk3'), +(@Akama, 0, 1, 0, 40, 0, 100, 0, 2, 0, 0, 0, 80, @Akama*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On waypoint2 - Start Script'), +(@Akama*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 12000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Script - pause Waypoint'), +(@Akama*100, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 3, 5000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Script - Talk4'), +(@Akama*100, 9, 3, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 4, 5000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Script - Talk5'), +(@Akama*100, 9, 4, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 1, 5, 5000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Script - Talk6'), +(@Ashtongue, 0, 1, 0, 40, 0, 100, 0, 2, 0, 0, 0, 54, 23000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On waypoint2 - event'), +(@Akama, 0, 2, 0, 40, 0, 100, 0, 6, 0, 0, 0, 11, 39932, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On waypoint3 - Cast Spell'), +(@Akama, 0, 3, 0, 0, 0, 100, 0, 1000, 1000, 4000, 4000, 11, @ChainLightning, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Akama - IC - Cast Spell'), +(@Maiev, 0, 2, 0, 0, 0, 100, 0, 1000, 1000, 3000, 3000, 11, @FanOfBlades, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Maiev - IC - Cast Spell'), +(@Magister, 0, 0, 0, 75, 0, 100, 0, 0, @IllidariRavag, 10, 5000, 49, 0, 0, 0, 0, 0, 0, 19, @IllidariRavag, 10, 0, 0, 0, 0, 0, 'Magister - On los ooc - Attack'), +(@Lightsworn, 0, 0, 0, 75, 0, 100, 0, 0, @IllidariRavag, 10, 5000, 49, 0, 0, 0, 0, 0, 0, 19, @IllidariRavag, 10, 0, 0, 0, 0, 0, 'Lightsworn - On los ooc - Attacka'), +(@Magister, 0, 1, 0, 75, 0, 100, 0, 0, @IllidariShadow, 10, 5000, 49, 0, 0, 0, 0, 0, 0, 19, @IllidariShadow, 10, 0, 0, 0, 0, 0, 'Magister - On los ooc - Attack'), +(@Lightsworn, 0, 1, 0, 75, 0, 100, 0, 0, @IllidariShadow, 10, 5000, 49, 0, 0, 0, 0, 0, 0, 19, @IllidariShadow, 10, 0, 0, 0, 0, 0, 'Lightsworn - On los ooc - Attacka'), +(@Magister, 0, 2, 0, 0, 0, 100, 0, 1000, 1000, 4000, 4000, 11, 9053, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Akama - IC - Cast Spell'), +(@Lightsworn, 0, 2, 0, 0, 0, 100, 0, 1000, 1000, 4000, 4000, 11, 33632, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Akama - IC - Cast Spell'), +(@Lightsworn, 0, 3, 0, 0, 0, 100, 0, 5000, 5000, 10000, 10000, 11, 13005, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Akama - IC - Cast Spell'), +(@Lightsworn, 0, 4, 0, 0, 0, 100, 0, 3000, 8000, 5000, 8000, 11, 13952, 0, 0, 0, 0, 0, 26, 10, 0, 0, 0, 0, 0, 0, 'Akama - IC - Cast Spell'); + +DELETE FROM `waypoints` WHERE entry in (@Akama, @Maiev, @Ashtongue, @Lightsworn, @Magister); +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@Akama,1,-3562.123291, 486.208344, 22.091547,'Akama1'), +(@Akama,2,-3569.400879, 408.074738, 29.698217,'Akama2'), +(@Akama,3,-3578.632568, 353.128601, 35.888973,'Ashtongue3'), +(@Akama,4,-3600.931885, 322.053955, 39.085770,'Ashtongue3'), +(@Akama,5,-3617.203125, 320.658691, 39.697262,'Ashtongue3'), +(@Akama,6,-3651.692627, 317.280975, 35.914421,'Akama3'), +(@Maiev,1,-3567.418457, 485.073334, 22.376778,'Maiev1'), +(@Maiev,2,-3567.913086, 400.602386, 30.253670,'Maiev2'), +(@Maiev,3,-3567.458740, 371.282898, 32.955494,'Maiev3'), +(@Maiev,4,-3651.692627, 317.280975, 35.914421,'Maiev4'), +(@Lightsworn,1,-3562.123291, 486.208344, 22.091547,'Lightsworn1'), +(@Lightsworn,2,-3569.400879, 408.074738, 29.698217,'Lightsworn2'), +(@Magister,1,-3562.123291, 486.208344, 22.091547,'Magister1'), +(@Magister,2,-3569.400879, 408.074738, 29.698217,'Magister2'), +(@Ashtongue,1,-3562.123291, 486.208344, 22.091547,'Ashtongue1'), +(@Ashtongue,2,-3569.400879, 408.074738, 29.698217,'Ashtongue2'), +(@Ashtongue,3,-3578.632568, 353.128601, 35.888973,'Ashtongue3'), +(@Ashtongue,4,-3600.931885, 322.053955, 39.085770,'Ashtongue3'), +(@Ashtongue,5,-3617.203125, 320.658691, 39.697262,'Ashtongue3'), +(@Ashtongue,6,-3651.692627, 317.280975, 35.914421,'Ashtongue3'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 39831; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 3, 39831, 0, 31, 3, @Ashtongue, 0, 0, '', NULL), +(13, 3, 39831, 1, 31, 3, @Akama, 0, 0, '', NULL), +(13, 3, 39831, 2, 31, 3, @Maiev, 0, 0, '', NULL), +(13, 3, 39831, 3, 31, 3, @Lightsworn, 0, 0, '', NULL), +(13, 3, 39831, 4, 31, 3, @Magister, 0, 0, '', NULL); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 39832; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 3, 39832, 0, 31, 3, @Ashtongue, 0, 0, '', NULL), +(13, 3, 39832, 1, 31, 3, @Akama, 0, 0, '', NULL), +(13, 3, 39832, 2, 31, 3, @Maiev, 0, 0, '', NULL), +(13, 3, 39832, 3, 31, 3, @Lightsworn, 0, 0, '', NULL), +(13, 3, 39832, 4, 31, 3, @Magister, 0, 0, '', NULL); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 39932; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 2, 39932, 0, 8, 13429 , 0, 0, 0, '', 'Eye of the Witness Distraction for Akama'); +-- +DELETE FROM `gossip_menu` WHERE `entry`=9821 AND `text_id`=13557; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9821,13557); +UPDATE `creature_template` SET `gossip_menu_id`=9821 WHERE `entry`=9977; + +DELETE FROM `gossip_menu` WHERE `entry`=4841 AND `text_id`=5894; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (4841,5894); +UPDATE `creature_template` SET `gossip_menu_id`=4841 WHERE `entry`=12997; + +DELETE FROM `gossip_menu` WHERE `entry`=4845 AND `text_id`=5920; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (4845,5920); +UPDATE `creature_template` SET `gossip_menu_id`=4845 WHERE `entry`=13018; + +DELETE FROM `gossip_menu` WHERE `entry`=10631 AND `text_id`=14724; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (10631,14724); +UPDATE `creature_template` SET `gossip_menu_id`=10631 WHERE `entry`=35073; + +DELETE FROM `gossip_menu` WHERE `entry`=3501 AND `text_id`=4253; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (3501,4253); +UPDATE `creature_template` SET `gossip_menu_id`=3501 WHERE `entry`=1694; + +UPDATE `creature_template` SET `npcflag`=0 WHERE `entry`=13076; + +DELETE FROM `gossip_menu` WHERE `entry`=9027 AND `text_id` IN (12198); +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (9027,12198); +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9900; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15,9900,0,0,0,9,0,13010,0,0,0,0,'','Show gossip if player has quest completed'), +(15,9900,0,0,0,5,0,1119,240,0,0,0,'','Show gossip if player is at least friendly'); +-- +Update `smart_scripts` SET `action_type`=85, `target_type`=7 WHERE `entryorguid`= 3177300 AND `source_type`=9 AND `id`=0; +Update `smart_scripts` SET `action_type`=85, `target_type`=7 WHERE `entryorguid`= 3244200 AND `source_type`=9 AND `id`=0; +-- +UPDATE `smart_scripts` SET `action_type`=85 WHERE `entryorguid`=28298 AND `source_type`=0 AND `id` =0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN(19,20) AND `SourceEntry`=13308; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19, 0, 13308, 0, 0, 8, 0, 13224, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires Orgrims Hammer Rewarded or'), +(20, 0, 13308, 0, 0, 8, 0, 13224, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires Orgrims Hammer Rewarded or'), +(19, 0, 13308, 0, 1, 9, 0, 13224, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires Orgrims Hammer Taken or'), +(20, 0, 13308, 0, 1, 9, 0, 13224, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires Orgrims Hammer Taken or'), +(19, 0, 13308, 0, 2, 28, 0, 13224, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires Orgrims Hammer Complete or'), +(20, 0, 13308, 0, 2, 28, 0, 13224, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires Orgrims Hammer Complete or'), +(19, 0, 13308, 0, 3, 8, 0, 13225, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires The Skybreaker Rewarded or'), +(20, 0, 13308, 0, 3, 8, 0, 13225, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires The Skybreaker Rewarded or'), +(19, 0, 13308, 0, 4, 9, 0, 13225, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires The Skybreaker Taken or'), +(20, 0, 13308, 0, 4, 9, 0, 13225, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires The Skybreaker Taken or'), +(19, 0, 13308, 0, 5, 28, 0, 13225, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires The Skybreaker Complete or'), +(20, 0, 13308, 0, 5, 28, 0, 13225, 0, 0, 0, 0, 0, '', 'Mind Tricks Requires The Skybreaker Complete or'); +-- +UPDATE `gameobject` SET `position_z`=402.410004 WHERE `guid`=99956; +-- +UPDATE `creature_template` SET `faction`=2007 WHERE `entry` IN (35496,35498); +UPDATE `creature` SET `position_x`=5957.267, `position_y`=566.4926 WHERE `guid`=116668 AND `id` = 29657; +-- +UPDATE `quest_template` SET `FlagsEx`=2 WHERE `Id`=1560; +-- +SET @Geant:=24385; +SET @Megalithe:=24381; + +UPDATE `event_scripts` SET `x`=2406.492188 , `y`=-5738.995605, `z`=274.020172 , `o`=0.703918 WHERE `id`=15939; +UPDATE `creature_template` SET `unit_flags`=33600, `AIName`='SmartAI' WHERE `entry` IN (@Geant,@Megalithe); + +DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (@Geant,@Megalithe); +DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid` IN (@Geant*100,@Megalithe*100); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Megalithe, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 80, @Megalithe*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Megalithe - On Just summoned - action list'), +(@Megalithe*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, 24385, 7, 0, 0, 0, 0, 8, 0, 0, 0, 2410.138184, -5727.264648, 270.985870, 4.287692, 'Megalithe - action liste -Summon'), +(@Megalithe*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, 24385, 7, 0, 0, 0, 0, 8, 0, 0, 0, 2414.860596, -5729.499512, 272.095459, 3.982957, 'Megalithe - action liste -Summon'), +(@Megalithe*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, 24385, 7, 0, 0, 0, 0, 8, 0, 0, 0, 2417.339844, -5733.230957, 273.028992, 3.603609, 'Megalithe - action liste -Summon'), +(@Megalithe*100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, 24385, 7, 0, 0, 0, 0, 8, 0, 0, 0, 2419.397705, -5738.032227, 274.121246, 3.241538, 'Megalithe - action liste -Summon'), +(@Megalithe*100, 9, 4, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Megalithe - action liste - Talk'), +(@Megalithe*100, 9, 5, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Megalithe - action liste - Talk'), +(@Megalithe*100, 9, 6, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Megalithe - action liste - Talk'), +(@Megalithe*100, 9, 7, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 80, @Geant*100, 0, 0, 0, 0, 0, 11, @Geant, 30, 0, 0, 0, 0, 0, 'Megalithe - action liste - Action List'), +(@Megalithe*100, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 43693, 0, 0, 0, 0, 0, 21, 40, 0, 0, 0, 0, 0, 0, 'Megalithe - action liste - Cast Credit Quest'), +(@Megalithe*100, 9, 9, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Megalithe - action liste - Talk'), +(@Megalithe*100, 9, 10, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Megalithe - action liste - Talk'), +(@Geant*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Geant - action liste - Run off'), +(@Geant*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 2515.453369, -5670.358398, 298.778076, 0.618311, 'Geant - action liste - Gotopos'), +(@Geant*100, 9, 2, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Geant - action liste - Despawnn'); + +DELETE FROM `creature_text` WHERE `entry` IN (@Megalithe); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Megalithe, 0, 0, 'Arise from the earth, my brothers!', 12, 0, 100, 0, 0, 0, 'Megalithe', 23311), +(@Megalithe, 1, 0, 'Our iron masters have a mission for us!', 12, 0, 100, 0, 0, 0, 'Megalithe', 23312), +(@Megalithe, 2, 0, 'Follow me into the mountains to carry out the plan of the masters!', 12, 0, 100, 0, 0, 0, 'Megalithe', 23315), +(@Megalithe, 3, 0, 'We will not fail!', 12, 0, 100, 0, 0, 0, 'Megalithe', 23332); +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=20234 AND `source_type`=0 AND `id`=3; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(20234,0,3,0,19,0,100,0,10344,0,0,0,11,35237,0,0,0,0,0,7,0,0,0,0,0,0,0,"Runetog Wildhammer - On Quest accept - Cast spell"); +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`= 39712 AND `source_type`=0 AND `id` IN (6, 7); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(39712, 0, 6, 7, 63, 0, 100, 0, 0, 0, 0, 0, 11, 74206, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'High Tinker Mekkatorque - Just created - cast spell'), +(39712, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 11, 44816, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'High Tinker Mekkatorque - Just created - cast spell'); +-- +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (4331, 4329); +DELETE FROM `smart_scripts` WHERE `entryorguid`= 4328 AND `source_type`=0 AND `id` IN (3); +DELETE FROM `smart_scripts` WHERE `entryorguid`= 4331 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid`= 4329 AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(4328, 0, 3, 0, 8, 0, 100, 0, 42411, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Firemane Scalebane - On spell hit - Despawn'), +(4331, 0, 0, 0, 8, 0, 100, 0, 42411, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Firemane Ash Tail - On spell hit - Despawn'), +(4331, 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 6000, 8000, 11, 11969, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Firemane Ash Tail - Icc - Cast Fire Nova'), +(4331, 0, 2, 0, 4, 0, 100, 0, 0, 0, 0, 0, 11, 18968, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Firemane Ash Tail - On aggr - cast Fire Shield'), +(4329, 0, 0, 0, 8, 0, 100, 0, 42411, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Firemane Scout - On spell hit - Despawn'), +(4329, 0, 1, 0, 4, 0, 100, 0, 0, 0, 0, 0, 11, 18968, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Firemane Scout - On aggr - cast Fire Shield'); +-- Add missing gossip for entry 7766 +DELETE FROM `gossip_menu` WHERE `entry`=1761; +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (1761,2393),(1761,2394); +UPDATE `creature_template` SET `gossip_menu_id`=1761 WHERE entry=7766; + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=14 AND `SourceGroup`=1761; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `NegativeCondition`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(14,1761,2394,0,9,434,0,0,0,0,'','Show gossip menu text if quest 434 is taken'); +-- +UPDATE creature_template SET InhabitType=4, unit_flags=64 WHERE Entry=17592; +DELETE FROM `smart_scripts` WHERE `entryorguid`=17592 AND `source_type`=0 AND `id`IN(5, 6, 7); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17592, 0, 5, 6, 40, 0, 100, 0, 10, 17592, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Razormaw - On Waypoint 10 Reached - Set Home Position'), +(17592, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Razormaw - On Waypoint 10 Reached - Set Agressive'), +(17592, 0, 7, 0, 11, 0, 100, 0, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Razormaw - On Respawn - Add unit_flag'); +-- Anton waypoints + +DELETE FROM `creature_addon` WHERE `guid`=117689; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(117689, 1176890, 0, 131072, 1, 0, ""); +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=117689; +DELETE FROM `waypoint_data` WHERE `id`=1176890; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(1176890, 1, 153.249817, -4549.366211, 261.364685, 0, 0, 0, 0, 100, 0), +(1176890, 2, 156.098114, -4532.821289, 258.803101, 0, 0, 0, 0, 100, 0), +(1176890, 3, 156.068008, -4517.755371, 257.193939, 0, 0, 0, 0, 100, 0), +(1176890, 4, 144.178497, -4462.812500, 253.617325, 0, 0, 0, 0, 100, 0), +(1176890, 5, 141.329361, -4455.471191, 253.578766, 0, 0, 0, 0, 100, 0), +(1176890, 6, 125.436966, -4434.860840, 254.323639, 0, 0, 0, 0, 100, 0), +(1176890, 7, 122.155800, -4418.455566, 255.509537, 0, 0, 0, 0, 100, 0), +(1176890, 8, 121.316132, -4389.046387, 257.141205, 0, 0, 0, 0, 100, 0), +(1176890, 9, 124.869438, -4371.796875, 258.335938, 0, 0, 0, 0, 100, 0), +(1176890, 10, 128.642212, -4362.238281, 258.747375, 0, 0, 0, 0, 100, 0), +(1176890, 11, 141.832169, -4345.334473, 257.867676, 0, 0, 0, 0, 100, 0), +(1176890, 12, 150.246857, -4335.993652, 257.498810, 0, 0, 0, 0, 100, 0), +(1176890, 13, 160.376022, -4316.970703, 256.535919, 0, 0, 0, 0, 100, 0), +(1176890, 14, 168.596313, -4308.797363, 254.645386, 0, 0, 0, 0, 100, 0), +(1176890, 15, 178.860077, -4304.438477, 252.472916, 0, 0, 0, 0, 100, 0), +(1176890, 16, 195.836517, -4286.464355, 248.749603, 0, 0, 0, 0, 100, 0), +(1176890, 17, 213.626450, -4276.384766, 248.502441, 0, 0, 0, 0, 100, 0), +(1176890, 18, 238.895004, -4276.655762, 248.606018, 0, 0, 0, 0, 100, 0), +(1176890, 19, 245.764877, -4272.171387, 248.920975, 0, 0, 0, 0, 100, 0), +(1176890, 20, 264.235840, -4250.840332, 250.916733, 0, 0, 0, 0, 100, 0), +(1176890, 21, 282.604492, -4236.683594, 252.033737, 0, 0, 0, 0, 100, 0), +(1176890, 22, 288.971344, -4223.116211, 252.916443, 0, 0, 0, 0, 100, 0), +(1176890, 23, 291.303375, -4196.310547, 254.307571, 0, 0, 0, 0, 100, 0), +(1176890, 24, 294.156342, -4189.324707, 254.992859, 0, 0, 0, 0, 100, 0), +(1176890, 25, 291.303375, -4196.310547, 254.307571, 0, 0, 0, 0, 100, 0), +(1176890, 26, 288.971344, -4223.116211, 252.916443, 0, 0, 0, 0, 100, 0), +(1176890, 27, 282.604492, -4236.683594, 252.033737, 0, 0, 0, 0, 100, 0), +(1176890, 28, 264.235840, -4250.840332, 250.916733, 0, 0, 0, 0, 100, 0), +(1176890, 29, 245.764877, -4272.171387, 248.920975, 0, 0, 0, 0, 100, 0), +(1176890, 30, 238.895004, -4276.655762, 248.606018, 0, 0, 0, 0, 100, 0), +(1176890, 31, 213.626450, -4276.384766, 248.502441, 0, 0, 0, 0, 100, 0), +(1176890, 32, 195.836517, -4286.464355, 248.749603, 0, 0, 0, 0, 100, 0), +(1176890, 33, 178.860077, -4304.438477, 252.472916, 0, 0, 0, 0, 100, 0), +(1176890, 34, 168.596313, -4308.797363, 254.645386, 0, 0, 0, 0, 100, 0), +(1176890, 35, 160.376022, -4316.970703, 256.535919, 0, 0, 0, 0, 100, 0), +(1176890, 36, 150.246857, -4335.993652, 257.498810, 0, 0, 0, 0, 100, 0), +(1176890, 37, 141.832169, -4345.334473, 257.867676, 0, 0, 0, 0, 100, 0), +(1176890, 38, 128.642212, -4362.238281, 258.747375, 0, 0, 0, 0, 100, 0), +(1176890, 39, 124.869438, -4371.796875, 258.335938, 0, 0, 0, 0, 100, 0), +(1176890, 40, 121.316132, -4389.046387, 257.141205, 0, 0, 0, 0, 100, 0), +(1176890, 41, 122.155800, -4418.455566, 255.509537, 0, 0, 0, 0, 100, 0), +(1176890, 42, 125.436966, -4434.860840, 254.323639, 0, 0, 0, 0, 100, 0), +(1176890, 43, 141.329361, -4455.471191, 253.578766, 0, 0, 0, 0, 100, 0), +(1176890, 44, 144.178497, -4462.812500, 253.617325, 0, 0, 0, 0, 100, 0), +(1176890, 45, 156.068008, -4517.755371, 257.193939, 0, 0, 0, 0, 100, 0), +(1176890, 46, 156.098114, -4532.821289, 258.803101, 0, 0, 0, 0, 100, 0), +(1176890, 47, 153.249817, -4549.366211, 261.364685, 0, 0, 0, 0, 100, 0); +-- +-- William Pestle SAI +SET @ENTRY := 253; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,20,0,100,0,112,0,0,0,80,@ENTRY*100+00,0,2,0,0,0,1,0,0,0,0,0,0,0,"William Pestle - On Quest 'Collecting Kelp' Finished - Run Script"); + +-- Actionlist SAI +SET @ENTRY := 25300; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"William Pestle - On Script - Say Line 0"), +(@ENTRY,9,1,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.45219,"William Pestle - On Script - Set Orientation 1,45219"), +(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,5,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"William Pestle - On Script - Play Emote 69"), +(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,66,0,0,0,0,0,0,21,10,0,0,0,0,0,0,"William Pestle - On Script - Set Orientation Closest Player"), +(@ENTRY,9,4,0,0,0,100,0,1000,1000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"William Pestle - On Script - Say Line 1"); + +-- Maybell Maclure SAI +SET @ENTRY := 251; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,20,0,100,0,114,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Maybell Maclure - On Quest 'The Escape' Finished - Run Script"); + +-- Actionlist SAI +SET @ENTRY := 25100; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.39307,"On Script - Set Orientation 5,39307"), +(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 0"), +(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,5,7,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 7"), +(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Despawn Instant"); + +DELETE FROM `creature_text` WHERE `entry`=251; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(251, 0, 0, 'Here goes nothing...', 12, 0, 100, 0, 0, 0, 1862, 0, 'Maybell Maclure'); +-- +-- Tortured Skeleton SAI +SET @ENTRY := 18797; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,0,0,0,0,0,91,7,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tortured Skeleton - On Aggro - Remove Flag Standstate Dead"); +-- Dread Tactician +-- Pathing for Entry: 16959 'TDB FORMAT' +SET @NPC := 59170; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-306.8688,`position_y`=1556.233,`position_z`=41.73843 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-306.8688,1556.233,41.73843,0,0,0,0,100,0), +(@PATH,2,-303.8688,1555.983,40.73843,0,0,0,0,100,0), +(@PATH,3,-299.8688,1555.483,40.23843,0,0,0,0,100,0), +(@PATH,4,-297.8688,1555.233,39.48843,0,0,0,0,100,0), +(@PATH,5,-295.1188,1554.983,38.73843,0,0,0,0,100,0), +(@PATH,6,-292.1188,1554.483,38.48843,0,0,0,0,100,0), +(@PATH,7,-289.1188,1554.233,37.73843,0,0,0,0,100,0), +(@PATH,8,-287.1188,1553.983,37.23843,0,0,0,0,100,0), +(@PATH,9,-284.1188,1553.983,36.48843,0,0,0,0,100,0), +(@PATH,10,-283.8904,1553.79,36.20832,0,0,0,0,100,0), +(@PATH,11,-281.8904,1553.54,35.95832,0,0,0,0,100,0), +(@PATH,12,-275.6404,1556.04,35.70832,0,0,0,0,100,0), +(@PATH,13,-269.0029,1558.513,35.23201,0,0,0,0,100,0), +(@PATH,14,-270.5029,1562.263,35.98201,0,0,0,0,100,0), +(@PATH,15,-271.7529,1565.013,36.48201,0,0,0,0,100,0), +(@PATH,16,-272.7529,1567.513,36.98201,0,0,0,0,100,0), +(@PATH,17,-274.0029,1570.263,37.73201,0,0,0,0,100,0), +(@PATH,18,-275.0029,1573.013,38.48201,0,0,0,0,100,0), +(@PATH,19,-276.4716,1576.198,39.42199,0,0,0,0,100,0), +(@PATH,20,-278.2216,1576.948,39.92199,0,0,0,0,100,0), +(@PATH,21,-280.9716,1578.448,40.92199,0,0,0,0,100,0), +(@PATH,22,-283.7216,1579.698,41.67199,0,0,0,0,100,0), +(@PATH,23,-285.4716,1580.448,42.17199,0,0,0,0,100,0), +(@PATH,24,-287.9716,1581.698,42.92199,0,0,0,0,100,0), +(@PATH,25,-289.7216,1582.448,43.67199,0,0,0,0,100,0), +(@PATH,26,-291.4716,1583.448,44.42199,0,0,0,0,100,0), +(@PATH,27,-294.2216,1584.698,45.17199,0,0,0,0,100,0), +(@PATH,28,-294.3971,1584.785,45.42167,0,0,0,0,100,0), +(@PATH,29,-295.1471,1585.035,45.42167,0,0,0,0,100,0), +(@PATH,30,-304.3971,1576.535,45.92167,0,0,0,0,100,0), +(@PATH,31,-312.2731,1568.967,46.45709,0,0,0,0,100,0), +(@PATH,32,-318.7731,1561.467,45.70709,0,0,0,0,100,0), +(@PATH,33,-333.8887,1543.732,45.3224,0,0,0,0,100,0), +(@PATH,34,-333.6387,1540.732,44.5724,0,0,0,0,100,0), +(@PATH,35,-333.3887,1538.732,43.8224,0,0,0,0,100,0), +(@PATH,36,-333.3887,1536.732,43.3224,0,0,0,0,100,0), +(@PATH,37,-333.1387,1533.732,42.5724,0,0,0,0,100,0), +(@PATH,38,-332.8887,1531.732,41.8224,0,0,0,0,100,0), +(@PATH,39,-332.8887,1529.732,41.0724,0,0,0,0,100,0), +(@PATH,40,-332.6387,1527.732,40.5724,0,0,0,0,100,0), +(@PATH,41,-332.3887,1525.732,39.8224,0,0,0,0,100,0), +(@PATH,42,-332.3887,1523.732,39.3224,0,0,0,0,100,0), +(@PATH,43,-332.1387,1521.982,38.8224,0,0,0,0,100,0), +(@PATH,44,-331.8887,1518.982,38.3224,0,0,0,0,100,0), +(@PATH,45,-331.8887,1516.982,37.5724,0,0,0,0,100,0), +(@PATH,46,-331.8887,1513.982,36.8224,0,0,0,0,100,0), +(@PATH,47,-331.6387,1510.982,36.3224,0,0,0,0,100,0), +(@PATH,48,-331.3887,1508.232,35.5724,0,0,0,0,100,0), +(@PATH,49,-331.1387,1505.232,34.8224,0,0,0,0,100,0), +(@PATH,50,-330.8887,1502.232,34.3224,0,0,0,0,100,0), +(@PATH,51,-330.4729,1499.82,33.45189,0,0,0,0,100,0), +(@PATH,52,-325.4729,1496.82,32.70189,0,0,0,0,100,0), +(@PATH,53,-320.9729,1494.32,31.95189,0,0,0,0,100,0), +(@PATH,54,-316.2229,1491.57,31.45189,0,0,0,0,100,0), +(@PATH,55,-311.7229,1489.07,30.95189,0,0,0,0,100,0), +(@PATH,56,-307.4729,1486.57,30.20189,0,0,0,0,100,0), +(@PATH,57,-307.3154,1486.395,29.88731,0,0,0,0,100,0), +(@PATH,58,-305.8154,1485.645,29.63731,0,0,0,0,100,0), +(@PATH,59,-299.8154,1485.645,28.88731,0,0,0,0,100,0), +(@PATH,60,-294.0654,1485.395,28.38731,0,0,0,0,100,0), +(@PATH,61,-287.0654,1485.395,27.88731,0,0,0,0,100,0), +(@PATH,62,-281.0654,1485.395,27.38731,0,0,0,0,100,0), +(@PATH,63,-280.6106,1485.449,27.23963,0,0,0,0,100,0), +(@PATH,64,-278.6106,1485.199,27.23963,0,0,0,0,100,0), +(@PATH,65,-270.6106,1498.699,27.48963,0,0,0,0,100,0), +(@PATH,66,-268.6106,1502.199,27.98963,0,0,0,0,100,0), +(@PATH,67,-268.5272,1502.318,28.20654,0,0,0,0,100,0), +(@PATH,68,-267.5272,1503.818,28.20654,0,0,0,0,100,0), +(@PATH,69,-270.5272,1504.568,28.70654,0,0,0,0,100,0), +(@PATH,70,-274.2772,1505.568,29.20654,0,0,0,0,100,0), +(@PATH,71,-278.5582,1506.635,29.73862,0,0,0,0,100,0), +(@PATH,72,-290.8082,1500.885,30.23862,0,0,0,0,100,0), +(@PATH,73,-296.4533,1498.203,30.9129,0,0,0,0,100,0), +(@PATH,74,-300.2033,1498.953,31.4129,0,0,0,0,100,0), +(@PATH,75,-304.2033,1499.703,31.9129,0,0,0,0,100,0), +(@PATH,76,-307.9533,1500.453,32.4129,0,0,0,0,100,0), +(@PATH,77,-313.7033,1501.203,33.1629,0,0,0,0,100,0), +(@PATH,78,-317.4067,1502.011,33.47455,0,0,0,0,100,0), +(@PATH,79,-319.6567,1504.011,33.97455,0,0,0,0,100,0), +(@PATH,80,-322.1567,1506.511,34.47455,0,0,0,0,100,0), +(@PATH,81,-325.2614,1509.541,35.46749,0,0,0,0,100,0), +(@PATH,82,-325.7614,1512.541,35.96749,0,0,0,0,100,0), +(@PATH,83,-326.0114,1515.541,36.71749,0,0,0,0,100,0), +(@PATH,84,-326.2614,1517.541,37.21749,0,0,0,0,100,0), +(@PATH,85,-326.2614,1520.541,38.21749,0,0,0,0,100,0), +(@PATH,86,-326.5114,1522.541,38.71749,0,0,0,0,100,0), +(@PATH,87,-326.7614,1525.291,39.46749,0,0,0,0,100,0), +(@PATH,88,-327.0114,1527.291,39.96749,0,0,0,0,100,0), +(@PATH,89,-327.2614,1529.291,40.71749,0,0,0,0,100,0), +(@PATH,90,-327.7614,1533.291,41.46749,0,0,0,0,100,0), +(@PATH,91,-328.0114,1535.041,41.96749,0,0,0,0,100,0), +(@PATH,92,-328.2614,1538.041,42.71749,0,0,0,0,100,0); +-- 0x1C39AC4240108FC00000210000037184 .go -306.8688 1556.233 41.73843 + + +-- Pathing for Entry: 16959 'TDB FORMAT' +SET @NPC := 59171; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-110.5204,`position_y`=1566.893,`position_z`=42.31397 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-110.5204,1566.893,42.31397,0,0,0,0,100,0), +(@PATH,2,-120.2704,1568.393,41.81397,0,0,0,0,100,0), +(@PATH,3,-127.0204,1569.893,41.31397,0,0,0,0,100,0), +(@PATH,4,-134.6927,1571.43,40.71382,0,0,0,0,100,0), +(@PATH,5,-139.6927,1571.68,40.21382,0,0,0,0,100,0), +(@PATH,6,-144.6927,1571.93,39.46382,0,0,0,0,100,0), +(@PATH,7,-149.4427,1572.18,38.71382,0,0,0,0,100,0), +(@PATH,8,-152.4427,1572.43,38.21382,0,0,0,0,100,0), +(@PATH,9,-155.4427,1572.68,37.71382,0,0,0,0,100,0), +(@PATH,10,-158.4427,1572.68,36.96382,0,0,0,0,100,0), +(@PATH,11,-161.4427,1572.93,36.46382,0,0,0,0,100,0), +(@PATH,12,-163.4427,1573.18,35.71382,0,0,0,0,100,0), +(@PATH,13,-163.4854,1573.449,35.89986,0,0,0,0,100,0), +(@PATH,14,-164.2354,1573.449,35.64986,0,0,0,0,100,0), +(@PATH,15,-163.9854,1576.449,36.39986,0,0,0,0,100,0), +(@PATH,16,-163.7824,1580.185,36.84877,0,0,0,0,100,0), +(@PATH,17,-161.7824,1580.435,37.59877,0,0,0,0,100,0), +(@PATH,18,-159.0324,1580.935,38.34877,0,0,0,0,100,0), +(@PATH,19,-155.0324,1581.935,38.84877,0,0,0,0,100,0), +(@PATH,20,-152.2824,1582.685,39.59877,0,0,0,0,100,0), +(@PATH,21,-148.5324,1583.435,40.34877,0,0,0,0,100,0), +(@PATH,22,-145.5324,1584.185,41.09877,0,0,0,0,100,0), +(@PATH,23,-145.3761,1584.15,41.32778,0,0,0,0,100,0), +(@PATH,24,-144.1261,1584.4,41.57778,0,0,0,0,100,0), +(@PATH,25,-139.1261,1583.9,42.32778,0,0,0,0,100,0), +(@PATH,26,-135.1261,1583.65,43.07778,0,0,0,0,100,0), +(@PATH,27,-130.1261,1583.15,43.57778,0,0,0,0,100,0), +(@PATH,28,-126.3761,1582.65,44.07778,0,0,0,0,100,0), +(@PATH,29,-123.3761,1582.4,44.82778,0,0,0,0,100,0), +(@PATH,30,-117.3761,1582.15,45.32778,0,0,0,0,100,0), +(@PATH,31,-113.3761,1581.65,46.07778,0,0,0,0,100,0), +(@PATH,32,-109.0603,1580.944,46.36949,0,0,0,0,100,0), +(@PATH,33,-84.0918,1569.51,46.44577,0,0,0,0,100,0), +(@PATH,34,-82.3418,1566.01,45.44577,0,0,0,0,100,0), +(@PATH,35,-81.3418,1564.26,44.94577,0,0,0,0,100,0), +(@PATH,36,-80.0918,1561.51,44.19577,0,0,0,0,100,0), +(@PATH,37,-79.0918,1559.76,43.69577,0,0,0,0,100,0), +(@PATH,38,-78.0918,1558.01,42.94577,0,0,0,0,100,0), +(@PATH,39,-76.5918,1554.76,42.19577,0,0,0,0,100,0), +(@PATH,40,-75.8418,1553.01,41.69577,0,0,0,0,100,0), +(@PATH,41,-74.8418,1551.26,41.19577,0,0,0,0,100,0), +(@PATH,42,-73.3418,1548.51,40.44577,0,0,0,0,100,0), +(@PATH,43,-72.5918,1546.76,39.94577,0,0,0,0,100,0), +(@PATH,44,-71.5918,1545.01,39.19577,0,0,0,0,100,0), +(@PATH,45,-70.3418,1542.26,38.69577,0,0,0,0,100,0), +(@PATH,46,-70.29829,1541.94,38.42153,0,0,0,0,100,0), +(@PATH,47,-69.29829,1540.19,37.67153,0,0,0,0,100,0), +(@PATH,48,-69.54829,1538.19,37.17153,0,0,0,0,100,0), +(@PATH,49,-70.04829,1535.19,36.17153,0,0,0,0,100,0), +(@PATH,50,-70.04829,1533.44,35.67153,0,0,0,0,100,0), +(@PATH,51,-70.54829,1529.44,35.17153,0,0,0,0,100,0), +(@PATH,52,-71.04829,1525.69,34.42153,0,0,0,0,100,0), +(@PATH,53,-71.54829,1521.69,33.92153,0,0,0,0,100,0), +(@PATH,54,-71.54829,1518.69,33.17153,0,0,0,0,100,0), +(@PATH,55,-72.10271,1515.561,32.53027,0,0,0,0,100,0), +(@PATH,56,-73.35271,1512.811,31.53027,0,0,0,0,100,0), +(@PATH,57,-74.35271,1511.061,30.78027,0,0,0,0,100,0), +(@PATH,58,-75.10271,1509.311,30.28027,0,0,0,0,100,0), +(@PATH,59,-76.35271,1506.561,29.78027,0,0,0,0,100,0), +(@PATH,60,-78.10271,1502.811,29.03027,0,0,0,0,100,0), +(@PATH,61,-79.10271,1500.311,30.03027,0,0,0,0,100,0), +(@PATH,62,-82.35271,1493.061,29.28027,0,0,0,0,100,0), +(@PATH,63,-84.10271,1489.561,28.53027,0,0,0,0,100,0), +(@PATH,64,-84.42598,1489.16,28.3833,0,0,0,0,100,0), +(@PATH,65,-85.17598,1487.41,28.1333,0,0,0,0,100,0), +(@PATH,66,-102.3677,1477.751,27.65215,0,0,0,0,100,0), +(@PATH,67,-123.1177,1477.501,26.90215,0,0,0,0,100,0), +(@PATH,68,-137.5984,1477.31,26.80837,0,0,0,0,100,0), +(@PATH,69,-145.5984,1482.56,27.05837,0,0,0,0,100,0), +(@PATH,70,-153.8199,1488.331,27.38618,0,0,0,0,100,0), +(@PATH,71,-178.7361,1511.036,27.3082,0,0,0,0,100,0), +(@PATH,72,-185.2269,1510.27,27.05297,0,0,0,0,100,0), +(@PATH,73,-182.9769,1508.27,27.05297,0,0,0,0,100,0), +(@PATH,74,-172.9769,1500.02,26.80297,0,0,0,0,100,0), +(@PATH,75,-170.7269,1498.27,27.05297,0,0,0,0,100,0), +(@PATH,76,-169.2269,1496.02,27.05297,0,0,0,0,100,0), +(@PATH,77,-167.7269,1494.02,26.80297,0,0,0,0,100,0), +(@PATH,78,-167.7269,1492.02,26.80297,0,0,0,0,100,0), +(@PATH,79,-167.7269,1489.77,26.80297,0,0,0,0,100,0), +(@PATH,80,-167.4919,1489.571,26.64043,0,0,0,0,100,0), +(@PATH,81,-168.4919,1488.071,26.64043,0,0,0,0,100,0), +(@PATH,82,-158.2419,1482.071,26.14043,0,0,0,0,100,0), +(@PATH,83,-147.591,1475.386,26.25293,0,0,0,0,100,0), +(@PATH,84,-139.841,1477.636,27.00293,0,0,0,0,100,0), +(@PATH,85,-132.341,1479.636,27.25293,0,0,0,0,100,0), +(@PATH,86,-125.591,1481.386,28.00293,0,0,0,0,100,0), +(@PATH,87,-121.841,1482.636,28.50293,0,0,0,0,100,0), +(@PATH,88,-120.2695,1483.081,29.04744,0,0,0,0,100,0), +(@PATH,89,-118.5195,1484.081,29.54744,0,0,0,0,100,0), +(@PATH,90,-115.7695,1485.331,30.29744,0,0,0,0,100,0), +(@PATH,91,-115.0195,1485.831,31.04744,0,0,0,0,100,0), +(@PATH,92,-113.0195,1486.831,32.04744,0,0,0,0,100,0), +(@PATH,93,-107.0195,1489.581,31.29744,0,0,0,0,100,0), +(@PATH,94,-95.5195,1495.331,30.79744,0,0,0,0,100,0), +(@PATH,95,-95.16714,1495.663,31.08524,0,0,0,0,100,0), +(@PATH,96,-94.66714,1495.913,31.08524,0,0,0,0,100,0), +(@PATH,97,-93.66714,1499.913,31.33524,0,0,0,0,100,0), +(@PATH,98,-92.16714,1506.413,31.83524,0,0,0,0,100,0), +(@PATH,99,-90.66714,1512.163,32.58524,0,0,0,0,100,0), +(@PATH,100,-89.91714,1514.913,31.83524,0,0,0,0,100,0), +(@PATH,101,-89.75613,1515.401,32.07003,0,0,0,0,100,0), +(@PATH,102,-89.25613,1516.401,31.82003,0,0,0,0,100,0), +(@PATH,103,-89.25613,1523.401,32.57003,0,0,0,0,100,0), +(@PATH,104,-89.25613,1524.401,33.32003,0,0,0,0,100,0), +(@PATH,105,-89.25613,1525.401,34.07003,0,0,0,0,100,0), +(@PATH,106,-89.00613,1526.401,34.57003,0,0,0,0,100,0), +(@PATH,107,-89.00613,1528.401,35.82003,0,0,0,0,100,0), +(@PATH,108,-89.00613,1529.401,36.07003,0,0,0,0,100,0), +(@PATH,109,-88.75613,1533.151,36.82003,0,0,0,0,100,0), +(@PATH,110,-88.75613,1535.151,37.32003,0,0,0,0,100,0), +(@PATH,111,-88.50613,1538.151,38.07003,0,0,0,0,100,0), +(@PATH,112,-88.50613,1541.151,38.82003,0,0,0,0,100,0), +(@PATH,113,-88.25613,1544.151,39.57003,0,0,0,0,100,0), +(@PATH,114,-88.1545,1544.429,39.72079,0,0,0,0,100,0), +(@PATH,115,-88.1545,1545.429,39.97079,0,0,0,0,100,0), +(@PATH,116,-91.1545,1548.179,40.47079,0,0,0,0,100,0), +(@PATH,117,-94.6545,1551.679,40.97079,0,0,0,0,100,0), +(@PATH,118,-99.4045,1556.429,41.72079,0,0,0,0,100,0), +(@PATH,119,-110.481,1566.873,42.2832,0,0,0,0,100,0), +(@PATH,120,-120.231,1568.623,41.7832,0,0,0,0,100,0), +(@PATH,121,-126.981,1569.873,41.2832,0,0,0,0,100,0); +-- 0x1C39AC4240108FC000002100007FC923 .go -110.5204 1566.893 42.31397 +-- +-- Portal Burn Action +-- Portal Kruul SAI +SET @ENTRY := 184289; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,50,183816,30,0,0,0,0,8,0,0,0,147.0184, 1717.341, 37.46404,0,"Portal Kruul - On Gameobject State Changed - Summon Gameobject 'Hellfire Fire'"); + +-- Portal Xilus SAI +SET @ENTRY := 184290; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,50,183816,30,0,0,0,0,8,0,0,0,-84.5415, 1881.739, 73.82645,5.782852,"Portal Xilus - On Gameobject State Changed - Summon Gameobject 'Hellfire Fire'"); + +-- Portal Grimh SAI +SET @ENTRY := 184414; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,50,183816,30,0,0,0,0,8,0,0,0,-418.627, 1847.49, 80.7808,0,"Portal Grimh - On Gameobject State Changed - Summon Gameobject 'Hellfire Fire'"); + +-- Portal Kaalez SAI +SET @ENTRY := 184415; +UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,50,183816,30,0,0,0,0,8,0,0,0,-545.2587, 1781.167, 56.22634,0,"Portal Kaalez - On Gameobject State Changed - Summon Gameobject 'Hellfire Fire'"); +-- +-- Pathing for Entry: 22410 'TDB FORMAT' +SET @NPC := 78754; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3009.127,`position_y`=5920.842,`position_z`=130.9854 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,14332,0,4097,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3009.127,5920.842,130.9854,0,0,1,0,100,0), +(@PATH,2,3018.56,5944.067,131.0012,0,0,1,0,100,0), +(@PATH,3,3028.687,5971.723,131.0047,0,0,1,0,100,0), +(@PATH,4,3039.209,5998.325,130.9491,0,0,1,0,100,0), +(@PATH,5,3041.459,6004.325,130.9491,0,0,1,0,100,0), +(@PATH,6,3042.709,6007.575,130.9491,0,0,1,0,100,0), +(@PATH,7,3043.459,6009.825,130.9491,0,0,1,0,100,0), +(@PATH,8,3048.21,6021.786,130.8358,0,0,1,0,100,0), +(@PATH,9,3058.211,6046.689,130.7168,0,0,1,0,100,0), +(@PATH,10,3065.155,6064.995,130.614,0,0,1,0,100,0), +(@PATH,11,3078.91,6073.112,130.3709,0,0,1,0,100,0), +(@PATH,12,3084.571,6056.194,130.4195,0,0,1,0,100,0), +(@PATH,13,3079.821,6040.444,130.6695,0,0,1,0,100,0), +(@PATH,14,3079.655,6040.126,130.764,0,0,1,0,100,0), +(@PATH,15,3079.405,6039.626,130.764,0,0,1,0,100,0), +(@PATH,16,3078.905,6038.126,130.764,0,0,1,0,100,0), +(@PATH,17,3069.25,6014.667,130.9082,0,0,1,0,100,0), +(@PATH,18,3064,6000.667,130.9082,0,0,1,0,100,0), +(@PATH,19,3060.452,5991.971,130.99,0,0,1,0,100,0), +(@PATH,20,3050.27,5967.535,130.9908,0,0,1,0,100,0), +(@PATH,21,3045.52,5954.535,130.9908,0,0,1,0,100,0), +(@PATH,22,3039.294,5938.282,130.9514,0,0,1,0,100,0), +(@PATH,23,3028.456,5913.517,130.8795,0,0,1,0,100,0), +(@PATH,24,3019.764,5891.665,130.7868,0,0,1,0,100,0), +(@PATH,25,3016.764,5884.415,130.7868,0,0,1,0,100,0), +(@PATH,26,3012.264,5873.915,130.7868,0,0,1,0,100,0), +(@PATH,27,3009.264,5866.915,130.7868,0,0,1,0,100,0), +(@PATH,28,3012.196,5873.788,130.7515,0,0,1,0,100,0), +(@PATH,29,3008.946,5866.788,130.7515,0,0,1,0,100,0), +(@PATH,30,3008.446,5865.038,130.7515,0,0,1,0,100,0), +(@PATH,31,2995.446,5836.038,130.5015,0,0,1,0,100,0), +(@PATH,32,2995.104,5835.657,130.3808,0,0,1,0,100,0), +(@PATH,33,2991.854,5828.407,130.6308,0,0,1,0,100,0), +(@PATH,34,2990.604,5827.907,130.3808,0,0,1,0,100,0), +(@PATH,35,2976.186,5821.571,130.1743,0,0,1,0,100,0), +(@PATH,36,2970.518,5837.316,130.481,0,0,1,0,100,0), +(@PATH,37,2971.768,5840.066,130.481,0,0,1,0,100,0), +(@PATH,38,2980.487,5859.262,131.0515,0,0,1,0,100,0), +(@PATH,39,2983.987,5866.762,131.0515,0,0,1,0,100,0), +(@PATH,40,2989.237,5876.512,131.3015,0,0,1,0,100,0); +-- 0x1C3998424015E28000002300007FC920 .go 3009.127 5920.842 130.9854 + +DELETE FROM `creature_formations` WHERE `leaderGUID`=78754; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(78754, 78754, 0, 0, 2, 0, 0), +(78754, 78755, 7, 0, 0, 0, 0); + +-- Expedition Warden SAI +SET @GUID := -63549; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=17855; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,0,100,200,5000,10000,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Expedition Warden - Out of Combat - Play Emote 1"); + +-- Expedition Warden SAI +SET @GUID := -63548; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=17855; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,0,100,200,10000,40000,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Expedition Warden - Out of Combat - Play Emote 1"); + +-- Pathing for Entry: 17855 'TDB FORMAT' +SET @NPC := 63550; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=3022.651,`position_y`=5963.609,`position_z`=130.7766 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,3022.651,5963.609,130.7766,0,6000,0,0,100,0), +(@PATH,2,3032.096,5959.558,130.6869,0,6000,0,0,100,0); +-- 0x1C39984240116FC000002300027FC920 .go 3022.651 5963.609 130.7766 +-- +-- Pathing for Entry: 2802 'TDB FORMAT' +SET @NPC := 38101; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1442.487,`position_y`=36.32697,`position_z`=-62.02626 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1442.487,36.32697,-62.02626,0,0,0,0,100,0), +(@PATH,2,1435.487,32.07697,-62.02626,0,0,0,0,100,0), +(@PATH,3,1416.445,21.46703,-62.02588,0,0,0,0,100,0), +(@PATH,4,1405.551,23.91475,-62.0261,0,0,0,0,100,0), +(@PATH,5,1402.301,26.41475,-62.0261,0,0,0,0,100,0), +(@PATH,6,1387.127,36.88569,-62.02647,0,0,0,0,100,0), +(@PATH,7,1381.627,49.88569,-62.02647,0,0,0,0,100,0), +(@PATH,8,1379.005,56.32278,-62.02669,0,0,0,0,100,0), +(@PATH,9,1379.755,60.82278,-62.02669,0,0,0,0,100,0), +(@PATH,10,1383.399,83.51677,-62.03289,0,0,0,0,100,0), +(@PATH,11,1388.399,87.51677,-62.03289,0,0,0,0,100,0), +(@PATH,12,1395.899,94.01677,-62.28289,0,0,0,0,100,0), +(@PATH,13,1400.163,97.49232,-62.05746,0,0,0,0,100,0), +(@PATH,14,1412.663,127.9923,-62.05746,0,0,0,0,100,0), +(@PATH,15,1413.663,130.2423,-62.05746,0,0,0,0,100,0), +(@PATH,16,1415.163,134.2423,-62.05746,0,0,0,0,100,0), +(@PATH,17,1418.154,141.2391,-62.04066,0,0,0,0,100,0), +(@PATH,18,1423.404,143.7391,-62.04066,0,0,0,0,100,0), +(@PATH,19,1434.169,149.9652,-62.03992,0,0,0,0,100,0), +(@PATH,20,1435.669,148.4652,-62.03992,0,0,0,0,100,0), +(@PATH,21,1445.419,139.4652,-62.03992,0,0,0,0,100,0), +(@PATH,22,1447.836,137.2073,-61.75176,0,0,0,0,100,0), +(@PATH,23,1450.836,133.7073,-61.75176,0,0,0,0,100,0), +(@PATH,24,1452.086,132.4573,-61.75176,0,0,0,0,100,0), +(@PATH,25,1453.836,130.4573,-60.00176,0,0,0,0,100,0), +(@PATH,26,1456.336,127.4573,-60.00176,0,0,0,0,100,0), +(@PATH,27,1462.008,120.8724,-59.94119,0,0,0,0,100,0), +(@PATH,28,1465.152,111.2505,-59.94151,0,0,0,0,100,0), +(@PATH,29,1471.402,105.7505,-59.94151,0,0,0,0,100,0), +(@PATH,30,1479.847,98.11646,-59.9706,0,0,0,0,100,0), +(@PATH,31,1480.847,97.36646,-59.9706,0,0,0,0,100,0), +(@PATH,32,1482.847,96.11646,-61.4706,0,0,0,0,100,0), +(@PATH,33,1484.347,95.11646,-61.7206,0,0,0,0,100,0), +(@PATH,34,1483.158,95.78064,-61.62843,0,0,0,0,100,0), +(@PATH,35,1484.658,94.78064,-61.87843,0,0,0,0,100,0), +(@PATH,36,1485.158,94.53064,-61.87843,0,0,0,0,100,0), +(@PATH,37,1489.658,90.78064,-61.87843,0,0,0,0,100,0), +(@PATH,38,1499.658,82.28064,-61.87843,0,0,0,0,100,0), +(@PATH,39,1499.686,82.06802,-62.047,0,0,0,0,100,0), +(@PATH,40,1500.436,81.31802,-62.047,0,0,0,0,100,0), +(@PATH,41,1494.936,71.31802,-62.047,0,0,0,0,100,0), +(@PATH,42,1481.826,47.66472,-62.03592,0,0,0,0,100,0), +(@PATH,43,1469.576,44.16472,-62.03592,0,0,0,0,100,0), +(@PATH,44,1466.576,43.41472,-62.03592,0,0,0,0,100,0), +(@PATH,45,1464.826,42.91472,-62.03592,0,0,0,0,100,0), +(@PATH,46,1452.326,39.16472,-62.03592,0,0,0,0,100,0), +(@PATH,47,1442.51,36.29097,-62.02619,0,0,0,0,100,0), +(@PATH,48,1435.51,32.29097,-62.02619,0,0,0,0,100,0), +(@PATH,49,1416.5,21.42531,-62.02593,0,0,0,0,100,0); +-- 0x1C191C000002BC80000028000002D330 .go 1442.487 36.32697 -62.02626 +-- +DELETE FROM `gossip_menu` WHERE `entry`=5004; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (5004, 6062); +-- +-- Scarlet Initiate SAI +SET @ENTRY := 1507; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,7,0,0,0,100,0,0,0,3500,5000,11,20793,64,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Initiate - In Combat - Cast 'Fireball'"), +(@ENTRY,0,10,0,23,0,100,0,12544,0,5000,10000,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Initiate - On Has Aura 'Frost Armor' - Cast 'Frost Armor'"); +-- Portal Kruul SAI +SET @ENTRY := 184289; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,11,34386,0,0,0,0,0,19,19652,10,0,0,0,0,0,"Portal Kruul - On Gameobject State Changed - Cast spell 'Hellfire Fire'"); +-- Portal Xilus SAI +SET @ENTRY := 184290; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,11,34386,0,0,0,0,0,19,19717,10,0,0,0,0,0,"Portal Xilus - On Gameobject State Changed - Cast spell 'Hellfire Fire'"); +-- Portal Grimh SAI +SET @ENTRY := 184414; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,11,34386,0,0,0,0,0,19,19652,10,0,0,0,0,0,"Portal Grimh - On Gameobject State Changed - Cast spell 'Hellfire Fire'"); +-- Portal Kaalez SAI +SET @ENTRY := 184415; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,1,0,0,70,0,100,0,2,0,0,0,11,34386,0,0,0,0,0,19,19717,10,0,0,0,0,0,"Portal Kaalez - On Gameobject State Changed - Cast spell 'Hellfire Fire'"); +-- Azure Spellweaver SAI +SET @ENTRY := 31403; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,34447,64,0,0,0,0,2,0,0,0,0,0,0,0,"Azure Spellweaver - Combat CMC - Cast 'Arcane Missiles'"); + +-- Gatekeeper Melindra SAI +SET @ENTRY := 32373; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,1000,1000,1800000,1800000,11,12544,1,0,0,0,0,1,0,0,0,0,0,0,0,"Gatekeeper Melindra - Out of Combat - Cast 'Frost Armor'"), +(@ENTRY,0,1,0,0,0,100,0,0,0,3400,4800,11,17290,64,0,0,0,0,2,0,0,0,0,0,0,0,"Gatekeeper Melindra - Combat CMC - Cast 'Fireball'"), +(@ENTRY,0,2,0,0,0,100,0,8000,11000,19000,25000,11,12738,1,0,0,0,0,2,0,0,0,0,0,0,0,"Gatekeeper Melindra - In Combat - Cast 'Amplify Damage'"); + +-- Syreian the Bonecarver SAI +SET @ENTRY := 32438; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,3,4,0,100,1,0,0,0,0,11,38952,64,0,0,0,0,2,0,0,0,0,0,0,0,"Syreian the Bonecarver - On Aggro CMC - Cast 'Frost Arrow' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,2300,3900,2300,3900,11,50092,64,0,0,0,0,2,0,0,0,0,0,0,0,"Syreian the Bonecarver - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,2,0,0,0,100,0,12000,15000,11000,14000,11,38952,1,0,0,0,0,2,0,0,0,0,0,0,0,"Syreian the Bonecarver - In Combat - Cast 'Frost Arrow'"), +(@ENTRY,0,3,0,9,0,100,0,0,5,12000,16000,11,47168,1,0,0,0,0,2,0,0,0,0,0,0,0,"Syreian the Bonecarver - Within 0-5 Range - Cast 'Improved Wing Clip'"); + +-- Unbound Seer SAI +SET @ENTRY := 33422; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,38204,64,0,0,0,0,2,0,0,0,0,0,0,0,"Unbound Seer - Combat CMC - Cast 'Arcane Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,9000,12000,12000,15000,11,58667,33,0,0,0,0,5,0,0,0,0,0,0,0,"Unbound Seer - In Combat - Cast 'Ley Curse'"); + +-- Mistcaller Yngvar SAI +SET @ENTRY := 34965; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,1000,1000,0,0,11,45658,1,0,0,0,0,1,0,0,0,0,0,0,0,"Mistcaller Yngvar - Out of Combat - Cast 'Call of the Mist'"), +(@ENTRY,0,1,0,0,0,100,0,0,0,3400,4800,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Mistcaller Yngvar - Combat CMC - Cast 'Lightning Bolt'"), +(@ENTRY,0,2,0,0,0,100,0,6000,9000,12000,17000,11,49816,0,0,0,0,0,5,0,0,0,0,0,0,0,"Mistcaller Yngvar - Combat - Cast 'Mist of Strangulation'"), +(@ENTRY,0,3,0,2,0,100,0,0,30,120000,120000,11,49871,1,0,0,0,0,1,0,0,0,0,0,0,0,"Mistcaller Yngvar - 0-30% Health - Cast 'Rune of Retribution'"); + +-- Drottinn Hrothgar SAI +SET @ENTRY := 34980; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,0,0,0,0,11,66625,1,0,0,0,0,1,0,0,0,0,0,0,0,"Drottinn Hrothgar - Out of Combat - Cast 'Cloud Aura' (No Repeat)"), +(@ENTRY,0,1,0,1,0,100,1,1500,1500,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drottinn Hrothgar - Out of Combat - Say Line 0 (No Repeat)"), +(@ENTRY,0,2,0,9,0,100,0,0,5,5000,7000,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,"Drottinn Hrothgar - Within 0-5 Range - Cast 'Cleave'"), +(@ENTRY,0,3,0,0,0,100,0,12000,16000,15000,21000,11,67038,1,0,0,0,0,1,0,0,0,0,0,0,0,"Drottinn Hrothgar - In Combat - Cast 'Smash'"); + +-- Ornolf the Scarred SAI +SET @ENTRY := 35012; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,1000,1000,8000,11000,11,38557,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ornolf the Scarred - Combat - Cast 'Throw'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,5000,7000,11,43410,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ornolf the Scarred - Within 0-5 Range - Cast 'Chop'"), +(@ENTRY,0,2,0,0,0,100,0,8000,11000,8000,11000,11,67037,1,0,0,0,0,1,0,0,0,0,0,0,0,"Ornolf the Scarred - Combat - Cast 'Whirlwind'"), +(@ENTRY,0,3,0,2,0,100,0,0,30,40000,40000,11,3019,1,0,0,0,0,1,0,0,0,0,0,0,0,"Ornolf the Scarred - 0-30% Health - Cast 'Frenzy'"); + +-- Kul the Reckless SAI +SET @ENTRY := 34956; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,8,0,100,0,66531,0,0,0,80,3495600,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kul the Reckless - On Spellhit 'Open Black Cage' - Run Script"); + +-- Kvaldir Harpooner SAI +SET @ENTRY := 34907; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,66489,64,0,0,0,0,2,0,0,0,0,0,0,0,"Kvaldir Harpooner - Combat CMC - Cast 'Spear Throw'"); + +-- Deep Jormungar SAI +SET @ENTRY := 34920; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,1,0,100,1,0,0,500,500,11,56503,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Out of Combat - Cast 'Submerge' (No Repeat)"), +(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,18,33554434,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Out of Combat - Set Flags Not Attackable & Not Selectable (No Repeat)"), +(@ENTRY,0,2,3,4,0,100,1,0,0,0,0,28,56503,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Aggro - Remove Aura 'Submerge' (No Repeat)"), +(@ENTRY,0,3,4,61,0,100,0,0,0,0,0,28,29147,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Aggro - Remove Aura 'Tunnel Bore Passive' (No Repeat)"), +(@ENTRY,0,4,5,61,0,100,0,0,0,0,0,11,37752,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Aggro - Cast 'Stand' (No Repeat)"), +(@ENTRY,0,5,6,61,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Aggro - Disable Combat Movement (No Repeat)"), +(@ENTRY,0,6,0,61,0,100,0,0,0,0,0,19,33554434,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Aggro - Remove Flags Not Attackable & Not Selectable (No Repeat)"), +(@ENTRY,0,7,0,0,0,100,0,1000,1000,3000,5000,11,61597,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deep Jormungar - In Combat CMC - Cast 'Acid Spit'"), +(@ENTRY,0,8,0,0,0,100,0,11000,16000,15000,20000,11,61598,1,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - In Combat - Cast 'Sweep'"), +(@ENTRY,0,9,0,0,0,100,0,10000,20000,45000,50000,11,32738,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deep Jormungar - In Combat - Cast 'Bore'"), +(@ENTRY,0,10,11,9,0,100,1,30,60,0,0,11,56503,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Within 30-60 Range - Cast 'Submerge' (No Repeat)"), +(@ENTRY,0,11,0,61,0,100,0,0,0,0,0,11,29147,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Within 30-60 Range - Cast 'Tunnel Bore Passive' (No Repeat)"), +(@ENTRY,0,12,13,9,0,100,1,0,8,0,0,28,56503,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Within 0-8 Range - Remove Aura 'Submerge' (No Repeat)"), +(@ENTRY,0,13,14,61,0,100,0,0,0,0,0,28,29147,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Within 0-8 Range - Remove Aura 'Tunnel Bore Passive' (No Repeat)"), +(@ENTRY,0,14,15,61,0,100,0,0,0,0,0,11,37752,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Within 0-8 Range - Cast 'Stand' (No Repeat)"), +(@ENTRY,0,15,16,61,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Within 0-8 Range - Disable Combat Movement (No Repeat)"), +(@ENTRY,0,16,0,61,0,100,0,0,0,0,0,19,33554434,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - Within 0-8 Range - Remove Flags Not Attackable & Not Selectable (No Repeat)"), +(@ENTRY,0,17,18,7,0,100,1,0,0,0,0,11,56503,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Evade - Cast 'Submerge' (No Repeat)"), +(@ENTRY,0,18,19,61,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Evade - Set Event Phase 1 (No Repeat)"), +(@ENTRY,0,19,20,61,0,100,0,0,0,0,0,11,29147,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Evade - Cast 'Tunnel Bore Passive' (No Repeat)"), +(@ENTRY,0,20,21,61,0,100,0,0,0,0,0,14,0,100,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Evade - Set All Threat 0-100 (No Repeat)"), +(@ENTRY,0,21,0,61,0,100,0,0,0,0,0,18,33554434,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deep Jormungar - On Evade - Set Flags Not Attackable & Not Selectable (No Repeat)"); +-- Gnarlhide SAI +SET @ENTRY := 30003; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,38391,64,0,0,0,0,2,0,0,0,0,0,0,0,"Gnarlhide - Combat CMC - Cast 'Scorch'"), +(@ENTRY,0,1,0,0,0,100,0,3000,6000,20000,25000,11,60290,1,0,0,0,0,2,0,0,0,0,0,0,0,"Gnarlhide - Combat - Cast 'Blast Wave'"), +(@ENTRY,0,2,0,0,0,100,0,9000,12000,19000,24000,11,35250,1,0,0,0,0,1,0,0,0,0,0,0,0,"Gnarlhide - Combat - Cast 'Dragon's Breath'"), +(@ENTRY,0,3,0,0,0,100,0,5000,8000,9000,12000,11,20832,0,0,0,0,0,5,0,0,0,0,0,0,0,"Gnarlhide - Combat - Cast 'Fire Blast'"); + +-- Yulda the Stormspeaker SAI +SET @ENTRY := 30046; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,32018,64,0,0,0,0,2,0,0,0,0,0,0,0,"Yulda the Stormspeaker - Combat CMC - Cast 'Call Lightning'"), +(@ENTRY,0,1,0,0,0,100,0,9000,12000,15000,18000,11,55087,0,0,0,0,0,2,0,0,0,0,0,0,0,"Yulda the Stormspeaker - Combat - Cast 'Typhoon'"); + +-- Sigrid Iceborn SAI +SET @ENTRY := 30086; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3500,4100,11,61168,64,0,0,0,0,2,0,0,0,0,0,0,0,"Sigrid Iceborn - Combat CMC - Cast 'Throw'"), +(@ENTRY,0,1,0,0,0,100,0,3000,7000,13000,16700,11,61164,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sigrid Iceborn - Combat - Cast 'Impale'"), +(@ENTRY,0,2,0,13,0,100,0,12000,18000,0,0,11,57635,0,0,0,0,0,6,1,0,0,0,0,0,0,"Sigrid Iceborn - Target Casting - Cast 'Disengage'"), +(@ENTRY,0,3,0,1,0,100,0,500,1000,600000,600000,11,61165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sigrid Iceborn - Out of Combat - Cast 'Frostbite Weapon'"), +(@ENTRY,0,4,5,62,0,100,0,9870,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Sigrid Iceborn - On Gossip Option 0 Selected - Close Gossip"), +(@ENTRY,0,5,6,61,0,100,0,0,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sigrid Iceborn - On Gossip Option 0 Selected - Set Invincibility Hp 1"), +(@ENTRY,0,6,7,61,0,100,0,0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sigrid Iceborn - On Gossip Option 0 Selected - Remove Flags Immune To Players & Immune To NPC's"), +(@ENTRY,0,7,8,61,0,100,0,0,0,0,0,2,14,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sigrid Iceborn - On Gossip Option 0 Selected - Set Faction 14"), +(@ENTRY,0,8,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sigrid Iceborn - On Gossip Option 0 Selected - Say Line 0"), +(@ENTRY,0,9,10,2,0,100,0,0,1,0,0,33,30086,0,0,0,0,0,7,0,0,0,0,0,0,0,"Sigrid Iceborn - Between 0-1% Health - Quest Credit 'Eliminate the Competition'"), +(@ENTRY,0,10,11,61,0,100,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sigrid Iceborn - Between 0-1% Health - Set Faction 0"), +(@ENTRY,0,11,12,61,0,100,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sigrid Iceborn - Between 0-1% Health - Say Line 1"), +(@ENTRY,0,12,0,61,0,100,0,0,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sigrid Iceborn - Between 0-1% Health - Evade"); + +-- Twilight Worshipper SAI +SET @ENTRY := 30111; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,17290,64,0,0,0,0,2,0,0,0,0,0,0,0,"Twilight Worshipper - Combat CMC - Cast 'Fireball' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,5000,8000,11,61567,64,0,0,0,0,5,0,0,0,0,0,0,0,"Twilight Worshipper - Combat CMC - Cast 'Fireball' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,9000,12000,14000,17000,11,56858,1,0,0,0,0,5,0,0,0,0,0,0,0,"Twilight Worshipper - Combat - Cast 'Flamestrike' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,9000,12000,14000,17000,11,61568,1,0,0,0,0,5,0,0,0,0,0,0,0,"Twilight Worshipper - Combat - Cast 'Flamestrike' (Heroic Dungeon)"); + +-- Onu'zun SAI +SET @ENTRY := 30180; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,500,1000,600000,600000,11,18100,0,0,0,0,0,1,0,0,0,0,0,0,0,"Onu'zun - Out of Combat - Cast 'Frost Armor'"), +(@ENTRY,0,1,0,0,0,100,0,0,0,3400,4700,11,15242,64,0,0,0,0,2,0,0,0,0,0,0,0,"Onu'zun - Combat CMC - Cast 'Fireball'"), +(@ENTRY,0,2,0,0,0,100,0,5000,5000,14500,17800,11,15244,0,0,0,0,0,2,0,0,0,0,0,0,0,"Onu'zun - Combat - Cast 'Cone of Cold'"), +(@ENTRY,0,3,0,13,0,100,0,12000,18000,0,0,11,15122,0,0,0,0,0,6,1,0,0,0,0,0,0,"Onu'zun - Target Casting - Cast 'Counterspell'"), +(@ENTRY,0,4,5,62,0,100,0,9878,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Onu'zun - On Gossip Option 0 Selected - Close Gossip"), +(@ENTRY,0,5,6,61,0,100,0,0,0,0,0,42,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Onu'zun - On Gossip Option 0 Selected - Set Invincibility Hp 1"), +(@ENTRY,0,6,7,61,0,100,0,0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,"Onu'zun - On Gossip Option 0 Selected - Remove Flags Immune To Players & Immune To NPC's"), +(@ENTRY,0,7,8,61,0,100,0,0,0,0,0,2,14,0,0,0,0,0,1,0,0,0,0,0,0,0,"Onu'zun - On Gossip Option 0 Selected - Set Faction 14"), +(@ENTRY,0,8,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Onu'zun - On Gossip Option 0 Selected - Say Line 0"), +(@ENTRY,0,9,10,2,0,100,0,0,1,0,0,33,30180,0,0,0,0,0,7,0,0,0,0,0,0,0,"Onu'zun - Between 0-1% Health - Quest Credit 'Eliminate the Competition'"), +(@ENTRY,0,10,11,61,0,100,0,0,0,0,0,2,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Onu'zun - Between 0-1% Health - Set Faction 0"), +(@ENTRY,0,11,0,61,0,100,0,0,0,0,0,24,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Onu'zun - Between 0-1% Health - Evade"); + +-- Sunreaver Scout SAI +SET @ENTRY := 30233; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Sunreaver Scout - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,5,30,8000,13000,11,17174,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sunreaver Scout - Within 5-30 Range - Cast 'Concussive Shot'"), +(@ENTRY,0,2,0,9,0,100,0,5,30,15000,25000,11,14443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sunreaver Scout - Within 5-30 Range - Cast 'Multi-Shot'"); + +-- Silver Covenant Scout SAI +SET @ENTRY := 30238; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Silver Covenant Scout - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,5,30,8000,13000,11,17174,0,0,0,0,0,2,0,0,0,0,0,0,0,"Silver Covenant Scout - Within 5-30 Range - Cast 'Concussive Shot'"), +(@ENTRY,0,2,0,9,0,100,0,5,30,15000,25000,11,14443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Silver Covenant Scout - Within 5-30 Range - Cast 'Multi-Shot'"); + +-- Silver Covenant Horseman SAI +SET @ENTRY := 30263; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Silver Covenant Horseman - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,5,30,8000,13000,11,17174,0,0,0,0,0,2,0,0,0,0,0,0,0,"Silver Covenant Horseman - Within 5-30 Range - Cast 'Concussive Shot'"), +(@ENTRY,0,2,0,9,0,100,0,5,30,15000,25000,11,14443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Silver Covenant Horseman - Within 5-30 Range - Cast 'Multi-Shot'"); + +-- Sunreaver Hawkrider SAI +SET @ENTRY := 30265; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Sunreaver Hawkrider - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,5,30,8000,13000,11,17174,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sunreaver Hawkrider - Within 5-30 Range - Cast 'Concussive Shot'"), +(@ENTRY,0,2,0,9,0,100,0,5,30,15000,25000,11,14443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sunreaver Hawkrider - Within 5-30 Range - Cast 'Multi-Shot'"); + +-- Ahn'kahar Spell Flinger SAI +SET @ENTRY := 30278; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,23000,27000,11,56698,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ahn'kahar Spell Flinger - Combat CMC - Cast 'Shadow Blast' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,23000,27000,11,59102,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ahn'kahar Spell Flinger - Combat CMC - Cast 'Shadow Blast' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,10000,14000,13000,16000,11,56702,65,0,0,0,0,1,0,0,0,0,0,0,0,"Ahn'kahar Spell Flinger - Combat CMC - Cast 'Shadow Sickle' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,10000,14000,13000,16000,11,59103,65,0,0,0,0,1,0,0,0,0,0,0,0,"Ahn'kahar Spell Flinger - Combat CMC - Cast 'Shadow Sickle' (Heroic Dungeon)"); + +-- Eye of Taldaram SAI +SET @ENTRY := 30285; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,17439,64,0,0,0,0,2,0,0,0,0,0,0,0,"Eye of Taldaram - Combat CMC - Cast 'Shadow Shock' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,3400,4800,11,17289,64,0,0,0,0,2,0,0,0,0,0,0,0,"Eye of Taldaram - Combat CMC - Cast 'Shadow Shock' (Heroic Dungeon)"), +(@ENTRY,0,2,0,13,0,100,3,0,0,0,0,11,56730,0,0,0,0,0,7,0,0,0,0,0,0,0,"Eye of Taldaram - Target Casting - Cast 'Dark Counterspell' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,3,0,13,0,100,5,0,0,0,0,11,59111,0,0,0,0,0,7,0,0,0,0,0,0,0,"Eye of Taldaram - Target Casting - Cast 'Dark Counterspell' (No Repeat) (Heroic Dungeon)"), +(@ENTRY,0,4,0,0,0,100,6,15000,19000,23000,27000,11,56728,1,0,0,0,0,2,0,0,0,0,0,0,0,"Eye of Taldaram - Combat - Cast 'Eyes in the Dark' (Dungeon)"), +(@ENTRY,0,5,0,6,0,100,3,0,0,0,0,11,56733,7,0,0,0,0,2,0,0,0,0,0,0,0,"Eye of Taldaram - Just Died - Cast 'Shadowfury' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,6,0,6,0,100,5,0,0,0,0,11,61463,7,0,0,0,0,2,0,0,0,0,0,0,0,"Eye of Taldaram - Just Died - Cast 'Shadowfury' (No Repeat) (Heroic Dungeon)"); + +-- Frostbringer SAI +SET @ENTRY := 30286; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,57825,64,0,0,0,0,2,0,0,0,0,0,0,0,"Frostbringer - Combat CMC - Cast 'Frostbolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,3400,4800,11,61461,64,0,0,0,0,2,0,0,0,0,0,0,0,"Frostbringer - Combat CMC - Cast 'Frostbolt' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,9000,12000,15000,18000,11,15063,1,0,0,0,0,1,0,0,0,0,0,0,0,"Frostbringer - Combat - Cast 'Frost Nova' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,9000,12000,15000,18000,11,61462,1,0,0,0,0,1,0,0,0,0,0,0,0,"Frostbringer - Combat - Cast 'Frost Nova' (Heroic Dungeon)"), +(@ENTRY,0,4,0,2,0,100,6,0,30,120000,130000,11,56716,0,0,0,0,0,1,0,0,0,0,0,0,0,"Frostbringer - 0-30% Health - Cast 'Icy Winds' (Dungeon)"); + +-- Stormforged Amplifier SAI +SET @ENTRY := 30591; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Stormforged Amplifier - Combat CMC - Cast 'Lightning Bolt'"); + +-- Veteran Mage Hunter SAI +SET @ENTRY := 30665; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,7,1000,1000,0,0,11,58040,0,0,0,0,0,1,0,0,0,0,0,0,0,"Veteran Mage Hunter - Out of Combat - Cast 'Destroy Door Seal' (Dungeon)"), +(@ENTRY,0,1,0,4,0,100,6,0,0,0,0,30,1,2,3,0,0,0,1,0,0,0,0,0,0,0,"Veteran Mage Hunter - Aggro - Set Random Phase(1, 2, 3) (Dungeon)"), +(@ENTRY,0,2,0,0,1,100,2,0,0,2400,3800,11,15043,64,0,0,0,0,2,0,0,0,0,0,0,0,"Veteran Mage Hunter - Combat CMC - Cast 'Frostbolt' (Phase 1) (Normal Dungeon)"), +(@ENTRY,0,3,0,0,1,100,4,0,0,2400,3800,11,20822,64,0,0,0,0,2,0,0,0,0,0,0,0,"Veteran Mage Hunter - Combat CMC - Cast 'Frostbolt' (Phase 1) (Heroic Dungeon)"), +(@ENTRY,0,4,0,9,2,100,2,0,0,2400,3800,11,12466,64,0,0,0,0,2,0,0,0,0,0,0,0,"Veteran Mage Hunter - Combat CMC - Cast 'Fireball' (Phase 2) (Normal Dungeon)"), +(@ENTRY,0,5,0,9,2,100,4,0,0,2400,3800,11,20823,64,0,0,0,0,2,0,0,0,0,0,0,0,"Veteran Mage Hunter - Combat CMC - Cast 'Fireball' (Phase 2) (Heroic Dungeon)"), +(@ENTRY,0,6,0,9,4,100,2,0,0,2400,3800,11,13748,64,0,0,0,0,2,0,0,0,0,0,0,0,"Veteran Mage Hunter - Combat CMC - Cast 'Arcane Bolt' (Phase 3) (Normal Dungeon)"), +(@ENTRY,0,7,0,9,4,100,4,0,0,2400,3800,11,20829,64,0,0,0,0,2,0,0,0,0,0,0,0,"Veteran Mage Hunter - Combat CMC - Cast 'Arcane Bolt' (Phase 3) (Heroic Dungeon)"), +(@ENTRY,0,8,0,2,0,100,7,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Veteran Mage Hunter - Between 0-15% Health - Flee For Assist (No Repeat) (Dungeon)"); + +-- Portal Keeper SAI +SET @ENTRY := 30695; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,6000,8000,11,58531,64,0,0,0,0,2,0,0,0,0,0,0,0,"Portal Keeper - Combat CMC - Cast 'Arcane Missiles' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,6000,8000,11,61593,64,0,0,0,0,2,0,0,0,0,0,0,0,"Portal Keeper - Combat CMC - Cast 'Arcane Missiles' (Heroic Dungeon)"), +(@ENTRY,0,2,0,9,0,100,2,0,8,13000,19000,11,58532,1,0,0,0,0,1,0,0,0,0,0,0,0,"Portal Keeper - 0-8 Range - Cast 'Frostbolt Volley' (Normal Dungeon)"), +(@ENTRY,0,3,0,9,0,100,4,0,8,13000,19000,11,61594,1,0,0,0,0,1,0,0,0,0,0,0,0,"Portal Keeper - 0-8 Range - Cast 'Frostbolt Volley' (Heroic Dungeon)"), +(@ENTRY,0,4,0,0,0,100,6,0,8,9000,14000,11,58534,1,0,0,0,0,6,0,0,0,0,0,0,0,"Portal Keeper - Combat - Cast 'Deep Freeze' (Dungeon)"); + +-- Nesingwary Game Warden SAI +SET @ENTRY := 30737; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,16100,64,0,0,0,0,2,0,0,0,0,0,0,0,"Nesingwary Game Warden - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,0,20,9000,13000,11,6533,1,0,0,0,0,2,0,0,0,0,0,0,0,"Nesingwary Game Warden - 0-20 Range - Cast 'Net'"), +(@ENTRY,0,2,0,9,0,100,0,5,30,8000,10000,11,31942,0,0,0,0,0,5,0,0,0,0,0,0,0,"Nesingwary Game Warden - 5-30 Range - Cast 'Multi-Shot'"), +(@ENTRY,0,3,0,9,0,100,0,0,45,7000,9000,11,23337,1,0,0,0,0,6,0,0,0,0,0,0,0,"Nesingwary Game Warden - 0-45 Range - Cast 'Shoot'"); + +-- Unbound Dryad SAI +SET @ENTRY := 30860; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,55217,64,0,0,0,0,2,0,0,0,0,0,0,0,"Unbound Dryad - Combat CMC - Cast 'Throw Spear'"), +(@ENTRY,0,1,0,0,0,100,0,3000,9000,9000,13000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unbound Dryad - In Combat - Cast 'Strike'"); + +-- Shandaral Hunter Spirit SAI +SET @ENTRY := 30864; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Shandaral Hunter Spirit - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,0,0,100,0,4000,8000,9000,14000,11,54615,1,0,0,0,0,2,0,0,0,0,0,0,0,"Shandaral Hunter Spirit - Combat - Cast 'Aimed Shot'"), +(@ENTRY,0,2,0,0,0,100,0,9000,15000,15000,22000,11,47168,0,0,0,0,0,5,0,0,0,0,0,0,0,"Shandaral Hunter Spirit - Combat - Cast 'Improved Wing Clip'"); + +-- Unbound Corrupter SAI +SET @ENTRY := 30868; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,5400,11,38204,64,0,0,0,0,2,0,0,0,0,0,0,0,"Unbound Corrupter - Combat CMC - Cast 'Arcane Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,20000,30000,45000,60000,11,58667,1,0,0,0,0,2,0,0,0,0,0,0,0,"Unbound Corrupter - Combat - Cast 'Ley Curse'"), +(@ENTRY,0,2,0,2,0,100,0,0,30,30000,35000,11,58270,1,0,0,0,0,1,0,0,0,0,0,0,0,"Unbound Corrupter - 0-30% Health - Cast 'Transferred Power'"); + +-- Portal Keeper SAI +SET @ENTRY := 30893; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,45,6000,8000,11,58536,64,0,0,0,0,2,0,0,0,0,0,0,0,"Portal Keeper - Combat CMC - Cast 'Arcane Volley' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,45,6000,8000,11,61591,64,0,0,0,0,2,0,0,0,0,0,0,0,"Portal Keeper - Combat CMC - Cast 'Arcane Volley' (Heroic Dungeon)"), +(@ENTRY,0,2,0,9,0,100,2,0,45,13000,19000,11,58535,0,0,0,0,0,5,0,0,0,0,0,0,0,"Portal Keeper - 0-45 Range - Cast 'Frostbolt' (Normal Dungeon)"), +(@ENTRY,0,3,0,9,0,100,4,0,45,13000,19000,11,61590,0,0,0,0,0,5,0,0,0,0,0,0,0,"Portal Keeper - 0-45 Range - Cast 'Frostbolt' (Heroic Dungeon)"), +(@ENTRY,0,4,0,0,0,100,6,0,8,9000,14000,11,58537,1,0,0,0,0,6,0,0,0,0,0,0,0,"Portal Keeper - Combat - Cast 'Polymorph' (Dungeon)"); + +-- Azure Binder SAI +SET @ENTRY := 31007; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,6,0,0,3400,4800,11,58456,64,0,0,0,0,2,0,0,0,0,0,0,0,"Azure Binder - Combat CMC - Cast 'Arcane Barrage' (Dungeon)"), +(@ENTRY,0,1,0,9,0,100,2,0,8,9000,15000,11,58455,1,0,0,0,0,1,0,0,0,0,0,0,0,"Azure Binder - 0-8 Range - Cast 'Arcane Explosion' (Normal Dungeon)"), +(@ENTRY,0,2,0,9,0,100,4,0,8,9000,15000,11,59257,1,0,0,0,0,1,0,0,0,0,0,0,0,"Azure Binder - 0-8 Range - Cast 'Arcane Blast' (Heroic Dungeon)"); +-- Spirit of Koosu SAI +SET @ENTRY := 29034; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3500,4100,11,21971,64,0,0,0,0,2,0,0,0,0,0,0,0,"Spirit of Koosu - Combat CMC - Cast 'Poison Bolt'"); + +-- Anub'ar Necromancer SAI +SET @ENTRY := 29064; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,6,0,0,4000,6000,11,53333,64,0,0,0,0,2,0,0,0,0,0,0,0,"Anub'ar Necromancer - Combat CMC - Cast 'Shadow Bolt' (Dungeon)"), +(@ENTRY,0,1,0,0,0,100,6,14000,17000,23000,27000,11,53334,1,0,0,0,0,1,0,0,0,0,0,0,0,"Anub'ar Necromancer - Combat - Cast 'Animate Bones' (Dungeon)"); + +-- Anub'ar Necromancer SAI +SET @ENTRY := 29098; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,6,0,0,4000,6000,11,53333,64,0,0,0,0,2,0,0,0,0,0,0,0,"Anub'ar Necromancer - Combat CMC - Cast 'Shadow Bolt' (Dungeon)"), +(@ENTRY,0,1,0,0,0,100,6,14000,17000,23000,27000,11,53334,1,0,0,0,0,1,0,0,0,0,0,0,0,"Anub'ar Necromancer - Combat - Cast 'Animate Bones' (Dungeon)"); + + +-- Anub'ar Prime Guard SAI +SET @ENTRY := 29128; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,10000,13000,11,54309,64,0,0,0,0,5,0,0,0,0,0,0,0,"Anub'ar Prime Guard - Combat CMC - Cast 'Mark of Darkness' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,10000,13000,11,59352,64,0,0,0,0,5,0,0,0,0,0,0,0,"Anub'ar Prime Guard - Combat CMC - Cast 'Mark of Darkness' (Heroic Dungeon)"), +(@ENTRY,0,2,0,9,0,100,7,0,5,0,0,11,54314,33,0,0,0,0,1,0,0,0,0,0,0,0,"Anub'ar Prime Guard - 0-5 Range - Cast 'Drain Power' (No Repeat) (Dungeon)"); + + +-- Lost Drakkari Spirit SAI +SET @ENTRY := 29129; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,23,0,100,0,17327,0,2000,2000,11,17327,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lost Drakkari Spirit - On Has Aura 'Spirit Particles' - Cast 'Spirit Particles'"), +(@ENTRY,0,1,0,0,0,100,0,0,0,1500,1500,11,37361,65,0,0,0,0,2,0,0,0,0,0,0,0,"Lost Drakkari Spirit - Combat CMC - Cast 'Arcane Bolt'"), +(@ENTRY,0,2,0,0,0,100,0,10000,16000,15000,18000,11,24050,1,0,0,0,0,2,0,0,0,0,0,0,0,"Lost Drakkari Spirit - In Combat - Cast 'Spirit Burst'"); + +-- Onslaught Harbor Guard SAI +SET @ENTRY := 29330; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Onslaught Harbor Guard - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,0,0,100,0,8000,8000,12000,14000,11,50750,0,0,0,0,0,1,0,0,0,0,0,0,0,"Onslaught Harbor Guard - Combat - Cast 'Raven Heal'"); + +-- Sifreldar Runekeeper SAI +SET @ENTRY := 29331; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,20792,64,0,0,0,0,2,0,0,0,0,0,0,0,"Sifreldar Runekeeper - Combat CMC - Cast 'Frostbolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,30,15000,22000,11,52714,1,0,0,0,0,1,0,0,0,0,0,0,0,"Sifreldar Runekeeper - 0-30% Health - Cast 'Revitalizing Rune' (No Repeat)"); + +-- Onslaught Raven Bishop SAI +SET @ENTRY := 29338; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,50740,64,0,0,0,0,2,0,0,0,0,0,0,0,"Onslaught Raven Bishop - Combat CMC - Cast 'Raven Flock'"), +(@ENTRY,0,1,0,2,0,100,1,10,50,2000,8000,11,50750,0,0,0,0,0,2,0,0,0,0,0,0,0,"Onslaught Raven Bishop - 10-50% Health - Cast 'Raven Heal' (No Repeat)"); + +-- Savage Hill Scavenger SAI +SET @ENTRY := 29404; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,5000,8000,11,50403,64,0,0,0,0,5,0,0,0,0,0,0,0,"Savage Hill Scavenger - Combat CMC - Cast 'Bone Toss'"); + +-- Savage Hill Mystic SAI +SET @ENTRY := 29622; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,4400,5800,11,50273,64,0,0,0,0,2,0,0,0,0,0,0,0,"Savage Hill Mystic - Combat CMC - Cast 'Arcane Barrage'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Savage Hill Mystic - 0-15% Health - Flee For Assist"); + +-- Stormforged Tracker SAI +SET @ENTRY := 29652; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Stormforged Tracker - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,0,0,100,0,9000,12000,9000,12000,11,46982,1,0,0,0,0,5,0,0,0,0,0,0,0,"Stormforged Tracker - Combat - Cast 'Lightning Gun Shot'"); + +-- Spitting Cobra SAI +SET @ENTRY := 29774; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,12000,15000,11,32860,64,0,0,0,0,2,0,0,0,0,0,0,0,"Spitting Cobra - Combat CMC - Cast 'Shadow Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,12000,15000,11,38378,64,0,0,0,0,2,0,0,0,0,0,0,0,"Spitting Cobra - Combat CMC - Cast 'Shadow Bolt' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,5000,10000,17000,20000,11,55703,64,0,0,0,0,2,0,0,0,0,0,0,0,"Spitting Cobra - Combat CMC - Cast 'Cobra Strike' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,5000,10000,17000,20000,11,59020,64,0,0,0,0,2,0,0,0,0,0,0,0,"Spitting Cobra - Combat CMC - Cast 'Cobra Strike' (Heroic Dungeon)"); + +-- Drakkari God Hunter SAI +SET @ENTRY := 29820; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,2300,5000,11,35946,64,0,0,0,0,2,0,0,0,0,0,0,0,"Drakkari God Hunter - Combat CMC - Cast 'Shoot' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,2300,5000,11,59146,64,0,0,0,0,2,0,0,0,0,0,0,0,"Drakkari God Hunter - Combat CMC - Cast 'Shoot' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,7000,10000,12000,15000,11,55624,1,0,0,0,0,5,0,0,0,0,0,0,0,"Drakkari God Hunter - Combat - Cast 'Arcane Shot' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,7000,10000,12000,15000,11,58973,1,0,0,0,0,5,0,0,0,0,0,0,0,"Drakkari God Hunter - Combat - Cast 'Arcane Shot' (Heroic Dungeon)"), +(@ENTRY,0,4,0,0,0,100,6,3000,5000,33000,37000,11,55798,1,0,0,0,0,1,0,0,0,0,0,0,0,"Drakkari God Hunter - Combat - Cast 'Flare' (Dungeon)"), +(@ENTRY,0,5,0,0,0,100,6,18000,21000,19000,23000,11,55625,0,0,0,0,0,5,0,0,0,0,0,0,0,"Drakkari God Hunter - Combat - Cast 'Tranquillizing Shot' (Dungeon)"), +(@ENTRY,0,6,0,2,0,100,6,0,30,12000,15000,11,31567,1,0,0,0,0,1,0,0,0,0,0,0,0,"Drakkari God Hunter - 0-30% Health - Cast 'Deterrence' (Dungeon)"); + +-- Drakkari Fire Weaver SAI +SET @ENTRY := 29822; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,8000,9000,11,55659,64,0,0,0,0,2,0,0,0,0,0,0,0,"Drakkari Fire Weaver - Combat CMC - Cast 'Lava Burst' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,8000,9000,11,58972,64,0,0,0,0,2,0,0,0,0,0,0,0,"Drakkari Fire Weaver - Combat CMC - Cast 'Lava Burst' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,4000,7000,12000,15000,11,55613,65,0,0,0,0,5,0,0,0,0,0,0,0,"Drakkari Fire Weaver - Combat CMC - Cast 'Flame Shock' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,4000,7000,10000,14000,11,58971,65,0,0,0,0,5,0,0,0,0,0,0,0,"Drakkari Fire Weaver - Combat CMC - Cast 'Flame Shock' (Heroic Dungeon)"), +(@ENTRY,0,4,0,9,0,100,6,0,5,10000,16000,11,61362,1,0,0,0,0,1,0,0,0,0,0,0,0,"Drakkari Fire Weaver - 0-5 Range - Cast 'Blast Wave' (Dungeon)"); + +-- Drakkari Battle Rider SAI +SET @ENTRY := 29836; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,5000,7000,11,55348,64,0,0,0,0,2,0,0,0,0,0,0,0,"Drakkari Battle Rider - Combat CMC - Cast 'Throw' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,5000,7000,11,58966,64,0,0,0,0,2,0,0,0,0,0,0,0,"Drakkari Battle Rider - Combat CMC - Cast 'Throw' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,12000,15000,16000,22000,11,55521,33,0,0,0,0,6,0,0,0,0,0,0,0,"Drakkari Battle Rider - Combat - Cast 'Poisoned Spear' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,12000,15000,16000,22000,11,58967,33,0,0,0,0,6,0,0,0,0,0,0,0,"Drakkari Battle Rider - Combat - Cast 'Poisoned Spear' (Heroic Dungeon)"); + +-- Mildred the Cruel SAI +SET @ENTRY := 29885; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,30,3400,4800,11,15587,64,0,0,0,0,2,0,0,0,0,0,0,0,"Mildred the Cruel - Combat CMC - Cast 'Mind Blast'"), +(@ENTRY,0,1,0,0,0,100,0,7000,11000,12000,15000,11,14032,0,0,0,0,0,5,0,0,0,0,0,0,0,"Mildred the Cruel - Combat - Cast 'Shadow Word: Pain'"), +(@ENTRY,0,2,0,2,0,100,0,0,15,10000,15000,11,47697,1,0,0,0,0,5,0,0,0,0,0,0,0,"Mildred the Cruel - 0-15% Health - Cast 'Shadow Word: Death'"); + +-- K3 Bruiser SAI +SET @ENTRY := 29910; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,1,0,20,11000,16000,11,12024,1,0,0,0,0,2,0,0,0,0,0,0,0,"K3 Bruiser - Within 0-20 Range - Cast 'Net' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,0,0,2300,3900,11,23337,64,0,0,0,0,2,0,0,0,0,0,0,0,"K3 Bruiser - Combat CMC - Cast 'Shoot'"); + +-- Earthen Stoneguard SAI +SET @ENTRY := 29960; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,1,0,20,11000,16000,11,12024,1,0,0,0,0,2,0,0,0,0,0,0,0,"Earthen Stoneguard - Within 0-20 Range - Cast 'Net' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,0,0,2300,3900,11,23337,64,0,0,0,0,2,0,0,0,0,0,0,0,"Earthen Stoneguard - Combat CMC - Cast 'Shoot'"); + +-- Iron Dwarf Magus SAI +SET @ENTRY := 29979; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,30,3400,4800,11,12058,64,0,0,0,0,2,0,0,0,0,0,0,0,"Iron Dwarf Magus - Combat CMC - Cast 'Chain Lightning'"); +-- Wastes Scavenger SAI +SET @ENTRY := 28005; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3000,5000,11,50403,64,0,0,0,0,2,0,0,0,0,0,0,0,"Wastes Scavenger - Combat CMC - Cast 'Bone Toss'"), +(@ENTRY,0,1,0,8,0,100,0,50430,0,0,0,80,2800500,2,0,0,0,0,1,0,0,0,0,0,0,0,"Wastes Scavenger - On spellhit Devour Ghoul - Run script"); + +-- Emperor Cobra SAI +SET @ENTRY := 28011; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,32093,32,0,0,0,0,2,0,0,0,0,0,0,0,"Emperor Cobra - Combat CMC - Cast 'Poison Spit'"); + +-- Rainspeaker Oracle SAI +SET @ENTRY := 28025; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,6000,8000,11,15305,64,0,0,0,0,2,0,0,0,0,0,0,0,"Rainspeaker Oracle - Combat CMC - Cast 'Chain Lightning'"), +(@ENTRY,0,1,0,0,0,100,0,3000,6000,12000,15000,11,54919,1,0,0,0,0,5,0,0,0,0,0,0,0,"Rainspeaker Oracle - Combat - Cast 'Warped Armor'"); + +-- Frenzyheart Tracker SAI +SET @ENTRY := 28077; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,54,0,100,0,0,0,0,0,66,0,0,0,0,0,0,21,50,0,0,0,0,0,0,"Frenzyheart Tracker - On Just Summoned - Set Orientation"), +(@ENTRY,0,1,2,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Frenzyheart Tracker - On Just Summoned - Say Line 1"), +(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,41,8000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Frenzyheart Tracker - On Just Summoned - Despawn After 8 seconds"), +(@ENTRY,0,3,0,0,0,100,0,0,0,3000,5000,11,22907,64,0,0,0,0,2,0,0,0,0,0,0,0,"Frenzyheart Tracker - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,4,0,0,0,100,0,10000,14000,60000,65000,11,53432,1,0,0,0,0,1,0,0,0,0,0,0,0,"Frenzyheart Tracker - Combat - Cast 'Bear Trap'"); + +-- Frenzyheart Hunter SAI +SET @ENTRY := 28079; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,15547,64,0,0,0,0,2,0,0,0,0,0,0,0,"Frenzyheart Hunter - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,0,0,100,0,8000,11000,12000,15000,11,52270,1,0,0,0,0,5,0,0,0,0,0,0,0,"Frenzyheart Hunter - Combat - Cast 'Multi-Shot'"); + +-- Frenzyheart Scavenger SAI +SET @ENTRY := 28081; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,54617,64,0,0,0,0,2,0,0,0,0,0,0,0,"Frenzyheart Scavenger - Combat CMC - Cast 'Throw Spear'"); + +-- Sparktouched Oracle SAI +SET @ENTRY := 28112; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,54916,64,0,0,0,0,2,0,0,0,0,0,0,0,"Sparktouched Oracle - Combat CMC - Cast 'Lightning Burst'"), +(@ENTRY,0,1,0,9,0,100,0,0,30,9000,12000,11,12549,1,0,0,0,0,2,0,0,0,0,0,0,0,"Sparktouched Oracle - Within 0-30 Range - Cast 'Forked Lightning'"); + +-- Don Carlos SAI +SET @ENTRY := 28132; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,7,1000,1000,0,0,11,50736,1,0,0,0,0,1,0,0,0,0,0,0,0,"Don Carlos - Out of Combat - Cast 'Summon Guerrero' (No Repeat) (Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,0,0,2300,5000,11,16100,64,0,0,0,0,2,0,0,0,0,0,0,0,"Don Carlos - Combat CMC - Cast 'Shoot' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,4,0,0,2300,5000,11,16496,64,0,0,0,0,2,0,0,0,0,0,0,0,"Don Carlos - Combat CMC - Cast 'Shoot' (Heroic Dungeon)"), +(@ENTRY,0,3,0,0,0,100,2,9000,14000,22000,26000,11,12024,1,0,0,0,0,5,0,0,0,0,0,0,0,"Don Carlos - In Combat - Cast 'Net' (Normal Dungeon)"), +(@ENTRY,0,4,0,0,0,100,4,9000,14000,22000,26000,11,50762,1,0,0,0,0,5,0,0,0,0,0,0,0,"Don Carlos - In Combat - Cast 'Net' (Heroic Dungeon)"); + +-- Snowflake SAI +SET @ENTRY := 28153; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,50721,64,0,0,0,0,2,0,0,0,0,0,0,0,"Snowflake - Combat CMC - Cast 'Frostbolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,3400,4800,11,59280,64,0,0,0,0,2,0,0,0,0,0,0,0,"Snowflake - Combat CMC - Cast 'Frostbolt' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,7,5000,9000,0,0,11,44604,0,0,0,0,0,1,0,0,0,0,0,0,0,"Snowflake - In Combat - Cast 'Enchantment of Spell Haste' (No Repeat) (Dungeon)"); + +-- Dark Necromancer SAI +SET @ENTRY := 28200; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,5000,7000,11,15537,64,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Necromancer - Combat CMC - Cast 'Shadow Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,5000,7000,11,61558,64,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Necromancer - Combat CMC - Cast 'Shadow Bolt' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,7000,11000,21000,25000,11,20812,1,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Necromancer - Combat - Cast 'Cripple' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,7000,11000,21000,25000,11,52498,1,0,0,0,0,2,0,0,0,0,0,0,0,"Dark Necromancer - Combat - Cast 'Cripple' (Heroic Dungeon)"), +(@ENTRY,0,4,0,0,0,100,2,14000,18000,15000,21000,11,58772,1,0,0,0,0,6,0,0,0,0,0,0,0,"Dark Necromancer - Combat - Cast 'Drain Mana' (Normal Dungeon)"), +(@ENTRY,0,5,0,0,0,100,4,14000,18000,15000,21000,11,58770,1,0,0,0,0,6,0,0,0,0,0,0,0,"Dark Necromancer - Combat - Cast 'Drain Mana' (Heroic Dungeon)"); + +-- Drakkari Water Binder SAI +SET @ENTRY := 28303; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Drakkari Water Binder - Combat CMC - Cast 'Lightning Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,8000,16000,25000,30000,11,54399,1,0,0,0,0,2,0,0,0,0,0,0,0,"Drakkari Water Binder - Combat - Cast 'Water Bubble'"); + +-- Ymirjar Necromancer SAI +SET @ENTRY := 28368; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,5000,7000,11,51432,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ymirjar Necromancer - Combat CMC - Cast 'Shadow Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,5000,7000,11,59254,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ymirjar Necromancer - Combat CMC - Cast 'Shadow Bolt' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,9000,14000,18000,22000,11,49205,0,0,0,0,0,5,0,0,0,0,0,0,0,"Ymirjar Necromancer - Combat - Cast 'Shadow Bolt Volley' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,4,9000,14000,18000,22000,11,59255,0,0,0,0,0,5,0,0,0,0,0,0,0,"Ymirjar Necromancer - Combat - Cast 'Shadow Bolt Volley' (Heroic Dungeon)"); + +-- Har'koan Subduer SAI +SET @ENTRY := 28403; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,2000,20000,40000,60000,80,2840300,2,0,0,0,0,1,0,0,0,0,0,0,0,"Har'koan Subduer - Out of Combat - Run Script"), +(@ENTRY,0,1,0,0,0,100,0,0,0,2800,3500,11,20822,64,0,0,0,0,2,0,0,0,0,0,0,0,"Har'koan Subduer - Combat CMC - Cast 'Frostbolt'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Har'koan Subduer - 0-15% Health - Flee For Assist (No Repeat)"); + +-- Dragonflayer Spiritualist SAI +SET @ENTRY := 28410; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,6,0,0,2400,3800,11,51587,64,0,0,0,0,2,0,0,0,0,0,0,0,"Dragonflayer Spiritualist - Combat CMC - Cast 'Lightning Bolt' (Dungeon)"), +(@ENTRY,0,1,0,0,0,100,6,1500,4000,8000,10000,11,51588,1,0,0,0,0,2,0,0,0,0,0,0,0,"Dragonflayer Spiritualist - Combat - Cast 'Flame Shock' (Dungeon)"), +(@ENTRY,0,2,0,14,0,100,6,7000,100,7000,7000,11,51586,1,0,0,0,0,7,0,0,0,0,0,0,0,"Dragonflayer Spiritualist - Friendly At 7000 Health - Cast 'Healing Wave' (Dungeon)"); + +-- Hath'ar Broodmaster SAI +SET @ENTRY := 28412; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,9613,64,0,0,0,0,2,0,0,0,0,0,0,0,"Hath'ar Broodmaster - Combat CMC - Cast 'Shadow Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,3000,5000,15000,25000,11,54453,1,0,0,0,0,2,0,0,0,0,0,0,0,"Hath'ar Broodmaster - Combat - Cast 'Web Wrap'"); + +-- Hemet Nesingwary SAI +SET @ENTRY := 28451; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,51742,64,0,0,0,0,2,0,0,0,0,0,0,0,"Hemet Nesingwary - Combat CMC - Cast 'Arcane Shot'"); + +-- Storming Vortex SAI +SET @ENTRY := 28547; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,53044,64,0,0,0,0,2,0,0,0,0,0,0,0,"Storming Vortex - Combat CMC - Cast 'Lightning Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,3400,4800,11,59169,64,0,0,0,0,2,0,0,0,0,0,0,0,"Storming Vortex - Combat CMC - Cast 'Lightning Bolt' (Heroic Dungeon)"), +(@ENTRY,0,2,0,9,0,100,6,0,5,9000,18000,11,60236,0,0,0,0,0,6,0,0,0,0,0,0,0,"Storming Vortex - Within 0-5 Range - Cast 'Cyclone' (Dungeon)"); + +-- Hardened Steel Skycaller SAI +SET @ENTRY := 28580; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,2300,5000,11,16100,64,0,0,0,0,2,0,0,0,0,0,0,0,"Hardened Steel Skycaller - Combat CMC - Cast 'Shoot' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,4,0,0,2300,5000,11,61515,64,0,0,0,0,2,0,0,0,0,0,0,0,"Hardened Steel Skycaller - Combat CMC - Cast 'Shoot' (Heroic Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,9000,12000,15000,20000,11,52754,0,0,0,0,0,5,0,0,0,0,0,0,0,"Hardened Steel Skycaller - Combat - Cast 'Impact Shot' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,2,7000,12000,12000,18000,11,52775,0,0,0,0,0,5,0,0,0,0,0,0,0,"Hardened Steel Skycaller - Combat - Cast 'Impact Multi-Shot' (Normal Dungeon)"), +(@ENTRY,0,4,0,0,0,100,4,9000,12000,15000,20000,11,59148,0,0,0,0,0,5,0,0,0,0,0,0,0,"Hardened Steel Skycaller - Combat - Cast 'Impact Shot' (Heroic Dungeon)"), +(@ENTRY,0,5,0,0,0,100,4,7000,12000,12000,18000,11,59147,0,0,0,0,0,5,0,0,0,0,0,0,0,"Hardened Steel Skycaller - Combat - Cast 'Impact Multi-Shot' (Heroic Dungeon)"), +(@ENTRY,0,6,0,9,0,100,6,0,5,6000,9000,11,61507,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hardened Steel Skycaller - 0-5 Range - Cast 'Disengage' (Dungeon)"); + +-- Titanium Vanguard SAI +SET @ENTRY := 28838; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,3,0,0,0,0,11,53059,0,0,0,0,0,2,0,0,0,0,0,0,0,"Titanium Vanguard - On Aggro - Cast 'Poison Tipped Spear' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,1,0,9,0,100,2,5,30,14000,21000,11,53059,0,0,0,0,0,2,0,0,0,0,0,0,0,"Titanium Vanguard - Within 5-30 Range - Cast 'Poison Tipped Spear' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,5,0,0,0,0,11,59178,0,0,0,0,0,2,0,0,0,0,0,0,0,"Titanium Vanguard - On Aggro - Cast 'Poison Tipped Spear' (No Repeat) (Heroic Dungeon)"), +(@ENTRY,0,3,0,9,0,100,4,5,30,14000,21000,11,59178,0,0,0,0,0,2,0,0,0,0,0,0,0,"Titanium Vanguard - Within 5-30 Range - Cast 'Poison Tipped Spear' (Heroic Dungeon)"), +(@ENTRY,0,4,0,0,0,100,7,4000,6000,0,0,11,58619,0,0,0,0,0,2,0,0,0,0,0,0,0,"Titanium Vanguard - In Combat - Cast 'Charge' (No Repeat) (Dungeon)"), +(@ENTRY,0,5,0,0,0,100,6,12000,15000,12000,15000,11,58619,0,0,0,0,0,6,0,0,0,0,0,0,0,"Titanium Vanguard - In Combat - Cast 'Charge' (Dungeon)"); +-- Prince Raze SAI +SET @ENTRY := 10647; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,4700,5800,11,9053,64,0,0,0,0,2,0,0,0,0,0,0,0,"Prince Raze - Combat CMC - Cast 'Fireball'"), +(@ENTRY,0,1,0,9,0,100,0,0,40,13000,16000,11,16570,1,0,0,0,0,5,0,0,0,0,0,0,0,"Prince Raze - 0-40 Range - Cast 'Charged Arcane Bolt'"), +(@ENTRY,0,2,0,9,0,100,0,0,8,12000,18000,11,11969,1,0,0,0,0,1,0,0,0,0,0,0,0,"Prince Raze - 0-8 Range - Cast 'Fire Nova'"), +(@ENTRY,0,3,4,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Prince Raze - 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,4,0,61,0,100,0,0,0,0,0,11,6925,1,0,0,0,0,1,0,0,0,0,0,0,0,"Prince Raze - 0-15% Health - Cast 'Gift of the Xavian' (No Repeat)"); + +-- Summoned Blackhand Dreadweaver SAI +SET @ENTRY := 10680; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,3,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Summoned Blackhand Dreadweaver - Out of Combat - Say Line 0 (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,0,0,2400,6400,11,12739,64,0,0,0,0,2,0,0,0,0,0,0,0,"Summoned Blackhand Dreadweaver - Combat CMC - Cast 'Shadow Bolt' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,14500,19200,27600,39600,11,7068,0,0,0,0,0,2,0,0,0,0,0,0,0,"Summoned Blackhand Dreadweaver - Combat - Cast 'Veil of Shadow' (Normal Dungeon)"), +(@ENTRY,0,3,0,2,0,100,3,0,15,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Summoned Blackhand Dreadweaver - Between 0-15% Health - Flee For Assist (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,4,0,1,0,100,2,10000,10000,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Summoned Blackhand Dreadweaver - Out of Combat - Kill Self (No Repeat) (Normal Dungeon)"); + +-- Duggan Wildhammer SAI +SET @ENTRY := 10817; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,15547,64,0,0,0,0,2,0,0,0,0,0,0,0,"Duggan Wildhammer - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,6000,9000,11,15284,1,0,0,0,0,2,0,0,0,0,0,0,0,"Duggan Wildhammer - 0-5 Range - Cast 'Cleave'"), +(@ENTRY,0,2,0,2,0,100,0,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Duggan Wildhammer - 0-15% Health - Flee For Assist"); + +-- Death-Hunter Hawkspear SAI +SET @ENTRY := 10824; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,5,2300,3900,11,12057,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ranger Lord Hawkspear - 0-5 Range - Cast 'Strike'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,7000,9000,11,11978,1,0,0,0,0,2,0,0,0,0,0,0,0,"Ranger Lord Hawkspear - 0-5 Range - Cast 'Kick'"); + +-- Deathspeaker Selendre SAI +SET @ENTRY := 10827; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3000,5000,11,12471,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deathspeaker Selendre - Combat CMC - Cast 'Shadow Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,3000,5000,15000,18000,11,12889,1,0,0,0,0,2,0,0,0,0,0,0,0,"Deathspeaker Selendre - Combat - Cast 'Curse of Tongues'"), +(@ENTRY,0,2,0,2,0,100,0,0,30,12000,19000,11,17238,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathspeaker Selendre - 0-30% Health - Cast 'Drain Life'"); + +-- Risen Rifleman SAI +SET @ENTRY := 11054; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,2300,3900,11,17353,64,0,0,0,0,2,0,0,0,0,0,0,0,"Crimson Rifleman - Combat CMC - Cast 'Shoot' (Normal Dungeon)"); + +-- Ragefire Shaman SAI +SET @ENTRY := 11319; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,2400,3800,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ragefire Shaman - Combat CMC - Cast 'Lightning Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,74,0,100,3,0,40,30000,35000,11,11986,1,0,0,0,0,9,0,0,0,0,0,0,0,"Ragefire Shaman - On Friendly Between 0-40% Health - Cast 'Healing Wave' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,2,0,2,0,100,3,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ragefire Shaman - Between 0-15% Health - Flee For Assist (No Repeat) (Normal Dungeon)"); + +-- Searing Blade Warlock SAI +SET @ENTRY := 11324; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,3,1000,1000,0,0,11,12746,0,0,0,0,0,1,0,0,0,0,0,0,0,"Searing Blade Warlock - Out of Combat - Cast 'Summon Voidwalker' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,0,0,3400,6500,11,20791,64,0,0,0,0,2,0,0,0,0,0,0,0,"Searing Blade Warlock - Combat CMC - Cast 'Shadow Bolt' (Normal Dungeon)"), +(@ENTRY,0,2,0,2,0,100,3,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Searing Blade Warlock - Between 0-15% Health - Flee For Assist (No Repeat) (Normal Dungeon)"); + +-- Gordok Ogre-Mage SAI +SET @ENTRY := 11443; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,20,1,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Gordok Ogre-Mage - On Aggro - Say Line 0 (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,0,0,2400,3800,11,20823,64,0,0,0,0,2,0,0,0,0,0,0,0,"Gordok Ogre-Mage - Combat CMC - Cast 'Fireball'"), +(@ENTRY,0,2,0,0,0,100,0,5000,12000,35000,45000,11,6742,1,0,0,0,0,1,0,0,0,0,0,0,0,"Gordok Ogre-Mage - Combat - Cast 'Bloodlust'"), +(@ENTRY,0,3,0,4,0,20,3,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Gordok Ogre-Mage - On Aggro - Say Line 0 (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,4,0,0,0,100,2,0,0,2400,3800,11,20823,64,0,0,0,0,2,0,0,0,0,0,0,0,"Gordok Ogre-Mage - Combat CMC - Cast 'Fireball' (Normal Dungeon)"), +(@ENTRY,0,5,0,0,0,100,2,5000,12000,35000,45000,11,6742,1,0,0,0,0,1,0,0,0,0,0,0,0,"Gordok Ogre-Mage - Combat - Cast 'Bloodlust' (Normal Dungeon)"); + +-- Gordok Mage-Lord SAI +SET @ENTRY := 11444; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,20,3,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Gordok Mage-Lord - On Aggro - Say Line 0 (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,0,0,2400,3800,11,15530,64,0,0,0,0,2,0,0,0,0,0,0,0,"Gordok Mage-Lord - Combat CMC - Cast 'Frostbolt' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,7000,14000,12000,15000,11,14145,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gordok Mage-Lord - Combat - Cast 'Fire Blast' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,2,12000,17000,19000,25000,11,16102,0,0,0,0,0,5,0,0,0,0,0,0,0,"Gordok Mage-Lord - Combat - Cast 'Flamestrike' (Normal Dungeon)"), +(@ENTRY,0,4,0,0,0,100,2,7000,9000,16000,20000,11,13323,1,0,0,0,0,6,0,0,0,0,0,0,0,"Gordok Mage-Lord - Combat - Cast 'Polymorph' (Normal Dungeon)"), +(@ENTRY,0,5,6,2,0,100,3,0,30,0,0,11,16170,1,0,0,0,0,1,0,0,0,0,0,0,0,"Gordok Mage-Lord - Between 0-30% Health - Cast 'Bloodlust' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,6,0,61,0,100,3,0,30,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gordok Mage-Lord - Between 0-30% Health - Say Line 1 (No Repeat) (Normal Dungeon)"); + +-- Gordok Warlock SAI +SET @ENTRY := 11448; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,2,1000,1000,1800000,1800000,11,13787,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gordok Warlock - Out of Combat - Cast 'Demon Armor' (Normal Dungeon)"), +(@ENTRY,0,1,0,1,0,100,3,3000,3000,0,0,11,22865,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gordok Warlock - Out of Combat - Cast 'Summon Doomguard' (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,2,0,4,0,20,3,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gordok Warlock - On Aggro - Say Line 0 (No Repeat) (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,2,0,0,2400,3800,11,15232,64,0,0,0,0,2,0,0,0,0,0,0,0,"Gordok Warlock - Combat CMC - Cast 'Shadow Bolt' (Normal Dungeon)"), +(@ENTRY,0,4,0,0,0,100,2,9000,15000,26000,30000,11,17883,1,0,0,0,0,2,0,0,0,0,0,0,0,"Gordok Warlock - Combat - Cast 'Immolate' (Normal Dungeon)"), +(@ENTRY,0,5,0,0,0,100,2,5000,9000,20000,25000,11,13338,0,0,0,0,0,5,0,0,0,0,0,0,0,"Gordok Warlock - Combat - Cast 'Curse of Tongues' (Normal Dungeon)"), +(@ENTRY,0,6,0,0,0,100,2,7000,15000,20000,26000,11,8994,1,0,0,0,0,6,0,0,0,0,0,0,0,"Gordok Warlock - Combat - Cast 'Banish' (Normal Dungeon)"); + +-- Wildspawn Betrayer SAI +SET @ENTRY := 11454; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,2300,3900,11,16100,64,0,0,0,0,2,0,0,0,0,0,0,0,"Wildspawn Betrayer - Combat CMC - Cast 'Shoot' (Normal Dungeon)"), +(@ENTRY,0,1,0,9,0,100,2,5,30,7800,11400,11,18649,40,0,0,0,0,2,0,0,0,0,0,0,0,"Wildspawn Betrayer - 5-30 Range - Cast 'Shadow Shot' (Normal Dungeon)"), +(@ENTRY,0,2,0,9,0,100,2,5,30,9900,13600,11,7896,40,0,0,0,0,2,0,0,0,0,0,0,0,"Wildspawn Betrayer - 5-30 Range - Cast 'Exploding Shot' (Normal Dungeon)"), +(@ENTRY,0,3,0,9,0,100,2,0,5,6000,11000,11,11428,0,0,0,0,0,2,0,0,0,0,0,0,0,"Wildspawn Betrayer - 0-5 Range - Cast 'Knockdown' (Normal Dungeon)"), +(@ENTRY,0,4,0,2,0,100,3,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wildspawn Betrayer - Between 0-15% Health - Flee For Assist (No Repeat) (Normal Dungeon)"); + +-- Wildspawn Felsworn SAI +SET @ENTRY := 11455; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,2,1000,1000,1800000,1800000,11,12542,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wildspawn Felsworn - Out of Combat - Cast 'Fear' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,0,0,2400,3800,11,15537,64,0,0,0,0,2,0,0,0,0,0,0,0,"Wildspawn Felsworn - Combat CMC - Cast 'Shadow Bolt' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,7000,12000,38000,45000,11,22417,1,0,0,0,0,1,0,0,0,0,0,0,0,"Wildspawn Felsworn - Combat - Cast 'Shadow Shield' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,1,100,2,11000,17000,23000,30000,11,15654,0,0,0,0,0,2,0,0,0,0,0,0,0,"Wildspawn Felsworn - Combat - Cast 'Shadow Word: Pain' (Normal Dungeon)"), +(@ENTRY,0,4,0,0,0,100,2,6000,10000,10000,15000,11,12542,1,0,0,0,0,5,0,0,0,0,0,0,0,"Wildspawn Felsworn - Combat - Cast 'Fear' (Normal Dungeon)"); + +-- Wildspawn Hellcaller SAI +SET @ENTRY := 11457; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,2400,3800,11,15228,64,0,0,0,0,2,0,0,0,0,0,0,0,"Wildspawn Hellcaller - Combat CMC - Cast 'Fireball' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,8000,14000,18000,25000,11,20754,3,0,0,0,0,2,0,0,0,0,0,0,0,"Wildspawn Hellcaller - Combat - Cast 'Rain of Fire' (Normal Dungeon)"), +(@ENTRY,0,2,0,2,0,100,3,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wildspawn Hellcaller - 0-15% Health - Flee For Assist (No Repeat) (Normal Dungeon)"); + +-- Highborne Summoner SAI +SET @ENTRY := 11466; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,2400,3800,11,12466,64,0,0,0,0,2,0,0,0,0,0,0,0,"Highborne Summoner - Combat CMC - Cast 'Fireball' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,8000,11000,9000,12000,11,13341,0,0,0,0,0,5,0,0,0,0,0,0,0,"Highborne Summoner - Combat - Cast 'Fire Blast' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,12000,16000,18000,22000,11,15063,1,0,0,0,0,1,0,0,0,0,0,0,0,"Highborne Summoner - Combat - Cast 'Frost Nova' (Normal Dungeon)"); + +-- Eldreth Apparition SAI +SET @ENTRY := 11471; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,2,1000,1000,1800000,1800000,11,18100,1,0,0,0,0,1,0,0,0,0,0,0,0,"Eldreth Apparition - Out of Combat - Cast 'Frost Armor' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,0,0,2400,3800,11,16799,64,0,0,0,0,2,0,0,0,0,0,0,0,"Eldreth Apparition - Combat CMC - Cast 'Frostbolt' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,7000,12000,20000,27500,11,22744,1,0,0,0,0,6,0,0,0,0,0,0,0,"Eldreth Apparition - Combat - Cast 'Chains of Ice' (Normal Dungeon)"), +(@ENTRY,0,3,0,0,0,100,2,11000,14000,20000,30000,11,15244,1,0,0,0,0,2,0,0,0,0,0,0,0,"Eldreth Apparition - Combat - Cast 'Cone of Cold' (Normal Dungeon)"); + +-- Irondeep Shaman SAI +SET @ENTRY := 11600; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,15801,64,0,0,0,0,2,0,0,0,0,0,0,0,"Irondeep Shaman - Combat CMC - Cast 'Lightning Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,7000,9000,55000,65000,11,15786,1,0,0,0,0,1,0,0,0,0,0,0,0,"Irondeep Shaman - Combat - Cast 'Earthbind Totem' (Normal Dungeon)"), +(@ENTRY,0,2,0,2,0,100,2,0,50,15000,20000,11,12492,1,0,0,0,0,1,0,0,0,0,0,0,0,"Irondeep Shaman - 0-50% Health - Cast 'Healing Wave' (Normal Dungeon)"), +(@ENTRY,0,3,0,2,0,100,3,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Irondeep Shaman - 0-15% Health - Flee For Assist (No Repeat) (Normal Dungeon)"); + +-- Whitewhisker Geomancer SAI +SET @ENTRY := 11604; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,15228,64,0,0,0,0,2,0,0,0,0,0,0,0,"Whitewhisker Geomancer - Combat CMC - Cast 'Fireball' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,500,1000,600000,600000,11,18968,1,0,0,0,0,1,0,0,0,0,0,0,0,"Whitewhisker Geomancer - Combat - Cast 'Fire Shield' (Normal Dungeon)"), +(@ENTRY,0,2,0,2,0,100,3,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Whitewhisker Geomancer - 0-15% Health - Flee For Assist (No Repeat) (Normal Dungeon)"); + +-- Morloch SAI +SET @ENTRY := 11657; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,15537,64,0,0,0,0,2,0,0,0,0,0,0,0,"Morloch - Combat CMC - Cast 'Shadow Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,6000,9000,120000,130000,11,12741,1,0,0,0,0,2,0,0,0,0,0,0,0,"Morloch - Combat - Cast 'Curse of Weakness' (Normal Dungeon)"), +(@ENTRY,0,2,0,0,0,100,2,11000,14000,9000,15000,11,17228,0,0,0,0,0,2,0,0,0,0,0,0,0,"Morloch - Combat - Cast 'Shadow Bolt Volley' (Normal Dungeon)"); + +-- Snowblind Windcaller SAI +SET @ENTRY := 11675; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Snowblind Windcaller - Combat CMC - Cast 'Lightning Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,5000,8000,12000,16000,11,9532,1,0,0,0,0,6,0,0,0,0,0,0,0,"Snowblind Windcaller - Combat - Cast 'Lightning Bolt' (Normal Dungeon)"); + +-- Horde Scout SAI +SET @ENTRY := 11680; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,15,1,0,0,0,0,1,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Horde Scout - On Aggro - Say Line 0 (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Scout - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,2,0,9,0,100,0,5,30,12000,15000,11,18545,0,0,0,0,0,2,0,0,0,0,0,0,0,"Horde Scout - Within 5-30 Range - Cast 'Scorpid Sting'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Horde Scout - 0-15% Health - Flee For Assist (No Repeat)"); + +-- Warsong Shaman SAI +SET @ENTRY := 11683; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,20805,64,0,0,0,0,2,0,0,0,0,0,0,0,"Warsong Shaman - Combat CMC - Cast 'Lightning Bolt'"), +(@ENTRY,0,1,0,2,0,100,0,0,30,30000,35000,11,6742,1,0,0,0,0,1,0,0,0,0,0,0,0,"Warsong Shaman - 0-30% Health - Cast 'Bloodlust'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warsong Shaman - 0-15% Health - Flee For Assist (No Repeat)"); + +-- Wildpaw Mystic SAI +SET @ENTRY := 11838; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,3400,4800,11,37361,64,0,0,0,0,2,0,0,0,0,0,0,0,"Wildpaw Mystic - Combat CMC - Cast 'Arcane Bolt' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,6000,9000,16000,19000,11,12058,1,0,0,0,0,2,0,0,0,0,0,0,0,"Wildpaw Mystic - Combat - Cast 'Chain Lightning' (Normal Dungeon)"), +(@ENTRY,0,2,0,2,0,100,2,0,50,12000,16000,11,11986,1,0,0,0,0,1,0,0,0,0,0,0,0,"Wildpaw Mystic - 0-50% Health - Cast 'Healing Wave' (Normal Dungeon)"); + +-- Nathanos Blightcaller SAI +SET @ENTRY := 11878; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Nathanos Blightcaller - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,0,0,100,0,4000,6000,8000,11000,11,18651,0,0,0,0,0,5,0,0,0,0,0,0,0,"Nathanos Blightcaller - Combat - Cast 'Multi-Shot'"), +(@ENTRY,0,2,0,9,0,100,0,0,5,7000,9000,11,6253,1,0,0,0,0,2,0,0,0,0,0,0,0,"Nathanos Blightcaller - 0-5 Range - Cast 'Backhand'"), +(@ENTRY,0,3,0,15,0,100,1,0,0,10,0,11,13704,1,0,0,0,0,1,0,0,0,0,0,0,0,"Nathanos Blightcaller - Friendly Crowd Controlled - Cast 'Psychic Scream'"); + +-- Lord Vyletongue SAI +SET @ENTRY := 12236; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,2,0,0,2300,3900,11,16100,64,0,0,0,0,2,0,0,0,0,0,0,0,"Lord Vyletongue - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,2,5,30,7000,9500,11,21390,1,0,0,0,0,2,0,0,0,0,0,0,0,"Lord Vyletongue - 5-30 Range - Cast 'Multi-Shot'"), +(@ENTRY,0,2,0,0,0,100,2,20000,30000,20000,30000,11,21655,1,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Vyletongue - Combat - Cast 'Blink'"), +(@ENTRY,0,3,0,0,0,100,2,8000,12000,14000,18000,11,7964,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Vyletongue - Combat - Cast 'Smoke Bomb'"); + +-- Quel'Lithien Protector SAI +SET @ENTRY := 12322; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,15547,64,0,0,0,0,2,0,0,0,0,0,0,0,"Quel'Lithien Protector - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,5000,7000,11,12057,0,0,0,0,0,2,0,0,0,0,0,0,0,"Quel'Lithien Protector - 0-5 Range - Cast 'Strike'"), +(@ENTRY,0,2,0,9,0,100,0,0,5,8000,13000,11,11978,0,0,0,0,0,2,0,0,0,0,0,0,0,"Quel'Lithien Protector - 0-5 Range - Cast 'Kick'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Quel'Lithien Protector - 0-15% Health - Flee For Assist (No Repeat)"); + +-- Damned Soul SAI +SET @ENTRY := 12378; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4800,11,20825,64,0,0,0,0,2,0,0,0,0,0,0,0,"Damned Soul - Combat CMC - Cast 'Shadow Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,7000,9000,7000,9000,11,13748,0,0,0,0,0,2,0,0,0,0,0,0,0,"Damned Soul - Combat - Cast 'Arcane Bolt'"); + +-- Mastok Wrilehiss SAI +SET @ENTRY := 12737; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,15620,64,0,0,0,0,2,0,0,0,0,0,0,0,"Mastok Wrilehiss - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,5000,7000,11,15284,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mastok Wrilehiss - 0-5 Range - Cast 'Cleave'"), +(@ENTRY,0,2,0,0,0,100,0,9000,15000,14000,18000,11,23600,1,0,0,0,0,1,0,0,0,0,0,0,0,"Mastok Wrilehiss - Combat - Cast 'Piercing Howl'"), +(@ENTRY,0,3,4,2,0,100,0,0,30,120000,130000,11,8599,1,0,0,0,0,1,0,0,0,0,0,0,0,"Mastok Wrilehiss - 0-30% Health - Cast 'Enrage'"), +(@ENTRY,0,4,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mastok Wrilehiss - 0-30% Health - Say 0"); + +DELETE FROM `creature_text` WHERE `entry` IN (12737); +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`BroadcastTextId`,`comment`) VALUES +(12737,0,0,'$s becomes enraged!',16,0,100,0,0,0,24144,'Mastok Wrilehiss enrage at 30%'); + +-- Ashenvale Outrunner SAI +SET @ENTRY := 12856; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ashenvale Outrunner - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,5,30,35900,52300,11,18545,1,0,0,0,0,2,0,0,0,0,0,0,0,"Ashenvale Outrunner - Within 5-30 Range - Cast 'Scorpid Sting'"), +(@ENTRY,0,2,0,9,0,100,0,0,5,7100,15300,11,8646,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ashenvale Outrunner - Within 0-5 Range - Cast 'Snap Kick'"); + +-- Warsong Scout SAI +SET @ENTRY := 12862; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Warsong Scout - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warsong Scout - 0-15% Health - Flee For Assist (No Repeat)"); + +-- Warsong Runner SAI +SET @ENTRY := 12863; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Warsong Runner - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Warsong Runner - 0-15% Health - Flee For Assist (No Repeat)"); + +-- Warsong Outrider SAI +SET @ENTRY := 12864; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Warsong Outrider - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,9,0,100,0,5,30,35900,52300,11,18545,1,0,0,0,0,2,0,0,0,0,0,0,0,"Warsong Outrider - Within 5-30 Range - Cast 'Scorpid Sting'"); + +-- Ambassador Malcin SAI +SET @ENTRY := 12865; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,9613,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ambassador Malcin - Combat CMC - Cast 'Shadow Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,5000,9000,15000,25000,11,8282,32,0,0,0,0,2,0,0,0,0,0,0,0,"Ambassador Malcin - Combat - Cast 'Curse of Blood'"); + +-- Silverwing Sentinel SAI +SET @ENTRY := 12896; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Silverwing Sentinel - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Silverwing Sentinel - 0-15% Health - Flee For Assist (No Repeat)"); + +-- Lorgus Jett SAI +SET @ENTRY := 12902; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,2,1000,1000,600000,600000,11,12550,1,0,0,0,0,1,0,0,0,0,0,0,0,"Lorgus Jett - Out of Combat - Cast 'Lightning Shield' (Normal Dungeon)"), +(@ENTRY,0,1,0,0,0,100,2,0,0,2400,3800,11,12167,64,0,0,0,0,2,0,0,0,0,0,0,0,"Lorgus Jett - Combat CMC - Cast 'Lightning Bolt' (Normal Dungeon)"); + +-- Mounted Ironforge Mountaineer SAI +SET @ENTRY := 12996; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Mounted Ironforge Mountaineer - Combat CMC - Cast 'Shoot'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mounted Ironforge Mountaineer - 0-15% Health - Flee For Assist (No Repeat)"); + +-- +UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=2983; +-- The Plains Vision SAI +SET @ENTRY := 2983; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,53,1,2983,0,0,0,0,1,0,0,0,0,0,0,0,"The Plains Vision - On Just Summoned - Start Waypoint"), +(@ENTRY,0,1,0,40,0,100,0,50,2983,0,0,41,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Plains Vision - On Waypoint 50 Reached - Despawn In 1000 ms"); + +DELETE FROM `waypoints` WHERE `entry`=@ENTRY; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(@ENTRY, 1, -2226.32, -408.095, -9.36235, 'The Plains Vision'), +(@ENTRY, 2, -2203.04, -437.212, -5.72498, 'The Plains Vision'), +(@ENTRY, 3, -2163.91, -457.851, -7.09049, 'The Plains Vision'), +(@ENTRY, 4, -2123.87, -448.137, -9.29591, 'The Plains Vision'), +(@ENTRY, 5, -2104.66, -427.166, -6.49513, 'The Plains Vision'), +(@ENTRY, 6, -2101.48, -422.826, -5.3567, 'The Plains Vision'), +(@ENTRY, 7, -2097.56, -417.083, -7.16716, 'The Plains Vision'), +(@ENTRY, 8, -2084.87, -398.626, -9.88973, 'The Plains Vision'), +(@ENTRY, 9, -2072.71, -382.324, -10.2488, 'The Plains Vision'), +(@ENTRY, 10, -2054.05, -356.728, -6.22468, 'The Plains Vision'), +(@ENTRY, 11, -2051.8, -353.645, -5.35791, 'The Plains Vision'), +(@ENTRY, 12, -2049.08, -349.912, -6.15723, 'The Plains Vision'), +(@ENTRY, 13, -2030.6, -310.724, -9.59302, 'The Plains Vision'), +(@ENTRY, 14, -2002.15, -249.308, -10.8124, 'The Plains Vision'), +(@ENTRY, 15, -1972.85, -195.811, -10.6316, 'The Plains Vision'), +(@ENTRY, 16, -1940.93, -147.652, -11.7055, 'The Plains Vision'), +(@ENTRY, 17, -1888.06, -81.943, -11.4404, 'The Plains Vision'), +(@ENTRY, 18, -1837.05, -34.0109, -12.258, 'The Plains Vision'), +(@ENTRY, 19, -1796.12, -14.6462, -10.3581, 'The Plains Vision'), +(@ENTRY, 20, -1732.61, -4.27746, -10.0213, 'The Plains Vision'), +(@ENTRY, 21, -1688.94, -0.829945, -11.7103, 'The Plains Vision'), +(@ENTRY, 22, -1681.32, 13.0313, -9.48056, 'The Plains Vision'), +(@ENTRY, 23, -1677.04, 36.8349, -7.10318, 'The Plains Vision'), +(@ENTRY, 24, -1675.2, 68.559, -8.95384, 'The Plains Vision'), +(@ENTRY, 25, -1676.57, 89.023, -9.65104, 'The Plains Vision'), +(@ENTRY, 26, -1678.16, 110.939, -10.1782, 'The Plains Vision'), +(@ENTRY, 27, -1677.86, 128.681, -5.73869, 'The Plains Vision'), +(@ENTRY, 28, -1675.27, 144.324, -3.47916, 'The Plains Vision'), +(@ENTRY, 29, -1671.7, 163.169, -1.23098, 'The Plains Vision'), +(@ENTRY, 30, -1666.61, 181.584, 5.26145, 'The Plains Vision'), +(@ENTRY, 31, -1661.51, 196.154, 8.95252, 'The Plains Vision'), +(@ENTRY, 32, -1655.47, 210.811, 8.38727, 'The Plains Vision'), +(@ENTRY, 33, -1647.07, 226.947, 5.27755, 'The Plains Vision'), +(@ENTRY, 34, -1621.65, 232.91, 2.69579, 'The Plains Vision'), +(@ENTRY, 35, -1600.23, 237.641, 2.98539, 'The Plains Vision'), +(@ENTRY, 36, -1576.07, 242.546, 4.66541, 'The Plains Vision'), +(@ENTRY, 37, -1554.57, 248.494, 6.60377, 'The Plains Vision'), +(@ENTRY, 38, -1547.53, 259.302, 10.6741, 'The Plains Vision'), +(@ENTRY, 39, -1541.7, 269.847, 16.4418, 'The Plains Vision'), +(@ENTRY, 40, -1539.83, 278.989, 21.0597, 'The Plains Vision'), +(@ENTRY, 41, -1540.16, 290.219, 27.8247, 'The Plains Vision'), +(@ENTRY, 42, -1538.99, 298.983, 34.0032, 'The Plains Vision'), +(@ENTRY, 43, -1540.38, 307.337, 41.3557, 'The Plains Vision'), +(@ENTRY, 44, -1536.61, 314.884, 48.0179, 'The Plains Vision'), +(@ENTRY, 45, -1532.42, 323.277, 55.6667, 'The Plains Vision'), +(@ENTRY, 46, -1528.77, 329.774, 61.1525, 'The Plains Vision'), +(@ENTRY, 47, -1525.65, 333.18, 63.2161, 'The Plains Vision'), +(@ENTRY, 48, -1517.01, 350.713, 62.4286, 'The Plains Vision'), +(@ENTRY, 49, -1511.39, 362.537, 62.4539, 'The Plains Vision'), +(@ENTRY, 50, -1508.68, 366.822, 62.733, 'The Plains Vision'); + +-- +DELETE FROM `creature_addon` WHERE `guid` IN (127436, 127437); +DELETE FROM `linked_respawn` WHERE `guid` IN (127436, 127437); +DELETE FROM `spell_script_names` WHERE `spell_id`=8283 AND `ScriptName`='spell_snufflenose_command'; +UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=26206; diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_20_03_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_20_03_world.sql new file mode 100644 index 00000000000..44dc5f28229 --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_20_03_world.sql @@ -0,0 +1,2031 @@ +-- +DELETE FROM `creature_loot_template` WHERE `Entry` =39049 AND `Item`=52270; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(39049, 52270, 0, 75, 1, 1, 0, 1, 1, NULL); -- Plagued Bruin Hide + +DELETE FROM `creature_loot_template` WHERE `Entry` IN (1536, 1537, 1662) AND `Item`=52077; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(1536, 52077, 0, 75, 1, 1, 0, 1, 1, NULL), -- Scarlet Missionary, High +(1537, 52077, 0, 75, 1, 1, 0, 1, 1, NULL), -- Scarlet Zealot, High +(1662, 52077, 0, 100, 1, 1, 0, 1, 1, NULL); -- Captain Perrine, Guaranteed + +-- Update Duskbat Pelt drop chance for existing entry +UPDATE `creature_loot_template` SET `Chance`=100 WHERE `Entry` =1553 AND `Item`=2876; +-- Insert missing Embalming Ichor drops +DELETE FROM `creature_loot_template` WHERE `Entry`=1554 AND `Item`=2876; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(1554, 2876, 0, 100, 1, 1, 2, 1, 1, NULL); + +-- Update Embalming Ichor drop chances for existing entries +UPDATE `creature_loot_template` SET `Chance`=75 WHERE `Entry` IN (1674, 1941) AND `Item`=2834; +-- Insert missing Embalming Ichor drop +DELETE FROM `creature_loot_template` WHERE `Entry`=1675 AND `Item`=2834; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(1675, 2834, 0, 75, 1, 1, 0, 1, 1, NULL); + +UPDATE `creature_template` SET `lootid`=39049 WHERE `entry`=39049; +DELETE FROM `creature_loot_template` WHERE `Entry`=39049 AND `Item`=52270; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(39049, 52270, 0, 75, 1, 1, 0, 1, 1, NULL); +-- The Shadow Grave +SET @Spell := 91576; -- Spell to summon +SET @Darnell := 49141; -- Darnell Gardian +SET @Mordo := 1568; -- Mordo Quest giver +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell*100+1 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell*100+2 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell*100+3 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell*100+4 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Mordo AND `source_type` = 0; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Darnell; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Mordo; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Mordo, 0, 0, 0, 19, 0, 100, 0, 28608, 0, 0, 0, 85, @Spell, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Mordo - On Quest Accept - Cast Spell To Summon'), +(@Darnell, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 80, @Darnell*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - set ReactState Defensive'), +(@Darnell*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100, 9, 1, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 53, 1, @Darnell, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - Action list - Go to point'), +(@Darnell, 0, 1, 0, 40, 0, 100, 0, 4, 0, 0, 0, 80, @Darnell*100+1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - set ReactState Defensive'), +(@Darnell*100+1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell, 0, 2, 0, 40, 0, 100, 0, 8, 0, 0, 0, 80, @Darnell*100+2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - set ReactState Defensive'), +(@Darnell*100+2, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 4000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100+2, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell, 0, 3, 0, 40, 0, 100, 0, 9, 0, 0, 0, 80, @Darnell*100+3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - set ReactState Defensive'), +(@Darnell*100+3, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 6000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100+3, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100+3, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100+3, 9, 3, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100+3, 9, 4, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 7, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell, 0, 4, 0, 40, 0, 100, 0, 10, 0, 0, 0, 80, @Darnell*100+4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - set ReactState Defensive'), +(@Darnell*100+4, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 10000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100+4, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100+4, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell, 0, 5, 0, 40, 0, 100, 0, 13, 0, 0, 0, 1, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell, 0, 6, 0, 40, 0, 100, 0, 17, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Despawn'); + +DELETE FROM `waypoints` WHERE `entry`=@Darnell; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@Darnell,1,1683.078003, 1669.579346, 135.687851, 'Darnell'), +(@Darnell,2,1673.481934, 1663.246216, 138.565262, 'Darnell'), +(@Darnell,3,1663.537109, 1662.785278, 141.851089, 'Darnell'), +(@Darnell,4,1644.768921, 1663.085938, 132.478256, 'Darnell'), +(@Darnell,5,1642.878418, 1668.084351, 131.365952, 'Darnell'), +(@Darnell,6,1642.607422, 1675.931519, 126.932091, 'Darnell'), +(@Darnell,7,1646.881104, 1677.484985, 126.519661, 'Darnell'), +(@Darnell,8,1657.310059, 1677.939941, 120.712003, 'Darnell'), +(@Darnell,9,1664.173340, 1662.718872, 120.719086, 'Darnell'), +(@Darnell,10,1657.310059, 1677.939941, 120.772003, 'Darnell'), +(@Darnell,11,1646.881104, 1677.484985, 126.519661, 'Darnell'), +(@Darnell,12,1642.607422, 1675.931519, 126.932091, 'Darnell'), +(@Darnell,13,1642.878418, 1668.084351, 131.365952, 'Darnell'), +(@Darnell,14,1644.768921, 1663.085938, 132.478256, 'Darnell'), +(@Darnell,15,1663.537109, 1662.785278, 141.851089, 'Darnell'), +(@Darnell,16,1673.481934, 1663.246216, 138.565262, 'Darnell'), +(@Darnell,17,1683.078003, 1669.579346, 135.687851, 'Darnell'); + +DELETE FROM `creature_text` WHERE`entry`= @Darnell; + +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Darnell, 0, 0, 'Greetings, $n.', 12, 0, 100, 0, 0, 0, 'Darnell', 49305), +(@Darnell, 1, 0, 'The Shadow Grave is this way. Follow me, $n.', 12, 0, 100, 1, 0, 0, 'Darnell', 49295), +(@Darnell, 2, 0, 'This way!', 12, 0, 100, 1, 0, 0, 'Darnell', 49296), +(@Darnell, 3, 0, 'Now, where could those supplies be?', 12, 0, 100, 1, 0, 0, 'Darnell', 49297), +(@Darnell, 4, 0, 'Maybe they''re over here?', 12, 0, 100, 1, 0, 0, 'Darnell', 49298), +(@Darnell, 5, 0, 'Hmm...', 12, 0, 100, 1, 0, 0, 'Darnell', 49299), +(@Darnell, 6, 0, 'No, not over here.', 12, 0, 100, 1, 0, 0, 'Darnell', 49300), +(@Darnell, 7, 0, 'Hey, give me a hand, $n! I can''t find the supplies that Mordo needed!', 12, 0, 100, 1, 0, 0, 'Darnell', 49301), +(@Darnell, 8, 0, 'Let''s see now... where could they be...', 12, 0, 100, 1, 0, 0, 'Darnell', 49302), +(@Darnell, 9, 0, 'Nice work! You''ve found them. Let''s bring these back to Mordo.', 12, 0, 100, 1, 0, 0, 'Darnell', 49303), +(@Darnell, 10, 0, 'I saw someone up there whose jaw fell off. I wonder if Mordo can fix him up?', 12, 0, 100, 1, 0, 0, 'Darnell', 49304); +-- +UPDATE `creature` SET `position_x`=1695.631592, `position_y`=1680.963135, `position_z`=134.870605, `orientation`=2.953877 WHERE `guid`=325130; + +-- Risen Recruit SAI +SET @ENTRY := 50414; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,25,0,100,1,0,0,0,0,53,0,50414,0,0,0,0,1,0,0,0,0,0,0,0,"Risen Recruit - On Reset - Start Waypoint (No Repeat)"), +(@ENTRY,0,1,0,40,0,100,0,1,50414,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Risen Recruit - On Waypoint 1 Reached - Run Script"); + +DELETE FROM `creature_text` WHERE `entry` IN (1568, 50414); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1568, 0, 0, 'Let\'s see, I just saw a corpse with a jaw that would fit you', 12, 0, 100, 0, 0, 0, 0, 0, 'Mordo'), +(1568, 1, 0, 'That should do the job. Come back right away if it falls off again.', 12, 0, 100, 0, 0, 0, 0, 0, 'Mordo'), +(50414, 0, 0, 'T-thank you, Under-t-taker.', 12, 0, 100, 0, 0, 0, 0, 0, 'Risen Recruit'); + +-- Actionlist SAI +SET @ENTRY := 5041400; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,5,16,0,0,0,0,0,1,0,0,0,0,0,0,0,"Risen Recruit - On Script - Play Emote 16"), +(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,5,69,0,0,0,0,0,19,1568,10,0,0,0,0,0,"Risen Recruit - On Script - Play Emote 69"), +(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,19,1568,10,0,0,0,0,0,"Risen Recruit - On Script - Say Line 0"), +(@ENTRY,9,3,0,0,0,100,0,5000,5000,0,0,5,26,0,0,0,0,0,19,1568,10,0,0,0,0,0,"On Script - Play Emote 26"), +(@ENTRY,9,4,0,0,0,100,0,2000,2000,0,0,5,25,0,0,0,0,0,19,1568,10,0,0,0,0,0,"On Script - Play Emote 25"), +(@ENTRY,9,5,0,0,0,100,0,2000,2000,0,0,1,1,0,0,0,0,0,19,1568,10,0,0,0,0,0,"On Script - Say Line 1"), +(@ENTRY,9,6,0,0,0,100,0,0,0,0,0,5,26,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 26"), +(@ENTRY,9,7,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Say Line 0"), +(@ENTRY,9,8,0,0,0,100,0,2000,2000,0,0,5,66,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 66"), +(@ENTRY,9,9,0,0,0,100,0,3000,3000,0,0,53,0,504140,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Start Waypoint"), +(@ENTRY,9,10,0,0,0,100,0,6000,6000,0,0,41,2000,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Despawn In 2000 ms"); + +DELETE FROM `waypoints` WHERE `entry` IN (50414, 504140); +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(50414, 1, 1691.527100, 1675.772339, 135.228180, 'Risen Recruit'), +(504140, 1, 1700.930054, 1655.510010, 129.171005, 'Risen Recruit'); +-- +UPDATE `creature` SET `spawntimesecs`=1 WHERE `guid`=325668; + +-- Captured Scarlet Zealot SAI +SET @ENTRY := 1931; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,20,0,100,0,24977,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Captured Scarlet Zealot - On Quest 'Johaan's Experiment' Finished - Run Script"), +(@ENTRY,0,1,0,6,0,100,0,0,0,0,0,41,3000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captured Scarlet Zealot - On Just Died - Despawn In 3000 ms"); + +-- Actionlist SAI +SET @ENTRY := 193100; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captured Scarlet Zealot - On Script - Say Line 0"), +(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,11,3287,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captured Scarlet Zealot - On Script - Cast 'Ghoul Form'"), +(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captured Scarlet Zealot - On Script - Say Line 1"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,89,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captured Scarlet Zealot - On Script - Start Random Movement"), +(@ENTRY,9,4,0,0,0,100,0,6000,6000,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captured Scarlet Zealot - On Script - Kill Self"); + +UPDATE `creature_template_addon` SET `emote`=431 WHERE `entry`=1931; +-- Holland's Experiment + +Set @Nain :=2211; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Nain; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Nain AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Nain*100 AND `source_type` = 9; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Nain, 0, 0, 0, 20, 0, 100, 0, 24996, 0, 0, 0, 80, @Nain*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Nain - On quest rewarded - action list'), +(@Nain*100, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 21, 10, 0, 0, 0, 0, 0, 0, 'Nain - action list - TALK'), +(@Nain*100, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Nain - action list - Die'); + +DELETE FROM `creature_text` WHERE `entry`=@Nain ; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Nain, 0, 0, ' I raise my brew and hope to be rid of the likes of you! Cheers, you no good scoundrel, $n!', 12, 0, 100, 1, 0, 0, 'Nain', 576); +-- +SET @Tetard :=38937; +SET @Crispin :=38978; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Crispin; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Tetard; + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Crispin AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Crispin*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Tetard AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Tetard*100 AND `source_type` = 9; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Crispin, 0, 0, 0, 19, 0, 100, 0, 24999, 0, 0, 0, 75, 73134, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Nain - On quest rewarded - action list'), +(@Tetard, 0, 0, 0, 23, 0, 100, 0, 73133, 3, 9999, 9999, 37, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tetard - has aura x3 - Die'), +(@Tetard, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 33, @Tetard, 0, 0, 0, 0, 0, 21, 15, 0, 0, 0, 0, 0, 0, 'Tetard - on death - KillCredit'), +(@Crispin, 0, 1, 0, 20, 0, 100, 0, 24999, 0, 0, 0, 28, 73134, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Nain - On quest rewarded - action list'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=73133; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,73133,0,0,31,0,3,@Tetard,0,0,0,0,'','Only Tetard are affected by the spell.'); +-- The Grasp Weakens +SET @Malia:= 39117; +SET @Devlin:= 38980; +SET @Spell:= 73180; +SET @Shadow:= 38981; + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Malia AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Malia*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Malia*100+1 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Shadow AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Devlin AND `source_type` = 0; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@Malia, @Devlin, @Shadow); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Malia, 0, 0, 0, 62, 0, 100, 0, 11156, 0, 0, 0, 80, @Malia*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - On Gossip Select - Actionlist'), +(@Malia*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - Close gossip'), +(@Malia*100, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk1'), -- 0 +(@Malia*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - On Script - Set React Passive'), +(@Malia*100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 53, 0, @Malia, 0, 0, 999990, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Action list - StartWaypoint'), +(@Malia, 0, 1, 0, 40, 0, 100, 0, 4, 0, 0, 0, 80, @Malia*100+1, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - On waypointReached - Actionlist'), +(@Malia*100+1, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 3, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 4, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 5, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 12, @Devlin, 1, 111110, 0, 0, 0, 8, 0, 0, 0, 2246.889893, 228.612000, 44.834801, 2.019680, 'Malia - Actionlist - Spawn'), +(@Malia*100+1, 9, 6, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, @Devlin, 10, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 7, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, @Devlin, 10, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 8, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, @Devlin, 10, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 9, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, @Devlin, 10, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 10, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 19, @Devlin, 10, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 11, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, @Devlin, 10, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 12, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 19, @Devlin, 10, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 13, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, @Devlin, 10, 0, 0, 0, 0, 0, 'Malia - Actionlist - Despawn'), +(@Malia*100+1, 9, 14, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, @Spell, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - cast to summon'), +(@Malia*100+1, 9, 15, 0, 0, 0, 100, 0, 25000, 25000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - Talk'), +(@Malia*100+1, 9, 16, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Malia - Actionlist - Despawn'), +(@Devlin, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 17, 437, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Devlin - On spawn - StateEmote'), +(@Shadow, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 18, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow - On spawn - UnitFlag 4'), +(@Shadow, 0, 1, 0, 0, 0, 100, 0, 0, 0, 6000, 6000, 11, 16568, 2, 0, 0, 0, 0, 21, 15, 0, 0, 0, 0, 0, 0, 'Shadow - IC - CastSpell'); + +UPDATE `creature_template` SET `faction`=14, `minlevel`=10, `maxlevel`=11, `inhabittype`=4 WHERE (`entry`=@Shadow); +UPDATE `creature_template` SET `inhabittype`=4 WHERE (`entry`=@Devlin); +UPDATE `creature_template` SET `gossip_menu_id`=11156, `npcflag`=1 WHERE (`entry`=@Malia); + +DELETE FROM `waypoints` WHERE `entry`=@Malia; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@Malia,1, 2240.255615, 233.003922, 34.551388, 'Malia'), +(@Malia,2, 2234.646240, 229.994614, 38.211372, 'Malia'), +(@Malia,3, 2236.925537, 226.070419, 38.245140, 'Malia'), +(@Malia,4, 2243.648193, 228.888794, 41.812122, 'Malia'); + +UPDATE `npc_text` SET `BroadcastTextID0`=39150 WHERE `ID`=15527; + +DELETE FROM `gossip_menu` WHERE `entry`=11156 AND `text_id`=15527; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (11156,15527); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 11156; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`) VALUES (11156, 0, 0, 'I am ready', 39152, 1, 1); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=11156; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,11156,0,0,9,25006,0,0,0,'','Show gossip menu if player accept The Grasp Weakens'); + +DELETE FROM `creature_text` WHERE `entry` IN (@Devlin, @Malia); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Malia, 0, 0, 'Very well. Follow me.', 12, 0, 100, 0, 0, 0, 'Malia', 39153), +(@Malia, 1, 0, 'Now it is time for us to begin.', 12, 0, 100, 1, 0, 0, 'Malia', 39154), +(@Malia, 2, 0, 'Devlin Agamand! Listen to my voice!', 14, 0, 100, 22, 0, 0, 'Malia', 39155), +(@Malia, 3, 0, 'Your mortal remains have been gathered, here in this place where you spent your childhood!', 14, 0, 100, 22, 0, 0, 'Malia', 39156), +(@Malia, 4, 0, 'Resist the Lich King''s will, Devlin! Come to us!', 14, 0, 100, 22, 0, 0, 'Malia', 39157), +(@Malia, 5, 0, 'I had better return to my post. You can find me downstairs if you need anything.', 12, 0, 100, 1, 0, 0, 'Malia', 39158), +(@Devlin, 0, 0, 'What''s going on here?', 12, 0, 100, 0, 0, 0, 'Devlin', 39160), +(@Devlin, 1, 0, 'Wait, am I... home?', 12, 0, 100, 0, 0, 0, 'Devlin', 39161), +(@Devlin, 2, 0, 'You people... what are you doing here? Why are you in my house?', 12, 0, 100, 0, 0, 0, 'Devlin', 39162), +(@Devlin, 3, 0, 'Mother... father... Thurman... where are you?', 12, 0, 100, 0, 0, 0, 'Devlin', 39163), +(@Devlin, 4, 0, 'No... I remember. My family is dead. And so am I.', 12, 0, 100, 0, 0, 0, 'Devlin', 39164), +(@Devlin, 5, 0, 'And my soul.... my soul belongs to the Scourge!', 12, 0, 100, 0, 0, 0, 'Devlin', 39165), +(@Devlin, 6, 0, 'DIE, YOU WRETCHES!', 14, 0, 100, 0, 0, 0, 'Devlin', 39166); +-- Take to the Skies +DELETE FROM `gossip_menu` WHERE `entry`=11152 AND `text_id`=15524; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(11152,15524); + +UPDATE `npc_text` SET `BroadcastTextID0`=39129 WHERE `ID`=15524; + +UPDATE `gossip_menu_option` SET `OptionBroadcastTextID`=39130, `option_id`=1, `npc_option_npcflag`=8192 WHERE `menu_id`=11152 AND `ID`=1; + +UPDATE creature_template SET `AIName`='SmartAI' WHERE `entry`=37915; + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 37915 AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 37915*100 AND `source_type` = 9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(37915, 0, 0, 0, 62, 0, 100, 0, 11152, 0, 0, 0, 80, 37915*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '37915 - On Gossip Select - Actionlist'), +(37915*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, '37915 - Actionlist - Close gossip'), +(37915*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 73442, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, '37915 - Actionlist - cast spell'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=11152; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,11152,1,0,9,25012,0,0,0,'','Take to the Skies'); +-- Variety is the Spice of Death 24976 +SET @Cucumber := 38933; -- Fettered Green Whelpling + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Cucumber; + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Cucumber AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Cucumber*100 AND `source_type` = 9; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Cucumber, 0, 0, 0, 73, 0, 100, 0, 0, 0, 0, 0, 80, @Cucumber*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cucumber - On Spell_Clic - add item'), +(@Cucumber*100, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cucumber - On Spell_Clic - Despawn'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceEntry`=73123; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(18,@Cucumber,73123,0,0,9,0,24976,0,0,0,0,'','SpellClic require quest 24976'); + +UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry` IN (@Cucumber ); + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`= @Cucumber AND `spell_id`= 73123; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(@Cucumber, 73123, 1, 0); +-- A Daughter's Embrace + +SET @Scarlet1:= 1538; +SET @Scarlet2:= 1540; +SET @Scarlet3:= 1539; +SET @Scarlet4:= 1537; +SET @Scarlet5:= 1536; +SET @Scarlet6:= 1535; +SET @Lilian:= 39038; +SET @Nova:= 32711; +SET @BodyGuard:= 1660; +SET @Melrache:= 1665; +SET @Benedictus:= 39097; +SET @Jump:= 73308; +SET @Sanders:= 13158; +Set @Summon:= 73306; +Set @Aura:= 73305; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Sanders; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet1; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet2; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet3; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet4; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet5; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet6; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Benedictus; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Melrache; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@BodyGuard; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Lilian; + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Sanders AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Lilian AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Lilian*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Lilian*100+1 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @BodyGuard AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @BodyGuard*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Melrache AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Melrache*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Benedictus AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Benedictus*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Scarlet1 AND `source_type` = 0; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet2; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Scarlet2 AND `source_type` = 0; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet3; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Scarlet3 AND `source_type` = 0; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet4; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Scarlet4 AND `source_type` = 0; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet5; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Scarlet5 AND `source_type` = 0; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Scarlet6; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Scarlet6 AND `source_type` = 0; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Scarlet1, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Scarlet - On Aggro - talk'), +(@Scarlet2, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Scarlet - On Aggro - talk'), +(@Scarlet3, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Scarlet - On Aggro - talk'), +(@Scarlet4, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Scarlet - On Aggro - talk'), +(@Scarlet5, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Scarlet - On Aggro - talk'), +(@Scarlet6, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Scarlet - On Aggro - talk'), +(@Scarlet1, 0, 1, 0, 0, 0, 100, 0, 1000, 1000, 10000, 10000, 11, 64431, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet1 - IC - CAST'), +(@Scarlet1, 0, 2, 0, 0, 0, 100, 0, 4000, 4000, 18000, 18000, 11, 75967, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet1 - IC - CAST'), +(@Scarlet2, 0, 1, 0, 0, 0, 100, 0, 1000, 1000, 10000, 10000, 11, 64431, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet2 - IC - CAST'), +(@Scarlet2, 0, 2, 0, 0, 0, 100, 0, 2000, 2000, 180000, 180000, 11, 7164, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet2 - IC - CAST'), +(@Scarlet2, 0, 3, 0, 0, 0, 100, 0, 5000, 5000, 8000, 8000, 11, 11972, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet2 - IC - CAST'), +(@Scarlet3, 0, 1, 0, 0, 0, 100, 0, 1000, 1000, 10000, 10000, 11, 64431, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet3 - IC - CAST'), +(@Scarlet3, 0, 2, 0, 0, 0, 100, 0, 2000, 2000, 30000, 30000, 11, 12544, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet3 - IC - CAST'), +(@Scarlet3, 0, 3, 0, 0, 0, 100, 0, 5000, 5000, 5000, 5000, 11, 13322, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet3 - IC - CAST'), +(@Scarlet4, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 5000, 5000, 11, 84535, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet4 - IC - CAST'), +(@Scarlet5, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 4000, 4000, 11, 9053, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet5 - IC - CAST'), +(@Scarlet6, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 5000, 5000, 11, 57846, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scarlet6 - IC - CAST'), +(@Sanders, 0, 0, 0, 19, 0, 100, 0, 25046, 0, 0, 0, 85, @Summon, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sanders - On Quest Accept - Summon'), +(@Lilian, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 80, @Lilian*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - On Spawn - action list'), +(@Lilian*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, @Aura, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Sanders - Actionlist - CastSpell'), +(@Lilian*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - actionList - react defensif'), +(@Lilian, 0, 1, 0, 0, 0, 100, 0, 0, 0, 4000, 4000, 11, @Nova, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Shadow - IC - CastSpell'), +(@Lilian, 0, 2, 0, 0, 0, 100, 0, 0, 0, 5000, 5000, 11, 73309, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Shadow - IC - CastSpell'), +(@Lilian, 0, 3, 0, 0, 0, 100, 0, 0, 0, 5000, 5000, 11, @Aura, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Shadow - IC - CastSpell'), +(@Benedictus, 0, 0, 0, 75, 0, 100, 1, 0, @Lilian, 30, 0, 80, @Benedictus*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - On creature distance - action list'), +(@Benedictus*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - actionList - reactPassif'), +(@Benedictus*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - actionList - UnitFlag'), +(@Melrache, 0, 0, 0, 75, 0, 100, 1, 0, @Lilian, 30, 0, 80, @Melrache*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - On creature distance - action list'), +(@Melrache*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - actionList - reactPassif'), +(@Melrache*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - actionList - UnitFlag'), +(@BodyGuard, 0, 0, 0, 75, 0, 100, 1, 0, @Lilian, 30, 0, 80, @BodyGuard*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - On creature distance - action list'), +(@BodyGuard*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - actionList - reactPassif'), +(@BodyGuard*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Benedictus - actionList - UnitFlag'), +(@Lilian, 0, 4, 0, 75, 0, 100, 1, 0, @Benedictus, 20, 0, 80, @Lilian*100+1, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - On creature distance - action list'), +(@Lilian*100+1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 3071.607178, -563.239685, 126.717987, 0.647956, 'Lilian - action list - Go to position'), +(@Lilian*100+1, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - action list - Talk1'), +(@Lilian*100+1, 9, 2, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, @Benedictus, 20, 0, 0, 0, 0, 0, 'Lilian - action list - Talk1'), +(@Lilian*100+1, 9, 3, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - action list - Talk2'), +(@Lilian*100+1, 9, 4, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 11, @Jump, 2, 0, 0, 0, 0, 19, @BodyGuard, 20, 0, 0, 0, 0, 0, 'Lilian - action list - CastSpell'), +(@Lilian*100+1, 9, 5, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 11, @Nova, 2, 0, 0, 0, 0, 19, @BodyGuard, 20, 0, 0, 0, 0, 0, 'Lilian - action list- CastSpell'), +(@Lilian*100+1, 9, 6, 0, 0, 0, 100, 0, 500, 500, 0, 0, 51, 0, 0, 0, 0, 0, 0, 19, @BodyGuard, 20, 0, 0, 0, 0, 0, 'Lilian - action list - Kill'), +(@Lilian*100+1, 9, 7, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 11, @Jump, 2, 0, 0, 0, 0, 19, @Melrache, 20, 0, 0, 0, 0, 0, 'Lilian - action list - CastSpell'), +(@Lilian*100+1, 9, 8, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 11, @Nova, 2, 0, 0, 0, 0, 19, @Melrache, 20, 0, 0, 0, 0, 0, 'Lilian - action list - CastSpell'), +(@Lilian*100+1, 9, 9, 0, 0, 0, 100, 0, 500, 500, 0, 0, 51, 0, 0, 0, 0, 0, 0, 19, @Melrache, 20, 0, 0, 0, 0, 0, 'Lilian - action list - Kill'), +(@Lilian*100+1, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 3071.607178, -563.239685, 126.717987, 0.647956, 'Lilian - action list - Go to position'), +(@Lilian*100+1, 9, 11, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 3071.607178, -563.239685, 126.717987, 0.647956, 'Lilian - action list - SetOrientation'), +(@Lilian*100+1, 9, 12, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - action list - Talk 3'), +(@Lilian*100+1, 9, 13, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, @Benedictus, 20, 0, 0, 0, 0, 0, 'Lilian - action list - Talk2'), +(@Lilian*100+1, 9, 14, 0, 0, 0, 100, 0, 3000, 5000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - action list - talk4'), +(@Lilian*100+1, 9, 15, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - action list - Talk5'), +(@Lilian*100+1, 9, 16, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, @Benedictus, 20, 0, 0, 0, 0, 0, 'Lilian - action list - Talk3'), +(@Lilian*100+1, 9, 17, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 11, @Jump, 2, 0, 0, 0, 0, 19, @Benedictus, 20, 0, 0, 0, 0, 0, 'Lilian - action list - CastSpell'), +(@Lilian*100+1, 9, 18, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 11, @Nova, 2, 0, 0, 0, 0, 19, @Benedictus, 20, 0, 0, 0, 0, 0, 'Lilian - action list - CastSpell'), +(@Lilian*100+1, 9, 19, 0, 0, 0, 100, 0, 500, 500, 0, 0, 51, 0, 0, 0, 0, 0, 0, 19, @Benedictus, 20, 0, 0, 0, 0, 0, 'Lilian - action list - kill'), +(@Lilian*100+1, 9, 20, 0, 0, 0, 100, 0, 0, 0, 0, 0, 33, 39098, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Credit quest'), +(@Lilian*100+1, 9, 21, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - action list - talk6'), +(@Lilian*100+1, 9, 22, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - action list - Despawn'); + +DELETE FROM `creature_text` WHERE `entry` IN (@Scarlet1, @Scarlet2, @Scarlet3, @Scarlet4, @Scarlet5, @Scarlet6, @Lilian, @Benedictus ) ; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Scarlet1, 0, 0, 'The Scarlet Crusade shall smite the wicked and drive evil from these lands!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2628), +(@Scarlet1, 0, 1, 'There is no escape for you. The Crusade shall destroy all who carry the Scourge''s taint.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2626), +(@Scarlet1, 0, 2, 'The Light condemns all who harbor evil. Now you will die!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2627), +(@Scarlet1, 0, 3, 'You carry the taint of the Scourge. Prepare to enter the Twisting Nether.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2625), +(@Scarlet2, 0, 0, 'The Scarlet Crusade shall smite the wicked and drive evil from these lands!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2628), +(@Scarlet2, 0, 1, 'There is no escape for you. The Crusade shall destroy all who carry the Scourge''s taint.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2626), +(@Scarlet2, 0, 2, 'The Light condemns all who harbor evil. Now you will die!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2627), +(@Scarlet2, 0, 3, 'You carry the taint of the Scourge. Prepare to enter the Twisting Nether.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2625), +(@Scarlet3, 0, 0, 'The Scarlet Crusade shall smite the wicked and drive evil from these lands!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2628), +(@Scarlet3, 0, 1, 'There is no escape for you. The Crusade shall destroy all who carry the Scourge''s taint.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2626), +(@Scarlet3, 0, 2, 'The Light condemns all who harbor evil. Now you will die!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2627), +(@Scarlet3, 0, 3, 'You carry the taint of the Scourge. Prepare to enter the Twisting Nether.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2625), +(@Scarlet4, 0, 0, 'The Scarlet Crusade shall smite the wicked and drive evil from these lands!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2628), +(@Scarlet4, 0, 1, 'There is no escape for you. The Crusade shall destroy all who carry the Scourge''s taint.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2626), +(@Scarlet4, 0, 2, 'The Light condemns all who harbor evil. Now you will die!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2627), +(@Scarlet4, 0, 3, 'You carry the taint of the Scourge. Prepare to enter the Twisting Nether.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2625), +(@Scarlet5, 0, 0, 'The Scarlet Crusade shall smite the wicked and drive evil from these lands!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2628), +(@Scarlet5, 0, 1, 'There is no escape for you. The Crusade shall destroy all who carry the Scourge''s taint.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2626), +(@Scarlet5, 0, 2, 'The Light condemns all who harbor evil. Now you will die!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2627), +(@Scarlet5, 0, 3, 'You carry the taint of the Scourge. Prepare to enter the Twisting Nether.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2625), +(@Scarlet6, 0, 0, 'The Scarlet Crusade shall smite the wicked and drive evil from these lands!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2628), +(@Scarlet6, 0, 1, 'There is no escape for you. The Crusade shall destroy all who carry the Scourge''s taint.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2626), +(@Scarlet6, 0, 2, 'The Light condemns all who harbor evil. Now you will die!', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2627), +(@Scarlet6, 0, 3, 'You carry the taint of the Scourge. Prepare to enter the Twisting Nether.', 12, 0, 100, 0, 0, 0, 'Scarlet1', 2625), +(@Lilian, 0, 0, 'Father!', 12, 0, 100, 0, 0, 0, 'Lilian', 39138), +(@Lilian, 1, 0, 'Shut up.', 12, 0, 100, 0, 0, 0, 'Lilian', 39140), +(@Lilian, 2, 0, 'You raised me to be a killer. How am I doing, daddy?', 12, 0, 100, 0, 0, 0, 'Lilian', 39141), +(@Lilian, 3, 0, 'But wait... I remember now. You taught me to only kill the undead. So you do want me to kill myself, daddy?', 12, 0, 100, 0, 0, 0, 'Lilian', 39143), +(@Lilian, 4, 0, 'Then again, why kill myself... when I can kill YOU instead!', 12, 0, 100, 0, 0, 0, 'Lilian', 39145), +(@Lilian, 5, 0, 'Thanks for everything... father.', 12, 0, 100, 0, 0, 0, 'Lilian', 39146), +(@Benedictus, 0, 0, 'Lilian... you''re... it''s so nice to see you well.', 12, 0, 100, 0, 0, 0, 'Benedictus', 39139), +(@Benedictus, 1, 0, 'I, ah...', 12, 0, 100, 0, 0, 0, 'Benedictus', 39142), +(@Benedictus, 2, 0, 'Lilian, I...', 12, 0, 100, 0, 0, 0, 'Benedictus', 39144); +-- A Little Oomph +SET @Dithers:= 11057; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Dithers; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Dithers AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Dithers, 0, 0, 0, 20, 0, 100, 0, 25013, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zealot - On quest rewarded - talk'); +DELETE FROM `creature_text` WHERE `entry`=@Dithers ; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Dithers, 0, 0, 'Now THAT''s what I call oomph! I wish all our potions did this!', 12, 0, 100, 1, 0, 0, 'Dithers', 44553); +-- +SET @ENTRY := 49044; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,19,0,100,0,24959,0,0,0,11,73524,0,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Agatha - On quest 24959 - cast spell"), +(@ENTRY,0,1,0,61,0,100,0,0,0,0,0,28,73523,0,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Agatha - Remove aura from the player"); + +DELETE FROM `spell_area` WHERE spell=65051 and area=5692; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `racemask`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(65051, 5692, 0, 28608, 16, 1, 0, 3); +SET @Spell := 91938; -- Spell to summon +SET @Darnell := 49337; -- Darnell Gardian +SET @Caice := 2307; -- Caice Quest giver +SET @Saltain := 1740; -- Deathguard Saltain +SET @Corpse := 49340; -- Scarlet Corpse + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell*100+1 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Darnell*100+2 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Saltain AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Saltain*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Saltain*100+1 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Caice AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Caice*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Corpse AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Corpse*100 AND `source_type` = 9; + +UPDATE `creature_template` SET `AIName`='SmartAI', `npcflag`=16777216, `VehicleId`= 1392 WHERE `entry`=@Darnell; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@Caice, @Saltain); +UPDATE `creature_template` SET `AIName`='SmartAI', npcflag=0 WHERE `entry`=@Corpse; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Caice, 0, 0, 0, 19, 0, 100, 0, 25089, 0, 0, 0, 85, @Spell, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Caice - On Quest Accept - Cast Spell To Summon'), +(@Darnell, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 80, @Darnell*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Action list'), +(@Darnell*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - set ReactState passif'), +(@Darnell*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 53, 1, @Darnell, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - Action list - Start wp'), +(@Darnell, 0, 1, 0, 40, 0, 100, 0, 5, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell, 0, 2, 0, 40, 0, 100, 0, 7, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Saltain, 0, 0, 0, 19, 0, 100, 0, 26800, 0, 0, 0, 80, @Saltain*100+1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Saltain - On Quest accept- action list'), +(@Saltain*100+1, 9, 0, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 85, @Spell, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Saltain - Action list - Cast Spell To Summon'), -- 3secs delay to avoid the despawn +(@Darnell, 0, 3, 0, 54, 0, 100, 0, 0, 0, 0, 0, 80, @Darnell*100+1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Action list'), +(@Darnell*100+1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - set ReactState passif'), +(@Darnell*100+1, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Darnell*100+1, 9, 2, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Darnell - On spawn - Talk1'), +(@Corpse, 0, 0, 0, 75, 0, 100, 1, 0, @Darnell, 3, 0, 80, @Corpse*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Corpse - On DISTANCE_CREATURE - Action list'), +(@Corpse*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 46598, 1, 0, 0, 0, 0, 19, @Darnell, 10, 0, 0, 0, 0, 0, 'Corpse - Action list - cast spell'), +(@Corpse*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 33, @Corpse, 0, 0, 0, 0, 0, 21, 10, 0, 0, 0, 0, 0, 0, 'Corpse - Actionlist - Credit quest'), +(@Saltain, 0, 1, 0, 20, 0, 100, 0, 26800, 0, 0, 0, 80, @Saltain*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Saltain - On Quest rewarded- action list'), +(@Saltain*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, @Darnell, 20, 0, 0, 0, 0, 0, 'Saltain - action list - Despawn'), +(@Saltain*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 11, @Corpse, 20, 0, 0, 0, 0, 0, 'Saltain - action list - Despawn'), +(@Saltain, 0, 2, 0, 20, 0, 100, 0, 25089, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, @Darnell, 20, 0, 0, 0, 0, 0, 'Saltain - On Quest rewarded - despawn'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=@Darnell; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,4,@Darnell,0,0,9,0,26800,0,0,0,0,'','Event quest 26800'), +(22,1,@Darnell,0,0,9,0,25089,0,0,1,0,'','Event quest 25089'); + +DELETE FROM `creature_text` WHERE `entry`= @Darnell; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Darnell, 0, 0, 'Hello again.', 12, 0, 100, 3, 0, 0, 'Darnell', 49455), +(@Darnell, 1, 0, 'I know the way to Deathknell. Come with me!', 12, 0, 100, 273, 0, 0, 'Darnell', 49456), +(@Darnell, 2, 0, 'Good, you''re still here. Now, where''s Deathguard Saltain?', 12, 0, 100, 1, 0, 0, 'Darnell', 49457), +(@Darnell, 3, 0, 'Ah, here he is.', 12, 0, 100, 1, 0, 0, 'Darnell', 49458), +(@Darnell, 4, 0, 'Let''s get moving, $n. Saltain said that we''d fine some corpses up here.', 12, 0, 100, 1, 0, 0, 'Darnell', 49459), +(@Darnell, 5, 0, 'I think I see some corpses up ahead. Let''s go, $n! You do the searching and fighting. I''ll do the lifting.', 12, 0, 100, 0, 0, 0, 'Darnell', 49460); + +DELETE FROM `waypoints` WHERE `entry`=@Darnell; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@Darnell,1,1692.472168, 1653.235474, 130.319809, 'Darnell'), +(@Darnell,2,1697.396973, 1653.904175, 128.853043, 'Darnell'), +(@Darnell,3,1721.264160, 1635.621948, 121.329689, 'Darnell'), +(@Darnell,4,1765.116577, 1602.026978, 109.535789, 'Darnell'), +(@Darnell,5,1798.010742, 1591.826904, 101.370865, 'Darnell'), +(@Darnell,6,1847.364136, 1587.727539, 93.158165, 'Darnell'), +(@Darnell,7,1860.151245, 1601.413208, 94.669510, 'Darnell'); +-- The Wakening 24960 +SET @Valdred := 49231; +SET @Marshal := 49230; +SET @Lilian := 38895; +SET @Caice := 2307; + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Valdred AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Valdred*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Marshal AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Marshal*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Lilian AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Lilian*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Caice AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Caice*100 AND `source_type` = 9; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Valdred; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Marshal; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Lilian; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Caice; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Caice, 0, 0, 0, 19, 0, 100, 0, 24960, 0, 0, 0, 80, @Caice*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Caice - On quest accpet - Actionlist'), +(@Caice*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 91876, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Caice - Actionlist - cast spell'), +(@Caice*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 91874, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Caice - Actionlist - Cast spell'), +(@Caice*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 11, 91873, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Caice - Actionlist - Cast spell'), +(@Valdred, 0, 0, 0, 62, 0, 100, 0, 12489, 0, 0, 0, 80, @Valdred*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Valdred - On Gossip Select - Actionlist'), +(@Valdred*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Valdred - Actionlist - Close gossip'), +(@Valdred*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 33, @Valdred, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Valdred - Actionlist - Credit quest'), +(@Valdred*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Valdred - Actionlist - Talk1'), +(@Valdred*100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 28, 68442, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Valdred - Actionlist - remove aura state kneels'), +(@Valdred*100, 9, 4, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 1689.709961, 1674.790039, 135.675003, 0.349066, 'Valdred - Action list - Go to point'), +(@Valdred*100, 9, 5, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Valdred - Actionlist - Talk2'), +(@Valdred*100, 9, 6, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Valdred - Actionlist - Despawn'), +(@Valdred, 0, 1, 0, 54, 0, 100, 0, 0, 0, 0, 0, 75, 68442, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Valdred - On spawn - add aura state kneels'), +(@Marshal, 0, 0, 0, 62, 0, 100, 0, 12486, 0, 0, 0, 80, @Marshal*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Marshal - On Gossip Select - Actionlist'), +(@Marshal*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Marshal - Actionlist - Close gossip'), +(@Marshal*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 33, @Marshal, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Marshal - Actionlist - Credit quest'), +(@Marshal*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Marshal - Actionlist - Talk1'), +(@Marshal*100, 9, 4, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 1753.036621, 1613.100586, 113.051300, 2.014602, 'Marshal - Action list - Go to point'), +(@Marshal*100, 9, 6, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Marshal - Actionlist - Despawn'), +(@Lilian, 0, 0, 0, 62, 0, 100, 0, 12484, 0, 0, 0, 80, @Lilian*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - On Gossip Select - Actionlist'), +(@Lilian*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Close gossip'), +(@Lilian*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 33, @Lilian, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Credit quest'), +(@Lilian*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Talk1'), +(@Lilian*100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 17, 30, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Set state none'), +(@Lilian*100, 9, 4, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 1727.873535, 1629.106567, 118.862335, 5.497842, 'Lilian - Action list - Go to point'), +(@Lilian*100, 9, 6, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Despawn'), +(@Lilian, 0, 1, 0, 54, 0, 100, 0, 0, 0, 0, 0, 17, 431, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - On spawn - set emote state'); + +UPDATE `creature_template` SET `gossip_menu_id`=12487, `npcflag`=1 WHERE (`entry`=@Valdred); +UPDATE `creature_template` SET `gossip_menu_id`=12485, `npcflag`=1 WHERE (`entry`=@Marshal); +UPDATE `creature_template` SET `gossip_menu_id`=12483, `npcflag`=1 WHERE (`entry`=@Lilian); + +-- Valdred +UPDATE `npc_text` SET `BroadcastTextID0`=49348 WHERE `ID`=17569; +UPDATE `npc_text` SET `BroadcastTextID0`=49349 WHERE `ID`=17570; +UPDATE `npc_text` SET `BroadcastTextID0`=49350 WHERE `ID`=17571; + +DELETE FROM `gossip_menu` WHERE `entry`=12487 AND `text_id`=17569; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (12487,17569); +DELETE FROM `gossip_menu` WHERE `entry`=12488 AND `text_id`=17570; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (12488,17570); +DELETE FROM `gossip_menu` WHERE `entry`=12489 AND `text_id`=17571; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (12489,17571); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 12487; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`) VALUES (12487, 0, 0, 'Don''t you remember? You died.', 49352, 1, 1, 12488); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 12488; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`) VALUES (12488, 0, 0, 'Calm down, Valdred. Undertaker Mordo probably sewed some new ones on for you.', 49353, 1, 1, 12489); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 12489; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`) VALUES (12489, 0, 0, 'You talk to Undertaker Mordo. He''ll tell you what to do. That''s all I know.', 49354, 1, 1); +-- End Valdred + +-- Marshal +UPDATE `npc_text` SET `BroadcastTextID0`=49343 WHERE `ID`=17566; +UPDATE `npc_text` SET `BroadcastTextID0`=49344 WHERE `ID`=17567; + +DELETE FROM `gossip_menu` WHERE `entry`=12485 AND `text_id`=17566; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (12485,17566); +DELETE FROM `gossip_menu` WHERE `entry`=12486 AND `text_id`=17567; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (12486,17567); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 12485; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`) VALUES (12485, 0, 0, 'I''m not here to fight you. I''ve only been asked to speak with you.', 49346, 1, 1, 12486); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 12486; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`) VALUES (12486, 0, 0, 'You are free to do whatever you like.', 49347, 1, 1); +-- End Marshal + +-- Lilian +UPDATE `npc_text` set `BroadcastTextID0`=49334 WHERE `ID`=17564; +UPDATE `npc_text` set `BroadcastTextID0`=49335 WHERE `ID`=17565; + +DELETE FROM `gossip_menu` WHERE `entry`=12483 AND `text_id`=17564; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (12483,17564); +DELETE FROM `gossip_menu` WHERE `entry`=12484 AND `text_id`=17565; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (12484,17565); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 12483; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`) VALUES (12483, 0, 0, 'I''m not an abomination, I''m simply undead. I just want to speak with you.', 49339, 1, 1, 12484); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 12484; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`) VALUES (12484, 0, 0, 'Lilian, do you realize that you are undead yourself?', 49340, 1, 1); +-- End Lilian + +DELETE FROM `creature_text` WHERE `entry` IN (@Valdred, @Marshal, @Lilian); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Valdred, 0, 0, 'I see. Well then, let''s get to work, $n! The Dark Lady needs us, right?', 12, 0, 100, 1, 0, 0, 'Valdred', 49351), +(@Valdred, 1, 0, 'Valdred Moray, reporting for duty, sir!', 14, 0, 100, 1, 0, 0, 'Valdred', 49408), +(@Marshal, 0, 0, 'Who are you calling a monster? You''re the monster! I''m just a man who died.', 12, 0, 100, 1, 0, 0, 'Marshal', 49345), +(@Lilian, 0, 0, 'No. You''re lying! My father will protect me!', 12, 0, 100, 0, 0, 0, 'Lilian', 49337); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=12487; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,12487,0,0,9,24960,0,0,0,'','Show gossip menu if player accept The_Wakening'); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=12485; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,12485,0,0,9,24960,0,0,0,'','Show gossip menu if player accept The_Wakening'); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=12483; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,12483,0,0,9,24960,0,0,0,'','Show gossip menu if player accept The_Wakening'); +-- A Scarlet Letter 24979 + +SET @Lilian:= 38999; +SET @Gebler:= 39002; + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Lilian AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Lilian*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Gebler AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Gebler*100 AND `source_type` = 9; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Lilian; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@Gebler; + +DELETE FROM `waypoints` WHERE entry=@Gebler; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@Gebler,1, 2451.679932, 1590.894897, 72.156181, 'Joseph'), +(@Gebler,2, 2447.750977, 1587.760864, 72.156181, 'Joseph'), +(@Gebler,3, 2441.820068, 1590.969360, 72.156181, 'Joseph'), +(@Gebler,4, 2441.470703, 1597.166748, 72.156853, 'Joseph'); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Lilian, 0, 0, 0, 62, 0, 100, 0, 11136, 0, 0, 0, 80, @Lilian*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - On Gossip Select - Actionlist'), +(@Lilian*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Close gossip'), +(@Lilian*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Talk1'), +(@Lilian*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 2442.929932, 1600.719971, 72.155197, 3.880454, 'Lilian - action list - set orientation'), +(@Lilian*100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, @Gebler, 8, 6666, 0, 0, 0, 8, 0, 0, 0, 2444.511719, 1599.778687, 66.572655, 5.399958, 'Lilian - action list - Spawn Gebler'), +(@Lilian*100, 9, 4, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, @Gebler, 30, 0, 0, 0, 0, 0, 'Gebler - Action list - Talk2'), +(@Lilian*100, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Talk'), +(@Lilian*100, 9, 6, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, @Gebler, 30, 0, 0, 0, 0, 0, 'Gebler - Action list - Talk2'), +(@Lilian*100, 9, 7, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Talk'), +(@Lilian*100, 9, 8, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, @Gebler, 15, 0, 0, 0, 0, 0, 'Gebler - Action list - Talk2'), +(@Lilian*100, 9, 9, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, @Gebler, 15, 0, 0, 0, 0, 0, 'Gebler - Action list - Talk2'), +(@Lilian*100, 9, 10, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 11, 73304, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - cast spell'), +(@Lilian*100, 9, 11, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 11, 73453, 1, 0, 0, 0, 0, 19, @Gebler, 15, 0, 0, 0, 0, 0, 'Lilian - Actionlist - cast spell'), +(@Lilian*100, 9, 12, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 51, 0, 0, 0, 0, 0, 0, 19, @Gebler, 15, 0, 0, 0, 0, 0, 'Lilian - Actionlist - kill'), +(@Lilian*100, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 28, 73304, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - remove aura'), +-- (@Lilian*100, 9, 14, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 2442.929932, 1600.719971, 72.155197, 1.937310, 'Lilian - action list - Go to pos'), +(@Lilian*100, 9, 14, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Talk1'), +(@Lilian*100, 9, 15, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Talk1'), +(@Lilian*100, 9, 16, 0, 0, 0, 100, 0, 0, 0, 0, 0, 33, @Lilian, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - Credit quest'), +(@Lilian*100, 9, 17, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lilian - Actionlist - despawn'), + +(@Gebler, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 80,@Gebler*100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Gebler - On spawn - Action list'), +(@Gebler*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Lightfire - On Script - Set React Passive'), +(@Gebler*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0,1, 0, 0, 0, 0, 0, 0, 0, 'Lightfire - On Script - Set Immune To PC'), +(@Gebler*100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 53, 0, @Gebler, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Gebler - Action list - waypoint'); + +Delete from `creature_text` where `entry`= @Lilian; +Delete from `creature_text` where `entry`= @Gebler; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(@Lilian, 0, 0, 'Yes, my... wait, be quiet! I hear the lieutenant approaching.', 12, 0, 100, 0, 0, 0, 'Lilian', 39000), +(@Lilian, 1, 0, 'Gebler, you came! What did he say?', 12, 0, 100, 1, 0, 0, 'Lilian', 38994), +(@Lilian, 2, 0, 'What? NO! This can''t be! Gebler, you know me... we were friends once!', 12, 0, 100, 1, 0, 0, 'Lilian', 38996), +(@Lilian, 3, 0, 'Gebler, father, why would you...', 12, 0, 100, 1, 0, 0, 'Lilian', 39001), +(@Lilian, 4, 0, 'The world of the living may have turned its back on me, but I''m no damned Scourge. Just go.', 12, 0, 100, 1, 0, 0, 'Lilian', 38999), +(@Gebler, 0, 0, 'The time has come, my little captive... word has come back from your father.', 12, 0, 100, 0, 0, 0, 'Gebler', 38993), +(@Gebler, 1, 0, 'High Priest Voss denounces you as a daughter. He''s ordered that you be executed immediately.', 12, 0, 100, 1, 0, 0, 'Gebler', 38995), +(@Gebler, 2, 0, 'The High Priest sends his regrets. He had hoped that one day you would be a powerful weapon against our enemies.', 12, 0, 100, 1, 0, 0, 'Gebler', 38997), +(@Gebler, 3, 0, 'Unfortunately, you were too dangerous in life, and you''re far too dangerous in undeath. I will enjoy killing you, you Scourged witch...', 12, 0, 100, 1, 0, 0, 'Gebler', 38998); + +UPDATE `creature_template` SET `gossip_menu_id`=11134, npcflag=1 WHERE (`entry`=@Lilian); +-- Lilian +update npc_text set BroadcastTextID0=38985 where `ID`=15487; +update npc_text set BroadcastTextID0=38987 where `ID`=15488; +update npc_text set BroadcastTextID0=38990 where `ID`=15489; + +Delete from gossip_menu where `entry`=11134 and `text_id`=15487; +insert into gossip_menu (`entry`, `text_id`) values (11134, 15487); +Delete from gossip_menu where `entry`=11135 and `text_id`=15488; +insert into gossip_menu (`entry`, `text_id`) values (11135,15488); +Delete from gossip_menu where `entry`=11136 and `text_id`=15489; +insert into gossip_menu (`entry`, `text_id`) values (11136,15489); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 11134; +INSERT INTO `gossip_menu_option` (`menu_id`, id, option_icon, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`) +VALUES (11134, 0, 0, 'I''m here to rescue you.', 38986, 1, 1, 11135); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 11135; +INSERT INTO `gossip_menu_option` (`menu_id`, id, option_icon, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`) +VALUES (11135, 0, 0, 'Lilian, you''re one of the Forsaken, like me. Which brings the question: why did the Scarlet Crusade put you in a cage? They usually kill the undead on sight.', 38988, 1, 1, 11136); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 11136; +INSERT INTO `gossip_menu_option` (`menu_id`, id, option_icon, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`) +VALUES (11136, 0, 0, 'Your father?', 38991, 1, 1); +-- End Lilian +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=11134; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,11134,0,0,9,24979,0,0,0,'','Show gossip menu if player accept A Scarlet Letter'); + +DELETE FROM `creature_loot_template` WHERE `Entry`=1535 AND `Item`=52079; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(1535, 52079, 0, 75, 0, 1, 0, 1, 1, NULL); -- Scarlet Warrior, High +UPDATE `npc_text` SET `BroadcastTextID0`=38980 WHERE `ID`=15486; +DELETE FROM `gossip_menu` WHERE `entry`=11133 AND `text_id`=15486; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (11133,15486); +DELETE FROM `gossip_menu_option` WHERE `menu_id` = 11133; +INSERT INTO `gossip_menu_option` (`menu_id`, id, option_icon, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`) VALUES +(11133, 0, 0, 'You''re not hideous, Lilian... you''re one of us. Here, look in this mirror, see for yourself.', 38981, 1, 1); + +-- Lilian Voss SAI +SET @ENTRY := 38910; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,62,1,100,0,11133,0,0,0,80,@ENTRY*100+00,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Gossip Option 0 Selected - Run Script (Phase 1)"), +(@ENTRY,0,1,8,61,1,100,0,11133,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lilian Voss - On Gossip Option 0 Selected - Close Gossip (Phase 1)"), +(@ENTRY,0,2,3,62,2,100,0,11133,0,0,0,80,@ENTRY*100+01,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Gossip Option 0 Selected - Run Script (Phase 2)"), +(@ENTRY,0,3,9,61,2,100,0,11133,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lilian Voss - On Gossip Option 0 Selected - Close Gossip (Phase 2)"), +(@ENTRY,0,4,0,25,0,100,0,0,0,0,0,17,431,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Reset - Set Emote State 431"), +(@ENTRY,0,5,0,25,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Reset - Set Event Phase 1"), +(@ENTRY,0,6,0,40,0,100,0,11,@ENTRY*100+00,0,0,17,431,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Waypoint 11 Reached - Set Emote State 431"), +(@ENTRY,0,7,0,40,0,100,0,11,@ENTRY*100+01,0,0,17,431,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Waypoint 11 Reached - Set Emote State 431"), +(@ENTRY,0,8,0,61,0,100,0,11133,0,0,0,85,73210,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lilian Voss - On Gossip Option 0 Selected - Invoker Cast 'Show Mirror' (Phase 1)"), +(@ENTRY,0,9,0,61,0,100,0,11133,0,0,0,85,73210,0,0,0,0,0,7,0,0,0,0,0,0,0,"Lilian Voss - On Gossip Option 0 Selected - Invoker Cast 'Show Mirror' (Phase 1)"); + +DELETE FROM `creature_text` WHERE `entry`=38910 ; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(38910, 0, 0, 'You don''t understand... I CAN''T be undead! Not me, not now...', 12, 0, 100, 22, 0, 0, 'Lilian', 38982); + +-- Actionlist SAI +SET @ENTRY := 3891000; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,17,26,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Script - Set Emote State 26"), +(@ENTRY,9,1,0,0,0,100,0,2000,2000,2000,2000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Script - Say Line 0"), +(@ENTRY,9,2,0,0,0,100,0,2000,2000,2000,2000,33,38910,0,0,0,0,0,17,0,30,0,0,0,0,0,"Lilian Voss - On Script - Quest Credit 'The Truth of the Grave'"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,53,1,3891000,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Script - Start Waypoint"), +(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Script - Set Event Phase 2"); + +-- Actionlist SAI +SET @ENTRY := 3891001; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,9,0,0,0,0,100,0,0,0,0,0,17,26,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Script - Set Emote State 26"), +(@ENTRY,9,1,0,0,0,100,0,2000,2000,2000,2000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Script - Say Line 0"), +(@ENTRY,9,2,0,0,0,100,0,2000,2000,2000,2000,33,38910,0,0,0,0,0,17,0,30,0,0,0,0,0,"Lilian Voss - On Script - Quest Credit 'The Truth of the Grave'"), +(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,53,1,3891001,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Script - Start Waypoint"), +(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lilian Voss - On Script - Set Event Phase 1"); + +DELETE FROM `waypoints` WHERE entry=3891000; +INSERT INTO `waypoints`(entry, pointid, position_x, position_y, position_z) VALUES +(3891000, 1, 1857.42, 1561.47, 99.079), +(3891000, 2, 1864.89, 1574.94, 99.0361), +(3891000, 3, 1868.91, 1575.56, 97.5441), +(3891000, 4, 1875.28, 1574.12, 94.314), +(3891000, 5, 1875.91, 1572.36, 94.314), +(3891000, 6, 1873, 1570.42, 94.314), +(3891000, 7, 1868.25, 1568.28, 94.314), +(3891000, 8, 1864.41, 1567.87, 94.314), +(3891000, 9, 1861.8, 1563.51, 94.3124), +(3891000, 10, 1860.59, 1558.04, 94.782), +(3891000, 11, 1857.21, 1555.61, 94.7926); + +DELETE FROM `waypoints` WHERE entry=3891001; +INSERT INTO `waypoints`(entry, pointid, position_x, position_y, position_z) VALUES +(3891001, 11, 1854.83, 1555.63, 99.07), +(3891001, 10, 1857.42, 1561.47, 99.079), +(3891001, 9, 1864.89, 1574.94, 99.0361), +(3891001, 8, 1868.91, 1575.56, 97.5441), +(3891001, 7, 1875.28, 1574.12, 94.314), +(3891001, 6, 1875.91, 1572.36, 94.314), +(3891001, 5, 1873, 1570.42, 94.314), +(3891001, 4, 1868.25, 1568.28, 94.314), +(3891001, 3, 1864.41, 1567.87, 94.314), +(3891001, 2, 1861.8, 1563.51, 94.3124), +(3891001, 1, 1860.59, 1558.04, 94.782); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=11133; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(15,11133,0,0,9,24961,0,0,0,'','Show gossip if player has Quest: the-truth-of-the-grave'); +-- Tirisfal Farmhand SAI +SET @ENTRY := 1935; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tirisfal Farmhand - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,1,0,4,0,10,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,"Tirisfal Farmhand - On Aggro - Say Line 0"); + +-- Tirisfal Farmer SAI +SET @ENTRY := 1934; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tirisfal Farmer - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,4000,4500,12000,20000,11,80382,0,0,0,0,0,2,0,0,0,0,0,0,0,"Tirisfal Farmer - In Combat - Cast 'Cast Dirt Toss'"), +(@ENTRY,0,2,0,4,0,10,0,0,0,0,0,1,0,0,0,0,0,0,2,0,0,0,0,0,0,0,"Tirisfal Farmhand - On Aggro - Say Line 0"); + +DELETE FROM `creature_text` WHERE `entry` IN (1934, 1935); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1934, 0, 0, 'Get out of my kitchen!', 12, 0, 100, 0, 0, 0, 44544, 0, 'Tirisfal Farmer'), +(1934, 0, 1, 'Get back, $r!', 12, 0, 100, 0, 0, 0, 44542, 0, 'Tirisfal Farmer'), +(1934, 0, 2, 'No, no, no... you took my family, but you won''t take my land!', 12, 0, 100, 0, 0, 0, 44541, 0, 'Tirisfal Farmer'), +(1934, 0, 3, 'Why won''t you leave us alone?', 12, 0, 100, 0, 0, 0, 44543, 0, 'Tirisfal Farmer'), +-- +(1935, 0, 0, 'Get out of my kitchen!', 12, 0, 100, 0, 0, 0, 44544, 0, 'Tirisfal Farmhand'), +(1935, 0, 1, 'Get back, $r!', 12, 0, 100, 0, 0, 0, 44542, 0, 'Tirisfal Farmhand'), +(1935, 0, 2, 'No, no, no... you took my family, but you won''t take my land!', 12, 0, 100, 0, 0, 0, 44541, 0, 'Tirisfal Farmhand'), +(1935, 0, 3, 'Why won''t you leave us alone?', 12, 0, 100, 0, 0, 0, 44543, 0, 'Tirisfal Farmhand'); + +-- The Chef SAI +SET @ENTRY := 47405; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,120000,120000,120000,120000,53,0,47405,0,0,0,0,1,0,0,0,0,0,0,0,"The Chef - Out of Combat - Start Waypoint"), +(@ENTRY,0,1,2,40,0,100,0,2,47405,0,0,54,11000,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Chef - On Waypoint 2 Reached - Pause Waypoint"), +(@ENTRY,0,2,0,61,0,100,0,2,47405,0,0,17,233,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Chef - On Waypoint 2 Reached - Set Emote State 233"), +(@ENTRY,0,3,4,40,0,100,0,3,47405,0,0,54,10000,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Chef - On Waypoint 3 Reached - Pause Waypoint"), +(@ENTRY,0,4,0,61,0,100,0,3,47405,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Chef - On Waypoint 3 Reached - Set Emote State 69"), +(@ENTRY,0,5,0,40,0,100,0,4,47405,0,0,17,26,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Chef - On Waypoint 4 Reached - Set Emote State 26"); + +DELETE FROM `waypoints` WHERE `entry`=47405; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(47405, 1, 2259.79, 268.161, 33.6901, 'The Chef'), +(47405, 2, 2259.9, 267.349, 34.3857, 'The Chef'), +(47405, 3, 2260.2, 268.822, 33.6908, 'The Chef'), +(47405, 4, 2257.37, 269.111, 33.6908, 'The Chef'); + +-- Junior Apothecary Holland SAI +SET @ENTRY := 10665; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,60000,60000,60000,60000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Junior Apothecary Holland - Out of Combat - Say Line 0"); + +DELETE FROM `creature_text` WHERE `entry`=10665; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(10665, 0, 0, 'What could be taking so long?', 12, 0, 100, 0, 0, 0, 5955, 0, 'Junior Apothecary Holland'), +(10665, 0, 1, 'How long can it take to pick a handful of weeds?', 12, 0, 100, 0, 0, 0, 5956, 0, 'Junior Apothecary Holland'), +(10665, 0, 2, 'At this rate I could have gathered them myself!', 12, 0, 100, 0, 0, 0, 5957, 0, 'Junior Apothecary Holland'), +(10665, 0, 3, 'If you want something done right, do it yourself!', 12, 0, 100, 0, 0, 0, 5958, 0, 'Junior Apothecary Holland'), +(10665, 0, 4, 'As if I had all eternity.', 12, 0, 100, 0, 0, 0, 5959, 0, 'Junior Apothecary Holland'), +(10665, 0, 5, 'Ah, this must be him now... NO? Bah!', 12, 0, 100, 0, 0, 0, 5960, 0, 'Junior Apothecary Holland'), +(10665, 0, 6, 'Maybe I should have just bought SOME off of Faruza?', 12, 0, 100, 0, 0, 0, 5961, 0, 'Junior Apothecary Holland'), +(10665, 0, 7, 'I had TO go AND requisition an Abomination... an Abomination!', 12, 0, 100, 0, 0, 0, 5962, 0, 'Junior Apothecary Holland'); + +-- Gina Lang SAI +SET @ENTRY := 5750; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,11,11939,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gina Lang - On Reset - Cast 'Summon Imp'"); + +-- Apothecary Jerrod +DELETE FROM `gossip_menu` WHERE (`entry`=11144 AND `text_id`=15511); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(11144, 15511); -- 38977 + +DELETE FROM `gossip_menu_option` WHERE (`menu_id`=11144 AND `id`=0); +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `box_coded`, `box_money`, `box_text`) VALUES +(11144, 0, 0, 'Who''s the little guy?', 0, 0, ''); -- 38977 + +DELETE FROM `creature_template_addon` WHERE `entry`=1548; +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES +(1548, 0, 0x0, 0x1, ''); -- 1548 + +-- Scarlet Friar SAI +SET @ENTRY := 1538; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Friar - On Aggro - Say Line 0"), +(@ENTRY,0,1,0,2,0,100,0,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Friar - Between 0-15% Health - Flee For Assist"), +(@ENTRY,0,2,0,0,0,100,0,3000,4000,20000,25000,11,75967,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Friar - In Combat - Cast 'Whirlwind'"); + +-- Captain Vachon SAI +SET @ENTRY := 1664; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,0,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Vachon - Between 0-15% Health - Flee For Assist"), +(@ENTRY,0,1,0,0,0,100,0,4000,4000,6000,6000,11,79732,0,0,0,0,0,2,0,0,0,0,0,0,0,"Captain Vachon - In Combat - Cast 'Shield Bash'"), +(@ENTRY,0,2,0,0,0,100,0,3000,6000,8000,12000,11,12169,0,0,0,0,0,1,0,0,0,0,0,0,0,"Captain Vachon - In Combat - Cast 'Shield Block'"); + +-- Scarlet Vanguard SAI +SET @ENTRY := 1540; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Vanguard - On Aggro - Say Line 0"), +(@ENTRY,0,1,0,2,0,100,0,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Vanguard - Between 0-15% Health - Flee For Assist"), +(@ENTRY,0,2,0,4,0,100,0,0,0,0,0,75,7164,0,0,0,0,0,1,0,0,0,0,0,0,0,"Scarlet Vanguard - On Aggro - Add Aura 'Defensive Stance'"), +(@ENTRY,0,3,0,0,0,100,0,3000,6000,3000,6000,11,11972,0,0,0,0,0,2,0,0,0,0,0,0,0,"Scarlet Vanguard - In Combat - Cast 'Shield Bash'"); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=11194; -- Argent Defender <The Argent Dawn> +DELETE FROM `smart_scripts` WHERE `entryorguid` = 11194 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(11194, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 10000, 10000, 11, 12024, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '11194 - IC - CAST'), +(11194, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 6000, 6000, 11, 6660, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '11194 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=10356; -- Bayne +DELETE FROM `smart_scripts` WHERE `entryorguid` = 10356 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(10356, 0, 0, 0, 0, 0, 100, 0, 5000, 5000, 15000, 15000, 11, 13443, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '10356 - IC - CAST'), +(10356, 0, 1, 0, 0, 0, 100, 0, 3000, 3000, 20000, 20000, 11, 3604, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '10356 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI', `minlevel`=85, `maxlevel`=85 WHERE `entry`=51522; -- Bulwark Dreadguard (not spawned, wrong level and hp) +DELETE FROM `smart_scripts` WHERE `entryorguid` = 51522 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(51522, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 7000, 7000, 11, 95826, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '51522 - IC - CAST'), +(51522, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 5000, 5000, 11, 40505, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '51522 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1662; -- Captain Perrine +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1662 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1662, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 7000, 7000, 11, 12169, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '1662 - IC - CAST'), +(1662, 0, 1, 0, 0, 0, 100, 0, 15000, 15000, 15000, 15000, 11, 3019, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '1662 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1523; -- Cracked Skull Soldier +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1523 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1523, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 5000, 5000, 11, 84282, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1523 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1522; -- Darkeye Bonecaster +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1522 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1522, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 4000, 4000, 11, 13322, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1522 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1911; -- Deeb +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1911 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1911, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 4000, 4000, 11, 9532, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1911 - IC - CAST'), +(1911, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 6000, 6000, 11, 2607, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1911 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1936; -- Farmer Solliden +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1936 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1936, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 5000, 5000, 11, 11976, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1936 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=10358; -- Fellicent's Shade +DELETE FROM `smart_scripts` WHERE `entryorguid` = 10358 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(10358, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 5000, 5000, 11, 13901, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '10358 - IC - CAST'), +(10358, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 7000, 7000, 11, 11975, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '10358 - IC - CAST'), +(10358, 0, 2, 0, 0, 0, 100, 0, 1000, 1000, 10000, 10000, 11, 7068, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '10358 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=10666; -- Gordo +DELETE FROM `smart_scripts` WHERE `entryorguid` = 10666 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(10666, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 9000, 9000, 11, 59395, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '10666 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1521; -- Gretchen Dedmar +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1521 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1521, 0, 0, 0, 1, 1, 100, 0, 5000, 5000, 50000, 50000, 5, 18, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '1521 - ooc - play emote'), +(1521, 0, 1, 0, 63, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '1521 - IC - talk'); +DELETE FROM creature_text WHERE entry IN (1521); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(1521, 0, 0, 'So cold...', 12, 0, 100, 0, 0, 0, 'Gretchen Dedmar', 39007); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1527; -- Hungering Dead +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1527 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1527, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 5000, 5000, 11, 3234, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1527 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1531; -- Lost Soul +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1531 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1531, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 8000, 8000, 11, 7713, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1531 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1753; -- Maggot Eye +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1753 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1753, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 100000, 100000, 11, 3237, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1753 - IC - CAST'), +(1753, 0, 1, 0, 0, 0, 100, 0, 3000, 3000, 7000, 7000, 11, 3243, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1753 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1910; -- Muad +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1910 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1910, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 6000, 6000, 11, 11824, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1910 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1688; -- Night Web Matriarch +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1688 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1688, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 15000, 15000, 11, 11918, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1688 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1505; -- Night Web Spider +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1505 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1505, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 15000, 15000, 11, 6751, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1505 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=39049; -- Plagued Bruin +DELETE FROM `smart_scripts` WHERE `entryorguid` = 39049 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(39049, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 6000, 6000, 11, 16827, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '39049 - IC - CAST'), +(39049, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 11000, 11000, 11, 3242, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '39049 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1890; -- Rattlecage Skeleton +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1890 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1890, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 15000, 15000, 11, 81219, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, '1890 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1520; -- Rattlecage Soldier +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1520 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1520, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 7000, 7000, 11, 84282, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1520 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1526; -- Ravaged Corpse +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1526 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1526, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 7000, 7000, 11, 3234, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1526 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1549; -- Ravenous Darkhound +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1549 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1549, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 13000, 13000, 11, 82797, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1549 - IC - CAST'), +(1549, 0, 1, 0, 0, 0, 100, 0, 5000, 5000, 7000, 7000, 11, 17253, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1549 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1941; -- Rot Hide Graverobber +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1941 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1941, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 120000, 120000, 11, 3234, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1941 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1675; -- Rot Hide Mongrel +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1675 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1675, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 120000, 120000, 11, 3237, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1675 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1525; -- Rotting Dead +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1525 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1525, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 8000, 8000, 11, 3234, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1525 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=4282; -- Scarlet Magician +DELETE FROM `smart_scripts` WHERE `entryorguid` = 4282 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(4282, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 4000, 4000, 11, 9053, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '4282 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1528; -- Shambling Horror +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1528 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1528, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 8000, 8000, 11, 3234, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1528 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=10359; -- Sri'skulk +DELETE FROM `smart_scripts` WHERE `entryorguid` = 10359 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(10359, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 15000, 15000, 11, 3583, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '10359 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1533; -- Tormented Spirit +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1533 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1533, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 13000, 13000, 11, 7713, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1533 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1545; -- Vile Fin Muckdweller +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1545 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1545, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 8000, 8000, 11, 7159, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1545 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1532; -- Wandering Spirit +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1532 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1532, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 13000, 13000, 11, 7713, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1532 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1655; -- Nissa Agamand +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1655 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1655, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 17000, 17000, 11, 51897, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1532 - IC - CAST'), +(1655, 0, 1, 0, 0, 0, 100, 0, 2000, 2000, 3000, 3000, 11, 28993, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1532 - IC - CAST'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=1657; -- Devlin Agamand +DELETE FROM `smart_scripts` WHERE `entryorguid` = 1657 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1657, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 4000, 4000, 11, 34447, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1657 - IC - CAST'), +(1657, 0, 1, 0, 4, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '1657 - on aggro - Talk'); +DELETE FROM creature_text WHERE entry IN (1657); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(1657, 0, 0, 'Here to visit the family? Die, fool!', 12, 0, 100, 0, 0, 0, 'Devlin Agamand', 574), +(1657, 0, 1, 'The Agamand Mills is held by the Scourge, $c. Join us!', 12, 0, 100, 0, 0, 0, 'Devlin Agamand', 575); +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (1935, 1934, 1548); + +-- scarlet guys +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (1935, 1934, 1548); +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `guid` IN (325236, 325228, 325221, 325113, 325115, 325110, 325116, 325214, 325209, 325238, 325237, 325233, 325240, 325239, 325357); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (1535); +DELETE FROM `creature_addon` WHERE `guid` IN (325213, 325211, 325212, 325210, 325235, 325234); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(325234, 0, 0, 0, 1, 418, ''), +(325235, 0, 0, 0, 1, 418, ''), +-- sleep +(325210, 0, 0, 3, 1, 0, ''), +(325212, 0, 0, 3, 1, 0, ''), +-- kneel +(325211, 0, 0, 8, 1, 0, ''), +(325213, 0, 0, 8, 1, 0, ''); + +-- talking guys +UPDATE `creature_template_addon` SET `emote`=1 WHERE `entry` IN (48612, 48614, 48613, 48616, 48618, 48615); + +-- Deathguard Swollow +UPDATE `creature_template_addon` SET `path_id`=391960 WHERE `entry`=39196; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325669; +DELETE FROM `waypoint_data` WHERE `id`=391960; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(391960, 1, 2243.38, 1014.55, 36.9146, 0, 0, 0, 0, 100, 0), +(391960, 2, 2254, 1021.82, 36.4536, 0, 0, 0, 0, 100, 0), +(391960, 3, 2260.91, 1010.9, 36.4385, 0, 0, 0, 0, 100, 0), +(391960, 4, 2251.37, 1003.8, 36.5095, 0, 0, 0, 0, 100, 0); + +-- Gordo +UPDATE `creature_template_addon` SET `path_id`=3256280 WHERE `entry`=10666; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325628; +DELETE FROM `waypoint_data` WHERE `id`=3256280; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3256280, 1, 2220.16, 1034.98, 35.4363, 0, 0, 0, 0, 100, 0), +(3256280, 2, 2215.4, 1034.4, 35.4941, 0, 0, 0, 0, 100, 0), +(3256280, 3, 2210.6, 1032.61, 35.5099, 0, 0, 0, 0, 100, 0), +(3256280, 4, 2212.62, 1038.43, 34.859, 0, 0, 0, 0, 100, 0), +(3256280, 5, 2211.79, 1034.79, 35.322, 0, 0, 0, 0, 100, 0), +(3256280, 6, 2212.88, 1038.84, 34.8025, 0, 0, 0, 0, 100, 0), +(3256280, 7, 2211.61, 1034.22, 35.3814, 0, 0, 0, 0, 100, 0), +(3256280, 8, 2217.5, 1035.07, 35.4439, 0, 0, 0, 0, 100, 0), +(3256280, 9, 2222.84, 1034.61, 35.5158, 0, 0, 0, 0, 100, 0), +(3256280, 10, 2228.76, 1032.47, 35.7824, 0, 0, 0, 0, 100, 0), +(3256280, 11, 2239.25, 1024.1, 36.4546, 0, 0, 0, 0, 100, 0), +(3256280, 12, 2243.63, 1018.43, 36.6652, 0, 0, 0, 0, 100, 0), +(3256280, 13, 2243.18, 1004.55, 36.5792, 0, 0, 0, 0, 100, 0), +(3256280, 14, 2232.18, 994.276, 36.727, 0, 0, 0, 0, 100, 0), +(3256280, 15, 2241.75, 1006.5, 36.6768, 0, 0, 0, 0, 100, 0), +(3256280, 16, 2243.38, 1017.61, 36.7298, 0, 0, 0, 0, 100, 0), +(3256280, 17, 2240.62, 1023.92, 36.4588, 0, 0, 0, 0, 100, 0), +(3256280, 18, 2226.9, 1033.25, 35.6483, 0, 0, 0, 0, 100, 0); + +-- apothecary Johaan +UPDATE `creature_template_addon` SET `emote`=69 WHERE `entry`=1518; + +-- old dogs, +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (1935, 1548); + +-- Sahvan Bloodshadow +UPDATE `creature_template_addon` SET `path_id`=3263920 WHERE `entry`=2314; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=326392; +DELETE FROM `waypoint_data` WHERE `id`=3263920; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3263920, 1, 2370.84, 398.24, 37.7116, 0, 0, 0, 0, 100, 0), +(3263920, 2, 2370.96, 397.113, 37.7004, 0, 10000, 0, 0, 100, 0), +(3263920, 3, 2357.77, 397.081, 36.1473, 0, 0, 0, 0, 100, 0), +(3263920, 4, 2346.2, 396.934, 34.3625, 0, 0, 0, 0, 100, 0), +(3263920, 5, 2330.81, 397.436, 33.6671, 0, 0, 0, 0, 100, 0), +(3263920, 6, 2314.83, 397.266, 33.8284, 0, 0, 0, 0, 100, 0), +(3263920, 7, 2286.51, 395.088, 34.04, 0, 0, 0, 0, 100, 0), +(3263920, 8, 2283.19, 389.599, 34.1145, 0, 0, 0, 0, 100, 0), +(3263920, 9, 2284.4, 366.985, 34.0099, 0, 0, 0, 0, 100, 0), +(3263920, 10, 2285.11, 355.211, 33.4897, 0, 0, 0, 0, 100, 0), +(3263920, 11, 2276.64, 329.606, 33.4725, 0, 0, 0, 0, 100, 0), +(3263920, 12, 2267.65, 309.841, 33.39, 0, 0, 0, 0, 100, 0), +(3263920, 13, 2261.81, 294.095, 33.5874, 0, 0, 0, 0, 100, 0), +(3263920, 14, 2255.37, 279.841, 33.6177, 0, 0, 0, 0, 100, 0), +(3263920, 15, 2251.42, 271.001, 33.6544, 0, 0, 0, 0, 100, 0), +(3263920, 16, 2246.26, 255.368, 33.5888, 0, 0, 0, 0, 100, 0), +(3263920, 17, 2246.4, 256.044, 33.5888, 0, 35000, 0, 0, 100, 0), +(3263920, 18, 2249.04, 265.982, 33.5274, 0, 0, 0, 0, 100, 0), +(3263920, 19, 2251.42, 269.81, 33.6628, 0, 0, 0, 0, 100, 0), +(3263920, 20, 2254.47, 269.633, 33.6891, 0, 6000, 0, 0, 100, 0), +(3263920, 21, 2258.93, 281.805, 33.6868, 0, 0, 0, 0, 100, 0), +(3263920, 22, 2263.5, 294.315, 33.6907, 0, 0, 0, 0, 100, 0), +(3263920, 23, 2273.85, 320.603, 33.4459, 0, 0, 0, 0, 100, 0), +(3263920, 24, 2270.71, 329.529, 33.5747, 0, 0, 0, 0, 100, 0), +(3263920, 25, 2267.91, 329.632, 33.5747, 0, 6000, 0, 0, 100, 0), +(3263920, 26, 2273.2, 336.752, 33.516, 0, 0, 0, 0, 100, 0), +(3263920, 27, 2282.98, 348.796, 33.4146, 0, 0, 0, 0, 100, 0), +(3263920, 28, 2284, 367.676, 34.0457, 0, 0, 0, 0, 100, 0), +(3263920, 29, 2283.6, 389.49, 34.1162, 0, 0, 0, 0, 100, 0), +(3263920, 30, 2286.63, 395.716, 34.0437, 0, 0, 0, 0, 100, 0), +(3263920, 31, 2314.79, 397.905, 33.8502, 0, 0, 0, 0, 100, 0), +(3263920, 32, 2342.56, 397.335, 33.8829, 0, 0, 0, 0, 100, 0), +(3263920, 33, 2362.75, 397.583, 37.0283, 0, 0, 0, 0, 100, 0); + +UPDATE `creature_template_addon` SET `path_id`=3267980 WHERE `entry`=1738; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=326798; +DELETE FROM `waypoint_data` WHERE `id`=3267980; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3267980, 1, 2208.81, 255.006, 33.5904, 0, 20000, 0, 0, 100, 0), +(3267980, 2, 2204.52, 246.84, 33.8546, 0, 0, 0, 0, 100, 0), +(3267980, 3, 2187.11, 235.962, 35.7584, 0, 0, 0, 0, 100, 0), +(3267980, 4, 2163.87, 217.6, 41.1689, 0, 0, 0, 0, 100, 0), +(3267980, 5, 2161.54, 184.956, 42.2037, 0, 0, 0, 0, 100, 0), +(3267980, 6, 2159.69, 180.296, 41.8648, 0, 0, 0, 0, 100, 0), +(3267980, 7, 2142.63, 168.91, 38.9447, 0, 0, 0, 0, 100, 0), +(3267980, 8, 2115.97, 157.508, 36.3402, 0, 0, 0, 0, 100, 0), +(3267980, 9, 2109.29, 155.459, 35.9326, 0, 0, 0, 0, 100, 0), +(3267980, 10, 2086.22, 153.437, 34.7756, 0, 0, 0, 0, 100, 0), +(3267980, 11, 2068.77, 153.353, 34.0094, 0, 0, 0, 0, 100, 0), +(3267980, 12, 2049.71, 160.292, 33.7197, 0, 15000, 0, 0, 100, 0), +(3267980, 13, 2064.74, 154.845, 33.8402, 0, 0, 0, 0, 100, 0), +(3267980, 14, 2081.87, 153.482, 34.5686, 0, 0, 0, 0, 100, 0), +(3267980, 15, 2101.45, 154.372, 35.5246, 0, 0, 0, 0, 100, 0), +(3267980, 16, 2126.23, 162.268, 37.3845, 0, 0, 0, 0, 100, 0), +(3267980, 17, 2152.1, 174.657, 40.5715, 0, 0, 0, 0, 100, 0), +(3267980, 18, 2159.02, 180.437, 41.7866, 0, 0, 0, 0, 100, 0), +(3267980, 19, 2161.63, 205.745, 42.6787, 0, 0, 0, 0, 100, 0), +(3267980, 20, 2162.9, 213.743, 41.7645, 0, 0, 0, 0, 100, 0), +(3267980, 21, 2166.28, 219.463, 40.6148, 0, 0, 0, 0, 100, 0), +(3267980, 22, 2185.87, 235.122, 35.971, 0, 0, 0, 0, 100, 0), +(3267980, 23, 2213.15, 251.347, 33.5752, 0, 0, 0, 0, 100, 0), +(3267980, 24, 2210.77, 256.311, 33.5751, 0, 0, 0, 0, 100, 0); + +UPDATE `creature_template_addon` SET `path_id`=3261580 WHERE `entry`=3547; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=326158; +DELETE FROM `waypoint_data` WHERE `id`=3261580; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3261580, 1, 2282.96, 390.353, 34.1148, 0, 0, 0, 0, 100, 0), +(3261580, 2, 2283.21, 366.093, 33.9823, 0, 0, 0, 0, 100, 0), +(3261580, 3, 2277.23, 340.521, 33.5585, 0, 0, 0, 0, 100, 0), +(3261580, 4, 2271.72, 320.467, 33.5215, 0, 0, 0, 0, 100, 0), +(3261580, 5, 2259.02, 296.954, 33.4113, 0, 0, 0, 0, 100, 0), +(3261580, 6, 2246.64, 283.456, 33.3787, 0, 0, 0, 0, 100, 0), +(3261580, 7, 2234.61, 278.976, 33.5738, 0, 0, 0, 0, 100, 0), +(3261580, 8, 2221.18, 265.665, 33.5843, 0, 0, 0, 0, 100, 0), +(3261580, 9, 2202.13, 246.259, 34.1629, 0, 0, 0, 0, 100, 0), +(3261580, 10, 2185.68, 237.15, 35.9575, 0, 0, 0, 0, 100, 0), +(3261580, 11, 2183.74, 233.823, 36.373, 0, 0, 0, 0, 100, 0), +(3261580, 12, 2188.96, 235.069, 35.5176, 0, 0, 0, 0, 100, 0), +(3261580, 13, 2209.74, 247.37, 33.5862, 0, 0, 0, 0, 100, 0), +(3261580, 14, 2230.87, 259.763, 33.5739, 0, 0, 0, 0, 100, 0), +(3261580, 15, 2245.32, 261.246, 33.4651, 0, 0, 0, 0, 100, 0), +(3261580, 16, 2249.1, 279.006, 33.3799, 0, 0, 0, 0, 100, 0), +(3261580, 17, 2261.92, 297.294, 33.5376, 0, 0, 0, 0, 100, 0), +(3261580, 18, 2272.11, 319.848, 33.476, 0, 0, 0, 0, 100, 0), +(3261580, 19, 2279.31, 344.857, 33.5522, 0, 0, 0, 0, 100, 0), +(3261580, 20, 2283.87, 366.326, 33.9772, 0, 0, 0, 0, 100, 0), +(3261580, 21, 2284.53, 390.846, 34.1125, 0, 0, 0, 0, 100, 0), +(3261580, 22, 2287.03, 395.704, 34.0355, 0, 0, 0, 0, 100, 0), +(3261580, 23, 2315.81, 396.56, 33.7449, 0, 0, 0, 0, 100, 0), +(3261580, 24, 2331.1, 395.938, 33.6668, 0, 0, 0, 0, 100, 0), +(3261580, 25, 2337.62, 392.279, 33.6673, 0, 0, 0, 0, 100, 0), +(3261580, 26, 2360.04, 359.752, 37.9193, 0, 0, 0, 0, 100, 0), +(3261580, 27, 2361.54, 352.919, 37.9542, 0, 0, 0, 0, 100, 0), +(3261580, 28, 2362.89, 351.553, 37.9576, 0, 0, 0, 0, 100, 0), +(3261580, 29, 2357.26, 365.273, 37.3017, 0, 0, 0, 0, 100, 0), +(3261580, 30, 2353.16, 375.067, 35.6998, 0, 0, 0, 0, 100, 0), +(3261580, 31, 2336.31, 398.609, 33.667, 0, 0, 0, 0, 100, 0), +(3261580, 32, 2317.42, 398.008, 33.667, 0, 0, 0, 0, 100, 0), +(3261580, 33, 2287.33, 396.612, 34.0165, 0, 0, 0, 0, 100, 0), +(3261580, 34, 2282.92, 397.991, 34.0191, 0, 0, 0, 0, 100, 0), +(3261580, 35, 2278.45, 412.452, 33.8723, 0, 0, 0, 0, 100, 0), +(3261580, 36, 2277.29, 427.822, 33.94, 0, 0, 0, 0, 100, 0), +(3261580, 37, 2274.43, 430.901, 33.9814, 0, 0, 0, 0, 100, 0), +(3261580, 38, 2274.19, 425.889, 33.9729, 0, 0, 0, 0, 100, 0), +(3261580, 39, 2278.26, 412.01, 33.8726, 0, 0, 0, 0, 100, 0); + +UPDATE `creature_template_addon` SET `path_id`=3263940 WHERE `entry`=1742; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=326394; +DELETE FROM `waypoint_data` WHERE `id`=3263940; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3263940, 1, 2427.29, 343.707, 34.6791, 0, 120000, 0, 0, 100, 0), +(3263940, 2, 2424.49, 357.788, 33.8811, 0, 0, 0, 0, 100, 0), +(3263940, 3, 2414.58, 366.685, 33.9739, 0, 0, 0, 0, 100, 0), +(3263940, 4, 2403.27, 382.786, 33.8938, 0, 0, 0, 0, 100, 0), +(3263940, 5, 2393.81, 402.025, 33.8906, 0, 0, 0, 0, 100, 0), +(3263940, 6, 2388.06, 416.934, 33.8906, 0, 0, 0, 0, 100, 0), +(3263940, 7, 2384.33, 422.386, 33.9003, 0, 0, 0, 0, 100, 0), +(3263940, 8, 2377.16, 427.586, 34.0532, 0, 0, 0, 0, 100, 0), +(3263940, 9, 2369.87, 430.024, 33.6414, 0, 0, 0, 0, 100, 0), +(3263940, 10, 2366.1, 431.249, 33.5516, 0, 0, 0, 0, 100, 0), +(3263940, 11, 2362.42, 428.377, 33.5516, 0, 0, 0, 0, 100, 0), +(3263940, 12, 2357.18, 428.15, 33.436, 0, 0, 0, 0, 100, 0), +(3263940, 13, 2352.71, 429.819, 33.3357, 0, 0, 0, 0, 100, 0), +(3263940, 14, 2341.59, 418.001, 33.6679, 0, 0, 0, 0, 100, 0), +(3263940, 15, 2340.03, 413.245, 33.6676, 0, 0, 0, 0, 100, 0), +(3263940, 16, 2338.77, 401.993, 33.6676, 0, 0, 0, 0, 100, 0), +(3263940, 17, 2334.18, 397.699, 33.6676, 0, 0, 0, 0, 100, 0), +(3263940, 18, 2317.49, 397.706, 33.6676, 0, 0, 0, 0, 100, 0), +(3263940, 19, 2293.24, 396.714, 34.0162, 0, 0, 0, 0, 100, 0), +(3263940, 20, 2290.19, 392.574, 34.0859, 0, 0, 0, 0, 100, 0), +(3263940, 21, 2289.16, 393.135, 34.0749, 0, 120000, 0, 0, 100, 0), +(3263940, 40, 2424.49, 357.788, 33.8811, 0, 0, 0, 0, 100, 0), +(3263940, 39, 2414.58, 366.685, 33.9739, 0, 0, 0, 0, 100, 0), +(3263940, 38, 2403.27, 382.786, 33.8938, 0, 0, 0, 0, 100, 0), +(3263940, 37, 2393.81, 402.025, 33.8906, 0, 0, 0, 0, 100, 0), +(3263940, 36, 2388.06, 416.934, 33.8906, 0, 0, 0, 0, 100, 0), +(3263940, 35, 2384.33, 422.386, 33.9003, 0, 0, 0, 0, 100, 0), +(3263940, 34, 2377.16, 427.586, 34.0532, 0, 0, 0, 0, 100, 0), +(3263940, 33, 2369.87, 430.024, 33.6414, 0, 0, 0, 0, 100, 0), +(3263940, 32, 2366.1, 431.249, 33.5516, 0, 0, 0, 0, 100, 0), +(3263940, 31, 2362.42, 428.377, 33.5516, 0, 0, 0, 0, 100, 0), +(3263940, 30, 2357.18, 428.15, 33.436, 0, 0, 0, 0, 100, 0), +(3263940, 29, 2352.71, 429.819, 33.3357, 0, 0, 0, 0, 100, 0), +(3263940, 28, 2341.59, 418.001, 33.6679, 0, 0, 0, 0, 100, 0), +(3263940, 27, 2340.03, 413.245, 33.6676, 0, 0, 0, 0, 100, 0), +(3263940, 26, 2338.77, 401.993, 33.6676, 0, 0, 0, 0, 100, 0), +(3263940, 25, 2334.18, 397.699, 33.6676, 0, 0, 0, 0, 100, 0), +(3263940, 24, 2317.49, 397.706, 33.6676, 0, 0, 0, 0, 100, 0), +(3263940, 23, 2293.24, 396.714, 34.0162, 0, 0, 0, 0, 100, 0), +(3263940, 22, 2290.19, 392.574, 34.0859, 0, 0, 0, 0, 100, 0); + +-- rndmmovement for bats and zombies +UPDATE `creature` SET `spawndist`=7, `MovementType`=1 WHERE `id` IN (2311, 1526, 1525, 1553, 1547, 10357); +UPDATE `creature_template_addon` SET `emote`=233 WHERE `entry`=2135; +UPDATE `creature_template_addon` SET `emote`=69 WHERE `entry`=1499; -- Magister Sevren +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `id` IN (53526, 620, 1527, 39049, 1520, 1549, 1674, 1941, 1530, 1536, 4281, 4283, 4282, 1528, 51964, 51965, 51961, 1554, 1555, 1545, 1543, 1544, 1541, 1534, 1532, 1531, 1522, 1523, 1656, 1675, 1529); + +UPDATE `creature_template_addon` SET `path_id`=3257150 WHERE `entry`=1533; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325715; +DELETE FROM `waypoint_data` WHERE `id`=3257150; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3257150, 1, 2745.419922, 978.708984, 109.392998, 0, 0, 0, 0, 100, 0), +(3257150, 2, 2765.810059, 993.661743, 109.732834, 0, 0, 0, 0, 100, 0), +(3257150, 3, 2774.722900, 1021.454529, 108.534164, 0, 0, 0, 0, 100, 0), +(3257150, 4, 2777.558838, 1045.788696, 108.904297, 0, 0, 0, 0, 100, 0), +(3257150, 5, 2794.649170, 1049.257568, 110.820305, 0, 0, 0, 0, 100, 0), +(3257150, 6, 2814.373047, 1046.770996, 110.820305, 0, 0, 0, 0, 100, 0), +(3257150, 7, 2839.627197, 1051.084717, 111.511284, 0, 0, 0, 0, 100, 0), +(3257150, 8, 2886.339600, 1065.823364, 105.970253, 0, 0, 0, 0, 100, 0), +(3257150, 9, 2891.578613, 1055.620850, 105.705093, 0, 0, 0, 0, 100, 0), +(3257150, 10, 2895.504150, 1029.036011, 107.049751, 0, 0, 0, 0, 100, 0), +(3257150, 11, 2898.632813, 979.230530, 113.568359, 0, 0, 0, 0, 100, 0), +(3257150, 12, 2899.541260, 957.061768, 115.106735, 0, 0, 0, 0, 100, 0), +(3257150, 13, 2908.080078, 932.908630, 114.917854, 0, 0, 0, 0, 100, 0), +(3257150, 14, 2905.685791, 923.912354, 114.982185, 0, 0, 0, 0, 100, 0), +(3257150, 15, 2893.146240, 913.490784, 114.658241, 0, 0, 0, 0, 100, 0), +(3257150, 16, 2855.242432, 880.518799, 112.352898, 0, 0, 0, 0, 100, 0), +(3257150, 17, 2826.591553, 864.780823, 111.842575, 0, 0, 0, 0, 100, 0), +(3257150, 18, 2802.163330, 864.498779, 111.841164, 0, 0, 0, 0, 100, 0), +(3257150, 19, 2773.511475, 880.237610, 111.774582, 0, 0, 0, 0, 100, 0), +(3257150, 20, 2752.895996, 899.921692, 111.763412, 0, 0, 0, 0, 100, 0), +(3257150, 21, 2736.951904, 942.523987, 109.499664, 0, 0, 0, 0, 100, 0), +(3257150, 22, 2734.885498, 956.346741, 109.242607, 0, 0, 0, 0, 100, 0), +(3257150, 23, 2737.154541, 972.515198, 109.242020, 0, 0, 0, 0, 100, 0); + +UPDATE `creature_template_addon` SET `path_id`=3257480 WHERE `entry`=5725; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325748; +DELETE FROM `waypoint_data` WHERE `id`=3257480; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3257480, 1, 2129.376709, 953.351624, 29.058704, 0, 0, 0, 0, 100, 0), +(3257480, 2, 2104.569580, 878.170593, 32.416527, 0, 0, 0, 0, 100, 0), +(3257480, 3, 2093.044434, 813.923157, 33.563000, 0, 0, 0, 0, 100, 0), +(3257480, 4, 2093.758057, 767.299744, 33.564106, 0, 0, 0, 0, 100, 0), +(3257480, 5, 2101.969971, 750.510376, 33.560898, 0, 0, 0, 0, 100, 0), +(3257480, 6, 2167.280518, 694.103760, 33.355125, 0, 0, 0, 0, 100, 0), +(3257480, 7, 2180.792480, 682.982788, 33.393795, 0, 0, 0, 0, 100, 0), +(3257480, 8, 2239.743652, 601.869629, 33.333622, 0, 0, 0, 0, 100, 0), +(3257480, 9, 2261.292969, 541.476624, 33.534515, 0, 0, 0, 0, 100, 0), +(3257480, 10, 2255.469482, 505.762604, 34.113213, 0, 0, 0, 0, 100, 0), +(3257480, 11, 2275.757813, 426.780182, 33.952923, 0, 0, 0, 0, 100, 0), +(3257480, 12, 2283.910156, 385.661133, 34.126793, 0, 0, 0, 0, 100, 0), +(3257480, 13, 2285.265381, 348.391113, 33.624481, 0, 0, 0, 0, 100, 0), +(3257480, 14, 2273.001953, 315.611206, 33.431656, 0, 0, 0, 0, 100, 0), +(3257480, 15, 2255.712402, 290.769836, 33.507896, 0, 0, 0, 0, 100, 0), +(3257480, 16, 2232.237549, 275.507813, 33.573711, 0, 0, 0, 0, 100, 0), +(3257480, 17, 2207.864746, 248.755692, 33.631718, 0, 0, 0, 0, 100, 0), +(3257480, 18, 2173.530518, 226.758133, 38.763466, 0, 0, 0, 0, 100, 0), +(3257480, 19, 2164.428711, 214.597580, 41.493935, 0, 0, 0, 0, 100, 0), +(3257480, 20, 2160.420410, 183.353714, 41.991291, 0, 0, 0, 0, 100, 0), +(3257480, 21, 2143.672607, 170.800919, 39.302605, 0, 0, 0, 0, 100, 0), +(3257480, 22, 2120.702393, 159.453781, 36.839264, 0, 0, 0, 0, 100, 0), +(3257480, 23, 2090.853027, 153.441589, 34.950005, 0, 0, 0, 0, 100, 0), +(3257480, 24, 2067.516357, 154.855606, 33.928402, 0, 0, 0, 0, 100, 0), +(3257480, 25, 2045.528687, 162.187668, 33.877983, 0, 0, 0, 0, 100, 0), +(3257480, 26, 2067.516357, 154.855606, 33.928402, 0, 0, 0, 0, 100, 0), +(3257480, 27, 2090.853027, 153.441589, 34.950005, 0, 0, 0, 0, 100, 0), +(3257480, 28, 2120.702393, 159.453781, 36.839264, 0, 0, 0, 0, 100, 0), +(3257480, 29, 2143.672607, 170.800919, 39.302605, 0, 0, 0, 0, 100, 0), +(3257480, 30, 2160.420410, 183.353714, 41.991291, 0, 0, 0, 0, 100, 0), +(3257480, 31, 2164.428711, 214.597580, 41.493935, 0, 0, 0, 0, 100, 0), +(3257480, 32, 2173.530518, 226.758133, 38.763466, 0, 0, 0, 0, 100, 0), +(3257480, 33, 2207.864746, 248.755692, 33.631718, 0, 0, 0, 0, 100, 0), +(3257480, 34, 2232.237549, 275.507813, 33.573711, 0, 0, 0, 0, 100, 0), +(3257480, 35, 2255.712402, 290.769836, 33.507896, 0, 0, 0, 0, 100, 0), +(3257480, 36, 2273.001953, 315.611206, 33.431656, 0, 0, 0, 0, 100, 0), +(3257480, 37, 2285.265381, 348.391113, 33.624481, 0, 0, 0, 0, 100, 0), +(3257480, 38, 2283.910156, 385.661133, 34.126793, 0, 0, 0, 0, 100, 0), +(3257480, 39, 2275.757813, 426.780182, 33.952923, 0, 0, 0, 0, 100, 0), +(3257480, 40, 2255.469482, 505.762604, 34.113213, 0, 0, 0, 0, 100, 0), +(3257480, 41, 2261.292969, 541.476624, 33.534515, 0, 0, 0, 0, 100, 0), +(3257480, 42, 2239.743652, 601.869629, 33.333622, 0, 0, 0, 0, 100, 0), +(3257480, 43, 2180.792480, 682.982788, 33.393795, 0, 0, 0, 0, 100, 0), +(3257480, 44, 2167.280518, 694.103760, 33.355125, 0, 0, 0, 0, 100, 0), +(3257480, 45, 2101.969971, 750.510376, 33.560898, 0, 0, 0, 0, 100, 0), +(3257480, 46, 2093.758057, 767.299744, 33.564106, 0, 0, 0, 0, 100, 0), +(3257480, 47, 2093.044434, 813.923157, 33.563000, 0, 0, 0, 0, 100, 0), +(3257480, 48, 2104.569580, 878.170593, 32.416527, 0, 0, 0, 0, 100, 0), +(3257480, 49, 2129.376709, 953.351624, 29.058704, 0, 0, 0, 0, 100, 0), +(3257480, 50, 2187.656250, 1044.816895, 29.563383, 0, 0, 0, 0, 100, 0); + +-- Pathing for Entry: 11194 'TDB FORMAT' +SET @NPC := 327599; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1752.673,`position_y`=-714.7821,`position_z`=60.37662 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1752.673,-714.7821,60.37662,0,0,0,0,100,0), +(@PATH,2,1736.573,-714.5442,60.15818,0,0,0,0,100,0), +(@PATH,3,1714.988,-712.9315,55.49191,0,0,0,0,100,0), +(@PATH,4,1724.267,-713.0399,59.70621,0,0,0,0,100,0), +(@PATH,5,1725.058,-713.2177,59.80788,0,0,0,0,100,0), +(@PATH,6,1736.737,-714.7726,60.35667,0,0,0,0,100,0), +(@PATH,7,1752.949,-714.8248,60.39524,0,0,0,0,100,0), +(@PATH,8,1773.094,-713.1844,60.37144,0,0,0,0,100,0), +(@PATH,9,1788.519,-725.1661,59.74324,0,0,0,0,100,0), +(@PATH,10,1786.503,-723.2821,60.24324,0,0,0,0,100,0), +(@PATH,11,1784.11,-721.4037,60.33015,0,0,0,0,100,0), +(@PATH,12,1772.887,-713.1495,60.40531,0,0,0,0,100,0), +(@PATH,13,1752.611,-714.7417,60.37502,0,0,0,0,100,0), +(@PATH,14,1736.492,-714.5533,60.16143,0,0,0,0,100,0); +-- 0x1C091000000AEE80000032000056BB7C .go 1752.673 -714.7821 60.37662 + +-- Pathing for Entry: 1532 'TDB FORMAT' +SET @NPC := 327430; +SET @PATH := 3274301; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1983.394,`position_y`=-440.334,`position_z`=34.99339 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH, 1, 1983.83, -440.439, 34.5588, 0, 0, 0, 0, 100, 0), +(@PATH, 2, 1984.13, -450.935, 34.5257, 0, 0, 0, 0, 100, 0), +(@PATH, 3, 1984.43, -464.378, 34.5257, 0, 0, 0, 0, 100, 0), +(@PATH, 4, 1975.09, -468.146, 34.5254, 0, 0, 0, 0, 100, 0), +(@PATH, 5, 1962.36, -467.938, 34.5404, 0, 0, 0, 0, 100, 0), +(@PATH, 6, 1973.33, -468.258, 34.5264, 0, 0, 0, 0, 100, 0), +(@PATH, 7, 1973.45, -460.909, 34.8547, 0, 0, 0, 0, 100, 0), +(@PATH, 8, 1973.53, -451.908, 35.399, 0, 0, 0, 0, 100, 0), +(@PATH, 9, 1973.74, -443.041, 35.3663, 0, 0, 0, 0, 100, 0), +(@PATH, 10, 1968.77, -441.308, 35.4524, 0, 0, 0, 0, 100, 0), +(@PATH, 11, 1954.79, -440.639, 35.4524, 0, 0, 0, 0, 100, 0), +(@PATH, 12, 1950.82, -452.504, 35.4524, 0, 0, 0, 0, 100, 0), +(@PATH, 13, 1951.18, -442.234, 35.4524, 0, 0, 0, 0, 100, 0), +(@PATH, 14, 1951.18, -442.234, 35.4524, 0, 0, 0, 0, 100, 0), +(@PATH, 15, 1959.46, -440.023, 35.4524, 0, 0, 0, 0, 100, 0), +(@PATH, 16, 1972.76, -440.347, 35.4217, 0, 0, 0, 0, 100, 0), +(@PATH, 17, 1973.34, -449.776, 35.3569, 0, 0, 0, 0, 100, 0), +(@PATH, 18, 1973.39, -467.986, 34.5252, 0, 0, 0, 0, 100, 0), +(@PATH, 19, 1962.42, -467.647, 34.542, 0, 0, 0, 0, 100, 0), +(@PATH, 20, 1970.81, -467.957, 34.5254, 0, 0, 0, 0, 100, 0), +(@PATH, 21, 1984.59, -468.076, 34.5258, 0, 0, 0, 0, 100, 0), +(@PATH, 22, 1984.27, -458.512, 34.5258, 0, 0, 0, 0, 100, 0), +(@PATH, 23, 1983.38, -434.471, 35.0653, 0, 0, 0, 0, 100, 0), +(@PATH, 24, 1992.01, -434.073, 35.079, 0, 0, 0, 0, 100, 0), +(@PATH, 25, 2012.88, -433.101, 35.2828, 0, 0, 0, 0, 100, 0), +(@PATH, 26, 2020.33, -432.45, 35.3943, 0, 0, 0, 0, 100, 0), +(@PATH, 27, 2018.74, -417.005, 35.4527, 0, 0, 0, 0, 100, 0), +(@PATH, 28, 2017.34, -403.076, 35.4527, 0, 0, 0, 0, 100, 0), +(@PATH, 29, 2015.86, -387.374, 35.4527, 0, 0, 0, 0, 100, 0), +(@PATH, 30, 2015.94, -394.957, 35.4524, 0, 0, 0, 0, 100, 0), +(@PATH, 31, 2015.71, -415.956, 35.4524, 0, 0, 0, 0, 100, 0), +(@PATH, 32, 2015.53, -433.021, 35.3335, 0, 0, 0, 0, 100, 0), +(@PATH, 33, 2006.09, -433.57, 35.1885, 0, 0, 0, 0, 100, 0), +(@PATH, 34, 1985.2, -434.455, 35.0481, 0, 0, 0, 0, 100, 0); +-- 0x1C09100000017F0000003200005A1B7B .go 1983.394 -440.334 34.99339 + +-- Pathing for Entry: 1532 'TDB FORMAT' +SET @NPC := 325927; +SET @PATH := 325927 * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH, 1, 1798.26, 645.24, 39.4603, 0, 0, 0, 0, 100, 0), +(@PATH, 2, 1801.42, 626.89, 38.652, 0, 0, 0, 0, 100, 0), +(@PATH, 3, 1798.85, 617.852, 39.0081, 0, 0, 0, 0, 100, 0), +(@PATH, 4, 1794.84, 609.532, 39.5333, 0, 0, 0, 0, 100, 0), +(@PATH, 5, 1808.04, 604.461, 40.8277, 0, 0, 0, 0, 100, 0), +(@PATH, 6, 1824.14, 601.482, 42.2416, 0, 0, 0, 0, 100, 0), +(@PATH, 7, 1816.72, 618.558, 39.0602, 0, 0, 0, 0, 100, 0), +(@PATH, 8, 1807.09, 637.378, 37.9439, 0, 0, 0, 0, 100, 0), +(@PATH, 9, 1800.27, 654.705, 39.4252, 0, 0, 0, 0, 100, 0), +(@PATH, 10, 1792.63, 669.352, 41.8409, 0, 0, 0, 0, 100, 0), +(@PATH, 11, 1784.72, 683.692, 43.249, 0, 0, 0, 0, 100, 0), +(@PATH, 12, 1790.96, 668.699, 42.2061, 0, 0, 0, 0, 100, 0), +(@PATH, 13, 1796.48, 653.429, 40.0754, 0, 0, 0, 0, 100, 0); + +-- Gretchen Dedmar SAI +SET @ENTRY := 1521; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,19,0,100,0,24988,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gretchen Dedmar - On Quest 'The Chill of Death' Taken - Say Line 0"), +(@ENTRY,0,1,0,20,0,100,0,24988,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gretchen Dedmar - On Quest 'The Chill of Death' Finished - Say Line 1"); + +DELETE FROM `creature_text` WHERE `entry`=1521; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(1521, 0, 0, 'Save me from the cold!', 12, 0, 100, 0, 0, 0, 39007, 0, 'Gretchen Dedmar'), +(1521, 1, 0, 'So cold...', 12, 0, 100, 0, 0, 0, 39009, 0, 'Gretchen Dedmar'); + +-- Pathing for Entry: 1502 'TDB FORMAT' +SET @NPC := 325265; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1932.444,`position_y`=1590.943,`position_z`=83.48648 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1932.444,1590.943,83.48648,0,0,0,0,100,0), +(@PATH,2,1942.309,1594.998,83.16008,0,0,0,0,100,0), +(@PATH,3,1951.316,1592.373,82.46585,0,0,0,0,100,0), +(@PATH,4,1974.542,1581.481,80.87744,0,0,0,0,100,0), +(@PATH,5,1988.139,1571.806,79.64528,0,0,0,0,100,0), +(@PATH,6,1998.26,1554.868,78.61601,0,0,0,0,100,0), +(@PATH,7,1999.297,1542.252,77.75618,0,0,0,0,100,0), +(@PATH,8,1991.584,1533.699,81.62056,0,0,0,0,100,0), +(@PATH,9,1992.814,1522.747,79.55931,0,0,0,0,100,0), +(@PATH,10,1998.614,1515.133,76.91168,0,0,0,0,100,0), +(@PATH,11,2003.37,1499.574,73.11504,0,0,0,0,100,0), +(@PATH,12,1986.435,1493.605,83.25249,0,0,0,0,100,0), +(@PATH,13,1969.808,1482.992,83.57193,0,0,0,0,100,0), +(@PATH,14,1965.593,1480.195,82.77003,0,0,0,0,100,0), +(@PATH,15,1965.535,1480.957,82.68534,0,0,0,0,100,0), +(@PATH,16,1964.197,1480.759,82.74674,0,0,0,0,100,0), +(@PATH,17,1964.256,1479.309,82.39164,0,0,0,0,100,0), +(@PATH,18,1965.723,1480.622,82.60502,0,0,0,0,100,0), +(@PATH,19,1964.204,1479.569,82.46037,0,0,0,0,100,0), +(@PATH,20,1964.442,1479.825,82.49308,0,0,0,0,100,0), +(@PATH,21,1966.99,1478.805,81.97617,0,0,0,0,100,0), +(@PATH,22,1962.672,1480.034,82.67216,0,0,0,0,100,0), +(@PATH,23,1965.086,1480.569,82.59452,0,0,0,0,100,0), +(@PATH,24,1966.052,1480.834,82.6558,0,0,0,0,100,0), +(@PATH,25,1965.037,1480.308,82.53764,0,0,0,0,100,0), +(@PATH,26,1963.071,1478.826,82.15226,0,0,0,0,100,0), +(@PATH,27,1964.471,1478.97,82.16947,0,0,0,0,100,0), +(@PATH,28,1962.914,1478.641,82.39225,0,0,0,0,100,0), +(@PATH,29,1965.018,1478.875,82.15812,0,0,0,0,100,0), +(@PATH,30,1963.611,1479.624,82.54459,0,0,0,0,100,0), +(@PATH,31,1964.935,1479.779,82.42277,0,0,0,0,100,0), +(@PATH,32,1965.74,1480.748,82.63529,0,0,0,0,100,0), +(@PATH,33,1962.509,1479.685,82.63041,0,0,0,0,100,0), +(@PATH,34,1899.472,1506.11,89.18507,0,0,0,0,100,0), +(@PATH,35,1964.129,1482.499,83.14286,0,0,0,0,100,0), +(@PATH,36,1962.953,1480.367,82.7122,0,0,0,0,100,0), +(@PATH,37,1962.84,1482.145,82.92545,0,0,0,0,100,0), +(@PATH,38,1951.722,1476.789,80.07114,0,0,0,0,100,0), +(@PATH,39,1966.133,1497.141,87.51283,0,0,0,0,100,0), +(@PATH,40,1962.49,1502.687,88.28194,0,0,0,0,100,0), +(@PATH,41,1931.024,1520.287,87.80495,0,0,0,0,100,0), +(@PATH,42,1919.053,1526.27,87.28525,0,0,0,0,100,0), +(@PATH,43,1931.345,1572.519,84.00304,0,0,0,0,100,0), +(@PATH,44,1932.618,1590.822,83.50961,0,0,0,0,100,0), +(@PATH,45,1942.247,1594.761,83.02557,0,0,0,0,100,0), +(@PATH,46,1951.132,1592.334,82.47534,0,0,0,0,100,0); +-- 0x1C0910000001778000003200005A37D1 .go 1932.444 1590.943 83.48648 + +-- Pathing for Entry: 1540 'TDB FORMAT' +SET @NPC := 327390; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2868.919,`position_y`=-497.5436,`position_z`=101.3836 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2868.919,-497.5436,101.3836,0,0,0,0,100,0), +(@PATH,2,2858.415,-487.3856,100.1744,0,0,0,0,100,0), +(@PATH,3,2856.972,-486.0324,99.78797,0,0,0,0,100,0), +(@PATH,4,2843.022,-484.7172,99.42996,0,0,0,0,100,0), +(@PATH,5,2859.987,-484.1879,99.72915,0,0,0,0,100,0), +(@PATH,6,2866.828,-492.3687,100.8656,0,0,0,0,100,0), +(@PATH,7,2877.11,-515.8617,103.5658,0,0,0,0,100,0), +(@PATH,8,2882.539,-528.3811,106.7998,0,0,0,0,100,0), +(@PATH,9,2886.53,-532.085,106.4599,0,0,0,0,100,0), +(@PATH,10,2892.335,-533.3361,106.1121,0,0,0,0,100,0), +(@PATH,11,2892.335,-533.3361,106.1121,3,0,0,0,100,0), +(@PATH,14,2877.11,-515.8617,103.5658,0,0,0,0,100,0), +(@PATH,13,2882.539,-528.3811,106.7998,0,0,0,0,100,0), +(@PATH,12,2886.53,-532.085,106.4599,0,0,0,0,100,0); +-- 0x20091000000181000000320001DA3C6A .go 2868.919 -497.5436 101.3836 + +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `guid` IN (325165, 325283, 325169); +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `id` IN (1504, 1512, 1509, 1508, 1513); +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (1505); +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `id` IN (4075, 1501); +-- rndmmovement for zombies and spiders +UPDATE `creature_template` SET `flags_extra`=128 WHERE `entry` IN (41200, 50373); -- make some triggers invisible + +-- Arthura WPs +UPDATE `creature_template_addon` SET `path_id`=3250850 WHERE `entry`=49129; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325085; +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=49129; +DELETE FROM `waypoint_data` WHERE `id`=3250850; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3250850, 1, 1724.74, 1656.3, 129.965, 0, 0, 0, 0, 100, 0), +(3250850, 2, 1715.78, 1653.78, 130.575, 0, 0, 0, 0, 100, 0), +(3250850, 3, 1708.85, 1655.94, 131.917, 0, 0, 0, 0, 100, 0), +(3250850, 4, 1703.59, 1662.75, 135.131, 0, 0, 0, 0, 100, 0), +(3250850, 5, 1707.63, 1669.57, 135.622, 0, 0, 0, 0, 100, 0), +(3250850, 6, 1712.76, 1678.44, 135.328, 0, 0, 0, 0, 100, 0), +(3250850, 7, 1714.48, 1680.85, 136.947, 0, 0, 0, 0, 100, 0), +(3250850, 8, 1721.21, 1690.48, 133.867, 0, 0, 0, 0, 100, 0), +(3250850, 9, 1723.79, 1682.86, 133.7, 0, 0, 0, 0, 100, 0), +(3250850, 10, 1729.12, 1660.73, 129.921, 0, 0, 0, 0, 100, 0), +(3250850, 11, 1730.36, 1651.11, 126.577, 0, 0, 0, 0, 100, 0), +(3250850, 12, 1730.8, 1645.58, 125.786, 0, 0, 0, 0, 100, 0), +(3250850, 13, 1730, 1639.18, 123.389, 0, 0, 0, 0, 100, 0), +(3250850, 14, 1733.74, 1645.03, 125.108, 0, 0, 0, 0, 100, 0), +(3250850, 15, 1737.1, 1651.43, 124.676, 0, 0, 0, 0, 100, 0), +(3250850, 16, 1741.5, 1665.87, 125.012, 0, 0, 0, 0, 100, 0), +(3250850, 17, 1741.39, 1668.2, 125.692, 0, 0, 0, 0, 100, 0), +(3250850, 18, 1736.75, 1671.43, 128.104, 0, 0, 0, 0, 100, 0), +(3250850, 19, 1730.89, 1668.52, 128.597, 0, 0, 0, 0, 100, 0), +(3250850, 20, 1729.21, 1661.78, 128.619, 0, 0, 0, 0, 100, 0); + +-- Deathguard Philip WPs +DELETE FROM `creature_addon` WHERE `guid`=325281; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(325281, 325281*10, 0, 0, 0, 0, NULL); +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325281; +DELETE FROM `waypoint_data` WHERE `id`=3252810; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3252810, 1, 1864.6, 1588.79, 91.9528, 0, 0, 0, 0, 100, 0), +(3252810, 2, 1847.66, 1589.92, 93.1893, 0, 0, 0, 0, 100, 0), +(3252810, 3, 1830.08, 1590.87, 94.212, 0, 0, 0, 0, 100, 0), +(3252810, 4, 1827.76, 1591.13, 94.4932, 0, 0, 0, 0, 100, 0), +(3252810, 5, 1819.76, 1583.46, 95.7617, 0, 0, 0, 0, 100, 0), +(3252810, 6, 1820.29, 1583.7, 95.7512, 0, 12000, 0, 0, 100, 0), +(3252810, 7, 1818.45, 1577.18, 95.6734, 0, 0, 0, 0, 100, 0), +(3252810, 8, 1819.62, 1570.64, 95.651, 0, 0, 0, 0, 100, 0), +(3252810, 9, 1822.82, 1566.62, 95.6222, 0, 0, 0, 0, 100, 0), +(3252810, 10, 1828.65, 1565.43, 95.6222, 0, 12000, 0, 0, 100, 0), +(3252810, 11, 1830.56, 1577.89, 95.6222, 0, 0, 0, 0, 100, 0), +(3252810, 12, 1834.52, 1583.09, 94.5435, 0, 0, 0, 0, 100, 0), +(3252810, 13, 1835.25, 1586.03, 94.0295, 0, 0, 0, 0, 100, 0), +(3252810, 14, 1838.26, 1584.23, 94.2382, 0, 0, 0, 0, 100, 0), +(3252810, 15, 1840.03, 1583.26, 94.3261, 0, 0, 0, 0, 100, 0), +(3252810, 16, 1845.7, 1580.89, 94.6471, 0, 0, 0, 0, 100, 0), +(3252810, 17, 1848.39, 1562.46, 94.9115, 0, 12000, 0, 0, 100, 0), +(3252810, 18, 1849.56, 1571.14, 94.8565, 0, 0, 0, 0, 100, 0), +(3252810, 19, 1852.94, 1584.25, 93.2881, 0, 0, 0, 0, 100, 0), +(3252810, 20, 1864.81, 1587.66, 91.9009, 0, 0, 0, 0, 100, 0), +(3252810, 21, 1880.22, 1588.26, 90.1211, 0, 12000, 0, 0, 100, 0); + +-- maquell Ebenwood +DELETE FROM `creature_addon` WHERE `guid`=325147; +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(325147, 325147*10, 0, 0, 0, 0, NULL); +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325147; +DELETE FROM `waypoint_data` WHERE `id`=3251470; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3251470, 1, 1843.27, 1622.26, 96.934, 0, 0, 0, 0, 100, 0), +(3251470, 2, 1843.45, 1612.01, 96.9644, 0, 0, 0, 0, 100, 0), +(3251470, 3, 1843.54, 1606.17, 94.574, 0, 0, 0, 0, 100, 0), +(3251470, 4, 1843.69, 1597.78, 94.1531, 0, 0, 0, 0, 100, 0), +(3251470, 5, 1844.31, 1593.87, 93.54, 0, 0, 0, 0, 100, 0), +(3251470, 6, 1845.34, 1590.53, 93.2546, 0, 0, 0, 0, 100, 0), +(3251470, 7, 1848.22, 1589, 93.1615, 0, 0, 0, 0, 100, 0), +(3251470, 8, 1852.06, 1588.81, 92.9397, 0, 0, 0, 0, 100, 0), +(3251470, 9, 1861.31, 1588.43, 92.3485, 0, 9000, 0, 0, 100, 0), +(3251470, 10, 1860.1, 1582.73, 92.8286, 0, 0, 0, 0, 100, 0), +(3251470, 11, 1860.84, 1575.64, 94.313, 0, 0, 0, 0, 100, 0), +(3251470, 12, 1856.11, 1574.85, 94.313, 0, 0, 0, 0, 100, 0), +(3251470, 13, 1856.81, 1574.82, 94.313, 0, 20000, 0, 0, 100, 0), +(3251470, 14, 1860.65, 1575.1, 94.313, 0, 0, 0, 0, 100, 0), +(3251470, 15, 1859.94, 1581.8, 92.9871, 0, 0, 0, 0, 100, 0), +(3251470, 16, 1861.89, 1587.26, 92.2626, 0, 6000, 0, 0, 100, 0), +(3251470, 17, 1850.55, 1589.45, 93.0564, 0, 0, 0, 0, 100, 0), +(3251470, 18, 1844.98, 1590.98, 93.2717, 0, 0, 0, 0, 100, 0), +(3251470, 19, 1843.93, 1599.2, 94.3924, 0, 0, 0, 0, 100, 0), +(3251470, 20, 1843.22, 1607.13, 94.7863, 0, 0, 0, 0, 100, 0), +(3251470, 21, 1843.16, 1612.26, 96.9614, 0, 0, 0, 0, 100, 0), +(3251470, 22, 1843.17, 1622.76, 96.9337, 0, 0, 0, 0, 100, 0), +(3251470, 23, 1842.95, 1633.85, 96.9337, 0, 10000, 0, 0, 100, 0); + +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (1502, 1890); +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `guid` IN (325165, 325283, 325169); +UPDATE `creature` SET `position_x`=1911.95031, `position_y`=1586.911, `position_z`=85.2499, `orientation`=3.1770, `spawntimesecs`=60 WHERE `guid`=325170; + +-- Rattlecage Skeleton SAI +SET @GUID := -325170; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1890; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,25,0,100,0,0,0,0,0,53,0,325170,0,0,0,0,1,0,0,0,0,0,0,0,"Rattlecage Skeleton - On Reset - Start Waypoint"), +(@GUID,0,1,0,40,0,100,0,2,325170,0,0,49,0,0,0,0,0,0,19,1736,50,0,0,0,0,0,"Rattlecage Skeleton - On Waypoint 2 Reached - Start Attacking"), +(@GUID,0,2,0,0,0,100,0,2000,2000,15000,15000,75,81219,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rattlecage Skeleton - In Combat - Add Aura 'Battle Shout'"), +(@GUID,0,3,0,8,0,100,0,95826,0,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rattlecage Skeleton - On Spellhit 'Shoot' - Kill Self"); + +-- Wretched Ghoul SAI +SET @GUID := -325271; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=1502; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,25,0,100,0,0,0,0,0,53,0,325170,0,0,0,0,1,0,0,0,0,0,0,0,"Wretched Ghoul - On Reset - Start Waypoint"), +(@GUID,0,1,3,40,0,100,0,2,325170,0,0,49,0,0,0,0,0,0,19,1736,50,0,0,0,0,0,"Wretched Ghoul - On Waypoint 2 Reached - Start Attacking"), +(@GUID,0,2,0,8,0,100,0,95826,0,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wretched Ghoul - On Spellhit 'Shoot' - Kill Self"), +(@GUID,0,3,0,61,0,100,0,2,325170,0,0,37,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Wretched Ghoul - On Waypoint 2 Reached - Kill Self"); + +DELETE FROM `waypoints` WHERE `entry`=325170; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(325170, 1, 1900.452393, 1586.791138, 86.948174, ''), +(325170, 2, 1884.441, 1587.978, 89.5357, ''); + +-- Deathguard Randolph SAI +SET @ENTRY := 1736; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,1000,2000,2000,3000,11,95826,66,0,0,0,0,2,0,0,0,0,0,0,0,"Deathguard Randolph - In Combat - Cast '<Spell not found!>'"), +(@ENTRY,0,1,0,25,0,100,0,0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathguard Randolph - On Reset - Set Reactstate Aggressive"); + +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `id` IN (53526, 620, 1527, 39049, 1520, 1549, 1674, 1941, 1530, 1536, 4281, 4283, 4282, 1528, 51964, 51965, 51961, 1554, 1555, 1545, 1543, 1544, 1541, 1534, 1532, 1531, 1522, 1523, 1656, 1675, 1529); + +UPDATE `creature_template_addon` SET `path_id`=3257150 WHERE `entry`=1533; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325715; +DELETE FROM `waypoint_data` WHERE `id`=3257150; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3257150, 1, 2745.419922, 978.708984, 109.392998, 0, 0, 0, 0, 100, 0), +(3257150, 2, 2765.810059, 993.661743, 109.732834, 0, 0, 0, 0, 100, 0), +(3257150, 3, 2774.722900, 1021.454529, 108.534164, 0, 0, 0, 0, 100, 0), +(3257150, 4, 2777.558838, 1045.788696, 108.904297, 0, 0, 0, 0, 100, 0), +(3257150, 5, 2794.649170, 1049.257568, 110.820305, 0, 0, 0, 0, 100, 0), +(3257150, 6, 2814.373047, 1046.770996, 110.820305, 0, 0, 0, 0, 100, 0), +(3257150, 7, 2839.627197, 1051.084717, 111.511284, 0, 0, 0, 0, 100, 0), +(3257150, 8, 2886.339600, 1065.823364, 105.970253, 0, 0, 0, 0, 100, 0), +(3257150, 9, 2891.578613, 1055.620850, 105.705093, 0, 0, 0, 0, 100, 0), +(3257150, 10, 2895.504150, 1029.036011, 107.049751, 0, 0, 0, 0, 100, 0), +(3257150, 11, 2898.632813, 979.230530, 113.568359, 0, 0, 0, 0, 100, 0), +(3257150, 12, 2899.541260, 957.061768, 115.106735, 0, 0, 0, 0, 100, 0), +(3257150, 13, 2908.080078, 932.908630, 114.917854, 0, 0, 0, 0, 100, 0), +(3257150, 14, 2905.685791, 923.912354, 114.982185, 0, 0, 0, 0, 100, 0), +(3257150, 15, 2893.146240, 913.490784, 114.658241, 0, 0, 0, 0, 100, 0), +(3257150, 16, 2855.242432, 880.518799, 112.352898, 0, 0, 0, 0, 100, 0), +(3257150, 17, 2826.591553, 864.780823, 111.842575, 0, 0, 0, 0, 100, 0), +(3257150, 18, 2802.163330, 864.498779, 111.841164, 0, 0, 0, 0, 100, 0), +(3257150, 19, 2773.511475, 880.237610, 111.774582, 0, 0, 0, 0, 100, 0), +(3257150, 20, 2752.895996, 899.921692, 111.763412, 0, 0, 0, 0, 100, 0), +(3257150, 21, 2736.951904, 942.523987, 109.499664, 0, 0, 0, 0, 100, 0), +(3257150, 22, 2734.885498, 956.346741, 109.242607, 0, 0, 0, 0, 100, 0), +(3257150, 23, 2737.154541, 972.515198, 109.242020, 0, 0, 0, 0, 100, 0); + +UPDATE `creature_template_addon` SET `path_id`=3257480 WHERE `entry`=5725; +UPDATE `creature` SET `MovementType`=2 WHERE `guid`=325748; +DELETE FROM `waypoint_data` WHERE `id`=3257480; +INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES +(3257480, 1, 2129.376709, 953.351624, 29.058704, 0, 0, 0, 0, 100, 0), +(3257480, 2, 2104.569580, 878.170593, 32.416527, 0, 0, 0, 0, 100, 0), +(3257480, 3, 2093.044434, 813.923157, 33.563000, 0, 0, 0, 0, 100, 0), +(3257480, 4, 2093.758057, 767.299744, 33.564106, 0, 0, 0, 0, 100, 0), +(3257480, 5, 2101.969971, 750.510376, 33.560898, 0, 0, 0, 0, 100, 0), +(3257480, 6, 2167.280518, 694.103760, 33.355125, 0, 0, 0, 0, 100, 0), +(3257480, 7, 2180.792480, 682.982788, 33.393795, 0, 0, 0, 0, 100, 0), +(3257480, 8, 2239.743652, 601.869629, 33.333622, 0, 0, 0, 0, 100, 0), +(3257480, 9, 2261.292969, 541.476624, 33.534515, 0, 0, 0, 0, 100, 0), +(3257480, 10, 2255.469482, 505.762604, 34.113213, 0, 0, 0, 0, 100, 0), +(3257480, 11, 2275.757813, 426.780182, 33.952923, 0, 0, 0, 0, 100, 0), +(3257480, 12, 2283.910156, 385.661133, 34.126793, 0, 0, 0, 0, 100, 0), +(3257480, 13, 2285.265381, 348.391113, 33.624481, 0, 0, 0, 0, 100, 0), +(3257480, 14, 2273.001953, 315.611206, 33.431656, 0, 0, 0, 0, 100, 0), +(3257480, 15, 2255.712402, 290.769836, 33.507896, 0, 0, 0, 0, 100, 0), +(3257480, 16, 2232.237549, 275.507813, 33.573711, 0, 0, 0, 0, 100, 0), +(3257480, 17, 2207.864746, 248.755692, 33.631718, 0, 0, 0, 0, 100, 0), +(3257480, 18, 2173.530518, 226.758133, 38.763466, 0, 0, 0, 0, 100, 0), +(3257480, 19, 2164.428711, 214.597580, 41.493935, 0, 0, 0, 0, 100, 0), +(3257480, 20, 2160.420410, 183.353714, 41.991291, 0, 0, 0, 0, 100, 0), +(3257480, 21, 2143.672607, 170.800919, 39.302605, 0, 0, 0, 0, 100, 0), +(3257480, 22, 2120.702393, 159.453781, 36.839264, 0, 0, 0, 0, 100, 0), +(3257480, 23, 2090.853027, 153.441589, 34.950005, 0, 0, 0, 0, 100, 0), +(3257480, 24, 2067.516357, 154.855606, 33.928402, 0, 0, 0, 0, 100, 0), +(3257480, 25, 2045.528687, 162.187668, 33.877983, 0, 0, 0, 0, 100, 0), +(3257480, 26, 2067.516357, 154.855606, 33.928402, 0, 0, 0, 0, 100, 0), +(3257480, 27, 2090.853027, 153.441589, 34.950005, 0, 0, 0, 0, 100, 0), +(3257480, 28, 2120.702393, 159.453781, 36.839264, 0, 0, 0, 0, 100, 0), +(3257480, 29, 2143.672607, 170.800919, 39.302605, 0, 0, 0, 0, 100, 0), +(3257480, 30, 2160.420410, 183.353714, 41.991291, 0, 0, 0, 0, 100, 0), +(3257480, 31, 2164.428711, 214.597580, 41.493935, 0, 0, 0, 0, 100, 0), +(3257480, 32, 2173.530518, 226.758133, 38.763466, 0, 0, 0, 0, 100, 0), +(3257480, 33, 2207.864746, 248.755692, 33.631718, 0, 0, 0, 0, 100, 0), +(3257480, 34, 2232.237549, 275.507813, 33.573711, 0, 0, 0, 0, 100, 0), +(3257480, 35, 2255.712402, 290.769836, 33.507896, 0, 0, 0, 0, 100, 0), +(3257480, 36, 2273.001953, 315.611206, 33.431656, 0, 0, 0, 0, 100, 0), +(3257480, 37, 2285.265381, 348.391113, 33.624481, 0, 0, 0, 0, 100, 0), +(3257480, 38, 2283.910156, 385.661133, 34.126793, 0, 0, 0, 0, 100, 0), +(3257480, 39, 2275.757813, 426.780182, 33.952923, 0, 0, 0, 0, 100, 0), +(3257480, 40, 2255.469482, 505.762604, 34.113213, 0, 0, 0, 0, 100, 0), +(3257480, 41, 2261.292969, 541.476624, 33.534515, 0, 0, 0, 0, 100, 0), +(3257480, 42, 2239.743652, 601.869629, 33.333622, 0, 0, 0, 0, 100, 0), +(3257480, 43, 2180.792480, 682.982788, 33.393795, 0, 0, 0, 0, 100, 0), +(3257480, 44, 2167.280518, 694.103760, 33.355125, 0, 0, 0, 0, 100, 0), +(3257480, 45, 2101.969971, 750.510376, 33.560898, 0, 0, 0, 0, 100, 0), +(3257480, 46, 2093.758057, 767.299744, 33.564106, 0, 0, 0, 0, 100, 0), +(3257480, 47, 2093.044434, 813.923157, 33.563000, 0, 0, 0, 0, 100, 0), +(3257480, 48, 2104.569580, 878.170593, 32.416527, 0, 0, 0, 0, 100, 0), +(3257480, 49, 2129.376709, 953.351624, 29.058704, 0, 0, 0, 0, 100, 0), +(3257480, 50, 2187.656250, 1044.816895, 29.563383, 0, 0, 0, 0, 100, 0); +-- +SET @Deathguards:= 44795; +SET @CreditKill := 44175; +SET @Dummy := 44794; + +UPDATE `creature_template` SET `AIName`='SmartAI', `scriptName`='' WHERE `entry`=@Dummy; +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@Deathguards, @CreditKill); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Dummy AND `source_type` = 0; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Dummy*100 AND `source_type` = 9; +DELETE FROM `smart_scripts` WHERE `entryorguid` = @Deathguards AND `source_type` = 0; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Deathguards, 0, 0, 0, 8, 0, 100, 0, 2061, 0, 0, 0, 33, @CreditKill, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Deathguards - On spellHit - CreditKill'), -- Priest +(@Dummy, 0, 0, 0, 8, 0, 100, 0, 56641, 0, 0, 0, 33, @CreditKill, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Dummy - On spellHit - CreditKill'), -- hunter +(@Dummy, 0, 1, 0, 8, 0, 100, 0, 5143, 0, 0, 0, 33, @CreditKill, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Dummy - On spellHit - CreditKill'), -- Mage +(@Dummy, 0, 2, 0, 8, 0, 100, 0, 2098, 0, 0, 0, 33, @CreditKill, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Dummy - On spellHit - CreditKill'), -- Rogue +(@Dummy, 0, 3, 0, 8, 0, 100, 0, 348, 0, 0, 0, 33, @CreditKill, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Dummy - On spellHit - CreditKill'), -- Warlock +(@Dummy, 0, 4, 0, 8, 0, 100, 0, 100, 0, 0, 0, 33, @CreditKill, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Dummy - On spellHit - CreditKill'), -- Warrior +(@Dummy, 0, 5, 0, 25, 0, 100, 0, 0, 0, 0, 0, 80, @Dummy*100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dummy - On reset - action list'), +(@Dummy*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, ' Argent - action list - react passif'), +(@Dummy*100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 42, 0, 100, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, ' Argent - action list - set invinsible'); +-- +UPDATE `gossip_menu_option` SET `option_id`=5, `npc_option_npcflag`=32 WHERE `menu_id`=10684; +-- Marie Allen (General Goods Vendor) +UPDATE `gossip_menu_option` SET `option_id`=3,`npc_option_npcflag`=128 WHERE `menu_id`=10841; +-- Gerard Walthorn +UPDATE `gossip_menu_option` SET `option_id`=3,`npc_option_npcflag`=128 WHERE `menu_id`=10842; +-- +DELETE FROM `creature_equip_template` WHERE `entry` IN (38781,38363,37694,36458,37067,35175); +INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`, `VerifiedBuild`) VALUES +(38781, 1, 2714, 0, 0, 0), +(38363, 1, 0, 0, 34034, 0), +(37694, 1, 2901, 0, 0, 0), +(36458, 1, 25646, 0, 0, 0), +(37067, 1, 2695, 0, 0, 0), +(35175, 1, 2202, 0, 0, 0); +-- Wild Vortex SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45912; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45912 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45912, 0, 0, 0, 0, 0, 100, 0, 1600, 1600, 2500, 2500, 11, 88032, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Wild Vortex - In Combat - Cast 'Lightning Bolt'"), +(45912, 0, 1, 0, 8, 0, 10, 0, 0, 0, 5000, 10000, 11, 88010, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Wild Vortex - On SpellHit - Cast 'Cyclone'"), +(45912, 0, 2, 0, 13, 0, 50, 0, 5000, 10000, 0, 0, 11, 88029, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Wild Vortex - On Target SpellCast - Cast 'Wind Shock'"); + +-- Gust Soldier SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45477; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45477 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45477, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 11, 87930, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, "Gust Soldier - On Aggro - Cast 'Charge'"), +(45477, 0, 1, 0, 0, 0, 100, 0, 8000, 12000, 8000, 12000, 11, 87923, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gust Soldier - In Combat - Cast 'Wind Blast'"), +(45477, 0, 2, 0, 0, 0, 100, 0, 20000, 25000, 20000, 25000, 11, 87933, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gust Soldier - In Combat - Cast 'Air Nova'"); + +-- Armored Mistral SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45915; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45915 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45915, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 11, 88057, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gust Soldier - On Aggro - Cast 'Rising Winds'"), +(45915, 0, 1, 0, 0, 0, 100, 0, 10000, 12000, 8000, 12000, 11, 88061, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gust Soldier - In Combat - Cast 'Gale Strike'"), +(45915, 0, 2, 0, 0, 0, 100, 0, 12000, 15000, 12000, 15000, 11, 88055, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Gust Soldier - In Combat - Cast 'Storm Surge'"); + +-- Cloud Prince SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45917; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45917 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45917, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 11, 88081, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Cloud Prince - On Aggro - Cast 'Whipping Winds'"), +(45917, 0, 1, 0, 0, 0, 100, 0, 5000, 10000, 5000, 10000, 11, 88073, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "Cloud Prince - In Combat - Cast 'Starfall'"), +(45917, 0, 2, 0, 0, 0, 100, 0, 10000, 15000, 10000, 15000, 11, 88075, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "Cloud Prince - In Combat - Cast 'Typhoon'"); + +-- Whipping Wind SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 47238; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 47238 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(47238, 0, 0, 0, 0, 0, 100, 0, 0, 0, 1500, 1500, 11, 88080, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Whipping Wind - In Combat - Cast 'Lightning Bolt'"); + +-- Turbulent Squall +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45924; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45924 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45924, 0, 0, 0, 0, 0, 100, 0, 5000, 8000, 12000, 20000, 11, 88175, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Turbulent Squall - In Combat - Cast 'Asphyxiate'"), +(45924, 0, 1, 0, 0, 0, 100, 0, 10000, 15000, 5000, 15000, 11, 88170, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Turbulent Squall - In Combat - Cast 'Cloudburst'"), +(45924, 0, 2, 0, 0, 0, 100, 0, 5000, 20000, 20000, 25000, 11, 88171, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, "Turbulent Squall - In Combat - Cast 'Hurricane'"); + +-- Empyrean Assassin +DELETE FROM `creature_template_addon` WHERE `entry` = 45922; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(45922, 0, 0, 0, 1, 0, '88184'); + +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45922; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45922 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45922, 0, 0, 0, 0, 0, 100, 0, 20000, 20000, 20000, 20000, 11, 88182, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Empyrean Assassin - In Combat - Cast 'Vapor Form'"); + +-- Executor of the Caliph SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45928; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45928 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45928, 0, 0, 0, 0, 0, 100, 0, 6000, 6000, 6000, 6000, 11, 78660, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Executor of the Caliph - In Combat - Cast 'Devastate'"), +(45928, 0, 1, 0, 0, 0, 100, 0, 15000, 18000, 15000, 18000, 11, 87759, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Executor of the Caliph - In Combat - Cast 'Shockwave'"), +(45928, 0, 2, 0, 0, 0, 100, 0, 20000, 25000, 20000, 25000, 11, 87761, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Executor of the Caliph - In Combat - Cast 'Rally'"); + +-- Minister of Air SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45930; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45930 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45930, 0, 0, 0, 0, 0, 100, 0, 0, 0, 6000, 6000, 11, 87762, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Minister of Air - In Combat - Cast 'Lightning Lash'"), +(45930, 0, 1, 0, 0, 0, 100, 0, 12000, 18000, 12000, 18000, 11, 87768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Minister of Air - In Combat - Cast 'Lightning Nova'"); + +-- Servant of Asaad SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45926; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45926 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45926, 0, 0, 0, 0, 0, 100, 0, 6000, 6000, 6000, 6000, 11, 87771, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Servant of Asaad - In Combat - Cast 'Crusader Strike'"), +(45926, 0, 1, 0, 0, 0, 100, 0, 14000, 14000, 12000, 12000, 11, 58127, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Servant of Asaad - In Combat - Cast 'Divine Storm'"), +(45926, 0, 2, 0, 0, 0, 100, 0, 32000, 35000, 32000, 35000, 11, 87772, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Servant of Asaad - In Combat - Cast 'Hand of Protection'"); + +-- Temple Adept SAI +UPDATE `creature_template` SET `AIName` = "SmartAI" WHERE `entry` = 45935; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 45935 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(45935, 0, 0, 0, 0, 0, 100, 0, 500, 1000, 4000, 6000, 11, 88959, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, "Temple Adept - In Combat - Cast 'Holy Smite'"), +(45935, 0, 1, 0, 0, 0, 100, 0, 3000, 5000, 8000, 10000, 11, 87779, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Temple Adept - In Combat - Cast 'Greater Heal'"), +(45935, 0, 2, 0, 0, 0, 100, 0, 10000, 10000, 12000, 12000, 11, 87780, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Temple Adept - In Combat - Cast 'Desperate Speed'"); +-- +UPDATE `gameobject_loot_template` SET `QuestRequired`=1 WHERE `entry`=27260 AND `item`=46700; +-- +UPDATE `gossip_menu_option` SET `option_id`=4, `npc_option_npcflag`=8192 WHERE `menu_id`=6944; +-- Ancestral Guardian SAI +SET @ENTRY := 48518; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,5000,5000,13500,14200,11,86085,0,0,0,0,0,2,0,0,0,0,0,0,0,"Ancestral Guardian - Combat - Cast Mutilate"); + +-- Dark Ritualist Zakahn SAI +SET @ENTRY := 49148; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,8,12400,13500,11,9081,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dark Ritualist Zakahn - Range 0 to 8 - Cast Shadow Bolt Volley"), +(@ENTRY,0,1,0,4,0,100,1,0,0,0,0,11,91614,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dark Ritualist Zakahn - Aggro - Cast Zakahn's Serpents"), +(@ENTRY,0,2,0,1,0,100,1,1000,1000,1000,1000,11,68797,2,0,0,0,0,1,0,0,0,0,0,0,0,"Dark Ritualist Zakahn - OOC - Cast Aura (No Repeat)"); + +-- Akma'hat SAI +SET @ENTRY := 50063; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,9000,9000,22000,22000,11,94946,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akma'hat - Combat - Cast 'Fury of the Sands'"), +(@ENTRY,0,1,0,0,0,100,0,5000,5000,19500,27300,11,93578,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akma'hat - Combat - Cast 'Sands of Time'"), +(@ENTRY,0,2,0,9,0,100,0,0,8,15800,18300,11,94968,0,0,0,0,0,2,0,0,0,0,0,0,0,"Akma'hat - Range 0 to 8 - Cast 'Shockwave'"), +(@ENTRY,0,3,0,2,0,100,1,0,40,0,0,11,93561,0,0,0,0,0,1,0,0,0,0,0,0,0,"Akma'hat - @40%HP - Cast 'Stone Mantle'"); + +-- Armagedillo SAI +SET @ENTRY := 50065; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,500,1000,5000,15000,11,93598,1,0,0,0,0,5,0,0,0,0,0,0,0,"Armagedillo - Combat - Cast 'Spiked Charge'"), +(@ENTRY,0,1,0,0,0,100,0,8000,12000,9000,15000,11,93592,1,0,0,0,0,2,0,0,0,0,0,0,0,"Armagedillo - Combat - Cast 'Dillogeddon'"), +(@ENTRY,0,2,0,0,0,100,0,6000,8000,6000,10000,11,93590,1,0,0,0,0,2,0,0,0,0,0,0,0,"Armagedillo - Combat - Cast 'Flame Breath'"); + +-- Oasis Crocolisk SAI +SET @ENTRY := 51675; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4000,12900,14700,11,48287,0,0,0,0,0,2,0,0,0,0,0,0,0,"Oasis Crocolisk - Combat - Cast 'Powerful Bite'"), +(@ENTRY,0,1,0,2,0,100,1,0,30,0,0,11,87228,0,0,0,0,0,1,0,0,0,0,0,0,0,"Oasis Crocolisk - @30%HP - Cast 'Thick Hide'"); + +-- Ferndweller Wasp SAI +SET @ENTRY := 51712; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,30,0,0,11,34392,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ferndweller Wasp - @30%HP - Cast 'Stinger Rage'"), +(@ENTRY,0,1,0,2,0,100,1,0,30,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Ferndweller Wasp - @30%HP - Say Text 0"); + +-- Longstrider Gazelle SAI +SET @ENTRY := 51713; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,5000,5000,12000,13000,11,32019,0,0,0,0,0,2,0,0,0,0,0,0,0,"Longstrider Gazelle - Combat - Cast Gore"); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_20_04_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_20_04_world.sql new file mode 100644 index 00000000000..05c120274da --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_20_04_world.sql @@ -0,0 +1,23 @@ +-- Updates base tables +DROP TABLE IF EXISTS `updates`; +CREATE TABLE `updates` ( + `name` VARCHAR(200) NOT NULL COMMENT 'filename with extension of the update.', + `hash` CHAR(40) NULL DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `timestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', + `speed` INT(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.', + PRIMARY KEY (`name`) +) +COMMENT='List of all applied updates in this database.' +COLLATE='utf8_general_ci' +ENGINE=MyISAM; + +DROP TABLE IF EXISTS `updates_include`; +CREATE TABLE `updates_include` ( + `path` VARCHAR(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` ENUM('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + PRIMARY KEY (`path`) +) +COMMENT='List of directories where we want to include sql updates.' +COLLATE='utf8_general_ci' +ENGINE=MyISAM; diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_20_05_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_20_05_world.sql new file mode 100644 index 00000000000..018e1929c34 --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_20_05_world.sql @@ -0,0 +1,6 @@ +-- World database update data +TRUNCATE TABLE `updates_include`; +INSERT INTO `updates_include` (`path`, `state`) VALUES +('$/sql/updates/world', 'RELEASED'), +('$/sql/custom/world', 'RELEASED'), +('$/sql/old/6.x/world', 'ARCHIVED'); diff --git a/sql/old/6.x/world/00_2014_10_19/2015_03_20_06_world.sql b/sql/old/6.x/world/00_2014_10_19/2015_03_20_06_world.sql new file mode 100644 index 00000000000..692381573eb --- /dev/null +++ b/sql/old/6.x/world/00_2014_10_19/2015_03_20_06_world.sql @@ -0,0 +1,170 @@ +INSERT IGNORE INTO `updates` (`name`, `hash`, `state`) VALUES +('2014_10_19_00_world.sql', 'C9D12A22A30EAA0E602D5DEF7E72BF2F18BC8546', 'ARCHIVED'), +('2014_10_19_01_world.sql', '140B2E47A3B997C03CE00B29E963900643FFB820', 'ARCHIVED'), +('2014_10_19_01_world_from_335.sql', '76D19F7888A41B1B4AB4A5F366AE98057F066128', 'ARCHIVED'), +('2014_10_19_02_world.sql', '58AB6AAAFC6FED71B66DF6A8DF279DB195BD0E2F', 'ARCHIVED'), +('2014_10_20_00_world.sql', 'BD3D440770748809709C002C3DD4FFD7399E045A', 'ARCHIVED'), +('2014_10_20_00_world_from_335.sql', 'E74390D42EF46218FE189C22A2A68BC454293F30', 'ARCHIVED'), +('2014_10_21_00_world.sql', '0E29A91E897F5EF08BFD09893475B483084F9BB9', 'ARCHIVED'), +('2014_10_22_00_world.sql', '73246FCC28EFA348C2345EDB092053A3D4AE2ECF', 'ARCHIVED'), +('2014_10_22_00_world_from_335.sql', '5C5268C959A22284F6E9E05D873EA153BFBBD835', 'ARCHIVED'), +('2014_10_22_01_world.sql', 'A93FE6F9BDA6D8DDD06303B1CF2D546ABAC31B00', 'ARCHIVED'), +('2014_10_23_00_world.sql', 'C4CE350F917717F646C074294DC21DFD4A531358', 'ARCHIVED'), +('2014_10_23_01_world.sql', 'A1B8C1E18FD43AE8D1A9A0E00C91804DA5391F33', 'ARCHIVED'), +('2014_10_24_01_world_from_335.sql', '5A6EFA81F56575F85B27709944371C3E0A75D5D6', 'ARCHIVED'), +('2014_10_24_02_world.sql', '7AADECF3AB832E8E7662917E5E42E8ED0B911EF9', 'ARCHIVED'), +('2014_10_24_03_world.sql', '1A3BE9C3443254E8040700014CD0553C60079C3E', 'ARCHIVED'), +('2014_10_24_04_world.sql', '31D594C935B0BDCD85381FCE710A08724C367988', 'ARCHIVED'), +('2014_10_25_00_world.sql', '9F251D021F9F15F33D60998C50779BE25566B7DF', 'ARCHIVED'), +('2014_10_26_00_world.sql', '171319C2ACDB3DB8B93C34C8FD8AF8741CA5FBCB', 'ARCHIVED'), +('2014_10_26_01_world.sql', 'E10E2EB04D4B2C332BB5EFEFE04F54FA3471B699', 'ARCHIVED'), +('2014_10_26_02_world.sql', '61DD9CCFBE84A87433EDBACF9657C9222D5DEC21', 'ARCHIVED'), +('2014_10_26_03_world.sql', '6CD3E46FB34BB74D563E98A8F0E6C3D158651CF5', 'ARCHIVED'), +('2014_10_26_04_world.sql', '664B0B4EC3338289B6CA60EEE999D8363D4E4A58', 'ARCHIVED'), +('2014_10_26_05_world.sql', '769D4D8E652A7E30B819633AAD01154BCDA73A63', 'ARCHIVED'), +('2014_10_26_06_world_from_335.sql', 'FA22609D1B1D0B56760595FEA7445B0724A44EE6', 'ARCHIVED'), +('2014_10_27_00_world.sql', '431C68103E11C4A7579EF62DC4CD27D254C4E47A', 'ARCHIVED'), +('2014_10_27_01_world.sql', '735AD9C0307926D7CF6AC6845FF27B67650CD935', 'ARCHIVED'), +('2014_10_27_02_world.sql', '3DAEB7EC510D924B37BFAC7D8CA06B8E38D60FEA', 'ARCHIVED'), +('2014_10_28_00_world.sql', 'C59E8BCC1A58FB150B08A6D2F4003E5EC151E696', 'ARCHIVED'), +('2014_10_29_00_world.sql', 'E7A909C7DC8B50DCFC2E737909540041A89AEE11', 'ARCHIVED'), +('2014_10_29_01_world.sql', 'F478D2AE25B9C36E3456DD35884357063556AA36', 'ARCHIVED'), +('2014_10_30_00_world.sql', '46D284FE1E2847CE99FE707ECC0BDAB4C9F7EE06', 'ARCHIVED'), +('2014_10_30_01_world.sql', 'B1C5B27B6D4984F7BBB40388E92DD46FB5E8BFF0', 'ARCHIVED'), +('2014_10_30_02_world.sql', '6F0FFB389D698B8AFFA723EF55895C6CF2CBF7D3', 'ARCHIVED'), +('2014_10_31_00_world.sql', '6406626D2883AEF64DEA38E2D88A71A46915B5B6', 'ARCHIVED'), +('2014_10_31_01_world.sql', 'D397CEFFE883BB910FEDCE5EA5EDFB537FB2370A', 'ARCHIVED'), +('2014_10_31_02_world.sql', '215FB85430078FE0AFB771F34B5CEC85D6D4C22A', 'ARCHIVED'), +('2014_10_31_03_world.sql', 'A9BE071C624ABF152BAE5A97452CC505CE100D98', 'ARCHIVED'), +('2014_11_01_00_world.sql', 'D05FB5907D59AE2520A8658064A1DFC3D256256C', 'ARCHIVED'), +('2014_11_02_00_world.sql', 'AC4CBDC7BB6A51927841EF2BD98045CCD56C6AED', 'ARCHIVED'), +('2014_11_02_01_world.sql', '48DC7D245D7A7019B3333BA8F598AB566A321EE4', 'ARCHIVED'), +('2014_11_02_02_world.sql', '856AE4A3990B38A68155845C6D68F28F4B075C41', 'ARCHIVED'), +('2014_11_04_00_world.sql', '517BE655C4F39EAAA3025F843B29A0F276559FEF', 'ARCHIVED'), +('2014_11_07_00_world.sql', '16A0E153EDE2AB8C63A3BA6656AD71BB237FBCF3', 'ARCHIVED'), +('2014_11_07_01_world.sql', '5DCE2E3A55185587AD2DF83D5FB146C7A7D794A3', 'ARCHIVED'), +('2014_11_08_00_world.sql', 'B3C5B811A1C4805EDE7D11740187048A79A2369A', 'ARCHIVED'), +('2014_11_08_01_world.sql', '0C1F022696DF96302AB62B4A215FC37FAD66FA35', 'ARCHIVED'), +('2014_11_08_02_world.sql', '136936E2E16955DCD4B0EEA34AA3D22B6852A031', 'ARCHIVED'), +('2014_11_10_00_world.sql', '13B0D432ABC18E32531C1C97ECC51AA45EC506C7', 'ARCHIVED'), +('2014_11_10_01_world.sql', 'B9FFFED95D327392EA5CB264F6712BAC766C84BD', 'ARCHIVED'), +('2014_11_10_02_world.sql', 'A8830AD02DD7DF119721A979E165ED3259ED420B', 'ARCHIVED'), +('2014_11_10_03_world.sql', '8734F326B496D24871E16809D167F055B10D6F93', 'ARCHIVED'), +('2014_11_10_04_world.sql', 'F22AB772400FB35B1BFF6F58534CA681BF769281', 'ARCHIVED'), +('2014_11_10_05_world.sql', '4DC43402104F8296FA992C40916036B76F35560C', 'ARCHIVED'), +('2014_11_16_00_world.sql', 'BEBE47FC0D0E499FB6DBED310985BD9516F2935B', 'ARCHIVED'), +('2014_11_16_01_world.sql', 'C036EC4786AF8D5E01F6A681B3B9F1953FE0F5B0', 'ARCHIVED'), +('2014_11_16_02_world.sql', '4F16F69F0AAAA23C0254D4B89CA3AC3FDEC6DA03', 'ARCHIVED'), +('2014_11_16_03_world.sql', '178BA69418C7784475F36518CEE6D3C0233A3A07', 'ARCHIVED'), +('2014_11_16_04_world.sql', '0F14EE0A04BB2C3E393265082C2B7600236B2F14', 'ARCHIVED'), +('2014_11_16_05_world.sql', 'F6F0D8A12F64CAE47530F77E53B31FE9BA685CB3', 'ARCHIVED'), +('2014_11_16_06_world.sql', 'FF7C64269FD4C26EF6FB79D1EE5774E13C3C20D1', 'ARCHIVED'), +('2014_11_19_00_world.sql', '6E1D3D0451297EAE3A85903D4901E824BB4B5E50', 'ARCHIVED'), +('2014_11_19_01_world.sql', '2E545A1875301B2622B59BEF0473E90BA56EC4FD', 'ARCHIVED'), +('2014_11_20_00_world.sql', '2C0E3B63F1572F584C8E0B134FA925814ACDFE95', 'ARCHIVED'), +('2014_11_20_01_world.sql', '2FC08035F0F09783E228788781D5D492452803F7', 'ARCHIVED'), +('2014_11_20_02_world.sql', 'BF817119E9F568CDD5BEA712FA5DAABE008DA9F7', 'ARCHIVED'), +('2014_11_30_00_world.sql', 'F70897BD3E34C87320A2E3E6C72C66C6877A13FB', 'ARCHIVED'), +('2014_12_01_00_world.sql', 'B370BBB22E09C233ABB2CB3999E2BDD9A49A35A1', 'ARCHIVED'), +('2014_12_04_00_world.sql', 'C22F9C77CEF8805FFCB950BB7038D1EF12D49731', 'ARCHIVED'), +('2014_12_04_01_world.sql', 'D8353D92E679FABEE7B1F978B5394F5A18F7D40F', 'ARCHIVED'), +('2014_12_12_00_world.sql', '3E31732550055B7EB72443C30EA2ED975862215D', 'ARCHIVED'), +('2014_12_12_01_world.sql', 'D52B5EF4374EE67FE77D3C1AF004E42E1425DB10', 'ARCHIVED'), +('2014_12_12_02_world.sql', 'F0E9DDCF540B58123811993D09F61A2EFA34BC8D', 'ARCHIVED'), +('2014_12_12_03_world.sql', 'BFB07C36367BD9A198BB9CC34103EC0C401A09E8', 'ARCHIVED'), +('2014_12_13_00_world.sql', '394CF64309B1BACD7BDF1A6BF7D88DE2A335FFEE', 'ARCHIVED'), +('2014_12_15_00_world.sql', '88FF35DC8B665070E96249CA01AA079DBE995BBB', 'ARCHIVED'), +('2014_12_17_00_world.sql', '545A3022BB1D85E8FCF9BC1086D5C3864BF1F0CA', 'ARCHIVED'), +('2014_12_19_00_world.sql', 'AF594EB0D80B3DEC01686597DF369BC34D7398E8', 'ARCHIVED'), +('2014_12_19_01_world.sql', '557FF34D129C6758A1CE66AAD7A1A3516631D36D', 'ARCHIVED'), +('2014_12_21_00_world.sql', '4F07D137F7628A7DABED5FDD8EDB1B1A83086C0B', 'ARCHIVED'), +('2014_12_24_00_world.sql', 'BCD9B5C90A35CA1BA9ACCC31B053DCFDD8B714B0', 'ARCHIVED'), +('2014_12_25_00_world.sql', '925F10E1D8D69502293D2EEDE2DFC3D448D23724', 'ARCHIVED'), +('2014_12_25_01_world.sql', 'E4BB18FEC17307D04EA1E314DD36D770242C049B', 'ARCHIVED'), +('2014_12_26_00_world.sql', '0829D8347CB6BFFE08E0F5DF82F46CA071566E50', 'ARCHIVED'), +('2014_12_26_01_world.sql', 'B5FDA0031AFCB729C6079FB7D9DE81E8768A8F14', 'ARCHIVED'), +('2014_12_26_02_world.sql', 'BDC397D2FCB3E737F6520ACEDB6836C88E0B84A5', 'ARCHIVED'), +('2014_12_26_03_world.sql', '89E0C5196DA72793FFA26F259BD602066CBBC31E', 'ARCHIVED'), +('2014_12_26_04_world.sql', '58564849E75F397C8E1C744692191ADE39DFA514', 'ARCHIVED'), +('2014_12_26_05_world.sql', 'D370DC75186601FCBABB63845922B294099DA13B', 'ARCHIVED'), +('2014_12_26_06_world.sql', 'BE8F3B85AB5F89EF081B984A2E4B66B3D88BB9E9', 'ARCHIVED'), +('2014_12_26_07_world.sql', '69792C539312FB965DEA2206D129314E6B411445', 'ARCHIVED'), +('2014_12_27_00_world.sql', 'C58A8454E3D39A2021C8D82BCCB621EE992E0ACF', 'ARCHIVED'), +('2014_12_27_01_world.sql', '841BF49D1D54E7C8BBD3AAD8E233E0A592AF903E', 'ARCHIVED'), +('2014_12_27_02_world.sql', '9440E74C6E2D07B50F747895E285C5AA3D6CE3D3', 'ARCHIVED'), +('2014_12_27_03_world.sql', '4BB55FF64EDD594B0062E7056666D1E1B5A559B9', 'ARCHIVED'), +('2014_12_27_04_world.sql', '7C8BFB2FE5F58288E98C6395B1D7952BA0D923A0', 'ARCHIVED'), +('2014_12_27_05_world.sql', '7FC53862CD96381DE5C15C404FE25935E1AC603D', 'ARCHIVED'), +('2014_12_27_06_world.sql', 'EDB26E7292183B8867BD3D22941B3A21B350A18C', 'ARCHIVED'), +('2014_12_27_07_world.sql', 'B9455E80DEF0ADADE466632AC6206F43B8CF98EE', 'ARCHIVED'), +('2014_12_27_08_world.sql', '135C58B097B834FF4D195C9B13E9C462E5A12070', 'ARCHIVED'), +('2014_12_28_00_world.sql', '855E107ADD7D3078B2ED37D77BE8CDCD2E76D9E5', 'ARCHIVED'), +('2014_12_28_01_world.sql', '46ED66ED9F997555CFFF0ABF48712D4B54A015AF', 'ARCHIVED'), +('2014_12_28_02_world.sql', '8DE39EDA6246CF885B04BBE3C403A984A7947EB7', 'ARCHIVED'), +('2014_12_28_03_world.sql', '53E8B3A24AEB4467C5765FFF2B99CB646CC77319', 'ARCHIVED'), +('2014_12_28_04_world.sql', '67B7936CA2DB03E64380E61C520FE808EC900687', 'ARCHIVED'), +('2014_12_28_05_world.sql', '28542CF3F4EFCAF60E96B61740A7755CE4189FD9', 'ARCHIVED'), +('2014_12_28_06_world.sql', '277DFC82FE17489C519001A778ABE17F0FBCC605', 'ARCHIVED'), +('2014_12_28_07_world.sql', '717CF0E7F4795A972096EDFECCAAB561FBD8E987', 'ARCHIVED'), +('2014_12_29_00_world.sql', 'EF70B832664A0822CEA30EF51B4BEEDF185EC53D', 'ARCHIVED'), +('2014_12_30_00_world.sql', '468E05F2FB5B73647F77DDF375C1D10B5B5F35B1', 'ARCHIVED'), +('2015_01_10_00_world.sql', '9F93ABE80EBAA370971F61C094713CC73448DD74', 'ARCHIVED'), +('2015_01_10_01_world.sql', 'EDDA230907DE93B2E23171DBE757A8831F3EF0B3', 'ARCHIVED'), +('2015_01_10_02_world.sql', 'C6CC35B2021CA60C0BF43D3C88FCD323FF0D39F8', 'ARCHIVED'), +('2015_01_10_03_world.sql', '135690CAC7B6F786F00EBB8F5B385B815CFE9BFD', 'ARCHIVED'), +('2015_01_10_04_world.sql', 'F6098B3B1E2ED9484A15FE27E5ABE4960EFA3A28', 'ARCHIVED'), +('2015_01_10_05_world.sql', '9ADBEE777B28618822269D5D5923056D86194867', 'ARCHIVED'), +('2015_01_10_06_world.sql', 'D3CB658D8C880BF5988E31D2789DC1188AF12244', 'ARCHIVED'), +('2015_01_10_07_world.sql', '11FC9708637F44455A1EEB2D920652C11AF73204', 'ARCHIVED'), +('2015_01_11_01_world.sql', '880F9053836285B014E4F85787BB17B035ACA2BD', 'ARCHIVED'), +('2015_01_11_02_world.sql', '652501E5CC18ABAD377AF825667ACC91D07EA9AB', 'ARCHIVED'), +('2015_01_11_03_world.sql', '1D3AB865CC7C6241E43053B85B7289100F112A1E', 'ARCHIVED'), +('2015_01_12_00_world.sql', '6D97DF64ED2BA6668E1BBD20869B5D00A83AB6DC', 'ARCHIVED'), +('2015_01_15_00_world.sql', '9E1CB22E3F128A6597842DCA85E4A08C8E6A3B00', 'ARCHIVED'), +('2015_01_16_00_world.sql', '81959173F25898F3EDFC94A9BD40800B7459434D', 'ARCHIVED'), +('2015_01_18_00_world.sql', '7CA65728C59A00BECFAFC5585A79ED4B4AF5FAA3', 'ARCHIVED'), +('2015_01_30_00_world.sql', '0200615B833CB70E82C9B6D50BA6ED6F37C5A046', 'ARCHIVED'), +('2015_01_30_01_world.sql', '56DC1B47EE659D5B2C0740A3710B6BA9168C0A8D', 'ARCHIVED'), +('2015_02_02_00_world.sql', '3210E3CD12FCEE5E505D293113A0B77071FAA41B', 'ARCHIVED'), +('2015_02_02_00_world_from_335.sql', '4A7F644212D0BC1D8B4BDC7E27BA70BBBCF5C1A8', 'ARCHIVED'), +('2015_02_02_01_world.sql', '56FFF84EC62A9A8647C94B535EB6A0A2BAA4EECA', 'ARCHIVED'), +('2015_02_06_00_world.sql', '8D965E6D688C50DEB197E4B5B6D3F911264FF00B', 'ARCHIVED'), +('2015_02_08_00_world.sql', 'B64B75BC708A959CB370557949671CB75BBB87D9', 'ARCHIVED'), +('2015_02_11_00_world.sql', '50B5E9DAFC4BF3260DF78DA4D9A874728C11D589', 'ARCHIVED'), +('2015_02_12_00_world.sql', 'AA1E0BFE3C23ABAECE17E151EE9F74C86FDB32C2', 'ARCHIVED'), +('2015_02_13_00_world.sql', '4A552FFBB0218FB2E7E54429DD27F9F6B3C71DBA', 'ARCHIVED'), +('2015_02_18_00_world.sql', '9224197FD3427974D942FEBCCEDE7ABD40300E23', 'ARCHIVED'), +('2015_02_19_00_world.sql', '4E9ED1DC0DF1FD173CD15FA35A79353E08455A30', 'ARCHIVED'), +('2015_02_20_00_world.sql', '52BA5B5A6F386B852E1A115F2C39B66108314A5F', 'ARCHIVED'), +('2015_02_20_01_world.sql', '1C0C6A74212690BB07BA50524A8BB54D3AEC7708', 'ARCHIVED'), +('2015_02_20_02_world.sql', '77DE8E0108E079741E0C3CED01AB4FD60260C57A', 'ARCHIVED'), +('2015_02_22_00_world.sql', '8CC806EC21F9F194CE06DC80F0C8F5A4509EFBDA', 'ARCHIVED'), +('2015_02_22_01_world.sql', 'A2AD10247D226951FEE769F3872194F0E1D9C44A', 'ARCHIVED'), +('2015_03_07_00_world.sql', '9DA807070CA63F4342884DF65C7FE409EEEBAE49', 'ARCHIVED'), +('2015_03_07_01_world.sql', '60835178B525B1E2A842A7AB660AD7B6F0832063', 'ARCHIVED'), +('2015_03_07_02_world.sql', '3FBA2EDD2A3641A697CA71D0E0C5E716A057C13E', 'ARCHIVED'), +('2015_03_07_03_world.sql', '560D71607A4E444B5C51D7E2B333D2064AD55D75', 'ARCHIVED'), +('2015_03_10_00_world.sql', 'E9B5D25DF80B70998336A580E419AF3E78266597', 'ARCHIVED'), +('2015_03_16_00_world.sql', 'E386644A485C16DDA4EE83415808BB6C77DC1E87', 'ARCHIVED'), +('2015_03_16_01_world.sql', 'D8018D2645F6A21308F7AB2EA12F09474B5BFF46', 'ARCHIVED'), +('2015_03_16_02_world.sql', '68914E093312389F0AADEDFEF0BD190117965AC4', 'ARCHIVED'), +('2015_03_16_03_world.sql', '673267031A5450A7C010B28D99E4CCC3A90B778D', 'ARCHIVED'), +('2015_03_16_04_world.sql', '74275F00F6C5168870F7A01CEF19DD3D06572734', 'ARCHIVED'), +('2015_03_16_05_world.sql', '6E44CFA09EF45C7FA2D63F0679F2B216B620D7C7', 'ARCHIVED'), +('2015_03_16_06_world.sql', '44C2A4C393AB3E5401FBD122784E6E56B28942B6', 'ARCHIVED'), +('2015_03_16_07_world.sql', '83D3171C249FA95CB2576EABE7EB469F34DEAB2D', 'ARCHIVED'), +('2015_03_16_08_world.sql', '96C9E201D6F5F896C96A06E94228F1067C19D7CE', 'ARCHIVED'), +('2015_03_16_09_world.sql', 'AE99495134C2AA1762047853A48193E1E2B7E240', 'ARCHIVED'), +('2015_03_16_10_world.sql', '6166BEE0E14FE9F15777F041747230AF546ED99E', 'ARCHIVED'), +('2015_03_17_00_world.sql', 'F71FE9758B3AFFD80E391209A743D43B04E6F93A', 'ARCHIVED'), +('2015_03_17_02_world.sql', '6212A1CF186600907CBAE1000B9D6AF2026B6E7D', 'ARCHIVED'), +('2015_03_18_00_world.sql', '1103C059C8FE207DAC6F3E1D629852968EB6F917', 'ARCHIVED'), +('2015_03_18_01_world.sql', '3BC3E66ECFABCCDCFF43ABAFBE4381AD0ED4228A', 'ARCHIVED'), +('2015_03_19_00_world.sql', '45B0A3D93365CE324AD25C72554B13AE47356F43', 'ARCHIVED'), +('2015_03_20_00_world.sql', '8E7C56D7C5F6FC85C291BEEFCEDF036431A399E9', 'ARCHIVED'), +('2015_03_20_01_world.sql', '618093A729BC0FE4FC141AF79F702C28D370E70B', 'ARCHIVED'), +('2015_03_20_02_world.sql', 'A0FF748366FEA70998B6F9639355C67EBCA95572', 'ARCHIVED'), +('2015_03_20_03_world.sql', '062DA1A1DE0186948FD9A8958BD6D7EA8CE5507D', 'ARCHIVED'), +('2015_03_20_04_world.sql', 'B761760804EA73BD297F296C5C1919687DF7191C', 'ARCHIVED'), +('2015_03_20_05_world.sql', '8481BE9B805704C97D2D8D54272F1E443184B3B2', 'ARCHIVED'), +('2015_03_20_06_world.sql', '', 'ARCHIVED'); diff --git a/sql/updates/hotfixes/dummy b/sql/updates/hotfixes/dummy new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/sql/updates/hotfixes/dummy diff --git a/sql/updates/world/2015_03_21_00_world.sql b/sql/updates/world/2015_03_21_00_world.sql new file mode 100644 index 00000000000..1fff83cbb3d --- /dev/null +++ b/sql/updates/world/2015_03_21_00_world.sql @@ -0,0 +1 @@ +UPDATE `version` SET `db_version`='TDB 6.01', `cache_id`=1 LIMIT 1; diff --git a/sql/updates/world/2015_03_21_01_world.sql b/sql/updates/world/2015_03_21_01_world.sql new file mode 100644 index 00000000000..82b5304ef7b --- /dev/null +++ b/sql/updates/world/2015_03_21_01_world.sql @@ -0,0 +1,60 @@ +SET @CGUID := 69713; -- 4 free guid set by TC +SET @OGUID := 6144; -- 2 free guid set by TC + +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID AND @CGUID+3; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `curhealth`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 21318, 530, 1, 1, -3800.380, 2601.100, 90.14300, 5.481630, 180, 6986, 0, 0), +(@CGUID+1, 21310, 530, 1, 1, -3802.939, 2594.501, 92.709, 1.605702, 300, 6986, 0, 0), +(@CGUID+2, 21310, 530, 1, 1, -3794.054, 2588.724, 92.709, 1.905461, 300, 6986, 0, 0), +(@CGUID+3, 21310, 530, 1, 1, -3788.540, 2597.479, 92.709, 3.382006, 300, 6986, 0, 0); + +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+1; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 184731, 530, 1, 1, -3802.939, 2594.501, 92.18282, 1.605702, 0, 0, 0, 1, 120, 255, 1), -- 184731 (Area: -1) +(@OGUID+1, 184731, 530, 1, 1, -3794.054, 2588.724, 92.18282, 1.905461, 0, 0, 0, 1, 120, 255, 1); -- 184731 (Area: -1) + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (21310, 21309); +UPDATE `creature_template` SET `InhabitType`=4, `gossip_menu_id`=8287, `AIName`='SmartAI' WHERE `entry`=21292; +UPDATE `creature_template` SET `gossip_menu_id`=8288, `AIName`='SmartAI' WHERE `entry`=21318; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-@CGUID+1, -@CGUID+2, -@CGUID+3, -74618, 21318, 21292, 21309); +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(-74618,0,0,0,1,0,100,1,0,0,0,0,11,36558,0,0,0,0,0,19,21292,30,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - OOC no repeat - Cast Ar''tor''s Prison'), +(-@CGUID+1,0,0,0,1,0,100,1,0,0,0,0,11,36558,0,0,0,0,0,19,21292,30,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - OOC no repeat - Cast Ar''tor''s Prison'), +(-@CGUID+2,0,0,0,1,0,100,1,0,0,0,0,11,36558,0,0,0,0,0,19,21292,30,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - OOC no repeat - Cast Ar''tor''s Prison'), +(-@CGUID+3,0,0,0,1,0,100,1,0,0,0,0,11,36558,0,0,0,0,0,19,21292,30,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - OOC no repeat - Cast Ar''tor''s Prison'), +(21292,0,0,0,20,0,100,0,10528,0,0,0,45,0,1,0,0,0,0,19,21318,20,0,0,0,0,0, 'Ar''tor, Son of Oronok - -On quest Rewarded - Set Data'), +(21318,0,0,0,38,0,100,0,0,1,0,0,1,0,0,0,0,0,0,21,30,0,0,0,0,0,0, 'Spirit of Ar''tor -On Data set - Talk'), +(21309,0,0,0,0,0,100,0,5000,7000,20000,25000,11,38048,0,0,0,0,0,2,0,0,0,0,0,0,0,"Painmistress Gabrissa - In Combat - Cast 'Curse of Pain'"), +(21309,0,1,0,0,0,100,0,6000,7000,17000,20000,11,38169,0,0,0,0,0,2,0,0,0,0,0,0,0,"Painmistress Gabrissa - In Combat - Cast 'Curse of Pain'"), +(21309,0,2,0,25,0,100,0,0,0,0,0,11,32783,0,0,0,0,0,1,0,0,0,0,0,0,0,"Painmistress Gabrissa - On reset - Cast 'Arcane Channeling'"); + +DELETE FROM `creature_text` WHERE `entry`=21318; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`, `BroadcastTextID`) VALUES +(21318,0,0,'I... I have died... I was in so much pain... engulfed in darkness... Can you see me, $r?',12,0,100,0,0,0, 'Spirit of Ar''tor ', 18993); + +DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+1, @CGUID+2, @CGUID+3, 74618); +INSERT INTO `creature_addon` (`guid`,`bytes1`,`bytes2`, `emote`, `auras`) VALUES +(@CGUID+1,0,4097,0,"60194"), +(@CGUID+2,0,4097,0,"60194"), +(@CGUID+3,0,4097,0,"60194"), +(74618,0,4097,0,"60194"); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (21307, 21292); +INSERT INTO `creature_template_addon` (`entry`,`bytes1`,`bytes2`, `emote`, `auras`) VALUES +(21292,0,4097,383,""), +(21307,0,4097,0,"31261"); + +DELETE FROM `gossip_menu` WHERE `entry`=8288 AND `text_id`=10327; +DELETE FROM `gossip_menu` WHERE `entry`=8287 AND `text_id`=10323; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(8287, 10323), +(8288, 10327); + +DELETE FROM `spell_area` WHERE `spell`=60197 AND `area`=3752; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(60197, 3752, 10528, 0, 0, 0, 2, 1, 64, 0); + +DELETE FROM `spell_area` WHERE `spell`=60194 AND `area`=3752; +INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`, `quest_start_status`, `quest_end_status`) VALUES +(60194, 3752, 0, 10528, 0, 0, 2, 1, 0, 11); diff --git a/sql/updates/world/2015_03_21_02_world.sql b/sql/updates/world/2015_03_21_02_world.sql new file mode 100644 index 00000000000..831bf907912 --- /dev/null +++ b/sql/updates/world/2015_03_21_02_world.sql @@ -0,0 +1,5 @@ +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = 23161; +INSERT INTO `spell_linked_spell` VALUES (23161, 31725, 0, 'Summon Nightmare'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = 5784; +INSERT INTO `spell_linked_spell` VALUES (5784, 31725, 0, 'Summon felsteed'); diff --git a/sql/updates/world/2015_03_22_00_world.sql b/sql/updates/world/2015_03_22_00_world.sql new file mode 100644 index 00000000000..97ecb115bc2 --- /dev/null +++ b/sql/updates/world/2015_03_22_00_world.sql @@ -0,0 +1,243 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(21181,21310,17008,21052,21685,21686,21687,21738,21739,21740,21741,21049) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(2118100,2131000,2102401) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid` =21024 AND `source_type`=0 AND `id`>1; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE entry IN (21181, 17008, 21052, 21685, 21686, 21687, 21310,21738,21739,21740,21741,21049); + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21049, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Spirit of the Past - On spawn - set Phase 1'), +(21049, 0, 1, 0, 1, 1, 100, 0, 0, 180000, 90000, 180000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Spirit of the Past - OOC (Phase 1) - Say Line 0'), +(21049, 0, 2, 0, 38, 0, 100, 0, 1, 1, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Spirit of the Past - On Data Set 1 1 - set Phase 2'), +(21049, 0, 3, 0, 1, 2, 100, 0, 300000, 300000, 300000, 300000, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Spirit of the Past - OOC (Phase 2) - Set Phase 1'), +(21738, 0, 0, 0, 1, 0, 100, 1, 100, 100, 0, 0, 11, 25035, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redeemed Spirit of Air - OOC (No Repeat) - Cast Elemental Spawn-in'), +(21739, 0, 0, 0, 1, 0, 100, 1, 100, 100, 0, 0, 11, 25035, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redeemed Spirit of Earth - OOC (No Repeat) - Cast Elemental Spawn-in'), +(21740, 0, 0, 0, 1, 0, 100, 1, 100, 100, 0, 0, 11, 25035, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redeemed Spirit of Fire - OOC (No Repeat) - Cast Elemental Spawn-in'), +(21741, 0, 0, 0, 1, 0, 100, 1, 100, 100, 0, 0, 11, 25035, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Redeemed Spirit of Water - OOC (No Repeat) - Cast Elemental Spawn-in'), +(21024, 0, 2, 0, 38, 1, 100, 0, 1, 1, 0, 0, 80, 2102401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - On Data Set 1 1 - Run Script 2'), +(21181, 0, 0 ,0, 9, 0, 100, 0, 0,20,10000,15000,11,18945,2,0,0,0,0,7,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Range - Cast Knock-Away'), +(21181, 0, 1 ,0, 0, 0, 100, 0, 3000,5000,5000,11000,11,39429,2,0,0,0,0,5,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - IC - Cast Fel Flamestrike'), +(21181, 0, 2 ,0, 9, 0, 100, 0, 0,20,8000,13000,11,39425,2,0,0,0,0,5,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Range - Cast Trample'), +(21181, 0, 3 ,0, 11, 0, 100, 0, 0,0,0,0,18,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Spawn - Set Unit Flags'), +(21181, 0, 4 ,0, 38, 0, 100, 0, 1,1,0,0,53,0,21181,0,0,0,0,1,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Data Set 1 1 - Start WP'), +(21181, 0, 5 ,6, 40, 0, 100, 0, 1,21181,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Reached WP1 - Set Home Position'), +(21181, 0, 6 ,7, 61, 0, 100, 0, 0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Reached WP1 - Set Unit Flags'), +(21181, 0, 7 ,8, 61, 0, 100, 0, 0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Reached WP1 - Set Aggresive'), +(21181, 0, 8 ,9, 61, 0, 100, 0, 0,0,0,0,49,0,0,0,0,0,0,19,21685,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Reached WP1 - Start Attack'), +(21181, 0, 9 ,10, 61, 0, 100, 0, 0,0,0,0,45,2,2,0,0,0,0,19,21686,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Reached WP1 - Start Attack'), +(21181, 0, 10 ,0, 61, 0, 100, 0, 0,0,0,0,45,2,2,0,0,0,0,19,21687,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Reached WP1 - Start Attack'), +(21181, 0, 11 ,0, 1, 0, 100, 0, 0,0,15000,30000,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - IC - Say'), +(21181, 0, 12 ,0, 6, 0, 100, 0, 0,0,0,0,45,1,1,0,0,0,0,19,21024,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Death - Set Data'), +(21181, 0, 13 ,0, 54, 0, 100, 0, 0,0,0,0,11,36329,0,0,0,0,0,1,0,0,0,0,0,0,0,'Cyrukh the Firelord <The Dirge of Karabor> - On Just SUmmoned - Cast Cyrukh Fire Kit'), +(17008, 0, 0 ,0, 38, 0, 100, 0, 1,1,0,0,11,35996,0,0,0,0,0,1,0,0,0,0,0,0,0,'Guldan - On Data Set 1 1 - Cast Guldan Channel'), +(17008, 0, 1 ,0, 38, 0, 100, 0, 2,2,0,0,28,35996,0,0,0,0,0,1,0,0,0,0,0,0,0,'Guldan - On Data Set 2 2 - Remove Aura Guldan Channel'), +(17008, 0, 2 ,0, 38, 0, 100, 0, 3,3,0,0,66,0,0,0,0,0,0,19,21049,0,0,0,0,0,0,'Guldan - On Data Set 3 3 - Set Orientation'), +(17008, 0, 3 ,0, 38, 0, 100, 0, 4,4,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.95674,'Guldan - On Data Set 3 3 - Set Orientation'), +(21052, 0, 0 ,0, 1, 2, 100, 0, 0,0,500,1000,11,35997,0,0,0,0,0,1,0,0,0,0,0,0,0,'Camera Shaker - Altar of Damnation - OOC (Phase 2) - Cast Fel Flames'), +(21052, 0, 1 ,0, 1, 2, 100, 0, 30000,30000,30000,30000,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Camera Shaker - Altar of Damnation - OOC (Phase 2) - Set Phase 1'), +(21052, 0, 2 ,0, 1, 2, 100, 0, 0,1000,1000,3000,11,35757,0,0,0,0,0,1,0,0,0,0,0,0,0,'Camera Shaker - Altar of Damnation - OOC (Phase 2) - Cast Ultris Destroyed'), +(21052, 0, 3 ,0, 38, 0, 100, 0, 1,1,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Camera Shaker - Altar of Damnation -On Data Set 1 1 - Set Phase 2'), +(21685, 0, 0 ,0, 38, 0, 100, 0, 1,1,0,0,81,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Data Set 1 1 - Set NPC Flags Gossip'), +(21685, 0, 1 ,2, 62, 0, 100, 0, 8350,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,'Oronok Torn-heart - On Gossip Select - Store Targetlist'), +(21685, 0, 2 ,3, 61, 0, 100, 0, 0,0,0,0,81,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Gossip Select - Set NPC Flags None'), +(21685, 0, 3 ,4, 61, 0, 100, 0, 0,0,0,0,45,1,1,0,0,0,0,19,21686,0,0,0,0,0,0,'Oronok Torn-heart - On Gossip Select - Set Data'), +(21685, 0, 4 ,5, 61, 0, 100, 0, 0,0,0,0,45,1,1,0,0,0,0,19,21687,0,0,0,0,0,0,'Oronok Torn-heart - On Gossip Select - Set Data'), +(21685, 0, 5 ,0, 61, 0, 100, 0, 0,0,0,0,53,0,21685,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Gossip Select - Start WP'), +(21685, 0, 6 ,7, 40, 0, 100, 0, 12,21685,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Reached WP12 - Set Home Position'), +(21685, 0, 7 ,8, 61, 0, 100, 0, 0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Reached WP12 - Set Unit Flags'), +(21685, 0, 8 ,9, 61, 0, 100, 0, 0,0,0,0,2,495,0,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Reached WP12 - Set Faction'), +(21685, 0, 9 ,10, 61, 0, 100, 0, 0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Reached WP12 - Set Aggresive'), +(21685, 0, 10 ,0, 61, 0, 100, 0, 0,0,0,0,45,1,1,0,0,0,0,19,21181,0,0,0,0,0,0,'Oronok Torn-heart - On Reached WP12 - Set Data on Cyrukh the Firelord <The Dirge of Karabor>'), +(21685, 0, 11 ,0, 0, 0, 100, 0, 0,0,8000,11000,11,16006,0,0,0,0,0,2,0,0,0,0,0,0,0,'Oronok Torn-heart - IC - Cast Chain Lightning'), +(21685, 0, 12 ,0, 0, 0, 100, 0, 0,0,6000,8000,11,12548,0,0,0,0,0,2,0,0,0,0,0,0,0,'Oronok Torn-heart - IC - Cast Frost Shock'), +(21685, 0, 13 ,0, 2, 0, 100, 0, 0,40,5000,8000,11,12491,0,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Less than 40% HP - Cast Healing Wave'), +(21685, 0, 14 ,0, 38, 0, 100, 0, 5,5,0,0,11,12491,0,0,0,0,0,19,21687,0,0,0,0,0,0,'Oronok Torn-heart - On Data Set - Cast Healing Wave'), +(21685, 0, 15 ,16, 38, 0, 100, 0, 6,6,0,0,71,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Data Set 6 6 - Unequip weapon'), +(21685, 0, 16 ,0, 61, 0, 100, 0, 0,0,0,0,15,10588,0,0,0,0,0,12,1,0,0,0,0,0,0,'Oronok Torn-heart - On Data Set 6 6 - Complete Quest - The Cipher of Damnation'), +(21685, 0, 17 ,0, 7, 0, 100, 0, 0,0,0,0,53,0,2168500,0,0,0,0,1,0,0,0,0,0,0,0,'Oronok Torn-heart - On Evade - Start WP (Path 2)'), +(21685, 0, 18 ,0, 40, 0, 100, 0, 1,2168500,0,0,66,0,0,0,0,0,0,19,21024,0,0,0,0,0,0,'Oronok Torn-heart - On Reached WP1 (Path 2) - Set Orientation'), +(21686, 0, 0 ,0, 38, 0, 100, 0, 1,1,0,0,53,0,21686,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Data Set - Start WP'), +(21686, 0, 1 ,2, 40, 0, 100, 0, 18,21686,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Reached WP18 - Set Home Position'), +(21686, 0, 2 ,3, 61, 0, 100, 0, 0,0,0,0,2,495,0,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Reached WP18 - Set Faction'), +(21686, 0, 3 ,4, 61, 0, 100, 0, 0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Reached WP18 - Set Unit Flags'), +(21686, 0, 4 ,0, 61, 0, 100, 0, 0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Reached WP18 - Set Aggresive'), +(21686, 0, 5 ,0, 38, 0, 100, 0, 2,2,0,0,49,0,0,0,0,0,0,19,21181,0,0,0,0,0,0,'Borak, Son of Oronok - On Data Set - Start Attack'), +(21686, 0, 6 ,0, 9, 0, 100, 0, 0,5,3000,6000,11,27611,0,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Range - Cast Eviscerate'), +(21686, 0, 7 ,0, 9, 0, 100, 0, 0,5,15000,18000,11,30470,0,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Range - Cast Slice and Dice'), +(21686, 0, 8 ,0, 38, 0, 100, 0, 3,3,0,0,71,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Data Set 3 3 - Unequip weapon'), +(21686, 0, 9 ,0, 7, 0, 100, 0, 0,0,0,0,53,0,2168600,0,0,0,0,1,0,0,0,0,0,0,0,'Borak, Son of Oronok - On Evade - Start WP (Path 2)'), +(21686, 0, 10 ,0, 40, 0, 100, 0, 1,2168600,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.660839,'Borak, Son of Oronok - On Reached WP1 (Path 2) - Set Orientation'), +(21687, 0, 0 ,0, 38, 0, 100, 0, 1,1,0,0,53,0,21687,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Data Set - Start WP'), +(21687, 0, 1 ,2, 40, 0, 100, 0, 17,21687,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Reached WP17 - Set Home Position'), +(21687, 0, 2 ,3, 61, 0, 100, 0, 0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Reached WP17 - Set Unit Flags'), +(21687, 0, 3 ,4, 61, 0, 100, 0, 0,0,0,0,2,495,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Reached WP17 - Set Faction'), +(21687, 0, 4 ,0, 61, 0, 100, 0, 0,0,0,0,8,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Reached WP17 - Set Aggresive'), +(21687, 0, 5 ,0, 38, 0, 100, 0, 2,2,0,0,49,0,0,0,0,0,0,19,21181,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Data Set - Start Attack'), +(21687, 0, 6 ,0, 4, 0, 100, 0, 0,0,0,0,11,31403,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Agro - Cast Battle Shout'), +(21687, 0, 7 ,0, 9, 0, 100, 0, 0,5,3000,7000,11,29426,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Range - Cast Heroic Strike'), +(21687, 0, 8 ,0, 9, 0, 100, 0, 0,5,8000,13000,11,12169,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Range - Cast Shield Block'), +(21687, 0, 9 ,0, 9, 0, 100, 0, 0,5,18000,23000,11,15062,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Range - Cast Shield Wall'), +(21687, 0, 10 ,0, 0, 0, 100, 0, 0,5000,5000,8000,11,26281,0,0,0,0,0,2,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - IC - Cast Taunt'), +(21687, 0, 11 ,0, 2, 0, 100, 0, 0,40,5000,8000,45,4,4,0,0,0,0,19,21685,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Less than 40% HP - Set Data Oronok Torn-heart'), +(21687, 0, 12 ,0, 38, 0, 100, 0, 3,3,0,0,71,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Data Set 3 3 - Unequip weapon'), +(21687, 0, 13 ,0, 7, 0, 100, 0, 0,0,0,0,53,0,2168700,0,0,0,0,1,0,0,0,0,0,0,0,'Gromtor, Son of Oronok - On Evade - Start WP (Path 2)'), +(21687, 0, 14 ,0, 40, 0, 100, 0, 1,2168700,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.503118,'Gromtor, Son of Oronok - On Reached WP1 (Path 2) - Set Orientation'), +(21310, 0, 3 ,0, 54, 0, 100, 0, 0,0,0,0,80,2131000,2,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - On Spawn - Run Script'), +(2102401, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Set Phase 2'), +(2102401, 9, 1, 0, 0, 0, 100, 0, 15000, 15000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 19, 21685, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 6 (Oronok Torn-heart)'), -- 18:45:48.094 +(2102401, 9, 2, 0, 0, 0, 100, 0, 20000, 20000, 0, 0, 1, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 11'), -- 18:46:05.594 +(2102401, 9, 3, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 107, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Summon Group 2'), -- 18:46:08.938 +(2102401, 9, 4, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 7, 0, 0, 0, 0, 0, 19, 21685, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 7 (Oronok Torn-heart)'), -- 18:46:13.844 +(2102401, 9, 5, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 21739, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 1 (Redeemed Spirit of Earth)'), -- 18:46:18.938 +(2102401, 9, 6, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 21740, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 0 (Redeemed Spirit of Fire)'), -- 18:46:27.953 +(2102401, 9, 7, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 8'), -- 18:46:34.235 +(2102401, 9, 8, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 21739, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 0 (Redeemed Spirit of Earth)'), -- 18:46:38.813 +(2102401, 9, 9, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 21685, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 1 (Oronok Torn-heart)'), -- 18:46:42.844 +(2102401, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 21685, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 2 (Oronok Torn-heart)'), -- 18:46:42.844 +(2102401, 9, 11, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 21685, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Say Line 3 (Oronok Torn-heart)'), -- 18:46:48.860 +(2102401, 9, 12, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 45, 6, 6, 0, 0, 0, 0, 19, 21685, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Set Data 6 6 Oronok Torn-heart'), -- 18:46:48.860 +(2102401, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 3, 3, 0, 0, 0, 0, 19, 21686, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Set Data 3 3 Borak, Son of Oronok'), -- 18:46:48.860 +(2102401, 9, 14, 0, 0, 0, 100, 0, 0, 0, 0, 0, 45, 3, 3, 0, 0, 0, 0, 19, 21687, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Set Data 3 3 Gromtor, Son of Oronok'), -- 18:46:48.860 +(2102401, 9, 15, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 21685, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Despawn '), -- 18:46:48.860 +(2102401, 9, 16, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 21686, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Despawn'), -- 18:46:48.860 +(2102401, 9, 17, 0, 0, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 21687, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Despawn'), -- 18:46:48.860 +(2102401, 9, 18, 0, 0, 0, 100, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Torlok <The Earthen Ring> - Script 2 - Set Phase 1'), +(2131000, 9, 1 ,0, 0, 0, 100, 0, 0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 1'), +(2131000, 9, 2 ,0, 0, 0, 100, 0, 0,0,0,0,45,3,3,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Set Data 3 3 on Gul''Dan'), +(2131000, 9, 3 ,0, 0, 0, 100, 0, 3000,3000,0,0,1,0,0,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 1 on Gul''Dan'), +(2131000, 9, 4 ,0, 0, 0, 100, 0, 0,0,0,0,45,1,1,0,0,0,0,9,21049,0,200,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Set Data 1 1 on Spirit of the Past'), +(2131000, 9, 5 ,0, 0, 0, 100, 0, 6000,6000,0,0,45,4,4,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Set Data 4 4 on Gul''Dan'), +(2131000, 9, 6 ,0, 0, 0, 100, 0, 1000,1000,0,0,45,1,1,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Set Data 1 1 on Gul''Dan'), +(2131000, 9, 7 ,0, 0, 0, 100, 0, 0,0,0,0,1,1,0,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 2 on Gul''Dan'), +(2131000, 9, 8 ,0, 0, 0, 100, 0, 0,0,0,0,45,1,1,0,0,0,0,9,21052,0,200,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Set Data 1 1 on Camera Shaker - Altar of Damnation'), +(2131000, 9, 9 ,0, 0, 0, 100, 0, 3000,3000,0,0,1,2,0,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 3 on Gul''Dan'), +(2131000, 9, 10 ,0, 0, 0, 100, 0, 4000,4000,0,0,12,21181,2,600000,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Summon Cyrukh the Firelord <The Dirge of Karabor>'), +(2131000, 9, 11 ,0, 0, 0, 100, 0, 0,0,0,0,1,3,0,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 4 on Gul''Dan'), +(2131000, 9, 12 ,0, 0, 0, 100, 0, 1000,1000,0,0,1,0,0,0,0,0,0,19,21181,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 4 on Cyrukh the Firelord <The Dirge of Karabor>'), +(2131000, 9, 13 ,0, 0, 0, 100, 0, 3000,3000,0,0,107,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Summon Group'), +(2131000, 9, 14 ,0, 0, 0, 100, 0, 3000,3000,0,0,1,0,0,0,0,0,0,19,21685,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 1 on Oronok Torn-heart'), +(2131000, 9, 15 ,0, 0, 0, 100, 0, 3000,3000,0,0,1,4,0,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 5 on Gul''Dan'), +(2131000, 9, 16 ,0, 0, 0, 100, 0, 6000,6000,0,0,1,5,0,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 6 on Gul''Dan'), +(2131000, 9, 17 ,0, 0, 0, 100, 0, 0,0,0,0,45,2,2,0,0,0,0,19,17008,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Set Data 2 2 on Gul''Dan'), +(2131000, 9, 18 ,0, 0, 0, 100, 0, 6000,6000,0,0,1,5,0,0,0,0,0,19,21685,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Say Line 2 on Oronok Torn-heart'), +(2131000, 9, 19 ,0, 0, 0, 100, 0, 0,0,0,0,45,1,1,0,0,0,0,19,21685,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Set Data 1 1 on Oronok Torn-heart'), +(2131000, 9, 20 ,0, 0, 0, 100, 0, 0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Shadowmoon Valley Invisible Trigger (Tiny) - Script - Despawn'); + +DELETE FROM `waypoints` WHERE `entry` IN(21685,21686,21687,21181,2168500,2168600,2168700); + +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(21687, 1,-3620.271, 1862.062, 48.44324, 'Gromtor, Son of Oronok'), +(21687, 2,-3623.021, 1861.062, 48.94324, 'Gromtor, Son of Oronok'), +(21687, 3,-3626.021, 1860.062, 49.94324, 'Gromtor, Son of Oronok'), +(21687, 4,-3629.771, 1858.812, 50.94324, 'Gromtor, Son of Oronok'), +(21687, 5,-3631.521, 1858.312, 51.69324, 'Gromtor, Son of Oronok'), +(21687, 6,-3633.521, 1857.562, 52.44324, 'Gromtor, Son of Oronok'), +(21687, 7,-3634.521, 1857.312, 53.44324, 'Gromtor, Son of Oronok'), +(21687, 8,-3636.271, 1856.562, 54.19324, 'Gromtor, Son of Oronok'), +(21687, 9,-3637.271, 1856.312, 55.19324, 'Gromtor, Son of Oronok'), +(21687, 10,-3640.271, 1855.312, 55.69324, 'Gromtor, Son of Oronok'), +(21687, 11,-3643.021, 1854.562, 56.44324, 'Gromtor, Son of Oronok'), +(21687, 12,-3642.169, 1854.779, 56.43678, 'Gromtor, Son of Oronok'), +(21687, 13,-3644.919, 1854.529, 56.68678, 'Gromtor, Son of Oronok'), +(21687, 14,-3642.169, 1854.779, 56.43678, 'Gromtor, Son of Oronok'), +(21687, 15,-3644.919, 1854.529, 56.68678, 'Gromtor, Son of Oronok'), +(21687, 16,-3646.248, 1853.079, 57.05591, 'Gromtor, Son of Oronok'), +(21687, 17,-3647.998, 1852.079, 57.80591, 'Gromtor, Son of Oronok'), +(21686, 1,-3618.578, 1866.529, 48.23744, 'Borak, Son of Oronok'), +(21686, 2,-3620.311, 1865.76, 48.47595, 'Borak, Son of Oronok'), +(21686, 3,-3622.811, 1865.26, 48.97595, 'Borak, Son of Oronok'), +(21686, 4,-3624.811, 1864.51, 49.47595, 'Borak, Son of Oronok'), +(21686, 5,-3626.313, 1863.896, 50.1328, 'Borak, Son of Oronok'), +(21686, 6,-3628.313, 1863.396, 50.8828, 'Borak, Son of Oronok'), +(21686, 7,-3630.313, 1862.646, 51.3828, 'Borak, Son of Oronok'), +(21686, 8,-3632.813, 1861.896, 52.1328, 'Borak, Son of Oronok'), +(21686, 9,-3634.813, 1861.396, 52.8828, 'Borak, Son of Oronok'), +(21686, 10,-3634.81, 1861.143, 53.03374, 'Borak, Son of Oronok'), +(21686, 11,-3636.56, 1860.643, 53.78374, 'Borak, Son of Oronok'), +(21686, 12,-3639.31, 1859.893, 54.28374, 'Borak, Son of Oronok'), +(21686, 13,-3641.06, 1859.393, 55.03374, 'Borak, Son of Oronok'), +(21686, 14,-3643.06, 1858.643, 56.03374, 'Borak, Son of Oronok'), +(21686, 15,-3643.157, 1857.902, 56.33821, 'Borak, Son of Oronok'), +(21686, 16,-3644.657, 1857.152, 57.08821, 'Borak, Son of Oronok'), +(21686, 17,-3646.227, 1855.506, 57.3797, 'Borak, Son of Oronok'), +(21686, 18,-3648.227, 1853.756, 58.3797, 'Borak, Son of Oronok'), +(21685, 1,-3619.83, 1857.978, 48.17765, 'Oronok Torn-heart'), +(21685, 2,-3624.58, 1856.228, 48.67765, 'Oronok Torn-heart'), +(21685, 3,-3625.787, 1855.872, 49.38496, 'Oronok Torn-heart'), +(21685, 4,-3627.787, 1855.122, 50.13496, 'Oronok Torn-heart'), +(21685, 5,-3629.537, 1854.622, 51.13496, 'Oronok Torn-heart'), +(21685, 6,-3630.287, 1854.372, 51.63496, 'Oronok Torn-heart'), +(21685, 7,-3631.287, 1854.122, 53.13496, 'Oronok Torn-heart'), +(21685, 8,-3632.287, 1853.872, 53.88496, 'Oronok Torn-heart'), +(21685, 9,-3632.533, 1853.489, 54.04154, 'Oronok Torn-heart'), +(21685, 10,-3634.533, 1852.989, 56.29154, 'Oronok Torn-heart'), +(21685, 11,-3637.033, 1852.239, 57.79154, 'Oronok Torn-heart'), +(21685, 12,-3640.951, 1852.142, 57.46563, 'Oronok Torn-heart'), +(21181, 1,-3617.7155, 1823.1611, 39.7751, 'Cyrukh the Firelord <The Dirge of Karabor>'), +(2168500, 1,-3600.319, 1898.602, 47.36539, 'Oronok Torn-heart (Path 2)'), +(2168600, 1,-3597.452, 1895.446, 47.36539, 'Borak, Son of Oronok (Path 2)'), +(2168700, 1,-3603.953, 1895.167, 47.36539, 'Gromtor, Son of Oronok (Path 2)'); + +DELETE FROM `creature_text` WHERE `entry` IN(21685,17008,21181,21310,21049,21739,21740); +DELETE FROM `creature_text` WHERE `entry` IN(21024) and `groupid`>10; + +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES +(21024, 11, 0, 'I hear what you hear, brother. Look behind you...', 12, 0, 100, 1, 0, 0, 'Earthmender Torlok to Cyrukh the Firelord',19336), + +(21685, 0, 0, 'You do not fight alone, $n! Together, we will banish this spawn of hellfire!', 14, 0, 100, 0, 0, 0, 'Oronok Torn-heart',19304), +(21685, 1, 0, 'We leave, then, Torlok. I have only one request...', 12, 0, 100, 1, 0, 0, 'Oronok Torn-heart',19341), +(21685, 2, 0, 'The Torn-heart men give their weapons to Earthmender Torlok.', 16, 0, 100, 1, 0, 0, 'Oronok Torn-heart',19342), +(21685, 3, 0, 'Give these to the heroes that made this possible.', 12, 0, 100, 1, 0, 0, 'Oronok Torn-heart',19343), +(21685, 4, 0, 'We will set the elements free of your grasp by force!', 14, 0, 100, 0, 0, 0, 'Oronok Torn-heart',19309), +(21685, 5, 0, 'We will fight when you are ready.', 12, 0, 100, 0, 0, 0, 'Oronok Torn-heart',19310), +(21685, 6, 0, 'What say the elements, Torlok? I hear only silence.', 12, 0, 100, 1, 0, 0, 'Oronok Torn-heart',19334), +(21685, 7, 0, 'They are redeemed! Then we have won?', 12, 0, 100, 5, 0, 0, 'Oronok Torn-heart',19337), +(17008, 0, 0, 'Be silent! The shattering is soon to come!', 12, 0, 100, 15, 0, 0, 'Gul''dan',18701), +(17008, 1, 0, 'Bear witness to the undeniable power of our dark master!', 12, 0, 100, 0, 0, 0, 'Gul''dan',18702), +(17008, 2, 0, 'With his gift, I shall raze this land and reform it!', 12, 0, 100, 0, 0, 0, 'Gul''dan',18703), +(17008, 3, 0, 'Watch! See the ground shatter before us! Watch as the energy flows! It will feed our armies...', 12, 0, 100, 0, 0, 0, 'Gul''dan',18704), +(17008, 4, 0, 'We will never be without power! I have secured our future! Bask in my glory!', 12, 0, 100, 0, 0, 0, 'Gul''dan',18705), +(17008, 5, 0, 'It... is... done...', 12, 0, 100, 0, 0, 0, 'Gul''dan',18706), +(21181, 0, 0, 'Cyrukh has awoken!', 14, 0, 100, 0, 0, 0, 'Cyrukh the Firelord',19298), +(21181, 1, 0, 'Cyrukh comes for you!', 14, 0, 100, 0, 0, 0, 'Cyrukh the Firelord',19301), +(21181, 1, 1, 'You will suffer eternally!', 14, 0, 100, 0, 0, 0, 'Cyrukh the Firelord',19299), +(21181, 1, 2, 'Those that dare play with fire will be incinerated!', 14, 0, 100, 0, 0, 0, 'Cyrukh the Firelord',19302), +(21181, 1, 3, 'Little creature made of flesh, your wish is granted! Death comes for you!', 14, 0, 100, 0, 0, 0, 'Cyrukh the Firelord',19308), +(21310, 0, 0, 'A flaming vortex takes shape.', 16, 0, 100, 0, 0, 0, 'Shadowmoon Valley Invisible Trigger (Tiny)',19303), +(21049, 0, 0, 'You have damned us all... We are lost.', 12, 0, 100, 20, 0, 0, 'Spirit of the Past',18700), +(21049, 0, 1, 'Stop! You must stop!', 12, 0, 100, 20, 0, 0, 'Spirit of the Past',18698), +(21049, 0, 2, 'Do not do this, Gul''dan! The elements will never forgive us!', 12, 0, 100, 20, 0, 0, 'Spirit of the Past',18697), +(21049, 0, 3, 'Think of our younglings, Gul''dan! You will destroy us all!', 12, 0, 100, 20, 0, 0, 'Spirit of the Past',18699), +(21049, 0, 4, 'We will take from the land if it refuses to give!', 12, 0, 100, 15, 0, 0, 'Spirit of the Past',18696), +(21049, 0, 5, 'Tear the land asunder, Gul''dan! Sever the tie!', 12, 0, 100, 15, 0, 0, 'Spirit of the Past',18694), +(21049, 0, 6, 'They have abandoned us! Do not forget!', 12, 0, 100, 15, 0, 0, 'Spirit of the Past',18695), +(21740, 0, 0, 'Yes... Well enough for the elements that are here, but the cipher is known to another... The spirits of fire are in turmoil... If this force is not stopped, the world where these mortals came from will cease.', 12, 0, 100, 0, 0, 0, 'Redeemed Spirit of Fire',19339), +(21739, 0, 0, 'Farewell, mortals... The earthmender knows what fire feels...', 12, 0, 100, 0, 0, 0, 'Redeemed Spirit of Earth',19340), +(21739, 1, 0, 'It is now as it should be, shaman. You have done well.', 12, 0, 100, 0, 0, 0, 'Redeemed Spirit of Earth',19338); + +DELETE FROM `creature_template_addon` WHERE `entry` BETWEEN 21738 AND 21741; +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES +(21741, 0, 0x0, 0x1, ''), -- 21741 +(21740, 0, 0x0, 0x1, ''), -- 21740 +(21739, 0, 0x0, 0x1, ''), -- 21739 +(21738, 0, 0x0, 0x1, ''); -- 21738 + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=35997; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 35997, 0, 0, 35, 1, 0, 20, 1, 0, 0, 0, '', 'Fel Flames target must not be self'), +(13, 1, 35997, 0, 0, 31, 0, 3, 21052, 0, 0, 0, 0, '', 'Fel Flames target has to be Camera Shaker - Altar of Damnation'); + +DELETE FROM `creature_summon_groups` WHERE `summonerId`IN(21310); +DELETE FROM `creature_summon_groups` WHERE `summonerId`IN(21024) AND `groupId`=1; + +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +(21024, 0, 1, 21738, -3587.229, 1892.889, 47.32373, 2.199115, 1, 37000), +(21024, 0, 1, 21739, -3598.681, 1888.016, 47.32373, 1.692969, 1, 37000), +(21024, 0, 1, 21740, -3605.315, 1884.477, 47.32373, 1.308997, 1, 37000), +(21024, 0, 1, 21741, -3591.871, 1886.822, 47.32373, 1.850049, 1, 37000), +(21310, 0, 0, 21685, -3600.319, 1898.602, 47.36539, 4.921828, 1, 600000), +(21310, 0, 0, 21686, -3603.865, 1900.854, 47.36539, 4.931085, 1, 600000), +(21310, 0, 0, 21687, -3597.99, 1902.118, 47.3654, 4.848677, 1, 600000); + +DELETE FROM `event_scripts` WHERE id=13961; +INSERT INTO `event_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) VALUES +(13961, 3, 10, 21310, 50000, 0, -3590.538574, 1832.343506, 41.749908, 1.65); diff --git a/sql/updates/world/2015_03_22_01_world.sql b/sql/updates/world/2015_03_22_01_world.sql new file mode 100644 index 00000000000..61d79fdeaf3 --- /dev/null +++ b/sql/updates/world/2015_03_22_01_world.sql @@ -0,0 +1,100 @@ +SET @Cannon:= 186432; +SET @Tethyr:=23899; +SET @Marksman:=23900; +SET @Blast:=42578; +SET @Mills:=23905; +SET @Counter:=52500; + +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` IN (@Tethyr, @Mills, @Marksman); +UPDATE `creature_template` SET `InhabitType`=2 WHERE `entry` IN (@Tethyr); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry`=@Cannon; + +DELETE FROM `creature_text` WHERE `entry`=@Mills; +INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`, `BroadcastTextID`) VALUES +(@Mills,0,0,'Marksmen, form up and take your positions!',14,0,100,0,0,0, 'Major Mills', 22447), +(@Mills,1,0,'Prepare to fire upon my command! Ready, aim...',14,0,100,0,0,0, 'Major Mills', 22448), +(@Mills,2,0,'FIRE AT WILL!',14,0,100,0,0,0, 'Major Mills', 22449), +(@Mills,3,0,'We did it! We''ve defeated Tethyr!',14,0,100,0,0,0, 'Major Mills', 22633); + +DELETE FROM `waypoints` WHERE `entry`=@Tethyr; +INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES +(@Tethyr,1, -3882.588379,-4670.275391,-1.823548,'Tethyr'); +UPDATE `quest_template_addon` SET `SpecialFlags`=2 WHERE `Id`=11198; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Cannon) AND `source_type`=1; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Marksman) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Marksman*100) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Mills) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Mills*100) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Marksman*100) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Marksman*100+1) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Tethyr) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Tethyr*100) AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@Tethyr*100+1) AND `source_type`=9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@Mills,0,0,0,19,0,100,0,11198,0,0,0,80,@Mills*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Major Mills: On quest accept call main script'), +(@Mills*100,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Take Down Tethyr: Remove npcflag'), +(@Mills*100,9,1,0,0,0,100,0,2000,2000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Take Down Tethyr: Talk'), +(@Mills*100,9,2,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3904.77,-4635.09,9.62735,5.49334, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,3,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3856.59,-4622.45,9.24753,3.87856, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,4,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3917.6,-4648.53,9.32604,5.56795, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,5,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3890.48,-4620.7,9.55527,4.99383, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,6,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3865.94,-4617.2,9.26262,4.16523, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,7,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3834.8,-4645.41,9.25827,3.61152, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,8,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3826.61,-4655.32,9.21484,3.13243, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,9,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3830.76,-4673.74,9.50962,2.70832, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,10,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3843.65,-4687.59,9.6436,2.43735, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,11,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3858.49,-4703.49,9.17411,2.33525, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,12,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3851.97,-4697.24,9.36834,2.33525, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,13,0,0,0,100,0,0,0,0,0,12,@Marksman,1,900000,0,0,0,8,0,0,0,-3924.35,-4656.55,9.15409,5.80749, 'Take Down Tethyr: Summon Theramore Marksman'), +(@Mills*100,9,14,0,0,0,100,0,0,0,0,0,12,@Tethyr,1,900000,0,0,0,8,0,0,0,-3897.365479, -4750.632813, -1.719010, 1.791049, 'Take Down Tethyr: Summon Tethyr'), +(@Mills*100,9,15,0,0,0,100,0,6000,6000,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Take Down Tethyr: Talk'), +(@Mills*100,9,16,0,0,0,100,0,10000,10000,0,0,1,2,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Take Down Tethyr: Talk'), +(@Mills*100,9,17,0,0,0,100,0,0,0,0,0,106,16,0,0,0,0,0,14,10824,@Cannon,0,0, 0, 0, 0, 'Take Down Tethyr: Remove Flag from GO'), +(@Mills*100,9,18,0,0,0,100,0,0,0,0,0,106,16,0,0,0,0,0,14,10227,@Cannon,0,0, 0, 0, 0, 'Take Down Tethyr: Remove Flag from GO'), +(@Mills*100,9,19,0,0,0,100,0,0,0,0,0,106,16,0,0,0,0,0,14,11186,@Cannon,0,0, 0, 0, 0, 'Take Down Tethyr: Remove Flag from GO'), +(@Tethyr,0,0,0,54,0,100,0,0,0,0,0,80,@Tethyr*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Just Summoned - Action list'), +(@Tethyr*100,9,0,0,0,0,100,0,0,0,0,0,53,0,@Tethyr,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Action list - Start wp'), +(@Tethyr*100,9,1,0,0,0,100,0,0,0,0,0,102,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Action list - REGEN HEALTH OFF'), +(@Tethyr*100,9,2,0,0,0,100,0,0,0,0,0,18,128,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Action list - Add unit flag'), +(@Tethyr,0,1,0,23,0,100,1,@Counter,5,0,0,80,@Tethyr*100+1,2,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - On data set - ActionList'), +(@Tethyr*100+1,9,3,0,0,0,100,0,0,0,0,0,6,11198,0,0,0,0,0,18,90,0,0,0,0,0,0,'Tethyr - Action list - Quest Failed'), +(@Tethyr*100+1,9,4,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,11,@Marksman,80,0,0,0,0,0,'Tethyr - Action list - Despawn'), +(@Tethyr*100+1,9,5,0,0,0,100,0,0,0,0,0,45,0,2,0,0,0,0,10,31075,@Mills,0,0,0,0,0,'Tethyr - Action list - Set Data'), +(@Tethyr*100+1,9,6,0,0,0,100,0,0,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Action list - Despawn'), +(@Tethyr,0,1,2,40,0,100,0,1,@Tethyr,0,0,101,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Waypoint reached - Set home position'), +(@Tethyr,0,2,0,61,0,100,0,0,0,0,0,19,128,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Just Summoned - Remove unit flag'), +(@Tethyr,0,3,0,0,0,100,0,3000,3000,7000,7000,11,42584,0,0,0,0,0,5,0,0,0,0,0,0,0,'Tethyr - Occ - Cast'), +(@Tethyr,0,4,0,0,0,100,0,5000,5000,8000,8000,11,42574,0,0,0,0,0,5,0,0,0,0,0,0,0,'Tethyr - Occ - Cast'), +(@Tethyr,0,5,0,8,0,100,0,@Blast,0,0,0,11,36662,2,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Spell Hist - Cast'), +(@Tethyr,0,6,7,6,0,100,0,0,0,0,0,45,0,1,0,0,0,0,10,31075,@Mills,0,0,0,0,0,'Tethyr - On Death - Set Data'), +(@Tethyr,0,7,0,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,11,@Marksman,80,0,0,0,0,0,'Tethyr - On Death - Set Data'), +(@Mills,0,1,2,38,0,100,0,0,1,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - On data set - Add npcflag'), +(@Mills,0,2,3,61,0,100,0,0,0,0,0,1,3,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - On data set - talk'), +(@Mills,0,3,0,61,0,100,0,0,0,0,0,15,11198,0,0,0,0,0,18,100,0,0,0,0,0,0,'Tethyr - On data sett - Area explored'), +(@Mills,0,4,0,38,0,100,0,0,2,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - On data set - Add npcflag'), +(@Marksman,0,0,0,38,0,100,0,0,1,0,0,80,@Marksman*100+1,2,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - On DATA set - Action List'), +(@Marksman*100+1,9,1,0,0,0,100,0,2000,2000,0,0,11,66402,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - cast Fireworks'), +(@Marksman*100+1,9,2,0,0,0,100,0,2000,2000,0,0,11,66400,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - cast Fireworks'), +(@Marksman*100+1,9,3,0,0,0,100,0,2000,2000,0,0,11,66402,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - cast Fireworks'), +(@Marksman*100+1,9,4,0,0,0,100,0,2000,2000,0,0,11,66400,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - cast Fireworks'), +(@Marksman*100+1,9,5,0,0,0,100,0,2000,2000,0,0,11,66402,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - cast Fireworks'), +(@Marksman*100+1,9,6,0,0,0,100,0,2000,2000,0,0,11,66400,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - cast Fireworks'), +(@Marksman*100+1,9,7,0,0,0,100,0,2000,2000,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Tethyr - Just Summoned - Despawn'), +(@Marksman,0,1,0,54,0,100,1,0,0,0,0,80,@Marksman*100,2,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Just Summoned - Action list'), +(@Marksman*100,9,0,0,0,0,100,0,0,0,0,0,8,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - React passif'), +(@Marksman*100,9,1,0,0,0,100,0,0,0,0,0,18,131072,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - Add unit flag'), +(@Marksman*100,9,2,0,0,0,100,0,16000,16000,0,0,19,131072,0,0,0,0,0,1,0,0,0,0,0,0,0,'Marksman - Action list - Remove unit flag'), +(@Marksman,0,2,0,1,0,100,0,3000,3000,2000,2000,11,42580,0,0,0,0,0,19,@Tethyr,80,0,0,0,0,0,'Tethyr - Occ - Cast'), +(@Marksman,0,3,0,0,0,100,0,3000,3000,2000,2000,11,42580,0,0,0,0,0,19,@Tethyr,80,0,0,0,0,0,'Tethyr - IC - Cast'), +(@Marksman,0,4,0,6,0,100,0,0,0,0,0,75,@Counter,0,0,0,0,0,19,@Tethyr,80,0,0,0,0,0,'Tethyr - On death - Set data1'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` = @Blast; +INSERT INTO `spell_linked_spell` VALUES (@Blast, 42576, 0, 'Theramore Cannon blast'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=@Blast; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, @Blast, 0, 31, 3, @Tethyr, 0, 0, '', 'Blast cannon target'); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=42576; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 1, 42576, 0, 31, 3, @Tethyr, 0, 0, '', 'Blast cannon target'); diff --git a/sql/updates/world/2015_03_22_02_world.sql b/sql/updates/world/2015_03_22_02_world.sql new file mode 100644 index 00000000000..4fd3f5b8e25 --- /dev/null +++ b/sql/updates/world/2015_03_22_02_world.sql @@ -0,0 +1,3 @@ +DELETE FROM `creature` WHERE `id` = 34137; +DELETE FROM `creature_addon` WHERE `guid` = 26148; +INSERT INTO `creature_addon` (`guid`, `path_id`) VALUES (26148, 261480); diff --git a/sql/updates/world/2015_03_22_03_world.sql b/sql/updates/world/2015_03_22_03_world.sql new file mode 100644 index 00000000000..8b59ea0824c --- /dev/null +++ b/sql/updates/world/2015_03_22_03_world.sql @@ -0,0 +1,68 @@ +SET @GUID:=69717; -- 3 free Gob guid set by TC +SET @WESTERN_TP := 22348; +SET @EASTERN_TP := 22351; +SET @CENTRAL_TP := 22350; +SET @Teleporter := 185215; + +DELETE FROM `gameobject` WHERE `guid` IN (@GUID+0, @GUID+1, @GUID+2); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(@GUID+0, @Teleporter, 530, 1, 1, 4697.5, 3298.68, 178.892, 2.02823, 0, 0, 0.849013, 0.528372, 120, 0, 1), +(@GUID+1, @Teleporter, 530, 1, 1, 4734.71, 3193.67, 161.48, 0.386745, 0, 0, 0.19217, 0.981362, 120, 0, 1), +(@GUID+2, @Teleporter, 530, 1, 1, 4673.28, 3126.67, 166.725, 5.42979, 0, 0, 0.413867, -0.910337, 120, 0, 1); + +UPDATE `creature_template` SET `spell2`=36255,`spell3`=8599,`spell4`=38920 WHERE `entry`=16943; +UPDATE `creature_template` SET `spell2`=37179,`spell3`=36251,`spell4`=38920 WHERE `entry`=20928; +UPDATE `creature_template` SET `AIName`='SmartAI', `unit_flags`=33555200, `flags_extra`=130 WHERE `entry` IN (@CENTRAL_TP, @EASTERN_TP, @WESTERN_TP); +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (20928); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-70125,-70122,-70124,-70126,-70123,-70116,-70115,-70117,-70118,-70119,-70128,-70127,-70121,-70120, -70131, -70130, -70129, -70112, -70113, -70114, -70132, -70133, -70135, -70134, -70138, -70136, -70139, -70137) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (@WESTERN_TP, @EASTERN_TP, @CENTRAL_TP, 20928) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (16943) AND `source_type`=0 AND id IN (3,4,5); +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@WESTERN_TP,0,0,0,8,0,100,0,38920,0,0,0,45,0,1,0,0,0,0,7,0,0,0,0,0,0,0,"WESTERN_TP - On spell hit - SET data"), +(@EASTERN_TP,0,1,0,8,0,100,0,38920,0,0,0,45,0,2,0,0,0,0,7,0,0,0,0,0,0,0,"EASTERN_TP - On spell hit - SET data"), +(@CENTRAL_TP,0,2,0,8,0,100,0,38920,0,0,0,45,0,3,0,0,0,0,7,0,0,0,0,0,0,0,"CENTRAL_TP - On spell hit - SET data"), +(16943,0,3,0,38,0,100,0,0,1,0,0,86,38982,0,23,0,0,0,1,0,0,0,0,0,0,0,"16943 - On data set - Cast Credit"), +(16943,0,4,0,38,0,100,0,0,2,0,0,86,38983,0,23,0,0,0,1,0,0,0,0,0,0,0,"16943 - On data set - Cast Credit"), +(16943,0,5,0,38,0,100,0,0,3,0,0,86,38984,0,23,0,0,0,1,0,0,0,0,0,0,0,"16943 - On data set - Cast Credit"), +(20928,0,0,0,0,0,100,0,1000,1000,7000,9000,11,37179,0,0,0,0,0,2,0,0,0,0,0,0,0,"20928 - IC- Cast"), +(20928,0,1,0,0,0,100,0,4000,4000,5000,5000,11,36251,0,0,0,0,0,2,0,0,0,0,0,0,0,"20928 - IC- Cast"), +(20928,0,2,0,4,0,100,0,0,0,0,0,11,33962,0,0,0,0,0,1,0,0,0,0,0,0,0,"20928 - On Aggro - Cast"), +(20928,0,3,0,38,0,100,0,0,1,0,0,86,38982,0,23,0,0,0,1,0,0,0,0,0,0,0,"20928 - On data set - Cast Credit"), +(20928,0,4,0,38,0,100,0,0,2,0,0,86,38983,0,23,0,0,0,1,0,0,0,0,0,0,0,"20928 - On data set - Cast Credit"), +(20928,0,5,0,38,0,100,0,0,3,0,0,86,38984,0,23,0,0,0,1,0,0,0,0,0,0,0,"20928 - On data set - Cast Credit"), +(-70115,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70116,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70118,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70116,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70117,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70116,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70119,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70120,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70128,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70120,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70121,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70120,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70127,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,1,0,0,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70126,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70123,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70122,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70123,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70124,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70123,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70125,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,1,0,0,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70114,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,1,0,0,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70132,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,1,0,0,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70133,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,1,0,0,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70129,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70131,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70130,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70129,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70131,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70130,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70113,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70112,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70112,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70113,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70135,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70137,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70134,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70137,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70138,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70137,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70136,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70137,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'), +(-70139,0,0,0,1,0,100,1,0,0,0,0,11,33346,64,0,0,0,0,10,70137,19656,0,0,0,0,0,'Invisible Location Trigger - OOC no repeat - Cast Green Beam on target'); + +DELETE FROM `conditions` WHERE `SourceEntry`=38920 AND `SourceTypeOrReferenceId`=13; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,7,38920,0,1,31,0,3,@WESTERN_TP,0,0,0,'', 'Detonate all 3 implicit effects can hit western teleporter'), +(13,7,38920,0,2,31,0,3,@EASTERN_TP,0,0,0,'', 'Detonate all 3 implicit effects can hit eastern teleporter'), +(13,7,38920,0,3,31,0,3,@CENTRAL_TP,0,0,0,'', 'Detonate all 3 implicit effects can hit central teleporter'); + +DELETE FROM `conditions` WHERE `SourceEntry`=38915 AND `SourceTypeOrReferenceId`=17; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(17,0,38915,0,1,31,1,3,16943,0,0,0,'', 'Mental interference target can be Cyber-Rage Forgelord'), +(17,0,38915,0,2,31,1,3,20928,0,0,0,'', 'Mental interference target can be Ironspine Forgelord'); diff --git a/sql/updates/world/2015_03_22_04_world.sql b/sql/updates/world/2015_03_22_04_world.sql new file mode 100644 index 00000000000..d468134a279 --- /dev/null +++ b/sql/updates/world/2015_03_22_04_world.sql @@ -0,0 +1,88 @@ +-- Pathing for Winter Revenant Entry: 34134 +SET @NPC := 136272; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1863.794,`position_y`=-291.2315,`position_z`=412.549 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1863.794,-291.2315,412.549,0,0,0,0,100,0), +(@PATH,2,1863.79,-270.939,412.549,0,0,0,0,100,0), +(@PATH,3,1863.947,-228.3612,412.549,0,0,0,0,100,0), +(@PATH,4,1869.661,-213.3534,412.5491,0,0,0,0,100,0), +(@PATH,5,1865.418,-223.9702,412.5492,0,0,0,0,100,0), +(@PATH,6,1864.278,-260.7524,412.5491,0,0,0,0,100,0); + +-- Pathing for Winter Revenant Entry: 34134 +SET @NPC := 136273; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1923.732,`position_y`=-359.4886,`position_z`=421.7067 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1923.732,-359.4886,421.7067,0,0,0,0,100,0), +(@PATH,2,1910.024,-354.7222,418.0154,0,0,0,0,100,0), +(@PATH,3,1918.405,-348.7433,419.1237,0,0,0,0,100,0), +(@PATH,4,1939.619,-338.1754,423.0634,0,0,0,0,100,0), +(@PATH,5,1963.408,-334.0208,424.2783,0,0,0,0,100,0), +(@PATH,6,1980.856,-335.2691,424.5296,0,0,0,0,100,0), +(@PATH,7,1986.183,-330.6932,425.169,0,0,0,0,100,0), +(@PATH,8,1995.423,-314.1808,429.2899,0,0,0,0,100,0), +(@PATH,9,1991.416,-322.2818,428.0239,0,0,0,0,100,0), +(@PATH,10,1986.513,-331.125,425.358,0,0,0,0,100,0), +(@PATH,11,1985.857,-349.7383,423.7158,0,0,0,0,100,0), +(@PATH,12,1981.682,-366.153,421.861,0,0,0,0,100,0), +(@PATH,13,1977.274,-369.6335,421.7955,0,0,0,0,100,0), +(@PATH,14,1979.401,-369.707,421.2126,0,0,0,0,100,0), +(@PATH,15,1984.034,-359.9644,422.6329,0,0,0,0,100,0), +(@PATH,16,1984.393,-335.8026,424.7922,0,0,0,0,100,0), +(@PATH,17,1988.928,-328.356,425.7399,0,0,0,0,100,0), +(@PATH,18,1995.36,-317.4339,428.2936,0,0,0,0,100,0), +(@PATH,19,1986.51,-331.1359,425.4233,0,0,0,0,100,0), +(@PATH,20,1985.911,-349.9874,423.6323,0,0,0,0,100,0), +(@PATH,21,1981.283,-367.6224,421.5562,0,0,0,0,100,0), +(@PATH,22,1977.089,-370.4861,421.7415,0,0,0,0,100,0), +(@PATH,23,1980.1,-368.3475,421.1914,0,0,0,0,100,0), +(@PATH,24,1983.74,-359.1452,422.7472,0,0,0,0,100,0), +(@PATH,25,1984.766,-343.7218,423.7823,0,0,0,0,100,0), +(@PATH,26,1995.432,-314.0199,429.2879,0,0,0,0,100,0), +(@PATH,27,1989.344,-326.1992,426.7511,0,0,0,0,100,0), +(@PATH,28,1982.792,-334.583,424.959,0,0,0,0,100,0), +(@PATH,29,1966.594,-333.5218,424.746,0,0,0,0,100,0), +(@PATH,30,1947.611,-335.2066,424.0862,0,0,0,0,100,0), +(@PATH,31,1926.362,-345.1485,420.9026,0,0,0,0,100,0), +(@PATH,32,1910.392,-351.3752,417.4246,0,0,0,0,100,0), +(@PATH,33,1920.583,-357.5619,420.6503,0,0,0,0,100,0), +(@PATH,34,1930.703,-367.3549,424.857,0,0,0,0,100,0), +(@PATH,35,1948.212,-376.7307,427.6352,0,0,0,0,100,0); + +-- Pathing for Winter Revenant Entry: 34134 +SET @NPC := 136282; +SET @PATH := @NPC * 10; +DELETE FROM `creature` WHERE `guid`=@NPC; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@NPC,34134,603,3,1,1819.619,-357.7437,413.1524,0.42,604800,0, 2); +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,1819.619,-357.7437,413.1524,0,0,0,0,100,0), +(@PATH,2,1805.549,-360.7479,413.217,0,0,0,0,100,0), +(@PATH,3,1794.583,-359.7582,412.7976,0,0,0,0,100,0), +(@PATH,4,1781.751,-356.4551,412.6638,0,0,0,0,100,0), +(@PATH,5,1767.5,-360.8076,412.4928,0,0,0,0,100,0), +(@PATH,6,1786.507,-358.0201,412.7365,0,0,0,0,100,0), +(@PATH,7,1804.042,-360.811,413.1808,0,0,0,0,100,0), +(@PATH,8,1815.088,-359.1276,413.0786,0,0,0,0,100,0), +(@PATH,9,1826.932,-355.8406,413.2609,0,0,0,0,100,0), +(@PATH,10,1837.789,-356.2162,413.0187,0,0,0,0,100,0), +(@PATH,11,1851.447,-344.2731,412.6318,0,0,0,0,100,0), +(@PATH,12,1860.773,-334.8643,412.6426,0,0,0,0,100,0), +(@PATH,13,1874.715,-338.0733,412.809,0,0,0,0,100,0), +(@PATH,14,1882.154,-355.1157,412.7476,0,0,0,0,100,0), +(@PATH,15,1872.645,-369.4694,413.3637,0,0,0,0,100,0), +(@PATH,16,1862.287,-378.0733,413.9054,0,0,0,0,100,0), +(@PATH,17,1850.775,-374.4587,412.9799,0,0,0,0,100,0), +(@PATH,18,1841.932,-359.4829,413.0605,0,0,0,0,100,0), +(@PATH,19,1823.803,-358.0992,412.858,0,0,0,0,100,0); diff --git a/sql/updates/world/2015_03_22_05_world.sql b/sql/updates/world/2015_03_22_05_world.sql new file mode 100644 index 00000000000..6e81be445da --- /dev/null +++ b/sql/updates/world/2015_03_22_05_world.sql @@ -0,0 +1,42 @@ +-- Pathing for Freya Entry: 32906 +SET @NPC := 136554; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2338.461,`position_y`=-52.32549,`position_z`=425.5522 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2338.461,-52.32549,425.5522,0,0,0,0,100,0), +(@PATH,2,2327.021,-69.61578,426.0348,0,0,0,0,100,0), +(@PATH,3,2303.438,-90.47264,429.1589,0,0,0,0,100,0), +(@PATH,4,2301.615,-91.41477,429.1122,3.649395,13000,0,488,100,0), +(@PATH,5,2333.003,-57.68308,425.5663,0,0,0,0,100,0), +(@PATH,6,2342.892,-46.95139,425.5204,3.298672,60000,0,0,100,0), +(@PATH,7,2397.739,-42.16927,422.8524,0,0,0,0,100,0), +(@PATH,8,2409.762,-74.47346,420.6727,0,0,0,0,100,0), +(@PATH,9,2400.14,-96.78609,424.1808,0,0,0,0,100,0), +(@PATH,10,2399.105,-98.47173,424.2316,4.866657,13000,0,489,100,0), +(@PATH,11,2397.637,-46.43726,423.2978,0,0,0,0,100,0), +(@PATH,12,2358.936,-41.11687,425.6092,0,0,0,0,100,0), +(@PATH,13,2349.045,-40.70486,425.7578,3.176499,60000,0,0,100,0), +(@PATH,14,2403.443,-26.94002,419.8143,0,0,0,0,100,0), +(@PATH,15,2411.195,-22.77497,419.1813,0,0,0,0,100,0), +(@PATH,16,2436.248,12.27234,422.2727,0,0,0,0,100,0), +(@PATH,17,2437.145,16.83826,424.929,0,0,0,0,100,0), +(@PATH,18,2437.777,19.35069,426.0522,1.399542,13000,0,490,100,0), +(@PATH,19,2412.994,-11.56424,420.4819,0,0,0,0,100,0), +(@PATH,20,2359.694,-40.27568,425.3726,0,75000,0,0,100,0); + +DELETE FROM `waypoint_scripts` WHERE `id` IN (488,489,490); +INSERT INTO `waypoint_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`guid`) VALUES +(488,3,15,63295,4,33575,30,891),(489,3,15,63292,4,33575,30,892),(490,3,15,63294,4,33575,30,893); + +UPDATE `creature` SET `modelid`=0,`spawndist`=0,`MovementType`=0, `curhealth`=1 WHERE `id`=33575; +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=33575; + +-- Add spell target condition for Freya Dummy +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceGroup`=2 AND `SourceEntry` IN (63292,63294,63295); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 2, 63292, 0, 0, 31, 3, 33575, 0, 0, '', 'Freya Dummy Yellow targets Channel Stalker Freya'), +(13, 2, 63294, 0, 0, 31, 3, 33575, 0, 0, '', 'Freya Dummy Blue targets Channel Stalker Freya'), +(13, 2, 63295, 0, 0, 31, 3, 33575, 0, 0, '', 'Freya Dummy Green targets Channel Stalker Freya'); diff --git a/sql/updates/world/2015_03_22_06_world.sql b/sql/updates/world/2015_03_22_06_world.sql new file mode 100644 index 00000000000..db8227afff8 --- /dev/null +++ b/sql/updates/world/2015_03_22_06_world.sql @@ -0,0 +1,62 @@ +-- Pathing for Guardian of Life Entry: 33528 +SET @NPC := 137528; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2267.131,`position_y`=25.01511,`position_z`=428.6021 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2267.131,25.01511,428.6021,0,0,0,0,100,0), +(@PATH,2,2267.036,24.98481,428.7653,0,0,0,0,100,0), +(@PATH,3,2266.606,38.24471,428.8724,0,0,0,0,100,0), +(@PATH,4,2266.924,24.55858,428.5795,0,0,0,0,100,0), +(@PATH,5,2267.036,24.98481,428.7653,0,0,0,0,100,0), +(@PATH,6,2266.606,38.24471,428.8724,0,0,0,0,100,0), +(@PATH,7,2267.153,24.9108,428.5908,0,0,0,0,100,0), +(@PATH,8,2267.036,24.98481,428.7653,0,0,0,0,100,0), +(@PATH,9,2266.606,38.24471,428.8724,0,0,0,0,100,0); + +-- Pathing for Guardian of Life Entry: 33528 +SET @NPC := 137529; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2366.774,`position_y`=4.869098,`position_z`=427.116 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2366.774,4.869098,427.116,0,0,0,0,100,0), +(@PATH,2,2362.121,4.529948,427.9323,0,0,0,0,100,0), +(@PATH,3,2348.469,20.28589,429.8685,0,0,0,0,100,0), +(@PATH,4,2364.304,30.57164,430.7769,0,0,0,0,100,0), +(@PATH,5,2361.717,29.00374,430.3431,0,0,0,0,100,0), +(@PATH,6,2353.135,9.205807,428.5914,0,0,0,0,100,0); + +-- Pathing for Guardian of Life Entry: 33528 +SET @NPC := 137530; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2258.508,`position_y`=-45.42564,`position_z`=427.925 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2258.508,-45.42564,427.925,0,0,0,0,100,0), +(@PATH,2,2251.779,-49.15427,426.946,0,0,0,0,100,0), +(@PATH,3,2250.673,-49.80873,426.6561,0,0,0,0,100,0), +(@PATH,4,2252.392,-71.85374,427.5378,0,0,0,0,100,0), +(@PATH,5,2247.761,-65.52759,426.7502,0,0,0,0,100,0), +(@PATH,6,2245.5,-62.23093,426.3374,0,0,0,0,100,0); + +-- Pathing for Guardian of Life Entry: 33528 +SET @NPC := 137531; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2337.467,`position_y`=-207.8645,`position_z`=442.2937 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2337.467,-207.8645,442.2937,0,0,0,0,100,0), +(@PATH,2,2344.242,-198.5094,441.5296,0,0,0,0,100,0), +(@PATH,3,2348.561,-192.5445,440.9542,0,0,0,0,100,0), +(@PATH,4,2324.5,-181.2047,442.9576,0,0,0,0,100,0), +(@PATH,5,2333.28,-177.3987,441.4766,0,0,0,0,100,0), +(@PATH,6,2337.545,-175.9973,441.1203,0,0,0,0,100,0); diff --git a/sql/updates/world/2015_03_22_07_world.sql b/sql/updates/world/2015_03_22_07_world.sql new file mode 100644 index 00000000000..1e5c6607bee --- /dev/null +++ b/sql/updates/world/2015_03_22_07_world.sql @@ -0,0 +1,318 @@ +-- Pathing for Guardian Lasher Entry: 33430 'TDB FORMAT' +SET @NPC := 136608; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2409.214,`position_y`=39.68574,`position_z`=430.8202 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2409.214,39.68574,430.8202,0,0,0,0,100,0), +(@PATH,2,2419.765,55.44238,432.5078,0,0,0,0,100,0), +(@PATH,3,2412.965,68.34785,436.2759,0,0,0,0,100,0), +(@PATH,4,2392.464,56.26165,433.3107,0,0,0,0,100,0); + +-- Pathing for Guardian Lasher Entry: 33430 'TDB FORMAT' +SET @NPC := 136606; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2279.508,`position_y`=-143.8644,`position_z`=435.7896 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2279.508,-143.8644,435.7896,0,0,0,0,100,0), +(@PATH,2,2294.608,-141.4411,434.8279,0,0,0,0,100,0), +(@PATH,3,2297.896,-140.7821,434.6606,0,0,0,0,100,0), +(@PATH,4,2300.045,-107.6998,432.8321,0,0,0,0,100,0), +(@PATH,5,2282.262,-122.0434,432.8238,0,0,0,0,100,0), +(@PATH,6,2262.708,-113.97,431.0626,0,0,0,0,100,0), +(@PATH,7,2246.123,-120.2917,433.473,0,0,0,0,100,0), +(@PATH,8,2252.349,-127.7779,432.1354,0,0,0,0,100,0); + +-- Pathing for Guardian Lasher Entry: 33430 'TDB FORMAT' +SET @NPC := 136604; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=2348.184,`position_y`=-33.40479,`position_z`=425.1163 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,2348.184,-33.40479,425.1163,0,0,0,0,100,0), +(@PATH,2,2321.229,-1.325779,426.4646,0,0,0,0,100,0), +(@PATH,3,2314.177,14.98683,429.6667,0,0,0,0,100,0), +(@PATH,4,2318.373,3.474962,427.6927,0,0,0,0,100,0), +(@PATH,5,2346.51,-30.4225,424.8373,0,0,0,0,100,0), +(@PATH,6,2325.816,-64.16115,426.2005,0,0,0,0,100,0); + +-- Pathing for Hired Engineer Entry: 33626 'TDB FORMAT' +SET @NPC := 136355; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-714.6555,`position_y`=-17.16721,`position_z`=429.8806 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-714.6555,-17.16721,429.8806,3.124139,2000,0,0,100,0), -- 10:58:06 +(@PATH,2,-718.4268,-23.51997,429.8806,0,0,0,0,100,0), -- 10:58:08 +(@PATH,3,-718.511,-23.33659,430.1306,0,0,0,0,100,0), -- 10:58:10 +(@PATH,4,-722.3708,-23.03671,430.1306,0,0,0,0,100,0), -- 10:58:12 +(@PATH,5,-724.927,-20.31805,430.1306,0,0,0,0,100,0), -- 10:58:13 +(@PATH,6,-725.4897,-15.76975,429.8806,6.178465,3000,0,0,100,0), -- 10:58:16 +(@PATH,7,-724.358,-22.59787,429.8806,0,0,0,0,100,0), -- 10:58:19 +(@PATH,8,-724.1555,-22.44646,430.1306,0,0,0,0,100,0), -- 10:58:20 +(@PATH,9,-719.5723,-23.93241,430.1306,0,0,0,0,100,0), -- 10:58:23 +(@PATH,10,-715.4219,-21.92954,430.1306,0,0,0,0,100,0); -- 10:58:25 + +-- Pathing for Hired Engineer Entry: 33626 'TDB FORMAT' +SET @NPC := 136359; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-821.8198,`position_y`=-33.27892,`position_z`=430.2184 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-821.8198,-33.27892,430.2184,0,0,0,0,100,0), +(@PATH,2,-822.3601,-31.65381,430.2184,0,0,0,0,100,0), +(@PATH,3,-824.5154,-34.64041,429.9684,0,0,0,0,100,0), +(@PATH,4,-824.2672,-34.39585,430.2184,0,0,0,0,100,0), +(@PATH,5,-821.0198,-37.88292,429.9684,0.4537856,2000,0,0,100,0); + +-- Pathing for Hired Engineer Entry: 33626 'TDB FORMAT' +SET @NPC := 136357; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-754.7864,`position_y`=-36.70388,`position_z`=429.9034 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-754.7864,-36.70388,429.9034,0,0,0,0,100,0), +(@PATH,2,-751.721,-35.1428,429.9657,0,0,0,0,100,0), +(@PATH,3,-751.8016,-34.96943,430.1835,0,0,0,0,100,0), +(@PATH,4,-751.6813,-31.36849,429.9659,2.617994,2000,0,0,100,0); + +-- Pathing for Hired Engineer Entry: 33626 'TDB FORMAT' +SET @NPC := 136347; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-806.7797,`position_y`=-61.91017,`position_z`=430.2184 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-806.7797,-61.91017,430.2184,0,0,0,0,100,0), -- 10:58:05 +(@PATH,2,-805.1627,-65.66473,430.1716,0,0,0,0,100,0), -- 10:58:06 +(@PATH,3,-807.4543,-68.63271,429.8748,2.460914,2000,0,0,100,0), -- 10:58:09 +(@PATH,4,-810.992,-72.29839,429.8748,0,0,0,0,100,0), -- 10:58:11 +(@PATH,5,-811.0092,-71.93497,430.1248,0,0,0,0,100,0), -- 10:58:12 +(@PATH,6,-819.4515,-69.41702,429.9216,0,0,0,0,100,0), -- 10:58:16 +(@PATH,7,-821.9469,-64.33131,430.2059,0,0,0,0,100,0), -- 10:58:18 +(@PATH,8,-819.5031,-58.79203,430.2184,0,0,0,0,100,0), -- 10:58:20 +(@PATH,9,-817.4072,-59.57487,429.9684,4.729842,2000,0,0,100,0), -- 10:58:23 +(@PATH,10,-807.0515,-61.87196,429.9684,0,0,0,0,100,0); -- 10:58:25 + +-- Pathing for Hired Engineer Entry: 33626 'TDB FORMAT' +SET @NPC := 136356; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-785.7463,`position_y`=-41.38455,`position_z`=429.9659 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-785.7463,-41.38455,429.9659,0,0,0,0,100,0), -- 10:58:08 +(@PATH,2,-785.3948,-41.14034,430.2159,0,0,0,0,100,0), -- 10:58:09 +(@PATH,3,-782.2135,-41.35977,430.2159,0,0,0,0,100,0), -- 10:58:10 +(@PATH,4,-779.5613,-40.3548,430.2159,0,0,0,0,100,0), -- 10:58:11 +(@PATH,5,-777.8319,-36.41965,430.183,0,0,0,0,100,0), -- 10:58:14 +(@PATH,6,-778.6835,-33.0957,429.9001,3.420845,2000,0,0,100,0), -- 10:58:16 +(@PATH,7,-779.9354,-28.00385,429.9001,0,0,0,0,100,0), -- 10:58:18 +(@PATH,8,-779.8657,-28.03287,430.1501,0,0,0,0,100,0), -- 10:58:20 +(@PATH,9,-784.348,-25.80318,430.1501,0,0,0,0,100,0), -- 10:58:21 +(@PATH,10,-788.9271,-27.93935,430.183,0,0,0,0,100,0), -- 10:58:23 +(@PATH,11,-791.5985,-34.02659,430.1966,0,0,0,0,100,0), -- 10:58:26 +(@PATH,12,-790.8046,-36.75038,430.2113,0,0,0,0,100,0); -- 10:58:27 + +-- Pathing for Hired Engineer Entry: 33626 'TDB FORMAT' +SET @NPC := 136349; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-808.118,`position_y`=-40.2321,`position_z`=429.9684 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-808.118,-40.2321,429.9684,0,0,0,0,100,0), +(@PATH,2,-807.7555,-40.07573,430.2184,0,0,0,0,100,0), +(@PATH,3,-804.9432,-39.92784,430.2184,0,0,0,0,100,0), +(@PATH,4,-807.1721,-39.73579,430.2184,0,0,0,0,100,0), +(@PATH,5,-808.9033,-36.34509,430.2184,0,0,0,0,100,0); + +-- Pathing for Hired Engineer Entry: 33626 'TDB FORMAT' +SET @NPC := 136350; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-712.0216,`position_y`=-106.3855,`position_z`=430.3862 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-712.0216,-106.3855,430.3862,0,0,0,0,100,0), -- 10:58:08 +(@PATH,2,-712.1302,-106.2594,430.5872,0,0,0,0,100,0), -- 10:58:09 +(@PATH,3,-712.4497,-100.7512,430.033,0,0,0,0,100,0), -- 10:58:11 +(@PATH,4,-714.1099,-98.13288,430.1651,0,0,0,0,100,0), -- 10:58:12 +(@PATH,5,-717.9264,-97.92854,430.2126,0,0,0,0,100,0), -- 10:58:14 +(@PATH,6,-720.3586,-98.40739,430.1744,0,0,0,0,100,0), -- 10:58:18 +(@PATH,7,-722.0936,-101.579,430.1653,0,0,0,0,100,0), -- 10:58:20 +(@PATH,8,-722.2216,-104.0047,430.1362,0,0,0,0,100,0), -- 10:58:21 +(@PATH,9,-721.8704,-107.3522,429.9794,0,0,0,0,100,0), -- 10:58:22 +(@PATH,10,-719.009,-109.2184,430.31,0,0,0,0,100,0), -- 10:58:23 +(@PATH,11,-717.5231,-108.9742,430.4017,0,0,0,0,100,0); -- 10:58:25 + +-- Pathing for Hired Engineer Entry: 33626 'TDB FORMAT' +SET @NPC := 136360; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-805.7245,`position_y`=-92.51467,`position_z`=429.9373 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-805.7245,-92.51467,429.9373,0,0,0,0,100,0), +(@PATH,2,-809.9697,-93.78546,430.1968,0,0,0,0,100,0), +(@PATH,3,-813.4847,-92.64854,429.9998,1.518436,3000,0,0,100,0), +(@PATH,4,-821.6218,-88.66959,429.8748,0,0,0,0,100,0), +(@PATH,5,-821.3884,-88.30928,430.1454,0,0,0,0,100,0), +(@PATH,6,-820.6511,-83.99181,430.1248,0,0,0,0,100,0), +(@PATH,7,-819.0802,-80.95631,430.1201,0,0,0,0,100,0), +(@PATH,8,-815.6989,-79.63522,429.9362,0,0,0,0,100,0), +(@PATH,9,-812.4637,-81.22309,429.9998,4.45059,2000,0,0,100,0), +(@PATH,10,-805.8566,-83.38759,429.9998,0,0,0,0,100,0), +(@PATH,11,-805.8384,-83.39809,430.1873,0,0,0,0,100,0), +(@PATH,12,-804.1865,-87.55893,430.1577,0,0,0,0,100,0); + +-- Pathing for Hired Demolitionist Entry: 33627 'TDB FORMAT' +SET @NPC := 136369; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-741.3947,`position_y`=-207.9769,`position_z`=431.7578 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-741.3947,-207.9769,431.7578,0,0,0,0,100,0), +(@PATH,2,-742.5634,-205.1704,431.0431,0,0,0,0,100,0), +(@PATH,3,-746.6194,-203.6891,430.4383,0,0,0,0,100,0), +(@PATH,4,-751.6924,-207.3801,430.4216,0,0,0,0,100,0), +(@PATH,5,-752.3352,-214.3417,431.4221,0,0,0,0,100,0), +(@PATH,6,-751.818,-216.1215,431.7806,0,0,0,0,100,0), +(@PATH,7,-752.1444,-209.4591,430.6995,0,0,0,0,100,0), +(@PATH,8,-752.5813,-208.6543,430.434,0,0,0,0,100,0), +(@PATH,9,-749.45,-205.2882,430.5325,0,0,0,0,100,0), +(@PATH,10,-742.3865,-205.8632,431.1866,0,0,0,0,100,0), +(@PATH,11,-740.8467,-209.625,432.1345,0,0,0,0,100,0), +(@PATH,12,-740.2542,-212.8133,432.6738,3.438299,3000,0,0,100,0); + +-- Pathing for Hired Demolitionist Entry: 33627 'TDB FORMAT' +SET @NPC := 136366; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-712.1467,`position_y`=-168.2411,`position_z`=432.9551 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-712.1467,-168.2411,432.9551,0,0,0,0,100,0), +(@PATH,2,-711.2845,-169.7373,433.5219,0,0,0,0,100,0), +(@PATH,3,-718.3967,-173.3105,431.6536,0,0,0,0,100,0), +(@PATH,4,-722.842,-172.8361,430.3402,0,0,0,0,100,0), +(@PATH,5,-723.5557,-172.3758,430.0638,0,0,0,0,100,0), +(@PATH,6,-724.2864,-166.9745,429.9667,0.7853982,3000,0,0,100,0), +(@PATH,7,-727.4843,-162.5646,429.9667,0,0,0,0,100,0), +(@PATH,8,-727.1448,-162.4384,430.2167,0,0,0,0,100,0), +(@PATH,9,-725.0723,-159.2923,430.2167,0,0,0,0,100,0), +(@PATH,10,-719.7878,-157.1184,430.2519,0,0,0,0,100,0), +(@PATH,11,-715.3311,-160.4503,430.7693,0,0,0,0,100,0), +(@PATH,12,-713.6705,-163.3997,431.3184,0,0,0,0,100,0); + +-- Pathing for Hired Demolitionist Entry: 33627 'TDB FORMAT' +SET @NPC := 136361; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-715.4345,`position_y`=-120.4184,`position_z`=430.8215 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-715.4345,-120.4184,430.8215,0,0,0,0,100,0), +(@PATH,2,-715.2732,-119.9876,430.8068,0,0,0,0,100,0), +(@PATH,3,-713.6184,-118.4633,430.9174,0,0,0,0,100,0), +(@PATH,4,-714.1099,-115.8266,430.8853,0,0,0,0,100,0), +(@PATH,5,-718.0544,-115.391,430.4921,0,0,0,0,100,0), +(@PATH,6,-720.8175,-116.2792,430.0629,0,0,0,0,100,0), +(@PATH,7,-721.2681,-119.6442,430.1362,0,0,0,0,100,0), +(@PATH,8,-721.4601,-123.3716,430.1362,0,0,0,0,100,0), +(@PATH,9,-721.3339,-127.6245,429.9487,0,0,0,0,100,0), +(@PATH,10,-718.5485,-128.1067,430.2194,0,0,0,0,100,0); + +-- Pathing for Hired Demolitionist Entry: 33627 'TDB FORMAT' +SET @NPC := 136365; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-798.1786,`position_y`=-248.1221,`position_z`=432.4507 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-798.1786,-248.1221,432.4507,0,0,0,0,100,0), +(@PATH,2,-798.7401,-245.9213,431.4652,0,0,0,0,100,0), +(@PATH,3,-799.3177,-242.9683,430.5485,0,0,0,0,100,0), +(@PATH,4,-797.5398,-247.3222,432.0694,0,0,0,0,100,0), +(@PATH,5,-796.4919,-249.3278,432.7336,0,0,0,0,100,0), +(@PATH,6,-789.5071,-248.2485,433.1029,0,0,0,0,100,0), +(@PATH,7,-786.5637,-240.1779,432.2992,0,0,0,0,100,0), +(@PATH,8,-789.908,-234.2144,431.4653,0,0,0,0,100,0), +(@PATH,9,-791.3019,-233.3431,430.7617,4.206244,2000,0,0,100,0), +(@PATH,10,-787.354,-241.1295,432.3823,0,0,0,0,100,0), +(@PATH,11,-786.8214,-247.0664,433.4664,0,0,0,0,100,0), +(@PATH,12,-787.0446,-247.7635,433.499,0,0,0,0,100,0); + +-- Pathing for Hired Demolitionist Entry: 33627 'TDB FORMAT' +SET @NPC := 136367; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-767.8429,`position_y`=-217.267,`position_z`=429.9667 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-767.8429,-217.267,429.9667,0,0,0,0,100,0), +(@PATH,2,-767.6378,-217.1616,430.0292,0,0,0,0,100,0), +(@PATH,3,-761.6285,-219.4796,430.4327,0,0,0,0,100,0), +(@PATH,4,-760.9791,-222.4792,430.8569,3.281219,2000,0,0,100,0), +(@PATH,5,-761.7565,-231.0529,432.8887,0,0,0,0,100,0), +(@PATH,6,-761.9493,-231.9112,433.0276,0,0,0,0,100,0), +(@PATH,7,-770.1174,-232.0044,432.3535,0,0,0,0,100,0), +(@PATH,8,-772.8343,-227.3204,431.1874,0,0,0,0,100,0), +(@PATH,9,-772.8062,-223.4772,430.3036,0,0,0,0,100,0), +(@PATH,10,-772.7734,-222.031,429.9667,0,0,0,0,100,0); + +-- Pathing for Hired Demolitionist Entry: 33627 'TDB FORMAT' +SET @NPC := 136368; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-731.2537,`position_y`=-177.8654,`position_z`=430.2253 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-731.2537,-177.8654,430.2253,0,0,0,0,100,0), +(@PATH,2,-727.3505,-179.0715,430.0485,4.39823,3000,0,0,100,0), +(@PATH,3,-734.2864,-179.9329,429.8522,0,0,0,0,100,0), +(@PATH,4,-734.1282,-180.0425,429.9078,0,0,0,0,100,0), +(@PATH,5,-735.3954,-183.6396,429.8522,5.8294,2000,0,0,100,0), +(@PATH,6,-731.4017,-177.9422,429.9667,0,0,0,0,100,0); + +-- Pathing for Weslex Quickwrench Entry: 33629 'TDB FORMAT' +SET @NPC := 136370; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-744.1992,`position_y`=-41.8189,`position_z`=429.9657 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,14374,0,257,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-744.1992,-41.8189,429.9657,1.919862,3000,0,0,100,0), +(@PATH,2,-722.2444,-31.58008,429.8806,0,0,0,0,100,0), +(@PATH,3,-722.0319,-31.24901,430.1359,0,0,0,0,100,0), +(@PATH,4,-715.6211,-29.15961,429.8806,1.884956,2000,0,0,100,0), +(@PATH,5,-743.2397,-42.08398,429.9657,0,0,0,0,100,0); + +-- Earthen Stoneshaper ,Goran Steelbreaker, Ulduar Shield Bunny should not have movement +UPDATE `creature` SET `modelid`=0,`spawndist`=0,`MovementType`=0, `curhealth`=1 WHERE `id` IN (33620,33622,33779); diff --git a/sql/updates/world/2015_03_22_08_world.sql b/sql/updates/world/2015_03_22_08_world.sql new file mode 100644 index 00000000000..c38f436d0d0 --- /dev/null +++ b/sql/updates/world/2015_03_22_08_world.sql @@ -0,0 +1,5685 @@ +-- Desolace + +SET @CGUID := 365320; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2855; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 12028, 1, 1, 1, -1694.689, 3195.35, 8.036221, 3.333579, 120, 0, 0), -- 12028 (Area: -1) +(@CGUID+1, 62184, 1, 1, 1, -1656.431, 3132.395, 27.02018, 5.07802, 120, 0, 0), -- 62184 (Area: -1) +(@CGUID+2, 12027, 1, 1, 1, -1701.76, 3112.569, 32.75668, 4.642576, 120, 0, 0), -- 12027 (Area: -1) +(@CGUID+3, 12338, 1, 1, 1, -1673.688, 3110.448, 31.2323, 1.623156, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+4, 12338, 1, 1, 1, -1678.975, 3087.704, 31.76251, 1.727876, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+5, 12338, 1, 1, 1, -1649.744, 3148.499, 24.66841, 3.560472, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+6, 12338, 1, 1, 1, -1729.747, 3087.027, 34.54964, 3.141593, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+7, 12338, 1, 1, 1, -1692.712, 3171.315, 9.632702, 2.581752, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+8, 12030, 1, 1, 1, -1637.967, 3188.65, 29.98491, 2.426008, 120, 0, 0), -- 12030 (Area: -1) +(@CGUID+9, 49839, 1, 1, 1, -1608.458, 3145.832, 44.5653, 2.528647, 120, 0, 0), -- 49839 (Area: -1) +(@CGUID+10, 62186, 1, 1, 1, -1689.678, 3095.534, 31.89255, 2.149818, 120, 5, 1), -- 62186 (Area: -1) (possible waypoints or random movement) +(@CGUID+11, 11823, 1, 1, 1, -1656.325, 3189.542, 44.90065, 1.570796, 120, 0, 0), -- 11823 (Area: -1) +(@CGUID+12, 12338, 1, 1, 1, -1654.405, 3175.131, 24.32793, 4.991642, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+13, 12338, 1, 1, 1, -1668.358, 3160.144, 18.70231, 3.403392, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+14, 11877, 1, 1, 1, -1714.582, 3107.182, 33.58313, 4.258604, 120, 0, 0), -- 11877 (Area: -1) +(@CGUID+15, 12338, 1, 1, 1, -1651.249, 3114.191, 31.93189, 3.577925, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+16, 12338, 1, 1, 1, -1670.866, 3114.328, 30.5615, 3.211406, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+17, 12338, 1, 1, 1, -1661.278, 3106.28, 30.47244, 1.508413, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+18, 12338, 1, 1, 1, -1738.301, 3096.034, 34.58704, 4.747295, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+19, 12045, 1, 1, 1, -1677.031, 3073.266, 34.64215, 0.6632251, 120, 0, 0), -- 12045 (Area: -1) +(@CGUID+20, 11106, 1, 1, 1, -1592.844, 3150.267, 47.04139, 4.18879, 120, 0, 0), -- 11106 (Area: -1) +(@CGUID+21, 10182, 1, 1, 1, -1648.283, 3076.136, 30.23689, 2.094395, 120, 0, 0), -- 10182 (Area: -1) +(@CGUID+22, 49839, 1, 1, 1, -1659.711, 3082.313, 30.30722, 4.372167, 120, 0, 0), -- 49839 (Area: -1) +(@CGUID+23, 11105, 1, 1, 1, -1606.459, 3113.822, 44.69413, 3.944444, 120, 0, 0), -- 11105 (Area: -1) +(@CGUID+24, 12338, 1, 1, 1, -1618.352, 3121.805, 44.63565, 4.24115, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+25, 12338, 1, 1, 1, -1616.805, 3115.091, 43.32054, 0.7860883, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+26, 11563, 1, 1, 1, -1619.517, 3262.651, -33.80345, 1.410651, 120, 0, 0), -- 11563 (Area: -1) +(@CGUID+27, 12338, 1, 1, 1, -1637.492, 3058.247, 34.56771, 1.867502, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+28, 12338, 1, 1, 1, -1654.601, 3057.878, 36.79111, 0.9773844, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+29, 11624, 1, 1, 1, -1592.928, 3072.683, 49.07456, 2.111848, 120, 0, 0), -- 11624 (Area: -1) +(@CGUID+30, 12338, 1, 1, 1, -1573.844, 3076.495, 47.64919, 2.530727, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+31, 12033, 1, 1, 1, -1635.916, 3056.889, 51.75277, 2.827433, 120, 0, 0), -- 12033 (Area: -1) +(@CGUID+32, 12338, 1, 1, 1, -1653.539, 3062.864, 36.79111, 5.009095, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+33, 12338, 1, 1, 1, -1582.691, 3063.508, 46.80593, 2.827433, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+34, 11563, 1, 1, 1, -1552.052, 3251.809, -40.41905, 6.107333, 120, 0, 0), -- 11563 (Area: -1) +(@CGUID+35, 12032, 1, 1, 1, -1719.016, 3212.894, 4.380538, 4.590216, 120, 0, 0), -- 12032 (Area: -1) +(@CGUID+36, 12031, 1, 1, 1, -1705.491, 3215.332, 8.016129, 3.769911, 120, 0, 0), -- 12031 (Area: -1) +(@CGUID+37, 12340, 1, 1, 1, -1732.587, 3184.918, 4.113876, 2.70526, 120, 0, 0), -- 12340 (Area: -1) +(@CGUID+38, 12338, 1, 1, 1, -1762.24, 3076.438, 24.15738, 0.6115294, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+39, 12338, 1, 1, 1, -1727.605, 3187.419, 4.747643, 0.1396263, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+40, 12338, 1, 1, 1, -1787.932, 3062.597, 12.52395, 4.468043, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+41, 12338, 1, 1, 1, -1787.87, 3048.401, 9.698303, 2.86234, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+42, 12338, 1, 1, 1, -1795.131, 3038.266, 8.924733, 2.338741, 120, 0, 0), -- 12338 (Area: -1) (Auras: 18950 - 18950) +(@CGUID+43, 11562, 1, 1, 1, -1807.952, 3107.403, -9.105143, 0.06253683, 120, 0, 0), -- 11562 (Area: -1) (Auras: 12544 - 12544) +(@CGUID+44, 13737, 1, 1, 1, -1874.868, 3014.112, 20.74384, 1.157554, 120, 0, 0), -- 13737 (Area: 598) +(@CGUID+45, 49839, 1, 1, 1, -1882.412, 2984.363, 25.79276, 4.695477, 120, 0, 0), -- 49839 (Area: 598) +(@CGUID+46, 13699, 1, 1, 1, -1876.343, 3025.155, 19.34553, 4.45059, 120, 0, 0), -- 13699 (Area: 598) +(@CGUID+47, 11563, 1, 1, 1, -1874.41, 3090.695, -5.815565, 5.125621, 120, 0, 0), -- 11563 (Area: 598) +(@CGUID+48, 13737, 1, 1, 1, -1873.484, 3025.41, 19.07209, 3.944444, 120, 0, 0), -- 13737 (Area: 598) +(@CGUID+49, 13737, 1, 1, 1, -1881.525, 3027.632, 18.89985, 3.222781, 120, 0, 0), -- 13737 (Area: 598) +(@CGUID+50, 11562, 1, 1, 1, -1922.273, 3034.023, 4.113152, 2.197294, 120, 5, 1), -- 11562 (Area: 598) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+51, 11563, 1, 1, 1, -1881.481, 2966.847, 31.02475, 1.461217, 120, 5, 1), -- 11563 (Area: 598) (possible waypoints or random movement) +(@CGUID+52, 11563, 1, 1, 1, -1952.024, 3093.222, -5.317532, 6.157828, 120, 0, 0), -- 11563 (Area: 598) +(@CGUID+53, 11563, 1, 1, 1, -1849.842, 3152.029, -31.43222, 2.37872, 120, 0, 0), -- 11563 (Area: 598) +(@CGUID+54, 11563, 1, 1, 1, -1956.481, 2981.9, 34.18099, 2.748842, 120, 5, 1), -- 11563 (Area: 598) (possible waypoints or random movement) +(@CGUID+55, 11562, 1, 1, 1, -1914.225, 3157.707, -33.96354, 1.235926, 120, 0, 0), -- 11562 (Area: 598) +(@CGUID+56, 11563, 1, 1, 1, -2002.926, 2972.734, 43.52431, 5.134273, 120, 5, 1), -- 11563 (Area: 598) (possible waypoints or random movement) +(@CGUID+57, 11563, 1, 1, 1, -2026.861, 3025.475, 38.95181, 4.200266, 120, 0, 0), -- 11563 (Area: 598) +(@CGUID+58, 11563, 1, 1, 1, -1994.955, 3140.458, -7.078674, 1.559665, 120, 0, 0), -- 11563 (Area: 598) +(@CGUID+59, 49839, 1, 1, 1, -2033.242, 2979.808, 50.57734, 0.5397493, 120, 0, 0), -- 49839 (Area: 598) +(@CGUID+60, 62184, 1, 1, 1, -1978.871, 2951.268, 43.07221, 4.447508, 120, 5, 1), -- 62184 (Area: 598) (possible waypoints or random movement) +(@CGUID+61, 49835, 1, 1, 1, -2036.065, 2936.815, 52.866, 0.7605414, 120, 5, 1), -- 49835 (Area: 598) (possible waypoints or random movement) +(@CGUID+62, 49835, 1, 1, 1, -1976.325, 2921.557, 45.47708, 3.904685, 120, 5, 1), -- 49835 (Area: 598) (possible waypoints or random movement) +(@CGUID+63, 11562, 1, 1, 1, -1989.249, 2916.175, 47.2198, 3.143546, 120, 5, 1), -- 11562 (Area: 598) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+64, 49835, 1, 1, 1, -1990.525, 2877.775, 53.2612, 0.3871537, 120, 5, 1), -- 49835 (Area: 598) (possible waypoints or random movement) +(@CGUID+65, 11562, 1, 1, 1, -2010.287, 2870.544, 55.6662, 0.07870012, 120, 5, 1), -- 11562 (Area: 598) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+66, 11562, 1, 1, 1, -1952.759, 2874.965, 53.90467, 2.038711, 120, 5, 1), -- 11562 (Area: 598) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+67, 11562, 1, 1, 1, -2085.375, 2913.81, 64.78981, 2.862548, 120, 0, 0), -- 11562 (Area: 598) +(@CGUID+68, 49835, 1, 1, 1, -1925.413, 2910.06, 42.47001, 3.902715, 120, 5, 1), -- 49835 (Area: 598) (possible waypoints or random movement) +(@CGUID+69, 11562, 1, 1, 1, -1922.123, 2922.858, 41.29311, 1.60402, 120, 5, 1), -- 11562 (Area: 598) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+70, 36353, 1, 1, 1, -2047.937, 2897.124, 60.10147, 3.103525, 120, 0, 0), -- 36353 (Area: 598) (Auras: 34189 - 34189) +(@CGUID+71, 11563, 1, 1, 1, -1990.847, 2808.797, 56.50119, 3.467667, 120, 5, 1), -- 11563 (Area: 598) (possible waypoints or random movement) +(@CGUID+72, 62185, 1, 1, 1, -1966.745, 2758.243, 58.25457, 3.456243, 120, 5, 1), -- 62185 (Area: 598) (possible waypoints or random movement) +(@CGUID+73, 4076, 1, 1, 1, -1904.458, 2837.492, 52.62302, 6.084946, 120, 0, 0), -- 4076 (Area: 598) +(@CGUID+74, 4727, 1, 1, 1, -1916.175, 2764.968, 58.50643, 3.773764, 120, 0, 0), -- 4727 (Area: 598) +(@CGUID+75, 11578, 1, 1, 1, -1951.014, 2748.362, 58.61378, 6.251772, 120, 0, 0), -- 11578 (Area: 598) +(@CGUID+76, 50481, 1, 1, 1, -1905.948, 2766.708, 58.50002, 5.318798, 120, 5, 1), -- 50481 (Area: 598) (possible waypoints or random movement) +(@CGUID+77, 49839, 1, 1, 1, -1986.89, 2731.44, 60.89217, 4.214699, 120, 0, 0), -- 49839 (Area: 598) +(@CGUID+78, 49835, 1, 1, 1, -1888.144, 2818.228, 55.1487, 2.363255, 120, 5, 1), -- 49835 (Area: 598) (possible waypoints or random movement) +(@CGUID+79, 4648, 1, 1, 1, -2011.802, 2678.826, 60.35238, 5.899098, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+80, 4648, 1, 1, 1, -2013.451, 2656.496, 61.20332, 5.181237, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+81, 4646, 1, 1, 1, -1987.222, 2678.615, 60.24225, 4.465173, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+82, 50481, 1, 1, 1, -1888.477, 2712.781, 65.16081, 4.443481, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+83, 62185, 1, 1, 1, -1965.527, 2646.269, 66.13499, 1.180503, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+84, 4646, 1, 1, 1, -1953.974, 2646.643, 72.65055, 4.933402, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+85, 50481, 1, 1, 1, -1846.483, 2756.075, 60.1768, 3.062347, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+86, 49835, 1, 1, 1, -1843.249, 2700.792, 61.94328, 2.677935, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+87, 36182, 1, 1, 1, -1989.444, 2637.095, 61.27104, 4.29351, 120, 0, 0), -- 36182 (Area: 0) +(@CGUID+88, 4726, 1, 1, 1, -1814.697, 2709.753, 61.99943, 5.751313, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+89, 50481, 1, 1, 1, -1862.511, 2586.15, 60.05169, 5.651114, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+90, 50481, 1, 1, 1, -1777.968, 2708.552, 77.61287, 0.09675576, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+91, 4726, 1, 1, 1, -1753.346, 2671.99, 93.34048, 3.235434, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+92, 4692, 1, 1, 1, -1743.299, 2740.107, 86.73565, 1.555173, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+93, 49839, 1, 1, 1, -1782.975, 2594.368, 78.15621, 0.1362318, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+94, 11562, 1, 1, 1, -1860.095, 2810.703, 58.38765, 3.018207, 120, 5, 1), -- 11562 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+95, 49839, 1, 1, 1, -1833.498, 2854.52, 53.64785, 3.776495, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+96, 11563, 1, 1, 1, -1820.494, 2862.379, 55.40107, 2.767973, 120, 5, 1), -- 11563 (Area: 0) (possible waypoints or random movement) +(@CGUID+97, 11562, 1, 1, 1, -1890.829, 2877.612, 52.06123, 3.919459, 120, 0, 0), -- 11562 (Area: 0) (Auras: 12544 - 12544) +(@CGUID+98, 50481, 1, 1, 1, -1875.236, 2922.75, 40.31475, 3.536257, 120, 0, 0), -- 50481 (Area: 598) +(@CGUID+99, 11563, 1, 1, 1, -1854.75, 2922.379, 39.61199, 6.059583, 120, 0, 0), -- 11563 (Area: 598) +(@CGUID+100, 49839, 1, 1, 1, -1673.898, 2858.805, 86.0257, 4.875131, 120, 0, 0), -- 49839 (Area: 598) +(@CGUID+101, 49835, 1, 1, 1, -1647.798, 2864.855, 91.90074, 3.837314, 120, 0, 0), -- 49835 (Area: 598) +(@CGUID+102, 4654, 1, 1, 1, -1597.875, 2872.685, 105.6732, 1.652729, 120, 0, 0), -- 4654 (Area: 598) +(@CGUID+103, 11578, 1, 1, 1, -1631.321, 2805.058, 110.4989, 5.185019, 120, 0, 0), -- 11578 (Area: 598) +(@CGUID+104, 4654, 1, 1, 1, -1570.426, 2902.943, 112.5424, 2.16313, 120, 0, 0), -- 4654 (Area: 598) +(@CGUID+105, 50481, 1, 1, 1, -1632.434, 2791.713, 111.5885, 2.205281, 120, 5, 1), -- 50481 (Area: 598) (possible waypoints or random movement) +(@CGUID+106, 4656, 1, 1, 1, -1584.663, 2943.417, 138.3118, 4.935603, 120, 0, 0), -- 4656 (Area: 598) +(@CGUID+107, 49839, 1, 1, 1, -1539.355, 2892.342, 116.5176, 5.060993, 120, 0, 0), -- 49839 (Area: 598) +(@CGUID+108, 4654, 1, 1, 1, -1531.682, 2828.826, 146.6553, 0.2215759, 120, 0, 0), -- 4654 (Area: 598) +(@CGUID+109, 4654, 1, 1, 1, -1527.737, 2887.076, 115.1119, 4.07455, 120, 0, 0), -- 4654 (Area: 598) +(@CGUID+110, 4656, 1, 1, 1, -1530.522, 2811.988, 151.6553, 2.511095, 120, 0, 0), -- 4656 (Area: 598) +(@CGUID+111, 49859, 1, 1, 1, -1508.1, 2899.543, 92.77678, 1.91355, 120, 5, 1), -- 49859 (Area: 598) (possible waypoints or random movement) +(@CGUID+112, 4076, 1, 1, 1, -1497.248, 2962.741, 120.4378, 0.5096341, 120, 0, 0), -- 4076 (Area: 607) +(@CGUID+113, 4075, 1, 1, 1, -1480.205, 2952.557, 121.2758, 2.76194, 120, 0, 0), -- 4075 (Area: 607) +(@CGUID+114, 4656, 1, 1, 1, -1502.477, 2838.287, 109.0627, 0.5371711, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+115, 49859, 1, 1, 1, -1489.999, 2903.007, 93.15888, 2.51512, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+116, 49859, 1, 1, 1, -1479.675, 2865.156, 93.93349, 5.239675, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+117, 11687, 1, 1, 1, -1497.507, 2952.994, 121.2175, 5.835289, 120, 0, 0), -- 11687 (Area: 607) +(@CGUID+118, 4076, 1, 1, 1, -1454.706, 2936.047, 94.91911, 3.273586, 120, 0, 0), -- 4076 (Area: 607) +(@CGUID+119, 4076, 1, 1, 1, -1437.934, 2923.459, 93.99228, 1.16749, 120, 0, 0), -- 4076 (Area: 607) +(@CGUID+120, 11686, 1, 1, 1, -1455.233, 2952.085, 123.6164, 3.45435, 120, 0, 0), -- 11686 (Area: 607) +(@CGUID+121, 11685, 1, 1, 1, -1431.21, 2873.558, 87.56093, 4.219416, 120, 0, 0), -- 11685 (Area: 607) +(@CGUID+122, 11686, 1, 1, 1, -1439.05, 2862.324, 87.64398, 4.390069, 120, 0, 0), -- 11686 (Area: 607) (Auras: ) +(@CGUID+123, 4656, 1, 1, 1, -1429.151, 2887.389, 133.1737, 6.036128, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+124, 49859, 1, 1, 1, -1462.811, 2923.026, 94.08811, 1.03642, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+125, 11786, 1, 1, 1, -1484.757, 2809.559, 86.75011, 5.232208, 120, 0, 0), -- 11786 (Area: 607) +(@CGUID+126, 4655, 1, 1, 1, -1523.548, 2755.594, 112.1587, 1.746246, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+127, 13697, 1, 1, 1, -1459.36, 2796.152, 93.85201, 5.827028, 120, 5, 1), -- 13697 (Area: 607) (possible waypoints or random movement) +(@CGUID+128, 49859, 1, 1, 1, -1467.049, 2769.283, 92.94923, 3.190169, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+129, 49859, 1, 1, 1, -1520.714, 2775.179, 94.7588, 5.288699, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+130, 49859, 1, 1, 1, -1454.587, 2773.114, 92.65553, 0.6510632, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+131, 49859, 1, 1, 1, -1481.784, 2781.673, 94.65475, 5.975471, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+132, 49859, 1, 1, 1, -1544.403, 2736.999, 89.09378, 0.6346811, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+133, 11786, 1, 1, 1, -1448.91, 2775.591, 92.74828, 3.185256, 120, 0, 0), -- 11786 (Area: 607) +(@CGUID+134, 49859, 1, 1, 1, -1445.042, 2776.146, 92.97768, 6.047157, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+135, 13718, 1, 1, 1, -1418.719, 2940.606, 95.40356, 3.717551, 120, 0, 0), -- 13718 (Area: 607) +(@CGUID+136, 4656, 1, 1, 1, -1376.69, 2826.351, 112.8032, 5.391568, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+137, 50481, 1, 1, 1, -1403.445, 2809.679, 112.2073, 1.557125, 120, 5, 1), -- 50481 (Area: 607) (possible waypoints or random movement) +(@CGUID+138, 62185, 1, 1, 1, -1351.713, 2844.478, 113.823, 4.854126, 120, 5, 1), -- 62185 (Area: 607) (possible waypoints or random movement) +(@CGUID+139, 4655, 1, 1, 1, -1365.913, 2907.263, 127.4396, 2.393362, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+140, 11687, 1, 1, 1, -1384.136, 2837.831, 77.26324, 2.879577, 120, 0, 0), -- 11687 (Area: 607) +(@CGUID+141, 62182, 1, 1, 1, -1404.573, 2923.609, 94.47488, 3.048508, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+142, 11687, 1, 1, 1, -1399.238, 2917.053, 94.11093, 5.33161, 120, 0, 0), -- 11687 (Area: 607) +(@CGUID+143, 4076, 1, 1, 1, -1448.875, 2958.146, 123.9961, 3.747015, 120, 0, 0), -- 4076 (Area: 607) +(@CGUID+144, 62182, 1, 1, 1, -1390.33, 2920.942, 93.35108, 0, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+145, 4656, 1, 1, 1, -1411.364, 2887.508, 132.9371, 2.676778, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+146, 4655, 1, 1, 1, -1372.627, 2794.193, 112.1812, 0.5197036, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+147, 62182, 1, 1, 1, -1381.536, 2895.445, 88.84867, 0, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+148, 4654, 1, 1, 1, -1389.259, 2886.094, 129.0337, 0.551143, 120, 0, 0), -- 4654 (Area: 607) +(@CGUID+149, 4076, 1, 1, 1, -1384.985, 2871.988, 77.56252, 1.743587, 120, 0, 0), -- 4076 (Area: 607) +(@CGUID+150, 4655, 1, 1, 1, -1434.797, 2780.563, 114.7047, 3.566764, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+151, 11687, 1, 1, 1, -1394.005, 2872.734, 77.80804, 1.741518, 120, 0, 0), -- 11687 (Area: 607) +(@CGUID+152, 4075, 1, 1, 1, -1387.052, 2916.351, 73.19938, 0.4399042, 120, 0, 0), -- 4075 (Area: 607) +(@CGUID+153, 4075, 1, 1, 1, -1379.538, 2925.519, 73.30634, 6.135937, 120, 0, 0), -- 4075 (Area: 607) +(@CGUID+154, 12240, 1, 1, 1, -1360.958, 2899.673, 73.43381, 5.77704, 120, 0, 0), -- 12240 (Area: 607) +(@CGUID+155, 49839, 1, 1, 1, -1377.022, 2792.563, 112.3155, 3.587934, 120, 0, 0), -- 49839 (Area: 607) +(@CGUID+156, 62182, 1, 1, 1, -1347.623, 2852.146, 87.27747, 1.61073, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+157, 4075, 1, 1, 1, -1402.411, 2955.096, 126.8146, 4.22047, 120, 0, 0), -- 4075 (Area: 607) +(@CGUID+158, 4657, 1, 1, 1, -1323.136, 2851.426, 112.4059, 4.713638, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+159, 4659, 1, 1, 1, -1371.373, 2939.283, 130.7215, 4.789635, 120, 0, 0), -- 4659 (Area: 607) +(@CGUID+160, 62182, 1, 1, 1, -1332.405, 2864.398, 87.7046, 0, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+161, 62182, 1, 1, 1, -1323.413, 2888.816, 88.73249, 1.254572, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+162, 11686, 1, 1, 1, -1398.452, 2959.698, 127.0741, 5.446155, 120, 0, 0), -- 11686 (Area: 607) (Auras: ) +(@CGUID+163, 11788, 1, 1, 1, -1294.373, 2893.39, 88.7685, 0.4500231, 120, 0, 0), -- 11788 (Area: 607) +(@CGUID+164, 4656, 1, 1, 1, -1358.297, 2782.93, 113.2928, 0.7773739, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+165, 4656, 1, 1, 1, -1339.89, 2792.892, 112.6678, 0.1622479, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+166, 62182, 1, 1, 1, -1301.929, 2920.405, 88.28176, 1.231438, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+167, 4657, 1, 1, 1, -1318.682, 2820.213, 113.5164, 5.713545, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+168, 4656, 1, 1, 1, -1296.995, 2886.408, 113.5726, 5.218534, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+169, 4656, 1, 1, 1, -1280.235, 2874.068, 114.3728, 0.3476024, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+170, 62182, 1, 1, 1, -1300.638, 2898.905, 88.68867, 1.047744, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+171, 4656, 1, 1, 1, -1280.209, 2892.709, 114.297, 3.248727, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+172, 4656, 1, 1, 1, -1290.182, 2897.412, 113.1721, 3.373939, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+173, 62185, 1, 1, 1, -1289.693, 2870.087, 114.1721, 6.166588, 120, 5, 1), -- 62185 (Area: 607) (possible waypoints or random movement) +(@CGUID+174, 11778, 1, 1, 1, -1296.277, 2932.519, 74.82039, 1.90029, 120, 0, 0), -- 11778 (Area: 607) +(@CGUID+175, 4657, 1, 1, 1, -1339.719, 2768.745, 113.2928, 5.692164, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+176, 62182, 1, 1, 1, -1255.715, 2895.346, 87.37854, 4.348795, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+177, 11787, 1, 1, 1, -1265.556, 2895.226, 87.71585, 5.235345, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+178, 12239, 1, 1, 1, -1254.523, 2910.101, 73.3382, 3.995492, 120, 5, 1), -- 12239 (Area: 607) (possible waypoints or random movement) +(@CGUID+179, 62182, 1, 1, 1, -1273.448, 2895.972, 87.76348, 2.160127, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+180, 4658, 1, 1, 1, -1288.551, 2934.58, 119.6269, 5.091122, 120, 0, 0), -- 4658 (Area: 607) (Auras: 101639 - 101639) +(@CGUID+181, 4656, 1, 1, 1, -1259.295, 2862.961, 113.9536, 5.553591, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+182, 11787, 1, 1, 1, -1256.534, 2916.304, 73.75623, 0.1074465, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+183, 62182, 1, 1, 1, -1207.461, 2905.806, 77.22952, 2.578985, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+184, 4658, 1, 1, 1, -1211.209, 2914.268, 151.0737, 5.419943, 120, 0, 0), -- 4658 (Area: 607) (Auras: 101639 - 101639) +(@CGUID+185, 62182, 1, 1, 1, -1250.805, 2917.006, 87.27377, 0, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+186, 11778, 1, 1, 1, -1287.383, 2977.747, 72.76774, 1.85327, 120, 0, 0), -- 11778 (Area: 607) +(@CGUID+187, 62182, 1, 1, 1, -1221.415, 2919.375, 87.14623, 0.2661607, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+188, 11787, 1, 1, 1, -1248.466, 2962.132, 64.41182, 2.647681, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+189, 11787, 1, 1, 1, -1264.53, 2963.657, 87.63427, 0.9120015, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+190, 11778, 1, 1, 1, -1234.879, 2929.31, 86.72182, 6.057893, 120, 0, 0), -- 11778 (Area: 607) +(@CGUID+191, 62182, 1, 1, 1, -1253.245, 2934.05, 87.04974, 0, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+192, 62182, 1, 1, 1, -1287.553, 2977.11, 72.79731, 3.606125, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+193, 11788, 1, 1, 1, -1205.934, 2906.49, 77.37062, 0.8063439, 120, 0, 0), -- 11788 (Area: 607) +(@CGUID+194, 4655, 1, 1, 1, -1211.549, 2874.39, 127.7569, 4.08862, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+195, 11787, 1, 1, 1, -1244.372, 2938.204, 86.93613, 4.652752, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+196, 11787, 1, 1, 1, -1226.405, 2950.796, 74.24615, 2.276648, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+197, 62182, 1, 1, 1, -1266.834, 2978.01, 64.54408, 3.680688, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+198, 62182, 1, 1, 1, -1295.331, 2989.671, 73.32995, 0.2273446, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+199, 62182, 1, 1, 1, -1205.944, 2921.021, 77.6623, 1.706183, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+200, 11787, 1, 1, 1, -1230.65, 2981.787, 64.9101, 5.847986, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+201, 62182, 1, 1, 1, -1202.477, 2906.732, 77.46044, 4.700971, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+202, 11777, 1, 1, 1, -1276.157, 3006.884, 88.69389, 4.930517, 120, 0, 0), -- 11777 (Area: 607) +(@CGUID+203, 11777, 1, 1, 1, -1268.518, 2982.198, 64.57335, 3.15481, 120, 0, 0), -- 11777 (Area: 607) +(@CGUID+204, 62182, 1, 1, 1, -1291.926, 2989.799, 73.14484, 3.462017, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+205, 62182, 1, 1, 1, -1220.807, 2990.331, 65.03972, 1.343078, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+206, 11787, 1, 1, 1, -1202.576, 2951.543, 64.23585, 1.25231, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+207, 62182, 1, 1, 1, -1202.429, 2948.936, 64.16551, 4.623361, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+208, 62182, 1, 1, 1, -1228.658, 2991.197, 64.76015, 0, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+209, 62182, 1, 1, 1, -1185.739, 2907.134, 86.32254, 0.6239614, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+210, 62182, 1, 1, 1, -1196.172, 2898.299, 86.17592, 5.00075, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+211, 4657, 1, 1, 1, -1185.549, 2885.509, 135.2321, 5.547194, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+212, 4657, 1, 1, 1, -1180.795, 2918.657, 142.1177, 1.639183, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+213, 4654, 1, 1, 1, -1189.802, 2829.411, 124.2319, 2.357086, 120, 0, 0), -- 4654 (Area: 607) +(@CGUID+214, 4656, 1, 1, 1, -1185.952, 2861.64, 138.9973, 0.1934463, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+215, 4656, 1, 1, 1, -1177.395, 2940.05, 151.2124, 3.840144, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+216, 62182, 1, 1, 1, -1180.664, 2964.074, 64.03925, 3.384974, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+217, 11787, 1, 1, 1, -1179.28, 2968.73, 88.49391, 1.471325, 120, 0, 0), -- 11787 (Area: 607) +(@CGUID+218, 36234, 1, 1, 1, -876.3264, 2684.102, 110.9174, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+219, 62182, 1, 1, 1, -1143.854, 2931.123, 82.04975, 0, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+220, 4654, 1, 1, 1, -1161.307, 2813.348, 127.7958, 3.140505, 120, 0, 0), -- 4654 (Area: 607) +(@CGUID+221, 35605, 1, 1, 1, -1023.388, 2910.8, 11.291, 1.775276, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+222, 62182, 1, 1, 1, -1182.3, 2950.893, 63.78248, 0.9571526, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+223, 62182, 1, 1, 1, -1177.557, 2960.444, 63.93893, 2.757281, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+224, 50481, 1, 1, 1, -1133.677, 2849.202, 139.379, 0.7135001, 120, 5, 1), -- 50481 (Area: 607) (possible waypoints or random movement) +(@CGUID+225, 62182, 1, 1, 1, -1175.666, 2954.573, 63.83646, 3.731326, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+226, 50481, 1, 1, 1, -1162.701, 2825.682, 130.2325, 1.630061, 120, 5, 1), -- 50481 (Area: 607) (possible waypoints or random movement) +(@CGUID+227, 11778, 1, 1, 1, -1172.331, 2956.527, 63.87433, 5.823883, 120, 0, 0), -- 11778 (Area: 607) +(@CGUID+228, 4657, 1, 1, 1, -1155.986, 2933.552, 146.9202, 4.373963, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+229, 4657, 1, 1, 1, -1213, 2788.156, 112.0626, 1.301899, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+230, 11788, 1, 1, 1, -1148.443, 2929.385, 82.05802, 1.638406, 120, 0, 0), -- 11788 (Area: 607) +(@CGUID+231, 4657, 1, 1, 1, -1147.972, 2844.466, 136.8387, 1.781208, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+232, 62182, 1, 1, 1, -1143.654, 2940.799, 82.09679, 2.668251, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+233, 62182, 1, 1, 1, -1145.027, 2947.855, 82.37222, 5.497563, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+234, 49839, 1, 1, 1, -1110.679, 2896.805, 142.806, 2.25035, 120, 0, 0), -- 49839 (Area: 607) +(@CGUID+235, 90, 1, 1, 1, -793.3953, 2899.551, 13.98735, 4.052886, 120, 0, 0), -- 90 (Area: 607) +(@CGUID+236, 4656, 1, 1, 1, -1107.343, 2860.446, 139.7437, 0.8751857, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+237, 4657, 1, 1, 1, -1116.623, 2913.835, 144.5205, 3.527362, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+238, 11777, 1, 1, 1, -1198.313, 3005.365, 70.0196, 5.40024, 120, 0, 0), -- 11777 (Area: 607) +(@CGUID+239, 35605, 1, 1, 1, -1010.481, 2877.323, -3.041944, 5.385777, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+240, 4693, 1, 1, 1, -1121.173, 2969.791, 244.231, 0, 120, 0, 0), -- 4693 (Area: 607) +(@CGUID+241, 11788, 1, 1, 1, -1206.305, 2986.491, 78.97959, 1.846207, 120, 0, 0), -- 11788 (Area: 607) +(@CGUID+242, 4659, 1, 1, 1, -1067.447, 2926.862, 100.8058, 6.094188, 120, 0, 0), -- 4659 (Area: 607) +(@CGUID+243, 90, 1, 1, 1, -879.7946, 2648.792, 64.99081, 4.211161, 120, 0, 0), -- 90 (Area: 607) +(@CGUID+244, 35606, 1, 1, 1, -976.1621, 2956.095, 4.833725, 0.007812341, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+245, 35606, 1, 1, 1, -999.2539, 2834.272, 13.42782, 2.237664, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+246, 35606, 1, 1, 1, -990.2469, 2922.742, -2.610359, 5.378135, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+247, 35605, 1, 1, 1, -976.4841, 2909.873, 24.78342, 5.734729, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+248, 35605, 1, 1, 1, -966.313, 2848.623, 21.35458, 1.107503, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+249, 35606, 1, 1, 1, -970.459, 2877.996, 22.03371, 5.287191, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+250, 4659, 1, 1, 1, -1064.603, 2915.9, 102.3286, 1.188079, 120, 0, 0), -- 4659 (Area: 607) +(@CGUID+251, 62182, 1, 1, 1, -1155.193, 3013.668, 87.43756, 0.1227219, 120, 5, 1), -- 62182 (Area: 607) (possible waypoints or random movement) +(@CGUID+252, 35606, 1, 1, 1, -944.267, 2928.66, 20.05451, 1.304677, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+253, 4658, 1, 1, 1, -1065.74, 2860.675, 124.9181, 4.743526, 120, 0, 0), -- 4658 (Area: 607) (Auras: 101639 - 101639) +(@CGUID+254, 35606, 1, 1, 1, -971.0099, 2812.619, 21.88422, 4.618124, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+255, 4656, 1, 1, 1, -1080.603, 2820.392, 152.8382, 1.549595, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+256, 36234, 1, 1, 1, -857.9861, 2606.394, 128.8749, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+257, 36234, 1, 1, 1, -926.7691, 2550.031, 101.2196, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+258, 90, 1, 1, 1, -861.9653, 2587.518, 58.33149, 5.050815, 120, 0, 0), -- 90 (Area: 607) +(@CGUID+259, 35605, 1, 1, 1, -968.9219, 2772.785, 23.64055, 4.307232, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+260, 35606, 1, 1, 1, -962.2322, 2761.85, 23.2704, 2.869976, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+261, 4654, 1, 1, 1, -1121.072, 2753.798, 119.7711, 0.1160023, 120, 0, 0), -- 4654 (Area: 607) +(@CGUID+262, 4656, 1, 1, 1, -1196.016, 2769.534, 111.4247, 3.348114, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+263, 4657, 1, 1, 1, -1194.901, 2734.135, 111.2361, 5.953094, 120, 0, 0), -- 4657 (Area: 607) +(@CGUID+264, 4656, 1, 1, 1, -1145.563, 2712.945, 111.6021, 1.042982, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+265, 4656, 1, 1, 1, -1192.709, 2746.875, 111.2361, 4.915327, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+266, 12277, 1, 1, 1, -1151.767, 2707.094, 111.1973, 2.513274, 120, 0, 0), -- 12277 (Area: 607) +(@CGUID+267, 50481, 1, 1, 1, -1104.778, 2728.967, 120.0231, 5.304056, 120, 5, 1), -- 50481 (Area: 607) (possible waypoints or random movement) +(@CGUID+268, 62184, 1, 1, 1, -1176.868, 2707.286, 111.7509, 2.497641, 120, 5, 1), -- 62184 (Area: 607) (possible waypoints or random movement) +(@CGUID+269, 4656, 1, 1, 1, -1091.639, 2714.335, 119.8464, 1.659858, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+270, 4655, 1, 1, 1, -1216.25, 2683.518, 111.4042, 3.515519, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+271, 4656, 1, 1, 1, -1142.636, 2694.905, 111.331, 4.065232, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+272, 4656, 1, 1, 1, -1077.459, 2738.254, 119.7334, 3.37925, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+273, 36234, 1, 1, 1, -940.4983, 2438.498, 88.16933, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+274, 4654, 1, 1, 1, -1179.696, 2693.249, 111.6111, 1.594962, 120, 0, 0), -- 4654 (Area: 607) +(@CGUID+275, 35606, 1, 1, 1, -962.6509, 2670.945, 8.374104, 5.51436, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+276, 36234, 1, 1, 1, -822.3195, 2535.157, 129.9263, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+277, 36234, 1, 1, 1, -966.2604, 2384.526, 106.9352, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+278, 35815, 1, 1, 1, -831.8663, 2542.178, 107.0528, 0, 120, 0, 0), -- 35815 (Area: 607) +(@CGUID+279, 90, 1, 1, 1, -793.6752, 2586.51, 45.02648, 1.372162, 120, 0, 0), -- 90 (Area: 607) +(@CGUID+280, 36234, 1, 1, 1, -1090.747, 2344.295, 90.7797, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+281, 4656, 1, 1, 1, -1047.917, 2752.095, 119.8266, 1.839973, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+282, 35605, 1, 1, 1, -947.3047, 2708.883, 22.3786, 4.972901, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+283, 4656, 1, 1, 1, -1051.014, 2709.366, 119.1536, 0.9687101, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+284, 36234, 1, 1, 1, -1024.882, 2374.502, 93.11877, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+285, 4655, 1, 1, 1, -1154.233, 2648.846, 128.2895, 1.512155, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+286, 49835, 1, 1, 1, -1073.631, 2714.011, 119.6623, 6.163078, 120, 0, 0), -- 49835 (Area: 607) +(@CGUID+287, 35606, 1, 1, 1, -969.9828, 2592.281, 9.566353, 2.057111, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+288, 35606, 1, 1, 1, -926.1555, 2717.873, 23.20918, 1.953116, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+289, 90, 1, 1, 1, -724.8949, 2652.872, 18.51595, 4.342803, 120, 0, 0), -- 90 (Area: 607) +(@CGUID+290, 35605, 1, 1, 1, -896.873, 2713.47, 22.50549, 5.537919, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+291, 36234, 1, 1, 1, -733.882, 2547.44, 71.27704, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+292, 36234, 1, 1, 1, -725.2205, 2660.904, 56.38951, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+293, 35605, 1, 1, 1, -904.4547, 2662.552, 53.55368, 6.277266, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+294, 35606, 1, 1, 1, -926.2289, 2637.664, 29.06613, 1.330201, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+295, 35606, 1, 1, 1, -984.475, 2561.771, 6.620232, 5.056748, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+296, 35605, 1, 1, 1, -1005.113, 2563.139, 9.524234, 2.392091, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+297, 36234, 1, 1, 1, -907.467, 2362.533, 127.5386, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+298, 36234, 1, 1, 1, -787.3542, 2457.328, 88.50382, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+299, 35605, 1, 1, 1, -959.9004, 2560.861, -0.3937283, 4.511736, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+300, 35605, 1, 1, 1, -914.2032, 2601.438, 31.47804, 3.006329, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+301, 35605, 1, 1, 1, -879.9707, 2670.659, 59.09064, 2.622379, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+302, 35605, 1, 1, 1, -886.4758, 2763.611, 37.28936, 4.472395, 120, 5, 1), -- 35605 (Area: 607) (possible waypoints or random movement) +(@CGUID+303, 35606, 1, 1, 1, -939.385, 2588.222, -7.364583, 3.885869, 120, 5, 1), -- 35606 (Area: 607) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+304, 36234, 1, 1, 1, -1078.679, 2308.03, 114.9186, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+305, 4655, 1, 1, 1, -1247.993, 2704.382, 114.1957, 0.2611729, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+306, 49839, 1, 1, 1, -1293.094, 2674.401, 111.6446, 0.2386188, 120, 0, 0), -- 49839 (Area: 607) +(@CGUID+307, 4655, 1, 1, 1, -1293.453, 2672.076, 111.6446, 1.347235, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+308, 49859, 1, 1, 1, -1306.592, 2658.194, 85.49575, 2.346727, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+309, 4655, 1, 1, 1, -1318.251, 2619.925, 113.0247, 2.074196, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+310, 49859, 1, 1, 1, -1350.247, 2640.243, 81.00509, 5.396679, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+311, 4656, 1, 1, 1, -1354.46, 2667.292, 111.7824, 4.104328, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+312, 49859, 1, 1, 1, -1336.652, 2674.032, 86.11581, 2.111309, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+313, 49859, 1, 1, 1, -1356.503, 2662.796, 81.03588, 4.358916, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+314, 12241, 1, 1, 1, -1354.431, 2668.134, 81.01242, 1.796854, 120, 5, 1), -- 12241 (Area: 607) (possible waypoints or random movement) +(@CGUID+315, 49859, 1, 1, 1, -1345.063, 2712.302, 93.79794, 0.5790188, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+316, 49859, 1, 1, 1, -1361.962, 2621.461, 79.37067, 3.749648, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+317, 62185, 1, 1, 1, -1382.369, 2598.169, 111.6025, 3.224569, 120, 5, 1), -- 62185 (Area: 607) (possible waypoints or random movement) +(@CGUID+318, 11786, 1, 1, 1, -1372.747, 2588.958, 72.99884, 3.618076, 120, 0, 0), -- 11786 (Area: 607) +(@CGUID+319, 4654, 1, 1, 1, -1385.94, 2618.101, 111.6811, 0.8740631, 120, 0, 0), -- 4654 (Area: 607) +(@CGUID+320, 49859, 1, 1, 1, -1389.605, 2646.692, 75.91053, 4.315999, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+321, 49859, 1, 1, 1, -1371.83, 2651.275, 76.22249, 1.363946, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+322, 4656, 1, 1, 1, -1378.987, 2654.564, 111.6672, 5.272657, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+323, 49859, 1, 1, 1, -1390.599, 2719.273, 93.62406, 0, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+324, 49859, 1, 1, 1, -1381.241, 2648.232, 76.08523, 4.705477, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+325, 4655, 1, 1, 1, -1388.885, 2647.448, 111.6672, 5.849567, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+326, 49859, 1, 1, 1, -1377.854, 2590.221, 73.02815, 2.832218, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+327, 49859, 1, 1, 1, -1427.964, 2676.596, 77.21123, 3.561916, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+328, 49859, 1, 1, 1, -1446.525, 2656.075, 92.73587, 1.545875, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+329, 11785, 1, 1, 1, -1420.097, 2680.01, 77.36699, 1.342571, 120, 0, 0), -- 11785 (Area: 607) +(@CGUID+330, 4654, 1, 1, 1, -1367.378, 2581.888, 116.1718, 2.317843, 120, 0, 0), -- 4654 (Area: 607) +(@CGUID+331, 49859, 1, 1, 1, -1461.55, 2607.954, 75.80206, 3.012788, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+332, 62181, 1, 1, 1, -1454.072, 2695.204, 77.57622, 0.7196125, 120, 5, 1), -- 62181 (Area: 607) (possible waypoints or random movement) +(@CGUID+333, 4655, 1, 1, 1, -1376.982, 2562.419, 110.3227, 2.600255, 120, 0, 0), -- 4655 (Area: 607) +(@CGUID+334, 49859, 1, 1, 1, -1462.939, 2651.614, 92.46078, 5.872957, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+335, 49859, 1, 1, 1, -1437.847, 2610.872, 75.68787, 2.910793, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+336, 11785, 1, 1, 1, -1450.379, 2701.719, 77.94569, 3.941301, 120, 0, 0), -- 11785 (Area: 607) +(@CGUID+337, 4693, 1, 1, 1, -1306.806, 2547.976, 216.5904, 3.751956, 120, 0, 0), -- 4693 (Area: 607) +(@CGUID+338, 36234, 1, 1, 1, -1139.806, 2247.09, 79.49025, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+339, 4656, 1, 1, 1, -1401.041, 2459.375, 88.87505, 6.262024, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+340, 4654, 1, 1, 1, -1386.601, 2447.019, 88.6975, 2.321871, 120, 0, 0), -- 4654 (Area: 607) +(@CGUID+341, 36234, 1, 1, 1, -1195.62, 2174.719, 91.68385, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+342, 50481, 1, 1, 1, -1386.746, 2437.087, 88.93837, 4.813248, 120, 5, 1), -- 50481 (Area: 607) (possible waypoints or random movement) +(@CGUID+343, 36234, 1, 1, 1, -1147.738, 2203.273, 122.4217, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+344, 4729, 1, 1, 1, -1441.591, 2391.358, 91.74457, 2.475734, 120, 0, 0), -- 4729 (Area: 607) +(@CGUID+345, 36234, 1, 1, 1, -1088.337, 2223.49, 124.8831, 0, 120, 0, 0), -- 36234 (Area: 607) +(@CGUID+346, 62185, 1, 1, 1, -1316.775, 2385.701, 92.01334, 1.554724, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+347, 4729, 1, 1, 1, -1347.777, 2365.407, 91.994, 2.076435, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+348, 49839, 1, 1, 1, -1400.036, 2331.513, 92.4313, 2.168555, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+349, 49835, 1, 1, 1, -1445.559, 2321.107, 92.32118, 4.987856, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+350, 4692, 1, 1, 1, -1528.829, 2468.568, 114.5592, 6.252921, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+351, 4726, 1, 1, 1, -1525.271, 2388.173, 92.23025, 5.159218, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+352, 4693, 1, 1, 1, -1478.831, 2596.169, 232.9391, 0.7853982, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+353, 49859, 1, 1, 1, -1444.852, 2588.734, 75.31918, 0, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+354, 62181, 1, 1, 1, -1497.541, 2667.567, 92.17489, 0.02413091, 120, 5, 1), -- 62181 (Area: 607) (possible waypoints or random movement) +(@CGUID+355, 49859, 1, 1, 1, -1469.749, 2693.565, 77.43488, 2.883314, 120, 5, 1), -- 49859 (Area: 0) (possible waypoints or random movement) +(@CGUID+356, 49859, 1, 1, 1, -1544.528, 2684.109, 92.85198, 2.713217, 120, 5, 1), -- 49859 (Area: 0) (possible waypoints or random movement) +(@CGUID+357, 4656, 1, 1, 1, -1478.511, 2714.226, 112.1942, 2.352645, 120, 0, 0), -- 4656 (Area: 0) +(@CGUID+358, 49859, 1, 1, 1, -1512.176, 2715.014, 88.49299, 3.278708, 120, 5, 1), -- 49859 (Area: 0) (possible waypoints or random movement) +(@CGUID+359, 11785, 1, 1, 1, -1542.884, 2680.731, 92.84886, 0.6925203, 120, 0, 0), -- 11785 (Area: 0) +(@CGUID+360, 49859, 1, 1, 1, -1556.885, 2688.312, 92.5276, 6.2376, 120, 5, 1), -- 49859 (Area: 0) (possible waypoints or random movement) +(@CGUID+361, 4693, 1, 1, 1, -1567.802, 2624.036, 243.7254, 3.75696, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+362, 49859, 1, 1, 1, -1410.55, 2695.291, 93.01042, 1.64154, 120, 5, 1), -- 49859 (Area: 0) (possible waypoints or random movement) +(@CGUID+363, 11782, 1, 1, 1, -1548.768, 2738.542, 89.05163, 4.237563, 120, 0, 0), -- 11782 (Area: 0) (Auras: 3417 - 3417) +(@CGUID+364, 49859, 1, 1, 1, -1536.399, 2721.651, 88.60014, 1.54296, 120, 5, 1), -- 49859 (Area: 0) (possible waypoints or random movement) +(@CGUID+365, 11786, 1, 1, 1, -1577.698, 2746.891, 93.83505, 6.029032, 120, 0, 0), -- 11786 (Area: 0) +(@CGUID+366, 11786, 1, 1, 1, -1377.153, 2701.133, 93.2972, 1.851757, 120, 0, 0), -- 11786 (Area: 607) +(@CGUID+367, 4656, 1, 1, 1, -1376.041, 2773.959, 112.5562, 6.158538, 120, 0, 0), -- 4656 (Area: 607) +(@CGUID+368, 11782, 1, 1, 1, -1477.772, 2849.952, 93.41956, 4.726863, 120, 0, 0), -- 11782 (Area: 607) (Auras: 3417 - 3417) +(@CGUID+369, 11786, 1, 1, 1, -1318.122, 2651.065, 85.39691, 1.570796, 120, 0, 0), -- 11786 (Area: 607) +(@CGUID+370, 11782, 1, 1, 1, -1389.827, 2643.614, 76.02177, 3.647738, 120, 0, 0), -- 11782 (Area: 607) (Auras: 3417 - 3417) +(@CGUID+371, 49859, 1, 1, 1, -1315.889, 2654.182, 85.43024, 0, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+372, 11685, 1, 1, 1, -1424.218, 2953.162, 134.4142, 1.204277, 120, 0, 0), -- 11685 (Area: 607) +(@CGUID+373, 49859, 1, 1, 1, -1437.501, 2934.135, 94.40587, 0.9126542, 120, 5, 1), -- 49859 (Area: 607) (possible waypoints or random movement) +(@CGUID+374, 11687, 1, 1, 1, -1441.226, 2947.514, 95.22713, 1.397653, 120, 0, 0), -- 11687 (Area: 607) (Auras: ) +(@CGUID+375, 4076, 1, 1, 1, -1447.012, 2970.079, 124.0602, 1.782925, 120, 0, 0), -- 4076 (Area: 607) +(@CGUID+376, 11686, 1, 1, 1, -1437.351, 2971.872, 124.2127, 6.225376, 120, 0, 0), -- 11686 (Area: 607) +(@CGUID+377, 11686, 1, 1, 1, -1445.612, 2988.257, 114.888, 5.921187, 120, 0, 0), -- 11686 (Area: 607) +(@CGUID+378, 11686, 1, 1, 1, -1431.39, 2984.187, 133.0448, 2.259126, 120, 0, 0), -- 11686 (Area: 607) +(@CGUID+379, 4076, 1, 1, 1, -1435.681, 3004.814, 115.3623, 4.644078, 120, 0, 0), -- 4076 (Area: 607) +(@CGUID+380, 4075, 1, 1, 1, -1446.714, 2986.931, 114.7985, 3.032376, 120, 0, 0), -- 4075 (Area: 607) +(@CGUID+381, 36196, 1, 1, 1, -1434.872, 3007.103, 115.5206, 3.682645, 120, 0, 0), -- 36196 (Area: 607) +(@CGUID+382, 11786, 1, 1, 1, -1509.701, 2900.695, 92.97562, 0.3839724, 120, 0, 0), -- 11786 (Area: 607) +(@CGUID+383, 49859, 1, 1, 1, -1505.046, 2880.245, 92.42897, 1.44783, 120, 5, 1), -- 49859 (Area: 6514) (possible waypoints or random movement) +(@CGUID+384, 11785, 1, 1, 1, -1512.503, 2875.342, 92.3526, 2.549025, 120, 0, 0), -- 11785 (Area: 6514) +(@CGUID+385, 62182, 1, 1, 1, -1226.706, 3003.839, 73.60913, 0.1426681, 120, 5, 1), -- 62182 (Area: 6514) (possible waypoints or random movement) +(@CGUID+386, 11787, 1, 1, 1, -1226.438, 3004.462, 73.66669, 1.721293, 120, 0, 0), -- 11787 (Area: 6514) +(@CGUID+387, 62182, 1, 1, 1, -1196.178, 3011.037, 83.73537, 5.835802, 120, 5, 1), -- 62182 (Area: 6514) (possible waypoints or random movement) +(@CGUID+388, 11777, 1, 1, 1, -1197.268, 3016.813, 84.72742, 5.757215, 120, 0, 0), -- 11777 (Area: 6514) +(@CGUID+389, 62182, 1, 1, 1, -1153.222, 3024.299, 88.74651, 2.373072, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+390, 11778, 1, 1, 1, -1177.604, 3029.565, 89.15698, 5.940022, 120, 0, 0), -- 11778 (Area: 6514) +(@CGUID+391, 62182, 1, 1, 1, -1173.474, 3035.363, 89.2486, 3.591028, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+392, 11778, 1, 1, 1, -1149.549, 3027.433, 89.01727, 3.875542, 120, 0, 0), -- 11778 (Area: 6514) +(@CGUID+393, 11788, 1, 1, 1, -1205.622, 3034.787, 90.0239, 4.362929, 120, 0, 0), -- 11788 (Area: 6514) +(@CGUID+394, 62182, 1, 1, 1, -1193.835, 3036.704, 89.28545, 0.4662723, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+395, 11777, 1, 1, 1, -1167.577, 3039.432, 89.31298, 5.658489, 120, 0, 0), -- 11777 (Area: 6514) +(@CGUID+396, 62182, 1, 1, 1, -1196.156, 3020.188, 85.36652, 1.23148, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+397, 62182, 1, 1, 1, -1143.387, 3033.968, 89.22608, 5.758956, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+398, 62182, 1, 1, 1, -1161.55, 3048.794, 89.42274, 5.26283, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+399, 62182, 1, 1, 1, -1246.533, 3043.235, 89.27171, 1.63021, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+400, 62182, 1, 1, 1, -1151.135, 3044.886, 89.47744, 3.295309, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+401, 62182, 1, 1, 1, -1261.971, 3037.92, 89.2445, 1.756237, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+402, 62182, 1, 1, 1, -1255.009, 3042.574, 89.29187, 1.019006, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+403, 11778, 1, 1, 1, -1256.138, 3039.874, 89.25393, 5.706897, 120, 0, 0), -- 11778 (Area: 6514) +(@CGUID+404, 62182, 1, 1, 1, -1266.923, 3033.849, 89.15784, 2.234571, 120, 0, 0), -- 62182 (Area: 6514) +(@CGUID+405, 11786, 1, 1, 1, -1546.223, 2773.902, 90.9912, 1.604595, 120, 0, 0), -- 11786 (Area: 6514) +(@CGUID+406, 11785, 1, 1, 1, -1537.56, 2718.927, 88.3996, 2.163656, 120, 0, 0), -- 11785 (Area: 6514) +(@CGUID+407, 49859, 1, 1, 1, -1583.674, 2743.837, 93.78313, 2.676751, 120, 5, 1), -- 49859 (Area: 6514) (possible waypoints or random movement) +(@CGUID+408, 49859, 1, 1, 1, -1595.601, 2695.44, 92.60385, 3.934192, 120, 5, 1), -- 49859 (Area: 6514) (possible waypoints or random movement) +(@CGUID+409, 62181, 1, 1, 1, -1600.072, 2708.633, 93.17071, 1.572385, 120, 5, 1), -- 62181 (Area: 6514) (possible waypoints or random movement) +(@CGUID+410, 62181, 1, 1, 1, -1605.546, 2719.248, 93.45144, 6.029954, 120, 5, 1), -- 62181 (Area: 6514) (possible waypoints or random movement) +(@CGUID+411, 11786, 1, 1, 1, -1602.479, 2702.895, 93.12164, 1.175403, 120, 0, 0), -- 11786 (Area: 6514) +(@CGUID+412, 11785, 1, 1, 1, -1595.922, 2703.983, 89.9968, 3.001966, 120, 0, 0), -- 11785 (Area: 6514) +(@CGUID+413, 62181, 1, 1, 1, -1603.061, 2735.141, 93.66278, 4.323298, 120, 5, 1), -- 62181 (Area: 6514) (possible waypoints or random movement) +(@CGUID+414, 49859, 1, 1, 1, -1454.171, 2645.098, 92.36868, 1.859844, 120, 5, 1), -- 49859 (Area: 6514) (possible waypoints or random movement) +(@CGUID+415, 11785, 1, 1, 1, -1458.048, 2644.168, 92.39368, 0.4754703, 120, 0, 0), -- 11785 (Area: 6514) +(@CGUID+416, 11785, 1, 1, 1, -1388.562, 2663.158, 76.44254, 5.640499, 120, 0, 0), -- 11785 (Area: 6514) +(@CGUID+417, 11786, 1, 1, 1, -1449.805, 2589.268, 75.28835, 3.331476, 120, 0, 0), -- 11786 (Area: 6514) (Auras: ) +(@CGUID+418, 11786, 1, 1, 1, -1409.51, 2707.667, 93.51408, 3.604088, 120, 0, 0), -- 11786 (Area: 6514) (Auras: ) +(@CGUID+419, 49859, 1, 1, 1, -1406.841, 2712.825, 93.43626, 4.035535, 120, 5, 1), -- 49859 (Area: 6514) (possible waypoints or random movement) +(@CGUID+420, 11782, 1, 1, 1, -1353.485, 2706.207, 93.9287, 3.59523, 120, 0, 0), -- 11782 (Area: 6514) (Auras: 3417 - 3417) +(@CGUID+421, 4693, 1, 1, 1, -1643.064, 2698.151, 243.1793, 3.243251, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+422, 36378, 1, 1, 1, -1680.59, 2597.194, 136.695, 3.752458, 120, 0, 0), -- 36378 (Area: 0) +(@CGUID+423, 35481, 1, 1, 1, -1696.844, 2580.55, 136.6082, 6.021386, 120, 0, 0), -- 35481 (Area: 0) +(@CGUID+424, 36329, 1, 1, 1, -1682.778, 2583.622, 136.7086, 2.687807, 120, 0, 0), -- 36329 (Area: 0) +(@CGUID+425, 62186, 1, 1, 1, -1773.485, 2533.244, 75.02019, 2.065002, 120, 5, 1), -- 62186 (Area: 4798) (possible waypoints or random movement) +(@CGUID+426, 51511, 1, 1, 1, -1690.892, 2603.504, 134.8348, 0, 120, 0, 0), -- 51511 (Area: 4798) (Auras: ) +(@CGUID+427, 51511, 1, 1, 1, -1693.802, 2571.387, 136.4094, 2.764532, 120, 0, 0), -- 51511 (Area: 4798) (Auras: ) +(@CGUID+428, 4726, 1, 1, 1, -1832.813, 2503.125, 63.04424, 4.712389, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+429, 61366, 1, 1, 1, -1839.575, 2487.447, 62.30998, 0.005093829, 120, 5, 1), -- 61366 (Area: 0) (possible waypoints or random movement) +(@CGUID+430, 62186, 1, 1, 1, -1948.621, 2520.294, 61.71291, 1.755365, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+431, 4646, 1, 1, 1, -1917.99, 2588.654, 61.69701, 1.743594, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+432, 4648, 1, 1, 1, -1977.57, 2615.473, 61.56786, 1.442243, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+433, 4646, 1, 1, 1, -1977.822, 2521.78, 62.09572, 0.2194026, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+434, 4646, 1, 1, 1, -1988.917, 2557.367, 61.6484, 5.586967, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+435, 4648, 1, 1, 1, -1987.048, 2594.298, 61.73177, 0.714749, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+436, 4726, 1, 1, 1, -1846.928, 2435.404, 68.6341, 1.028869, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+437, 4726, 1, 1, 1, -1761.705, 2435.481, 91.10561, 1.596182, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+438, 4692, 1, 1, 1, -1649.108, 2419.279, 93.25985, 6.003434, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+439, 4726, 1, 1, 1, -1691.928, 2368.75, 83.01927, 3.141593, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+440, 49835, 1, 1, 1, -1627.82, 2390.308, 92.48495, 2.729827, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+441, 4697, 1, 1, 1, -1618.099, 2378.458, 93.12986, 1.516831, 120, 0, 0), -- 4697 (Area: 0) +(@CGUID+442, 49839, 1, 1, 1, -1637.517, 2323.145, 89.76749, 2.818916, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+443, 4726, 1, 1, 1, -1577.468, 2347.018, 93.23804, 3.673736, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+444, 4726, 1, 1, 1, -1610.297, 2312.773, 92.43116, 6.183382, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+445, 49835, 1, 1, 1, -1554.547, 2338.664, 93.01443, 6.035988, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+446, 35592, 1, 1, 1, -1771.95, 1982.66, 163.7633, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+447, 4726, 1, 1, 1, -1656.629, 2269.266, 81.08052, 2.621114, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+448, 35592, 1, 1, 1, -1847.684, 2037.8, 119.2221, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+449, 4697, 1, 1, 1, -1703.896, 2319.367, 76.8067, 0.6767244, 120, 0, 0), -- 4697 (Area: 0) +(@CGUID+450, 35592, 1, 1, 1, -1866.63, 2007.82, 135.1303, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+451, 35592, 1, 1, 1, -1935.457, 2063.59, 178.0473, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+452, 35592, 1, 1, 1, -1745.252, 1940.33, 122.1073, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+453, 50481, 1, 1, 1, -1746.394, 2266.179, 66.45039, 1.720567, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+454, 4692, 1, 1, 1, -1804.923, 2381.42, 104.1619, 0.9567903, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+455, 35592, 1, 1, 1, -2065.701, 2077.278, 143.953, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+456, 4075, 1, 1, 1, -1907.125, 2377.785, 60.46029, 5.143672, 120, 0, 0), -- 4075 (Area: 0) +(@CGUID+457, 49839, 1, 1, 1, -1874.136, 2286.207, 61.14852, 6.04673, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+458, 4646, 1, 1, 1, -1946.299, 2458.898, 59.90059, 1.441312, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+459, 4646, 1, 1, 1, -1973.268, 2481.885, 61.2863, 4.951663, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+460, 4646, 1, 1, 1, -1986.501, 2419.272, 61.48386, 6.169672, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+461, 4648, 1, 1, 1, -2016.278, 2518.217, 61.36483, 2.719897, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+462, 4648, 1, 1, 1, -2008.741, 2557.739, 61.81393, 4.175165, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+463, 4646, 1, 1, 1, -2007.344, 2474.4, 61.18012, 4.130845, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+464, 4651, 1, 1, 1, -2001.208, 2500.456, 62.5057, 1.717291, 120, 0, 0), -- 4651 (Area: 0) +(@CGUID+465, 4648, 1, 1, 1, -2016.782, 2385.218, 60.9531, 0.8883086, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+466, 50481, 1, 1, 1, -2038.875, 2458.661, 61.7058, 2.760792, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+467, 36181, 1, 1, 1, -2020.627, 2353.818, 60.22473, 2.443461, 120, 0, 0), -- 36181 (Area: 0) +(@CGUID+468, 62187, 1, 1, 1, -2016.966, 2318.365, 57.40395, 3.297909, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+469, 35592, 1, 1, 1, -2087.531, 1988.608, 180.0342, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+470, 62186, 1, 1, 1, -2026.744, 2307.401, 60.77365, 0.2852794, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+471, 4651, 1, 1, 1, -2049.3, 2362.423, 61.54367, 5.694826, 120, 0, 0), -- 4651 (Area: 0) +(@CGUID+472, 4646, 1, 1, 1, -2082.033, 2351.942, 61.27596, 2.066009, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+473, 4727, 1, 1, 1, -2060.107, 2278.984, 68.45313, 6.045781, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+474, 4648, 1, 1, 1, -2097.154, 2312.979, 61.30297, 5.820226, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+475, 4648, 1, 1, 1, -2082.18, 2418.069, 61.66243, 4.669564, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+476, 4648, 1, 1, 1, -2043.31, 2444.346, 62.51406, 1.924353, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+477, 50481, 1, 1, 1, -2108.871, 2413.655, 62.38423, 5.005717, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+478, 4646, 1, 1, 1, -2096.135, 2478.169, 17.45585, 5.399725, 120, 0, 0), -- 4646 (Area: 0) +(@CGUID+479, 4648, 1, 1, 1, -2109.703, 2422.828, 62.80525, 0.8276653, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+480, 4651, 1, 1, 1, -2028.749, 2579.519, 61.96813, 3.091314, 120, 0, 0), -- 4651 (Area: 0) +(@CGUID+481, 49835, 1, 1, 1, -2087.702, 2571.166, 17.2631, 1.601746, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+482, 4648, 1, 1, 1, -2120.567, 2568.457, 22.42689, 1.68484, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+483, 4648, 1, 1, 1, -2073.302, 2557.076, 17.49407, 0.01363552, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+484, 4648, 1, 1, 1, -2050.214, 2621.126, 61.98958, 3.380822, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+485, 4648, 1, 1, 1, -2019.535, 2617.277, 61.68937, 6.048867, 120, 0, 0), -- 4648 (Area: 0) +(@CGUID+486, 50481, 1, 1, 1, -2049.387, 2633.783, 62.33909, 0.3211929, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+487, 4648, 1, 1, 1, -2049.603, 2649.565, 62.46409, 5.768359, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+488, 4648, 1, 1, 1, -2083.316, 2642.366, 60.80191, 3.757318, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+489, 4646, 1, 1, 1, -2052.631, 2687.597, 61.15904, 2.181855, 120, 0, 0), -- 4646 (Area: 606) +(@CGUID+490, 4648, 1, 1, 1, -2085.982, 2673.858, 60.25239, 5.958844, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+491, 4648, 1, 1, 1, -2113.5, 2648.066, 61.6334, 0.9241385, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+492, 4648, 1, 1, 1, -2122.562, 2685.055, 61.44665, 3.40056, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+493, 4651, 1, 1, 1, -2156.574, 2681.655, 61.12201, 6.251153, 120, 0, 0), -- 4651 (Area: 606) +(@CGUID+494, 4646, 1, 1, 1, -2114.072, 2616.106, 61.00015, 4.967719, 120, 0, 0), -- 4646 (Area: 606) +(@CGUID+495, 4648, 1, 1, 1, -2191.722, 2644.09, 60.67603, 3.741181, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+496, 4648, 1, 1, 1, -2154.131, 2604.408, 20.4918, 4.645951, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+497, 49839, 1, 1, 1, -2246.714, 2673.174, 60.45445, 5.791935, 120, 0, 0), -- 49839 (Area: 606) +(@CGUID+498, 4648, 1, 1, 1, -2247.717, 2646.439, 62.31348, 6.269902, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+499, 4648, 1, 1, 1, -2217.936, 2653.424, 61.96688, 2.438981, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+500, 4646, 1, 1, 1, -2210.07, 2675.056, 61.06348, 4.86163, 120, 0, 0), -- 4646 (Area: 606) +(@CGUID+501, 4651, 1, 1, 1, -2227.21, 2667.04, 60.93848, 3.844543, 120, 0, 0), -- 4651 (Area: 606) +(@CGUID+502, 4648, 1, 1, 1, -2257.514, 2681.36, 61.68848, 2.010431, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+503, 4653, 1, 1, 1, -2277.779, 2667.604, 60.31348, 5.947723, 120, 0, 0), -- 4653 (Area: 606) +(@CGUID+504, 4653, 1, 1, 1, -2265.317, 2600.649, 61.92347, 5.378819, 120, 0, 0), -- 4653 (Area: 606) +(@CGUID+505, 4648, 1, 1, 1, -2256.068, 2625.121, 61.44534, 4.821968, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+506, 4648, 1, 1, 1, -2290.434, 2609.619, 60.31348, 0.9509707, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+507, 36183, 1, 1, 1, -2316.417, 2632.13, 60.30516, 0, 120, 0, 0), -- 36183 (Area: 606) +(@CGUID+508, 4648, 1, 1, 1, -2293.483, 2654.531, 60.78296, 1.368439, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+509, 4646, 1, 1, 1, -2230.02, 2559.011, 18.99273, 5.821286, 120, 0, 0), -- 4646 (Area: 606) +(@CGUID+510, 4648, 1, 1, 1, -2267.744, 2505.149, 73.56123, 2.878793, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+511, 49839, 1, 1, 1, -2237.242, 2473.426, 25.92448, 3.115232, 120, 0, 0), -- 49839 (Area: 606) +(@CGUID+512, 4651, 1, 1, 1, -2185.164, 2531.78, 72.13188, 3.280832, 120, 0, 0), -- 4651 (Area: 606) +(@CGUID+513, 4648, 1, 1, 1, -2307.605, 2482.695, 71.84468, 5.854595, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+514, 4651, 1, 1, 1, -2296.856, 2492.245, 72.37817, 0.5099131, 120, 0, 0), -- 4651 (Area: 606) (Auras: ) +(@CGUID+515, 4648, 1, 1, 1, -2232.785, 2486.799, 21.53614, 5.111385, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+516, 4651, 1, 1, 1, -2132.889, 2524.209, 49.49381, 6.057631, 120, 0, 0), -- 4651 (Area: 606) +(@CGUID+517, 4648, 1, 1, 1, -2194.705, 2472.631, 20.79142, 5.544785, 120, 0, 0), -- 4648 (Area: 606) +(@CGUID+518, 4646, 1, 1, 1, -2178.952, 2405.667, 59.88778, 4.512694, 120, 0, 0), -- 4646 (Area: 606) +(@CGUID+519, 4651, 1, 1, 1, -2150.521, 2405.729, 61.13301, 3.193881, 120, 0, 0), -- 4651 (Area: 606) +(@CGUID+520, 4646, 1, 1, 1, -2271.489, 2437.067, 77.79186, 5.513109, 120, 0, 0), -- 4646 (Area: 606) +(@CGUID+521, 4651, 1, 1, 1, -2300.262, 2426.951, 67.93057, 0.6489727, 120, 0, 0), -- 4651 (Area: 606) +(@CGUID+522, 4653, 1, 1, 1, -2295.232, 2422.701, 68.46229, 1.007843, 120, 0, 0), -- 4653 (Area: 606) +(@CGUID+523, 61366, 1, 1, 1, -2360.627, 2496.77, 70.17343, 4.639237, 120, 5, 1), -- 61366 (Area: 606) (possible waypoints or random movement) +(@CGUID+524, 4075, 1, 1, 1, -2306.188, 2424.426, 67.8381, 2.641856, 120, 0, 0), -- 4075 (Area: 606) +(@CGUID+525, 4076, 1, 1, 1, -2355.057, 2476.79, 70.87483, 1.072849, 120, 0, 0), -- 4076 (Area: 606) +(@CGUID+526, 4651, 1, 1, 1, -2352.249, 2487.901, 70.74572, 0.996187, 120, 0, 0), -- 4651 (Area: 606) +(@CGUID+527, 4653, 1, 1, 1, -2360.56, 2483.88, 70.93047, 3.349777, 120, 0, 0), -- 4653 (Area: 606) +(@CGUID+528, 4648, 1, 1, 1, -2412.721, 2508.524, 66.79144, 4.277421, 120, 0, 0), -- 4648 (Area: 600) +(@CGUID+529, 4653, 1, 1, 1, -2411.512, 2486.33, 83.45135, 4.234139, 120, 0, 0), -- 4653 (Area: 600) +(@CGUID+530, 4076, 1, 1, 1, -2344.408, 2412.236, 75.994, 5.81027, 120, 0, 0), -- 4076 (Area: 600) +(@CGUID+531, 4651, 1, 1, 1, -2371.211, 2469.754, 75.26415, 0.7855842, 120, 0, 0), -- 4651 (Area: 600) +(@CGUID+532, 4651, 1, 1, 1, -2333.122, 2415.333, 75.56719, 0.8895844, 120, 0, 0), -- 4651 (Area: 600) +(@CGUID+533, 4075, 1, 1, 1, -2401.39, 2463.183, 75.26691, 1.517457, 120, 0, 0), -- 4075 (Area: 600) +(@CGUID+534, 4653, 1, 1, 1, -2365.729, 2438.09, 77.06832, 5.780486, 120, 0, 0), -- 4653 (Area: 600) +(@CGUID+535, 4076, 1, 1, 1, -2406.639, 2486.988, 83.83433, 4.001963, 120, 0, 0), -- 4076 (Area: 600) +(@CGUID+536, 4653, 1, 1, 1, -2403.138, 2487.471, 84.17888, 0.7653269, 120, 0, 0), -- 4653 (Area: 600) +(@CGUID+537, 4648, 1, 1, 1, -2368.513, 2515.451, 70.93074, 2.044793, 120, 0, 0), -- 4648 (Area: 600) +(@CGUID+538, 4653, 1, 1, 1, -2369.747, 2426.708, 77.25777, 4.576177, 120, 0, 0), -- 4653 (Area: 600) +(@CGUID+539, 4075, 1, 1, 1, -2409.227, 2506.841, 66.67146, 4.208958, 120, 0, 0), -- 4075 (Area: 600) +(@CGUID+540, 4075, 1, 1, 1, -2418.593, 2488.037, 83.44288, 2.301379, 120, 0, 0), -- 4075 (Area: 600) +(@CGUID+541, 4076, 1, 1, 1, -2399.916, 2426.027, 74.9399, 4.912981, 120, 0, 0), -- 4076 (Area: 600) +(@CGUID+542, 4651, 1, 1, 1, -2411.524, 2526.791, 80.26364, 0.09442937, 120, 0, 0), -- 4651 (Area: 600) +(@CGUID+543, 4651, 1, 1, 1, -2422.872, 2491.623, 83.84402, 3.928679, 120, 0, 0), -- 4651 (Area: 600) +(@CGUID+544, 4651, 1, 1, 1, -2444.719, 2497.428, 67.57265, 3.555431, 120, 0, 0), -- 4651 (Area: 600) +(@CGUID+545, 4651, 1, 1, 1, -2458.429, 2525.117, 83.30061, 3.194498, 120, 0, 0), -- 4651 (Area: 600) +(@CGUID+546, 4651, 1, 1, 1, -2465.248, 2498.598, 83.72019, 4.645133, 120, 0, 0), -- 4651 (Area: 600) +(@CGUID+547, 61366, 1, 1, 1, -2412.722, 2417.61, 75.0377, 4.324029, 120, 5, 1), -- 61366 (Area: 600) (possible waypoints or random movement) +(@CGUID+548, 4076, 1, 1, 1, -2454.666, 2519.372, 83.30381, 1.521042, 120, 0, 0), -- 4076 (Area: 600) +(@CGUID+549, 36185, 1, 1, 1, -2410.462, 2412.191, 75.43992, 1.32645, 120, 0, 0), -- 36185 (Area: 600) (Auras: 7165 - 7165) +(@CGUID+550, 49839, 1, 1, 1, -2188.454, 2387.225, 55.66335, 1.782004, 120, 0, 0), -- 49839 (Area: 606) +(@CGUID+551, 4646, 1, 1, 1, -2122.749, 2374.19, 61.28975, 6.002481, 120, 0, 0), -- 4646 (Area: 606) +(@CGUID+552, 49839, 1, 1, 1, -2114.36, 2320.661, 62.22152, 6.245639, 120, 0, 0), -- 49839 (Area: 606) +(@CGUID+553, 49835, 1, 1, 1, -2118.416, 2283.335, 61.81715, 4.639589, 120, 5, 1), -- 49835 (Area: 606) (possible waypoints or random movement) +(@CGUID+554, 13717, 1, 1, 1, -2135.151, 2205.859, 65.04178, 1.267271, 120, 0, 0), -- 13717 (Area: 0) +(@CGUID+555, 50481, 1, 1, 1, -2188.673, 2204.181, 89.37219, 1.721812, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+556, 35592, 1, 1, 1, -2125.384, 1862.141, 151.3958, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+557, 4727, 1, 1, 1, -2201.126, 2226.729, 89.10177, 3.396561, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+558, 4727, 1, 1, 1, -2158.861, 2175.481, 70.66626, 2.556297, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+559, 35592, 1, 1, 1, -2128.656, 1833.677, 116.9234, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+560, 4727, 1, 1, 1, -2156.98, 2120.282, 63.31778, 3.447276, 120, 0, 0), -- 4727 (Area: 602) +(@CGUID+561, 35592, 1, 1, 1, -1952.609, 1862.724, 134.7874, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+562, 35592, 1, 1, 1, -2123.479, 1793.009, 212.1895, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+563, 35592, 1, 1, 1, -2020.59, 1800.944, 157.1376, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+564, 35592, 1, 1, 1, -1812.733, 1907.856, 156.9482, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+565, 35592, 1, 1, 1, -2049.273, 1759.127, 161.6407, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+566, 35592, 1, 1, 1, -2059.165, 1709.424, 144.4115, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+567, 35592, 1, 1, 1, -1985.965, 1764.705, 137.259, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+568, 35592, 1, 1, 1, -1958.368, 1705.965, 155.7201, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+569, 35592, 1, 1, 1, -1913.802, 1741.799, 139.5933, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+570, 62186, 1, 1, 1, -2277.271, 1956.36, 109.8996, 0.6927378, 120, 0, 0), -- 62186 (Area: 602) +(@CGUID+571, 35592, 1, 1, 1, -1890.684, 1722.816, 133.0169, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+572, 4681, 1, 1, 1, -2119.779, 1922.399, 63.3511, 3.606108, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+573, 61366, 1, 1, 1, -2122.062, 1906.737, 63.36052, 5.919381, 120, 5, 1), -- 61366 (Area: 602) (possible waypoints or random movement) +(@CGUID+574, 35592, 1, 1, 1, -1850.104, 1741.75, 144.7382, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+575, 4681, 1, 1, 1, -2125.648, 1875.041, 63.96492, 5.469779, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+576, 4679, 1, 1, 1, -2086.021, 1902.971, 69.43431, 1.973595, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+577, 35591, 1, 1, 1, -2112.396, 1849.297, 60.01241, 2.326487, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+578, 4679, 1, 1, 1, -2056.831, 1933, 69.2166, 4.144757, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+579, 4679, 1, 1, 1, -2091.968, 1865.899, 66.87366, 3.329517, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+580, 4677, 1, 1, 1, -2065.164, 1894.411, 67.31783, 3.858035, 120, 5, 1), -- 4677 (Area: 602) (possible waypoints or random movement) +(@CGUID+581, 4679, 1, 1, 1, -2057.135, 1872.928, 69.4011, 0.6697953, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+582, 35592, 1, 1, 1, -1772.286, 1742.281, 146.9181, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+583, 4677, 1, 1, 1, -2040.111, 1891.366, 69.23012, 3.301544, 120, 5, 1), -- 4677 (Area: 602) (possible waypoints or random movement) +(@CGUID+584, 35592, 1, 1, 1, -1843.681, 1630.092, 121.4789, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+585, 4681, 1, 1, 1, -2080.041, 1813.686, 57.4246, 4.529236, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+586, 4677, 1, 1, 1, -2029.696, 1924.463, 70.47371, 5.323744, 120, 5, 1), -- 4677 (Area: 602) (possible waypoints or random movement) +(@CGUID+587, 50481, 1, 1, 1, -2085.956, 1818.498, 57.15755, 4.084995, 120, 5, 1), -- 50481 (Area: 602) (possible waypoints or random movement) +(@CGUID+588, 4677, 1, 1, 1, -2043.613, 1868.132, 61.46272, 1.210107, 120, 5, 1), -- 4677 (Area: 602) (possible waypoints or random movement) +(@CGUID+589, 4699, 1, 1, 1, -2196.301, 1804.751, 91.12585, 3.111015, 120, 0, 0), -- 4699 (Area: 602) +(@CGUID+590, 35592, 1, 1, 1, -1708.969, 1838.436, 129.7263, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+591, 35591, 1, 1, 1, -2048.012, 1786.105, 68.74145, 5.88748, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+592, 4699, 1, 1, 1, -2139.47, 1791.396, 63.69625, 0.276714, 120, 0, 0), -- 4699 (Area: 602) +(@CGUID+593, 35592, 1, 1, 1, -1771.134, 1681.472, 144.3085, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+594, 4694, 1, 1, 1, -2052.646, 1749.405, 85.54482, 5.073674, 120, 0, 0), -- 4694 (Area: 602) +(@CGUID+595, 49835, 1, 1, 1, -2111.953, 1739.124, 59.39058, 1.061808, 120, 5, 1), -- 49835 (Area: 602) (possible waypoints or random movement) +(@CGUID+596, 35591, 1, 1, 1, -2004.353, 1814.664, 67.54459, 3.431855, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+597, 4699, 1, 1, 1, -2037.773, 1715.078, 68.09476, 0.6224064, 120, 0, 0), -- 4699 (Area: 602) +(@CGUID+598, 11578, 1, 1, 1, -2190.739, 1744.218, 85.6566, 5.596675, 120, 0, 0), -- 11578 (Area: 602) +(@CGUID+599, 4694, 1, 1, 1, -2103.852, 1684.781, 58.06184, 3.137686, 120, 0, 0), -- 4694 (Area: 602) +(@CGUID+600, 50481, 1, 1, 1, -2059.705, 1653.132, 62.02867, 2.161509, 120, 5, 1), -- 50481 (Area: 602) (possible waypoints or random movement) +(@CGUID+601, 4699, 1, 1, 1, -2145.902, 1641.659, 60.22369, 0.4536668, 120, 0, 0), -- 4699 (Area: 602) +(@CGUID+602, 62185, 1, 1, 1, -2128.414, 1610.458, 64.10181, 2.873885, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+603, 11561, 1, 1, 1, -2239.082, 1627.332, 66.13931, 1.568843, 120, 0, 0), -- 11561 (Area: 0) +(@CGUID+604, 11578, 1, 1, 1, -2110.568, 1564.117, 66.52282, 2.110546, 120, 0, 0), -- 11578 (Area: 0) +(@CGUID+605, 11561, 1, 1, 1, -2241.644, 1548.23, 62.89744, 5.654533, 120, 0, 0), -- 11561 (Area: 0) +(@CGUID+606, 11561, 1, 1, 1, -2182.262, 1545.799, 75.25352, 3.271758, 120, 0, 0), -- 11561 (Area: 0) +(@CGUID+607, 62185, 1, 1, 1, -2258.538, 1507.884, 63.83811, 1.184165, 120, 0, 0), -- 62185 (Area: 2657) +(@CGUID+608, 11561, 1, 1, 1, -2255.018, 1519.065, 63.71311, 2.508115, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+609, 4727, 1, 1, 1, -2295.192, 1615.83, 83.01406, 4.973243, 120, 0, 0), -- 4727 (Area: 2657) +(@CGUID+610, 11561, 1, 1, 1, -2270.105, 1480.61, 63.65368, 5.683526, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+611, 11561, 1, 1, 1, -2280.313, 1447.787, 63.62463, 3.805922, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+612, 1182, 1, 1, 1, -2282.217, 1443.132, 63.67144, 0, 120, 0, 0), -- 1182 (Area: 2657) (Auras: 29266 - 29266) +(@CGUID+613, 11559, 1, 1, 1, -2251.435, 1403.658, 77.90413, 2.92123, 120, 0, 0), -- 11559 (Area: 2657) +(@CGUID+614, 11561, 1, 1, 1, -2245.517, 1414.395, 80.85252, 0.6767245, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+615, 11561, 1, 1, 1, -2258.785, 1381.002, 72.27398, 0.4977105, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+616, 11559, 1, 1, 1, -2227.59, 1381.177, 82.33369, 3.630285, 120, 0, 0), -- 11559 (Area: 2657) +(@CGUID+617, 11561, 1, 1, 1, -2286.158, 1386.757, 64.34258, 2.175045, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+618, 11561, 1, 1, 1, -2297.842, 1361.648, 63.73853, 0.5763133, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+619, 11561, 1, 1, 1, -2312.373, 1385.365, 63.63957, 1.368663, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+620, 62184, 1, 1, 1, -2304.215, 1379.563, 63.69523, 0, 120, 0, 0), -- 62184 (Area: 2657) +(@CGUID+621, 11561, 1, 1, 1, -2295.112, 1354.771, 64.09811, 2.789298, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+622, 11559, 1, 1, 1, -2260.563, 1361.952, 67.29636, 2.677641, 120, 0, 0), -- 11559 (Area: 2657) +(@CGUID+623, 11561, 1, 1, 1, -2251.066, 1350.848, 67.16061, 0.6597968, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+624, 49835, 1, 1, 1, -2268.937, 1330.595, 63.79807, 2.605552, 120, 0, 0), -- 49835 (Area: 2657) +(@CGUID+625, 11561, 1, 1, 1, -2204.855, 1362.55, 83.22025, 3.457171, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+626, 11559, 1, 1, 1, -2303.11, 1327.967, 64.7057, 5.699383, 120, 0, 0), -- 11559 (Area: 2657) +(@CGUID+627, 11561, 1, 1, 1, -2238.345, 1317.32, 63.71311, 2.450849, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+628, 11561, 1, 1, 1, -2213.685, 1327.361, 67.74577, 1.672505, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+629, 11561, 1, 1, 1, -2192.801, 1359.217, 80.89397, 2.193534, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+630, 11561, 1, 1, 1, -2179.593, 1311.165, 63.69922, 2.024152, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+631, 11561, 1, 1, 1, -2137.917, 1294.181, 63.76274, 6.180637, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+632, 11561, 1, 1, 1, -2161.232, 1353.521, 76.35258, 6.108861, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+633, 11561, 1, 1, 1, -2108.003, 1305.561, 63.79811, 0.09331792, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+634, 11561, 1, 1, 1, -2086.932, 1346.049, 83.95084, 2.708503, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+635, 11561, 1, 1, 1, -2044.789, 1319.728, 63.9083, 6.158631, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+636, 11561, 1, 1, 1, -2023.933, 1350.255, 64.26593, 5.914201, 120, 0, 0), -- 11561 (Area: 2657) +(@CGUID+637, 11561, 1, 1, 1, -1986.367, 1353.256, 63.91631, 6.245115, 120, 0, 0), -- 11561 (Area: 0) +(@CGUID+638, 5601, 1, 1, 1, -1958.452, 1268.373, 91.69061, 1.029744, 120, 0, 0), -- 5601 (Area: 0) +(@CGUID+639, 4694, 1, 1, 1, -2018.684, 1423.864, 100.0775, 4.170965, 120, 0, 0), -- 4694 (Area: 0) +(@CGUID+640, 4644, 1, 1, 1, -1962.749, 1267.748, 91.68177, 5.393067, 120, 0, 0), -- 4644 (Area: 0) +(@CGUID+641, 35452, 1, 1, 1, -2005.186, 1242.189, 90.68607, 4.696006, 120, 0, 0), -- 35452 (Area: 0) +(@CGUID+642, 4727, 1, 1, 1, -1965.532, 1409.049, 66.77391, 3.885578, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+643, 4727, 1, 1, 1, -1901.503, 1411.536, 61.63675, 5.831759, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+644, 35592, 1, 1, 1, -1678.88, 1665.182, 121.2134, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+645, 11578, 1, 1, 1, -1912.354, 1483.598, 64.33918, 2.934046, 120, 0, 0), -- 11578 (Area: 0) +(@CGUID+646, 11578, 1, 1, 1, -1957.382, 1497.304, 64.91884, 5.382858, 120, 0, 0), -- 11578 (Area: 0) +(@CGUID+647, 62186, 1, 1, 1, -1894.332, 1485.493, 60.3131, 3.685661, 120, 0, 0), -- 62186 (Area: 0) +(@CGUID+648, 4694, 1, 1, 1, -2007.067, 1530.142, 66.8042, 4.831779, 120, 0, 0), -- 4694 (Area: 0) +(@CGUID+649, 62187, 1, 1, 1, -1947.874, 1533.422, 60.259, 2.036573, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+650, 4694, 1, 1, 1, -1961.019, 1593.469, 61.2806, 4.06441, 120, 0, 0), -- 4694 (Area: 0) +(@CGUID+651, 62187, 1, 1, 1, -1916.048, 1553.111, 60.3131, 6.082608, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+652, 11578, 1, 1, 1, -1916.108, 1537.414, 61.17139, 4.685052, 120, 0, 0), -- 11578 (Area: 0) +(@CGUID+653, 4727, 1, 1, 1, -2031.731, 1619.704, 61.13731, 0.3427611, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+654, 62187, 1, 1, 1, -1940.319, 1589.228, 60.38469, 0.3938392, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+655, 35592, 1, 1, 1, -1681.394, 1766.295, 116.8913, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+656, 35592, 1, 1, 1, -1695.361, 1817.781, 145.213, 0, 120, 0, 0), -- 35592 (Area: 0) +(@CGUID+657, 62185, 1, 1, 1, -1984.219, 1671.868, 62.08922, 0.4898425, 120, 0, 0), -- 62185 (Area: 0) +(@CGUID+658, 4694, 1, 1, 1, -1981.971, 1700.839, 63.57547, 3.997815, 120, 0, 0), -- 4694 (Area: 0) +(@CGUID+659, 35591, 1, 1, 1, -2057.881, 1791.239, 63.18179, 5.357843, 120, 0, 0), -- 35591 (Area: 0) +(@CGUID+660, 35591, 1, 1, 1, -2121.486, 1850.642, 58.25234, 2.092123, 120, 0, 0), -- 35591 (Area: 0) +(@CGUID+661, 4679, 1, 1, 1, -2001.118, 1917.891, 69.22633, 4.704426, 120, 0, 0), -- 4679 (Area: 602) +(@CGUID+662, 35592, 1, 1, 1, -1649.247, 1885.944, 110.8115, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+663, 4076, 1, 1, 1, -1984.503, 1944.932, 62.0761, 0.9735874, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+664, 4681, 1, 1, 1, -1993.126, 1986.86, 63.78842, 2.925996, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+665, 35592, 1, 1, 1, -1657.335, 1917.092, 149.4233, 0, 120, 0, 0), -- 35592 (Area: 602) +(@CGUID+666, 35591, 1, 1, 1, -1889.071, 2015.264, 64.79733, 5.874888, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+667, 4679, 1, 1, 1, -1917.805, 2053.031, 65.02613, 0.8435647, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+668, 4679, 1, 1, 1, -1878.82, 2046.271, 63.50572, 1.905003, 120, 0, 0), -- 4679 (Area: 602) +(@CGUID+669, 4076, 1, 1, 1, -1872.239, 2020.312, 63.02699, 4.303139, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+670, 62185, 1, 1, 1, -1854.702, 2226.515, 62.21454, 2.304433, 120, 0, 0), -- 62185 (Area: 602) +(@CGUID+671, 49839, 1, 1, 1, -1836.932, 2181.431, 63.15458, 1.979338, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+672, 4075, 1, 1, 1, -1828.374, 2042.722, 60.63083, 5.702742, 120, 0, 0), -- 4075 (Area: 602) +(@CGUID+673, 35591, 1, 1, 1, -1853.221, 2039.803, 62.32206, 4.890739, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+674, 4679, 1, 1, 1, -1850.473, 1957.687, 65.90271, 0.9772967, 120, 0, 0), -- 4679 (Area: 602) +(@CGUID+675, 4075, 1, 1, 1, -1803.099, 1952.251, 60.80198, 2.992948, 120, 0, 0), -- 4075 (Area: 602) +(@CGUID+676, 4668, 1, 1, 1, -1852.165, 1964.755, 64.94021, 3.209264, 120, 0, 0), -- 4668 (Area: 602) +(@CGUID+677, 4679, 1, 1, 1, -1863.092, 1972.069, 66.13612, 0.4488413, 120, 0, 0), -- 4679 (Area: 602) +(@CGUID+678, 4677, 1, 1, 1, -1766.264, 1956.819, 62.13416, 5.764539, 120, 5, 1), -- 4677 (Area: 602) (possible waypoints or random movement) +(@CGUID+679, 4076, 1, 1, 1, -1773.806, 1979.381, 61.14061, 5.541475, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+680, 4679, 1, 1, 1, -1743.489, 1985.701, 64.76446, 4.753722, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+681, 4677, 1, 1, 1, -1767.883, 1900.133, 61.41331, 2.793011, 120, 0, 0), -- 4677 (Area: 602) +(@CGUID+682, 35591, 1, 1, 1, -1748.68, 1955.363, 62.00576, 2.772314, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+683, 4076, 1, 1, 1, -1750.445, 1924.962, 59.05458, 1.546532, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+684, 4076, 1, 1, 1, -1924.579, 1839.849, 66.74821, 6.141976, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+685, 4677, 1, 1, 1, -1838.021, 1791.146, 65.14774, 0, 120, 0, 0), -- 4677 (Area: 602) +(@CGUID+686, 5760, 1, 1, 1, -1884.988, 1794.715, 68.03135, 2.391101, 120, 0, 0), -- 5760 (Area: 602) +(@CGUID+687, 5771, 1, 1, 1, -1888.49, 1792.411, 68.03135, 3.490659, 120, 0, 0), -- 5771 (Area: 602) +(@CGUID+688, 4076, 1, 1, 1, -1823.621, 1797.502, 64.50729, 6.150794, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+689, 4668, 1, 1, 1, -1907.891, 1833.53, 64.23196, 2.718116, 120, 0, 0), -- 4668 (Area: 602) +(@CGUID+690, 35591, 1, 1, 1, -1945.89, 1814.627, 66.66748, 5.017778, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+691, 4679, 1, 1, 1, -1850.269, 1771.795, 68.82689, 3.671735, 120, 0, 0), -- 4679 (Area: 602) +(@CGUID+692, 4677, 1, 1, 1, -1949.492, 1807.561, 67.00537, 2.902309, 120, 0, 0), -- 4677 (Area: 602) +(@CGUID+693, 61169, 1, 1, 1, -1872.901, 1773.658, 66.60318, 4.34587, 120, 0, 0), -- 61169 (Area: 602) +(@CGUID+694, 4076, 1, 1, 1, -1957.539, 1850.752, 63.10768, 4.859396, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+695, 4076, 1, 1, 1, -1912.012, 1711.975, 62.77044, 5.498478, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+696, 35591, 1, 1, 1, -1913.534, 1750.78, 71.11406, 0.8908606, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+697, 4681, 1, 1, 1, -1912.502, 1715.982, 62.83318, 0.9374878, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+698, 4681, 1, 1, 1, -1824.909, 1680.335, 61.88285, 1.99041, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+699, 4681, 1, 1, 1, -1879.815, 1678.053, 61.95087, 2.085639, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+700, 4076, 1, 1, 1, -1812.494, 1645.731, 61.38885, 3.440447, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+701, 4076, 1, 1, 1, -1782.909, 1683.138, 61.97443, 2.726934, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+702, 35591, 1, 1, 1, -1850.256, 1655.877, 61.29148, 1.213864, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+703, 4681, 1, 1, 1, -1807.769, 1629.155, 61.37385, 1.14548, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+704, 4677, 1, 1, 1, -1886.976, 1704.292, 61.89791, 2.243386, 120, 0, 0), -- 4677 (Area: 602) +(@CGUID+705, 14226, 1, 1, 1, -1781.926, 1680.252, 62.02069, 0.2445052, 120, 5, 1), -- 14226 (Area: 602) (possible waypoints or random movement) +(@CGUID+706, 4681, 1, 1, 1, -1739.06, 1687.522, 61.37139, 1.819326, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+707, 4677, 1, 1, 1, -1740.729, 1743.425, 65.48274, 4.157661, 120, 5, 1), -- 4677 (Area: 602) (possible waypoints or random movement) +(@CGUID+708, 4677, 1, 1, 1, -1768.508, 1793.293, 64.58503, 2.057271, 120, 5, 1), -- 4677 (Area: 602) (possible waypoints or random movement) +(@CGUID+709, 35591, 1, 1, 1, -1755.284, 1783.872, 65.81335, 1.819326, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+710, 4076, 1, 1, 1, -1695.158, 1704.031, 61.2779, 1.697731, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+711, 4075, 1, 1, 1, -1705.529, 1754.69, 60.50123, 4.007151, 120, 0, 0), -- 4075 (Area: 602) +(@CGUID+712, 4681, 1, 1, 1, -1689.585, 1703.866, 61.332, 6.189835, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+713, 4692, 1, 1, 1, -1661.097, 1624.527, 62.25686, 1.42359, 120, 0, 0), -- 4692 (Area: 602) +(@CGUID+714, 35591, 1, 1, 1, -1680.381, 1784.877, 61.59652, 4.435344, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+715, 4681, 1, 1, 1, -1701.375, 1828.963, 61.21938, 0.8508154, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+716, 4679, 1, 1, 1, -1664.45, 1794.19, 61.52733, 1.353899, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+717, 4076, 1, 1, 1, -1680.668, 1824.675, 60.24843, 2.280171, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+718, 35591, 1, 1, 1, -1710.1, 1854.704, 60.96817, 3.507376, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+719, 4681, 1, 1, 1, -1603.426, 1837.984, 61.80447, 3.97061, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+720, 35591, 1, 1, 1, -1653.326, 1882.021, 61.54723, 3.400871, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+721, 4679, 1, 1, 1, -1726.876, 1881.607, 62.21149, 3.583762, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+722, 61366, 1, 1, 1, -1692.888, 1913.577, 61.06365, 1.464242, 120, 5, 1), -- 61366 (Area: 602) (possible waypoints or random movement) +(@CGUID+723, 4681, 1, 1, 1, -1728.492, 1958.528, 62.11233, 4.658186, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+724, 35591, 1, 1, 1, -1656.552, 1949.464, 62.15539, 3.129797, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+725, 4679, 1, 1, 1, -1653.397, 1925.737, 63.56097, 3.705419, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+726, 62184, 1, 1, 1, -1637.355, 1983.794, 60.97968, 6.066316, 120, 5, 1), -- 62184 (Area: 602) (possible waypoints or random movement) +(@CGUID+727, 4681, 1, 1, 1, -1607.127, 1921.904, 62.51115, 4.058496, 120, 0, 0), -- 4681 (Area: 602) +(@CGUID+728, 4679, 1, 1, 1, -1684.981, 1977.773, 63.78426, 0.472747, 120, 5, 1), -- 4679 (Area: 602) (possible waypoints or random movement) +(@CGUID+729, 4076, 1, 1, 1, -1681.506, 2011.391, 60.33963, 4.344593, 120, 0, 0), -- 4076 (Area: 602) +(@CGUID+730, 49835, 1, 1, 1, -1611.465, 1972.308, 61.10468, 4.825181, 120, 5, 1), -- 49835 (Area: 602) (possible waypoints or random movement) +(@CGUID+731, 4668, 1, 1, 1, -1732.531, 1999.631, 63.9528, 4.135967, 120, 0, 0), -- 4668 (Area: 602) +(@CGUID+732, 4676, 1, 1, 1, -1748.228, 1951.626, 62.11363, 4.537856, 120, 5, 1), -- 35591 (Area: 602) (possible waypoints or random movement) +(@CGUID+733, 4692, 1, 1, 1, -1646.214, 2140.043, 131.1122, 1.400448, 120, 0, 0), -- 4692 (Area: 602) +(@CGUID+734, 4692, 1, 1, 1, -1672.916, 2190.079, 118.6018, 1.570796, 120, 0, 0), -- 4692 (Area: 602) +(@CGUID+735, 11576, 1, 1, 1, -1747.677, 2217.219, 64.83843, 0.01855256, 120, 0, 0), -- 11576 (Area: 602) +(@CGUID+736, 4726, 1, 1, 1, -1581.951, 1998.305, 61.29276, 4.666204, 120, 0, 0), -- 4726 (Area: 602) +(@CGUID+737, 35591, 1, 1, 1, -1657.326, 1900.233, 61.76004, 3.893141, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+738, 35591, 1, 1, 1, -1757.226, 1789.979, 64.70238, 2.372728, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+739, 35591, 1, 1, 1, -1688.926, 1688.509, 62.27817, 2.667531, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+740, 4727, 1, 1, 1, -1680.247, 1586.645, 62.0857, 1.53354, 120, 0, 0), -- 4727 (Area: 602) +(@CGUID+741, 4728, 1, 1, 1, -1622.86, 1653.153, 65.78609, 0.4636476, 120, 0, 0), -- 4728 (Area: 602) +(@CGUID+742, 50481, 1, 1, 1, -1680.133, 1584.211, 61.92185, 1.997747, 120, 5, 1), -- 50481 (Area: 602) (possible waypoints or random movement) +(@CGUID+743, 49835, 1, 1, 1, -1602.742, 1685.802, 63.17265, 6.274565, 120, 5, 1), -- 49835 (Area: 602) (possible waypoints or random movement) +(@CGUID+744, 4692, 1, 1, 1, -1569.216, 1753.092, 64.24571, 1.501987, 120, 0, 0), -- 4692 (Area: 602) +(@CGUID+745, 61169, 1, 1, 1, -1555.948, 1761.644, 62.2412, 2.513528, 120, 5, 1), -- 61169 (Area: 602) (possible waypoints or random movement) +(@CGUID+746, 4696, 1, 1, 1, -1577.938, 1793.741, 61.34016, 4.022869, 120, 0, 0), -- 4696 (Area: 602) +(@CGUID+747, 50481, 1, 1, 1, -1590.231, 1786.332, 61.4025, 6.185459, 120, 5, 1), -- 50481 (Area: 602) (possible waypoints or random movement) +(@CGUID+748, 4692, 1, 1, 1, -1555.291, 1747.097, 62.26403, 3.247887, 120, 0, 0), -- 4692 (Area: 602) +(@CGUID+749, 50481, 1, 1, 1, -1540.848, 1740.61, 60.87578, 5.845219, 120, 5, 1), -- 50481 (Area: 602) (possible waypoints or random movement) +(@CGUID+750, 62185, 1, 1, 1, -1572.382, 1859.432, 62.39643, 6.102567, 120, 5, 1), -- 62185 (Area: 602) (possible waypoints or random movement) +(@CGUID+751, 4692, 1, 1, 1, -1554.779, 1917.262, 62.4247, 3.26666, 120, 0, 0), -- 4692 (Area: 602) +(@CGUID+752, 4696, 1, 1, 1, -1526.993, 1854.813, 61.26603, 2.829409, 120, 0, 0), -- 4696 (Area: 602) +(@CGUID+753, 50481, 1, 1, 1, -1526.003, 2028.346, 62.35468, 4.642677, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+754, 62185, 1, 1, 1, -1566.908, 2034.985, 61.78202, 2.412842, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+755, 4692, 1, 1, 1, -1518.824, 2091.431, 61.35246, 4.940166, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+756, 4692, 1, 1, 1, -1555.563, 2231.921, 218.5567, 5.05515, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+757, 35591, 1, 1, 1, -1684.37, 1779.577, 61.05903, 2.81737, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+758, 4676, 1, 1, 1, -1715.548, 1852.266, 61.9417, 0.1919862, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+759, 4676, 1, 1, 1, -1684.236, 1687.008, 62.56827, 4.817109, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+760, 49835, 1, 1, 1, -1728.746, 1561.457, 61.47245, 5.568674, 120, 5, 1), -- 49835 (Area: 602) (possible waypoints or random movement) +(@CGUID+761, 4727, 1, 1, 1, -1748.532, 1546.84, 61.23611, 5.360128, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+762, 49835, 1, 1, 1, -1774.604, 1548.985, 61.67281, 5.429653, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+763, 62187, 1, 1, 1, -1612.776, 1497.246, 57.93865, 2.428063, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+764, 4694, 1, 1, 1, -1731, 1482.304, 61.23611, 6.272183, 120, 0, 0), -- 4694 (Area: 0) +(@CGUID+765, 49835, 1, 1, 1, -1755.429, 1485.22, 61.23611, 1.792349, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+766, 4727, 1, 1, 1, -1611.952, 1467.278, 65.41441, 1.342167, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+767, 4699, 1, 1, 1, -1724.521, 1412.265, 62.20181, 0.6507446, 120, 0, 0), -- 4699 (Area: 0) +(@CGUID+768, 4727, 1, 1, 1, -1783.646, 1449.004, 62.10729, 1.814066, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+769, 4699, 1, 1, 1, -1634.968, 1420.277, 64.39629, 6.082727, 120, 0, 0), -- 4699 (Area: 0) +(@CGUID+770, 50481, 1, 1, 1, -1720.281, 1413.8, 62.11111, 4.592999, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+771, 4727, 1, 1, 1, -1797.979, 1483.6, 61.33348, 3.107164, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+772, 4699, 1, 1, 1, -1782.696, 1358.061, 61.98722, 3.111187, 120, 0, 0), -- 4699 (Area: 0) +(@CGUID+773, 11578, 1, 1, 1, -1705.523, 1334.298, 63.46815, 5.540638, 120, 0, 0), -- 11578 (Area: 0) +(@CGUID+774, 62186, 1, 1, 1, -1818.148, 1386.317, 61.60135, 4.303613, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+775, 4638, 1, 1, 1, -1716.216, 1274.124, 94.79482, 0.5934119, 120, 0, 0), -- 4638 (Area: 0) +(@CGUID+776, 4726, 1, 1, 1, -1788.522, 1287.891, 90.79129, 5.464167, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+777, 4640, 1, 1, 1, -1685.505, 1250.049, 90.72637, 4.782202, 120, 0, 0), -- 4640 (Area: 0) +(@CGUID+778, 4639, 1, 1, 1, -1817.33, 1306.983, 89.90351, 3.054326, 120, 0, 0), -- 4639 (Area: 0) +(@CGUID+779, 4639, 1, 1, 1, -1751.919, 1246.766, 91.34274, 5.288348, 120, 0, 0), -- 4639 (Area: 0) +(@CGUID+780, 4641, 1, 1, 1, -1783.842, 1280.789, 90.82187, 0.5585054, 120, 0, 0), -- 4641 (Area: 0) +(@CGUID+781, 62186, 1, 1, 1, -1774.485, 1240.189, 91.1496, 5.012331, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+782, 4640, 1, 1, 1, -1654.18, 1278.789, 90.62463, 1.570796, 120, 0, 0), -- 4640 (Area: 0) +(@CGUID+783, 4692, 1, 1, 1, -1745.657, 1253.427, 92.16955, 0.7660636, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+784, 62187, 1, 1, 1, -1688.777, 1232.272, 90.66228, 2.484056, 120, 5, 1), -- 62187 (Area: 604) (possible waypoints or random movement) +(@CGUID+785, 4640, 1, 1, 1, -1717.369, 1212.912, 91.84176, 5.305801, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+786, 4640, 1, 1, 1, -1814.602, 1250.707, 90.75687, 0.6283185, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+787, 4692, 1, 1, 1, -1773.668, 1219.694, 91.33028, 3.19243, 120, 0, 0), -- 4692 (Area: 604) +(@CGUID+788, 4692, 1, 1, 1, -1652.316, 1259.347, 91.03165, 5.226205, 120, 0, 0), -- 4692 (Area: 604) +(@CGUID+789, 4640, 1, 1, 1, -1783.724, 1218.576, 91.46075, 4.380776, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+790, 4662, 1, 1, 1, -1836.601, 1215.407, 92.16329, 0.4363323, 120, 0, 0), -- 4662 (Area: 604) +(@CGUID+791, 4643, 1, 1, 1, -1829.363, 1211.016, 92.63678, 5.166174, 120, 0, 0), -- 4643 (Area: 604) +(@CGUID+792, 4639, 1, 1, 1, -1749.886, 1183.689, 88.46423, 4.607669, 120, 0, 0), -- 4639 (Area: 604) +(@CGUID+793, 50481, 1, 1, 1, -1668.892, 1197.027, 90.92584, 1.218893, 120, 5, 1), -- 50481 (Area: 604) (possible waypoints or random movement) +(@CGUID+794, 62187, 1, 1, 1, -1750.969, 1179.347, 89.52811, 0.9947076, 120, 5, 1), -- 62187 (Area: 604) (possible waypoints or random movement) +(@CGUID+795, 4640, 1, 1, 1, -1819.313, 1184.162, 88.46421, 6.178465, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+796, 4662, 1, 1, 1, -1832.335, 1216.937, 92.38184, 3.106686, 120, 0, 0), -- 4662 (Area: 604) +(@CGUID+797, 4726, 1, 1, 1, -1736.701, 1166.482, 88.98913, 5.243327, 120, 0, 0), -- 4726 (Area: 604) +(@CGUID+798, 35452, 1, 1, 1, -1787.011, 1150.471, 91.11844, 4.33007, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+799, 4639, 1, 1, 1, -1653.636, 1212.212, 91.05556, 1.500983, 120, 0, 0), -- 4639 (Area: 604) +(@CGUID+800, 4641, 1, 1, 1, -1681.755, 1148.702, 93.37773, 4.590216, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+801, 4641, 1, 1, 1, -1750.668, 1116.187, 88.46422, 3.874631, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+802, 4641, 1, 1, 1, -1782.105, 1151.226, 90.68298, 5.061455, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+803, 62187, 1, 1, 1, -1837.155, 1178.779, 88.50588, 1.592864, 120, 5, 1), -- 62187 (Area: 604) (possible waypoints or random movement) +(@CGUID+804, 4639, 1, 1, 1, -1717.478, 1149.829, 89.01346, 1.797689, 120, 0, 0), -- 4639 (Area: 604) +(@CGUID+805, 4076, 1, 1, 1, -1813.477, 1153.18, 90.9927, 6.117394, 120, 0, 0), -- 4076 (Area: 604) +(@CGUID+806, 4076, 1, 1, 1, -1787.367, 1072.465, 90.99758, 2.263198, 120, 0, 0), -- 4076 (Area: 604) +(@CGUID+807, 4075, 1, 1, 1, -1736.784, 1083.763, 90.13088, 5.879024, 120, 0, 0), -- 4075 (Area: 604) +(@CGUID+808, 4641, 1, 1, 1, -1783.053, 1083.798, 90.15804, 4.153883, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+809, 35452, 1, 1, 1, -1773.05, 1105.034, 88.50588, 5.40607, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+810, 35452, 1, 1, 1, -1730.575, 1074.423, 90.09738, 3.745926, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+811, 35454, 1, 1, 1, -1749.756, 1059.16, 92.01902, 5.160754, 120, 0, 0), -- 35454 (Area: 604) +(@CGUID+812, 35452, 1, 1, 1, -1813.975, 1108.666, 91.59856, 5.920725, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+813, 4640, 1, 1, 1, -1848.013, 1149.025, 91.27814, 5.078908, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+814, 4640, 1, 1, 1, -1715.113, 1086.127, 91.76012, 1.204277, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+815, 4640, 1, 1, 1, -1816.439, 1115.088, 91.86542, 0.2792527, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+816, 35452, 1, 1, 1, -1748.429, 1054.77, 91.65722, 0.5406615, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+817, 35452, 1, 1, 1, -1853.752, 1131.545, 90.64912, 4.478497, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+818, 61366, 1, 1, 1, -1759.876, 1033.532, 90.88029, 1.163083, 120, 5, 1), -- 61366 (Area: 604) (possible waypoints or random movement) +(@CGUID+819, 4640, 1, 1, 1, -1750.3, 1053.381, 91.62908, 4.956735, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+820, 4641, 1, 1, 1, -1820.774, 1049.737, 92.98409, 0.4886922, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+821, 4076, 1, 1, 1, -1837.506, 1091.482, 91.55568, 3.401252, 120, 0, 0), -- 4076 (Area: 604) +(@CGUID+822, 4644, 1, 1, 1, -1800.944, 1061.318, 91.57649, 0.4712389, 120, 0, 0), -- 4644 (Area: 604) +(@CGUID+823, 4644, 1, 1, 1, -1800.071, 1041.876, 92.87029, 0.7853982, 120, 0, 0), -- 4644 (Area: 604) +(@CGUID+824, 4641, 1, 1, 1, -1850.407, 1085.803, 91.10858, 5.253441, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+825, 35452, 1, 1, 1, -1788.452, 1062.219, 92.24124, 3.262885, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+826, 61169, 1, 1, 1, -1841.486, 1030.573, 93.65861, 1.811531, 120, 5, 1), -- 61169 (Area: 604) (possible waypoints or random movement) +(@CGUID+827, 35452, 1, 1, 1, -1824.883, 1044.095, 93.71436, 2.60934, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+828, 4075, 1, 1, 1, -1709.086, 1026.142, 89.47349, 3.707931, 120, 0, 0), -- 4075 (Area: 604) +(@CGUID+829, 35452, 1, 1, 1, -1709.297, 1025.566, 89.39507, 1.028204, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+830, 4644, 1, 1, 1, -1688.908, 1027.556, 94.2616, 5.393067, 120, 0, 0), -- 4644 (Area: 604) +(@CGUID+831, 61169, 1, 1, 1, -1815.627, 1030.095, 92.77435, 3.196313, 120, 5, 1), -- 61169 (Area: 604) (possible waypoints or random movement) +(@CGUID+832, 35452, 1, 1, 1, -1708.123, 964.4721, 90.55569, 4.229781, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+833, 35452, 1, 1, 1, -1769.66, 939.0228, 92.21076, 4.874249, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+834, 35453, 1, 1, 1, -1768.002, 965.9186, 92.49073, 5.498162, 120, 0, 0), -- 35453 (Area: 604) +(@CGUID+835, 4076, 1, 1, 1, -1769.827, 940.564, 92.19138, 1.253351, 120, 0, 0), -- 4076 (Area: 604) +(@CGUID+836, 4645, 1, 1, 1, -1783.274, 944.7972, 92.82887, 2.670354, 120, 0, 0), -- 4645 (Area: 604) +(@CGUID+837, 4640, 1, 1, 1, -1752.58, 955.6229, 92.24597, 1.256637, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+838, 4645, 1, 1, 1, -1748.334, 933.6791, 92.57593, 2.6529, 120, 0, 0), -- 4645 (Area: 604) +(@CGUID+839, 4076, 1, 1, 1, -1767.568, 913.5098, 92.53483, 3.465241, 120, 0, 0), -- 4076 (Area: 604) +(@CGUID+840, 4645, 1, 1, 1, -1726.273, 923.5647, 91.96904, 5.72468, 120, 0, 0), -- 4645 (Area: 604) +(@CGUID+841, 4641, 1, 1, 1, -1715.546, 950.0208, 90.38909, 1.605703, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+842, 4075, 1, 1, 1, -1717.687, 921.8541, 91.92322, 3.388395, 120, 0, 0), -- 4075 (Area: 604) +(@CGUID+843, 4075, 1, 1, 1, -1738.158, 902.8866, 91.36426, 2.279917, 120, 0, 0), -- 4075 (Area: 604) +(@CGUID+844, 35452, 1, 1, 1, -1784.787, 886.7498, 93.50736, 0.9710292, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+845, 35452, 1, 1, 1, -1720.972, 893.715, 90.53175, 0.09120084, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+846, 35454, 1, 1, 1, -1737.967, 821.668, 98.89799, 0.1558407, 120, 0, 0), -- 35454 (Area: 604) +(@CGUID+847, 35452, 1, 1, 1, -1834.19, 822.5195, 103.2117, 2.869075, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+848, 4641, 1, 1, 1, -1749.538, 815.7725, 101.5413, 5.009095, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+849, 35452, 1, 1, 1, -1774.826, 807.5221, 103.0596, 3.975147, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+850, 4641, 1, 1, 1, -1816.771, 816.6528, 103.3327, 5.393067, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+851, 4076, 1, 1, 1, -1834.693, 814.6719, 103.4638, 2.748778, 120, 0, 0), -- 4076 (Area: 604) +(@CGUID+852, 35452, 1, 1, 1, -1711.357, 817.1055, 96.92908, 5.197732, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+853, 4662, 1, 1, 1, -1876.656, 912.7433, 93.51855, 5.044002, 120, 0, 0), -- 4662 (Area: 604) +(@CGUID+854, 4643, 1, 1, 1, -1877.012, 908.58, 94.75808, 0.8377581, 120, 0, 0), -- 4643 (Area: 604) +(@CGUID+855, 35452, 1, 1, 1, -1872.494, 921.9346, 91.40652, 0.9040595, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+856, 4662, 1, 1, 1, -1873.536, 912.803, 93.37093, 1.361357, 120, 0, 0), -- 4662 (Area: 604) +(@CGUID+857, 4075, 1, 1, 1, -1881.708, 651.8577, 108.0172, 6.016273, 120, 0, 0), -- 4075 (Area: 2198) +(@CGUID+858, 36441, 1, 1, 1, -1850.793, 652.1719, 108.0128, 2.216568, 120, 0, 0), -- 36441 (Area: 2198) +(@CGUID+859, 35452, 1, 1, 1, -1876.546, 660.5359, 108.4386, 1.404671, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+860, 4076, 1, 1, 1, -1871.184, 659.6066, 107.7401, 2.453112, 120, 0, 0), -- 4076 (Area: 2198) +(@CGUID+861, 35452, 1, 1, 1, -1868.373, 634.8027, 107.7565, 0.505581, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+862, 13836, 1, 1, 1, -1928.981, 656.5804, 107.6552, 4.29351, 120, 0, 0), -- 13836 (Area: 2198) +(@CGUID+863, 4076, 1, 1, 1, -1865.746, 624.2633, 107.3782, 5.470351, 120, 0, 0), -- 4076 (Area: 2198) +(@CGUID+864, 13836, 1, 1, 1, -1939.64, 645.0187, 107.3499, 1.204277, 120, 0, 0), -- 13836 (Area: 2198) +(@CGUID+865, 35452, 1, 1, 1, -1958.969, 674.7461, 108.3281, 0.8377668, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+866, 61169, 1, 1, 1, -1954.697, 677.4393, 108.8816, 4.324246, 120, 5, 1), -- 61169 (Area: 2198) (possible waypoints or random movement) +(@CGUID+867, 13836, 1, 1, 1, -1945.07, 647.0855, 107.3393, 1.134464, 120, 0, 0), -- 13836 (Area: 2198) +(@CGUID+868, 61169, 1, 1, 1, -1936.966, 572.034, 165.1744, 4.927031, 120, 5, 1), -- 61169 (Area: 2198) (possible waypoints or random movement) +(@CGUID+869, 35452, 1, 1, 1, -1986.723, 687.2537, 114.8218, 0.6270607, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+870, 36441, 1, 1, 1, -1966.615, 670.6007, 108.0153, 5.358161, 120, 0, 0), -- 36441 (Area: 2198) +(@CGUID+871, 35452, 1, 1, 1, -1976.57, 643.2238, 108.5356, 4.637574, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+872, 35452, 1, 1, 1, -1957.827, 570.7002, 165.1825, 2.163395, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+873, 35452, 1, 1, 1, -1945.543, 561.7315, 164.9467, 1.656858, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+874, 4668, 1, 1, 1, -1958.943, 550.888, 166.4006, 4.101524, 120, 0, 0), -- 4668 (Area: 2198) +(@CGUID+875, 4668, 1, 1, 1, -1965.929, 541.4534, 166.5052, 0.9424778, 120, 0, 0), -- 4668 (Area: 2198) +(@CGUID+876, 4705, 1, 1, 1, -1975.929, 525.7936, 165.9161, 1.047198, 120, 0, 0), -- 4705 (Area: 2198) +(@CGUID+877, 35452, 1, 1, 1, -1960.75, 534.4276, 166.0314, 1.57906, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+878, 35452, 1, 1, 1, -1937.675, 529.3527, 164.9827, 4.617755, 120, 0, 0), -- 35452 (Area: 2198) +(@CGUID+879, 36845, 1, 1, 1, -1946.221, 453.3586, 133.7146, 4.520053, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+880, 36870, 1, 1, 1, -1925.912, 439.4989, 133.6729, 0.2443461, 120, 0, 0), -- 36870 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+881, 36845, 1, 1, 1, -1924.123, 444.791, 133.7146, 6.081985, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+882, 36845, 1, 1, 1, -1993.303, 439.5543, 133.7146, 4.93002, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+883, 36869, 1, 1, 1, -1980.43, 456.549, 134.5643, 1.658063, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+884, 36870, 1, 1, 1, -1942.104, 441.0486, 133.9106, 4.310963, 120, 0, 0), -- 36870 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+885, 36869, 1, 1, 1, -1915.57, 453.708, 136.1793, 1.361357, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+886, 36870, 1, 1, 1, -1979.1, 435.681, 133.7803, 3.089233, 120, 0, 0), -- 36870 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+887, 36845, 1, 1, 1, -1971.268, 453.8815, 133.7146, 5.50202, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+888, 36845, 1, 1, 1, -1965.096, 449.3924, 134.1275, 6.222013, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+889, 36869, 1, 1, 1, -1984.59, 440.955, 133.6733, 0.08726646, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+890, 36869, 1, 1, 1, -1937.57, 459.587, 134.6073, 0.2443461, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+891, 36869, 1, 1, 1, -1962.91, 450.34, 133.6733, 3.281219, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+892, 36869, 1, 1, 1, -1949.086, 417.6327, 134.2489, 3.892084, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+893, 36870, 1, 1, 1, -1964.852, 431.4134, 133.8339, 5.078908, 120, 0, 0), -- 36870 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+894, 36870, 1, 1, 1, -1933.168, 431.2729, 133.6729, 5.689773, 120, 0, 0), -- 36870 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+895, 36869, 1, 1, 1, -1903.41, 422.316, 138.2883, 1.27409, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+896, 36845, 1, 1, 1, -1989.141, 428.4023, 133.7146, 0.3623908, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+897, 36845, 1, 1, 1, -1929.022, 410.6651, 133.8722, 2.018601, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+898, 36845, 1, 1, 1, -1934.023, 427.0293, 133.7146, 6.105186, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+899, 36869, 1, 1, 1, -1972.58, 419.101, 133.7253, 3.455752, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+900, 36845, 1, 1, 1, -1930.628, 435.7611, 133.7146, 3.454893, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+901, 36845, 1, 1, 1, -1911.789, 422.4224, 133.7146, 4.560667, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+902, 36845, 1, 1, 1, -1975.674, 412.9437, 133.7146, 1.283798, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+903, 36845, 1, 1, 1, -1997, 420.1544, 133.667, 2.110691, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+904, 36869, 1, 1, 1, -1970.72, 409.054, 133.7013, 3.979351, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+905, 36870, 1, 1, 1, -1975.47, 412.7706, 133.6729, 0.5934119, 120, 0, 0), -- 36870 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+906, 36845, 1, 1, 1, -1931.683, 422.5428, 133.7146, 3.301319, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+907, 36869, 1, 1, 1, -1909.2, 413.073, 138.2563, 2.007129, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+908, 36869, 1, 1, 1, -1987.55, 417.134, 133.6743, 2.827433, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+909, 36870, 1, 1, 1, -1931.617, 423.8167, 133.6729, 3.281219, 120, 0, 0), -- 36870 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+910, 36869, 1, 1, 1, -1906.03, 436.144, 136.7043, 5.235988, 120, 0, 0), -- 36869 (Area: 2198) (Auras: 29266 - 29266) +(@CGUID+911, 36845, 1, 1, 1, -1943.472, 412.3058, 134.6653, 3.499662, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+912, 36845, 1, 1, 1, -1955.757, 431.4653, 134.1827, 4.728842, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+913, 36845, 1, 1, 1, -1957.521, 408.7439, 134.5344, 2.841921, 120, 0, 0), -- 36845 (Area: 2198) +(@CGUID+914, 35452, 1, 1, 1, -1678.103, 840.7399, 93.76962, 3.197026, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+915, 35452, 1, 1, 1, -1662.89, 968.02, 92.97382, 5.816071, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+916, 4641, 1, 1, 1, -1620.235, 986.6104, 90.36816, 2.670354, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+917, 35452, 1, 1, 1, -1626.371, 977.4746, 90.30569, 5.186156, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+918, 4075, 1, 1, 1, -1638.33, 990.9031, 90.30569, 5.755091, 120, 0, 0), -- 4075 (Area: 604) +(@CGUID+919, 4075, 1, 1, 1, -1859.44, 1123.8, 91.85963, 3.593858, 120, 0, 0), -- 4075 (Area: 604) +(@CGUID+920, 4697, 1, 1, 1, -1641.947, 1147.034, 90.40077, 3.433873, 120, 0, 0), -- 4697 (Area: 604) +(@CGUID+921, 4638, 1, 1, 1, -1652.034, 1179.634, 90.36111, 3.752458, 120, 0, 0), -- 4638 (Area: 604) +(@CGUID+922, 4075, 1, 1, 1, -1648.371, 1118.661, 90.42849, 0.2395581, 120, 0, 0), -- 4075 (Area: 604) +(@CGUID+923, 4640, 1, 1, 1, -1651.624, 1114.011, 90.47937, 1.954769, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+924, 4699, 1, 1, 1, -1809.658, 1550.615, 61.2117, 3.148491, 120, 0, 0), -- 4699 (Area: 0) +(@CGUID+925, 35591, 1, 1, 1, -1673.881, 1785.892, 61.94184, 0.9693727, 120, 0, 0), -- 35591 (Area: 602) +(@CGUID+926, 4696, 1, 1, 1, -1485.811, 1716.422, 61.48728, 6.135854, 120, 0, 0), -- 4696 (Area: 602) +(@CGUID+927, 4728, 1, 1, 1, -1529.064, 1624.368, 61.66737, 6.044425, 120, 0, 0), -- 4728 (Area: 602) +(@CGUID+928, 49839, 1, 1, 1, -1481.577, 1674.908, 61.0725, 1.797488, 120, 0, 0), -- 49839 (Area: 602) +(@CGUID+929, 4728, 1, 1, 1, -1461.394, 1684.269, 62.06245, 0.0326699, 120, 0, 0), -- 4728 (Area: 602) +(@CGUID+930, 4700, 1, 1, 1, -1466.672, 1740.205, 61.43579, 0.4314568, 120, 0, 0), -- 4700 (Area: 602) +(@CGUID+931, 4696, 1, 1, 1, -1491.267, 1787.318, 64.37465, 2.841155, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+932, 35434, 1, 1, 1, -1432.852, 1664.406, 62.72611, 5.949278, 120, 0, 0), -- 35434 (Area: 0) +(@CGUID+933, 36094, 1, 1, 1, -1425.801, 1635.56, 62.70085, 2.746331, 120, 0, 0), -- 36094 (Area: 0) (Auras: 18501 - 18501) +(@CGUID+934, 4075, 1, 1, 1, -1424.784, 1800.056, 53.7603, 4.923968, 120, 0, 0), -- 4075 (Area: 0) +(@CGUID+935, 49842, 1, 1, 1, -1456.159, 1779.609, 54.04767, 6.219236, 120, 0, 0), -- 49842 (Area: 0) +(@CGUID+936, 4700, 1, 1, 1, -1480.109, 1827.986, 63.74263, 1.472061, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+937, 4700, 1, 1, 1, -1447.088, 1791.457, 52.22107, 6.243168, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+938, 4701, 1, 1, 1, -1404.705, 1739.351, 62.61594, 3.183511, 120, 0, 0), -- 4701 (Area: 0) +(@CGUID+939, 4076, 1, 1, 1, -1415.285, 1780.917, 52.03005, 4.249527, 120, 0, 0), -- 4076 (Area: 0) +(@CGUID+940, 4695, 1, 1, 1, -1407.723, 1777.357, 51.07466, 0.1313191, 120, 0, 0), -- 4695 (Area: 0) +(@CGUID+941, 4695, 1, 1, 1, -1418.99, 1812.712, 53.17241, 1.312072, 120, 0, 0), -- 4695 (Area: 0) +(@CGUID+942, 4701, 1, 1, 1, -1414.791, 1876.834, 62.8872, 0.5822436, 120, 0, 0), -- 4701 (Area: 0) +(@CGUID+943, 4700, 1, 1, 1, -1390.767, 1806.532, 51.74992, 5.583363, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+944, 50481, 1, 1, 1, -1460.402, 1953.076, 85.04756, 2.613678, 120, 5, 1), -- 50481 (Area: 596) (possible waypoints or random movement) +(@CGUID+945, 61169, 1, 1, 1, -1447.406, 1976.685, 85.50445, 0.6694183, 120, 5, 1), -- 61169 (Area: 596) (possible waypoints or random movement) +(@CGUID+946, 4076, 1, 1, 1, -1430.984, 1970.003, 86.49838, 0.1195305, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+947, 4729, 1, 1, 1, -1441.643, 2126.855, 91.55988, 0.8725554, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+948, 4693, 1, 1, 1, -1452.178, 2184.84, 91.04955, 3.393216, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+949, 4693, 1, 1, 1, -1454.174, 2240.836, 92.02991, 0.3372371, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+950, 49835, 1, 1, 1, -1420.449, 2228.352, 92.69709, 1.895969, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+951, 35605, 1, 1, 1, -1289.666, 2143.869, 8.644029, 4.159399, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+952, 35606, 1, 1, 1, -1294.271, 2125.521, 4.509873, 4.394377, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+953, 4727, 1, 1, 1, -1473.72, 2284.515, 93.37234, 1.609877, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+954, 4692, 1, 1, 1, -1494.131, 2329.069, 93.31841, 5.461549, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+955, 4727, 1, 1, 1, -1399.479, 2282.095, 92.49748, 1.570796, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+956, 4727, 1, 1, 1, -1349.406, 2292.836, 92.87244, 1.491717, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+957, 49835, 1, 1, 1, -1317.865, 2316.323, 93.48818, 4.915829, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+958, 36234, 1, 1, 1, -1006.649, 2292.095, 124.8457, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+959, 4729, 1, 1, 1, -1298.435, 2373.566, 91.83186, 3.347667, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+960, 35606, 1, 1, 1, -1272.158, 2169.101, 5.882399, 3.848025, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+961, 35605, 1, 1, 1, -1265.471, 2177.966, 5.267706, 1.152608, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+962, 35606, 1, 1, 1, -1244.264, 2183.729, 9.467901, 2.430248, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+963, 35605, 1, 1, 1, -1247.186, 2205.536, 16.1974, 4.912883, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+964, 35606, 1, 1, 1, -1235.153, 2215.295, 16.64394, 4.902014, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+965, 49839, 1, 1, 1, -1318.162, 2246.055, 91.41254, 2.912234, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+966, 35606, 1, 1, 1, -1260.266, 2161.139, -1.19103, 2.095623, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+967, 35605, 1, 1, 1, -1277.162, 2128.644, 4.990952, 3.888911, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+968, 35605, 1, 1, 1, -1223.125, 2185.946, 10.88498, 1.386519, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+969, 4729, 1, 1, 1, -1321.074, 2234.762, 92.00871, 1.244031, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+970, 35606, 1, 1, 1, -1257.227, 2136.758, 14.95106, 5.569854, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+971, 36234, 1, 1, 1, -1000.168, 2214.853, 156.817, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+972, 35605, 1, 1, 1, -1251.041, 2153.573, 3.299204, 0.1409686, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+973, 35605, 1, 1, 1, -1246.82, 2133.553, 16.50758, 4.461253, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+974, 62184, 1, 1, 1, -1349.96, 2178.454, 72.74099, 3.349139, 120, 5, 1), -- 62184 (Area: 0) (possible waypoints or random movement) +(@CGUID+975, 35606, 1, 1, 1, -1232.914, 2151.6, 13.81394, 4.013542, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+976, 35605, 1, 1, 1, -1273.046, 2106.286, 35.69762, 4.503147, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+977, 35605, 1, 1, 1, -1201.684, 2228.171, 34.17944, 2.738422, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+978, 35606, 1, 1, 1, -1225.281, 2167.799, -3.570657, 3.308008, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+979, 4702, 1, 1, 1, -1377.17, 2126.848, 58.59855, 3.791168, 120, 0, 0), -- 4702 (Area: 0) +(@CGUID+980, 4700, 1, 1, 1, -1323.339, 2135.849, 51.62181, 3.452208, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+981, 6019, 1, 1, 1, -1401.405, 2082.97, 62.0089, 3.961897, 120, 0, 0), -- 6019 (Area: 596) +(@CGUID+982, 4701, 1, 1, 1, -1349.609, 2070.851, 58.02522, 6.251214, 120, 0, 0), -- 4701 (Area: 596) +(@CGUID+983, 49839, 1, 1, 1, -1364.354, 2070.349, 57.7104, 5.156389, 120, 0, 0), -- 49839 (Area: 596) +(@CGUID+984, 4695, 1, 1, 1, -1347.264, 2026.227, 57.85906, 4.299306, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+985, 4076, 1, 1, 1, -1373.451, 2028.872, 58.42625, 0.6145691, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+986, 4702, 1, 1, 1, -1357.053, 1989.775, 59.43486, 2.65149, 120, 0, 0), -- 4702 (Area: 596) +(@CGUID+987, 4695, 1, 1, 1, -1378.75, 1928.791, 60.55888, 0.4144889, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+988, 4695, 1, 1, 1, -1372.324, 1891.547, 50.26105, 3.953413, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+989, 50481, 1, 1, 1, -1373.768, 1889.669, 50.26105, 3.158067, 120, 5, 1), -- 50481 (Area: 596) (possible waypoints or random movement) +(@CGUID+990, 4076, 1, 1, 1, -1373.944, 1871.14, 49.83839, 3.682742, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+991, 4695, 1, 1, 1, -1374.535, 1849.823, 50.18363, 2.517184, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+992, 4075, 1, 1, 1, -1373.015, 1836.323, 49.1381, 3.313883, 120, 0, 0), -- 4075 (Area: 596) +(@CGUID+993, 36094, 1, 1, 1, -1383.864, 1761.584, 60.98732, 5.863065, 120, 0, 0), -- 36094 (Area: 596) (Auras: 18501 - 18501) +(@CGUID+994, 36123, 1, 1, 1, -1303.523, 1627.321, 64.52411, 0, 120, 0, 0), -- 36123 (Area: 596) +(@CGUID+995, 35434, 1, 1, 1, -1417.388, 1623.063, 62.06379, 3.365198, 120, 0, 0), -- 35434 (Area: 596) +(@CGUID+996, 49842, 1, 1, 1, -1423.938, 1629.435, 65.41071, 3.455157, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+997, 49778, 1, 1, 1, -1402.393, 1657.666, 61.6636, 5.652046, 120, 0, 0), -- 49778 (Area: 596) +(@CGUID+998, 49842, 1, 1, 1, -1383.469, 1635.525, 63.30626, 2.639695, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+999, 36123, 1, 1, 1, -1303.773, 1593.97, 62.97229, 0, 120, 0, 0), -- 36123 (Area: 596) +(@CGUID+1000, 35434, 1, 1, 1, -1390.941, 1672.596, 63.19208, 4.432707, 120, 0, 0), -- 35434 (Area: 596) +(@CGUID+1001, 35446, 1, 1, 1, -1297.77, 1617.12, 68.65581, 2.563434, 120, 0, 0), -- 35446 (Area: 596) +(@CGUID+1002, 4692, 1, 1, 1, -1511.923, 1583.503, 84.22102, 3.836331, 120, 0, 0), -- 4692 (Area: 596) +(@CGUID+1003, 35434, 1, 1, 1, -1391.705, 1552.445, 60.73452, 0.7141719, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1004, 36123, 1, 1, 1, -1294.436, 1496.288, 62.85699, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1005, 49728, 1, 1, 1, -1341.71, 1632.634, 61.86966, 1.419781, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1006, 5412, 1, 1, 1, -1337.064, 1702.544, 89.98553, 0.4014257, 120, 0, 0), -- 5412 (Area: 4804) +(@CGUID+1007, 35434, 1, 1, 1, -1327.694, 1625.597, 62.7575, 4.970566, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1008, 5395, 1, 1, 1, -1333.658, 1706.988, 89.98553, 5.969026, 120, 0, 0), -- 5395 (Area: 4804) +(@CGUID+1009, 36062, 1, 1, 1, -1354.624, 1611.999, 62.63399, 3.926819, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1010, 8154, 1, 1, 1, -1318.822, 1702.745, 90.00055, 1.595466, 120, 0, 0), -- 8154 (Area: 4804) +(@CGUID+1011, 4695, 1, 1, 1, -1335.705, 1766.345, 50.90238, 0.7980412, 120, 0, 0), -- 4695 (Area: 4804) +(@CGUID+1012, 4075, 1, 1, 1, -1304.698, 1798.768, 52.6464, 5.42038, 120, 0, 0), -- 4075 (Area: 597) +(@CGUID+1013, 62178, 1, 1, 1, -1303.07, 1761.257, 61.09549, 3.472898, 120, 5, 1), -- 62178 (Area: 597) (possible waypoints or random movement) +(@CGUID+1014, 49842, 1, 1, 1, -1369.524, 1811.637, 54.3802, 6.008535, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1015, 4700, 1, 1, 1, -1290.625, 1757.291, 62.84795, 0.08831748, 120, 0, 0), -- 4700 (Area: 597) +(@CGUID+1016, 4075, 1, 1, 1, -1360.568, 1835.24, 51.60099, 3.006456, 120, 0, 0), -- 4075 (Area: 597) +(@CGUID+1017, 4075, 1, 1, 1, -1356.095, 1804.863, 50.15678, 4.804288, 120, 0, 0), -- 4075 (Area: 597) +(@CGUID+1018, 4695, 1, 1, 1, -1335.361, 1810.605, 49.61699, 2.254189, 120, 0, 0), -- 4695 (Area: 597) +(@CGUID+1019, 4700, 1, 1, 1, -1343.12, 1863.052, 48.10281, 5.715163, 120, 0, 0), -- 4700 (Area: 597) +(@CGUID+1020, 49842, 1, 1, 1, -1305.542, 1810.516, 54.81452, 0.5537407, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1021, 4075, 1, 1, 1, -1331.754, 1831.075, 50.52143, 0.1194912, 120, 0, 0), -- 4075 (Area: 597) +(@CGUID+1022, 4075, 1, 1, 1, -1336.458, 1864.446, 47.20362, 5.994034, 120, 0, 0), -- 4075 (Area: 597) +(@CGUID+1023, 49728, 1, 1, 1, -1274.843, 1837.449, 51.13263, 1.591312, 120, 0, 0), -- 49728 (Area: 596) +(@CGUID+1024, 4702, 1, 1, 1, -1274.751, 1823.173, 50.974, 3.622706, 120, 0, 0), -- 4702 (Area: 596) +(@CGUID+1025, 4695, 1, 1, 1, -1312.857, 1882.416, 48.20832, 6.173606, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+1026, 4076, 1, 1, 1, -1332.706, 1879.564, 44.74886, 0.844154, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1027, 4076, 1, 1, 1, -1307.56, 1884.488, 48.03487, 2.065465, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1028, 4702, 1, 1, 1, -1283.239, 1850.351, 51.30108, 5.890627, 120, 0, 0), -- 4702 (Area: 596) +(@CGUID+1029, 49842, 1, 1, 1, -1277.834, 1851.688, 54.04085, 4.594431, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+1030, 4076, 1, 1, 1, -1327.214, 1929.786, 44.19028, 4.684709, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1031, 4701, 1, 1, 1, -1322.029, 1921.279, 45.02744, 5.383171, 120, 0, 0), -- 4701 (Area: 596) +(@CGUID+1032, 61169, 1, 1, 1, -1313.178, 1920.532, 43.4122, 2.2873, 120, 5, 1), -- 61169 (Area: 596) (possible waypoints or random movement) +(@CGUID+1033, 4702, 1, 1, 1, -1288.5, 1904.219, 48.69855, 3.879075, 120, 0, 0), -- 4702 (Area: 596) +(@CGUID+1034, 4076, 1, 1, 1, -1272.646, 1882.862, 50.39491, 1.773959, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1035, 4700, 1, 1, 1, -1329.329, 1953.162, 48.75519, 3.144212, 120, 0, 0), -- 4700 (Area: 596) +(@CGUID+1036, 4702, 1, 1, 1, -1263.649, 1875.106, 50.37604, 1.625543, 120, 0, 0), -- 4702 (Area: 596) +(@CGUID+1037, 61169, 1, 1, 1, -1346.248, 1953.281, 42.76887, 0.150817, 120, 5, 1), -- 61169 (Area: 596) (possible waypoints or random movement) +(@CGUID+1038, 4076, 1, 1, 1, -1291.24, 1925.174, 47.82831, 2.243751, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1039, 61366, 1, 1, 1, -1287.483, 1995.629, 44.97579, 2.86504, 120, 5, 1), -- 61366 (Area: 596) (possible waypoints or random movement) +(@CGUID+1040, 49778, 1, 1, 1, -1276.743, 1973.299, 49.05496, 0.1770264, 120, 0, 0), -- 49778 (Area: 596) +(@CGUID+1041, 49842, 1, 1, 1, -1264.634, 1959.258, 51.29235, 0.01233317, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+1042, 49842, 1, 1, 1, -1258.029, 1927.096, 53.73131, 0.04627105, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+1043, 4702, 1, 1, 1, -1290.043, 1974.573, 47.0325, 6.282307, 120, 0, 0), -- 4702 (Area: 596) +(@CGUID+1044, 4076, 1, 1, 1, -1296.359, 2013.027, 45.29226, 2.885869, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1045, 4695, 1, 1, 1, -1282.424, 2017.648, 43.5668, 5.816833, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+1046, 4700, 1, 1, 1, -1276.834, 2040.818, 39.28183, 4.89833, 120, 0, 0), -- 4700 (Area: 596) +(@CGUID+1047, 4075, 1, 1, 1, -1253.498, 2005.776, 48.65195, 1.036249, 120, 0, 0), -- 4075 (Area: 596) +(@CGUID+1048, 4076, 1, 1, 1, -1312.584, 2096.729, 2.044857, 1.142713, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1049, 35606, 1, 1, 1, -1193.875, 2168.262, 22.3334, 2.864656, 120, 5, 1), -- 35606 (Area: 596) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1050, 35606, 1, 1, 1, -1197.59, 2198.335, 17.38552, 3.769327, 120, 5, 1), -- 35606 (Area: 596) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1051, 35605, 1, 1, 1, -1192.188, 2218.229, -2.853992, 3.926991, 120, 5, 1), -- 35605 (Area: 596) (possible waypoints or random movement) +(@CGUID+1052, 35606, 1, 1, 1, -1180.878, 2224.703, -1.85173, 1.107149, 120, 5, 1), -- 35606 (Area: 596) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1053, 35605, 1, 1, 1, -1177.005, 2264.282, 16.69105, 1.446252, 120, 5, 1), -- 35605 (Area: 596) (possible waypoints or random movement) +(@CGUID+1054, 35606, 1, 1, 1, -1176.968, 2247.025, 28.97975, 3.991586, 120, 5, 1), -- 35606 (Area: 596) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1055, 35605, 1, 1, 1, -1165.872, 2313.466, 16.87223, 5.765996, 120, 5, 1), -- 35605 (Area: 596) (possible waypoints or random movement) +(@CGUID+1056, 35606, 1, 1, 1, -1176.1, 2288.521, 13.52174, 2.518313, 120, 5, 1), -- 35606 (Area: 596) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1057, 35606, 1, 1, 1, -1139.923, 2242.706, 33.91323, 4.380502, 120, 5, 1), -- 35606 (Area: 596) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1058, 35605, 1, 1, 1, -1148.959, 2265.625, -13, 3.076514, 120, 5, 1), -- 35605 (Area: 596) (possible waypoints or random movement) +(@CGUID+1059, 35606, 1, 1, 1, -1147.518, 2282.918, -7.74154, 2.441354, 120, 5, 1), -- 35606 (Area: 596) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1060, 35605, 1, 1, 1, -1124.424, 2280.925, 9.614403, 1.772832, 120, 5, 1), -- 35605 (Area: 596) (possible waypoints or random movement) +(@CGUID+1061, 35605, 1, 1, 1, -1148.194, 2306.443, -11.9275, 4.184775, 120, 5, 1), -- 35605 (Area: 596) (possible waypoints or random movement) +(@CGUID+1062, 49839, 1, 1, 1, -1263.632, 2283.62, 91.58716, 2.971068, 120, 0, 0), -- 49839 (Area: 596) +(@CGUID+1063, 35605, 1, 1, 1, -1130.111, 2288.154, -2.739583, 2.84792, 120, 5, 1), -- 35605 (Area: 596) (possible waypoints or random movement) +(@CGUID+1064, 35606, 1, 1, 1, -1146.742, 2327.642, 24.13346, 3.127922, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1065, 35605, 1, 1, 1, -1122.951, 2322.6, 23.40556, 1.38015, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1066, 36234, 1, 1, 1, -907.5989, 2299.023, 158.6687, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1067, 35606, 1, 1, 1, -1111.488, 2265.897, 12.32578, 4.410177, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1068, 62186, 1, 1, 1, -1244.026, 2351.874, 92.46136, 2.57389, 120, 0, 0), -- 62186 (Area: 0) +(@CGUID+1069, 35606, 1, 1, 1, -1102.946, 2355.098, -6.622932, 5.362975, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1070, 4729, 1, 1, 1, -1211.467, 2331.772, 95.69886, 2.144715, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+1071, 36234, 1, 1, 1, -890.4809, 2223.608, 151.7509, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1072, 62186, 1, 1, 1, -1200.409, 2355.905, 94.74736, 3.412644, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+1073, 4697, 1, 1, 1, -1238.626, 2391.902, 91.81944, 1.916664, 120, 0, 0), -- 4697 (Area: 0) +(@CGUID+1074, 35606, 1, 1, 1, -1077.794, 2381.789, 36.75031, 5.604494, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1075, 35605, 1, 1, 1, -1093.178, 2343.563, 33.2375, 1.487167, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1076, 4693, 1, 1, 1, -1184.328, 2391.978, 93.91172, 5.149842, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+1077, 41730, 1, 1, 1, -1064.974, 2245.348, 78.40069, 3.549306, 120, 5, 1), -- 41730 (Area: 0) (Auras: 83097 - 83097) (possible waypoints or random movement) +(@CGUID+1078, 50481, 1, 1, 1, -1149.995, 2380.393, 92.3285, 0.5950448, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1079, 35605, 1, 1, 1, -1064.15, 2347.266, 11.62604, 5.134619, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1080, 35606, 1, 1, 1, -1060.251, 2385.717, 20.0102, 4.080119, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1081, 49839, 1, 1, 1, -1187.042, 2395.567, 94.12998, 1.978509, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1082, 35605, 1, 1, 1, -1068.127, 2368.426, -9.058037, 3.457065, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1083, 35606, 1, 1, 1, -1032.122, 2363.932, 9.123482, 1.144077, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1084, 36234, 1, 1, 1, -856.6424, 2183.422, 144.6337, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1085, 4727, 1, 1, 1, -1118.229, 2355.729, 36.75219, 3.141593, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+1086, 49839, 1, 1, 1, -1115.592, 2342.345, -7.723456, 0.122173, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1087, 49835, 1, 1, 1, -1147.491, 2415.606, 92.69854, 3.32634, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1088, 4729, 1, 1, 1, -1137.58, 2390.148, 94.13696, 3.312033, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+1089, 49835, 1, 1, 1, -1110.894, 2398.197, 97.72889, 5.113564, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1090, 35605, 1, 1, 1, -1021.877, 2401.05, -4.671247, 1.8011, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1091, 36234, 1, 1, 1, -782.0504, 2235.708, 145.7706, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1092, 35606, 1, 1, 1, -970.1938, 2390.175, 33.83287, 5.392016, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1093, 35605, 1, 1, 1, -1003.287, 2432.306, 18.23403, 5.574055, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1094, 35606, 1, 1, 1, -995.6124, 2399.586, 26.91588, 5.506074, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1095, 4729, 1, 1, 1, -1105.319, 2445.166, 95.50301, 0.1795916, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+1096, 35605, 1, 1, 1, -968.9559, 2464.807, 32.01534, 3.866143, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1097, 36234, 1, 1, 1, -755.7413, 2349.293, 155.3788, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1098, 35605, 1, 1, 1, -964.0039, 2431.855, 20.38946, 3.1006, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1099, 35606, 1, 1, 1, -968.453, 2415.926, 17.50702, 3.753439, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1100, 35605, 1, 1, 1, -922.0977, 2470.65, 30.81828, 2.666455, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1101, 35606, 1, 1, 1, -920.7025, 2479.78, 32.00114, 5.751371, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1102, 36234, 1, 1, 1, -716.8993, 2449.417, 129.2921, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1103, 36234, 1, 1, 1, -723.7518, 2444.854, 157.6427, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1104, 35605, 1, 1, 1, -926.1042, 2532.186, 29.61955, 0, 120, 0, 0), -- 35605 (Area: 0) +(@CGUID+1105, 4693, 1, 1, 1, -1004.073, 2459.206, 95.19958, 5.831759, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+1106, 35606, 1, 1, 1, -965.0638, 2526.615, 6.470907, 6.171439, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1107, 36234, 1, 1, 1, -721.2761, 2320.103, 147.3589, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1108, 35605, 1, 1, 1, -904.0521, 2449.854, 34.56094, 3.80013, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1109, 35606, 1, 1, 1, -885.8461, 2443.773, 47.23351, 1.623849, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1110, 35605, 1, 1, 1, -903.125, 2409.375, 51.27418, 1.333037, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1111, 4075, 1, 1, 1, -978.4199, 2444.454, -1.442909, 3.819839, 120, 0, 0), -- 4075 (Area: 0) +(@CGUID+1112, 35606, 1, 1, 1, -878.5703, 2485.103, 56.93011, 0.2236498, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1113, 36234, 1, 1, 1, -664.5243, 2566.623, 125.5776, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1114, 35605, 1, 1, 1, -852.748, 2422.648, -16.48343, 0.03988471, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1115, 35605, 1, 1, 1, -846.7213, 2444.161, 9.513165, 3.240046, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1116, 36234, 1, 1, 1, -636.9514, 2484.255, 123.5187, 0, 120, 0, 0), -- 36234 (Area: 0) +(@CGUID+1117, 35605, 1, 1, 1, -840.524, 2494.717, 86.46478, 4.78049, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1118, 35606, 1, 1, 1, -914.7298, 2574.27, 33.25105, 4.515152, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1119, 35606, 1, 1, 1, -827.7305, 2414.455, 34.981, 3.736075, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1120, 35605, 1, 1, 1, -814.7112, 2453.534, 49.55449, 0.1510153, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1121, 4727, 1, 1, 1, -938.1387, 2353.817, 90.25925, 2.955885, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+1122, 35606, 1, 1, 1, -759.1652, 2459.585, 19.63583, 3.927012, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1123, 35606, 1, 1, 1, -786.7697, 2556.68, 40.3321, 6.21311, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1124, 35606, 1, 1, 1, -822.5264, 2546.08, 47.08363, 0.9418122, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1125, 35606, 1, 1, 1, -785.8062, 2503.931, 44.86679, 2.157856, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+1126, 35605, 1, 1, 1, -784.6099, 2596.68, 39.83147, 5.802218, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1127, 35605, 1, 1, 1, -731.2831, 2501.169, 6.175088, 0.8594137, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1128, 35605, 1, 1, 1, -761.8022, 2575.206, 37.76512, 5.358993, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+1129, 50481, 1, 1, 1, -969.9254, 2317.782, 88.29782, 0.1095789, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1130, 4729, 1, 1, 1, -1066.173, 2281.487, 84.9859, 3.567654, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+1131, 49839, 1, 1, 1, -1047.438, 2284.978, 86.26322, 0.4734921, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1132, 11577, 1, 1, 1, -1050.366, 2243.792, 81.12034, 2.053439, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1133, 62186, 1, 1, 1, -1076.239, 2239.665, 77.21076, 2.153358, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+1134, 11577, 1, 1, 1, -1156.303, 2163.053, 75.51302, 4.302885, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1135, 11577, 1, 1, 1, -1189.932, 2138.154, 82.07242, 1.769341, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1136, 11577, 1, 1, 1, -1188.309, 2100.517, 92.19668, 1.244686, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1137, 11577, 1, 1, 1, -1145.334, 2138.27, 86.50387, 0.6099265, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1138, 4702, 1, 1, 1, -1233.261, 2049.45, 62.58409, 1.077466, 120, 0, 0), -- 4702 (Area: 596) +(@CGUID+1139, 4695, 1, 1, 1, -1244.045, 2021.195, 51.25913, 1.892922, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+1140, 49842, 1, 1, 1, -1240.432, 1998.475, 53.15868, 2.878171, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+1141, 4695, 1, 1, 1, -1234.94, 1973.691, 51.82258, 3.30697, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+1142, 4075, 1, 1, 1, -1204.956, 2021.986, 60.09694, 2.740673, 120, 0, 0), -- 4075 (Area: 596) +(@CGUID+1143, 4076, 1, 1, 1, -1234.532, 1980.7, 51.64611, 0.7650068, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1144, 4700, 1, 1, 1, -1251.702, 1944.51, 50.16599, 5.910474, 120, 0, 0), -- 4700 (Area: 596) +(@CGUID+1145, 4695, 1, 1, 1, -1256.95, 1897.956, 51.06804, 0.5719534, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+1146, 4695, 1, 1, 1, -1240.598, 1922.1, 52.07273, 0.9416651, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+1147, 49842, 1, 1, 1, -1259.872, 1865.543, 53.15195, 2.446347, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+1148, 4076, 1, 1, 1, -1262.609, 1863.16, 50.77861, 3.270477, 120, 0, 0), -- 4076 (Area: 596) +(@CGUID+1149, 4701, 1, 1, 1, -1220.599, 1903.192, 61.4531, 1.900467, 120, 0, 0), -- 4701 (Area: 596) +(@CGUID+1150, 36123, 1, 1, 1, -1068.201, 1887.379, 60.22754, 0, 120, 0, 0), -- 36123 (Area: 596) +(@CGUID+1151, 49728, 1, 1, 1, -1219.442, 1890.222, 62.10772, 1.602247, 120, 0, 0), -- 49728 (Area: 596) +(@CGUID+1152, 4695, 1, 1, 1, -1242.882, 1843.197, 50.53333, 4.301308, 120, 0, 0), -- 4695 (Area: 596) +(@CGUID+1153, 49842, 1, 1, 1, -1159.715, 1889.5, 94.45562, 3.838267, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+1154, 5641, 1, 1, 1, -1178.405, 1869.984, 94.87305, 2.949606, 120, 0, 0), -- 5641 (Area: 596) +(@CGUID+1155, 8154, 1, 1, 1, -1167.188, 1868.229, 93.07597, 5.021417, 120, 0, 0), -- 8154 (Area: 596) +(@CGUID+1156, 49842, 1, 1, 1, -1171.876, 1812.624, 65.27782, 5.387118, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+1157, 35446, 1, 1, 1, -1045.593, 1846.566, 67.90786, 1.42082, 120, 0, 0), -- 35446 (Area: 596) +(@CGUID+1158, 4700, 1, 1, 1, -1271.323, 1789.832, 62.34737, 1.013165, 120, 0, 0), -- 4700 (Area: 596) +(@CGUID+1159, 4498, 1, 1, 1, -1150.097, 1884.432, 88.83906, 1.989675, 120, 0, 0), -- 4498 (Area: 596) +(@CGUID+1160, 49842, 1, 1, 1, -1204.694, 1750.54, 101.3932, 3.454377, 120, 0, 0), -- 49842 (Area: 596) +(@CGUID+1161, 11259, 1, 1, 1, -1221.013, 1742.1, 90.71419, 5.61996, 120, 0, 0), -- 11259 (Area: 596) +(@CGUID+1162, 8154, 1, 1, 1, -1201.099, 1745.201, 94.21804, 6.034427, 120, 0, 0), -- 8154 (Area: 596) +(@CGUID+1163, 8153, 1, 1, 1, -1236.877, 1749.59, 90.24565, 5.462881, 120, 0, 0), -- 8153 (Area: 596) +(@CGUID+1164, 8154, 1, 1, 1, -1235.74, 1727.313, 89.90739, 0.8597255, 120, 0, 0), -- 8154 (Area: 596) +(@CGUID+1165, 8154, 1, 1, 1, -1270.187, 1715.625, 89.56535, 0, 120, 0, 0), -- 8154 (Area: 597) +(@CGUID+1166, 35446, 1, 1, 1, -1141.583, 1639.779, 78.33368, 4.436817, 120, 0, 0), -- 35446 (Area: 597) +(@CGUID+1167, 49842, 1, 1, 1, -1270.65, 1704.747, 97.99284, 2.337934, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1168, 8878, 1, 1, 1, -1242.668, 1722.767, 89.98553, 5.77704, 120, 0, 0), -- 8878 (Area: 597) +(@CGUID+1169, 35412, 1, 1, 1, -1128.334, 1716.568, 60.40324, 4.088882, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1170, 49842, 1, 1, 1, -1124.463, 1762.823, 64.23557, 3.955386, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1171, 35434, 1, 1, 1, -1191.228, 1671.27, 62.68686, 5.331061, 120, 0, 0), -- 35434 (Area: 597) +(@CGUID+1172, 35446, 1, 1, 1, -1284.446, 1477.085, 69.9188, 2.6297, 120, 0, 0), -- 35446 (Area: 597) +(@CGUID+1173, 11564, 1, 1, 1, -1396.3, 1513.977, 59.18671, 5.218534, 120, 0, 0), -- 11564 (Area: 4804) +(@CGUID+1174, 49778, 1, 1, 1, -1324.384, 1551.448, 59.40269, 0.2341272, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1175, 49842, 1, 1, 1, -1417.15, 1513.583, 62.7132, 0.9591898, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1176, 11564, 1, 1, 1, -1390.295, 1523.615, 59.97373, 5.969026, 120, 0, 0), -- 11564 (Area: 4804) +(@CGUID+1177, 36123, 1, 1, 1, -1231.538, 1473.066, 63.62748, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1178, 36062, 1, 1, 1, -1279.379, 1576.809, 59.57338, 5.478453, 120, 0, 0), -- 36062 (Area: 597) +(@CGUID+1179, 49842, 1, 1, 1, -1262.408, 1611.793, 63.83778, 2.631678, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1180, 35434, 1, 1, 1, -1282.032, 1512.535, 61.81539, 2.472009, 120, 0, 0), -- 35434 (Area: 597) +(@CGUID+1181, 49842, 1, 1, 1, -1217.221, 1625.761, 66.87998, 1.845167, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1182, 49842, 1, 1, 1, -1279.348, 1516.813, 66.44295, 3.565206, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1183, 49842, 1, 1, 1, -1215.396, 1530.341, 64.43837, 0.7556757, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1184, 36123, 1, 1, 1, -1266.045, 1404.066, 63.37998, 0, 120, 0, 0), -- 36123 (Area: 597) +(@CGUID+1185, 4166, 1, 1, 1, -1163.842, 1592.867, 62.61374, 0.05376418, 120, 0, 0), -- 4166 (Area: 597) +(@CGUID+1186, 49842, 1, 1, 1, -1205.186, 1580.171, 62.43311, 0.4834331, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1187, 35434, 1, 1, 1, -1205.539, 1589.785, 61.80072, 6.113732, 120, 0, 0), -- 35434 (Area: 597) +(@CGUID+1188, 4166, 1, 1, 1, -1246.365, 1521.451, 60.48114, 0.2023706, 120, 0, 0), -- 4166 (Area: 597) +(@CGUID+1189, 4166, 1, 1, 1, -1171.86, 1561.588, 61.74723, 6.094599, 120, 0, 0), -- 4166 (Area: 597) +(@CGUID+1190, 49778, 1, 1, 1, -1179.706, 1647.076, 61.80822, 2.616594, 120, 0, 0), -- 49778 (Area: 597) +(@CGUID+1191, 49728, 1, 1, 1, -1161.861, 1587.799, 62.85975, 2.586215, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1192, 35434, 1, 1, 1, -1140.055, 1658.666, 62.64765, 6.225195, 120, 0, 0), -- 35434 (Area: 597) +(@CGUID+1193, 36062, 1, 1, 1, -1161.979, 1655.33, 63.32636, 4.694813, 120, 0, 0), -- 36062 (Area: 597) +(@CGUID+1194, 35446, 1, 1, 1, -1041.65, 1633.91, 61.27963, 0.4014257, 120, 0, 0), -- 35446 (Area: 597) +(@CGUID+1195, 49842, 1, 1, 1, -1103.707, 1751.676, 65.50649, 3.666268, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1196, 35446, 1, 1, 1, -1020.543, 1642.811, 80.32849, 4.807889, 120, 0, 0), -- 35446 (Area: 597) +(@CGUID+1197, 49728, 1, 1, 1, -1107.86, 1725.402, 61.91943, 6.120825, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1198, 35450, 1, 1, 1, -1134.641, 1687.861, 61.56782, 4.332639, 120, 0, 0), -- 35450 (Area: 597) +(@CGUID+1199, 35446, 1, 1, 1, -999.4739, 1663.135, 65.31532, 2.408554, 120, 0, 0), -- 35446 (Area: 597) +(@CGUID+1200, 36062, 1, 1, 1, -1079.435, 1769.3, 60.467, 1.424861, 120, 0, 0), -- 36062 (Area: 597) +(@CGUID+1201, 49728, 1, 1, 1, -1074.274, 1766.674, 60.3323, 2.282653, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1202, 4166, 1, 1, 1, -1085.543, 1813.503, 61.6786, 4.60087, 120, 0, 0), -- 4166 (Area: 597) +(@CGUID+1203, 35412, 1, 1, 1, -1062.867, 1800.268, 63.6612, 2.385145, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1204, 49842, 1, 1, 1, -1082.474, 1854.672, 64.35493, 4.414487, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1205, 49842, 1, 1, 1, -1059.417, 1806.585, 66.84206, 0.9444019, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1206, 49842, 1, 1, 1, -1141.44, 1917.289, 95.39405, 0.4818421, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1207, 49728, 1, 1, 1, -1070.208, 1844.956, 62.66957, 0.4863413, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1208, 35412, 1, 1, 1, -1078.229, 1855.893, 61.53225, 0.437654, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1209, 8154, 1, 1, 1, -1148.928, 1915.639, 88.96189, 0.08795406, 120, 0, 0), -- 8154 (Area: 597) +(@CGUID+1210, 35412, 1, 1, 1, -1072.434, 1893.865, 60.49478, 0.2977447, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1211, 9636, 1, 1, 1, -1153.312, 1941.536, 88.95239, 5.131268, 120, 0, 0), -- 9636 (Area: 597) +(@CGUID+1212, 4166, 1, 1, 1, -1074.92, 1889.55, 60.61116, 4.510566, 120, 0, 0), -- 4166 (Area: 597) +(@CGUID+1213, 4166, 1, 1, 1, -1076.748, 1926.354, 61.62754, 6.070439, 120, 0, 0), -- 4166 (Area: 597) +(@CGUID+1214, 8152, 1, 1, 1, -1144.792, 1931.347, 89.23022, 4.607669, 120, 0, 0), -- 8152 (Area: 597) +(@CGUID+1215, 35412, 1, 1, 1, -1070.197, 1944.605, 63.16854, 0.2610352, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1216, 49728, 1, 1, 1, -1085.067, 1943.128, 61.71072, 2.630563, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1217, 49728, 1, 1, 1, -1089.118, 1979.993, 63.51378, 4.569996, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1218, 36062, 1, 1, 1, -1055.695, 1886.372, 60.64761, 1.555173, 120, 0, 0), -- 36062 (Area: 597) +(@CGUID+1219, 49728, 1, 1, 1, -1051.021, 1951.883, 63.09043, 0.1279338, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1220, 35412, 1, 1, 1, -1089.372, 1987.619, 63.97632, 0.07422738, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1221, 49842, 1, 1, 1, -1095.603, 1997.773, 67.33688, 2.96206, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1222, 49778, 1, 1, 1, -1125.967, 2027.304, 58.61863, 1.249513, 120, 0, 0), -- 49778 (Area: 597) +(@CGUID+1223, 4166, 1, 1, 1, -1068.348, 1964.463, 62.62477, 3.638356, 120, 0, 0), -- 4166 (Area: 597) +(@CGUID+1224, 49728, 1, 1, 1, -1051.789, 1918.959, 62.0066, 3.641108, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1225, 49728, 1, 1, 1, -1090.766, 2079.631, 61.78783, 2.264158, 120, 0, 0), -- 49728 (Area: 597) +(@CGUID+1226, 35412, 1, 1, 1, -1036.356, 1965.064, 63.26643, 4.875289, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1227, 35412, 1, 1, 1, -1102.047, 2080.435, 62.55502, 6.130621, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1228, 49842, 1, 1, 1, -1029.939, 1971.281, 65.56954, 5.963515, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1229, 35412, 1, 1, 1, -1049.501, 2084.037, 61.23433, 2.609487, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1230, 49835, 1, 1, 1, -1100.871, 2154.516, 63.26534, 6.229421, 120, 5, 1), -- 49835 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1231, 35446, 1, 1, 1, -941.7036, 2095.505, 76.20197, 3.262583, 120, 0, 0), -- 35446 (Area: 4804) +(@CGUID+1232, 11577, 1, 1, 1, -1067.724, 2132.179, 61.70537, 3.503791, 120, 0, 0), -- 11577 (Area: 4804) (Auras: 18148 - 18148) +(@CGUID+1233, 49842, 1, 1, 1, -1022.895, 2072.298, 65.87494, 1.892977, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1234, 11577, 1, 1, 1, -1083.225, 2140.431, 62.10433, 4.382442, 120, 0, 0), -- 11577 (Area: 4804) (Auras: 18148 - 18148) +(@CGUID+1235, 35412, 1, 1, 1, -1006.86, 2108.581, 62.6166, 1.233131, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1236, 11577, 1, 1, 1, -1078.862, 2188.986, 66.75655, 5.206595, 120, 0, 0), -- 11577 (Area: 4804) (Auras: 18148 - 18148) +(@CGUID+1237, 11577, 1, 1, 1, -1009.287, 2191.81, 92.01993, 4.276754, 120, 0, 0), -- 11577 (Area: 4804) (Auras: 18148 - 18148) +(@CGUID+1238, 11577, 1, 1, 1, -983.6906, 2247.916, 84.81229, 0.6285049, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1239, 4693, 1, 1, 1, -981.5616, 2286.057, 85.59591, 4.867265, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+1240, 62186, 1, 1, 1, -890.9521, 2278.135, 90.58881, 0.4152732, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+1241, 4727, 1, 1, 1, -918.4149, 2288.255, 88.74843, 4.767921, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+1242, 4729, 1, 1, 1, -863.3348, 2350.539, 93.31829, 3.170881, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+1243, 4075, 1, 1, 1, -906.8267, 2240.957, 89.41215, 0.880837, 120, 0, 0), -- 4075 (Area: 0) +(@CGUID+1244, 4693, 1, 1, 1, -922.1659, 2251.623, 87.5535, 2.035006, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+1245, 49835, 1, 1, 1, -917.0233, 2190.134, 95.01813, 2.765408, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1246, 62186, 1, 1, 1, -971.8335, 2215.056, 85.90968, 3.182585, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+1247, 11577, 1, 1, 1, -971.858, 2174.785, 90.50999, 5.555164, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1248, 11577, 1, 1, 1, -941.0391, 2153.195, 93.25955, 1.961456, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1249, 11577, 1, 1, 1, -914.1309, 2186.789, 95.16006, 0.4178464, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1250, 11577, 1, 1, 1, -988.722, 2142.432, 63.76867, 0.2544153, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1251, 35412, 1, 1, 1, -940.1204, 2106.516, 64.33829, 2.596574, 120, 0, 0), -- 35412 (Area: 0) +(@CGUID+1252, 49842, 1, 1, 1, -987.1317, 2074.759, 64.937, 0.1757268, 120, 0, 0), -- 49842 (Area: 0) +(@CGUID+1253, 36062, 1, 1, 1, -974.7656, 2080.485, 63.10242, 2.301653, 120, 0, 0), -- 36062 (Area: 0) +(@CGUID+1254, 35412, 1, 1, 1, -974.3901, 2042.392, 61.29262, 2.084703, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1255, 49842, 1, 1, 1, -986.8755, 2032.451, 64.83384, 0.5130336, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1256, 4075, 1, 1, 1, -997.0164, 2031.204, 62.67564, 4.296757, 120, 0, 0), -- 4075 (Area: 4804) +(@CGUID+1257, 36123, 1, 1, 1, -922.6719, 1926.033, 60.83963, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1258, 35446, 1, 1, 1, -907.9285, 1929.022, 77.27628, 3.763322, 120, 0, 0), -- 35446 (Area: 4804) +(@CGUID+1259, 35446, 1, 1, 1, -962.2057, 1851.743, 70.25865, 3.333928, 120, 0, 0), -- 35446 (Area: 4804) +(@CGUID+1260, 4166, 1, 1, 1, -1048.451, 1902.869, 60.21632, 4.348092, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1261, 35412, 1, 1, 1, -1026.733, 1913.152, 61.37747, 0.5190345, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1262, 62177, 1, 1, 1, -1045.354, 1873.894, 65.41665, 4.976479, 120, 5, 1), -- 62177 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1263, 35412, 1, 1, 1, -1015.411, 1871.288, 60.5771, 4.25868, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1264, 49842, 1, 1, 1, -1013.905, 1849.733, 62.39036, 0.4153547, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1265, 35412, 1, 1, 1, -1010.017, 1824.536, 62.20824, 4.67001, 120, 0, 0), -- 35412 (Area: 597) +(@CGUID+1266, 4166, 1, 1, 1, -1041.368, 1783.265, 63.76447, 3.901426, 120, 0, 0), -- 4166 (Area: 597) +(@CGUID+1267, 49842, 1, 1, 1, -1012.859, 1816.054, 64.94106, 4.777748, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1268, 49778, 1, 1, 1, -1047.045, 1750.554, 64.23807, 3.694161, 120, 0, 0), -- 49778 (Area: 597) +(@CGUID+1269, 49842, 1, 1, 1, -1012.947, 1754.254, 66.76697, 2.222154, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1270, 35446, 1, 1, 1, -959.8768, 1664.172, 65.31532, 0.6283185, 120, 0, 0), -- 35446 (Area: 597) +(@CGUID+1271, 36227, 1, 1, 1, -978.0139, 1643.745, 67.03333, 1.605703, 120, 0, 0), -- 36227 (Area: 597) +(@CGUID+1272, 35446, 1, 1, 1, -976.7831, 1667.686, 77.45885, 2.901136, 120, 0, 0), -- 35446 (Area: 597) +(@CGUID+1273, 49842, 1, 1, 1, -1041.04, 1711.322, 81.36635, 3.553722, 120, 0, 0), -- 49842 (Area: 597) +(@CGUID+1274, 43889, 1, 1, 1, -1074.72, 1661.23, 59.80303, 3.700098, 120, 0, 0), -- 43889 (Area: 597) (Auras: ) +(@CGUID+1275, 43872, 1, 1, 1, -1047.23, 1683.57, 60.22193, 5.183628, 120, 0, 0), -- 43872 (Area: 597) +(@CGUID+1276, 43889, 1, 1, 1, -1070.33, 1650.97, 59.75073, 3.700098, 120, 0, 0), -- 43889 (Area: 597) (Auras: ) +(@CGUID+1277, 49842, 1, 1, 1, -1093.631, 1566.825, 63.27626, 3.840742, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1278, 4166, 1, 1, 1, -1133.57, 1538.437, 60.70749, 0.470759, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1279, 49842, 1, 1, 1, -1100.124, 1514.207, 63.8221, 4.305628, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1280, 36123, 1, 1, 1, -1084.236, 1416.611, 61.77152, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1281, 36094, 1, 1, 1, -1225.949, 1489.617, 62.01647, 1.817717, 120, 0, 0), -- 36094 (Area: 4804) (Auras: 18501 - 18501) +(@CGUID+1282, 36123, 1, 1, 1, -1090.97, 1385.396, 61.98328, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1283, 49842, 1, 1, 1, -1169.7, 1486.067, 74.69957, 0.4729526, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1284, 49842, 1, 1, 1, -1202.213, 1477.074, 65.36181, 3.262326, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1285, 36062, 1, 1, 1, -1204.045, 1487.173, 62.52874, 1.85101, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1286, 35409, 1, 1, 1, -1048.261, 1480.023, 62.5531, 0.01875436, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1287, 35434, 1, 1, 1, -1141.119, 1443.367, 62.20135, 3.920111, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1288, 36123, 1, 1, 1, -1049.99, 1358.8, 65.77214, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1289, 4166, 1, 1, 1, -1154.423, 1440.28, 62.59466, 3.337216, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1290, 35409, 1, 1, 1, -1053.402, 1443.857, 63.78188, 6.086556, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1291, 4166, 1, 1, 1, -1062.246, 1449.484, 63.24734, 6.244479, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1292, 49778, 1, 1, 1, -1254.945, 1478.63, 61.60624, 0.8057154, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1293, 35434, 1, 1, 1, -1191.449, 1431.205, 62.00172, 0.6759923, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1294, 36123, 1, 1, 1, -1103.977, 1303.438, 90.58231, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1295, 36123, 1, 1, 1, -1308.599, 1384.816, 62.75456, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1296, 49778, 1, 1, 1, -1171.017, 1411.996, 62.81483, 2.003323, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1297, 49842, 1, 1, 1, -1207.314, 1422.093, 65.96867, 3.976279, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1298, 36123, 1, 1, 1, -1340.845, 1389.974, 63.95323, 0, 120, 0, 0), -- 36123 (Area: 4804) +(@CGUID+1299, 35434, 1, 1, 1, -1250.755, 1458.287, 61.05756, 1.223527, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1300, 4166, 1, 1, 1, -1309.878, 1450.62, 60.51457, 5.105239, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1301, 36062, 1, 1, 1, -1324.156, 1491.287, 61.67476, 3.00387, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1302, 36094, 1, 1, 1, -1328.667, 1433.626, 63.385, 3.764534, 120, 0, 0), -- 36094 (Area: 4804) (Auras: 18501 - 18501) +(@CGUID+1303, 49842, 1, 1, 1, -1355.595, 1453.536, 64.70469, 2.37362, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1304, 11596, 1, 1, 1, -1402.431, 1497.075, 61.37298, 2.6529, 120, 0, 0), -- 11596 (Area: 4804) +(@CGUID+1305, 11564, 1, 1, 1, -1426.319, 1477.151, 59.7416, 5.67232, 120, 0, 0), -- 11564 (Area: 2617) +(@CGUID+1306, 4692, 1, 1, 1, -1498.245, 1527.63, 62.69506, 3.474062, 120, 0, 0), -- 4692 (Area: 4804) +(@CGUID+1307, 50481, 1, 1, 1, -1479.227, 1481.601, 59.04992, 4.286636, 120, 5, 1), -- 50481 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1308, 4692, 1, 1, 1, -1507.035, 1460.952, 60.05187, 2.454344, 120, 0, 0), -- 4692 (Area: 2617) +(@CGUID+1309, 4075, 1, 1, 1, -1515.055, 1506.132, 62.14528, 6.151168, 120, 0, 0), -- 4075 (Area: 2617) +(@CGUID+1310, 4696, 1, 1, 1, -1519.443, 1489.082, 62.40416, 4.274937, 120, 0, 0), -- 4696 (Area: 2617) +(@CGUID+1311, 62187, 1, 1, 1, -1585.157, 1449.245, 59.5393, 2.380344, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+1312, 4727, 1, 1, 1, -1560.754, 1394.473, 58.43911, 3.88282, 120, 0, 0), -- 4727 (Area: 0) +(@CGUID+1313, 4694, 1, 1, 1, -1612.083, 1371.131, 62.68035, 3.454373, 120, 0, 0), -- 4694 (Area: 0) +(@CGUID+1314, 4692, 1, 1, 1, -1528.481, 1366.147, 60.90514, 5.518854, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1315, 4639, 1, 1, 1, -1617.985, 1244.679, 90.74921, 3.717551, 120, 0, 0), -- 4639 (Area: 0) +(@CGUID+1316, 50481, 1, 1, 1, -1612.279, 1216.21, 93.71639, 4.659652, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+1317, 4726, 1, 1, 1, -1592.492, 1212.799, 88.92692, 1.512237, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1318, 4640, 1, 1, 1, -1615.742, 1082.416, 89.01033, 4.537856, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+1319, 62187, 1, 1, 1, -1580.817, 1081.756, 89.47976, 5.729962, 120, 0, 0), -- 62187 (Area: 604) +(@CGUID+1320, 4692, 1, 1, 1, -1570.051, 1115.608, 90.74628, 2.97365, 120, 0, 0), -- 4692 (Area: 604) +(@CGUID+1321, 35452, 1, 1, 1, -1601.574, 1060.961, 92.92642, 0.7087752, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+1322, 4638, 1, 1, 1, -1587.958, 1051.093, 92.30904, 0.4886922, 120, 0, 0), -- 4638 (Area: 604) +(@CGUID+1323, 35452, 1, 1, 1, -1581.851, 1015.492, 90.84113, 5.07319, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+1324, 35452, 1, 1, 1, -1620.449, 921.1182, 87.43069, 1.069579, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+1325, 4641, 1, 1, 1, -1617.066, 883.91, 90.31564, 5.323254, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+1326, 35452, 1, 1, 1, -1626.109, 869.6815, 90.27531, 4.91969, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+1327, 4640, 1, 1, 1, -1645.244, 845.7397, 92.6019, 5.61996, 120, 0, 0), -- 4640 (Area: 604) +(@CGUID+1328, 4638, 1, 1, 1, -1585.542, 857.6346, 111.6865, 1.204277, 120, 0, 0), -- 4638 (Area: 604) +(@CGUID+1329, 4641, 1, 1, 1, -1578.091, 919.6523, 89.22952, 0.1570796, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+1330, 4641, 1, 1, 1, -1684.001, 815.2184, 97.59347, 3.438299, 120, 0, 0), -- 4641 (Area: 604) +(@CGUID+1331, 4075, 1, 1, 1, -1676.535, 840.2351, 93.70979, 4.08862, 120, 0, 0), -- 4075 (Area: 604) +(@CGUID+1332, 35452, 1, 1, 1, -1557.91, 927.5523, 89.54965, 0.6831851, 120, 0, 0), -- 35452 (Area: 604) +(@CGUID+1333, 4639, 1, 1, 1, -1518.337, 916.166, 89.97877, 3.665191, 120, 0, 0), -- 4639 (Area: 604) +(@CGUID+1334, 4638, 1, 1, 1, -1549.023, 952.4391, 91.00304, 4.276057, 120, 0, 0), -- 4638 (Area: 604) +(@CGUID+1335, 62184, 1, 1, 1, -1465.603, 936.861, 90.92416, 2.476252, 120, 5, 1), -- 62184 (Area: 604) (possible waypoints or random movement) +(@CGUID+1336, 4726, 1, 1, 1, -1434.662, 889.4368, 91.69678, 2.51646, 120, 0, 0), -- 4726 (Area: 604) +(@CGUID+1337, 4692, 1, 1, 1, -1473.666, 952.8151, 91.5207, 0.3805064, 120, 0, 0), -- 4692 (Area: 604) +(@CGUID+1338, 4726, 1, 1, 1, -1413.059, 941.8646, 92.04754, 4.571321, 120, 0, 0), -- 4726 (Area: 604) +(@CGUID+1339, 62187, 1, 1, 1, -1397.37, 948.9688, 90.09061, 0, 120, 5, 1), -- 62187 (Area: 604) (possible waypoints or random movement) +(@CGUID+1340, 4692, 1, 1, 1, -1351.373, 902.483, 104.2934, 1.29196, 120, 0, 0), -- 4692 (Area: 604) +(@CGUID+1341, 4726, 1, 1, 1, -1332.258, 880.0877, 113.1629, 6.081489, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1342, 50481, 1, 1, 1, -1360.119, 1021.724, 91.16807, 1.257075, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1343, 62187, 1, 1, 1, -1431.141, 1015.413, 89.63264, 0, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+1344, 4726, 1, 1, 1, -1353.729, 1022.261, 90.95146, 5.669689, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1345, 4692, 1, 1, 1, -1319.709, 991.6577, 91.80985, 4.467884, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1346, 4697, 1, 1, 1, -1453.167, 1017.584, 89.47977, 6.097656, 120, 0, 0), -- 4697 (Area: 0) +(@CGUID+1347, 11576, 1, 1, 1, -1413.176, 1076.708, 93.9562, 1.537573, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+1348, 4692, 1, 1, 1, -1460.488, 1079.186, 91.11099, 0.5871896, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1349, 62187, 1, 1, 1, -1512.897, 1016.252, 89.5458, 4.497851, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+1350, 62185, 1, 1, 1, -1508.643, 1064.306, 92.85429, 1.548645, 120, 0, 0), -- 62185 (Area: 0) +(@CGUID+1351, 62187, 1, 1, 1, -1457.442, 1123.752, 91.43851, 2.299547, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+1352, 49835, 1, 1, 1, -1389.996, 1094.839, 96.79356, 1.289814, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1353, 4697, 1, 1, 1, -1457.298, 1135.447, 94.75845, 5.850096, 120, 0, 0), -- 4697 (Area: 0) +(@CGUID+1354, 4692, 1, 1, 1, -1508.67, 1119.039, 92.06779, 6.210905, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1355, 4700, 1, 1, 1, -1438.705, 1156.003, 134.4924, 1.621583, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+1356, 4692, 1, 1, 1, -1386.795, 1144.653, 90.72691, 1.553611, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1357, 62187, 1, 1, 1, -1379.364, 1152.827, 89.52853, 0.2099762, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+1358, 4700, 1, 1, 1, -1445.39, 1194.1, 111.429, 1.270826, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+1359, 61169, 1, 1, 1, -1510.51, 1200.509, 99.279, 4.909019, 120, 0, 0), -- 61169 (Area: 0) +(@CGUID+1360, 4701, 1, 1, 1, -1452.709, 1200.354, 109.8161, 1.451406, 120, 0, 0), -- 4701 (Area: 0) +(@CGUID+1361, 4692, 1, 1, 1, -1450.077, 1221.574, 104.6697, 4.091277, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1362, 62185, 1, 1, 1, -1559.018, 1140.631, 90.65842, 3.924139, 120, 0, 0), -- 62185 (Area: 0) +(@CGUID+1363, 4697, 1, 1, 1, -1367.298, 1181.003, 93.1096, 3.121088, 120, 0, 0), -- 4697 (Area: 0) +(@CGUID+1364, 49839, 1, 1, 1, -1366.153, 1151.849, 90.01019, 3.039785, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1365, 4726, 1, 1, 1, -1382.815, 1261.082, 100.0667, 5.546159, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1366, 49835, 1, 1, 1, -1488.331, 1300.742, 66.07287, 0.9903713, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+1367, 4726, 1, 1, 1, -1443.885, 1302.717, 66.04493, 6.001266, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1368, 4692, 1, 1, 1, -1378.602, 1318.927, 87.15658, 1.326055, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1369, 49839, 1, 1, 1, -1340.578, 1290.667, 95.3615, 3.346979, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1370, 50481, 1, 1, 1, -1442.089, 1359.791, 61.10557, 4.766088, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+1371, 4693, 1, 1, 1, -1383.723, 1362.714, 61.9893, 0.4416227, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+1372, 4696, 1, 1, 1, -1423.119, 1382.224, 60.25754, 0.001389576, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+1373, 4700, 1, 1, 1, -1397.008, 1408.162, 60.77021, 0.8098964, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+1374, 35434, 1, 1, 1, -1261.201, 1410.625, 62.49468, 5.347352, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1375, 36062, 1, 1, 1, -1288.542, 1408.634, 61.79412, 0.4898425, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1376, 49842, 1, 1, 1, -1311.248, 1415.521, 64.53159, 3.71689, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1377, 62178, 1, 1, 1, -1285.147, 1397.227, 62.11502, 0.3230793, 120, 0, 0), -- 62178 (Area: 4804) +(@CGUID+1378, 35434, 1, 1, 1, -1317.097, 1388.61, 62.37593, 2.867374, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1379, 49778, 1, 1, 1, -1233.177, 1392.34, 62.9872, 0.4837498, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1380, 4166, 1, 1, 1, -1240.713, 1374.782, 63.84644, 0.637811, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1381, 35434, 1, 1, 1, -1284.752, 1332.019, 66.80331, 0.6547378, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1382, 4076, 1, 1, 1, -1310.061, 1376.448, 62.6313, 3.291425, 120, 0, 0), -- 4076 (Area: 4804) +(@CGUID+1383, 4692, 1, 1, 1, -1327.099, 1276.712, 99.23147, 4.622437, 120, 0, 0), -- 4692 (Area: 4804) +(@CGUID+1384, 49842, 1, 1, 1, -1248.122, 1376.437, 69.91432, 1.08138, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1385, 36094, 1, 1, 1, -1258.925, 1323.439, 64.99498, 3.631681, 120, 0, 0), -- 36094 (Area: 4804) (Auras: 18501 - 18501) +(@CGUID+1386, 4692, 1, 1, 1, -1287.046, 1249.596, 104.0367, 3.824416, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1387, 35434, 1, 1, 1, -1210.246, 1299.839, 91.25027, 4.859396, 120, 0, 0), -- 35434 (Area: 0) +(@CGUID+1388, 11577, 1, 1, 1, -1219.559, 1253.493, 96.34898, 0.0557288, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1389, 4726, 1, 1, 1, -1317.589, 1193.194, 94.51567, 2.370006, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1390, 4726, 1, 1, 1, -1268.949, 1163.916, 92.042, 0.7821099, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1391, 4726, 1, 1, 1, -1349.464, 1107.552, 89.73487, 4.77103, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1392, 4692, 1, 1, 1, -1326.386, 1141.52, 90.56783, 3.60304, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1393, 62184, 1, 1, 1, -1316.363, 1140.695, 91.46012, 4.774454, 120, 0, 0), -- 62184 (Area: 0) +(@CGUID+1394, 4692, 1, 1, 1, -1298.022, 1099.099, 93.17, 2.37829, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1395, 4638, 1, 1, 1, -1243.727, 1129.766, 90.42235, 1.731611, 120, 0, 0), -- 4638 (Area: 0) +(@CGUID+1396, 4697, 1, 1, 1, -1312.842, 1057.481, 91.97428, 1.56689, 120, 0, 0), -- 4697 (Area: 0) +(@CGUID+1397, 4697, 1, 1, 1, -1277.111, 971.1258, 90.82087, 4.429259, 120, 0, 0), -- 4697 (Area: 0) +(@CGUID+1398, 4692, 1, 1, 1, -1286.521, 905.578, 104.6912, 3.395092, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1399, 49835, 1, 1, 1, -1252.085, 947.7649, 91.7204, 3.608608, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1400, 4692, 1, 1, 1, -1254.651, 874.0469, 117.3535, 2.826015, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1401, 4642, 1, 1, 1, -1219.321, 945.4191, 92.31423, 1.390405, 120, 0, 0), -- 4642 (Area: 0) (Auras: 101639 - 101639) +(@CGUID+1402, 4726, 1, 1, 1, -1220.131, 842.137, 136.2374, 2.63797, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1403, 4641, 1, 1, 1, -1191.259, 906.7399, 93.31897, 3.880431, 120, 0, 0), -- 4641 (Area: 0) +(@CGUID+1404, 4693, 1, 1, 1, -1184.014, 788.3885, 162.7814, 4.236454, 120, 0, 0), -- 4693 (Area: 4797) +(@CGUID+1405, 4642, 1, 1, 1, -1185.083, 946.6389, 91.60433, 4.101524, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1406, 4645, 1, 1, 1, -1173.338, 935.6719, 90.7913, 2.65803, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1407, 4640, 1, 1, 1, -1216.415, 990.5018, 91.88448, 3.717551, 120, 0, 0), -- 4640 (Area: 4797) +(@CGUID+1408, 36134, 1, 1, 1, -1224.406, 1021.195, 91.04468, 2.879793, 120, 0, 0), -- 36134 (Area: 4797) (Auras: 7165 - 7165) +(@CGUID+1409, 36137, 1, 1, 1, -1192.528, 1012.052, 90.44324, 2.408554, 120, 0, 0), -- 36137 (Area: 4797) +(@CGUID+1410, 36137, 1, 1, 1, -1196.825, 1023.927, 90.40278, 3.113533, 120, 5, 1), -- 36137 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1411, 36137, 1, 1, 1, -1204.031, 1002.123, 91.88783, 2.268928, 120, 0, 0), -- 36137 (Area: 4797) +(@CGUID+1412, 36137, 1, 1, 1, -1206.359, 1026.526, 90.65278, 1.377218, 120, 5, 1), -- 36137 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1413, 49835, 1, 1, 1, -1241.868, 1017.712, 91.27778, 5.903232, 120, 5, 1), -- 49835 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1414, 36137, 1, 1, 1, -1211.859, 1013.295, 92.24494, 5.282726, 120, 5, 1), -- 36137 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1415, 36137, 1, 1, 1, -1210.653, 1002.002, 92.43671, 2.04151, 120, 5, 1), -- 36137 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1416, 36137, 1, 1, 1, -1204.345, 1011.847, 91.77108, 3.692648, 120, 5, 1), -- 36137 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1417, 36137, 1, 1, 1, -1189.309, 1035.869, 90.42216, 1.384415, 120, 5, 1), -- 36137 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1418, 49835, 1, 1, 1, -1197.153, 1064.312, 91.0051, 5.273628, 120, 5, 1), -- 49835 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1419, 4640, 1, 1, 1, -1204.955, 1039.924, 91.04218, 2.024582, 120, 0, 0), -- 4640 (Area: 4797) +(@CGUID+1420, 4726, 1, 1, 1, -1250.571, 1049.455, 92.29627, 0.7615705, 120, 0, 0), -- 4726 (Area: 4797) +(@CGUID+1421, 4692, 1, 1, 1, -1247.981, 1078.449, 91.70537, 0.00683583, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1422, 4692, 1, 1, 1, -1213.74, 1131.444, 92.50906, 4.332245, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1423, 49835, 1, 1, 1, -1182.702, 1180.288, 96.99835, 1.734192, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1424, 4692, 1, 1, 1, -1129.875, 1130.646, 99.50584, 0.4120749, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1425, 50481, 1, 1, 1, -1144, 1213.554, 94.31342, 5.020523, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1426, 50481, 1, 1, 1, -1219.404, 1216.898, 101.3504, 3.044837, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+1427, 49728, 1, 1, 1, -1170.433, 1292.289, 89.2569, 3.2613, 120, 0, 0), -- 49728 (Area: 0) +(@CGUID+1428, 35434, 1, 1, 1, -1180.526, 1277.189, 91.20409, 3.555546, 120, 0, 0), -- 35434 (Area: 0) +(@CGUID+1429, 49842, 1, 1, 1, -1110.368, 1300.986, 93.2893, 2.983674, 120, 0, 0), -- 49842 (Area: 0) +(@CGUID+1430, 49842, 1, 1, 1, -1098.738, 1267.281, 93.10919, 3.063562, 120, 0, 0), -- 49842 (Area: 0) +(@CGUID+1431, 35409, 1, 1, 1, -1098.058, 1273.7, 90.2477, 2.663856, 120, 0, 0), -- 35409 (Area: 0) +(@CGUID+1432, 35434, 1, 1, 1, -1148.548, 1311.45, 85.82095, 2.61265, 120, 0, 0), -- 35434 (Area: 0) +(@CGUID+1433, 35434, 1, 1, 1, -1166.776, 1387.171, 63.70806, 5.732357, 120, 0, 0), -- 35434 (Area: 4804) +(@CGUID+1434, 35409, 1, 1, 1, -1079.285, 1295.532, 91.79678, 0.3622841, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1435, 4166, 1, 1, 1, -1194.171, 1377.376, 64.09673, 4.112168, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1436, 36062, 1, 1, 1, -1177.018, 1378.295, 62.26787, 4.104335, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1437, 4166, 1, 1, 1, -1099.311, 1376.761, 61.97832, 2.961041, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1438, 4166, 1, 1, 1, -1068.237, 1406.773, 62.52685, 5.46465, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1439, 49728, 1, 1, 1, -1089.913, 1391.684, 61.56597, 3.71495, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1440, 49842, 1, 1, 1, -1111.014, 1402.569, 65.12205, 4.311486, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1441, 36052, 1, 1, 1, -1042.476, 1605.448, 59.93917, 0.8028514, 120, 0, 0), -- 36052 (Area: 4804) +(@CGUID+1442, 4166, 1, 1, 1, -1005.022, 1504.482, 62.23537, 5.954591, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1443, 49842, 1, 1, 1, -1010.583, 1518.806, 63.64902, 2.652313, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1444, 49842, 1, 1, 1, -1025.412, 1617.541, 62.56201, 1.182117, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1445, 49842, 1, 1, 1, -1037.439, 1624.037, 72.76822, 0.4465873, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1446, 49842, 1, 1, 1, -1007.205, 1604.315, 66.56854, 4.139546, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1447, 36060, 1, 1, 1, -1009.151, 1599.24, 59.94839, 0.8552113, 120, 0, 0), -- 36060 (Area: 4804) +(@CGUID+1448, 49842, 1, 1, 1, -996.5353, 1585.846, 78.59214, 1.278254, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1449, 35478, 1, 1, 1, -1039.333, 1638.464, 60.76212, 6.161012, 120, 0, 0), -- 35478 (Area: 4804) +(@CGUID+1450, 43889, 1, 1, 1, -990.332, 1551.42, 61.02823, 3.926991, 120, 0, 0), -- 43889 (Area: 4804) (Auras: ) +(@CGUID+1451, 43880, 1, 1, 1, -994.738, 1597.01, 59.94843, 1.308997, 120, 0, 0), -- 43880 (Area: 4805) +(@CGUID+1452, 36056, 1, 1, 1, -1050.286, 1612.835, 60.25499, 6.195919, 120, 0, 0), -- 36056 (Area: 4805) (Auras: 49414 - 49414, 7165 - 7165) +(@CGUID+1453, 43877, 1, 1, 1, -1035.4, 1672.33, 60.07953, 5.148721, 120, 0, 0), -- 43877 (Area: 4805) +(@CGUID+1454, 49842, 1, 1, 1, -1020.548, 1670.337, 62.2085, 1.11001, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1455, 43889, 1, 1, 1, -987.714, 1679.51, 60.28323, 1.727876, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1456, 36034, 1, 1, 1, -978.4757, 1649.804, 68.32655, 1.658063, 120, 0, 0), -- 36034 (Area: 4805) +(@CGUID+1457, 49842, 1, 1, 1, -988.8721, 1671.767, 67.93172, 0.4679764, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1458, 4075, 1, 1, 1, -976.7049, 1646.998, 59.9549, 5.113815, 120, 0, 0), -- 4075 (Area: 4805) +(@CGUID+1459, 43889, 1, 1, 1, -973.786, 1681.22, 60.29823, 1.727876, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1460, 43889, 1, 1, 1, -992.476, 1717.08, 60.85623, 1.727876, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1461, 4166, 1, 1, 1, -1001.43, 1706.025, 61.5872, 2.569879, 120, 0, 0), -- 4166 (Area: 4805) +(@CGUID+1462, 49842, 1, 1, 1, -959.7257, 1577.206, 64.39566, 3.704605, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1463, 49842, 1, 1, 1, -928.9653, 1642.927, 61.55633, 5.484999, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1464, 49842, 1, 1, 1, -960.9651, 1682.745, 63.21635, 2.349913, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1465, 62177, 1, 1, 1, -975.551, 1585.446, 64.45361, 2.353925, 120, 5, 1), -- 62177 (Area: 4805) (possible waypoints or random movement) +(@CGUID+1466, 43889, 1, 1, 1, -976.464, 1718.35, 61.20793, 1.727876, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1467, 49842, 1, 1, 1, -933.3612, 1610.7, 64.25483, 2.365154, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1468, 49842, 1, 1, 1, -977.0857, 1718.882, 62.39581, 0.9972269, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1469, 49842, 1, 1, 1, -931.2523, 1664.86, 63.812, 4.96067, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1470, 43882, 1, 1, 1, -935.023, 1596.48, 60.67493, 2.495821, 120, 0, 0), -- 43882 (Area: 4805) +(@CGUID+1471, 66372, 1, 1, 1, -917.5243, 1665.682, 59.94839, 3.801909, 120, 0, 0), -- 66372 (Area: 4805) +(@CGUID+1472, 66375, 1, 1, 1, -915.6545, 1667.306, 59.94839, 3.801909, 120, 0, 0), -- 66375 (Area: 4805) +(@CGUID+1473, 66376, 1, 1, 1, -916.2795, 1664.504, 59.94839, 3.801909, 120, 0, 0), -- 66376 (Area: 4805) +(@CGUID+1474, 66377, 1, 1, 1, -918.9114, 1666.781, 59.94839, 3.801909, 120, 0, 0), -- 66377 (Area: 4805) +(@CGUID+1475, 43889, 1, 1, 1, -919.682, 1597.88, 60.21143, 5.462881, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1476, 43889, 1, 1, 1, -981.325, 1544.58, 60.64233, 3.804818, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1477, 36048, 1, 1, 1, -939.2361, 1590.493, 60.82125, 2.792527, 120, 0, 0), -- 36048 (Area: 4805) +(@CGUID+1478, 43887, 1, 1, 1, -918.655, 1624.74, 59.84173, 2.70526, 120, 0, 0), -- 43887 (Area: 4805) +(@CGUID+1479, 49842, 1, 1, 1, -970.2525, 1551.44, 63.68513, 0.9083873, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1480, 43889, 1, 1, 1, -913.531, 1603.76, 60.12923, 5.462881, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1481, 49842, 1, 1, 1, -902.0525, 1528.514, 64.57227, 3.963616, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1482, 49842, 1, 1, 1, -915.0402, 1541.126, 62.75882, 0.3632459, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1483, 43889, 1, 1, 1, -890.373, 1564.98, 60.69853, 5.864306, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1484, 35446, 1, 1, 1, -781.0616, 1575.008, 104.5114, 5.238897, 120, 0, 0), -- 35446 (Area: 4805) +(@CGUID+1485, 43889, 1, 1, 1, -882.524, 1573.07, 60.90973, 5.148721, 120, 0, 0), -- 43889 (Area: 4805) (Auras: ) +(@CGUID+1486, 49842, 1, 1, 1, -902.7459, 1567.742, 64.07615, 2.770137, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1487, 49842, 1, 1, 1, -901.8534, 1658.291, 77.23596, 1.175139, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1488, 49842, 1, 1, 1, -897.4781, 1676.687, 69.937, 0.6556528, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1489, 35409, 1, 1, 1, -907.53, 1513.735, 62.11966, 1.382209, 120, 0, 0), -- 35409 (Area: 4805) +(@CGUID+1490, 35446, 1, 1, 1, -908.5533, 1454.486, 87.70601, 3.312545, 120, 0, 0), -- 35446 (Area: 4805) +(@CGUID+1491, 49842, 1, 1, 1, -984.8715, 1475.988, 66.04434, 0.004355155, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1492, 13321, 1, 1, 1, -929.5352, 1480.229, 61.83461, 4.922732, 120, 0, 0), -- 13321 (Area: 4805) +(@CGUID+1493, 61071, 1, 1, 1, -911.3203, 1495.852, 61.99305, 1.598133, 120, 5, 1), -- 61071 (Area: 4805) (possible waypoints or random movement) +(@CGUID+1494, 49728, 1, 1, 1, -889.6691, 1506.964, 62.24503, 0.1738232, 120, 0, 0), -- 49728 (Area: 4805) +(@CGUID+1495, 35409, 1, 1, 1, -963.3226, 1473.113, 63.40769, 4.789739, 120, 0, 0), -- 35409 (Area: 4805) +(@CGUID+1496, 4166, 1, 1, 1, -866.8395, 1516.727, 61.39006, 5.553707, 120, 0, 0), -- 4166 (Area: 4805) +(@CGUID+1497, 4166, 1, 1, 1, -895.7737, 1492.914, 61.36461, 0.3882275, 120, 0, 0), -- 4166 (Area: 4805) +(@CGUID+1498, 35409, 1, 1, 1, -903.1038, 1479.88, 65.24428, 1.053103, 120, 0, 0), -- 35409 (Area: 4805) +(@CGUID+1499, 4166, 1, 1, 1, -873.0488, 1681.665, 61.62107, 3.690882, 120, 0, 0), -- 4166 (Area: 4805) +(@CGUID+1500, 49842, 1, 1, 1, -883.7299, 1699.317, 66.44807, 1.769849, 120, 0, 0), -- 49842 (Area: 4805) +(@CGUID+1501, 4166, 1, 1, 1, -970.9661, 1752.618, 62.37833, 3.535623, 120, 0, 0), -- 4166 (Area: 4805) +(@CGUID+1502, 35412, 1, 1, 1, -877.6465, 1739.944, 62.86187, 3.715892, 120, 0, 0), -- 35412 (Area: 4805) +(@CGUID+1503, 36123, 1, 1, 1, -872.0938, 1828.092, 62.01078, 0, 120, 0, 0), -- 36123 (Area: 4805) +(@CGUID+1504, 35412, 1, 1, 1, -802.0515, 1638.682, 89.41881, 5.245994, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1505, 4166, 1, 1, 1, -850.6006, 1785.344, 65.07163, 2.245165, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1506, 35446, 1, 1, 1, -755.8076, 1758.861, 104.4534, 4.667224, 120, 0, 0), -- 35446 (Area: 4804) +(@CGUID+1507, 49842, 1, 1, 1, -841.9736, 1825.372, 65.36277, 1.53907, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1508, 49842, 1, 1, 1, -852.114, 1838.145, 64.95786, 0.74672, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1509, 35412, 1, 1, 1, -861.6705, 1827.294, 62.41159, 5.657519, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1510, 4166, 1, 1, 1, -781.3271, 1753.235, 94.55141, 5.908657, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1511, 49728, 1, 1, 1, -889.845, 1824.852, 61.60693, 3.134973, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1512, 49778, 1, 1, 1, -944.7785, 1791.438, 61.3195, 1.4376, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1513, 49728, 1, 1, 1, -859.1525, 1841.993, 61.46812, 1.862005, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1514, 36062, 1, 1, 1, -883.1341, 1838.743, 60.48253, 1.811113, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1515, 35412, 1, 1, 1, -935.3625, 1799.182, 59.91911, 0.8458051, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1516, 35412, 1, 1, 1, -758.4283, 1758.755, 94.03344, 5.562596, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1517, 62177, 1, 1, 1, -848.1947, 1845.501, 64.10093, 1.130834, 120, 5, 1), -- 62177 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1518, 49842, 1, 1, 1, -945.4445, 1807.077, 62.3184, 5.241341, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1519, 4166, 1, 1, 1, -884.8798, 1854.327, 60.1539, 1.732117, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1520, 49842, 1, 1, 1, -971.6558, 1777.29, 63.41713, 4.125189, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1521, 49778, 1, 1, 1, -971.3707, 1875.841, 58.58508, 6.206758, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1522, 49842, 1, 1, 1, -979.1624, 1853.176, 61.05351, 2.401231, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1523, 35412, 1, 1, 1, -948.3141, 1856.682, 59.17071, 3.381418, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1524, 49842, 1, 1, 1, -956.5819, 1851.319, 61.29774, 4.304032, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1525, 49842, 1, 1, 1, -951.113, 1836.694, 63.08377, 3.966234, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1526, 49842, 1, 1, 1, -941.3676, 1861.642, 62.2919, 1.162494, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1527, 4076, 1, 1, 1, -954.124, 1896.153, 60.00371, 1.769043, 120, 0, 0), -- 4076 (Area: 4804) +(@CGUID+1528, 49842, 1, 1, 1, -912.5822, 1877.466, 60.75232, 3.072525, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1529, 35450, 1, 1, 1, -938.0176, 1891.654, 60.69172, 2.773634, 120, 0, 0), -- 35450 (Area: 4804) +(@CGUID+1530, 35412, 1, 1, 1, -887.9018, 1881.646, 61.20374, 2.587164, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1531, 49728, 1, 1, 1, -940.7957, 1938.168, 61.08282, 1.839704, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1532, 4166, 1, 1, 1, -970.7193, 1915.374, 59.51711, 0.537909, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1533, 49842, 1, 1, 1, -915.6943, 1924.99, 63.95618, 0.8756, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1534, 35412, 1, 1, 1, -941.4542, 1939.42, 61.33721, 1.55322, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1535, 4166, 1, 1, 1, -931.0176, 1941.106, 60.9213, 0.1528256, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1536, 36062, 1, 1, 1, -910.3471, 1924.802, 62.14178, 6.251945, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1537, 49842, 1, 1, 1, -886.3138, 1932.887, 65.92191, 1.695624, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1538, 49842, 1, 1, 1, -925.4371, 2077.044, 66.55476, 0.58577, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1539, 35412, 1, 1, 1, -913.9219, 2030.176, 63.16143, 4.311215, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1540, 49842, 1, 1, 1, -951.8083, 2026.364, 65.73065, 5.936082, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1541, 49778, 1, 1, 1, -887.0917, 1980.423, 72.527, 5.423831, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1542, 49728, 1, 1, 1, -945.9592, 2052.376, 62.0875, 1.113699, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1543, 4700, 1, 1, 1, -1007.071, 2081.04, 63.76572, 3.331139, 120, 0, 0), -- 4700 (Area: 4804) +(@CGUID+1544, 49842, 1, 1, 1, -880.584, 2072.87, 67.67234, 5.438218, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1545, 49835, 1, 1, 1, -886.1985, 2184.75, 95.66311, 0.681812, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1546, 4700, 1, 1, 1, -982.5682, 2308.881, 88.06563, 3.515213, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+1547, 62185, 1, 1, 1, -848.3551, 2327.058, 93.82827, 1.421858, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+1548, 49839, 1, 1, 1, -816.6385, 2317.518, 92.88123, 3.20403, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1549, 61366, 1, 1, 1, -791.7515, 2375.925, 91.08926, 5.695471, 120, 5, 1), -- 61366 (Area: 0) (possible waypoints or random movement) +(@CGUID+1550, 4726, 1, 1, 1, -801.5837, 2283.519, 92.47036, 6.128309, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1551, 11577, 1, 1, 1, -809.52, 2245.894, 89.23767, 6.266424, 120, 0, 0), -- 11577 (Area: 0) +(@CGUID+1552, 11577, 1, 1, 1, -844.4611, 2244.134, 89.49857, 2.162086, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1553, 50481, 1, 1, 1, -835.9312, 2249.523, 89.88578, 5.879832, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+1554, 11577, 1, 1, 1, -880.9826, 2186.655, 95.64907, 1.589697, 120, 0, 0), -- 11577 (Area: 0) +(@CGUID+1555, 11577, 1, 1, 1, -825.3203, 2190.919, 90.48075, 3.27079, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1556, 11577, 1, 1, 1, -865.019, 2140.898, 69.83826, 2.664845, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1557, 35412, 1, 1, 1, -861.1934, 2078.295, 64.03615, 6.16109, 120, 0, 0), -- 35412 (Area: 0) +(@CGUID+1558, 35412, 1, 1, 1, -874.498, 1926.821, 63.80634, 1.53857, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1559, 49842, 1, 1, 1, -856.7861, 1979.917, 80.59785, 5.578403, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1560, 49842, 1, 1, 1, -867.8998, 1916.87, 65.65264, 0.08754152, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1561, 35412, 1, 1, 1, -748.8083, 1722.147, 91.52308, 1.126595, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1562, 49842, 1, 1, 1, -777.136, 1615.967, 93.02932, 4.054729, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1563, 36062, 1, 1, 1, -757.2559, 1647.665, 90.44454, 1.405969, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1564, 35412, 1, 1, 1, -744.5988, 1651.407, 90.04035, 0.8981906, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1565, 4166, 1, 1, 1, -758.3282, 1622.34, 89.815, 1.112182, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1566, 49842, 1, 1, 1, -775.4622, 1583.598, 94.32463, 5.141497, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1567, 4166, 1, 1, 1, -846.3544, 1548.217, 62.55616, 5.658528, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1568, 49778, 1, 1, 1, -750.8776, 1637.041, 89.57788, 1.00877, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1569, 4166, 1, 1, 1, -773.3025, 1557.942, 90.47851, 2.914725, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1570, 35412, 1, 1, 1, -744.6737, 1592.872, 90.1137, 2.84733, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1571, 49728, 1, 1, 1, -743.006, 1592.181, 90.2365, 0.7452453, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1572, 49842, 1, 1, 1, -731.9896, 1645.771, 91.89744, 1.106126, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1573, 49842, 1, 1, 1, -734.3571, 1670.813, 92.30036, 4.475676, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1574, 49842, 1, 1, 1, -839.2057, 1528.231, 66.48535, 2.54484, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1575, 49842, 1, 1, 1, -722.2399, 1613.941, 92.46336, 0.4301197, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1576, 49842, 1, 1, 1, -763.7095, 1514.11, 95.01443, 5.415826, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1577, 49842, 1, 1, 1, -745.6177, 1525.957, 95.1023, 2.186287, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1578, 36062, 1, 1, 1, -739.671, 1528.007, 92.35647, 0.1055419, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1579, 35412, 1, 1, 1, -745.2042, 1530.386, 92.35647, 4.588034, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1580, 4076, 1, 1, 1, -729.0003, 1686.513, 89.36056, 5.208044, 120, 0, 0), -- 4076 (Area: 4804) +(@CGUID+1581, 49728, 1, 1, 1, -709.0526, 1535.502, 91.18602, 4.258232, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1582, 4166, 1, 1, 1, -775.3583, 1484.65, 92.27264, 1.430232, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1583, 62178, 1, 1, 1, -786.084, 1467.12, 92.67669, 4.641987, 120, 5, 1), -- 62178 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1584, 35409, 1, 1, 1, -806.5071, 1472.96, 93.93891, 5.581445, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1585, 49842, 1, 1, 1, -788.8431, 1465.117, 95.50421, 1.590862, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1586, 49778, 1, 1, 1, -659.1766, 1602.099, 90.77369, 4.364349, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1587, 4166, 1, 1, 1, -712.4177, 1729.689, 90.00455, 4.529828, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1588, 49728, 1, 1, 1, -665.5753, 1727.496, 89.01291, 5.856969, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1589, 49842, 1, 1, 1, -739.7873, 1736.974, 94.16807, 4.433091, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1590, 49842, 1, 1, 1, -652.7267, 1722.503, 92.82756, 4.91689, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1591, 35412, 1, 1, 1, -710.2517, 1746.029, 90.18291, 5.285672, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1592, 35412, 1, 1, 1, -640.8555, 1654.716, 90.77207, 0.4424942, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1593, 49728, 1, 1, 1, -749.9144, 1784.083, 91.20507, 2.466242, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1594, 49842, 1, 1, 1, -710.0191, 1777.254, 93.97579, 4.379436, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1595, 62177, 1, 1, 1, -631.9717, 1713.673, 92.82705, 2.18748, 120, 5, 1), -- 62177 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1596, 36062, 1, 1, 1, -747.7635, 1779.739, 91.09799, 1.600085, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1597, 4075, 1, 1, 1, -683.8496, 1775.343, 93.72315, 4.390264, 120, 0, 0), -- 4075 (Area: 4804) +(@CGUID+1598, 4166, 1, 1, 1, -726.1299, 1818.726, 94.45096, 2.980621, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1599, 35412, 1, 1, 1, -725.4434, 1816.431, 94.32596, 0.2759873, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1600, 35412, 1, 1, 1, -623.8232, 1719.14, 90.81255, 3.889228, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1601, 49842, 1, 1, 1, -670.3392, 1896.571, 95.1771, 1.904401, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1602, 35412, 1, 1, 1, -612.1354, 1767.077, 91.26984, 3.560709, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1603, 11577, 1, 1, 1, -602.5825, 1847.079, 88.67821, 1.458884, 120, 0, 0), -- 11577 (Area: 4804) (Auras: 18148 - 18148) +(@CGUID+1604, 35412, 1, 1, 1, -732.207, 1941.388, 93.43611, 5.534095, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1605, 49778, 1, 1, 1, -744.6467, 1953.108, 91.28909, 0.4523803, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1606, 11577, 1, 1, 1, -686.3255, 2018.888, 94.60903, 4.640038, 120, 0, 0), -- 11577 (Area: 4804) (Auras: 18148 - 18148) +(@CGUID+1607, 4692, 1, 1, 1, -592.5415, 1948.512, 88.87013, 3.243401, 120, 0, 0), -- 4692 (Area: 4804) +(@CGUID+1608, 11577, 1, 1, 1, -711.4297, 2016.612, 91.90537, 5.423925, 120, 0, 0), -- 11577 (Area: 4804) (Auras: 18148 - 18148) +(@CGUID+1609, 11577, 1, 1, 1, -748.6041, 2002.102, 91.65688, 5.475017, 120, 0, 0), -- 11577 (Area: 4804) (Auras: 18148 - 18148) +(@CGUID+1610, 4692, 1, 1, 1, -712.3588, 2054.007, 95.89944, 0.8780586, 120, 0, 0), -- 4692 (Area: 4804) +(@CGUID+1611, 35412, 1, 1, 1, -768.6897, 1994.531, 91.00076, 4.954999, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1612, 62187, 1, 1, 1, -601.2864, 2012.356, 88.65945, 3.187443, 120, 5, 1), -- 62187 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1613, 49842, 1, 1, 1, -755.5834, 2002.381, 93.13786, 5.226332, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1614, 49835, 1, 1, 1, -618.7642, 2018.907, 91.80589, 4.507662, 120, 5, 1), -- 49835 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1615, 4726, 1, 1, 1, -609.0381, 2048.958, 89.58939, 2.980621, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1616, 11577, 1, 1, 1, -750.9987, 2046.178, 92.1458, 3.751519, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1617, 49835, 1, 1, 1, -686.1381, 2085.927, 100.4001, 2.897088, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1618, 41730, 1, 1, 1, -756.3641, 2215.512, 93.65286, 2.235779, 120, 5, 1), -- 41730 (Area: 0) (Auras: 83097 - 83097) (possible waypoints or random movement) +(@CGUID+1619, 11577, 1, 1, 1, -753.509, 2080.623, 93.23951, 0.5993719, 120, 0, 0), -- 11577 (Area: 0) (Auras: 18148 - 18148) +(@CGUID+1620, 62187, 1, 1, 1, -618.0013, 2118.171, 90.20897, 5.490186, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+1621, 49839, 1, 1, 1, -753.6625, 2079.598, 93.11969, 0.03709235, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1622, 4726, 1, 1, 1, -640.8054, 2122.063, 91.05315, 6.116432, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1623, 4726, 1, 1, 1, -586.55, 2082.753, 90.9977, 1.209511, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1624, 49839, 1, 1, 1, -620.6848, 2098.259, 91.96403, 4.609996, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1625, 4728, 1, 1, 1, -714.1842, 2103.725, 101.0097, 1.545411, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1626, 4726, 1, 1, 1, -715.8471, 2185.245, 100.1148, 1.525861, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1627, 4692, 1, 1, 1, -695.6614, 2212.838, 92.51689, 3.587775, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1628, 62185, 1, 1, 1, -637.6028, 2204.803, 97.09924, 5.865325, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+1629, 61366, 1, 1, 1, -770.392, 2152.685, 95.09777, 3.55411, 120, 0, 0), -- 61366 (Area: 0) +(@CGUID+1630, 4692, 1, 1, 1, -590.629, 2155.641, 92.88789, 6.28049, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1631, 49839, 1, 1, 1, -711.4092, 2257.876, 90.66621, 1.537573, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1632, 4692, 1, 1, 1, -745.6437, 2214.847, 94.11222, 4.487039, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1633, 49839, 1, 1, 1, -745.7879, 2213.406, 94.30228, 2.320298, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1634, 4700, 1, 1, 1, -617.7785, 2236.404, 95.76393, 3.433291, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+1635, 4690, 1, 1, 1, -705.1348, 2292.219, 91.21701, 1.140252, 120, 0, 0), -- 4690 (Area: 0) +(@CGUID+1636, 4690, 1, 1, 1, -701.3486, 2290.617, 90.22104, 0.9900554, 120, 0, 0), -- 4690 (Area: 0) +(@CGUID+1637, 4690, 1, 1, 1, -704.1194, 2289.373, 90.52646, 1.069276, 120, 0, 0), -- 4690 (Area: 0) +(@CGUID+1638, 4690, 1, 1, 1, -708.5549, 2292.59, 91.17245, 1.067093, 120, 0, 0), -- 4690 (Area: 0) +(@CGUID+1639, 4692, 1, 1, 1, -683.8277, 2284.957, 90.08823, 3.092715, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1640, 62187, 1, 1, 1, -719.3153, 2279.837, 90.23307, 0.8028914, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+1641, 50481, 1, 1, 1, -637.1099, 2286.548, 91.06003, 3.2296, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+1642, 4700, 1, 1, 1, -584.2626, 2230.758, 91.25313, 3.451984, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+1643, 4692, 1, 1, 1, -738.7946, 2278.531, 90.08823, 3.280388, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1644, 11576, 1, 1, 1, -628.1801, 2307.558, 90.53899, 0.8095815, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+1645, 49835, 1, 1, 1, -685.8165, 2335.138, 91.4924, 1.650371, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+1646, 62187, 1, 1, 1, -645.4982, 2336.704, 90.08823, 5.986697, 120, 0, 0), -- 62187 (Area: 0) +(@CGUID+1647, 4693, 1, 1, 1, -684.7781, 2353.369, 91.76488, 4.27889, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+1648, 4692, 1, 1, 1, -621.2949, 2378.87, 90.61253, 5.01317, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1649, 35815, 1, 1, 1, -484.7448, 2638.546, 77.86491, 0, 120, 0, 0), -- 35815 (Area: 0) +(@CGUID+1650, 4729, 1, 1, 1, -746.145, 2345.974, 94.33184, 1.346194, 120, 0, 0), -- 4729 (Area: 0) +(@CGUID+1651, 62184, 1, 1, 1, -604.8203, 2437.983, 72.86533, 3.647258, 120, 0, 0), -- 62184 (Area: 0) +(@CGUID+1652, 50481, 1, 1, 1, -606.6121, 2393.86, 86.27562, 3.0153, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+1653, 4690, 1, 1, 1, -658.709, 2423.829, 86.16064, 2.83576, 120, 0, 0), -- 4690 (Area: 0) +(@CGUID+1654, 4693, 1, 1, 1, -666.4207, 2414.51, 89.44233, 3.378049, 120, 0, 0), -- 4693 (Area: 0) +(@CGUID+1655, 49835, 1, 1, 1, -554.006, 2340.056, 89.02319, 1.249462, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+1656, 4692, 1, 1, 1, -525.1187, 2289.107, 89.87548, 2.525849, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1657, 4692, 1, 1, 1, -499.3924, 2283.29, 87.92443, 3.956699, 120, 0, 0), -- 4692 (Area: 2405) +(@CGUID+1658, 62184, 1, 1, 1, -537.0264, 2217.28, 90.86736, 0.1391346, 120, 5, 1), -- 62184 (Area: 2405) (possible waypoints or random movement) +(@CGUID+1659, 49835, 1, 1, 1, -484.8586, 2248.401, 90.22846, 5.679519, 120, 5, 1), -- 49835 (Area: 2405) (possible waypoints or random movement) +(@CGUID+1660, 4692, 1, 1, 1, -460.0721, 2310.295, 76.94138, 1.745582, 120, 0, 0), -- 4692 (Area: 2405) +(@CGUID+1661, 4701, 1, 1, 1, -563.1677, 2217.143, 92.30955, 3.485047, 120, 0, 0), -- 4701 (Area: 2405) +(@CGUID+1662, 4688, 1, 1, 1, -498.8656, 2199.824, 92.62232, 5.876788, 120, 0, 0), -- 4688 (Area: 2405) +(@CGUID+1663, 4726, 1, 1, 1, -549.697, 2199.211, 90.7682, 1.384128, 120, 0, 0), -- 4726 (Area: 2405) +(@CGUID+1664, 4692, 1, 1, 1, -534.7661, 2133.535, 90.50037, 0.7417824, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1665, 49839, 1, 1, 1, -510.7157, 2175.209, 92.73257, 6.136035, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1666, 4728, 1, 1, 1, -494.3058, 2189.934, 92.46837, 2.129245, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1667, 4692, 1, 1, 1, -574.4224, 2044.811, 91.57383, 2.582579, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1668, 50481, 1, 1, 1, -546.0522, 2051.029, 89.44242, 5.009408, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1669, 49842, 1, 1, 1, -793.4884, 1901.744, 90.44498, 0.1825157, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1670, 49842, 1, 1, 1, -791.5244, 1881.16, 90.85848, 4.536504, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1671, 36062, 1, 1, 1, -614.9551, 1574.613, 91.24759, 5.39125, 120, 0, 0), -- 36062 (Area: 4804) +(@CGUID+1672, 35412, 1, 1, 1, -628.2372, 1549.795, 91.25973, 2.51646, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1673, 4166, 1, 1, 1, -662.4606, 1471.639, 91.05731, 4.743387, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1674, 49778, 1, 1, 1, -629.4766, 1580.79, 90.46551, 1.146028, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1675, 4166, 1, 1, 1, -640.0735, 1592.274, 89.48763, 3.230168, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1676, 35412, 1, 1, 1, -631.9241, 1548.724, 91.67316, 2.4246, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1677, 49842, 1, 1, 1, -627.5198, 1479.425, 90.22744, 2.715833, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1678, 35412, 1, 1, 1, -579.6239, 1562.36, 89.72195, 5.87111, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1679, 4166, 1, 1, 1, -629.8217, 1627.562, 91.54685, 6.230163, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1680, 35412, 1, 1, 1, -620.9636, 1607.476, 91.52114, 1.002148, 120, 0, 0), -- 35412 (Area: 4804) +(@CGUID+1681, 49842, 1, 1, 1, -593.1754, 1583.956, 92.34258, 3.208435, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1682, 4166, 1, 1, 1, -611.3961, 1567.821, 90.37178, 1.425722, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1683, 4692, 1, 1, 1, -573.8894, 1656.35, 91.7333, 1.115772, 120, 0, 0), -- 4692 (Area: 4804) +(@CGUID+1684, 4726, 1, 1, 1, -575.7825, 1707.676, 89.6934, 6.09483, 120, 0, 0), -- 4726 (Area: 4804) +(@CGUID+1685, 4692, 1, 1, 1, -540.0148, 1679.186, 92.94242, 2.486216, 120, 0, 0), -- 4692 (Area: 4804) +(@CGUID+1686, 50481, 1, 1, 1, -584.1152, 1781.03, 92.5142, 3.218889, 120, 5, 1), -- 50481 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1687, 62185, 1, 1, 1, -546.1522, 1761.599, 97.24076, 4.377973, 120, 5, 1), -- 62185 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1688, 4666, 1, 1, 1, -523.6302, 1809.557, 94.40527, 6.143559, 120, 0, 0), -- 4666 (Area: 4804) (Auras: 77617 - 77617) +(@CGUID+1689, 4663, 1, 1, 1, -507.6964, 1741.495, 106.9393, 1.639183, 120, 0, 0), -- 4663 (Area: 4804) +(@CGUID+1690, 35632, 1, 1, 1, -538.8195, 1820.507, 95.22024, 0.8692447, 120, 0, 0), -- 35632 (Area: 4804) +(@CGUID+1691, 4663, 1, 1, 1, -544.5607, 1784.328, 96.56903, 0.9075751, 120, 0, 0), -- 4663 (Area: 4804) +(@CGUID+1692, 4075, 1, 1, 1, -541.8454, 1836.264, 95.51781, 0.9176919, 120, 0, 0), -- 4075 (Area: 4804) +(@CGUID+1693, 62186, 1, 1, 1, -575.5807, 1887.428, 96.48325, 6.136035, 120, 5, 1), -- 62186 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1694, 4665, 1, 1, 1, -528.2799, 1817.111, 94.4545, 4.065989, 120, 0, 0), -- 4665 (Area: 4804) +(@CGUID+1695, 4663, 1, 1, 1, -515.3299, 1846.599, 94.40524, 2.443461, 120, 0, 0), -- 4663 (Area: 4804) (Auras: 43897 - 43897) +(@CGUID+1696, 4663, 1, 1, 1, -518.2552, 1853.795, 94.40532, 4.694936, 120, 0, 0), -- 4663 (Area: 4804) (Auras: 43897 - 43897) +(@CGUID+1697, 4692, 1, 1, 1, -554.9153, 1908.211, 99.63256, 2.871483, 120, 0, 0), -- 4692 (Area: 4804) +(@CGUID+1698, 4664, 1, 1, 1, -518.7974, 1862.467, 115.7361, 6.19506, 120, 0, 0), -- 4664 (Area: 4804) +(@CGUID+1699, 4664, 1, 1, 1, -518.4399, 1862.222, 109.2469, 6.191497, 120, 0, 0), -- 4664 (Area: 4804) +(@CGUID+1700, 4664, 1, 1, 1, -523.5452, 1875.913, 115.8266, 2.722714, 120, 0, 0), -- 4664 (Area: 4804) +(@CGUID+1701, 4665, 1, 1, 1, -545.4409, 1883.029, 95.7123, 0.09431905, 120, 0, 0), -- 4665 (Area: 4804) +(@CGUID+1702, 4726, 1, 1, 1, -551.1177, 1962.993, 91.65469, 0.3910323, 120, 0, 0), -- 4726 (Area: 599) +(@CGUID+1703, 4692, 1, 1, 1, -513.8188, 1922.987, 119.8928, 0.02050494, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+1704, 4692, 1, 1, 1, -555.882, 2002.212, 91.8709, 2.740012, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+1705, 4726, 1, 1, 1, -501.1405, 2007.693, 99.12369, 6.139218, 120, 0, 0), -- 4726 (Area: 599) +(@CGUID+1706, 49839, 1, 1, 1, -475.3108, 1961.885, 115.2229, 4.687855, 120, 0, 0), -- 49839 (Area: 599) +(@CGUID+1707, 49839, 1, 1, 1, -492.9796, 2050.248, 90.84087, 3.077425, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1708, 4692, 1, 1, 1, -516.7957, 2082.602, 90.99564, 1.783322, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1709, 11576, 1, 1, 1, -474.5497, 2027.086, 93.40798, 5.060677, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+1710, 4692, 1, 1, 1, -468.4475, 2116.156, 91.9662, 2.094302, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1711, 4688, 1, 1, 1, -444.0913, 2208.915, 90.51365, 5.053056, 120, 0, 0), -- 4688 (Area: 0) +(@CGUID+1712, 4688, 1, 1, 1, -443.9629, 2215.114, 89.27818, 4.987327, 120, 0, 0), -- 4688 (Area: 0) +(@CGUID+1713, 4688, 1, 1, 1, -445.4975, 2206.202, 91.17661, 5.078615, 120, 0, 0), -- 4688 (Area: 0) +(@CGUID+1714, 4726, 1, 1, 1, -444.4699, 2166.145, 90.77724, 1.405631, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1715, 49839, 1, 1, 1, -434.0761, 2180.659, 89.48713, 3.761275, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+1716, 35298, 1, 1, 1, -432.5052, 2214.288, 89.14784, 2.111848, 120, 0, 0), -- 35298 (Area: 0) +(@CGUID+1717, 43899, 1, 1, 1, -429.215, 2221.91, 89.14724, 3.403392, 120, 0, 0), -- 43899 (Area: 0) +(@CGUID+1718, 35295, 1, 1, 1, -430.4236, 2227.076, 89.1507, 3.630285, 120, 0, 0), -- 35295 (Area: 0) +(@CGUID+1719, 27946, 1, 1, 1, -431.809, 2246.061, 93.07522, 3.979351, 120, 0, 0), -- 27946 (Area: 0) (Auras: ) +(@CGUID+1720, 4688, 1, 1, 1, -440.4917, 2211.228, 89.62292, 4.76908, 120, 0, 0), -- 4688 (Area: 0) +(@CGUID+1721, 35315, 1, 1, 1, -437.5399, 2242.967, 93.08031, 4.677482, 120, 0, 0), -- 35315 (Area: 0) +(@CGUID+1722, 50481, 1, 1, 1, -433.4425, 2317.704, 73.3989, 0.7460267, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1723, 4692, 1, 1, 1, -414.7661, 2295.078, 79.45216, 4.77298, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1724, 4726, 1, 1, 1, -407.06, 2304.359, 76.57646, 5.694974, 120, 0, 0), -- 4726 (Area: 2405) +(@CGUID+1725, 4713, 1, 1, 1, -389.2361, 2355.014, 46.70176, 0.08726646, 120, 0, 0), -- 4713 (Area: 2405) +(@CGUID+1726, 4713, 1, 1, 1, -384.7083, 2348.087, 46.599, 1.099557, 120, 0, 0), -- 4713 (Area: 2405) +(@CGUID+1727, 50481, 1, 1, 1, -480.3153, 2408.756, 93.12083, 1.772123, 120, 5, 1), -- 50481 (Area: 2405) (possible waypoints or random movement) +(@CGUID+1728, 4711, 1, 1, 1, -356.3729, 2345.252, 45.85777, 4.719607, 120, 5, 1), -- 4711 (Area: 2405) (possible waypoints or random movement) +(@CGUID+1729, 62186, 1, 1, 1, -383.6646, 2264.294, 83.58375, 5.680672, 120, 5, 1), -- 62186 (Area: 2405) (possible waypoints or random movement) +(@CGUID+1730, 49839, 1, 1, 1, -361.8097, 2358.824, 44.71547, 5.829657, 120, 0, 0), -- 49839 (Area: 2405) +(@CGUID+1731, 4713, 1, 1, 1, -367.9844, 2412.458, 36.2109, 4.555309, 120, 0, 0), -- 4713 (Area: 2405) +(@CGUID+1732, 4711, 1, 1, 1, -358.0837, 2384.258, 41.00514, 5.936087, 120, 5, 1), -- 4711 (Area: 2405) (possible waypoints or random movement) +(@CGUID+1733, 4076, 1, 1, 1, -388.3532, 2225.546, 90.02319, 0.3761522, 120, 0, 0), -- 4076 (Area: 0) +(@CGUID+1734, 50481, 1, 1, 1, -321.5994, 2356.539, 44.52838, 2.353432, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1735, 62184, 1, 1, 1, -376.8436, 2207.088, 88.64941, 2.754097, 120, 5, 1), -- 62184 (Area: 0) (possible waypoints or random movement) +(@CGUID+1736, 4726, 1, 1, 1, -342.1288, 2226.907, 90.64117, 5.906071, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1737, 49835, 1, 1, 1, -393.4297, 2179.912, 87.70322, 1.236267, 120, 5, 1), -- 49835 (Area: 4803) (possible waypoints or random movement) +(@CGUID+1738, 4692, 1, 1, 1, -390.9907, 2159.761, 87.95564, 0.7798734, 120, 0, 0), -- 4692 (Area: 4803) +(@CGUID+1739, 49835, 1, 1, 1, -422.7628, 2112.768, 91.04679, 1.01767, 120, 5, 1), -- 49835 (Area: 4803) (possible waypoints or random movement) +(@CGUID+1740, 4692, 1, 1, 1, -408.6715, 2034.682, 94.33612, 1.584467, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1741, 11576, 1, 1, 1, -431.4003, 2078.482, 94.02215, 5.821286, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+1742, 4726, 1, 1, 1, -461.7314, 1966.845, 114.2966, 1.211339, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1743, 50481, 1, 1, 1, -417.5215, 1944.546, 114.2252, 1.445472, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1744, 4726, 1, 1, 1, -398.6255, 1974.989, 108.2104, 6.270481, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+1745, 4666, 1, 1, 1, -439.4578, 1882.087, 126.5338, 3.414926, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1746, 4665, 1, 1, 1, -427.1059, 1873.658, 128.4921, 5.602507, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+1747, 4666, 1, 1, 1, -412.7976, 1888.197, 126.6468, 5.377683, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1748, 4664, 1, 1, 1, -418.963, 1901.469, 125.9333, 2.693531, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+1749, 4663, 1, 1, 1, -446.9909, 1869.293, 126.7838, 0.1900089, 120, 0, 0), -- 4663 (Area: 599) +(@CGUID+1750, 4664, 1, 1, 1, -459.0622, 1804.207, 127.39, 5.934119, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+1751, 4666, 1, 1, 1, -445.0067, 1836.422, 126.9088, 3.909668, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1752, 35645, 1, 1, 1, -350.849, 1761.766, 138.4543, 0.3839724, 120, 0, 0), -- 35645 (Area: 599) +(@CGUID+1753, 4667, 1, 1, 1, -413.4774, 1859.872, 127.5475, 4.118977, 120, 0, 0), -- 4667 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+1754, 35645, 1, 1, 1, -350.9913, 1764.073, 138.4543, 6.038839, 120, 0, 0), -- 35645 (Area: 599) +(@CGUID+1755, 4665, 1, 1, 1, -412.967, 1878.443, 128.4918, 4.834562, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+1756, 4666, 1, 1, 1, -435.5112, 1849.954, 128.4915, 5.707227, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1757, 35645, 1, 1, 1, -346.901, 1766.811, 138.4543, 4.502949, 120, 0, 0), -- 35645 (Area: 599) +(@CGUID+1758, 35645, 1, 1, 1, -349.3507, 1759.557, 138.4543, 0.9773844, 120, 0, 0), -- 35645 (Area: 599) +(@CGUID+1759, 4666, 1, 1, 1, -427.4271, 1811.122, 126.7712, 3.769911, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1760, 28960, 1, 1, 1, -347.3351, 1762.951, 138.4543, 0, 120, 0, 0), -- 28960 (Area: 599) +(@CGUID+1761, 35645, 1, 1, 1, -343.474, 1763.637, 138.4543, 3.403392, 120, 0, 0), -- 35645 (Area: 599) +(@CGUID+1762, 4665, 1, 1, 1, -451.1515, 1779.789, 129.565, 3.147091, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+1763, 35645, 1, 1, 1, -343.3871, 1761.361, 138.4543, 2.792527, 120, 0, 0), -- 35645 (Area: 599) +(@CGUID+1764, 4666, 1, 1, 1, -435.2517, 1814.679, 126.7316, 5.026548, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1765, 35645, 1, 1, 1, -344.625, 1765.719, 138.4543, 3.979351, 120, 0, 0), -- 35645 (Area: 599) +(@CGUID+1766, 35645, 1, 1, 1, -347.1806, 1758.882, 138.4543, 1.518436, 120, 0, 0), -- 35645 (Area: 599) +(@CGUID+1767, 4664, 1, 1, 1, -412.4358, 1839.775, 128.4015, 3.05703, 120, 0, 0), -- 4664 (Area: 599) (Auras: ) +(@CGUID+1768, 4666, 1, 1, 1, -458.5407, 1754.165, 153.5013, 2.775074, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1769, 4665, 1, 1, 1, -488.534, 1721.926, 110.1826, 6.275373, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+1770, 4666, 1, 1, 1, -453.125, 1744.927, 147.0318, 4.206244, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1771, 4663, 1, 1, 1, -449.0382, 1752.387, 153.5709, 4.13643, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+1772, 4663, 1, 1, 1, -447.0938, 1754.722, 130.4534, 1.902409, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+1773, 4666, 1, 1, 1, -448.4056, 1742.132, 153.5289, 4.485496, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+1774, 4665, 1, 1, 1, -459.9883, 1735.274, 128.5338, 1.104965, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+1775, 4664, 1, 1, 1, -441.6806, 1715.299, 127.3062, 4.153883, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+1776, 4664, 1, 1, 1, -469.5617, 1645.273, 102.6924, 0.2445174, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+1777, 4692, 1, 1, 1, -524.3586, 1617.035, 148.1953, 5.08419, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+1778, 4692, 1, 1, 1, -521.6884, 1591.942, 117.9063, 2.072014, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+1779, 4665, 1, 1, 1, -444.7023, 1679.519, 117.4361, 5.539134, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+1780, 4692, 1, 1, 1, -485.214, 1576.071, 93.03244, 1.521274, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+1781, 4076, 1, 1, 1, -489.9697, 1567.282, 91.87637, 2.558699, 120, 0, 0), -- 4076 (Area: 599) +(@CGUID+1782, 49839, 1, 1, 1, -516.2233, 1524.089, 90.39272, 4.578567, 120, 0, 0), -- 49839 (Area: 599) +(@CGUID+1783, 49835, 1, 1, 1, -450.8811, 1577.753, 92.54699, 5.115402, 120, 5, 1), -- 49835 (Area: 599) (possible waypoints or random movement) +(@CGUID+1784, 4696, 1, 1, 1, -481.1223, 1549.657, 92.00321, 2.756227, 120, 0, 0), -- 4696 (Area: 599) +(@CGUID+1785, 11576, 1, 1, 1, -526.3677, 1508.642, 91.65555, 3.921707, 120, 0, 0), -- 11576 (Area: 599) +(@CGUID+1786, 11576, 1, 1, 1, -522.8931, 1509.207, 91.96255, 3.744439, 120, 0, 0), -- 11576 (Area: 599) +(@CGUID+1787, 13321, 1, 1, 1, -592.2656, 1452.605, 93.65975, 1.511484, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1788, 13321, 1, 1, 1, -564.8717, 1456.304, 91.81854, 2.94903, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1789, 13321, 1, 1, 1, -644.791, 1442.181, 90.59928, 3.708349, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1790, 35409, 1, 1, 1, -647.258, 1450.57, 91.12858, 4.168597, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1791, 35409, 1, 1, 1, -588.6979, 1424.952, 90.58173, 1.793192, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1792, 13321, 1, 1, 1, -574.7586, 1418.103, 90.37543, 5.04482, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1793, 13321, 1, 1, 1, -637.6938, 1419.056, 90.50398, 6.117864, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1794, 35409, 1, 1, 1, -648.2548, 1417.388, 90.81112, 2.920922, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1795, 13321, 1, 1, 1, -590.1425, 1423.208, 90.69525, 5.356313, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1796, 49842, 1, 1, 1, -649.8499, 1426.65, 93.13216, 2.826911, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1797, 35409, 1, 1, 1, -613.7292, 1386.748, 90.0311, 1.291022, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1798, 4728, 1, 1, 1, -551.3552, 1378.824, 91.86974, 5.770583, 120, 0, 0), -- 4728 (Area: 4804) +(@CGUID+1799, 35409, 1, 1, 1, -674.6121, 1443.409, 92.47449, 5.463111, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1800, 13321, 1, 1, 1, -614.014, 1388.98, 90.07114, 3.684382, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1801, 35409, 1, 1, 1, -646.3083, 1380.756, 90.60284, 1.808632, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1802, 49835, 1, 1, 1, -619.9585, 1341.342, 90.07846, 1.555173, 120, 5, 1), -- 49835 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1803, 49835, 1, 1, 1, -530.2847, 1339.753, 89.84425, 2.677945, 120, 5, 1), -- 49835 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1804, 4728, 1, 1, 1, -586.0748, 1322.038, 92.91829, 1.67534, 120, 0, 0), -- 4728 (Area: 4804) +(@CGUID+1805, 4166, 1, 1, 1, -650.2815, 1353.231, 90.3994, 5.40333, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1806, 13321, 1, 1, 1, -687.3325, 1372.102, 91.76884, 5.854458, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1807, 35409, 1, 1, 1, -670.7695, 1344.332, 90.01321, 6.146954, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1808, 4696, 1, 1, 1, -635.6245, 1315.802, 89.65809, 0.01562373, 120, 0, 0), -- 4696 (Area: 4804) +(@CGUID+1809, 35409, 1, 1, 1, -693.0307, 1371.841, 91.58159, 0.8649252, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1810, 4166, 1, 1, 1, -681.5085, 1326.074, 89.97182, 1.286751, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1811, 35409, 1, 1, 1, -663.0531, 1296.001, 90.3599, 3.46805, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1812, 35409, 1, 1, 1, -687.8242, 1311.519, 91.16671, 5.897715, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1813, 13321, 1, 1, 1, -677.3301, 1302.029, 90.43111, 4.25049, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1814, 4166, 1, 1, 1, -687.1467, 1311.396, 91.19625, 1.785961, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1815, 49835, 1, 1, 1, -598.6761, 1244.871, 91.9175, 5.080194, 120, 5, 1), -- 49835 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1816, 35409, 1, 1, 1, -676.1836, 1272.189, 90.8483, 4.116412, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1817, 13321, 1, 1, 1, -658.2158, 1272.528, 91.38407, 4.56281, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1818, 35409, 1, 1, 1, -697.8484, 1288.014, 91.76933, 3.827395, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1819, 13321, 1, 1, 1, -696.3711, 1289.845, 91.94657, 4.984397, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1820, 4728, 1, 1, 1, -580.2186, 1163.865, 90.5032, 6.259239, 120, 0, 0), -- 4728 (Area: 4804) +(@CGUID+1821, 49835, 1, 1, 1, -688.9745, 1218.668, 90.39762, 3.193828, 120, 5, 1), -- 49835 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1822, 4728, 1, 1, 1, -618.1229, 1126.527, 91.04168, 2.065345, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1823, 4728, 1, 1, 1, -543.33, 1173.006, 90.89539, 1.281461, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1824, 4696, 1, 1, 1, -551.0168, 1145.431, 95.16898, 4.207482, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+1825, 62185, 1, 1, 1, -608.0497, 1110.201, 91.53369, 5.929252, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+1826, 50481, 1, 1, 1, -714.1758, 1196.327, 92.64293, 4.821968, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1827, 4640, 1, 1, 1, -723.3991, 1126.771, 89.97977, 3.310784, 120, 0, 0), -- 4640 (Area: 0) +(@CGUID+1828, 4692, 1, 1, 1, -606.331, 1089.474, 92.00907, 1.335268, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1829, 4728, 1, 1, 1, -653.9606, 1067.057, 92.26567, 4.77298, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1830, 50481, 1, 1, 1, -607.0623, 1055.615, 91.83382, 1.803228, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1831, 4645, 1, 1, 1, -712.5339, 1079.399, 89.72977, 4.472809, 120, 0, 0), -- 4645 (Area: 0) +(@CGUID+1832, 4696, 1, 1, 1, -608.6833, 1041.872, 92.96639, 5.763277, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+1833, 4728, 1, 1, 1, -583.5739, 1011.845, 91.18509, 5.244306, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1834, 4696, 1, 1, 1, -624.6339, 1006.073, 93.9769, 2.176631, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+1835, 4640, 1, 1, 1, -749.8345, 1079.057, 89.83109, 1.271544, 120, 0, 0), -- 4640 (Area: 0) +(@CGUID+1836, 62186, 1, 1, 1, -657.053, 974.1195, 90.82419, 1.532274, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+1837, 4076, 1, 1, 1, -627.4938, 946.1547, 92.45535, 2.384066, 120, 0, 0), -- 4076 (Area: 0) +(@CGUID+1838, 4692, 1, 1, 1, -622.3123, 941.0594, 92.84036, 4.678605, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1839, 4645, 1, 1, 1, -738.5879, 992.7637, 90.40278, 2.681429, 120, 0, 0), -- 4645 (Area: 0) +(@CGUID+1840, 4728, 1, 1, 1, -666.7191, 974.9523, 90.417, 2.508984, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1841, 50481, 1, 1, 1, -605.2684, 926.9273, 91.6547, 0.6587313, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+1842, 4696, 1, 1, 1, -605.8679, 941.3502, 92.97195, 5.355109, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+1843, 4692, 1, 1, 1, -569.9955, 980.6491, 94.83936, 2.916038, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1844, 4641, 1, 1, 1, -770.928, 939.0815, 90.68526, 1.000747, 120, 0, 0), -- 4641 (Area: 0) +(@CGUID+1845, 11576, 1, 1, 1, -586.9877, 883.4545, 91.1857, 4.632955, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+1846, 4728, 1, 1, 1, -621.4036, 854.3841, 91.77168, 1.947743, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1847, 61366, 1, 1, 1, -604.6199, 840.3284, 91.17133, 5.496655, 120, 5, 1), -- 61366 (Area: 0) (possible waypoints or random movement) +(@CGUID+1848, 4728, 1, 1, 1, -650.4379, 747.7353, 92.62284, 3.697087, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1849, 4696, 1, 1, 1, -615.5912, 777.4224, 91.985, 0.2565932, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+1850, 4696, 1, 1, 1, -592.6991, 832.5663, 90.51835, 4.364347, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+1851, 4692, 1, 1, 1, -578.0204, 857.0987, 90.81367, 0.4908451, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+1852, 4728, 1, 1, 1, -586.7755, 752.7773, 104.4805, 0.02343321, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1853, 4696, 1, 1, 1, -611.901, 720.9155, 129.8291, 1.141663, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+1854, 4728, 1, 1, 1, -627.4653, 690.9579, 140.6253, 0.09353831, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+1855, 4645, 1, 1, 1, -827.5721, 941.3692, 90.29906, 6.188877, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1856, 4642, 1, 1, 1, -837.217, 926.4202, 89.04469, 1.850049, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1857, 4642, 1, 1, 1, -859.5096, 940.6198, 91.14478, 2.295228, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1858, 36141, 1, 1, 1, -911.7674, 1036.273, 97.0542, 0, 120, 0, 0), -- 36141 (Area: 4797) +(@CGUID+1859, 4642, 1, 1, 1, -774.4011, 994.7199, 90.75625, 2.192932, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1860, 4641, 1, 1, 1, -839.2568, 948.8312, 90.61935, 5.27165, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1861, 4642, 1, 1, 1, -817.6108, 962.1189, 90.54616, 1.18599, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1862, 4641, 1, 1, 1, -817.1225, 993.9309, 91.72242, 5.852757, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1863, 50481, 1, 1, 1, -798.2723, 993.6893, 90.55837, 3.263039, 120, 5, 1), -- 50481 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1864, 62187, 1, 1, 1, -857.835, 992.6385, 93.1863, 4.772452, 120, 5, 1), -- 62187 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1865, 4645, 1, 1, 1, -768.1675, 1044.477, 90.30621, 4.24959, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1866, 62184, 1, 1, 1, -869.4568, 960.1351, 93.00223, 5.545436, 120, 5, 1), -- 62184 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1867, 4641, 1, 1, 1, -781.1362, 1042.34, 89.77133, 0.7889205, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1868, 49839, 1, 1, 1, -787.0235, 1057.668, 89.46587, 2.729452, 120, 0, 0), -- 49839 (Area: 4797) +(@CGUID+1869, 4642, 1, 1, 1, -805.8649, 1074.706, 90.81265, 2.47957, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1870, 4641, 1, 1, 1, -832.4131, 1041.612, 91.54874, 0.3815439, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1871, 50481, 1, 1, 1, -756.9759, 1078.367, 89.47977, 3.160247, 120, 5, 1), -- 50481 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1872, 4638, 1, 1, 1, -813.35, 1110.293, 91.32555, 3.308154, 120, 0, 0), -- 4638 (Area: 4797) +(@CGUID+1873, 4645, 1, 1, 1, -796.9955, 1139.428, 92.15785, 3.918874, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1874, 4638, 1, 1, 1, -699.0085, 1161.342, 90.77802, 3.385246, 120, 0, 0), -- 4638 (Area: 4797) +(@CGUID+1875, 13321, 1, 1, 1, -742.2899, 1258.075, 92.17419, 0.4594442, 120, 0, 0), -- 13321 (Area: 4797) +(@CGUID+1876, 35409, 1, 1, 1, -753.0859, 1255.446, 90.87682, 3.304082, 120, 0, 0), -- 35409 (Area: 4797) +(@CGUID+1877, 35409, 1, 1, 1, -722.9444, 1261.718, 92.34718, 1.191201, 120, 0, 0), -- 35409 (Area: 4797) +(@CGUID+1878, 4166, 1, 1, 1, -722.3009, 1261.551, 92.34718, 3.309309, 120, 0, 0), -- 4166 (Area: 4797) +(@CGUID+1879, 13321, 1, 1, 1, -739.4189, 1259.476, 92.35058, 4.263434, 120, 0, 0), -- 13321 (Area: 4797) +(@CGUID+1880, 35409, 1, 1, 1, -724.6545, 1332.042, 90.46788, 5.303884, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1881, 35409, 1, 1, 1, -694.1536, 1408.397, 90.43072, 0.3703525, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1882, 13321, 1, 1, 1, -703.3266, 1405.99, 90.32783, 4.625315, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1883, 49778, 1, 1, 1, -697.5839, 1449.287, 90.64779, 3.584097, 120, 0, 0), -- 49778 (Area: 4804) +(@CGUID+1884, 49842, 1, 1, 1, -699.1003, 1445.65, 92.92044, 2.125541, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1885, 13656, 1, 1, 1, -735.8629, 1437.116, 91.18237, 0.9773844, 120, 0, 0), -- 13656 (Area: 4804) +(@CGUID+1886, 11438, 1, 1, 1, -721.6653, 1430.316, 90.38542, 1.248671, 120, 5, 1), -- 11438 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1887, 13321, 1, 1, 1, -769.1664, 1404.628, 92.32452, 0.488337, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1888, 35409, 1, 1, 1, -740.4614, 1410.647, 91.25014, 4.607174, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1889, 13321, 1, 1, 1, -743.3386, 1413.131, 91.12535, 4.523802, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1890, 35409, 1, 1, 1, -792.9444, 1420.041, 95.83824, 2.670952, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1891, 35409, 1, 1, 1, -748.2522, 1366.284, 89.9735, 2.391941, 120, 0, 0), -- 35409 (Area: 2407) +(@CGUID+1892, 13321, 1, 1, 1, -742.819, 1356.941, 90.34288, 3.287736, 120, 0, 0), -- 13321 (Area: 2407) +(@CGUID+1893, 4166, 1, 1, 1, -791.6747, 1333.985, 92.14445, 4.509822, 120, 0, 0), -- 4166 (Area: 2407) +(@CGUID+1894, 49842, 1, 1, 1, -799.0478, 1320.072, 94.53077, 5.956103, 120, 0, 0), -- 49842 (Area: 2407) +(@CGUID+1895, 13321, 1, 1, 1, -761.5715, 1318.625, 91.96788, 3.025126, 120, 0, 0), -- 13321 (Area: 2407) +(@CGUID+1896, 35409, 1, 1, 1, -790.625, 1284.375, 92.84306, 6.236753, 120, 0, 0), -- 35409 (Area: 2407) +(@CGUID+1897, 13321, 1, 1, 1, -773.9035, 1341.621, 91.46867, 1.444155, 120, 0, 0), -- 13321 (Area: 2407) +(@CGUID+1898, 35409, 1, 1, 1, -845.3914, 1363.592, 75.18245, 1.370338, 120, 0, 0), -- 35409 (Area: 2407) +(@CGUID+1899, 35409, 1, 1, 1, -759.2335, 1319.682, 91.82872, 6.272752, 120, 0, 0), -- 35409 (Area: 2407) +(@CGUID+1900, 4166, 1, 1, 1, -801.59, 1328.528, 92.20193, 2.997319, 120, 0, 0), -- 4166 (Area: 2407) +(@CGUID+1901, 35409, 1, 1, 1, -790.8907, 1357.747, 91.70805, 2.397441, 120, 0, 0), -- 35409 (Area: 2407) +(@CGUID+1902, 35409, 1, 1, 1, -810.3158, 1314.769, 92.08918, 1.909222, 120, 0, 0), -- 35409 (Area: 2407) +(@CGUID+1903, 49842, 1, 1, 1, -786.9227, 1320.132, 95.42683, 5.13535, 120, 0, 0), -- 49842 (Area: 2407) +(@CGUID+1904, 13321, 1, 1, 1, -778.6389, 1289.338, 91.96808, 0.1204767, 120, 0, 0), -- 13321 (Area: 2407) +(@CGUID+1905, 4166, 1, 1, 1, -790.6445, 1336.636, 91.83683, 2.506812, 120, 0, 0), -- 4166 (Area: 2407) +(@CGUID+1906, 13321, 1, 1, 1, -793.7316, 1265.305, 91.16779, 1.693559, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1907, 49728, 1, 1, 1, -833.8778, 1277.466, 95.46175, 0.3402669, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+1908, 13321, 1, 1, 1, -774.4412, 1247.361, 90.75096, 0.9393598, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1909, 35409, 1, 1, 1, -779.7505, 1244.795, 91.64464, 1.000452, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1910, 49842, 1, 1, 1, -805.2147, 1277.133, 94.37924, 1.009583, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1911, 35409, 1, 1, 1, -858.0104, 1278.207, 97.7571, 4.238705, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1912, 4166, 1, 1, 1, -832.2404, 1249.117, 97.64816, 1.819566, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1913, 49842, 1, 1, 1, -818.0875, 1218.04, 102.4964, 0.2729143, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1914, 35409, 1, 1, 1, -828.7556, 1253.396, 96.7463, 1.627836, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1915, 4166, 1, 1, 1, -853.8885, 1243.51, 97.91588, 4.436659, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+1916, 49842, 1, 1, 1, -861.2786, 1257.1, 100.7586, 3.554469, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1917, 35409, 1, 1, 1, -882.5455, 1259.618, 97.46974, 5.915731, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1918, 4638, 1, 1, 1, -838.3112, 1172.537, 101.4013, 0.02864685, 120, 0, 0), -- 4638 (Area: 4804) +(@CGUID+1919, 4645, 1, 1, 1, -846.3768, 1133.399, 91.85651, 4.310963, 120, 0, 0), -- 4645 (Area: 4804) +(@CGUID+1920, 49839, 1, 1, 1, -844.0704, 1109.026, 91.22183, 4.56405, 120, 0, 0), -- 49839 (Area: 4804) +(@CGUID+1921, 62186, 1, 1, 1, -884.5051, 1123.596, 93.22401, 0.7881606, 120, 5, 1), -- 62186 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1922, 4638, 1, 1, 1, -911.9632, 1148.302, 93.9929, 0.07729667, 120, 0, 0), -- 4638 (Area: 4804) +(@CGUID+1923, 4645, 1, 1, 1, -876.4833, 1136.778, 91.41679, 2.59865, 120, 0, 0), -- 4645 (Area: 4804) +(@CGUID+1924, 4645, 1, 1, 1, -916.8425, 1120.212, 92.57266, 3.593737, 120, 0, 0), -- 4645 (Area: 4804) +(@CGUID+1925, 62187, 1, 1, 1, -882.1563, 1083.29, 88.34683, 4.852279, 120, 5, 1), -- 62187 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1926, 4641, 1, 1, 1, -852.7891, 1065.843, 91.4914, 1.399012, 120, 0, 0), -- 4641 (Area: 4804) +(@CGUID+1927, 4642, 1, 1, 1, -874.8268, 1043.297, 91.70464, 4.080013, 120, 0, 0), -- 4642 (Area: 4804) (Auras: 101639 - 101639) +(@CGUID+1928, 4645, 1, 1, 1, -899.4826, 1100.025, 88.30238, 0.2314556, 120, 0, 0), -- 4645 (Area: 4804) +(@CGUID+1929, 4641, 1, 1, 1, -889.4272, 1073.357, 91.35648, 3.532029, 120, 0, 0), -- 4641 (Area: 4804) +(@CGUID+1930, 4645, 1, 1, 1, -845.8333, 1069.905, 91.46928, 2.583087, 120, 0, 0), -- 4645 (Area: 4804) +(@CGUID+1931, 4638, 1, 1, 1, -930.6993, 1073.618, 89.83621, 3.072232, 120, 0, 0), -- 4638 (Area: 4797) +(@CGUID+1932, 62187, 1, 1, 1, -948.1471, 1057.006, 89.59727, 1.782008, 120, 5, 1), -- 62187 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1933, 49839, 1, 1, 1, -896.1125, 1007.847, 90.97412, 2.734544, 120, 0, 0), -- 49839 (Area: 4797) +(@CGUID+1934, 4641, 1, 1, 1, -883.0513, 990.5335, 89.47976, 1.894288, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1935, 62187, 1, 1, 1, -894.2526, 920.9781, 89.47977, 5.878222, 120, 0, 0), -- 62187 (Area: 4797) +(@CGUID+1936, 4641, 1, 1, 1, -919.4977, 937.7673, 91.16556, 4.845586, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1937, 4641, 1, 1, 1, -939.7561, 985.8418, 89.56068, 3.099338, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1938, 62187, 1, 1, 1, -927.7054, 987.4459, 89.47976, 5.195522, 120, 5, 1), -- 62187 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1939, 50481, 1, 1, 1, -958.938, 1020.262, 91.43143, 2.549664, 120, 5, 1), -- 50481 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1940, 4640, 1, 1, 1, -934.5624, 1002.911, 89.6043, 0.07131641, 120, 0, 0), -- 4640 (Area: 4797) +(@CGUID+1941, 4645, 1, 1, 1, -946.7157, 955.9314, 96.9971, 4.165609, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1942, 4640, 1, 1, 1, -900.3696, 914.8948, 89.72394, 3.252154, 120, 0, 0), -- 4640 (Area: 4797) +(@CGUID+1943, 49835, 1, 1, 1, -919.5211, 894.168, 93.12778, 2.022001, 120, 0, 0), -- 49835 (Area: 4797) +(@CGUID+1944, 4645, 1, 1, 1, -890.2562, 892.6344, 95.14938, 1.427795, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1945, 4645, 1, 1, 1, -947.9473, 888.8182, 91.22789, 5.782904, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1946, 4641, 1, 1, 1, -939.8665, 889.4263, 91.22789, 4.270576, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1947, 49839, 1, 1, 1, -982.7233, 907.6763, 91.53725, 1.961613, 120, 0, 0), -- 49839 (Area: 4797) +(@CGUID+1948, 4641, 1, 1, 1, -984.3688, 911.7661, 91.1354, 1.201424, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1949, 4641, 1, 1, 1, -988.5957, 952.1665, 93.02422, 3.816504, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1950, 4642, 1, 1, 1, -1013.968, 877.7315, 92.65104, 0.869103, 120, 0, 0), -- 4642 (Area: 4797) +(@CGUID+1951, 4642, 1, 1, 1, -1044.923, 954.0734, 91.15416, 4.5883, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1952, 4645, 1, 1, 1, -1044.791, 898.959, 92.70341, 2.357785, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1953, 49835, 1, 1, 1, -1018.625, 946.4744, 92.24658, 4.168442, 120, 5, 1), -- 49835 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1954, 4642, 1, 1, 1, -1061.979, 913.0215, 91.84204, 1.298409, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1955, 4642, 1, 1, 1, -1009.298, 1019.391, 94.4327, 6.228684, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+1956, 49835, 1, 1, 1, -1041.657, 981.811, 90.61908, 0.9366159, 120, 5, 1), -- 49835 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1957, 62187, 1, 1, 1, -1008.377, 1045, 90.30102, 1.562984, 120, 5, 1), -- 62187 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1958, 4645, 1, 1, 1, -1049.264, 1014.99, 90.5594, 2.268928, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1959, 4641, 1, 1, 1, -1020.146, 1045.676, 90.43649, 4.046755, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+1960, 4638, 1, 1, 1, -977.7369, 1051.339, 91.97977, 2.903428, 120, 0, 0), -- 4638 (Area: 4797) +(@CGUID+1961, 49835, 1, 1, 1, -958.2324, 1073.058, 89.68893, 5.006171, 120, 5, 1), -- 49835 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1962, 4645, 1, 1, 1, -979.9063, 1084.526, 91.17884, 0.06796068, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1963, 4638, 1, 1, 1, -1018.034, 1116.409, 88.38102, 4.864527, 120, 0, 0), -- 4638 (Area: 4797) +(@CGUID+1964, 4638, 1, 1, 1, -951.9764, 1142.17, 88.34288, 0.6540992, 120, 0, 0), -- 4638 (Area: 4797) +(@CGUID+1965, 4645, 1, 1, 1, -1029.572, 1091.047, 88.34288, 0.1106699, 120, 0, 0), -- 4645 (Area: 4797) +(@CGUID+1966, 35409, 1, 1, 1, -955.0437, 1189.539, 90.8519, 2.221471, 120, 0, 0), -- 35409 (Area: 4797) +(@CGUID+1967, 61071, 1, 1, 1, -947.9557, 1192.053, 92.64088, 5.632257, 120, 5, 1), -- 61071 (Area: 4797) (possible waypoints or random movement) +(@CGUID+1968, 4638, 1, 1, 1, -996.784, 1152.901, 95.32124, 4.057797, 120, 0, 0), -- 4638 (Area: 4797) +(@CGUID+1969, 13321, 1, 1, 1, -936.9969, 1188.309, 92.44826, 0.3971957, 120, 0, 0), -- 13321 (Area: 4797) +(@CGUID+1970, 4166, 1, 1, 1, -921.8138, 1199.022, 94.53403, 2.555484, 120, 0, 0), -- 4166 (Area: 4797) +(@CGUID+1971, 13321, 1, 1, 1, -1013.622, 1182.707, 90.86118, 4.999543, 120, 0, 0), -- 13321 (Area: 4797) +(@CGUID+1972, 4166, 1, 1, 1, -987.4623, 1192.193, 90.92279, 2.493402, 120, 0, 0), -- 4166 (Area: 4797) +(@CGUID+1973, 35409, 1, 1, 1, -944.3206, 1237.385, 92.18567, 0.5695264, 120, 0, 0), -- 35409 (Area: 4797) +(@CGUID+1974, 13321, 1, 1, 1, -970.6367, 1238.44, 93.39231, 1.448842, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1975, 35409, 1, 1, 1, -1013.011, 1212.011, 88.33897, 1.590251, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1976, 35409, 1, 1, 1, -996.5996, 1253.095, 90.90903, 6.102371, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1977, 13321, 1, 1, 1, -1004.155, 1253.054, 90.7888, 4.726677, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1978, 49842, 1, 1, 1, -1002.265, 1258.293, 93.63033, 0.4970851, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1979, 13321, 1, 1, 1, -873.2103, 1351.894, 63.36848, 4.64666, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1980, 35409, 1, 1, 1, -878.343, 1351.708, 62.81916, 2.972347, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1981, 13321, 1, 1, 1, -943.5819, 1336.827, 64.00361, 0.7902357, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1982, 13321, 1, 1, 1, -911.5881, 1364.298, 54.40231, 2.967769, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1983, 35409, 1, 1, 1, -968.3597, 1323.33, 63.86213, 3.893854, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1984, 13321, 1, 1, 1, -902.7949, 1335.953, 63.6504, 5.454277, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1985, 13321, 1, 1, 1, -962.4509, 1353.952, 60.63327, 6.031954, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1986, 35409, 1, 1, 1, -949.3137, 1314.931, 64.41028, 0.3875791, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1987, 13321, 1, 1, 1, -929.955, 1325.505, 56.72854, 1.033726, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1988, 61071, 1, 1, 1, -923.2263, 1424.202, 65.52365, 5.422637, 120, 5, 1), -- 61071 (Area: 4804) (possible waypoints or random movement) +(@CGUID+1989, 13321, 1, 1, 1, -892.4324, 1424.061, 61.72102, 0.8144313, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1990, 35409, 1, 1, 1, -912.3303, 1424.982, 66.06332, 0.9929656, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1991, 13321, 1, 1, 1, -844.5328, 1434.88, 63.51627, 2.317326, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1992, 49842, 1, 1, 1, -926.8285, 1424.343, 71.89563, 2.970888, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1993, 13321, 1, 1, 1, -880.9698, 1436.875, 62.43563, 3.141416, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1994, 35409, 1, 1, 1, -891.853, 1441.401, 63.09237, 1.836726, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1995, 49842, 1, 1, 1, -902.2732, 1449.664, 72.91946, 4.074067, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1996, 49842, 1, 1, 1, -925.4158, 1442.886, 76.20225, 1.706741, 120, 0, 0), -- 49842 (Area: 4804) +(@CGUID+1997, 35409, 1, 1, 1, -839.3936, 1435.87, 65.3605, 1.268547, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+1998, 13321, 1, 1, 1, -911.3561, 1445.247, 65.84661, 2.882851, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+1999, 13321, 1, 1, 1, -862.951, 1478.161, 64.05942, 3.499979, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+2000, 35409, 1, 1, 1, -877.2075, 1474.653, 67.43034, 1.429728, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+2001, 61071, 1, 1, 1, -847.8173, 1484.32, 61.55893, 2.228927, 120, 5, 1), -- 61071 (Area: 4804) (possible waypoints or random movement) +(@CGUID+2002, 35409, 1, 1, 1, -936.6791, 1444.912, 65.87462, 2.753687, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+2003, 35409, 1, 1, 1, -847.5818, 1490.125, 61.60933, 4.778624, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+2004, 13321, 1, 1, 1, -970.4433, 1445.601, 64.00652, 0.737955, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+2005, 13321, 1, 1, 1, -970.4873, 1462.6, 64.1447, 3.422277, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+2006, 4166, 1, 1, 1, -997.7034, 1472.964, 62.80864, 3.805113, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+2007, 49728, 1, 1, 1, -1006.331, 1464.181, 63.76839, 3.953937, 120, 0, 0), -- 49728 (Area: 4804) +(@CGUID+2008, 4166, 1, 1, 1, -1014.963, 1453.862, 62.87094, 0.7171389, 120, 0, 0), -- 4166 (Area: 4805) +(@CGUID+2009, 13321, 1, 1, 1, -991.0381, 1421.581, 62.91219, 5.407762, 120, 0, 0), -- 13321 (Area: 4805) +(@CGUID+2010, 35409, 1, 1, 1, -1016.56, 1448.905, 62.91159, 1.586495, 120, 0, 0), -- 35409 (Area: 4805) +(@CGUID+2011, 13321, 1, 1, 1, -1024.951, 1410.311, 63.28169, 3.031043, 120, 0, 0), -- 13321 (Area: 4805) +(@CGUID+2012, 13321, 1, 1, 1, -1016.844, 1385.415, 64.26442, 3.332097, 120, 0, 0), -- 13321 (Area: 4805) +(@CGUID+2013, 35409, 1, 1, 1, -1062.716, 1387.015, 62.91818, 0.3336692, 120, 0, 0), -- 35409 (Area: 4805) +(@CGUID+2014, 35409, 1, 1, 1, -1012.33, 1380.559, 63.18935, 5.063922, 120, 0, 0), -- 35409 (Area: 4805) +(@CGUID+2015, 13321, 1, 1, 1, -1030.241, 1368.845, 64.43314, 3.771129, 120, 0, 0), -- 13321 (Area: 4805) +(@CGUID+2016, 4166, 1, 1, 1, -1053.603, 1362.202, 65.07693, 4.252868, 120, 0, 0), -- 4166 (Area: 4805) +(@CGUID+2017, 35409, 1, 1, 1, -993.4026, 1350.825, 67.97481, 4.073968, 120, 0, 0), -- 35409 (Area: 4805) +(@CGUID+2018, 35409, 1, 1, 1, -1041.985, 1356.837, 65.17006, 5.553483, 120, 0, 0), -- 35409 (Area: 4805) +(@CGUID+2019, 13321, 1, 1, 1, -1038.512, 1346.378, 63.80458, 1.014594, 120, 0, 0), -- 13321 (Area: 4805) +(@CGUID+2020, 35409, 1, 1, 1, -1035.691, 1243.136, 90.63157, 3.293578, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+2021, 13321, 1, 1, 1, -1030.6, 1239.926, 90.74084, 4.488984, 120, 0, 0), -- 13321 (Area: 4804) +(@CGUID+2022, 35409, 1, 1, 1, -1045.625, 1286.512, 91.88157, 1.433597, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+2023, 35409, 1, 1, 1, -1069.218, 1245.089, 90.75343, 0.2507144, 120, 0, 0), -- 35409 (Area: 4804) +(@CGUID+2024, 4166, 1, 1, 1, -1079.054, 1212.077, 92.14985, 1.47103, 120, 0, 0), -- 4166 (Area: 4804) +(@CGUID+2025, 4638, 1, 1, 1, -1053.366, 1158.157, 91.61994, 2.630273, 120, 0, 0), -- 4638 (Area: 4804) +(@CGUID+2026, 50481, 1, 1, 1, -1041.375, 1159.609, 91.39806, 4.699257, 120, 5, 1), -- 50481 (Area: 4804) (possible waypoints or random movement) +(@CGUID+2027, 4645, 1, 1, 1, -1071.789, 1139.13, 88.34289, 1.74063, 120, 0, 0), -- 4645 (Area: 4804) +(@CGUID+2028, 49835, 1, 1, 1, -1044.636, 1116.063, 88.34289, 0.4568101, 120, 5, 1), -- 49835 (Area: 4804) (possible waypoints or random movement) +(@CGUID+2029, 62187, 1, 1, 1, -1051.904, 1111.843, 88.34289, 3.651698, 120, 5, 1), -- 62187 (Area: 4804) (possible waypoints or random movement) +(@CGUID+2030, 4642, 1, 1, 1, -1067.206, 1044.884, 90.57967, 3.081639, 120, 0, 0), -- 4642 (Area: 4804) +(@CGUID+2031, 4642, 1, 1, 1, -1064.273, 1010.527, 90.34645, 4.68876, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+2032, 4642, 1, 1, 1, -1087.913, 951.0156, 90.62463, 0.05235988, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+2033, 4642, 1, 1, 1, -1110.034, 935.9529, 90.23413, 0.06132969, 120, 0, 0), -- 4642 (Area: 4797) (Auras: 101639 - 101639) +(@CGUID+2034, 4641, 1, 1, 1, -1078.734, 884.138, 91.74644, 2.197882, 120, 0, 0), -- 4641 (Area: 4797) +(@CGUID+2035, 62184, 1, 1, 1, -1084.952, 905.8539, 91.41785, 4.296346, 120, 0, 0), -- 62184 (Area: 4797) +(@CGUID+2036, 35450, 1, 1, 1, -1009.705, 1461.748, 63.96787, 0.8310055, 120, 0, 0), -- 35450 (Area: 4804) +(@CGUID+2037, 4692, 1, 1, 1, -474.9586, 1397.828, 96.91739, 3.950693, 120, 0, 0), -- 4692 (Area: 4804) +(@CGUID+2038, 4728, 1, 1, 1, -454.9543, 1484.977, 91.4379, 6.129505, 120, 0, 0), -- 4728 (Area: 4804) +(@CGUID+2039, 11576, 1, 1, 1, -470.223, 1482.011, 89.80083, 0.2085019, 120, 0, 0), -- 11576 (Area: 4804) +(@CGUID+2040, 50481, 1, 1, 1, -449.9108, 1480.401, 91.26004, 1.53934, 120, 5, 1), -- 50481 (Area: 4804) (possible waypoints or random movement) +(@CGUID+2041, 35757, 1, 1, 1, -418.0278, 1491.898, 90.77924, 0.6806784, 120, 0, 0), -- 35757 (Area: 0) +(@CGUID+2042, 49835, 1, 1, 1, -444.3387, 1412.548, 94.35339, 1.676491, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2043, 49835, 1, 1, 1, -422.8532, 1538.618, 90.4035, 1.427445, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2044, 62187, 1, 1, 1, -379.373, 1452.169, 89.47395, 0.6260329, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+2045, 50481, 1, 1, 1, -378.1858, 1478.82, 90.7857, 6.1271, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2046, 49839, 1, 1, 1, -382.4573, 1448.805, 89.46587, 5.302517, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2047, 4692, 1, 1, 1, -419.799, 1381.883, 98.57414, 5.939919, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2048, 4692, 1, 1, 1, -394.1223, 1416.053, 95.7811, 3.386792, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2049, 62187, 1, 1, 1, -438.8778, 1355.037, 93.2433, 0.7142382, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+2050, 4728, 1, 1, 1, -461.7342, 1348.712, 97.19154, 1.370143, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2051, 4696, 1, 1, 1, -404.6712, 1322.196, 93.3149, 0.8151583, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2052, 62184, 1, 1, 1, -463.0286, 1251.352, 91.49081, 5.124464, 120, 5, 1), -- 62184 (Area: 0) (possible waypoints or random movement) +(@CGUID+2053, 50481, 1, 1, 1, -479.6899, 1186.228, 100.0207, 6.124453, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2054, 4728, 1, 1, 1, -478.9909, 1131.896, 92.51536, 2.385831, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2055, 62184, 1, 1, 1, -521.6678, 1095.712, 92.50401, 1.069579, 120, 5, 1), -- 62184 (Area: 0) (possible waypoints or random movement) +(@CGUID+2056, 62187, 1, 1, 1, -459.8874, 1111.473, 90.67966, 1.313101, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+2057, 4689, 1, 1, 1, -532.5566, 1063.097, 90.18748, 3.739831, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2058, 4689, 1, 1, 1, -523.8234, 1067.071, 89.95603, 3.223027, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2059, 4689, 1, 1, 1, -534.0276, 1067.45, 89.92565, 3.748263, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2060, 4689, 1, 1, 1, -531.4275, 1069.604, 89.95603, 3.697821, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2061, 35661, 1, 1, 1, -536.4948, 1069.274, 89.9138, 0, 120, 0, 0), -- 35661 (Area: 0) +(@CGUID+2062, 35556, 1, 1, 1, -534.007, 1056.241, 90.47139, 1.32645, 120, 0, 0), -- 35556 (Area: 0) +(@CGUID+2063, 4696, 1, 1, 1, -521.2557, 1019.279, 89.48359, 4.897261, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2064, 4696, 1, 1, 1, -489.0707, 1051.304, 92.88293, 4.255292, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2065, 62184, 1, 1, 1, -480.7271, 1051.121, 90.47069, 3.681342, 120, 5, 1), -- 62184 (Area: 0) (possible waypoints or random movement) +(@CGUID+2066, 4728, 1, 1, 1, -445.4336, 1087.737, 92.43162, 0.6251748, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2067, 50481, 1, 1, 1, -532.7755, 983.159, 89.47977, 6.103403, 120, 5, 1), -- 50481 (Area: 4925) (possible waypoints or random movement) +(@CGUID+2068, 62187, 1, 1, 1, -503.9065, 977.1672, 89.74957, 6.107438, 120, 5, 1), -- 62187 (Area: 4925) (possible waypoints or random movement) +(@CGUID+2069, 4689, 1, 1, 1, -611.7344, 1006.623, 93.28821, 4.296023, 120, 0, 0), -- 4689 (Area: 4925) +(@CGUID+2070, 4696, 1, 1, 1, -449.9569, 1027.3, 89.55927, 1.442588, 120, 0, 0), -- 4696 (Area: 4925) +(@CGUID+2071, 4728, 1, 1, 1, -515.8829, 951.2317, 90.106, 2.722769, 120, 0, 0), -- 4728 (Area: 4925) +(@CGUID+2072, 4696, 1, 1, 1, -557.6307, 917.9233, 92.34531, 2.724047, 120, 0, 0), -- 4696 (Area: 4925) +(@CGUID+2073, 4728, 1, 1, 1, -514.0625, 875.7285, 90.55268, 1.570796, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2074, 4696, 1, 1, 1, -558.7996, 850.8983, 91.26934, 2.374876, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2075, 50481, 1, 1, 1, -550.7596, 846.3608, 91.08749, 1.979373, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2076, 4728, 1, 1, 1, -536.6824, 805.5957, 90.6663, 4.937694, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2077, 4692, 1, 1, 1, -545.9598, 809.9403, 90.6663, 5.967448, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2078, 62185, 1, 1, 1, -556.3516, 799.1602, 90.6663, 1.102214, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+2079, 11576, 1, 1, 1, -548.9939, 774.8694, 96.49633, 5.638512, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2080, 4696, 1, 1, 1, -620.4182, 654.535, 146.9389, 5.538093, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2081, 4696, 1, 1, 1, -531.3022, 704.0181, 142.1365, 5.065331, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2082, 4692, 1, 1, 1, -621.9072, 622.8796, 150.6922, 4.079431, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2083, 4728, 1, 1, 1, -557.4654, 666.6736, 161.9137, 5.24946, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2084, 4696, 1, 1, 1, -593.0883, 630.0363, 162.512, 4.585128, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2085, 4728, 1, 1, 1, -620.7167, 588.0426, 159.2221, 1.699237, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2086, 4696, 1, 1, 1, -650.0013, 617.7031, 143.4501, 0.5295748, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2087, 4728, 1, 1, 1, -513.3659, 761.2819, 105.6075, 5.497787, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2088, 11576, 1, 1, 1, -469.747, 729.1964, 118.5662, 0.5880026, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2089, 41353, 1, 1, 1, -345.2465, 821.4028, 97.78424, 0, 120, 0, 0), -- 41353 (Area: 0) (Auras: ) +(@CGUID+2090, 35620, 1, 1, 1, -345.6389, 821.8542, 103.1395, 0, 120, 0, 0), -- 35620 (Area: 0) +(@CGUID+2091, 35621, 1, 1, 1, -345.1059, 827.3715, 124.8252, 0, 120, 0, 0), -- 35621 (Area: 0) +(@CGUID+2092, 4728, 1, 1, 1, -479.911, 867.1141, 91.27642, 1.050151, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2093, 49835, 1, 1, 1, -443.8295, 855.9764, 91.55255, 1.492407, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2094, 11576, 1, 1, 1, -486.4529, 905.5667, 90.47534, 4.698718, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2095, 49839, 1, 1, 1, -463.6599, 924.0633, 90.7037, 1.666674, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2096, 4696, 1, 1, 1, -454.8268, 883.0374, 90.95481, 2.0282, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2097, 4728, 1, 1, 1, -420.8681, 976.4138, 90.46613, 0.5771935, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2098, 4696, 1, 1, 1, -444.5066, 958.3295, 92.21799, 4.504759, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2099, 11576, 1, 1, 1, -417.4154, 919.3751, 91.19326, 0.6481904, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2100, 4728, 1, 1, 1, -465.7069, 982.2797, 91.40484, 5.918084, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2101, 4696, 1, 1, 1, -414.1242, 1057.939, 91.02717, 4.59163, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2102, 62187, 1, 1, 1, -415.8386, 1181.25, 91.6832, 0, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+2103, 4728, 1, 1, 1, -382.1931, 1097.933, 95.60683, 0.8120199, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2104, 4696, 1, 1, 1, -397.3039, 1275.781, 92.90716, 3.394832, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2105, 4728, 1, 1, 1, -368.7622, 1200.948, 90.61419, 2.261406, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2106, 4692, 1, 1, 1, -368.9873, 1307.226, 89.02058, 0.05376419, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2107, 49839, 1, 1, 1, -372.4054, 1421.599, 91.32008, 0.8655584, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2108, 11576, 1, 1, 1, -355.0646, 1440.011, 89.52802, 3.062123, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2109, 49835, 1, 1, 1, -356.4855, 1522.487, 89.47977, 2.168034, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2110, 4728, 1, 1, 1, -338.2447, 1483.495, 92.87068, 5.97378, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2111, 4700, 1, 1, 1, -408.0884, 1553.819, 91.27315, 3.011068, 120, 0, 0), -- 4700 (Area: 0) +(@CGUID+2112, 4696, 1, 1, 1, -341.8565, 1547.122, 91.4808, 2.540312, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2113, 50481, 1, 1, 1, -279.8417, 1483.314, 89.59004, 3.440096, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2114, 4728, 1, 1, 1, -306.7208, 1495.811, 89.70486, 1.50251, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2115, 11576, 1, 1, 1, -290.1759, 1457.53, 90.50561, 4.886727, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2116, 50481, 1, 1, 1, -294.3404, 1401.199, 95.1961, 4.784947, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2117, 4692, 1, 1, 1, -340.6032, 1325.02, 98.30273, 3.996335, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2118, 62185, 1, 1, 1, -353.9109, 1245.541, 95.05754, 1.927753, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+2119, 4696, 1, 1, 1, -284.8504, 1304.846, 90.9836, 2.578233, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2120, 4728, 1, 1, 1, -261.6042, 1357.816, 89.58685, 6.019775, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2121, 4728, 1, 1, 1, -349.5391, 1282.829, 89.8474, 3.052613, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2122, 4728, 1, 1, 1, -262.3933, 1285.506, 90.4763, 2.100838, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2123, 4728, 1, 1, 1, -350.8677, 1227.895, 91.49084, 4.679166, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2124, 4728, 1, 1, 1, -284.1478, 1248.533, 90.67242, 1.430714, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2125, 49839, 1, 1, 1, -306.7609, 1257.76, 91.33875, 0.6866924, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2126, 4696, 1, 1, 1, -307.2384, 1199.204, 92.16486, 1.285734, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2127, 4728, 1, 1, 1, -361.723, 1121.081, 95.87065, 5.668616, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2128, 4696, 1, 1, 1, -290.6371, 1158.417, 90.65542, 3.851476, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2129, 49839, 1, 1, 1, -315.973, 1085.641, 92.35296, 3.752639, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2130, 49835, 1, 1, 1, -301.9298, 1087.781, 91.37371, 3.211927, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2131, 28960, 1, 1, 1, -183.2049, 1117.073, 90.63802, 0, 120, 0, 0), -- 28960 (Area: 0) (Auras: 67927 - 67927) +(@CGUID+2132, 4692, 1, 1, 1, -364.2762, 1036.378, 91.06093, 4.701361, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2133, 4696, 1, 1, 1, -326.5426, 1053.211, 90.5506, 2.714642, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2134, 4728, 1, 1, 1, -360.0705, 1008.754, 90.43697, 5.920347, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2135, 4728, 1, 1, 1, -293.3203, 1073.664, 91.24011, 4.657868, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2136, 4728, 1, 1, 1, -334.0721, 1025.032, 90.36268, 5.71249, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2137, 50481, 1, 1, 1, -347.3477, 977.8379, 90.23798, 4.604135, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2138, 4696, 1, 1, 1, -345.4891, 978.2938, 90.15428, 5.11251, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2139, 4728, 1, 1, 1, -386.3871, 952.3176, 91.64233, 5.737411, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2140, 35363, 1, 1, 1, -330.132, 803.2882, 91.69794, 0, 120, 0, 0), -- 35363 (Area: 0) +(@CGUID+2141, 4672, 1, 1, 1, -384.3158, 785.8, 92.15851, 0.6108652, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2142, 4670, 1, 1, 1, -448.0762, 781.6452, 101.8287, 5.833038, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2143, 62184, 1, 1, 1, -322.1392, 793.7749, 91.62202, 1.849508, 120, 5, 1), -- 62184 (Area: 603) (possible waypoints or random movement) +(@CGUID+2144, 35363, 1, 1, 1, -242.2014, 714.3993, 100.9774, 0, 120, 0, 0), -- 35363 (Area: 603) +(@CGUID+2145, 4670, 1, 1, 1, -404.1933, 824.7526, 89.94724, 0.2385082, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2146, 4672, 1, 1, 1, -340.0691, 887.9411, 89.46587, 0.533737, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2147, 49839, 1, 1, 1, -358.5644, 915.5972, 91.20127, 2.006067, 120, 0, 0), -- 49839 (Area: 603) +(@CGUID+2148, 4671, 1, 1, 1, -321.8658, 855.9517, 94.88703, 3.110353, 120, 0, 0), -- 4671 (Area: 603) +(@CGUID+2149, 4670, 1, 1, 1, -369.6548, 862.5745, 89.54006, 0.7927172, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2150, 4671, 1, 1, 1, -315.3748, 916.1138, 90.78592, 3.909338, 120, 0, 0), -- 4671 (Area: 603) +(@CGUID+2151, 50481, 1, 1, 1, -301.3548, 889.8328, 90.05276, 6.150798, 120, 5, 1), -- 50481 (Area: 603) (possible waypoints or random movement) +(@CGUID+2152, 4675, 1, 1, 1, -286.2444, 887.7303, 90.03311, 2.935759, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2153, 4728, 1, 1, 1, -289.9095, 1072.448, 91.34424, 2.529257, 120, 0, 0), -- 4728 (Area: 603) +(@CGUID+2154, 4696, 1, 1, 1, -249.3664, 1008.728, 90.57576, 5.513659, 120, 0, 0), -- 4696 (Area: 603) +(@CGUID+2155, 4671, 1, 1, 1, -242.9209, 974.2299, 90.22925, 5.154686, 120, 0, 0), -- 4671 (Area: 603) +(@CGUID+2156, 4728, 1, 1, 1, -239.9867, 1044.505, 90.22343, 1.641199, 120, 0, 0), -- 4728 (Area: 603) +(@CGUID+2157, 4728, 1, 1, 1, -251.5095, 1148.805, 90.81001, 3.389598, 120, 0, 0), -- 4728 (Area: 603) +(@CGUID+2158, 50481, 1, 1, 1, -262.0879, 1169.806, 90.36884, 0.851262, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2159, 4696, 1, 1, 1, -216.6793, 1115.413, 88.91423, 0.8704317, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2160, 62185, 1, 1, 1, -236.8293, 1223.598, 90.09153, 5.825799, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+2161, 4696, 1, 1, 1, -223.0834, 1200.856, 90.23032, 1.933942, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2162, 4728, 1, 1, 1, -250.4063, 1219.63, 90.60989, 4.304676, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2163, 11576, 1, 1, 1, -213.0884, 1243.103, 93.26089, 5.336159, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2164, 4728, 1, 1, 1, -189.1611, 1200.543, 89.89075, 1.379325, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2165, 4696, 1, 1, 1, -220.3322, 1317.501, 89.64267, 2.949148, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2166, 50481, 1, 1, 1, -254.5002, 1322.342, 89.5732, 4.778019, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2167, 4728, 1, 1, 1, -182.9453, 1284.34, 93.01051, 6.278677, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2168, 4696, 1, 1, 1, -194.9605, 1358.094, 89.62922, 5.387668, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2169, 50481, 1, 1, 1, -196.7787, 1371.09, 90.54133, 5.236624, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2170, 4689, 1, 1, 1, -236.0186, 1454.513, 92.591, 4.685089, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2171, 4696, 1, 1, 1, -257.6255, 1487.581, 90.5497, 5.90431, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2172, 4728, 1, 1, 1, -216.848, 1480.989, 91.75996, 4.505037, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2173, 50481, 1, 1, 1, -185.0939, 1479.498, 94.15376, 2.769861, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2174, 4728, 1, 1, 1, -217.5487, 1483.073, 91.96931, 1.465061, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2175, 4689, 1, 1, 1, -172.4196, 1493.056, 91.03887, 3.872144, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2176, 4689, 1, 1, 1, -175.9944, 1492.407, 91.07877, 3.88486, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2177, 4689, 1, 1, 1, -176.1258, 1488.907, 91.39413, 3.862075, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2178, 4689, 1, 1, 1, -180.7607, 1484.031, 92.57286, 3.901426, 120, 0, 0), -- 4689 (Area: 0) +(@CGUID+2179, 4692, 1, 1, 1, -260.8232, 1535.758, 89.47977, 4.422848, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2180, 4696, 1, 1, 1, -174.8688, 1474.733, 94.70731, 2.836455, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2181, 4696, 1, 1, 1, -214.973, 1559.402, 90.99339, 1.500462, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2182, 49835, 1, 1, 1, -197.9837, 1569.405, 92.02559, 0.8095815, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2183, 4696, 1, 1, 1, -113.817, 1398.23, 100.3335, 3.55635, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2184, 4696, 1, 1, 1, -157.3253, 1322.723, 89.72056, 5.232094, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2185, 4728, 1, 1, 1, -125.8889, 1346.878, 89.45222, 2.949238, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2186, 50481, 1, 1, 1, -147.0868, 1314.466, 89.06809, 2.015449, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2187, 4696, 1, 1, 1, -120.0667, 1300.904, 91.74657, 4.549489, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2188, 4692, 1, 1, 1, -149.6611, 1268.082, 89.66458, 5.534686, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2189, 49839, 1, 1, 1, -155.6176, 1212.838, 89.64967, 0.4310943, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2190, 35464, 1, 1, 1, -57.62153, 1188.684, 91.86885, 0, 120, 0, 0), -- 35464 (Area: 0) +(@CGUID+2191, 4728, 1, 1, 1, -170.0191, 1185.167, 90.35477, 1.692243, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2192, 4696, 1, 1, 1, -179.3916, 1138.983, 90.31976, 3.269564, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2193, 4692, 1, 1, 1, -160.2861, 1111.123, 85.27234, 0.4152775, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2194, 4076, 1, 1, 1, -174.5291, 1092.11, 84.79761, 6.048135, 120, 0, 0), -- 4076 (Area: 0) +(@CGUID+2195, 50481, 1, 1, 1, -194.8805, 1087.521, 85.3741, 2.725154, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2196, 11576, 1, 1, 1, -173.9306, 1089.935, 84.97334, 3.81463, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2197, 4692, 1, 1, 1, -164.7758, 1097.876, 84.79761, 0.1539926, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2198, 50481, 1, 1, 1, -236.4179, 986.2955, 90.50977, 3.509305, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2199, 4673, 1, 1, 1, -255.146, 896.9734, 89.67911, 1.282016, 120, 0, 0), -- 4673 (Area: 0) +(@CGUID+2200, 4672, 1, 1, 1, -209.5187, 945.046, 90.86978, 3.144522, 120, 0, 0), -- 4672 (Area: 0) +(@CGUID+2201, 4673, 1, 1, 1, -256.9297, 888.9834, 89.47977, 4.933889, 120, 0, 0), -- 4673 (Area: 0) +(@CGUID+2202, 4670, 1, 1, 1, -283.1498, 947.9213, 92.96501, 6.197124, 120, 0, 0), -- 4670 (Area: 0) (Auras: 77806 - 77806) +(@CGUID+2203, 62185, 1, 1, 1, -194.3329, 929.2336, 91.28153, 4.549489, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+2204, 4672, 1, 1, 1, -217.9295, 877.2595, 92.05321, 0.8659014, 120, 0, 0), -- 4672 (Area: 0) +(@CGUID+2205, 4673, 1, 1, 1, -201.19, 882.9835, 91.14567, 1.277646, 120, 0, 0), -- 4673 (Area: 603) +(@CGUID+2206, 4674, 1, 1, 1, -246.2828, 847.5701, 90.50658, 1.776182, 120, 0, 0), -- 4674 (Area: 603) +(@CGUID+2207, 62186, 1, 1, 1, -257.598, 814.5602, 91.8175, 3.609607, 120, 5, 1), -- 62186 (Area: 603) (possible waypoints or random movement) +(@CGUID+2208, 4075, 1, 1, 1, -203.1061, 887.7082, 91.1869, 1.440655, 120, 0, 0), -- 4075 (Area: 603) +(@CGUID+2209, 41355, 1, 1, 1, -242.1997, 692.9792, 103.2766, 0, 120, 0, 0), -- 41355 (Area: 603) (Auras: ) +(@CGUID+2210, 35581, 1, 1, 1, -242.1545, 692.7813, 105.102, 0, 120, 0, 0), -- 35581 (Area: 603) +(@CGUID+2211, 62184, 1, 1, 1, -334.4821, 742.9393, 88.76751, 3.37615, 120, 5, 1), -- 62184 (Area: 603) (possible waypoints or random movement) +(@CGUID+2212, 4672, 1, 1, 1, -350.0566, 747.4854, 89.24029, 4.847617, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2213, 4675, 1, 1, 1, -321.4111, 722.525, 89.27762, 2.345488, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2214, 50481, 1, 1, 1, -316.2325, 721.9088, 88.88873, 4.713215, 120, 5, 1), -- 50481 (Area: 603) (possible waypoints or random movement) +(@CGUID+2215, 14225, 1, 1, 1, -262.6857, 746.4364, 99.69596, 1.304265, 120, 5, 1), -- 14225 (Area: 603) (possible waypoints or random movement) +(@CGUID+2216, 4671, 1, 1, 1, -285.8046, 685.7963, 96.1591, 3.073091, 120, 0, 0), -- 4671 (Area: 603) +(@CGUID+2217, 4672, 1, 1, 1, -242.3403, 709.0139, 100.9774, 4.694936, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2218, 4672, 1, 1, 1, -208.0529, 708.3607, 99.6627, 1.373275, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2219, 35363, 1, 1, 1, -89.5434, 771.5608, 132.9751, 0, 120, 0, 0), -- 35363 (Area: 603) +(@CGUID+2220, 62186, 1, 1, 1, -186.3166, 681.0515, 91.41176, 5.116901, 120, 5, 1), -- 62186 (Area: 603) (possible waypoints or random movement) +(@CGUID+2221, 35381, 1, 1, 1, -92.59722, 769.7604, 134.8824, 0.5585054, 120, 0, 0), -- 35381 (Area: 603) +(@CGUID+2222, 4671, 1, 1, 1, -234.3532, 758.7827, 98.96559, 6.204706, 120, 0, 0), -- 4671 (Area: 603) +(@CGUID+2223, 41356, 1, 1, 1, -90.11111, 771.6371, 133.8612, 0, 120, 0, 0), -- 41356 (Area: 603) (Auras: ) +(@CGUID+2224, 4671, 1, 1, 1, -286.0089, 748.6406, 89.95533, 4.014565, 120, 0, 0), -- 4671 (Area: 603) +(@CGUID+2225, 4674, 1, 1, 1, -263.2445, 794.5688, 89.59753, 1.454999, 120, 0, 0), -- 4674 (Area: 603) (Auras: 37816 - 37816) +(@CGUID+2226, 4692, 1, 1, 1, -100.533, 1487.318, 100.0375, 4.032157, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2227, 4692, 1, 1, 1, -91.43327, 1494.566, 98.40334, 1.054313, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2228, 4696, 1, 1, 1, -84.83454, 1445.025, 102.2695, 4.173234, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2229, 4075, 1, 1, 1, -104.8379, 1491.223, 99.15721, 6.219279, 120, 0, 0), -- 4075 (Area: 0) +(@CGUID+2230, 4692, 1, 1, 1, -94.90704, 1421.298, 96.01917, 3.92808, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2231, 11576, 1, 1, 1, -118.0495, 1535.532, 92.75101, 4.581129, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2232, 4692, 1, 1, 1, -93.22852, 1293.229, 90.69047, 1.575857, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2233, 50481, 1, 1, 1, -116.7558, 1247.556, 90.6022, 2.733252, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2234, 4728, 1, 1, 1, -117.9062, 1223.002, 93.88683, 1.793601, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2235, 4728, 1, 1, 1, -141.2613, 1124.568, 88.73346, 1.134834, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2236, 4671, 1, 1, 1, -150.3494, 1020.723, 91.32634, 2.501605, 120, 0, 0), -- 4671 (Area: 0) +(@CGUID+2237, 50481, 1, 1, 1, -172.8544, 1016.502, 93.85044, 0.5492895, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2238, 4673, 1, 1, 1, -156.0658, 942.8028, 89.99291, 5.548194, 120, 0, 0), -- 4673 (Area: 0) +(@CGUID+2239, 4673, 1, 1, 1, -173.8318, 918.779, 91.84436, 0.2426308, 120, 0, 0), -- 4673 (Area: 603) +(@CGUID+2240, 4670, 1, 1, 1, -254.0338, 922.1894, 96.10477, 2.783281, 120, 0, 0), -- 4670 (Area: 603) +(@CGUID+2241, 4672, 1, 1, 1, -334.6111, 821.8958, 93.53589, 2.932153, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2242, 4670, 1, 1, 1, -280.9178, 818.8122, 90.89199, 4.446236, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2243, 4672, 1, 1, 1, -348.1424, 810.9514, 93.53036, 1.658063, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2244, 4674, 1, 1, 1, -256.8538, 794.2498, 89.58135, 2.223613, 120, 0, 0), -- 4674 (Area: 603) (Auras: 37816 - 37816) +(@CGUID+2245, 4670, 1, 1, 1, -216.9275, 818.6261, 90.89273, 2.463257, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2246, 4673, 1, 1, 1, -181.517, 783.4614, 97.59772, 5.470417, 120, 0, 0), -- 4673 (Area: 603) +(@CGUID+2247, 4670, 1, 1, 1, -147.6941, 818.4976, 115.0915, 3.770558, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2248, 4675, 1, 1, 1, -113.751, 886.6418, 123.9392, 1.138588, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2249, 4674, 1, 1, 1, -121.6005, 921.0475, 93.73013, 3.430619, 120, 0, 0), -- 4674 (Area: 603) (Auras: 37816 - 37816) +(@CGUID+2250, 4674, 1, 1, 1, -122.6766, 984.2704, 90.20759, 4.49439, 120, 0, 0), -- 4674 (Area: 603) (Auras: 37816 - 37816) +(@CGUID+2251, 4670, 1, 1, 1, -186.706, 979.1859, 90.75433, 4.869682, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2252, 4675, 1, 1, 1, -113.8628, 985.6942, 89.70759, 4.402696, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2253, 49835, 1, 1, 1, -115.6434, 1049.913, 91.31213, 6.178831, 120, 5, 1), -- 49835 (Area: 603) (possible waypoints or random movement) +(@CGUID+2254, 11576, 1, 1, 1, -116.497, 1080.165, 92.1312, 5.824174, 120, 0, 0), -- 11576 (Area: 603) +(@CGUID+2255, 4672, 1, 1, 1, -110.1696, 1040.264, 91.19926, 3.527174, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2256, 62186, 1, 1, 1, -99.16253, 1089.682, 91.35979, 5.914821, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+2257, 4696, 1, 1, 1, -104.4467, 1174.476, 89.60477, 3.678153, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2258, 62184, 1, 1, 1, -18.91769, 1417.935, 89.23788, 0.05156628, 120, 5, 1), -- 62184 (Area: 0) (possible waypoints or random movement) +(@CGUID+2259, 4696, 1, 1, 1, -45.33474, 1312.573, 94.10416, 3.32634, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2260, 4076, 1, 1, 1, -80.93018, 1291.215, 91.7061, 4.117344, 120, 0, 0), -- 4076 (Area: 0) +(@CGUID+2261, 4728, 1, 1, 1, -12.50033, 1387.558, 91.31931, 2.97099, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2262, 50481, 1, 1, 1, -57.34144, 1325.094, 90.00199, 4.682239, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2263, 49839, 1, 1, 1, -58.42137, 1234.807, 91.10611, 1.320133, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2264, 8151, 1, 1, 1, -37.60742, 1205.295, 97.13436, 0.4426991, 120, 0, 0), -- 8151 (Area: 0) (Auras: 5301 - 5301) +(@CGUID+2265, 62186, 1, 1, 1, -73.74137, 1149.564, 91.16589, 5.809505, 120, 5, 1), -- 62186 (Area: 0) (possible waypoints or random movement) +(@CGUID+2266, 8151, 1, 1, 1, -23.63219, 1192.892, 101.1217, 1.493038, 120, 0, 0), -- 8151 (Area: 0) (Auras: 5301 - 5301) +(@CGUID+2267, 4696, 1, 1, 1, -77.02585, 1111.261, 92.46648, 6.120286, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2268, 4674, 1, 1, 1, -15.1572, 1087.464, 113.5995, 4.11951, 120, 0, 0), -- 4674 (Area: 0) (Auras: 37816 - 37816) +(@CGUID+2269, 4674, 1, 1, 1, -49.06403, 1055.737, 101.5509, 6.147922, 120, 0, 0), -- 4674 (Area: 0) (Auras: 37816 - 37816) +(@CGUID+2270, 50481, 1, 1, 1, -79.93088, 1008.202, 90.76095, 2.087414, 120, 5, 1), -- 50481 (Area: 0) (possible waypoints or random movement) +(@CGUID+2271, 50481, 1, 1, 1, -13.16721, 1036.489, 117.0139, 2.968732, 120, 0, 0), -- 50481 (Area: 0) +(@CGUID+2272, 4672, 1, 1, 1, -103.3022, 1015.775, 90.77372, 2.647204, 120, 0, 0), -- 4672 (Area: 0) +(@CGUID+2273, 49839, 1, 1, 1, -93.23956, 950.2303, 89.68626, 1.773311, 120, 0, 0), -- 49839 (Area: 603) +(@CGUID+2274, 4675, 1, 1, 1, 0.5668511, 1037.441, 119.4874, 6.172636, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2275, 4675, 1, 1, 1, -52.09145, 958.7335, 91.74286, 5.840746, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2276, 4672, 1, 1, 1, -84.70977, 952.9922, 90.0825, 4.183363, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2277, 4675, 1, 1, 1, -53.39278, 964.2781, 91.71259, 4.326169, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2278, 35382, 1, 1, 1, 73.42014, 892.4514, 143.1297, 0, 120, 0, 0), -- 35382 (Area: 603) +(@CGUID+2279, 4673, 1, 1, 1, -41.28912, 845.3063, 109.6886, 1.192662, 120, 0, 0), -- 4673 (Area: 603) +(@CGUID+2280, 50481, 1, 1, 1, -84.05744, 805.9104, 127.2516, 5.134976, 120, 5, 1), -- 50481 (Area: 603) (possible waypoints or random movement) +(@CGUID+2281, 4672, 1, 1, 1, -98.16666, 785.6476, 133.8564, 5.235988, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2282, 4672, 1, 1, 1, -43.94975, 758.107, 100.4728, 5.821286, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2283, 4670, 1, 1, 1, -110.4542, 780.3061, 126.3063, 4.608677, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2284, 49835, 1, 1, 1, -102.4455, 738.2801, 125.0286, 6.252587, 120, 5, 1), -- 49835 (Area: 603) (possible waypoints or random movement) +(@CGUID+2285, 62185, 1, 1, 1, -60.48214, 617.9769, 91.61851, 4.867839, 120, 5, 1), -- 62185 (Area: 603) (possible waypoints or random movement) +(@CGUID+2286, 4673, 1, 1, 1, -35.71185, 665.069, 91.477, 3.201599, 120, 0, 0), -- 4673 (Area: 603) +(@CGUID+2287, 4675, 1, 1, 1, -70.59399, 609.3223, 91.46311, 4.683836, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2288, 4670, 1, 1, 1, -152.2488, 687.7818, 97.98773, 0.2766916, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2289, 4675, 1, 1, 1, -116.5674, 707.0482, 114.3518, 1.194644, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2290, 4671, 1, 1, 1, 19.75457, 661.1069, 108.2049, 0.1706026, 120, 0, 0), -- 4671 (Area: 603) +(@CGUID+2291, 4670, 1, 1, 1, -16.23106, 689.6654, 91.49088, 4.502849, 120, 0, 0), -- 4670 (Area: 603) (Auras: 77806 - 77806) +(@CGUID+2292, 4672, 1, 1, 1, 27.32289, 712.0398, 121.3313, 2.64283, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2293, 4675, 1, 1, 1, 55.31717, 880.3, 141.7833, 2.45155, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2294, 4675, 1, 1, 1, 20.18343, 919.3955, 130.9274, 1.551268, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2295, 4675, 1, 1, 1, 84.07488, 916.3083, 148.3178, 3.725259, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2296, 4674, 1, 1, 1, 138.7295, 852.1691, 143.1544, 5.026536, 120, 0, 0), -- 4674 (Area: 603) (Auras: 37816 - 37816) +(@CGUID+2297, 4671, 1, 1, 1, 121.0566, 887.1163, 144.4446, 0.1163677, 120, 0, 0), -- 4671 (Area: 603) +(@CGUID+2298, 4674, 1, 1, 1, 78.00427, 953.9238, 162.5025, 1.503335, 120, 0, 0), -- 4674 (Area: 603) (Auras: 37816 - 37816) +(@CGUID+2299, 4675, 1, 1, 1, 120.79, 938.475, 165.697, 0.5213263, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2300, 4675, 1, 1, 1, 149.9846, 905.8564, 157.1537, 4.945889, 120, 0, 0), -- 4675 (Area: 603) +(@CGUID+2301, 4674, 1, 1, 1, 56.67012, 965.5567, 156.3629, 3.962887, 120, 0, 0), -- 4674 (Area: 603) (Auras: 37816 - 37816) +(@CGUID+2302, 4672, 1, 1, 1, 16.07774, 987.2676, 133.4622, 1.913557, 120, 0, 0), -- 4672 (Area: 603) +(@CGUID+2303, 4696, 1, 1, 1, -7.202672, 1472.198, 94.70488, 5.049534, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2304, 4696, 1, 1, 1, 39.88256, 1434.132, 97.52833, 1.14821, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2305, 35561, 1, 1, 1, 115.0556, 1359.844, 238.2218, 0, 120, 0, 0), -- 35561 (Area: 0) +(@CGUID+2306, 4728, 1, 1, 1, 8.668137, 1408.362, 92.06557, 0.7929999, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2307, 49839, 1, 1, 1, 34.23155, 1495.862, 101.7539, 2.990577, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2308, 35561, 1, 1, 1, 123.191, 1333.582, 239.1325, 0, 120, 0, 0), -- 35561 (Area: 0) +(@CGUID+2309, 35561, 1, 1, 1, 136.6285, 1326.75, 236.8836, 0, 120, 0, 0), -- 35561 (Area: 0) +(@CGUID+2310, 4728, 1, 1, 1, 65.68499, 1471.227, 111.2747, 2.069831, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2311, 4728, 1, 1, 1, 17.9322, 1517.465, 100.4248, 0.5468659, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2312, 35561, 1, 1, 1, 167.5052, 1341.531, 240.4711, 0, 120, 0, 0), -- 35561 (Area: 0) +(@CGUID+2313, 35561, 1, 1, 1, 150.3333, 1304.649, 219.0551, 0, 120, 0, 0), -- 35561 (Area: 0) +(@CGUID+2314, 35561, 1, 1, 1, 167.2691, 1297.457, 243.6253, 0, 120, 0, 0), -- 35561 (Area: 0) +(@CGUID+2315, 35561, 1, 1, 1, 154.8247, 1267.076, 218.5558, 0, 120, 0, 0), -- 35561 (Area: 0) +(@CGUID+2316, 35561, 1, 1, 1, 155.7795, 1213.708, 193.5246, 0, 120, 0, 0), -- 35561 (Area: 608) +(@CGUID+2317, 8151, 1, 1, 1, 73.59379, 1225.762, 159.4351, 4.801431, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2318, 8151, 1, 1, 1, 69.96484, 1213.574, 157.9717, 3.328261, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2319, 35561, 1, 1, 1, 183.1806, 1330.589, 231.5643, 0, 120, 0, 0), -- 35561 (Area: 608) +(@CGUID+2320, 5642, 1, 1, 1, 97.81383, 1246.163, 164.1547, 5.201081, 120, 0, 0), -- 5642 (Area: 608) +(@CGUID+2321, 62184, 1, 1, 1, 119.8716, 1201.243, 167.1599, 4.681119, 120, 5, 1), -- 62184 (Area: 608) (possible waypoints or random movement) +(@CGUID+2322, 5752, 1, 1, 1, 126.208, 1232.691, 163.2596, 3.141593, 120, 0, 0), -- 5752 (Area: 608) +(@CGUID+2323, 8151, 1, 1, 1, 138.6117, 1253.93, 165.5281, 6.232743, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2324, 8151, 1, 1, 1, 144.0455, 1180.389, 166.3975, 3.750245, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2325, 5396, 1, 1, 1, 124.2922, 1236.186, 163.1451, 3.141593, 120, 0, 0), -- 5396 (Area: 608) +(@CGUID+2326, 35561, 1, 1, 1, 203.0538, 1308.969, 208.7791, 0, 120, 0, 0), -- 35561 (Area: 608) +(@CGUID+2327, 49835, 1, 1, 1, 157.5034, 1251.238, 166.8803, 6.266585, 120, 5, 1), -- 49835 (Area: 608) (possible waypoints or random movement) +(@CGUID+2328, 5638, 1, 1, 1, 163.4893, 1257.05, 166.7824, 3.822271, 120, 0, 0), -- 5638 (Area: 608) +(@CGUID+2329, 8151, 1, 1, 1, 171.5654, 1198.717, 166.6896, 0.9087601, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2330, 8151, 1, 1, 1, 144.0073, 1300.106, 186.609, 1.321219, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2331, 51839, 1, 1, 1, 102.0399, 1247.845, 164.0916, 5.541409, 120, 0, 0), -- 51839 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2332, 11715, 1, 1, 1, 185.9399, 1153.643, 168.3441, 2.583087, 120, 0, 0), -- 11715 (Area: 608) +(@CGUID+2333, 8151, 1, 1, 1, 170.7432, 1301.601, 189.6822, 4.614058, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2334, 1322, 1, 1, 1, 202.8367, 1179.19, 168.082, 2.879793, 120, 0, 0), -- 1322 (Area: 608) +(@CGUID+2335, 34982, 1, 1, 1, 319.6581, 1060.108, 171.4093, 4.316055, 120, 5, 1), -- 34982 (Area: 608) (possible waypoints or random movement) +(@CGUID+2336, 12960, 1, 1, 1, 243.016, 1238.589, 192.2364, 0.2617994, 120, 0, 0), -- 12960 (Area: 608) +(@CGUID+2337, 8151, 1, 1, 1, 247.3267, 1238.488, 192.1651, 1.928585, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2338, 8150, 1, 1, 1, 255.0336, 1257.517, 192.2236, 3.351032, 120, 0, 0), -- 8150 (Area: 608) +(@CGUID+2339, 11104, 1, 1, 1, 217.0837, 1283.479, 190.378, 1.64061, 120, 0, 0), -- 11104 (Area: 608) +(@CGUID+2340, 11103, 1, 1, 1, 255.6148, 1253.763, 192.2242, 3.246312, 120, 0, 0), -- 11103 (Area: 608) +(@CGUID+2341, 8151, 1, 1, 1, 237.969, 1273.358, 192.1632, 3.481125, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2342, 8151, 1, 1, 1, 164.5583, 1316.927, 191.6908, 0.6324318, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2343, 8151, 1, 1, 1, 226.3704, 1307.914, 190.0894, 4.23716, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2344, 8151, 1, 1, 1, 197.075, 1328.327, 191.5958, 4.566746, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2345, 8151, 1, 1, 1, 273.3185, 1259.709, 190.1447, 3.925104, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2346, 8151, 1, 1, 1, 258.3784, 1307.828, 192.4104, 0.1320509, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2347, 51839, 1, 1, 1, 237.5537, 1257.03, 192.1505, 1.509434, 120, 0, 0), -- 51839 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2348, 8151, 1, 1, 1, 160.6892, 1337.747, 197.4727, 0.0001679097, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2349, 62184, 1, 1, 1, 274.1045, 1329.441, 203.2471, 2.013031, 120, 5, 1), -- 62184 (Area: 608) (possible waypoints or random movement) +(@CGUID+2350, 34982, 1, 1, 1, 361.6807, 1057.369, 156.0461, 0.7550393, 120, 0, 0), -- 34982 (Area: 608) +(@CGUID+2351, 13737, 1, 1, 1, 149.9309, 1356.592, 197.5565, 4.834562, 120, 0, 0), -- 13737 (Area: 608) +(@CGUID+2352, 13737, 1, 1, 1, 140.9193, 1350.383, 197.5564, 6.265732, 120, 0, 0), -- 13737 (Area: 608) +(@CGUID+2353, 6706, 1, 1, 1, 136.2185, 1326.327, 193.5825, 4.607669, 120, 0, 0), -- 6706 (Area: 608) +(@CGUID+2354, 13698, 1, 1, 1, 132.2241, 1363.844, 199.1581, 2.268928, 120, 0, 0), -- 13698 (Area: 608) +(@CGUID+2355, 8151, 1, 1, 1, 121.125, 1337.4, 191.1964, 4.677063, 120, 0, 0), -- 8151 (Area: 608) (Auras: 5301 - 5301) +(@CGUID+2356, 4728, 1, 1, 1, -420.7876, 1603.401, 92.29511, 1.779298, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2357, 49839, 1, 1, 1, -421.4935, 1641.553, 108.2101, 4.039349, 120, 0, 0), -- 49839 (Area: 599) +(@CGUID+2358, 4664, 1, 1, 1, -422.2326, 1711.531, 129.4245, 1.22173, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2359, 4664, 1, 1, 1, -396.1069, 1657.742, 108.6229, 5.570801, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2360, 4664, 1, 1, 1, -434.4757, 1704.149, 126.7674, 3.420845, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2361, 4666, 1, 1, 1, -406.9826, 1732.851, 130.5167, 3.787364, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2362, 4664, 1, 1, 1, -403.4705, 1781.769, 127.7956, 3.298672, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2363, 4664, 1, 1, 1, -405.7996, 1755.664, 130.328, 5.586024, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2364, 4664, 1, 1, 1, -405.2535, 1778.724, 128.2726, 2.426008, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2365, 4666, 1, 1, 1, -395.2743, 1716.332, 131.8406, 3.420845, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2366, 4666, 1, 1, 1, -402.9123, 1837.422, 128.4899, 2.9147, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2367, 4666, 1, 1, 1, -401.3576, 1874.509, 128.4925, 3.944444, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2368, 4665, 1, 1, 1, -394.0017, 1860.663, 128.4921, 3.176499, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2369, 4665, 1, 1, 1, -394.5293, 1882.332, 126.523, 3.985477, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2370, 49839, 1, 1, 1, -384.3234, 1948.702, 112.6986, 3.670792, 120, 0, 0), -- 49839 (Area: 599) +(@CGUID+2371, 49839, 1, 1, 1, -384.5285, 1912.446, 121.293, 1.012387, 120, 0, 0), -- 49839 (Area: 599) +(@CGUID+2372, 62186, 1, 1, 1, -384.0859, 1992.059, 106.3481, 3.36429, 120, 5, 1), -- 62186 (Area: 599) (possible waypoints or random movement) +(@CGUID+2373, 4692, 1, 1, 1, -352.8317, 1976.947, 107.7362, 4.715086, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2374, 4692, 1, 1, 1, -290.9655, 2209.127, 107.8446, 3.986395, 120, 0, 0), -- 4692 (Area: 4803) +(@CGUID+2375, 49835, 1, 1, 1, -293.1434, 2360.483, 41.03194, 2.394849, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2376, 4711, 1, 1, 1, -299.621, 2338.303, 46.29182, 0.8850668, 120, 5, 1), -- 4711 (Area: 0) (possible waypoints or random movement) +(@CGUID+2377, 4713, 1, 1, 1, -267.5757, 2324.792, 20.58868, 0.1204767, 120, 5, 1), -- 4713 (Area: 0) (possible waypoints or random movement) +(@CGUID+2378, 4714, 1, 1, 1, -172.7989, 2360.775, -18.86922, 0.3694165, 120, 5, 1), -- 4714 (Area: 0) (possible waypoints or random movement) +(@CGUID+2379, 49835, 1, 1, 1, -248.5888, 2214.455, 99.44936, 2.578233, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2380, 4726, 1, 1, 1, -321.9677, 2074.634, 108.3094, 2.320964, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+2381, 11576, 1, 1, 1, -278.0682, 2080.078, 130.9775, 2.408616, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2382, 4692, 1, 1, 1, -342.9864, 1957.762, 112.2946, 2.873554, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2383, 62184, 1, 1, 1, -343.4451, 1938.129, 116.3301, 0.3847653, 120, 5, 1), -- 62184 (Area: 0) (possible waypoints or random movement) +(@CGUID+2384, 4664, 1, 1, 1, -350.507, 1854.908, 123.9422, 1.169371, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2385, 4665, 1, 1, 1, -373.0714, 1841.286, 125.5589, 4.593478, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2386, 4664, 1, 1, 1, -361.1528, 1868.726, 123.7756, 0.3665192, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2387, 4726, 1, 1, 1, -301.9186, 1899.733, 137.0934, 5.128433, 120, 0, 0), -- 4726 (Area: 599) +(@CGUID+2388, 4663, 1, 1, 1, -380.9792, 1802.832, 127.8574, 3.054326, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2389, 4666, 1, 1, 1, -341.0507, 1796.502, 139.3443, 4.310963, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2390, 4665, 1, 1, 1, -361.4616, 1784.024, 139.3501, 2.190636, 120, 0, 0), -- 4665 (Area: 599) (Auras: ) +(@CGUID+2391, 4664, 1, 1, 1, -335.2172, 1822.911, 127.3702, 4.886363, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2392, 4663, 1, 1, 1, -386.9063, 1796.2, 127.9846, 1.902409, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2393, 4726, 1, 1, 1, -276.4254, 1844.932, 169.3243, 2.608878, 120, 0, 0), -- 4726 (Area: 599) +(@CGUID+2394, 4665, 1, 1, 1, -347.2274, 1775.813, 139.6028, 4.572762, 120, 0, 0), -- 4665 (Area: 599) (Auras: ) +(@CGUID+2395, 4665, 1, 1, 1, -332.9375, 1758.306, 139.6028, 6.021386, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2396, 4665, 1, 1, 1, -287.698, 1778.529, 129.9521, 4.117762, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2397, 4666, 1, 1, 1, -376.6111, 1746.01, 139.4827, 4.799655, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2398, 4665, 1, 1, 1, -361.0278, 1760.75, 139.6022, 6.265732, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2399, 4666, 1, 1, 1, -374.6701, 1770.109, 139.4202, 0.05235988, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2400, 4665, 1, 1, 1, -353.9861, 1750.269, 139.6017, 1.151917, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2401, 4667, 1, 1, 1, -347.1424, 1762.868, 138.4543, 3.874631, 120, 0, 0), -- 4667 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2402, 4666, 1, 1, 1, -318.4288, 1754.639, 139.4286, 3.176499, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2403, 4666, 1, 1, 1, -373.5035, 1741.352, 139.483, 2.9147, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2404, 4666, 1, 1, 1, -352.9462, 1729.109, 139.4187, 1.22173, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2405, 4666, 1, 1, 1, -316.883, 1751.129, 139.3378, 1.390456, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2406, 4663, 1, 1, 1, -369.9201, 1717.132, 130.8815, 4.799655, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2407, 4663, 1, 1, 1, -322.7466, 1710.619, 127.9707, 2.444873, 120, 0, 0), -- 4663 (Area: 599) +(@CGUID+2408, 4664, 1, 1, 1, -318.0927, 1679.986, 120.5489, 0.8905643, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2409, 4666, 1, 1, 1, -302.741, 1724.31, 127.7998, 2.225677, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2410, 4663, 1, 1, 1, -337.0208, 1651.342, 132.3775, 1.675516, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2411, 4665, 1, 1, 1, -282.143, 1745.556, 128.6762, 4.591022, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2412, 4665, 1, 1, 1, -262.3186, 1760.531, 125.0213, 0.095237, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2413, 4664, 1, 1, 1, -303.0019, 1656.239, 112.8484, 5.891322, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2414, 4666, 1, 1, 1, -284.2692, 1682.074, 111.3972, 3.705777, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2415, 4664, 1, 1, 1, -336.4917, 1639.061, 132.3128, 4.642576, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2416, 4664, 1, 1, 1, -336.9486, 1643.296, 108.7073, 4.852015, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2417, 4664, 1, 1, 1, -327.4925, 1648.857, 125.8385, 5.8294, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2418, 4692, 1, 1, 1, -257.2121, 1814.575, 164.2296, 5.756656, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2419, 4666, 1, 1, 1, -256.7424, 1683.915, 103.839, 5.578618, 120, 0, 0), -- 4666 (Area: 599) (Auras: 77617 - 77617) +(@CGUID+2420, 4664, 1, 1, 1, -398.8712, 1644.623, 108.1316, 2.6625, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2421, 4692, 1, 1, 1, -308.8488, 1559.026, 91.25919, 1.620632, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2422, 49835, 1, 1, 1, -305.9741, 1580.044, 91.95934, 2.248385, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2423, 4663, 1, 1, 1, -331.2639, 1642.143, 108.2589, 5.150423, 120, 0, 0), -- 4663 (Area: 599) +(@CGUID+2424, 4692, 1, 1, 1, -255.3833, 1585.17, 91.30804, 1.061458, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2425, 50481, 1, 1, 1, -272.9567, 1658.384, 105.3278, 0.8763708, 120, 5, 1), -- 50481 (Area: 599) (possible waypoints or random movement) +(@CGUID+2426, 4665, 1, 1, 1, -232.3339, 1717.106, 105.2677, 2.272599, 120, 0, 0), -- 4665 (Area: 599) +(@CGUID+2427, 4663, 1, 1, 1, -228.4965, 1681.885, 99.83928, 4.066617, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2428, 4663, 1, 1, 1, -209.0938, 1685.694, 104.3102, 4.817109, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2429, 4663, 1, 1, 1, -214.434, 1711.592, 105.6423, 5.323254, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2430, 4664, 1, 1, 1, -217.1378, 1751.573, 116.2002, 2.452358, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2431, 49835, 1, 1, 1, -230.664, 1714.078, 105.2677, 2.412937, 120, 5, 1), -- 49835 (Area: 599) (possible waypoints or random movement) +(@CGUID+2432, 4663, 1, 1, 1, -243.8142, 1666.561, 100.8524, 3.420845, 120, 0, 0), -- 4663 (Area: 599) +(@CGUID+2433, 4728, 1, 1, 1, -209.8463, 1791.138, 145.1325, 0.491609, 120, 0, 0), -- 4728 (Area: 599) +(@CGUID+2434, 4663, 1, 1, 1, -186.2421, 1741.683, 114.1526, 1.328186, 120, 0, 0), -- 4663 (Area: 599) +(@CGUID+2435, 4728, 1, 1, 1, -172.9431, 1820.843, 166.4762, 3.872374, 120, 0, 0), -- 4728 (Area: 599) +(@CGUID+2436, 4692, 1, 1, 1, -160.6805, 1963.212, 246.836, 4.649848, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2437, 4726, 1, 1, 1, -259.8448, 2016.861, 173.5667, 0.4734686, 120, 0, 0), -- 4726 (Area: 599) +(@CGUID+2438, 4692, 1, 1, 1, -154.8524, 1853.349, 200.3224, 4.813361, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2439, 4692, 1, 1, 1, -143.1289, 1893.583, 265.1594, 4.905271, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2440, 62185, 1, 1, 1, -118.2491, 1798.891, 148.0526, 4.825849, 120, 5, 1), -- 62185 (Area: 599) (possible waypoints or random movement) +(@CGUID+2441, 4696, 1, 1, 1, -92.4442, 1775.922, 140.5229, 5.638709, 120, 0, 0), -- 4696 (Area: 599) +(@CGUID+2442, 49835, 1, 1, 1, -168.7941, 1710.93, 99.53893, 2.527024, 120, 0, 0), -- 49835 (Area: 599) +(@CGUID+2443, 4728, 1, 1, 1, -143.9451, 1710.516, 95.99481, 0.195151, 120, 0, 0), -- 4728 (Area: 599) +(@CGUID+2444, 4664, 1, 1, 1, -194.0507, 1697.703, 105.4624, 5.288348, 120, 0, 0), -- 4664 (Area: 599) +(@CGUID+2445, 11576, 1, 1, 1, -71.87934, 1792.228, 136.0075, 5.935166, 120, 0, 0), -- 11576 (Area: 599) +(@CGUID+2446, 4076, 1, 1, 1, -94.53226, 1708.996, 93.96121, 1.477215, 120, 0, 0), -- 4076 (Area: 599) +(@CGUID+2447, 4692, 1, 1, 1, -147.3515, 1667.268, 89.62372, 2.802139, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2448, 4692, 1, 1, 1, -116.1861, 1684.108, 92.5673, 4.720201, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2449, 4076, 1, 1, 1, -129.049, 1692.323, 89.71761, 1.541005, 120, 0, 0), -- 4076 (Area: 599) +(@CGUID+2450, 11576, 1, 1, 1, -90.52966, 1723.8, 98.6088, 4.973243, 120, 0, 0), -- 11576 (Area: 599) +(@CGUID+2451, 4663, 1, 1, 1, -220.1563, 1657.252, 99.3634, 0.3490658, 120, 0, 0), -- 4663 (Area: 599) (Auras: 43897 - 43897) +(@CGUID+2452, 4728, 1, 1, 1, -90.53164, 1656.656, 88.22727, 1.658804, 120, 0, 0), -- 4728 (Area: 599) +(@CGUID+2453, 4692, 1, 1, 1, -94.18442, 1684.425, 89.09551, 3.223711, 120, 0, 0), -- 4692 (Area: 599) +(@CGUID+2454, 62186, 1, 1, 1, -114.4197, 1660.992, 91.68009, 3.355961, 120, 5, 1), -- 62186 (Area: 599) (possible waypoints or random movement) +(@CGUID+2455, 4076, 1, 1, 1, -79.19136, 1681.528, 89.4772, 4.714107, 120, 0, 0), -- 4076 (Area: 599) +(@CGUID+2456, 4696, 1, 1, 1, -186.1944, 1580.68, 91.55379, 3.501542, 120, 0, 0), -- 4696 (Area: 599) +(@CGUID+2457, 50481, 1, 1, 1, -137.7142, 1575.897, 91.81789, 3.543149, 120, 5, 1), -- 50481 (Area: 599) (possible waypoints or random movement) +(@CGUID+2458, 62185, 1, 1, 1, -83.29662, 1537.498, 92.88414, 4.692861, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+2459, 4728, 1, 1, 1, -117.8784, 1592.035, 90.97684, 3.875269, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2460, 4728, 1, 1, 1, -51.92186, 1568.629, 94.75471, 5.092853, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2461, 49839, 1, 1, 1, -33.09906, 1592.367, 94.17128, 5.99538, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2462, 11576, 1, 1, 1, -33.81002, 1619.48, 91.46738, 2.95459, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2463, 4696, 1, 1, 1, -37.90319, 1674.289, 90.10604, 0.4461821, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2464, 11576, 1, 1, 1, 10.75824, 1651.361, 92.4907, 0.6774856, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2465, 49835, 1, 1, 1, -38.62385, 1689.336, 89.26214, 2.215266, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2466, 62187, 1, 1, 1, -6.214038, 1670.022, 88.85662, 5.505157, 120, 5, 1), -- 62187 (Area: 0) (possible waypoints or random movement) +(@CGUID+2467, 4075, 1, 1, 1, 32.7249, 1605.318, 101.4872, 6.188598, 120, 0, 0), -- 4075 (Area: 0) +(@CGUID+2468, 62185, 1, 1, 1, -11.95411, 1654.407, 88.83416, 5.884845, 120, 5, 1), -- 62185 (Area: 0) (possible waypoints or random movement) +(@CGUID+2469, 11576, 1, 1, 1, 3.775356, 1697.27, 96.33088, 1.002162, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2470, 49835, 1, 1, 1, 23.06554, 1707.567, 99.43741, 5.354628, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2471, 4728, 1, 1, 1, -25.913, 1741.365, 117.7472, 5.569788, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2472, 4692, 1, 1, 1, 25.47669, 1742.55, 108.3434, 0.5923339, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2473, 4696, 1, 1, 1, 49.97152, 1772.787, 105.884, 0.02148107, 120, 0, 0), -- 4696 (Area: 2404) +(@CGUID+2474, 4692, 1, 1, 1, 77.06504, 1735.302, 86.80521, 5.978072, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2475, 50481, 1, 1, 1, 59.87356, 1771.5, 101.7626, 4.897798, 120, 5, 1), -- 50481 (Area: 2404) (possible waypoints or random movement) +(@CGUID+2476, 11576, 1, 1, 1, 40.80361, 1839.525, 122.3258, 4.833836, 120, 0, 0), -- 11576 (Area: 2404) +(@CGUID+2477, 62186, 1, 1, 1, 88.02128, 1799.883, 95.24918, 4.090776, 120, 5, 1), -- 62186 (Area: 2404) (possible waypoints or random movement) +(@CGUID+2478, 11576, 1, 1, 1, 91.10703, 1802.652, 95.45062, 1.419781, 120, 0, 0), -- 11576 (Area: 2404) +(@CGUID+2479, 4075, 1, 1, 1, 70.65822, 1680.083, 97.34056, 4.909019, 120, 0, 0), -- 4075 (Area: 2404) +(@CGUID+2480, 4692, 1, 1, 1, 85.41602, 1757.813, 86.47904, 2.159376, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2481, 49835, 1, 1, 1, 122.3516, 1709.018, 92.39089, 1.899034, 120, 5, 1), -- 49835 (Area: 2404) (possible waypoints or random movement) +(@CGUID+2482, 50481, 1, 1, 1, 151.9869, 1750.973, 91.64795, 5.279793, 120, 5, 1), -- 50481 (Area: 2404) (possible waypoints or random movement) +(@CGUID+2483, 4696, 1, 1, 1, 93.82648, 1864.991, 118.9189, 4.25486, 120, 0, 0), -- 4696 (Area: 2404) +(@CGUID+2484, 11576, 1, 1, 1, 148.2341, 1885.444, 133.7152, 5.801208, 120, 0, 0), -- 11576 (Area: 2404) +(@CGUID+2485, 4076, 1, 1, 1, 230.7304, 1799.783, 89.31351, 4.920619, 120, 0, 0), -- 4076 (Area: 2404) +(@CGUID+2486, 62184, 1, 1, 1, 184.498, 1779.791, 90.40073, 3.740256, 120, 5, 1), -- 62184 (Area: 2404) (possible waypoints or random movement) +(@CGUID+2487, 35286, 1, 1, 1, 189.5573, 1770.958, 91.20638, 1.797689, 120, 0, 0), -- 35286 (Area: 2404) (Auras: 49414 - 49414) +(@CGUID+2488, 4696, 1, 1, 1, 168.0832, 1944.136, 161.9155, 3.276621, 120, 0, 0), -- 4696 (Area: 2404) +(@CGUID+2489, 4696, 1, 1, 1, 215.5336, 1887.312, 132.2589, 0.2014147, 120, 0, 0), -- 4696 (Area: 2404) +(@CGUID+2490, 50481, 1, 1, 1, 190.748, 1967.481, 163.1572, 0.963764, 120, 0, 0), -- 50481 (Area: 2404) +(@CGUID+2491, 50481, 1, 1, 1, 256.2454, 1853.164, 92.92118, 4.026164, 120, 5, 1), -- 50481 (Area: 2404) (possible waypoints or random movement) +(@CGUID+2492, 4728, 1, 1, 1, 224.4087, 1955.663, 145.6929, 0.6622416, 120, 0, 0), -- 4728 (Area: 2404) +(@CGUID+2493, 4692, 1, 1, 1, 194.5981, 1982.362, 164.5379, 1.265045, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2494, 62185, 1, 1, 1, 270.1007, 1939.037, 141.2192, 4.921675, 120, 0, 0), -- 62185 (Area: 2404) +(@CGUID+2495, 49839, 1, 1, 1, 215.2477, 1978.351, 154.0652, 4.541621, 120, 0, 0), -- 49839 (Area: 2404) +(@CGUID+2496, 4728, 1, 1, 1, 266.5777, 1933.976, 138.8442, 0.826811, 120, 0, 0), -- 4728 (Area: 2404) +(@CGUID+2497, 4692, 1, 1, 1, 303.394, 1920.429, 156.0442, 1.893695, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2498, 4692, 1, 1, 1, 322.8992, 1973.403, 190.8177, 6.109362, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2499, 4728, 1, 1, 1, 271.7936, 1975.833, 144.3394, 5.700847, 120, 0, 0), -- 4728 (Area: 2404) +(@CGUID+2500, 4692, 1, 1, 1, 320.9151, 1895.153, 135.5289, 1.721583, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2501, 4728, 1, 1, 1, 204.1174, 2052.908, 177.3829, 1.961456, 120, 0, 0), -- 4728 (Area: 2404) +(@CGUID+2502, 4692, 1, 1, 1, 283.034, 2068.161, 189.6131, 6.175548, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2503, 4692, 1, 1, 1, 322.6182, 1844.636, 80.1887, 4.605606, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2504, 11576, 1, 1, 1, 245.8105, 1790.091, 92.09373, 2.251029, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2505, 4728, 1, 1, 1, 262.1542, 1760.328, 112.0175, 1.219688, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2506, 4692, 1, 1, 1, 221.7363, 1694.185, 145.307, 2.230897, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2507, 34886, 1, 1, 1, 310.5538, 1706.356, 203.2561, 1.858805, 120, 0, 0), -- 34886 (Area: 0) +(@CGUID+2508, 4692, 1, 1, 1, 244.7539, 1695.952, 164.3139, 4.719403, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2509, 4728, 1, 1, 1, 148.205, 1694.04, 99.90092, 3.837831, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2510, 4692, 1, 1, 1, 170.6107, 1712.826, 99.13718, 5.781107, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2511, 49835, 1, 1, 1, 205.9316, 1642.034, 145.6645, 2.912153, 120, 0, 0), -- 49835 (Area: 0) +(@CGUID+2512, 4728, 1, 1, 1, 169.4916, 1658.98, 122.363, 6.275373, 120, 0, 0), -- 4728 (Area: 0) +(@CGUID+2513, 35287, 1, 1, 1, 192.6632, 1770.245, 91.35317, 2.722714, 120, 0, 0), -- 35287 (Area: 2404) (Auras: 49414 - 49414) +(@CGUID+2514, 4696, 1, 1, 1, 106.1924, 1657.384, 116.644, 1.173601, 120, 0, 0), -- 4696 (Area: 2404) +(@CGUID+2515, 4728, 1, 1, 1, 167.8883, 1614.516, 148.7145, 0.09772691, 120, 0, 0), -- 4728 (Area: 2404) +(@CGUID+2516, 4692, 1, 1, 1, 221.4402, 1635.2, 152.0146, 4.390638, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2517, 4696, 1, 1, 1, 178.0625, 1579.954, 167.4887, 4.882601, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2518, 4696, 1, 1, 1, 77.57604, 1604.349, 119.1611, 4.4474, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2519, 11576, 1, 1, 1, 246.2743, 1614.407, 170.9347, 4.604752, 120, 0, 0), -- 11576 (Area: 0) +(@CGUID+2520, 4696, 1, 1, 1, 178.1044, 1513.853, 211.5246, 4.653748, 120, 0, 0), -- 4696 (Area: 0) +(@CGUID+2521, 4692, 1, 1, 1, 69.57046, 1544.629, 117.0516, 5.769732, 120, 0, 0), -- 4692 (Area: 0) +(@CGUID+2522, 4692, 1, 1, 1, -23.11557, 1944.814, 279.8686, 4.869347, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2523, 4692, 1, 1, 1, 115.1971, 1991.921, 232.2516, 1.537573, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2524, 4692, 1, 1, 1, -26.73129, 1913.542, 252.4224, 4.661602, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2525, 4692, 1, 1, 1, 104.206, 2059.931, 237.2645, 1.360385, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2526, 4692, 1, 1, 1, -24.09961, 2065.493, 277.6024, 3.05597, 120, 0, 0), -- 4692 (Area: 2404) +(@CGUID+2527, 4726, 1, 1, 1, -16.61386, 2147.342, 115.4508, 0.7931507, 120, 0, 0), -- 4726 (Area: 2404) +(@CGUID+2528, 62186, 1, 1, 1, -0.6684694, 2153.379, 113.5338, 0.8047328, 120, 0, 0), -- 62186 (Area: 2404) +(@CGUID+2529, 4726, 1, 1, 1, -75.44018, 2148.467, 114.2446, 2.455439, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+2530, 4726, 1, 1, 1, -14.1503, 2199.747, 95.96005, 4.879143, 120, 0, 0), -- 4726 (Area: 0) +(@CGUID+2531, 49839, 1, 1, 1, -42.2822, 2218.071, 85.50208, 4.129261, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2532, 4726, 1, 1, 1, -97.1246, 2198.852, 91.01273, 2.457099, 120, 0, 0), -- 4726 (Area: 4796) +(@CGUID+2533, 4714, 1, 1, 1, 77.98136, 2340.767, -14.94801, 4.537524, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2534, 4692, 1, 1, 1, -38.44525, 2259.236, 64.29832, 0.1728606, 120, 0, 0), -- 4692 (Area: 4796) +(@CGUID+2535, 4714, 1, 1, 1, -111.8307, 2328.728, -14.96085, 4.870387, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2536, 62184, 1, 1, 1, -108.3742, 2204.753, 88.89558, 2.087279, 120, 0, 0), -- 62184 (Area: 4796) +(@CGUID+2537, 4714, 1, 1, 1, -1.182414, 2344.064, -2.455596, 3.534077, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2538, 4714, 1, 1, 1, -6.57743, 2413.419, -4.41503, 1.082499, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2539, 4692, 1, 1, 1, -177.7032, 2219.296, 84.46844, 1.692243, 120, 0, 0), -- 4692 (Area: 4796) +(@CGUID+2540, 4728, 1, 1, 1, -227.0352, 2257.356, 69.46539, 4.533758, 120, 0, 0), -- 4728 (Area: 4796) +(@CGUID+2541, 62185, 1, 1, 1, -198.7292, 2125.24, 130.5128, 2.740167, 120, 0, 0), -- 62185 (Area: 4796) +(@CGUID+2542, 4726, 1, 1, 1, -224.7473, 2101.826, 140.4449, 3.683853, 120, 0, 0), -- 4726 (Area: 4796) +(@CGUID+2543, 4692, 1, 1, 1, -195.9397, 2041.016, 280.2707, 1.785438, 120, 0, 0), -- 4692 (Area: 4796) +(@CGUID+2544, 4713, 1, 1, 1, -259.0604, 2357.84, 35.83202, 5.389802, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2545, 4712, 1, 1, 1, -220.1979, 2373.139, 23.32187, 5.637414, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2546, 4711, 1, 1, 1, -258.3557, 2403.456, 23.84022, 2.692213, 120, 5, 1), -- 4711 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2547, 4711, 1, 1, 1, -320.4728, 2398.638, 33.21556, 5.222809, 120, 5, 1), -- 4711 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2548, 4713, 1, 1, 1, -294.3075, 2414.182, 26.76855, 2.334774, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2549, 4712, 1, 1, 1, -215.8767, 2394.003, 19.8651, 0.01745329, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2550, 62185, 1, 1, 1, -230.1194, 2396.516, 21.92546, 5.455235, 120, 5, 1), -- 62185 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2551, 4712, 1, 1, 1, -216.3299, 2429.118, 7.730336, 6.248279, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2552, 35879, 1, 1, 1, -204.059, 2534.379, -21.36938, 0, 120, 0, 0), -- 35879 (Area: 4796) +(@CGUID+2553, 4714, 1, 1, 1, -244.1258, 2538.021, -5.363682, 3.141593, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2554, 4711, 1, 1, 1, -290.4516, 2445.779, 18.94785, 1.607925, 120, 5, 1), -- 4711 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2555, 49839, 1, 1, 1, -304.1002, 2454.006, 19.85125, 3.417274, 120, 0, 0), -- 49839 (Area: 4796) +(@CGUID+2556, 35815, 1, 1, 1, -240.5434, 2769.373, 40.82917, 0, 120, 0, 0), -- 35815 (Area: 4796) +(@CGUID+2557, 35879, 1, 1, 1, -113.099, 2506.944, -21.66207, 0, 120, 0, 0), -- 35879 (Area: 4796) +(@CGUID+2558, 4714, 1, 1, 1, -143.7636, 2520.582, -20.72057, 4.355455, 120, 5, 1), -- 4714 (Area: 4796) (Auras: ) (possible waypoints or random movement) +(@CGUID+2559, 4713, 1, 1, 1, -237.5836, 2450.525, 9.971877, 4.81604, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2560, 4712, 1, 1, 1, -216.6632, 2461.875, 2.980817, 0.3839724, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2561, 4713, 1, 1, 1, -312.5493, 2448.11, 22.29385, 5.039472, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2562, 4714, 1, 1, 1, -69.79102, 2459.375, -7.849411, 2.01315, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2563, 36068, 1, 1, 1, -146.081, 2565.287, -26.24227, 4.715339, 120, 5, 1), -- 36068 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2564, 35815, 1, 1, 1, 38.80208, 2680.922, 89.5951, 0, 120, 0, 0), -- 35815 (Area: 4796) +(@CGUID+2565, 4713, 1, 1, 1, -154.8893, 2450.169, -23.62547, 0.542702, 120, 5, 1), -- 4713 (Area: 4796) (Auras: ) (possible waypoints or random movement) +(@CGUID+2566, 35842, 1, 1, 1, -152.682, 2453.603, -34.94436, 4.240036, 120, 5, 1), -- 35842 (Area: 4796) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2567, 35879, 1, 1, 1, -250.0799, 2597.157, -20.7334, 0, 120, 0, 0), -- 35879 (Area: 4796) +(@CGUID+2568, 4713, 1, 1, 1, -177.4034, 2490.093, -17.95322, 0.5982815, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2569, 35879, 1, 1, 1, -62.47222, 2498.51, -20.80946, 0, 120, 0, 0), -- 35879 (Area: 4796) +(@CGUID+2570, 4714, 1, 1, 1, -168.838, 2588.128, -31.36109, 2.369934, 120, 5, 1), -- 4714 (Area: 4796) (Auras: ) (possible waypoints or random movement) +(@CGUID+2571, 4712, 1, 1, 1, -251.467, 2499.514, 1.362421, 0.9773844, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2572, 4714, 1, 1, 1, -181.7114, 2648.301, -37.8704, 5.451903, 120, 5, 1), -- 4714 (Area: 4796) (Auras: ) (possible waypoints or random movement) +(@CGUID+2573, 4713, 1, 1, 1, -308.6557, 2502.056, 14.14804, 3.186873, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2574, 4712, 1, 1, 1, -278.4931, 2522.062, 1.623198, 0.6981317, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2575, 4711, 1, 1, 1, -204.2441, 2539.123, -16.76799, 3.34187, 120, 5, 1), -- 4711 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2576, 35773, 1, 1, 1, -355.8646, 2489.03, 75.64425, 3.717551, 120, 0, 0), -- 35773 (Area: 4796) +(@CGUID+2577, 4713, 1, 1, 1, -301.0952, 2536.121, 5.452458, 5.420739, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2578, 4713, 1, 1, 1, -318.2871, 2539.765, 6.965337, 1.21635, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2579, 4711, 1, 1, 1, -349.8495, 2435.484, 27.70357, 3.04678, 120, 0, 0), -- 4711 (Area: 4796) +(@CGUID+2580, 4712, 1, 1, 1, -296.7396, 2543.766, 2.39005, 0.7504916, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2581, 35562, 1, 1, 1, -355.2309, 2476.524, 76.26183, 2.373648, 120, 0, 0), -- 35562 (Area: 4796) +(@CGUID+2582, 35827, 1, 1, 1, -473.8542, 2842.509, 25.5278, 4.712389, 120, 0, 0), -- 35827 (Area: 2405) (Auras: 12544 - 12544) +(@CGUID+2583, 4712, 1, 1, 1, -316.6962, 2567.795, 1.793887, 0.4712389, 120, 0, 0), -- 4712 (Area: 2405) (Auras: 77894 - 77894) +(@CGUID+2584, 4714, 1, 1, 1, -385.7534, 2675.615, -5.844493, 0.4844407, 120, 5, 1), -- 4714 (Area: 2405) (Auras: ) (possible waypoints or random movement) +(@CGUID+2585, 4713, 1, 1, 1, -507.816, 2482.085, 46.82515, 2.076942, 120, 0, 0), -- 4713 (Area: 2405) +(@CGUID+2586, 49839, 1, 1, 1, -525.1049, 2491.833, 45.50763, 3.68102, 120, 0, 0), -- 49839 (Area: 2405) +(@CGUID+2587, 4713, 1, 1, 1, -516.9774, 2482.573, 47.56801, 0.9948376, 120, 0, 0), -- 4713 (Area: 2405) +(@CGUID+2588, 4711, 1, 1, 1, -520.3054, 2518.713, 35.53278, 2.014796, 120, 0, 0), -- 4711 (Area: 2405) +(@CGUID+2589, 35815, 1, 1, 1, -492.1719, 2868.616, 60.07169, 0, 120, 0, 0), -- 35815 (Area: 2405) +(@CGUID+2590, 4711, 1, 1, 1, -503.6972, 2553.758, 24.82083, 3.503791, 120, 5, 1), -- 4711 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2591, 50481, 1, 1, 1, -496.2635, 2573.091, 19.30363, 0.4584052, 120, 5, 1), -- 50481 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2592, 4713, 1, 1, 1, -435.1137, 2586.739, 12.30386, 1.816845, 120, 5, 1), -- 4713 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2593, 4713, 1, 1, 1, -503.272, 2596.536, 11.16533, 1.032839, 120, 5, 1), -- 4713 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2594, 4713, 1, 1, 1, -537.7084, 2574.164, 22.71318, 3.501964, 120, 5, 1), -- 4713 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2595, 4711, 1, 1, 1, -572.0202, 2521.925, 34.70201, 5.413383, 120, 5, 1), -- 4711 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2596, 4726, 1, 1, 1, -551.041, 2442.709, 60.60379, 4.573589, 120, 0, 0), -- 4726 (Area: 2405) +(@CGUID+2597, 50481, 1, 1, 1, -552.9703, 2547.938, 30.97232, 4.926823, 120, 5, 1), -- 50481 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2598, 49839, 1, 1, 1, -558.7061, 2461.744, 58.43718, 5.66261, 120, 0, 0), -- 49839 (Area: 2405) +(@CGUID+2599, 4713, 1, 1, 1, -574.743, 2488.252, 56.60813, 4.904375, 120, 0, 0), -- 4713 (Area: 2405) +(@CGUID+2600, 4712, 1, 1, 1, -542.3663, 2591.811, 16.70783, 1.780236, 120, 0, 0), -- 4712 (Area: 2405) (Auras: 77894 - 77894) +(@CGUID+2601, 4712, 1, 1, 1, -476.5174, 2609.648, 3.293229, 0.9599311, 120, 0, 0), -- 4712 (Area: 2405) (Auras: 77894 - 77894) +(@CGUID+2602, 4713, 1, 1, 1, -439.3835, 2601.628, 7.814994, 6.242159, 120, 5, 1), -- 4713 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2603, 4715, 1, 1, 1, -530.6585, 2732.14, -1.151836, 4.72221, 120, 5, 1), -- 4715 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2604, 35606, 1, 1, 1, -654.9668, 2644.121, -16.15379, 4.262296, 120, 5, 1), -- 35606 (Area: 2405) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2605, 4713, 1, 1, 1, -586.284, 2586.438, 19.64981, 4.609727, 120, 5, 1), -- 4713 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2606, 4711, 1, 1, 1, -552.9457, 2626.01, -2.938241, 0.2757166, 120, 5, 1), -- 4711 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2607, 4715, 1, 1, 1, -416.6847, 2748.654, -9.437283, 0.5101269, 120, 5, 1), -- 4715 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2608, 4711, 1, 1, 1, -450.4564, 2646.775, -4.741076, 5.922755, 120, 5, 1), -- 4711 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2609, 4715, 1, 1, 1, -493.0714, 2753.967, 8.566642, 4.610681, 120, 5, 1), -- 4715 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2610, 4712, 1, 1, 1, -422.4879, 2609.317, 4.123372, 1.692969, 120, 0, 0), -- 4712 (Area: 2405) (Auras: 77894 - 77894) +(@CGUID+2611, 4712, 1, 1, 1, -496.6719, 2643.242, 8.265125, 0.8726646, 120, 0, 0), -- 4712 (Area: 2405) (Auras: 77894 - 77894) +(@CGUID+2612, 12347, 1, 1, 1, -417.7354, 2684.387, -23.10402, 3.921256, 120, 0, 0), -- 12347 (Area: 2405) +(@CGUID+2613, 4714, 1, 1, 1, -284.0982, 2688.358, -16.64613, 1.379436, 120, 5, 1), -- 4714 (Area: 2405) (Auras: ) (possible waypoints or random movement) +(@CGUID+2614, 4718, 1, 1, 1, -420.993, 2787.91, 6.684706, 2.427354, 120, 5, 1), -- 4718 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2615, 4713, 1, 1, 1, -377.7118, 2597.461, 6.756631, 6.156942, 120, 5, 1), -- 4713 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2616, 11562, 1, 1, 1, -475.7105, 2685.284, -27.78621, 1.165467, 120, 5, 1), -- 11562 (Area: 2405) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2617, 4718, 1, 1, 1, -458.2646, 2776.593, 15.7898, 2.744747, 120, 5, 1), -- 4718 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2618, 4718, 1, 1, 1, -385.7124, 2786.316, 3.597936, 1.366317, 120, 5, 1), -- 4718 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2619, 4714, 1, 1, 1, -317.0292, 2742.918, -3.812042, 2.252219, 120, 5, 1), -- 4714 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2620, 4712, 1, 1, 1, -341.691, 2593.262, 2.265343, 0.7504916, 120, 0, 0), -- 4712 (Area: 2405) (Auras: 77894 - 77894) +(@CGUID+2621, 4713, 1, 1, 1, -347.8975, 2619.03, -4.839884, 5.004605, 120, 5, 1), -- 4713 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2622, 35842, 1, 1, 1, -377.6645, 2687.75, -9.984494, 6.106962, 120, 5, 1), -- 35842 (Area: 2405) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2623, 4711, 1, 1, 1, -287.7406, 2640.916, -9.791412, 2.104398, 120, 5, 1), -- 4711 (Area: 2405) (Auras: ) (possible waypoints or random movement) +(@CGUID+2624, 35842, 1, 1, 1, -316.3143, 2673.171, -14.67124, 4.969139, 120, 5, 1), -- 35842 (Area: 2405) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2625, 35842, 1, 1, 1, -280.3637, 2583.867, -8.383955, 4.042021, 120, 5, 1), -- 35842 (Area: 2405) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2626, 12347, 1, 1, 1, -289.0776, 2582.349, -14.23498, 3.382035, 120, 0, 0), -- 12347 (Area: 2405) +(@CGUID+2627, 4711, 1, 1, 1, -337.1567, 2677.546, -9.582838, 5.523589, 120, 5, 1), -- 4711 (Area: 2405) (Auras: ) (possible waypoints or random movement) +(@CGUID+2628, 4713, 1, 1, 1, -278.304, 2585.618, -8.524336, 3.919918, 120, 0, 0), -- 4713 (Area: 2405) (Auras: ) +(@CGUID+2629, 4713, 1, 1, 1, -213.2921, 2610.686, -17.18088, 3.009996, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2630, 4714, 1, 1, 1, -89.73643, 2615.441, -68.72327, 4.422737, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2631, 36068, 1, 1, 1, -41.01334, 2541.85, -23.04108, 5.881979, 120, 5, 1), -- 36068 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2632, 4714, 1, 1, 1, -51.25195, 2524.137, -65.55786, 2.745355, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2633, 4711, 1, 1, 1, -114.0768, 2410.917, -20.60767, 2.273266, 120, 5, 1), -- 4711 (Area: 4796) (Auras: ) (possible waypoints or random movement) +(@CGUID+2634, 12347, 1, 1, 1, -324.5179, 2692.951, -14.52041, 2.236568, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2635, 12347, 1, 1, 1, -471.3437, 2699.573, -26.98331, 0.09043201, 120, 0, 0), -- 12347 (Area: 2405) +(@CGUID+2636, 11563, 1, 1, 1, -557.3263, 2677.976, -28.54276, 4.113852, 120, 5, 1), -- 11563 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2637, 4715, 1, 1, 1, -554.9753, 2796.792, 6.548603, 0.4688855, 120, 5, 1), -- 4715 (Area: 2405) (possible waypoints or random movement) +(@CGUID+2638, 35606, 1, 1, 1, -719.2537, 2611.715, 19.22163, 4.692599, 120, 5, 1), -- 35606 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2639, 35606, 1, 1, 1, -694.6657, 2628.541, 17.77294, 5.009925, 120, 5, 1), -- 35606 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2640, 35605, 1, 1, 1, -708.865, 2659.362, 17.94434, 5.475313, 120, 5, 1), -- 35605 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2641, 12347, 1, 1, 1, -547.8305, 2712.427, -12.35626, 5.44665, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2642, 4713, 1, 1, 1, -619.3304, 2594.802, 22.70797, 3.599998, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2643, 35605, 1, 1, 1, -712.1769, 2708.594, -15.05504, 3.522983, 120, 5, 1), -- 35605 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2644, 35605, 1, 1, 1, -747.8328, 2614.179, 27.31587, 0.752978, 120, 5, 1), -- 35605 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2645, 4711, 1, 1, 1, -616.0128, 2559.764, 33.85978, 0.8181179, 120, 5, 1), -- 4711 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2646, 4712, 1, 1, 1, -652.0573, 2593.115, 21.88194, 2.129302, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2647, 35605, 1, 1, 1, -737.8093, 2669.37, 17.38369, 0.6372894, 120, 5, 1), -- 35605 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2648, 35606, 1, 1, 1, -737.6191, 2652.221, 24.2625, 4.922801, 120, 5, 1), -- 35606 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2649, 4712, 1, 1, 1, -633.1094, 2605.289, 24.17231, 1.919862, 120, 0, 0), -- 4712 (Area: 4796) (Auras: 77894 - 77894) +(@CGUID+2650, 35606, 1, 1, 1, -747.8595, 2719.895, -28.0063, 3.133547, 120, 5, 1), -- 35606 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2651, 35606, 1, 1, 1, -776.2202, 2609.77, 34.52855, 1.427795, 120, 5, 1), -- 35606 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2652, 49835, 1, 1, 1, -644.1027, 2543.399, 34.94798, 1.697683, 120, 5, 1), -- 49835 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2653, 12347, 1, 1, 1, -624.3331, 2686.859, -37.48433, 5.802073, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2654, 4711, 1, 1, 1, -625.2739, 2526.94, 34.70279, 2.487388, 120, 5, 1), -- 4711 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2655, 4711, 1, 1, 1, -667.5272, 2529.857, 36.60036, 3.056918, 120, 5, 1), -- 4711 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2656, 35605, 1, 1, 1, -775.6035, 2705.729, 7.880432, 0, 120, 5, 1), -- 35605 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2657, 4713, 1, 1, 1, -693.1417, 2494.75, 40.001, 3.416171, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2658, 4692, 1, 1, 1, -633.7731, 2456.87, 71.93729, 5.258637, 120, 0, 0), -- 4692 (Area: 4796) +(@CGUID+2659, 50481, 1, 1, 1, -695.5703, 2443.945, 84.10929, 0.01757631, 120, 5, 1), -- 50481 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2660, 49835, 1, 1, 1, -774.9093, 2588.58, 38.43535, 1.686307, 120, 5, 1), -- 49835 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2661, 49839, 1, 1, 1, -858.3448, 2550.88, 57.01976, 2.284675, 120, 0, 0), -- 49839 (Area: 0) +(@CGUID+2662, 35606, 1, 1, 1, -837.7556, 2736.375, 7.850327, 5.554035, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2663, 35605, 1, 1, 1, -757.4834, 2746.763, 23.9155, 4.632619, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+2664, 35606, 1, 1, 1, -765.0151, 2775.75, 8.810355, 2.057346, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2665, 35606, 1, 1, 1, -743.5721, 2786.333, 3.763846, 4.552777, 120, 5, 1), -- 35606 (Area: 0) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2666, 35605, 1, 1, 1, -740.3852, 2765.948, 14.42964, 5.034327, 120, 5, 1), -- 35605 (Area: 0) (possible waypoints or random movement) +(@CGUID+2667, 11562, 1, 1, 1, -711.1745, 2718.488, -35.36575, 0.015358, 120, 5, 1), -- 11562 (Area: 598) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2668, 49835, 1, 1, 1, -709.8686, 2652.964, 17.94434, 1.601279, 120, 5, 1), -- 49835 (Area: 0) (possible waypoints or random movement) +(@CGUID+2669, 11563, 1, 1, 1, -617.3044, 2719.456, -34.79103, 3.508944, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2670, 6145, 1, 1, 1, -572.4517, 2722.325, -13.35556, 0.3989882, 120, 5, 1), -- 6145 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2671, 11563, 1, 1, 1, -620.5268, 2776.214, -19.61746, 1.30076, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2672, 4718, 1, 1, 1, -543.2403, 2856.782, 18.08087, 1.299509, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2673, 11562, 1, 1, 1, -654.6694, 2742.654, -30.56101, 3.955093, 120, 5, 1), -- 11562 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2674, 4718, 1, 1, 1, -591.393, 2859.992, 1.079412, 3.743704, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2675, 4715, 1, 1, 1, -475.5234, 2821.344, 20.89829, 5.098439, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2676, 4715, 1, 1, 1, -565.9522, 2898.587, 11.25603, 3.91318, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2677, 36068, 1, 1, 1, -649.7521, 2907.092, -10.65364, 4.817876, 120, 5, 1), -- 36068 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2678, 11563, 1, 1, 1, -620.0663, 2842.57, -14.79885, 2.007194, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2679, 4715, 1, 1, 1, -515.9111, 2908.282, 28.57139, 0.7377494, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2680, 12347, 1, 1, 1, -616.6582, 2851.395, -14.65749, 6.015478, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2681, 4718, 1, 1, 1, -519.3496, 2946.86, 19.81706, 2.553939, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2682, 11563, 1, 1, 1, -636.8606, 2875.845, -19.66104, 3.065814, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2683, 6145, 1, 1, 1, -628.6467, 2912.285, -10.09381, 3.171372, 120, 5, 1), -- 6145 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2684, 4715, 1, 1, 1, -536.6867, 2975.519, 8.376714, 3.165026, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2685, 11563, 1, 1, 1, -647.1746, 2941.696, -22.04711, 2.116775, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2686, 11563, 1, 1, 1, -681.3236, 2984.525, -31.16275, 1.161247, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2687, 4715, 1, 1, 1, -528.123, 3039.847, 2.124565, 5.703072, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2688, 11563, 1, 1, 1, -609.832, 2990.317, -3.117706, 2.138734, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2689, 4715, 1, 1, 1, -490.6701, 3014.035, 4.972969, 6.120286, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2690, 4718, 1, 1, 1, -468.0612, 2975.986, 36.04542, 0.8786238, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2691, 4715, 1, 1, 1, -541.5282, 3010.79, 3.088625, 3.308326, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2692, 4715, 1, 1, 1, -486.3175, 2927.941, 24.24638, 4.556093, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2693, 12347, 1, 1, 1, -671.931, 2973.721, -27.73197, 2.149608, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2694, 11563, 1, 1, 1, -922.4422, 3021.433, -24.95053, 3.345135, 120, 5, 1), -- 11563 (Area: 0) (possible waypoints or random movement) +(@CGUID+2695, 11562, 1, 1, 1, -978.6994, 3046.301, -26.19796, 5.210822, 120, 0, 0), -- 11562 (Area: 0) +(@CGUID+2696, 12347, 1, 1, 1, -778.8749, 3044.331, -26.29771, 1.328126, 120, 0, 0), -- 12347 (Area: 598) +(@CGUID+2697, 11562, 1, 1, 1, -783.4985, 3056.778, -26.29771, 1.574495, 120, 5, 1), -- 11562 (Area: 598) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2698, 11562, 1, 1, 1, -744.5592, 3016.777, -27.2429, 5.340757, 120, 5, 1), -- 11562 (Area: 598) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2699, 11562, 1, 1, 1, -716.4671, 3046.231, -43.55458, 5.849434, 120, 5, 1), -- 11562 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2700, 11562, 1, 1, 1, -643.3735, 3015.21, -18.59216, 4.036716, 120, 5, 1), -- 11562 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2701, 4718, 1, 1, 1, -470.1797, 3045.021, 0.08018124, 0.6446736, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2702, 4715, 1, 1, 1, -441.2574, 2907.655, 33.9105, 0.6587974, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2703, 4715, 1, 1, 1, -436.4754, 2859.719, 32.58832, 0.7394124, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2704, 4718, 1, 1, 1, -417.02, 2819.165, 16.85011, 4.95083, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2705, 4715, 1, 1, 1, -394.8273, 2863.202, 23.95174, 3.776658, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2706, 50481, 1, 1, 1, -518.5232, 2904.699, 29.10142, 3.513394, 120, 5, 1), -- 50481 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2707, 4718, 1, 1, 1, -418.9714, 3017.119, 7.118999, 5.250654, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2708, 62186, 1, 1, 1, -540.6378, 2853.485, 20.03655, 1.514106, 120, 5, 1), -- 62186 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2709, 4715, 1, 1, 1, -378.8438, 2897.057, 32.75434, 5.469937, 120, 5, 1), -- 4715 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2710, 12347, 1, 1, 1, -477.3941, 2878.652, 22.14833, 2.617994, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2711, 4715, 1, 1, 1, -365.5313, 2830.507, -1.230913, 0.8377581, 120, 0, 0), -- 4715 (Area: 4796) +(@CGUID+2712, 62184, 1, 1, 1, -500.9632, 2754.967, 8.615819, 0.338426, 120, 5, 1), -- 62184 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2713, 4718, 1, 1, 1, -382.3423, 2946.095, 15.66463, 0.1095789, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2714, 49839, 1, 1, 1, -385.4694, 2870.075, 23.43159, 6.233599, 120, 0, 0), -- 49839 (Area: 4796) +(@CGUID+2715, 11562, 1, 1, 1, -342.7395, 2773.336, -9.262634, 1.851686, 120, 5, 1), -- 11562 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2716, 4718, 1, 1, 1, -352.2854, 2979.61, 5.376845, 3.361367, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2717, 4716, 1, 1, 1, -216.1572, 2911.721, -9.086225, 1.391085, 120, 5, 1), -- 4716 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2718, 4718, 1, 1, 1, -372.6369, 3026.984, 2.905796, 0.3597906, 120, 5, 1), -- 4718 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2719, 11563, 1, 1, 1, -314.5501, 2806.384, -4.259727, 3.073663, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2720, 12347, 1, 1, 1, -356.6797, 2885.088, 1.683344, 4.6296, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2721, 49835, 1, 1, 1, -437.1277, 2909.008, 35.03551, 3.10255, 120, 5, 1), -- 49835 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2722, 12347, 1, 1, 1, -278.6593, 2844.218, -12.30463, 1.129475, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2723, 11563, 1, 1, 1, -290.0089, 2827.115, -8.970313, 5.435096, 120, 5, 1), -- 11563 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2724, 4719, 1, 1, 1, -171.7669, 2859.049, -53.51727, 0.5859433, 120, 5, 1), -- 4719 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2725, 6145, 1, 1, 1, -331.6787, 2723.461, -11.18887, 0.1757467, 120, 5, 1), -- 6145 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2726, 12347, 1, 1, 1, -308.1379, 2762.681, -9.68306, 0.2828589, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2727, 6145, 1, 1, 1, -280.5953, 2746.747, -15.85393, 4.649101, 120, 5, 1), -- 6145 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2728, 35842, 1, 1, 1, -267.0931, 2757.852, -5.013078, 0.7994234, 120, 5, 1), -- 35842 (Area: 4796) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2729, 35842, 1, 1, 1, -232.3472, 2690.317, -27.94077, 3.819839, 120, 5, 1), -- 35842 (Area: 4796) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2730, 4713, 1, 1, 1, -264.8684, 2774.61, -3.182835, 1.899288, 120, 0, 0), -- 4713 (Area: 4796) +(@CGUID+2731, 4711, 1, 1, 1, -231.1454, 2662.657, -31.56681, 5.632264, 120, 5, 1), -- 4711 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2732, 4713, 1, 1, 1, -237.4887, 2742.061, -4.714678, 3.154996, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2733, 35842, 1, 1, 1, -205.4259, 2653.917, -33.02023, 0.6013368, 120, 5, 1), -- 35842 (Area: 4796) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2734, 12347, 1, 1, 1, -221.161, 2652.193, -36.87556, 1.349019, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2735, 4716, 1, 1, 1, -146.3152, 2811.78, -42.62244, 2.736339, 120, 5, 1), -- 4716 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2736, 4713, 1, 1, 1, -186.8058, 2704.805, -39.26382, 1.433072, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2737, 4714, 1, 1, 1, -79.73783, 2675.565, -98.82523, 1.709922, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2738, 35842, 1, 1, 1, -177.5348, 2599.87, -38.31681, 4.744018, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2739, 6145, 1, 1, 1, -176.1568, 2640.607, -42.55595, 2.287204, 120, 0, 0), -- 6145 (Area: 4796) +(@CGUID+2740, 35842, 1, 1, 1, -145.3827, 2683.192, -72.19609, 0.8975816, 120, 5, 1), -- 35842 (Area: 4796) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2741, 4714, 1, 1, 1, -37.30494, 2633.575, -97.79403, 2.455862, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2742, 4714, 1, 1, 1, -51.70024, 2668.53, -103.1922, 6.050738, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2743, 35879, 1, 1, 1, -30.10069, 2634.982, -108.2497, 0, 120, 0, 0), -- 35879 (Area: 4796) +(@CGUID+2744, 35842, 1, 1, 1, -137.3613, 2534.237, -26.17271, 5.953741, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2745, 4713, 1, 1, 1, -120.0717, 2557.87, -23.7382, 5.834351, 120, 0, 0), -- 4713 (Area: 4796) +(@CGUID+2746, 4714, 1, 1, 1, -8.077865, 2586.342, -106.9437, 2.092881, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2747, 4711, 1, 1, 1, -101.4462, 2483.669, -15.20131, 3.760852, 120, 0, 0), -- 4711 (Area: 4796) +(@CGUID+2748, 35879, 1, 1, 1, -12.03646, 2585.724, -107.6157, 0, 120, 0, 0), -- 35879 (Area: 4796) +(@CGUID+2749, 4714, 1, 1, 1, 17.43507, 2572.217, -79.36621, 1.822305, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2750, 6145, 1, 1, 1, -107.2149, 2417.291, -31.20474, 3.178848, 120, 0, 0), -- 6145 (Area: 4796) +(@CGUID+2751, 35842, 1, 1, 1, -108.2685, 2420.681, -31.6265, 1.018978, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2752, 4714, 1, 1, 1, 38.64629, 2549.915, -77.35803, 4.207568, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2753, 4713, 1, 1, 1, -55.67332, 2382.239, -9.787004, 4.855811, 120, 0, 0), -- 4713 (Area: 4796) +(@CGUID+2754, 4713, 1, 1, 1, -156.9392, 2448.932, -23.54214, 0.09356895, 120, 0, 0), -- 4713 (Area: 4796) +(@CGUID+2755, 4714, 1, 1, 1, 142.967, 2443.123, -6.697052, 1.462736, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2756, 4711, 1, 1, 1, 50.41182, 2407.298, -22.03256, 1.735585, 120, 0, 0), -- 4711 (Area: 4796) +(@CGUID+2757, 6145, 1, 1, 1, 48.30253, 2404, -21.21559, 4.888475, 120, 0, 0), -- 6145 (Area: 4796) +(@CGUID+2758, 4714, 1, 1, 1, 122.5452, 2527.271, -33.83016, 4.936661, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2759, 4711, 1, 1, 1, 112.3971, 2384.331, -1.487982, 5.486064, 120, 0, 0), -- 4711 (Area: 4796) +(@CGUID+2760, 4714, 1, 1, 1, 215.082, 2469.022, -11.51195, 6.002489, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2761, 4714, 1, 1, 1, 255.5381, 2487.941, -13.24567, 5.998267, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2762, 4714, 1, 1, 1, 181.9482, 2524.273, -29.47307, 5.033585, 120, 0, 0), -- 4714 (Area: 4796) (Auras: ) +(@CGUID+2763, 4711, 1, 1, 1, 182.3863, 2414.865, -5.584525, 2.133486, 120, 0, 0), -- 4711 (Area: 4796) +(@CGUID+2764, 4714, 1, 1, 1, 273.1654, 2526.584, -23.73674, 1.697698, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2765, 4714, 1, 1, 1, 160.3478, 2561.103, -71.6249, 5.031296, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2766, 4719, 1, 1, 1, 299.2112, 2556.212, -14.73437, 5.873214, 120, 0, 0), -- 4719 (Area: 4796) (Auras: 12544 - 12544) +(@CGUID+2767, 4714, 1, 1, 1, 206.8337, 2567.233, -62.13522, 5.552695, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2768, 4714, 1, 1, 1, 259.9702, 2576.979, -60.82676, 0.2138358, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2769, 4714, 1, 1, 1, 108.641, 2566.786, -75.97345, 1.830113, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2770, 4714, 1, 1, 1, 236.002, 2568.499, -54.80973, 5.99148, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2771, 4714, 1, 1, 1, 59.90363, 2578.253, -80.04518, 1.855594, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2772, 4714, 1, 1, 1, 82.38898, 2600.555, -83.21439, 5.365829, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2773, 35842, 1, 1, 1, 187.7085, 2534.939, -16.18267, 0.9523848, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2774, 4714, 1, 1, 1, 191.7108, 2641.543, -25.7458, 2.438691, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2775, 4719, 1, 1, 1, 300.3632, 2618.453, -12.76334, 3.055006, 120, 0, 0), -- 4719 (Area: 4796) (Auras: 12544 - 12544) +(@CGUID+2776, 4714, 1, 1, 1, 130.7285, 2689.063, -69.39248, 1.570796, 120, 0, 0), -- 4714 (Area: 4796) (Auras: ) +(@CGUID+2777, 4714, 1, 1, 1, 194.0534, 2707.928, -66.69478, 1.425613, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2778, 4719, 1, 1, 1, 290.0055, 2667.032, -11.0961, 4.50102, 120, 0, 0), -- 4719 (Area: 4796) (Auras: 12544 - 12544) +(@CGUID+2779, 4714, 1, 1, 1, 75.95198, 2673.202, -79.33069, 1.573369, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2780, 4714, 1, 1, 1, 34.59467, 2640.81, -63.62743, 0.06692106, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2781, 35815, 1, 1, 1, 126.7951, 2944.473, 61.41251, 0, 120, 0, 0), -- 35815 (Area: 4796) +(@CGUID+2782, 35879, 1, 1, 1, 120.2882, 2748.789, -55.28662, 0, 120, 0, 0), -- 35879 (Area: 4796) +(@CGUID+2783, 4716, 1, 1, 1, 345.4891, 2654.782, -3.278786, 2.362247, 120, 0, 0), -- 4716 (Area: 4796) +(@CGUID+2784, 4714, 1, 1, 1, 46.47735, 2706.453, -42.91298, 1.552752, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2785, 4714, 1, 1, 1, 6.638268, 2683.767, -71.59655, 4.70233, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2786, 4714, 1, 1, 1, 148.7785, 2742.651, -71.47503, 6.142074, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2787, 4714, 1, 1, 1, 113.9053, 2752.747, -52.68883, 2.33775, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2788, 36068, 1, 1, 1, 130.5397, 2760.596, -11.63743, 4.617165, 120, 5, 1), -- 36068 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2789, 4716, 1, 1, 1, 284.6354, 2751.323, -12.49823, 5.381606, 120, 0, 0), -- 4716 (Area: 4796) +(@CGUID+2790, 35842, 1, 1, 1, 136.8761, 2688.839, -56.7953, 1.664187, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2791, 4714, 1, 1, 1, 67.75391, 2765.958, -136.5664, 2.467753, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2792, 4716, 1, 1, 1, 141.8505, 2825.552, -28.02153, 3.837831, 120, 0, 0), -- 4716 (Area: 4796) +(@CGUID+2793, 4716, 1, 1, 1, 25.63051, 2783.361, -6.759104, 0.8185537, 120, 5, 1), -- 4716 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2794, 4716, 1, 1, 1, 254.0741, 2811.626, -12.62092, 1.379976, 120, 0, 0), -- 4716 (Area: 4796) +(@CGUID+2795, 4719, 1, 1, 1, 208.8535, 2826.563, -6.315382, 0.297063, 120, 0, 0), -- 4719 (Area: 4796) (Auras: 12544 - 12544) +(@CGUID+2796, 35842, 1, 1, 1, 130.9572, 2736.78, -35.13804, 4.853992, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2797, 4714, 1, 1, 1, -19.47992, 2721.847, -41.88847, 0.1072458, 120, 5, 1), -- 4714 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2798, 4716, 1, 1, 1, 285.3361, 2819.013, -13.96181, 3.536594, 120, 0, 0), -- 4716 (Area: 4796) +(@CGUID+2799, 4719, 1, 1, 1, 121.8455, 2889.044, -1.559679, 2.775962, 120, 0, 0), -- 4719 (Area: 4796) (Auras: 12544 - 12544) +(@CGUID+2800, 35842, 1, 1, 1, 201.6577, 2784.588, -19.44794, 1.042791, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2801, 4719, 1, 1, 1, 87.70976, 2888.121, -1.57699, 2.105486, 120, 0, 0), -- 4719 (Area: 4796) (Auras: 12544 - 12544) +(@CGUID+2802, 35879, 1, 1, 1, 79.7691, 2898, -24.26847, 0, 120, 0, 0), -- 35879 (Area: 4796) +(@CGUID+2803, 4714, 1, 1, 1, 197.7222, 2920.378, 19.97306, 4.342618, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2804, 35828, 1, 1, 1, 190.978, 2940.075, 15.22533, 4.819639, 120, 0, 0), -- 35828 (Area: 4796) (Auras: ) +(@CGUID+2805, 4719, 1, 1, 1, 191.666, 2933.684, 18.21119, 4.712389, 120, 0, 0), -- 4719 (Area: 4796) (Auras: ) +(@CGUID+2806, 4719, 1, 1, 1, 36.03957, 2879.839, -61.25277, 5.876342, 120, 5, 1), -- 4719 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2807, 36068, 1, 1, 1, 44.67342, 2839.019, -8.588278, 4.974654, 120, 5, 1), -- 36068 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2808, 4719, 1, 1, 1, 298.1978, 2907.8, -12.84797, 0.4898115, 120, 0, 0), -- 4719 (Area: 2406) (Auras: 12544 - 12544) +(@CGUID+2809, 35879, 1, 1, 1, 53.97049, 2922.695, -25.48165, 0, 120, 0, 0), -- 35879 (Area: 2406) +(@CGUID+2810, 4719, 1, 1, 1, 356.5952, 2850.289, -10.86781, 6.229765, 120, 0, 0), -- 4719 (Area: 2406) (Auras: 12544 - 12544) +(@CGUID+2811, 4716, 1, 1, 1, 90.50626, 2958.824, -12.98082, 1.244005, 120, 0, 0), -- 4716 (Area: 2406) +(@CGUID+2812, 35879, 1, 1, 1, -5.399306, 2861.594, -35.82541, 0, 120, 0, 0), -- 35879 (Area: 2406) +(@CGUID+2813, 4719, 1, 1, 1, 80.69178, 2980.775, -9.706384, 4.644266, 120, 5, 1), -- 4719 (Area: 2406) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2814, 4716, 1, 1, 1, 303.1632, 3003.047, -11.98988, 2.35446, 120, 0, 0), -- 4716 (Area: 2406) +(@CGUID+2815, 4716, 1, 1, 1, 177.6393, 3039.617, -11.25821, 0.3834789, 120, 5, 1), -- 4716 (Area: 2406) (possible waypoints or random movement) +(@CGUID+2816, 4714, 1, 1, 1, 108.6777, 3027.755, -9.596568, 0.9772499, 120, 5, 1), -- 4714 (Area: 2406) (possible waypoints or random movement) +(@CGUID+2817, 6145, 1, 1, 1, 317.649, 2824.222, -43.74528, 5.21049, 120, 0, 0), -- 6145 (Area: 2406) +(@CGUID+2818, 4714, 1, 1, 1, 165.4238, 3048.116, -2.40159, 5.721803, 120, 0, 0), -- 4714 (Area: 2406) +(@CGUID+2819, 4714, 1, 1, 1, 126.1167, 3047.035, -3.686744, 0.3086628, 120, 0, 0), -- 4714 (Area: 2406) +(@CGUID+2820, 4719, 1, 1, 1, 21.68717, 2949.228, -19.76385, 0.5182868, 120, 0, 0), -- 4719 (Area: 2406) (Auras: 12544 - 12544) +(@CGUID+2821, 35879, 1, 1, 1, -11.97569, 2902.934, -22.81205, 0, 120, 0, 0), -- 35879 (Area: 2406) +(@CGUID+2822, 4719, 1, 1, 1, 196.3715, 3037.705, -11.50138, 4.590045, 120, 0, 0), -- 4719 (Area: 2406) +(@CGUID+2823, 4716, 1, 1, 1, -47.00685, 2942.748, -72.06223, 1.324277, 120, 0, 0), -- 4716 (Area: 2406) +(@CGUID+2824, 4716, 1, 1, 1, -28.97801, 2812.559, -24.29349, 4.77268, 120, 5, 1), -- 4716 (Area: 2406) (possible waypoints or random movement) +(@CGUID+2825, 4719, 1, 1, 1, -20.76546, 2880.239, -18.56699, 4.267005, 120, 0, 0), -- 4719 (Area: 2406) (Auras: 12544 - 12544) +(@CGUID+2826, 35842, 1, 1, 1, 91.65986, 2860.581, -11.55777, 5.032587, 120, 0, 0), -- 35842 (Area: 2406) (Auras: 68174 - 68174) +(@CGUID+2827, 6145, 1, 1, 1, 76.13765, 2948.447, -20.79622, 5.603422, 120, 0, 0), -- 6145 (Area: 2406) +(@CGUID+2828, 4716, 1, 1, 1, -116.6954, 2911.97, -17.11713, 4.617821, 120, 5, 1), -- 4716 (Area: 2406) (possible waypoints or random movement) +(@CGUID+2829, 4716, 1, 1, 1, -95.47929, 2809.72, -22.47652, 1.718199, 120, 0, 0), -- 4716 (Area: 2406) +(@CGUID+2830, 4719, 1, 1, 1, -107.7028, 2856.457, -23.10341, 1.16917, 120, 5, 1), -- 4719 (Area: 2406) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2831, 35842, 1, 1, 1, -48.86729, 2824.957, -20.88484, 3.197374, 120, 0, 0), -- 35842 (Area: 2406) (Auras: 68174 - 68174) +(@CGUID+2832, 6145, 1, 1, 1, -109.15, 2847.665, -33.59911, 4.482567, 120, 0, 0), -- 6145 (Area: 2406) +(@CGUID+2833, 35842, 1, 1, 1, -111.8558, 2808.7, -42.40009, 2.142591, 120, 5, 1), -- 35842 (Area: 2406) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2834, 35842, 1, 1, 1, -120.1147, 2888.117, -26.36723, 2.619269, 120, 0, 0), -- 35842 (Area: 2406) (Auras: 68174 - 68174) +(@CGUID+2835, 35842, 1, 1, 1, -128.7066, 2764.082, -25.04151, 5.908074, 120, 5, 1), -- 35842 (Area: 4796) (Auras: 68174 - 68174) (possible waypoints or random movement) +(@CGUID+2836, 4713, 1, 1, 1, -201.5112, 2800.696, -2.849514, 2.282966, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2837, 4711, 1, 1, 1, -238.3428, 2815.156, -3.739134, 5.029898, 120, 5, 1), -- 4711 (Area: 4796) (Auras: ) (possible waypoints or random movement) +(@CGUID+2838, 4713, 1, 1, 1, -193.9823, 2768.97, -4.834443, 2.099555, 120, 5, 1), -- 4713 (Area: 4796) (possible waypoints or random movement) +(@CGUID+2839, 35842, 1, 1, 1, -213.6487, 2849.67, -25.406, 4.001849, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2840, 35842, 1, 1, 1, -263.7124, 2841.92, -4.413699, 5.640214, 120, 0, 0), -- 35842 (Area: 4796) (Auras: 68174 - 68174) +(@CGUID+2841, 11562, 1, 1, 1, -254.98, 2912.298, -50.34126, 3.194738, 120, 5, 1), -- 11562 (Area: 4796) (Auras: 12544 - 12544) (possible waypoints or random movement) +(@CGUID+2842, 4714, 1, 1, 1, -281.1289, 2582.732, -8.581115, 3.931751, 120, 0, 0), -- 4714 (Area: 4796) +(@CGUID+2843, 11563, 1, 1, 1, -654.7606, 3087.657, -30.52268, 4.816821, 120, 0, 0), -- 11563 (Area: 4796) +(@CGUID+2844, 12347, 1, 1, 1, -710.2148, 3078.136, -43.55458, 2.3942, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2845, 11563, 1, 1, 1, -708.038, 3096.148, -43.42739, 3.793692, 120, 0, 0), -- 11563 (Area: 4796) +(@CGUID+2846, 11562, 1, 1, 1, -716.1919, 3152.381, -26.89447, 2.643346, 120, 0, 0), -- 11562 (Area: 4796) (Auras: 12544 - 12544) +(@CGUID+2847, 6145, 1, 1, 1, -750.3486, 3090.8, -28.26938, 4.071422, 120, 0, 0), -- 6145 (Area: 4796) +(@CGUID+2848, 12347, 1, 1, 1, -749.7936, 3114.972, -27.22097, 2.686678, 120, 0, 0), -- 12347 (Area: 4796) +(@CGUID+2849, 11563, 1, 1, 1, -786.5043, 3123.958, -23.36768, 5.825857, 120, 0, 0), -- 11563 (Area: 4796) +(@CGUID+2850, 11562, 1, 1, 1, -842.6037, 3083.365, -25.99647, 3.907449, 120, 0, 0), -- 11562 (Area: 598) (Auras: 12544 - 12544) +(@CGUID+2851, 11563, 1, 1, 1, -749.8887, 3185.113, -21.13801, 0.6608679, 120, 0, 0), -- 11563 (Area: 598) +(@CGUID+2852, 11562, 1, 1, 1, -853.1655, 3155.344, -31.52284, 6.212492, 120, 0, 0), -- 11562 (Area: 598) (Auras: 12544 - 12544) +(@CGUID+2853, 11563, 1, 1, 1, -807.2877, 3183.699, -30.17119, 3.22894, 120, 0, 0), -- 11563 (Area: 598) +(@CGUID+2854, 12347, 1, 1, 1, -864.3064, 3125.832, -26.3578, 2.747854, 120, 0, 0), -- 12347 (Area: 598) +(@CGUID+2855, 11563, 1, 1, 1, -895.8085, 3085.552, -21.78647, 4.072569, 120, 0, 0); -- 11563 (Area: 598) + +SET @OGUID := 232380; +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+510; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(@OGUID+0, 178908, 1, 1, 1, -1656.583, 3195.254, 45.07778, 0.5585039, 0, 0, 0, 1, 120, 255, 1), -- 178908 (Area: -1) +(@OGUID+1, 175851, 1, 1, 1, -1689.623, 3082.467, 32.05278, 1.56207, 0, 0, 0, 1, 120, 255, 1), -- 175851 (Area: -1) +(@OGUID+2, 175852, 1, 1, 1, -1698.939, 3083.721, 32.56279, 2.164206, 0, 0, 0, 1, 120, 255, 1), -- 175852 (Area: -1) +(@OGUID+3, 177444, 1, 1, 1, -1423.314, 2926.346, 135.387, 1.675516, 0.008714576, 0.0004567118, 0.05233399, 0.9985915, 120, 255, 1), -- 177444 (Area: -1) +(@OGUID+4, 179896, 1, 1, 1, -1609.2, 3118.862, 44.82932, 3.892087, 0, 0, 0, 1, 120, 255, 1), -- 179896 (Area: -1) +(@OGUID+5, 175853, 1, 1, 1, -1725.038, 3184.208, 4.332115, 3.176533, 0, 0, 0, 1, 120, 255, 1), -- 175853 (Area: -1) +(@OGUID+6, 180683, 1, 1, 1, -1756.55, 3185.87, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180683 (Area: -1) +(@OGUID+7, 180682, 1, 1, 1, -1788.17, 3109.73, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180682 (Area: -1) +(@OGUID+8, 180682, 1, 1, 1, -1861.479, 3087.38, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180682 (Area: 598) +(@OGUID+9, 176582, 1, 1, 1, -1869.407, 3139.912, -29.0381, 5.881761, 0, 0, 0, 1, 120, 255, 1), -- 176582 (Area: 598) +(@OGUID+10, 1735, 1, 1, 1, -1973.168, 3017.946, 12.0144, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 598) +(@OGUID+11, 2046, 1, 1, 1, -2061.21, 2963.84, 60.6975, 0, 0, 0, 0, 1, 120, 255, 1), -- 2046 (Area: 598) +(@OGUID+12, 2043, 1, 1, 1, -1942.14, 2873.8, 53.0702, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 598) +(@OGUID+13, 1735, 1, 1, 1, -2020.818, 2788.696, 60.27947, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 598) +(@OGUID+14, 1735, 1, 1, 1, -1718.047, 2857.993, 83.3574, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 598) +(@OGUID+15, 2046, 1, 1, 1, -1616.47, 2836.61, 108.352, 0, 0, 0, 0, 1, 120, 255, 1), -- 2046 (Area: 598) +(@OGUID+16, 1733, 1, 1, 1, -1510.807, 2893.648, 117.9703, 0, 0, 0, 0, 1, 120, 255, 1), -- 1733 (Area: 598) +(@OGUID+17, 177706, 1, 1, 1, -1152.078, 2707.204, 111.1135, 1.029743, 0, 0, 0, 1, 120, 255, 1), -- 177706 (Area: 607) +(@OGUID+18, 178827, 1, 1, 1, -1417.55, 2817.21, 112.341, 2.932139, 0, 0, 0, 1, 120, 255, 1), -- 178827 (Area: 607) +(@OGUID+19, 196395, 1, 1, 1, -1362.439, 2845.769, 113.9643, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+20, 178386, 1, 1, 1, -1381.948, 2918.69, 73.12103, 5.567677, 0.008714576, 0.0004567118, 0.05233399, 0.9985915, 120, 255, 1), -- 178386 (Area: 607) +(@OGUID+21, 178404, 1, 1, 1, -1382.071, 2918.795, 73.20731, 2.809975, 0, 0, 0, 1, 120, 255, 1), -- 178404 (Area: 607) +(@OGUID+22, 204782, 1, 1, 1, -1370.689, 2791.34, 112.161, 3.064297, 0, 0, 0, 1, 120, 255, 1), -- 204782 (Area: 607) +(@OGUID+23, 196395, 1, 1, 1, -1312.311, 2954.235, 113.6657, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+24, 196395, 1, 1, 1, -1288.299, 2901.436, 113.3299, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+25, 1735, 1, 1, 1, -1312.281, 2911.912, 116.1587, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 607) +(@OGUID+26, 204781, 1, 1, 1, -1285.26, 2879.01, 114.467, 3.150327, 0, 0, 0, 1, 120, 255, 1), -- 204781 (Area: 607) +(@OGUID+27, 196395, 1, 1, 1, -1336.842, 2793.073, 112.4895, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+28, 196395, 1, 1, 1, -1373.504, 2778.3, 112.4662, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+29, 1735, 1, 1, 1, -1201.524, 2897.881, 132.366, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 607) +(@OGUID+30, 1623, 1, 1, 1, -1171.57, 2896.54, 141.812, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 607) +(@OGUID+31, 196395, 1, 1, 1, -1171.153, 2923.974, 143.5444, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+32, 196395, 1, 1, 1, -1185.811, 2859.715, 139.0236, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+33, 138496, 1, 1, 1, -1149.775, 2891.137, 200.4699, 0.6806767, 0, 0, 0.3338069, 0.9426414, 120, 255, 1), -- 138496 (Area: 607) +(@OGUID+34, 138497, 1, 1, 1, -1152.541, 2895.451, 202.1152, 0.6794896, 0, 0, 0.3338069, 0.9426414, 120, 255, 1), -- 138497 (Area: 607) +(@OGUID+35, 196395, 1, 1, 1, -1153.767, 2858.05, 138.6609, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+36, 196395, 1, 1, 1, -1100.057, 2861.397, 139.916, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+37, 196395, 1, 1, 1, -1205.099, 2769.958, 111.5519, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+38, 196395, 1, 1, 1, -1198.08, 2753.422, 111.3466, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+39, 196395, 1, 1, 1, -1204.587, 2723.695, 111.4439, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+40, 175707, 1, 1, 1, -1178.724, 2704.808, 111.593, 4.253955, 0, 0, 0, 1, 120, 255, 1), -- 175707 (Area: 607) +(@OGUID+41, 196395, 1, 1, 1, -1133.969, 2695.469, 111.4004, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+42, 196395, 1, 1, 1, -1164.783, 2674.009, 113.8033, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+43, 1735, 1, 1, 1, -1079.507, 2688.546, 123.0704, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 607) +(@OGUID+44, 196395, 1, 1, 1, -1291.79, 2661.527, 111.5561, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+45, 196395, 1, 1, 1, -1320.986, 2618.474, 113.1267, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+46, 1623, 1, 1, 1, -1335.69, 2609.28, 120.838, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 607) +(@OGUID+47, 1735, 1, 1, 1, -1358.339, 2673.21, 113.6686, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 607) +(@OGUID+48, 196395, 1, 1, 1, -1384.155, 2657.956, 111.5562, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+49, 196395, 1, 1, 1, -1332.587, 2760.955, 113.2074, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+50, 196395, 1, 1, 1, -1368.931, 2576.337, 116.1504, 0, 0, 0, 0, 1, 120, 255, 1), -- 196395 (Area: 607) +(@OGUID+51, 1735, 1, 1, 1, -1526.53, 2410.922, 98.50154, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+52, 196387, 1, 1, 1, -1434.866, 3007.122, 115.4387, 2.129301, 0, 0, 0, 1, 120, 255, 1), -- 196387 (Area: 607) +(@OGUID+53, 196393, 1, 1, 1, -1447.194, 3010.39, 116.7381, 5.951575, 0, 0, 0, 1, 120, 255, 1), -- 196393 (Area: 6514) +(@OGUID+54, 195094, 1, 1, 1, -1679.148, 2589.378, 136.6249, 1.518436, 0, 0, 0, 1, 120, 255, 1), -- 195094 (Area: 0) +(@OGUID+55, 1623, 1, 1, 1, -1711.76, 2372.01, 85.3039, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 0) +(@OGUID+56, 1733, 1, 1, 1, -1601.297, 2303.601, 95.35903, 0, 0, 0, 0, 1, 120, 255, 1), -- 1733 (Area: 0) +(@OGUID+57, 195096, 1, 1, 1, -2026.007, 2352.51, 60.2034, 2.111848, 0, 0, 0, 1, 120, 255, 1), -- 195096 (Area: 0) +(@OGUID+58, 204780, 1, 1, 1, -2122.03, 2471.351, 17.1366, 4.081762, 0, 0, 0, 1, 120, 255, 1), -- 204780 (Area: 0) +(@OGUID+59, 204788, 1, 1, 1, -2138.95, 2485.27, 16.9764, 4.843023, 0, 0, 0, 1, 120, 255, 1), -- 204788 (Area: 0) +(@OGUID+60, 204778, 1, 1, 1, -2081.521, 2588.45, 18.3947, 2.907639, 0, 0, 0, 1, 120, 255, 1), -- 204778 (Area: 0) +(@OGUID+61, 204779, 1, 1, 1, -2125.859, 2488.28, 16.9957, 1.03758, 0, 0, 0, 1, 120, 255, 1), -- 204779 (Area: 0) +(@OGUID+62, 74138, 1, 1, 1, -2152.592, 2678.264, 61.38697, 4.005531, 0, 0, 0, 1, 120, 255, 1), -- 74138 (Area: 606) +(@OGUID+63, 204787, 1, 1, 1, -2150.79, 2612.68, 22.5723, 2.708037, 0, 0, 0, 1, 120, 255, 1), -- 204787 (Area: 606) +(@OGUID+64, 1623, 1, 1, 1, -2207.09, 2697.8, 64.4172, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 606) +(@OGUID+65, 204794, 1, 1, 1, -2268.26, 2515.18, 73.0075, 2.941182, 0, 0, 0, 1, 120, 255, 1), -- 204794 (Area: 606) +(@OGUID+66, 204795, 1, 1, 1, -2265.35, 2497.74, 73.1576, 0.2109616, 0, 0, 0, 1, 120, 255, 1), -- 204795 (Area: 606) +(@OGUID+67, 22246, 1, 1, 1, -2283.863, 2504.074, 74.25755, 0.4886912, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 606) +(@OGUID+68, 1735, 1, 1, 1, -2271.896, 2511.54, 75.43978, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 606) +(@OGUID+69, 22246, 1, 1, 1, -2301.255, 2477.967, 71.45147, 3.508117, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 606) +(@OGUID+70, 204789, 1, 1, 1, -2179.15, 2540.55, 71.3201, 4.193938, 0, 0, 0, 1, 120, 255, 1), -- 204789 (Area: 606) +(@OGUID+71, 204790, 1, 1, 1, -2176.77, 2527.87, 71.79, 4.2925, 0, 0, 0, 1, 120, 255, 1), -- 204790 (Area: 606) +(@OGUID+72, 204791, 1, 1, 1, -2228.31, 2495.34, 21.81, 2.383851, 0, 0, 0, 1, 120, 255, 1), -- 204791 (Area: 606) +(@OGUID+73, 22246, 1, 1, 1, -2289.078, 2492.712, 72.46663, 5.585054, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 606) +(@OGUID+74, 22246, 1, 1, 1, -2309.076, 2500.498, 73.94268, 0.383971, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 606) +(@OGUID+75, 195095, 1, 1, 1, -2142.92, 2405.753, 60.9884, 4.782205, 0, 0, 0, 1, 120, 255, 1), -- 195095 (Area: 606) +(@OGUID+76, 204792, 1, 1, 1, -2223.52, 2412.43, 52.3273, 3.371783, 0, 0, 0, 1, 120, 255, 1), -- 204792 (Area: 606) +(@OGUID+77, 204793, 1, 1, 1, -2246.77, 2410.89, 56.0317, 1.34408, 0, 0, 0, 1, 120, 255, 1), -- 204793 (Area: 606) +(@OGUID+78, 176229, 1, 1, 1, -2297.111, 2424.528, 68.04969, 1.282815, 0, 0, 0.5983244, 0.801254, 120, 255, 1), -- 176229 (Area: 606) +(@OGUID+79, 22246, 1, 1, 1, -2346.491, 2500.981, 70.62128, 3.228859, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 606) +(@OGUID+80, 176226, 1, 1, 1, -2358.135, 2485.344, 70.75267, 1.282815, 0, 0, 0.5983244, 0.801254, 120, 255, 1), -- 176226 (Area: 606) +(@OGUID+81, 22246, 1, 1, 1, -2303.646, 2412.441, 68.82692, 5.916668, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 606) +(@OGUID+82, 22246, 1, 1, 1, -2344.925, 2450.733, 67.31716, 0.3316107, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 606) +(@OGUID+83, 22246, 1, 1, 1, -2392.945, 2450.825, 75.03983, 0.9773831, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 600) +(@OGUID+84, 176228, 1, 1, 1, -2360.212, 2432.059, 76.5657, 1.282815, 0, 0, 0.5983244, 0.801254, 120, 255, 1), -- 176228 (Area: 600) +(@OGUID+85, 176230, 1, 1, 1, -2407.325, 2486.282, 83.75715, 2.809975, 0, 0, 0.5983244, 0.801254, 120, 255, 1), -- 176230 (Area: 600) +(@OGUID+86, 22246, 1, 1, 1, -2356.408, 2410.146, 76.31329, 4.607672, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 600) +(@OGUID+87, 22246, 1, 1, 1, -2420.139, 2438.813, 74.47804, 5.829401, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 600) +(@OGUID+88, 176227, 1, 1, 1, -2408.39, 2418.165, 74.88061, 1.282815, 0, 0, 0.5983244, 0.801254, 120, 255, 1), -- 176227 (Area: 600) +(@OGUID+89, 22246, 1, 1, 1, -2423.63, 2408.19, 75.9474, 0.2443456, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 600) +(@OGUID+90, 22246, 1, 1, 1, -2388.484, 2397.53, 75.99261, 0.8726639, 0, 0, 0, 1, 120, 255, 1), -- 22246 (Area: 600) +(@OGUID+91, 1735, 1, 1, 1, -2144.799, 2231.139, 69.73063, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+92, 142145, 1, 1, 1, -2090.35, 2080.78, 65.2834, 0, 0, 0, 0, 1, 120, 255, 1), -- 142145 (Area: 602) +(@OGUID+93, 1735, 1, 1, 1, -2067.931, 2062.385, 69.60619, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 602) +(@OGUID+94, 1735, 1, 1, 1, -2195.688, 1961.49, 64.42167, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 602) +(@OGUID+95, 142145, 1, 1, 1, -2041.78, 1860.59, 61.2937, 0, 0, 0, 0, 1, 120, 255, 1), -- 142145 (Area: 602) +(@OGUID+96, 177368, 1, 1, 1, -2067.896, 1844.889, 60.45184, 2.879789, 0, 0, 0, 1, 120, 255, 1), -- 177368 (Area: 602) +(@OGUID+97, 1735, 1, 1, 1, -2202.599, 1545.927, 74.41936, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +-- (@OGUID+98, 190549, 1, 1, 1, 0, 0, 0, 0.5048897, 0, 0, 0, 1, 120, 255, 1), -- 0 (Area: 0) - !!! transport !!! +(@OGUID+98, 1623, 1, 1, 1, -2236.28, 1385.58, 80.4682, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 2657) +(@OGUID+99, 4171, 1, 1, 1, -1308.373, 185.2901, 68.58609, 6.012661, 0, 0, 0.6122174, 0.7906895, 120, 255, 24), -- 0 (Area: 2657) +(@OGUID+100, 4170, 1, 1, 1, -1286.237, 189.7202, 130.0801, 5.209807, 0, 0, 0.6122174, 0.7906895, 120, 255, 24), -- 0 (Area: 2657) +(@OGUID+101, 1735, 1, 1, 1, -2208.512, 1351.326, 81.87526, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 2657) +(@OGUID+102, 22245, 1, 1, 1, -1962.467, 1274.298, 91.50475, 3.979355, 0, 0, 0, 1, 120, 255, 1), -- 22245 (Area: 0) +(@OGUID+103, 22245, 1, 1, 1, -1972.79, 1253.498, 91.4335, 3.996807, 0, 0, 0, 1, 120, 255, 1), -- 22245 (Area: 0) +(@OGUID+104, 1734, 1, 1, 1, -1979.149, 1504.665, 64.22369, 0, 0, 0, 0, 1, 120, 255, 1), -- 1734 (Area: 0) +(@OGUID+105, 1623, 1, 1, 1, -1921.76, 1573.02, 62.2257, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 0) +(@OGUID+106, 177367, 1, 1, 1, -2002.056, 1866.331, 52.46334, 3.194002, 0, 0, 0, 1, 120, 255, 1), -- 177367 (Area: 602) +(@OGUID+107, 177366, 1, 1, 1, -1985.619, 1944.328, 62.17315, 6.108654, 0, 0, 0, 1, 120, 255, 1), -- 177366 (Area: 602) +(@OGUID+108, 1735, 1, 1, 1, -1954.754, 2089.964, 64.7592, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 602) +(@OGUID+109, 177399, 1, 1, 1, -1774.848, 1975.778, 61.17072, 0.122173, 0, 0, 0, 1, 120, 255, 1), -- 177399 (Area: 602) +(@OGUID+110, 177400, 1, 1, 1, -1865.291, 1990.252, 62.88224, 4.642576, 0, 0, 0, 1, 120, 255, 1), -- 177400 (Area: 602) +(@OGUID+111, 142145, 1, 1, 1, -1837.6, 1946.65, 62.5756, 0, 0, 0, 0, 1, 120, 255, 1), -- 142145 (Area: 602) +(@OGUID+112, 177243, 1, 1, 1, -1944.784, 1844.425, 65.9396, 1.553341, 0, 0, 0, 1, 120, 255, 1), -- 177243 (Area: 602) +(@OGUID+113, 177365, 1, 1, 1, -1922.372, 1808.766, 66.76076, 3.857183, 0, 0, 0, 1, 120, 255, 1), -- 177365 (Area: 602) +(@OGUID+114, 177369, 1, 1, 1, -1928.124, 1757.311, 74.23151, 0.1745321, 0, 0, 0, 1, 120, 255, 1), -- 177369 (Area: 602) +(@OGUID+115, 177397, 1, 1, 1, -1703.557, 1747.923, 60.56141, 4.223697, 0, 0, 0, 1, 120, 255, 1), -- 177397 (Area: 602) +(@OGUID+116, 207487, 1, 1, 1, -1662.665, 1786.53, 61.34947, 0.5585039, 0, 0, 0, 1, 120, 255, 1), -- 207487 (Area: 602) +(@OGUID+117, 177398, 1, 1, 1, -1669.825, 1956.215, 61.43553, 6.056293, 0, 0, 0, 1, 120, 255, 1), -- 177398 (Area: 602) +(@OGUID+118, 1735, 1, 1, 1, -1605.342, 2054.168, 64.35854, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 602) +(@OGUID+119, 180685, 1, 1, 1, -1682.641, 1499.71, 57.29893, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180685 (Area: 0) +(@OGUID+120, 180684, 1, 1, 1, -1667.33, 1483.641, 57.29893, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 0) +(@OGUID+121, 1623, 1, 1, 1, -1609.14, 1461.97, 65.0739, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 0) +(@OGUID+122, 1735, 1, 1, 1, -1691.165, 1322.813, 75.57701, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+123, 47297, 1, 1, 1, -1037.266, -49.23546, 140.4947, 3.071766, 0, 0, 0.6122174, 0.7906895, 120, 255, 24), -- 0 (Area: 0) +(@OGUID+124, 47296, 1, 1, 1, -1028.043, -28.35677, 69.02259, 2.91469, 0, 0, 0.6122174, 0.7906895, 120, 255, 24), -- 0 (Area: 0) +(@OGUID+125, 1623, 1, 1, 1, -1684.39, 1241.07, 94.1633, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 0) +(@OGUID+126, 22245, 1, 1, 1, -1809.678, 1045.776, 92.23929, 4.153885, 0, 0, 0, 1, 120, 255, 1), -- 22245 (Area: 604) +(@OGUID+127, 175798, 1, 1, 1, -1788.013, 1052.122, 93.32567, 4.599112, 0, 0, 0, 1, 120, 255, 1), -- 175798 (Area: 604) +(@OGUID+128, 175797, 1, 1, 1, -1742.218, 948.1664, 91.73887, 2.038241, 0, 0, 0, 1, 120, 255, 1), -- 175797 (Area: 604) +(@OGUID+129, 180684, 1, 1, 1, -1688.29, 1007.12, 87.2658, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 604) +(@OGUID+130, 22245, 1, 1, 1, -1733.642, 921.2239, 91.81197, 4.276057, 0, 0, 0, 1, 120, 255, 1), -- 22245 (Area: 604) +(@OGUID+131, 22245, 1, 1, 1, -1760.615, 930.161, 92.49259, 4.520406, 0, 0, 0, 1, 120, 255, 1), -- 22245 (Area: 604) +(@OGUID+132, 22245, 1, 1, 1, -1774.144, 924.4962, 92.49155, 5.532695, 0, 0, 0, 1, 120, 255, 1), -- 22245 (Area: 604) +(@OGUID+133, 22245, 1, 1, 1, -1725.56, 903.2592, 91.75527, 5.98648, 0, 0, 0, 1, 120, 255, 1), -- 22245 (Area: 604) +(@OGUID+134, 22245, 1, 1, 1, -1798.713, 943.6544, 92.67194, 2.600535, 0, 0, 0, 1, 120, 255, 1), -- 22245 (Area: 604) +(@OGUID+135, 180684, 1, 1, 1, -1671.359, 941.5174, 87.2658, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 604) +(@OGUID+136, 180685, 1, 1, 1, -1791.29, 848.6805, 87.2658, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180685 (Area: 604) +(@OGUID+137, 3944, 1, 1, 1, -1844.005, 836.9716, 103.8372, 2.050762, 0, 0, 0.1693496, 0.9855561, 120, 255, 1), -- 3944 (Area: 604) +(@OGUID+138, 3948, 1, 1, 1, -1849.846, 853.4657, 103.8372, 2.050762, 0, 0, 0.1693496, 0.9855561, 120, 255, 1), -- 3948 (Area: 604) +(@OGUID+139, 3949, 1, 1, 1, -1840.309, 847.5195, 117.2863, 3.071766, 0, 0, 0.1693496, 0.9855561, 120, 255, 1), -- 3949 (Area: 604) +(@OGUID+140, 3950, 1, 1, 1, -1860.032, 851.6397, 117.2863, 3.001947, 0, 0, 0.1693496, 0.9855561, 120, 255, 1), -- 3950 (Area: 604) +(@OGUID+141, 3951, 1, 1, 1, -1844.695, 849.1598, 152.1411, 2.713986, 0, 0, 0.1693496, 0.9855561, 120, 255, 1), -- 3951 (Area: 604) +(@OGUID+142, 207487, 1, 1, 1, -1839.451, 835.3768, 102.602, 5.724681, 0, 0, 0, 1, 120, 255, 1), -- 207487 (Area: 604) +(@OGUID+143, 180685, 1, 1, 1, -1746.601, 847.8542, 87.2658, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180685 (Area: 604) +(@OGUID+144, 3945, 1, 1, 1, -1859.705, 843.8444, 152.1411, 1.911133, 0, 0, 0.1693496, 0.9855561, 120, 255, 1), -- 3945 (Area: 604) +(@OGUID+145, 3946, 1, 1, 1, -1853.263, 832.1896, 117.2863, 3.159062, 0, 0, 0.1693496, 0.9855561, 120, 255, 1), -- 3946 (Area: 604) +(@OGUID+146, 3947, 1, 1, 1, -1860.576, 840.6005, 103.8372, 2.050762, 0, 0, 0.1693496, 0.9855561, 120, 255, 1), -- 3947 (Area: 604) +(@OGUID+147, 50984, 1, 1, 1, -1890.75, 620.3574, 107.671, 0.09599175, 0, 0, 0.04797819, 0.9988484, 120, 255, 1), -- 50984 (Area: 2198) +(@OGUID+148, 51704, 1, 1, 1, -1891.895, 626.3893, 109.5754, 4.284785, 0, 0, 0.04797819, 0.9988484, 120, 255, 1), -- 51704 (Area: 2198) +(@OGUID+149, 51705, 1, 1, 1, -1892.899, 612.8271, 109.8446, 2.068215, 0, 0, 0.04797819, 0.9988484, 120, 255, 1), -- 51705 (Area: 2198) +(@OGUID+150, 3944, 1, 1, 1, -1835.571, 605.2133, 109.2112, 3.761187, 0, 0, 0.8549119, 0.5187733, 120, 255, 1), -- 3944 (Area: 2198) +(@OGUID+151, 3945, 1, 1, 1, -1840.192, 588.7099, 157.5152, 3.621558, 0, 0, 0.8549119, 0.5187733, 120, 255, 1), -- 3945 (Area: 2198) +(@OGUID+152, 3946, 1, 1, 1, -1829.547, 596.7114, 122.6603, 4.869468, 0, 0, 0.8549119, 0.5187733, 120, 255, 1), -- 3946 (Area: 2198) +(@OGUID+153, 3947, 1, 1, 1, -1836.858, 588.2992, 109.2112, 3.761187, 0, 0, 0.8549119, 0.5187733, 120, 255, 1), -- 3947 (Area: 2198) +(@OGUID+154, 3948, 1, 1, 1, -1851.091, 597.1338, 109.2112, 3.761187, 0, 0, 0.8549119, 0.5187733, 120, 255, 1), -- 3948 (Area: 2198) +(@OGUID+155, 3949, 1, 1, 1, -1846.53, 607.406, 122.6603, 4.782203, 0, 0, 0.8549119, 0.5187733, 120, 255, 1), -- 3949 (Area: 2198) +(@OGUID+156, 3950, 1, 1, 1, -1847.866, 587.3016, 122.6603, 4.71239, 0, 0, 0.8549119, 0.5187733, 120, 255, 1), -- 3950 (Area: 2198) +(@OGUID+157, 3951, 1, 1, 1, -1847.544, 602.8342, 157.5152, 4.424412, 0, 0, 0.8549119, 0.5187733, 120, 255, 1), -- 3951 (Area: 2198) +(@OGUID+158, 17190, 1, 1, 1, -1981.137, 442.0174, 133.5896, 3.150327, 0, 0, 0, 1, 120, 255, 1), -- 17190 (Area: 2198) +(@OGUID+159, 17191, 1, 1, 1, -1978.847, 443.599, 133.5896, 2.495818, 0, 0, 0, 1, 120, 255, 1), -- 17191 (Area: 2198) +(@OGUID+160, 207472, 1, 1, 1, -1937.639, 436.4132, 133.6393, 3.944446, 0, 0, 0, 1, 120, 255, 1), -- 207472 (Area: 2198) +(@OGUID+161, 1731, 1, 1, 1, -1996.733, 423.4796, 133.5905, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 1731 (Area: 2198) +(@OGUID+162, 175750, 1, 1, 1, -1965.77, 428.3158, 134.9133, 1.012289, 0, 0, 0, 1, 120, 255, 1), -- 175750 (Area: 2198) +(@OGUID+163, 175736, 1, 1, 1, -1966.757, 426.6389, 134.9493, 4.24115, 0, 0, 0, 1, 120, 255, 1), -- 175736 (Area: 2198) +(@OGUID+164, 175739, 1, 1, 1, -1965.696, 426.6892, 134.9156, 4.852017, 0, 0, 0, 1, 120, 255, 1), -- 175739 (Area: 2198) +(@OGUID+165, 3307, 1, 1, 1, -1926.554, 431.2431, 133.5896, 3.141631, 0, 0, 0, 1, 120, 255, 1), -- 3307 (Area: 2198) +(@OGUID+166, 195674, 1, 1, 1, -1464.983, 1725.082, 62.75236, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 602) +(@OGUID+167, 195674, 1, 1, 1, -1439.189, 1754.033, 50.24947, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 0) +(@OGUID+168, 1624, 1, 1, 1, -1429.97, 1637.16, 62.2918, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 0) +(@OGUID+169, 176751, 1, 1, 1, -1461.397, 1785.827, 50.2736, 3.909541, 0, 0, 0, 1, 120, 255, 1), -- 176751 (Area: 0) +(@OGUID+170, 1624, 1, 1, 1, -1445.42, 1793.18, 52.4573, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 0) +(@OGUID+171, 195674, 1, 1, 1, -1435.892, 1813.203, 52.81884, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 0) +(@OGUID+172, 176752, 1, 1, 1, -1430.087, 1788.507, 52.8973, 3.455756, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 0) +(@OGUID+173, 195674, 1, 1, 1, -1394.802, 1821.51, 51.36254, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 0) +(@OGUID+174, 1735, 1, 1, 1, -1444.785, 2040.538, 67.01452, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 596) +(@OGUID+175, 176752, 1, 1, 1, -1386.776, 2157.368, 66.61082, 4.433136, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 0) +(@OGUID+176, 65407, 1, 1, 1, -1400.118, 2090.357, 61.62127, 2.993224, 0, 0, 0, 1, 120, 255, 1), -- 65407 (Area: 0) +(@OGUID+177, 176751, 1, 1, 1, -1349.283, 2031.712, 58.16251, 5.340709, 0, 0, 0, 1, 120, 255, 1), -- 176751 (Area: 596) +(@OGUID+178, 176751, 1, 1, 1, -1383.972, 1838.741, 49.3359, 3.176533, 0, 0, 0, 1, 120, 255, 1), -- 176751 (Area: 596) +(@OGUID+179, 1735, 1, 1, 1, -1376.083, 1676.201, 64.41077, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 596) +(@OGUID+180, 195687, 1, 1, 1, -1303.523, 1627.321, 64.52411, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+181, 1735, 1, 1, 1, -1368.486, 1775.278, 50.8998, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 4804) +(@OGUID+182, 195674, 1, 1, 1, -1365.167, 1781.464, 50.18901, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4804) +(@OGUID+183, 176751, 1, 1, 1, -1358.201, 1787.12, 50.84716, 3.874631, 0, 0, 0, 1, 120, 255, 1), -- 176751 (Area: 597) +(@OGUID+184, 176752, 1, 1, 1, -1315.016, 1796.776, 53.14308, 5.201083, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 597) +(@OGUID+185, 195674, 1, 1, 1, -1313.854, 1796.913, 53.14669, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 597) +(@OGUID+186, 195674, 1, 1, 1, -1335.222, 1828.134, 50.30248, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 597) +(@OGUID+187, 176751, 1, 1, 1, -1290.174, 1810.651, 51.97176, 4.939284, 0, 0, 0, 1, 120, 255, 1), -- 176751 (Area: 597) +(@OGUID+188, 176752, 1, 1, 1, -1303.66, 1887.604, 47.64306, 4.782203, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 596) +(@OGUID+189, 195674, 1, 1, 1, -1282.623, 1881.438, 49.90752, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 596) +(@OGUID+190, 176752, 1, 1, 1, -1347.184, 1933.944, 43.92642, 0.05235888, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 596) +(@OGUID+191, 176752, 1, 1, 1, -1307.837, 1949.757, 45.18428, 6.248279, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 596) +(@OGUID+192, 195674, 1, 1, 1, -1274.833, 1898.819, 50.83995, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 596) +(@OGUID+193, 1735, 1, 1, 1, -1309.379, 1998.899, 29.14809, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 596) +(@OGUID+194, 195674, 1, 1, 1, -1267.688, 1937.391, 49.44051, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 596) +(@OGUID+195, 176752, 1, 1, 1, -1259.205, 1999.795, 49.46103, 0.4537851, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 596) +(@OGUID+196, 176752, 1, 1, 1, -1310.882, 2035.497, 36.96116, 3.508117, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 596) +(@OGUID+197, 195674, 1, 1, 1, -1264.059, 1985.59, 49.14586, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 596) +(@OGUID+198, 176751, 1, 1, 1, -1276.882, 2101.915, 26.19573, 3.42085, 0, 0, 0, 1, 120, 255, 1), -- 176751 (Area: 596) +(@OGUID+199, 2043, 1, 1, 1, -1243.41, 1966.79, 50.9628, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 596) +(@OGUID+200, 195674, 1, 1, 1, -1203.217, 1902.339, 62.49051, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 596) +(@OGUID+201, 176752, 1, 1, 1, -1258.738, 1856.701, 51.08859, 1.832595, 0, 0, 0, 1, 120, 255, 1), -- 176752 (Area: 596) +(@OGUID+202, 195674, 1, 1, 1, -1253.913, 1872.299, 52.14573, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 596) +(@OGUID+203, 1624, 1, 1, 1, -1157.25, 1802.73, 61.1331, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 596) +(@OGUID+204, 50803, 1, 1, 1, -1232.673, 1740.113, 90.27865, 5.223734, 0, 0, -0.3802806, 0.9248711, 120, 255, 1), -- 50803 (Area: 596) +(@OGUID+205, 50804, 1, 1, 1, -1227.936, 1745.109, 90.27865, 5.092833, 0, 0, -0.3802806, 0.9248711, 120, 255, 1), -- 50804 (Area: 596) +(@OGUID+206, 50805, 1, 1, 1, -1243.618, 1756.252, 90.27865, 5.153922, 0, 0, -0.3802806, 0.9248711, 120, 255, 1), -- 50805 (Area: 596) +(@OGUID+207, 195687, 1, 1, 1, -1303.773, 1593.97, 62.97229, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 597) +(@OGUID+208, 2043, 1, 1, 1, -1346.53, 1508.98, 63.52, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 597) +(@OGUID+209, 195674, 1, 1, 1, -1085.592, 1783.479, 62.48705, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 597) +(@OGUID+210, 1735, 1, 1, 1, -1101.957, 1908.674, 65.77412, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 597) +(@OGUID+211, 195687, 1, 1, 1, -1068.201, 1887.379, 60.22754, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 597) +(@OGUID+212, 1624, 1, 1, 1, -1017.39, 1909.37, 61.0397, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 4804) +(@OGUID+213, 195674, 1, 1, 1, -970.3524, 1979.863, 63.37816, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4804) +(@OGUID+214, 195097, 1, 1, 1, -1041.604, 1660.024, 59.86889, 1.588246, 0, 0, 0, 1, 120, 255, 1), -- 195097 (Area: 597) +(@OGUID+215, 195687, 1, 1, 1, -1231.538, 1473.066, 63.62748, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+216, 2043, 1, 1, 1, -1218.46, 1468.23, 64.2523, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 4804) +(@OGUID+217, 195674, 1, 1, 1, -1205.274, 1407.615, 62.27324, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4804) +(@OGUID+218, 195687, 1, 1, 1, -1294.436, 1496.288, 62.85699, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+219, 180685, 1, 1, 1, -1537.22, 1546.3, 57.29893, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180685 (Area: 0) +(@OGUID+220, 180684, 1, 1, 1, -1615.12, 1025.99, 87.2658, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 604) +(@OGUID+221, 74146, 1, 1, 1, -1596.134, 850.3772, 117.2299, 3.139699, 0, 0, 0, 1, 120, 255, 1), -- 74146 (Area: 604) +(@OGUID+222, 1735, 1, 1, 1, -1452.597, 1135.979, 95.45879, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+223, 195687, 1, 1, 1, -1340.845, 1389.974, 63.95323, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 2617) +(@OGUID+224, 1734, 1, 1, 1, -1344.635, 1415.099, 62.69128, 0, 0, 0, 0, 1, 120, 255, 1), -- 1734 (Area: 2617) +(@OGUID+225, 195687, 1, 1, 1, -1266.045, 1404.066, 63.37998, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+226, 195687, 1, 1, 1, -1308.599, 1384.816, 62.75456, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+227, 195674, 1, 1, 1, -1304.792, 1369.896, 62.7742, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4804) +(@OGUID+228, 1624, 1, 1, 1, -1254.06, 1363.93, 65.7589, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 4804) +(@OGUID+229, 1623, 1, 1, 1, -1269.05, 915, 99.1276, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 0) +(@OGUID+230, 1733, 1, 1, 1, -1257.571, 918.3386, 93.40266, 0, 0, 0, 0, 1, 120, 255, 1), -- 1733 (Area: 0) +(@OGUID+231, 195692, 1, 1, 1, -1225.057, 915.8507, 91.30858, 1.274088, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 0) +(@OGUID+232, 195084, 1, 1, 1, -1185.792, 932.8212, 91.04123, 5.331982, 0, 0, 0, 1, 120, 255, 1), -- 195084 (Area: 4797) +-- (@OGUID+233, 20808, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 120, 255, 1), -- 0 (Area: 4797) - !!! transport !!! +(@OGUID+233, 195692, 1, 1, 1, -1158.833, 938.75, 90.68298, 3.525572, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+234, 195692, 1, 1, 1, -1179.712, 960.3195, 92.19437, 4.886924, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+235, 195083, 1, 1, 1, -1202.314, 1020.924, 90.75816, 4.188792, 0, 0, 0, 1, 120, 255, 1), -- 195083 (Area: 4797) +(@OGUID+236, 1735, 1, 1, 1, -1158.071, 1105.483, 91.40833, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+237, 1624, 1, 1, 1, -1080.9, 1236.54, 93.9132, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 0) +(@OGUID+238, 195687, 1, 1, 1, -1103.977, 1303.438, 90.58231, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 0) +(@OGUID+239, 195687, 1, 1, 1, -1084.236, 1416.611, 61.77152, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+240, 195687, 1, 1, 1, -1090.97, 1385.396, 61.98328, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+241, 195107, 1, 1, 1, -937.4132, 1591.585, 60.6152, 0.6283156, 0, 0, 0, 1, 120, 255, 1), -- 195107 (Area: 4805) +(@OGUID+242, 195108, 1, 1, 1, -935.7188, 1589.191, 60.33694, 1.631882, 0, 0, 0, 1, 120, 255, 1), -- 195108 (Area: 4805) +(@OGUID+243, 195674, 1, 1, 1, -940.9097, 1767.106, 63.01408, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4805) +(@OGUID+244, 1733, 1, 1, 1, -843.1285, 1732.234, 60.58343, 0, 0, 0, 0, 1, 120, 255, 1), -- 1733 (Area: 4804) +(@OGUID+245, 195674, 1, 1, 1, -864.9496, 1795.575, 63.9602, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4804) +(@OGUID+246, 195687, 1, 1, 1, -872.0938, 1828.092, 62.01078, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+247, 195687, 1, 1, 1, -922.6719, 1926.033, 60.83963, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4804) +(@OGUID+248, 195674, 1, 1, 1, -959.1702, 1949.675, 63.23628, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4804) +(@OGUID+249, 195674, 1, 1, 1, -910.8768, 1982.616, 68.31095, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4804) +(@OGUID+250, 1735, 1, 1, 1, -840.6962, 2101.573, 64.97021, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+251, 2043, 1, 1, 1, -867.285, 1868.09, 61.672, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 4804) +(@OGUID+252, 1624, 1, 1, 1, -759.384, 1559.22, 90.3653, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 4804) +(@OGUID+253, 2043, 1, 1, 1, -751.809, 1809.48, 93.7579, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 4804) +(@OGUID+254, 1624, 1, 1, 1, -709.066, 1953.89, 93.7672, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 4804) +(@OGUID+255, 2043, 1, 1, 1, -639.71, 1619.14, 91.3256, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 4804) +(@OGUID+256, 204772, 1, 1, 1, -517.6805, 1850.109, 94.2109, 1.828637, 0, 0, 0, 1, 120, 255, 1), -- 204772 (Area: 4804) +(@OGUID+257, 204773, 1, 1, 1, -515.6614, 1822.92, 96.6484, 2.248996, 0, 0, 0, 1, 120, 255, 1), -- 204773 (Area: 4804) +(@OGUID+258, 175545, 1, 1, 1, -513.4688, 1841.535, 94.32191, 3.455304, 0, 0, 0, 1, 120, 255, 1), -- 175545 (Area: 4804) +(@OGUID+259, 204770, 1, 1, 1, -520.316, 1863.141, 94.2108, 5.79667, 0, 0, 0, 1, 120, 255, 1), -- 204770 (Area: 4804) +(@OGUID+260, 204771, 1, 1, 1, -506.0243, 1840.79, 96.4991, 3.498274, 0, 0, 0, 1, 120, 255, 1), -- 204771 (Area: 4804) +(@OGUID+261, 1735, 1, 1, 1, -524.8646, 1919.472, 115.1046, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 599) +(@OGUID+262, 195092, 1, 1, 1, -430.1545, 2217.99, 89.06409, 0.0261772, 0, 0, 0, 1, 120, 255, 1), -- 195092 (Area: 0) +(@OGUID+263, 1735, 1, 1, 1, -375.6302, 2134.009, 95.07279, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 4803) +(@OGUID+264, 1623, 1, 1, 1, -436.955, 2030.91, 100.303, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 0) +(@OGUID+265, 3855, 1, 1, 1, -422.4185, 1868.294, 128.5139, 5.672322, 0, 0, -0.8265896, 0.5628051, 120, 255, 1), -- 3855 (Area: 599) +(@OGUID+266, 195535, 1, 1, 1, -427.6458, 1851.26, 128.3964, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+267, 3857, 1, 1, 1, -413.7663, 1872.179, 128.5139, 5.907941, 0, 0, -0.8265896, 0.5628051, 120, 255, 1), -- 3857 (Area: 599) +(@OGUID+268, 3853, 1, 1, 1, -421.9329, 1850.122, 128.486, 6.134833, 0, 0, -0.8265896, 0.5628051, 120, 255, 1), -- 3853 (Area: 599) +(@OGUID+269, 204765, 1, 1, 1, -437.5556, 1814.49, 126.589, 4.333724, 0, 0, 0, 1, 120, 255, 1), -- 204765 (Area: 599) +(@OGUID+270, 195535, 1, 1, 1, -462.1823, 1807.675, 127.2541, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+271, 195531, 1, 1, 1, -417.1389, 1852.651, 127.445, 1.378809, 0, 0, 0, 1, 120, 255, 1), -- 195531 (Area: 599) +(@OGUID+272, 3856, 1, 1, 1, -411.8432, 1847.043, 128.486, 1.588249, 0, 0, -0.8265896, 0.5628051, 120, 255, 1), -- 3856 (Area: 599) +(@OGUID+273, 204762, 1, 1, 1, -425.8299, 1808.99, 126.64, 3.848015, 0, 0, 0, 1, 120, 255, 1), -- 204762 (Area: 599) +(@OGUID+274, 195535, 1, 1, 1, -408.0764, 1847.401, 128.3966, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+275, 204766, 1, 1, 1, -448.6111, 1758.399, 129.571, 3.368344, 0, 0, 0, 1, 120, 255, 1), -- 204766 (Area: 599) +(@OGUID+276, 204769, 1, 1, 1, -466.7031, 1668.601, 107.864, 2.942887, 0, 0, 0, 1, 120, 255, 1), -- 204769 (Area: 599) +(@OGUID+277, 204768, 1, 1, 1, -438.6458, 1655.109, 107.214, 5.433432, 0, 0, 0, 1, 120, 255, 1), -- 204768 (Area: 599) +(@OGUID+278, 204749, 1, 1, 1, -475.932, 1585.58, 94.1824, 5.441271, 0, 0, 0, 1, 120, 255, 1), -- 204749 (Area: 599) +(@OGUID+279, 2041, 1, 1, 1, -594.578, 1406.63, 90.0475, 0, 0, 0, 0, 1, 120, 255, 1), -- 2041 (Area: 4804) +(@OGUID+280, 1735, 1, 1, 1, -639.0295, 1192.95, 90.82627, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 4804) +(@OGUID+281, 195517, 1, 1, 1, -345.6406, 821.8958, 94.92566, 5.393069, 0, 0, 0, 1, 120, 255, 1), -- 195517 (Area: 0) +(@OGUID+282, 1735, 1, 1, 1, -639.118, 816.3559, 96.41064, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+283, 204746, 1, 1, 1, -832.965, 941.997, 90.381, 2.908227, 0, 0, 0, 1, 120, 255, 1), -- 204746 (Area: 4797) +(@OGUID+284, 195692, 1, 1, 1, -850.8455, 955.6354, 90.54856, 0.122173, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+285, 2041, 1, 1, 1, -721.835, 1275.92, 89.9938, 0, 0, 0, 0, 1, 120, 255, 1), -- 2041 (Area: 4797) +(@OGUID+286, 180684, 1, 1, 1, -747.6389, 1279.74, 89.44859, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4797) +(@OGUID+287, 1735, 1, 1, 1, -792.6042, 1389.993, 89.59381, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 2407) +(@OGUID+288, 180684, 1, 1, 1, -768.7934, 1357.24, 89.44859, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 2407) +(@OGUID+289, 2043, 1, 1, 1, -858.186, 1269.58, 98.7876, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 4804) +(@OGUID+290, 195692, 1, 1, 1, -838.5, 1141.111, 91.14673, 2.687807, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4804) +(@OGUID+291, 195082, 1, 1, 1, -848.1563, 1126.413, 91.45641, 6.274461, 0, 0, 0, 1, 120, 255, 1), -- 195082 (Area: 4804) +(@OGUID+292, 175764, 1, 1, 1, -852.2228, 1073.555, 91.74438, 5.152983, 0, 0, 0, 1, 120, 255, 1), -- 175764 (Area: 4804) +(@OGUID+293, 195693, 1, 1, 1, -911.5035, 1038.283, 95.33657, 0, 0, 0, 0, 1, 120, 255, 1), -- 195693 (Area: 4797) +(@OGUID+294, 1735, 1, 1, 1, -872.8854, 881.6667, 94.92832, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 4797) +(@OGUID+295, 175767, 1, 1, 1, -946.5855, 894.0994, 90.78587, 3.132858, 0, 0, 0, 1, 120, 255, 1), -- 175767 (Area: 4797) +(@OGUID+296, 195692, 1, 1, 1, -956.3038, 871.6163, 91.59046, 0.9075702, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+297, 195692, 1, 1, 1, -1020.695, 878.5261, 92.58803, 6.03884, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+298, 195692, 1, 1, 1, -1046.691, 883.3004, 92.82824, 2.251473, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+299, 175766, 1, 1, 1, -1039.044, 906.2923, 92.62938, 2.355786, 0, 0, 0, 1, 120, 255, 1), -- 175766 (Area: 4797) +(@OGUID+300, 195692, 1, 1, 1, -1044.101, 998.4792, 90.31358, 1.570796, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+301, 195692, 1, 1, 1, -993.0729, 1086.538, 91.03568, 1.169369, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+302, 195692, 1, 1, 1, -1025.413, 1068.931, 90.28284, 3.700105, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+303, 175765, 1, 1, 1, -1058.906, 1021.645, 91.01397, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 175765 (Area: 4797) +(@OGUID+304, 180684, 1, 1, 1, -884.6146, 1367.319, 61.14885, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4804) +(@OGUID+305, 180684, 1, 1, 1, -970.9861, 1353.109, 61.14885, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4804) +(@OGUID+306, 2041, 1, 1, 1, -932.418, 1448.38, 62.5447, 0, 0, 0, 0, 1, 120, 255, 1), -- 2041 (Area: 4804) +(@OGUID+307, 195674, 1, 1, 1, -982.7743, 1461.194, 63.9996, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4804) +(@OGUID+308, 195674, 1, 1, 1, -976.8143, 1424.788, 58.95271, 0, 0, 0, 0, 1, 120, 255, 1), -- 195674 (Area: 4805) +(@OGUID+309, 195687, 1, 1, 1, -1049.99, 1358.8, 65.77214, 0, 0, 0, 0, 1, 120, 255, 1), -- 195687 (Area: 4805) +(@OGUID+310, 1735, 1, 1, 1, -1001.37, 1357.705, 63.67277, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 4805) +(@OGUID+311, 180684, 1, 1, 1, -996.2483, 1331.24, 61.14885, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180684 (Area: 4805) +(@OGUID+312, 2041, 1, 1, 1, -1019.094, 1266.184, 89.25027, 0, 0, 0, 0, 1, 120, 255, 1), -- 2041 (Area: 4804) +(@OGUID+313, 195692, 1, 1, 1, -1074.863, 1004.726, 90.3763, 6.073746, 0, 0, 0, 1, 120, 255, 1), -- 195692 (Area: 4797) +(@OGUID+314, 1623, 1, 1, 1, -1071.63, 965.12, 96.7969, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 4797) +(@OGUID+315, 195601, 1, 1, 1, -456.6962, 1446.542, 89.88347, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 4804) +(@OGUID+316, 195601, 1, 1, 1, -464.75, 1386.469, 97.8944, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+317, 195601, 1, 1, 1, -393.6823, 1388.96, 97.89213, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+318, 1735, 1, 1, 1, -454.2535, 1314.069, 95.49742, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+319, 1623, 1, 1, 1, -512.589, 1285.89, 98.71, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 0) +(@OGUID+320, 195601, 1, 1, 1, -467.5816, 1296.811, 91.36017, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+321, 195600, 1, 1, 1, -183.25, 1117.009, 88.19152, 3.403396, 0, 0, 0, 1, 120, 255, 1), -- 195600 (Area: 0) +(@OGUID+322, 180685, 1, 1, 1, -427.7656, 1250.26, 88.59528, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180685 (Area: 0) +-- (@OGUID+323, 176231, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 120, 255, 1), -- 0 (Area: 0) - !!! transport !!! +(@OGUID+323, 195081, 1, 1, 1, -524.8629, 1065.71, 89.83199, 1.492256, 0, 0, 0, 1, 120, 255, 1), -- 195081 (Area: 0) +(@OGUID+324, 195497, 1, 1, 1, -242.2083, 693.0261, 100.894, 1.97222, 0, 0, 0, 1, 120, 255, 1), -- 195497 (Area: 0) +(@OGUID+325, 195588, 1, 1, 1, -448.125, 842.7934, 92.93855, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +-- (@OGUID+326, 186238, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 120, 255, 1), -- 0 (Area: 0) - !!! transport !!! +(@OGUID+326, 195588, 1, 1, 1, -429.7396, 1000.764, 91.56181, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +(@OGUID+327, 195432, 1, 1, 1, -425.3264, 1117.745, 96.02752, 5.881761, 0, 0, 0, 1, 120, 255, 1), -- 195432 (Area: 0) +(@OGUID+328, 195433, 1, 1, 1, -425.4427, 1117.786, 97.24106, 5.881761, 0, 0, 0, 1, 120, 255, 1), -- 195433 (Area: 0) +(@OGUID+329, 1623, 1, 1, 1, -343.398, 1479.71, 93.0689, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 0) +(@OGUID+330, 195601, 1, 1, 1, -317.6024, 1430.233, 91.25498, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+331, 195601, 1, 1, 1, -323.7083, 1371.609, 94.83649, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+332, 195450, 1, 1, 1, -57.77083, 1188.972, 91.77123, 1.850049, 0, 0, 0, 1, 120, 255, 1), -- 195450 (Area: 0) +(@OGUID+333, 195601, 1, 1, 1, -269.3854, 1433.458, 101.4969, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+334, 195601, 1, 1, 1, -356.9375, 1318.778, 91.0459, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+335, 195601, 1, 1, 1, -256.4167, 1357.316, 89.42637, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+336, 195601, 1, 1, 1, -271.0885, 1306.014, 91.18516, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+337, 195588, 1, 1, 1, -359.4167, 1287.097, 90.75885, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +(@OGUID+338, 195588, 1, 1, 1, -341.8993, 1184.358, 93.82151, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +(@OGUID+339, 195588, 1, 1, 1, -313.6771, 1049.004, 91.38548, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +(@OGUID+340, 1624, 1, 1, 1, -406.97, 894.443, 91.7238, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 0) +-- (@OGUID+341, 164871, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 120, 255, 1), -- 0 (Area: 0) - !!! transport !!! +(@OGUID+341, 195438, 1, 1, 1, -90.02778, 771.5608, 132.8918, 0, 0, 0, 0, 1, 120, 255, 1), -- 195438 (Area: 603) +(@OGUID+342, 195440, 1, 1, 1, -379.5087, 812.6337, 90.98695, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+343, 1733, 1, 1, 1, -361.0903, 928.2344, 93.45197, 0, 0, 0, 0, 1, 120, 255, 1), -- 1733 (Area: 603) +(@OGUID+344, 195440, 1, 1, 1, -302.8507, 955.7153, 90.94827, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+345, 195440, 1, 1, 1, -295.5677, 934.8195, 91.02261, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+346, 195440, 1, 1, 1, -258.7847, 935.6406, 91.80048, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +-- (@OGUID+347, 176310, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 120, 255, 1), -- 0 (Area: 603) - !!! transport !!! +(@OGUID+347, 195588, 1, 1, 1, -225.8854, 1073.01, 89.89451, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 603) +(@OGUID+348, 195588, 1, 1, 1, -226.5295, 1206.328, 90.27778, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +(@OGUID+349, 195601, 1, 1, 1, -222.7674, 1178.043, 93.98092, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+350, 195601, 1, 1, 1, -257.7517, 1468.931, 90.88175, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+351, 195601, 1, 1, 1, -206.691, 1456.84, 93.3867, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+352, 195588, 1, 1, 1, -243.3576, 1509.479, 92.39092, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +(@OGUID+353, 195601, 1, 1, 1, -213.6927, 1563.259, 91.82517, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+354, 195588, 1, 1, 1, -158.4809, 1203.276, 88.97989, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +-- (@OGUID+355, 175080, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 120, 255, 1), -- 0 (Area: 0) - !!! transport !!! +(@OGUID+355, 195440, 1, 1, 1, -221.474, 967.033, 90.73746, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 0) +(@OGUID+356, 195440, 1, 1, 1, -187.8108, 965.618, 90.63735, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 0) +(@OGUID+357, 204744, 1, 1, 1, -251.707, 893.372, 89.3687, 1.317634, 0, 0, 0, 1, 120, 255, 1), -- 204744 (Area: 0) +(@OGUID+358, 1624, 1, 1, 1, -230.799, 896.17, 90.2479, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 0) +(@OGUID+359, 195440, 1, 1, 1, -215.0799, 860.1771, 91.81611, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+360, 195440, 1, 1, 1, -297.4896, 827.4549, 91.78493, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+361, 204745, 1, 1, 1, -260.705, 790.255, 89.2864, 1.761161, 0, 0, 0, 1, 120, 255, 1), -- 204745 (Area: 603) +-- (@OGUID+362, 181646, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 120, 255, 1), -- 0 (Area: 603) - !!! transport !!! +(@OGUID+362, 195440, 1, 1, 1, -261.9288, 662.9583, 102.6922, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+363, 195440, 1, 1, 1, -173.8663, 712.6354, 92.54926, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+364, 195440, 1, 1, 1, -169.2726, 724.9462, 94.33878, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+365, 204743, 1, 1, 1, -180.823, 666.408, 91.3353, 4.001614, 0, 0, 0, 1, 120, 255, 1), -- 204743 (Area: 603) +(@OGUID+366, 195588, 1, 1, 1, -131.2587, 1126.484, 89.80311, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +(@OGUID+367, 195519, 1, 1, 1, -251.9635, 793.9861, 89.54462, 1.186823, 0, 0, 0, 1, 120, 255, 1), -- 195519 (Area: 603) +(@OGUID+368, 195440, 1, 1, 1, -132.4635, 928.0139, 94.09577, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+369, 195519, 1, 1, 1, -135.7014, 983.4531, 91.21548, 1.186823, 0, 0, 0, 1, 120, 255, 1), -- 195519 (Area: 603) +(@OGUID+370, 204742, 1, 1, 1, -119.313, 986.655, 89.8479, 5.366344, 0, 0, 0, 1, 120, 255, 1), -- 204742 (Area: 603) +(@OGUID+371, 195588, 1, 1, 1, -82.45139, 1078.917, 90.5218, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 0) +(@OGUID+372, 1735, 1, 1, 1, -34.00174, 1013.142, 101.599, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+373, 204741, 1, 1, 1, -52.5017, 962.33, 91.6041, 0.6069948, 0, 0, 0, 1, 120, 255, 1), -- 204741 (Area: 603) +(@OGUID+374, 195440, 1, 1, 1, -86.97916, 933.875, 89.3278, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+375, 195519, 1, 1, 1, -48.7257, 951.8125, 91.63895, 3.001947, 0, 0, 0, 1, 120, 255, 1), -- 195519 (Area: 603) +(@OGUID+376, 195440, 1, 1, 1, -25.47569, 934.6007, 98.64808, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+377, 195440, 1, 1, 1, -35.43576, 949.033, 94.78914, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+378, 195440, 1, 1, 1, -79.91146, 909.783, 91.02822, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+379, 195440, 1, 1, 1, -44.81945, 839.6371, 111.4899, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+380, 204739, 1, 1, 1, -15.4514, 832.507, 91.4368, 0.9102577, 0, 0, 0, 1, 120, 255, 1), -- 204739 (Area: 603) +(@OGUID+381, 195519, 1, 1, 1, -18.63194, 848.0851, 91.79063, 6.03884, 0, 0, 0, 1, 120, 255, 1), -- 195519 (Area: 603) +(@OGUID+382, 195440, 1, 1, 1, -51.625, 705.1233, 103.7865, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+383, 195440, 1, 1, 1, -90.84896, 699.2778, 113.7819, 0, 0, 0, 0, 1, 120, 255, 1), -- 195440 (Area: 603) +(@OGUID+384, 2043, 1, 1, 1, -141.681, 675.078, 97.7351, 0, 0, 0, 0, 1, 120, 255, 1), -- 2043 (Area: 603) +(@OGUID+385, 204740, 1, 1, 1, -27.8733, 664.436, 91.4782, 5.241958, 0, 0, 0, 1, 120, 255, 1), -- 204740 (Area: 603) +(@OGUID+386, 1734, 1, 1, 1, -57.32986, 598.743, 92.54114, 0, 0, 0, 0, 1, 120, 255, 1), -- 1734 (Area: 603) +(@OGUID+387, 195519, 1, 1, 1, -10.73438, 671.9705, 91.42457, 2.722713, 0, 0, 0, 1, 120, 255, 1), -- 195519 (Area: 603) +(@OGUID+388, 195445, 1, 1, 1, 53.66146, 867.4948, 141.8061, 0.8726639, 0, 0, 0, 1, 120, 255, 1), -- 195445 (Area: 603) +(@OGUID+389, 1735, 1, 1, 1, 155.6024, 950.1285, 179.4213, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 603) +(@OGUID+390, 1735, 1, 1, 1, 23.68576, 1357.733, 115.3061, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 0) +(@OGUID+391, 177278, 1, 1, 1, 157.0349, 1190.915, 165.4644, 2.068215, 0, 0, 0.8594065, 0.5112931, 120, 255, 1), -- 177278 (Area: 608) +(@OGUID+392, 178908, 1, 1, 1, 188.8299, 1156.036, 168.8327, 4.380776, 0, 0, 0, 1, 120, 255, 1), -- 178908 (Area: 608) +(@OGUID+393, 175144, 1, 1, 1, 196.7274, 1173.148, 167.832, 0.593412, 0, 0, 0, 1, 120, 255, 1), -- 175144 (Area: 608) +(@OGUID+394, 175145, 1, 1, 1, 200.7701, 1175.62, 167.9986, 3.979355, 0, 0, 0, 1, 120, 255, 1), -- 175145 (Area: 608) +(@OGUID+395, 175146, 1, 1, 1, 182.8568, 1154.684, 168.3053, 0.4519961, 0, 0, 0, 1, 120, 255, 1), -- 175146 (Area: 608) +(@OGUID+396, 175758, 1, 1, 1, 221.2708, 1252.917, 198.1552, 4.031712, 0, 0, 0, 1, 120, 255, 1), -- 175758 (Area: 608) +(@OGUID+397, 176319, 1, 1, 1, 248.1182, 1291.65, 190.3918, 3.42085, 0, 0, 0, 1, 120, 255, 1), -- 176319 (Area: 608) +(@OGUID+398, 204763, 1, 1, 1, -433.1597, 1706.88, 127.112, 5.56779, 0, 0, 0, 1, 120, 255, 1), -- 204763 (Area: 599) +(@OGUID+399, 204767, 1, 1, 1, -437.6094, 1715.55, 127.455, 5.423651, 0, 0, 0, 1, 120, 255, 1), -- 204767 (Area: 599) +(@OGUID+400, 195535, 1, 1, 1, -407.2413, 1736.391, 130.4658, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+401, 204764, 1, 1, 1, -404.75, 1731, 130.658, 3.234821, 0, 0, 0, 1, 120, 255, 1), -- 204764 (Area: 599) +(@OGUID+402, 1735, 1, 1, 1, -430.0417, 1736.95, 133.0319, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 599) +(@OGUID+403, 195535, 1, 1, 1, -397.8802, 1760.722, 129.5298, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+404, 204759, 1, 1, 1, -395.7847, 1719.12, 131.466, 5.813102, 0, 0, 0, 1, 120, 255, 1), -- 204759 (Area: 599) +(@OGUID+405, 195535, 1, 1, 1, -393.0868, 1717.922, 131.9149, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+406, 174846, 1, 1, 1, -404.8798, 1868.693, 128.5139, 3.630291, 0, 0, -0.8265896, 0.5628051, 120, 255, 1), -- 174846 (Area: 599) +(@OGUID+407, 3852, 1, 1, 1, -401.1616, 1860.006, 128.5139, 2.748894, 0, 0, -0.8265896, 0.5628051, 120, 255, 1), -- 3852 (Area: 599) +(@OGUID+408, 204747, 1, 1, 1, -358.5799, 1866.521, 123.972, 1.719338, 0, 0, 0, 1, 120, 255, 1), -- 204747 (Area: 599) +(@OGUID+409, 204748, 1, 1, 1, -351.4184, 1858.76, 124.205, 2.050949, 0, 0, 0, 1, 120, 255, 1), -- 204748 (Area: 599) +(@OGUID+410, 3890, 1, 1, 1, -354.9481, 1791.564, 139.446, 3.38594, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3890 (Area: 599) +(@OGUID+411, 3895, 1, 1, 1, -337.2607, 1797.886, 139.4369, 1.029743, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3895 (Area: 599) +(@OGUID+412, 3896, 1, 1, 1, -343.0825, 1799.943, 139.4369, 3.481937, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3896 (Area: 599) +(@OGUID+413, 195535, 1, 1, 1, -336.7656, 1794.851, 139.2962, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+414, 204758, 1, 1, 1, -385.1007, 1800.311, 127.635, 1.19625, 0, 0, 0, 1, 120, 255, 1), -- 204758 (Area: 599) +(@OGUID+415, 2046, 1, 1, 1, -294.29, 1881.79, 139.731, 0, 0, 0, 0, 1, 120, 255, 1), -- 2046 (Area: 599) +(@OGUID+416, 3907, 1, 1, 1, -332.3245, 1784.884, 139.446, 2.661627, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3907 (Area: 599) +(@OGUID+417, 195535, 1, 1, 1, -379.2326, 1774.17, 139.3283, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+418, 3910, 1, 1, 1, -324.8375, 1777.23, 139.446, 2.277649, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3910 (Area: 599) +(@OGUID+419, 195535, 1, 1, 1, -360.0538, 1772.59, 139.4217, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+420, 3899, 1, 1, 1, -370.9146, 1780.588, 139.446, 4.302239, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3899 (Area: 599) +(@OGUID+421, 3903, 1, 1, 1, -341.3487, 1777.369, 139.5706, 6.056293, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3903 (Area: 599) +(@OGUID+422, 195535, 1, 1, 1, -355.8767, 1748.969, 139.5174, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+423, 195535, 1, 1, 1, -330.8993, 1765.153, 139.5167, 2.565632, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+424, 3904, 1, 1, 1, -363.2358, 1762.349, 139.5706, 5.890487, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3904 (Area: 599) +(@OGUID+425, 3905, 1, 1, 1, -369.3025, 1747.695, 139.446, 5.462882, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3905 (Area: 599) +(@OGUID+426, 3909, 1, 1, 1, -340.5309, 1767.066, 139.6183, 5.305802, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3909 (Area: 599) +(@OGUID+427, 3911, 1, 1, 1, -373.4398, 1757.531, 139.446, 5.070184, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3911 (Area: 599) +(@OGUID+428, 174847, 1, 1, 1, -383.6716, 1766.893, 139.4369, 5.05273, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 174847 (Area: 599) +(@OGUID+429, 3892, 1, 1, 1, -353.081, 1747.824, 139.5706, 4.913104, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3892 (Area: 599) +(@OGUID+430, 3893, 1, 1, 1, -353.6449, 1758.221, 139.6183, 5.305802, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3893 (Area: 599) +(@OGUID+431, 3897, 1, 1, 1, -383.3582, 1773.229, 139.4369, 2.600535, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3897 (Area: 599) +(@OGUID+432, 3898, 1, 1, 1, -320.5607, 1765.157, 139.446, 1.806414, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3898 (Area: 599) +(@OGUID+433, 3902, 1, 1, 1, -331.3204, 1762.975, 139.5706, 4.913104, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3902 (Area: 599) +(@OGUID+434, 195535, 1, 1, 1, -333.6163, 1753.042, 139.4604, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+435, 3901, 1, 1, 1, -310.7402, 1758.497, 139.4369, 1.911133, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3901 (Area: 599) +(@OGUID+436, 195535, 1, 1, 1, -343.6042, 1746.778, 139.487, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+437, 195535, 1, 1, 1, -350.9566, 1746.903, 139.5193, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+438, 3906, 1, 1, 1, -362.1534, 1740.157, 139.446, 5.873035, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3906 (Area: 599) +(@OGUID+439, 3908, 1, 1, 1, -323.1797, 1744.765, 139.446, 1.24791, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3908 (Area: 599) +(@OGUID+440, 3888, 1, 1, 1, -356.9946, 1727.36, 139.4369, 3.883358, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3888 (Area: 599) +(@OGUID+441, 3900, 1, 1, 1, -339.5721, 1733.707, 139.4373, 0.2967052, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3900 (Area: 599) +(@OGUID+442, 195535, 1, 1, 1, -372.559, 1724.099, 131.5544, 1.256636, 0, 0, 0, 1, 120, 255, 1), -- 195535 (Area: 599) +(@OGUID+443, 3891, 1, 1, 1, -350.965, 1725.137, 139.4369, 0.05235888, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3891 (Area: 599) +(@OGUID+444, 3894, 1, 1, 1, -311.1588, 1752.084, 139.4369, 5.742133, 0, 0, 0.9563047, -0.2923717, 120, 255, 1), -- 3894 (Area: 599) +(@OGUID+445, 204760, 1, 1, 1, -368.257, 1714.181, 130.28, 3.455756, 0, 0, 0, 1, 120, 255, 1), -- 204760 (Area: 599) +(@OGUID+446, 204757, 1, 1, 1, -334.2083, 1644.601, 108.62, 5.776472, 0, 0, 0, 1, 120, 255, 1), -- 204757 (Area: 599) +(@OGUID+447, 1735, 1, 1, 1, -243.2587, 1715.201, 105.5005, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 599) +(@OGUID+448, 204761, 1, 1, 1, -378.3698, 1629.76, 107.878, 0.200142, 0, 0, 0, 1, 120, 255, 1), -- 204761 (Area: 599) +(@OGUID+449, 195601, 1, 1, 1, -320.3663, 1574.064, 89.4614, 0, 0, 0, 0, 1, 120, 255, 1), -- 195601 (Area: 0) +(@OGUID+450, 204756, 1, 1, 1, -318.0469, 1630.479, 108.233, 5.312627, 0, 0, 0, 1, 120, 255, 1), -- 204756 (Area: 599) +(@OGUID+451, 204755, 1, 1, 1, -262.7882, 1622.399, 94.8518, 1.019648, 0, 0, 0, 1, 120, 255, 1), -- 204755 (Area: 599) +(@OGUID+452, 207523, 1, 1, 1, -216.3976, 1706.927, 105.4732, 5.969027, 0, 0, 0, 1, 120, 255, 1), -- 207523 (Area: 599) +(@OGUID+453, 204752, 1, 1, 1, -223.1545, 1669.3, 99.8958, 1.439084, 0, 0, 0, 1, 120, 255, 1), -- 204752 (Area: 599) +(@OGUID+454, 204750, 1, 1, 1, -193.5642, 1700.33, 105.336, 1.231252, 0, 0, 0, 1, 120, 255, 1), -- 204750 (Area: 599) +(@OGUID+455, 204751, 1, 1, 1, -195.8681, 1680.521, 102.176, 1.797686, 0, 0, 0, 1, 120, 255, 1), -- 204751 (Area: 599) +(@OGUID+456, 204754, 1, 1, 1, -207.25, 1664.45, 98.192, 1.029743, 0, 0, 0, 1, 120, 255, 1), -- 204754 (Area: 599) +(@OGUID+457, 204753, 1, 1, 1, -210.1302, 1633.63, 93.0434, 4.031712, 0, 0, 0, 1, 120, 255, 1), -- 204753 (Area: 599) +(@OGUID+458, 1623, 1, 1, 1, -146.278, 1581.13, 92.0238, 0, 0, 0, 0, 1, 120, 255, 1), -- 1623 (Area: 599) +(@OGUID+459, 195588, 1, 1, 1, -107.4392, 1559.236, 93.37135, 0, 0, 0, 0, 1, 120, 255, 1), -- 195588 (Area: 599) +(@OGUID+460, 180685, 1, 1, 1, -89.25694, 1630.95, 87.24653, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180685 (Area: 0) +(@OGUID+461, 2046, 1, 1, 1, -71.6597, 2136.64, 117.569, 0, 0, 0, 0, 1, 120, 255, 1), -- 2046 (Area: 0) +(@OGUID+462, 2046, 1, 1, 1, -223.094, 2137.76, 135.263, 0, 0, 0, 0, 1, 120, 255, 1), -- 2046 (Area: 4796) +(@OGUID+463, 1624, 1, 1, 1, -234.102, 2417.64, 17.891, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 4796) +(@OGUID+464, 180683, 1, 1, 1, -227.6649, 2505.75, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180683 (Area: 4796) +-- (@OGUID+465, 195652, 1, 1, 1, -204.059, 2534.379, -21.36938, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 4796) - !!! might be temporary spawn !!! +(@OGUID+465, 1735, 1, 1, 1, -312.1146, 2524.217, 10.56564, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 4796) +(@OGUID+466, 180683, 1, 1, 1, -247.9653, 2525.16, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180683 (Area: 4796) +(@OGUID+467, 195091, 1, 1, 1, -361.8073, 2492.892, 75.17833, 1.509709, 0, 0, 0, 1, 120, 255, 1), -- 195091 (Area: 4796) +(@OGUID+468, 1624, 1, 1, 1, -495.377, 2594.86, 11.6816, 0, 0, 0, 0, 1, 120, 255, 1), -- 1624 (Area: 2405) +(@OGUID+469, 177787, 1, 1, 1, -459.5139, 2611.728, 2.090821, 0.2443456, 0, 0, 0, 1, 120, 255, 1), -- 177787 (Area: 2405) +(@OGUID+470, 35251, 1, 1, 1, -460.7928, 2609.829, 2.756923, 1.518436, 0, 0, 0, 1, 120, 255, 1), -- 35251 (Area: 2405) +(@OGUID+471, 180683, 1, 1, 1, -539.9219, 2626.62, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180683 (Area: 2405) +(@OGUID+472, 180683, 1, 1, 1, -429.5972, 2628.14, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180683 (Area: 2405) +(@OGUID+473, 180682, 1, 1, 1, -372.1267, 2616.56, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180682 (Area: 2405) +(@OGUID+474, 179491, 1, 1, 1, -333.1146, 2659.908, -18.07231, 2.042035, 0, 0, 0, 1, 120, 255, 1), -- 179491 (Area: 2405) +(@OGUID+475, 177784, 1, 1, 1, -297.9875, 2642.96, -20.8264, 2.007128, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 2405) +(@OGUID+476, 177784, 1, 1, 1, -370.9965, 2697.786, -15.22976, 2.164206, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 2405) +(@OGUID+477, 179491, 1, 1, 1, -278.1635, 2651.206, -22.22436, 3.769912, 0, 0, 0, 1, 120, 255, 1), -- 179491 (Area: 2405) +-- (@OGUID+478, 195652, 1, 1, 1, -250.0799, 2597.157, -20.7334, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 2405) - !!! might be temporary spawn !!! +(@OGUID+478, 179491, 1, 1, 1, -247.6135, 2616.853, -24.00813, 2.076939, 0, 0, 0, 1, 120, 255, 1), -- 179491 (Area: 2405) +(@OGUID+479, 179491, 1, 1, 1, -206.3819, 2561.643, -24.23148, 0.6632232, 0, 0, 0, 1, 120, 255, 1), -- 179491 (Area: 2405) +(@OGUID+480, 179491, 1, 1, 1, -110.8695, 2426.943, -37.40144, 2.478367, 0, 0, 0, 1, 120, 255, 1), -- 179491 (Area: 4796) +(@OGUID+481, 177784, 1, 1, 1, -545.8246, 2710.218, -12.04209, 4.153885, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+482, 177784, 1, 1, 1, -588.8351, 2648.152, -5.432247, 1.675514, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+483, 180682, 1, 1, 1, -628.8386, 2636.49, 0, 3.141593, 0, 0, 0, 1, 120, 255, 1), -- 180682 (Area: 4796) +(@OGUID+484, 1735, 1, 1, 1, -659.4202, 2559.533, 31.94314, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 4796) +(@OGUID+485, 177784, 1, 1, 1, -606.1406, 2758.654, -21.34771, 5.113817, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+486, 177524, 1, 1, 1, -642.95, 2862.75, -23.9475, 0.6283169, 0, 0, 0, 1, 120, 255, 1), -- 177524 (Area: 4796) +(@OGUID+487, 177784, 1, 1, 1, -645.6996, 2896.281, -23.64952, 4.590216, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+488, 177784, 1, 1, 1, -573.625, 2860.438, 2.42516, 5.759588, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+489, 177784, 1, 1, 1, -611.243, 2969.67, -5.75299, 2.408554, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+490, 177784, 1, 1, 1, -673.4722, 2976.085, -28.79041, 2.391098, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+491, 177784, 1, 1, 1, -464.6441, 2797.814, -2.327488, 3.665196, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+492, 177784, 1, 1, 1, -545.8246, 2710.218, -12.04209, 4.153885, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+493, 177784, 1, 1, 1, -404.7083, 2752.26, -9.727736, 3.874631, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+494, 179491, 1, 1, 1, -330.6007, 2711.499, -14.38079, 5.218536, 0, 0, 0, 1, 120, 255, 1), -- 179491 (Area: 4796) +(@OGUID+495, 179491, 1, 1, 1, -301.6945, 2686.364, -17.4242, 1.692969, 0, 0, 0, 1, 120, 255, 1), -- 179491 (Area: 4796) +(@OGUID+496, 177784, 1, 1, 1, -241.0827, 2690.354, -37.26363, 3.525572, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +-- (@OGUID+497, 195652, 1, 1, 1, -113.099, 2506.944, -21.66207, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 4796) - !!! might be temporary spawn !!! +-- (@OGUID+497, 195652, 1, 1, 1, -62.47222, 2498.51, -20.80946, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 4796) - !!! might be temporary spawn !!! +(@OGUID+497, 177524, 1, 1, 1, 203.1432, 2559.874, -63.16297, 3.228859, 0, 0, 0, 1, 120, 255, 1), -- 177524 (Area: 4796) +(@OGUID+498, 177524, 1, 1, 1, 78.85688, 2616.054, -83.65893, 4.956738, 0, 0, 0, 1, 120, 255, 1), -- 177524 (Area: 4796) +(@OGUID+499, 179493, 1, 1, 1, 149.6159, 2719.072, -67.74855, 2.495818, 0, 0, 0, 1, 120, 255, 1), -- 179493 (Area: 4796) +(@OGUID+500, 177524, 1, 1, 1, 161.0342, 2742.556, -71.47292, 3.57793, 0, 0, 0, 1, 120, 255, 1), -- 177524 (Area: 4796) +-- (@OGUID+501, 195652, 1, 1, 1, 120.2882, 2748.789, -55.28662, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 4796) - !!! might be temporary spawn !!! +(@OGUID+501, 177786, 1, 1, 1, 191.0813, 2884.414, 2.96727, 1.605702, 0, 0, 0, 1, 120, 255, 1), -- 177786 (Area: 2406) +(@OGUID+502, 1735, 1, 1, 1, 277.9844, 3021.54, 5.005187, 0, 0, 0, 0, 1, 120, 255, 1), -- 1735 (Area: 2406) +(@OGUID+503, 207487, 1, 1, 1, 137.7656, 2933.49, 1.660886, 2.076939, 0, 0, 0, 1, 120, 255, 1), -- 207487 (Area: 2406) +-- (@OGUID+504, 195652, 1, 1, 1, 79.7691, 2898, -24.26847, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 2406) - !!! might be temporary spawn !!! +-- (@OGUID+504, 195652, 1, 1, 1, 53.97049, 2922.695, -25.48165, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 2406) - !!! might be temporary spawn !!! +(@OGUID+504, 177524, 1, 1, 1, 55.28423, 2842.686, -83.0677, 2.530723, 0, 0, 0, 1, 120, 255, 1), -- 177524 (Area: 2406) +-- (@OGUID+505, 195652, 1, 1, 1, -11.97569, 2902.934, -22.81205, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 2406) - !!! might be temporary spawn !!! +-- (@OGUID+505, 195652, 1, 1, 1, -5.399306, 2861.594, -35.82541, 0, 0, 0, 0, 1, 120, 255, 1), -- 195652 (Area: 2406) - !!! might be temporary spawn !!! +(@OGUID+505, 177524, 1, 1, 1, -22.35167, 2831.506, -34.25955, 5.480334, 0, 0, 0, 1, 120, 255, 1), -- 177524 (Area: 2406) +(@OGUID+506, 177784, 1, 1, 1, -305.2795, 2763.529, -10.28382, 3.228859, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+507, 177784, 1, 1, 1, -277.3785, 2846.929, -12.20518, 2.82743, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+508, 177784, 1, 1, 1, -241.0827, 2690.354, -37.26363, 3.525572, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+509, 177784, 1, 1, 1, -644.0018, 3055.519, -22.0551, 4.886924, 0, 0, 0, 1, 120, 255, 1), -- 177784 (Area: 4796) +(@OGUID+510, 177784, 1, 1, 1, -760.8824, 3161.173, -25.76223, 5.567601, 0, 0, 0, 1, 120, 255, 1); -- 177784 (Area: 4796) + +-- Pathing for Entry: 12338 'TDB FORMAT' +SET @NPC := 365327; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1711.575,`position_y`=3189,`position_z`=4.804807 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1711.575,3189,4.804807,0,0,0,0,100,0), +(@PATH,2,-1713.075,3191,4.804807,0,0,0,0,100,0), +(@PATH,3,-1713.145,3190.773,4.594261,0,0,0,0,100,0), +(@PATH,4,-1712.788,3190.676,5.08589,0,0,0,0,100,0), +(@PATH,5,-1708.788,3185.426,5.58589,0,0,0,0,100,0), +(@PATH,6,-1705.788,3181.676,5.83589,0,0,0,0,100,0), +(@PATH,7,-1704.038,3179.176,6.58589,0,0,0,0,100,0), +(@PATH,8,-1703.581,3179.071,6.893579,0,0,0,0,100,0), +(@PATH,9,-1702.831,3177.821,7.143579,0,0,0,0,100,0), +(@PATH,10,-1699.331,3175.571,8.143579,0,0,0,0,100,0), +(@PATH,11,-1695.831,3173.571,8.893579,0,0,0,0,100,0), +(@PATH,12,-1694.581,3172.571,9.393579,0,0,0,0,100,0), +(@PATH,13,-1692.081,3171.071,10.14358,0,0,0,0,100,0), +(@PATH,14,-1690.331,3170.071,11.14358,0,0,0,0,100,0), +(@PATH,15,-1687.831,3168.321,11.64358,0,0,0,0,100,0), +(@PATH,16,-1687.566,3168.293,11.88593,0,0,0,0,100,0), +(@PATH,17,-1686.566,3167.543,12.38593,0,0,0,0,100,0), +(@PATH,18,-1685.066,3166.293,13.13593,0,0,0,0,100,0), +(@PATH,19,-1682.816,3164.293,14.13593,0,0,0,0,100,0), +(@PATH,20,-1681.316,3162.793,14.88593,0,0,0,0,100,0), +(@PATH,21,-1680.316,3161.543,15.38593,0,0,0,0,100,0), +(@PATH,22,-1678.816,3160.293,16.13593,0,0,0,0,100,0), +(@PATH,23,-1677.316,3159.043,16.88593,0,0,0,0,100,0), +(@PATH,24,-1675.816,3157.543,17.63593,0,0,0,0,100,0), +(@PATH,25,-1674.316,3156.293,18.38593,0,0,0,0,100,0), +(@PATH,26,-1672.816,3154.793,19.13593,0,0,0,0,100,0), +(@PATH,27,-1672.427,3154.52,19.17392,0,0,0,0,100,0), +(@PATH,28,-1673.927,3156.02,18.42392,0,0,0,0,100,0), +(@PATH,29,-1675.427,3157.27,17.67392,0,0,0,0,100,0), +(@PATH,30,-1676.927,3158.77,16.92392,0,0,0,0,100,0), +(@PATH,31,-1678.427,3160.02,16.17392,0,0,0,0,100,0), +(@PATH,32,-1679.677,3161.02,15.67392,0,0,0,0,100,0), +(@PATH,33,-1680.927,3162.52,14.92392,0,0,0,0,100,0), +(@PATH,34,-1682.427,3163.77,14.17392,0,0,0,0,100,0), +(@PATH,35,-1684.677,3166.02,13.17392,0,0,0,0,100,0), +(@PATH,36,-1686.786,3167.873,12.05813,0,0,0,0,100,0), +(@PATH,37,-1689.286,3169.373,11.05813,0,0,0,0,100,0), +(@PATH,38,-1691.036,3170.623,10.55813,0,0,0,0,100,0), +(@PATH,39,-1692.786,3171.623,9.808132,0,0,0,0,100,0), +(@PATH,40,-1695.036,3172.873,9.308132,0,0,0,0,100,0), +(@PATH,41,-1696.786,3173.873,8.558132,0,0,0,0,100,0), +(@PATH,42,-1700.036,3176.123,7.558132,0,0,0,0,100,0), +(@PATH,43,-1702.885,3177.867,6.686365,0,0,0,0,100,0), +(@PATH,44,-1705.385,3181.117,5.936365,0,0,0,0,100,0), +(@PATH,45,-1707.635,3184.117,5.686365,0,0,0,0,100,0); + +-- Pathing for Entry: 12338 'TDB FORMAT' +SET @NPC := 365345; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1583.292,`position_y`=3091.566,`position_z`=46.14515 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1583.292,3091.566,46.14515,0,0,0,0,100,0), +(@PATH,2,-1587.042,3091.566,45.64515,0,0,0,0,100,0), +(@PATH,3,-1589.042,3091.566,44.89515,0,0,0,0,100,0), +(@PATH,4,-1591.042,3091.566,44.64515,0,0,0,0,100,0), +(@PATH,5,-1593.042,3091.566,43.89515,0,0,0,0,100,0), +(@PATH,6,-1593.486,3091.462,43.51843,0,0,0,0,100,0), +(@PATH,7,-1594.236,3091.212,43.26843,0,0,0,0,100,0), +(@PATH,8,-1596.236,3090.962,42.51843,0,0,0,0,100,0), +(@PATH,9,-1599.236,3090.712,41.76843,0,0,0,0,100,0), +(@PATH,10,-1601.236,3090.462,41.26843,0,0,0,0,100,0), +(@PATH,11,-1604.986,3090.212,40.76843,0,0,0,0,100,0), +(@PATH,12,-1607.736,3089.962,40.01843,0,0,0,0,100,0), +(@PATH,13,-1610.736,3089.462,39.26843,0,0,0,0,100,0), +(@PATH,14,-1613.208,3089.335,38.51244,0,0,0,0,100,0), +(@PATH,15,-1615.208,3089.335,38.01244,0,0,0,0,100,0), +(@PATH,16,-1618.208,3089.585,37.01244,0,0,0,0,100,0), +(@PATH,17,-1620.958,3089.585,36.51244,0,0,0,0,100,0), +(@PATH,18,-1622.958,3089.835,36.01244,0,0,0,0,100,0), +(@PATH,19,-1624.858,3090.132,35.33461,0,0,0,0,100,0), +(@PATH,20,-1627.358,3092.632,34.83461,0,0,0,0,100,0), +(@PATH,21,-1630.218,3095.675,34.43713,0,0,0,0,100,0), +(@PATH,22,-1629.218,3097.175,35.18713,0,0,0,0,100,0), +(@PATH,23,-1628.968,3098.175,35.68713,0,0,0,0,100,0), +(@PATH,24,-1628.856,3098.3,35.88762,0,0,0,0,100,0), +(@PATH,25,-1627.856,3100.55,36.63762,0,0,0,0,100,0), +(@PATH,26,-1626.106,3103.3,37.63762,0,0,0,0,100,0), +(@PATH,27,-1625.856,3103.8,38.13762,0,0,0,0,100,0), +(@PATH,28,-1624.856,3105.55,39.13762,0,0,0,0,100,0), +(@PATH,29,-1623.856,3107.3,39.88762,0,0,0,0,100,0), +(@PATH,30,-1622.606,3108.8,40.63762,0,0,0,0,100,0), +(@PATH,31,-1622.5,3109.157,40.78506,0,0,0,0,100,0), +(@PATH,32,-1622,3109.907,41.28506,0,0,0,0,100,0), +(@PATH,33,-1620,3111.907,42.03506,0,0,0,0,100,0), +(@PATH,34,-1618.75,3113.157,42.53506,0,0,0,0,100,0), +(@PATH,35,-1617.25,3114.657,43.28506,0,0,0,0,100,0), +(@PATH,36,-1616.713,3115.181,43.64235,0,0,0,0,100,0), +(@PATH,37,-1617.963,3113.931,42.89235,0,0,0,0,100,0), +(@PATH,38,-1619.213,3112.681,42.39235,0,0,0,0,100,0), +(@PATH,39,-1620.463,3111.431,41.89235,0,0,0,0,100,0), +(@PATH,40,-1620.957,3111.171,41.50416,0,0,0,0,100,0), +(@PATH,41,-1622.207,3109.671,41.00416,0,0,0,0,100,0), +(@PATH,42,-1623.207,3107.921,40.25416,0,0,0,0,100,0), +(@PATH,43,-1624.207,3106.171,39.00416,0,0,0,0,100,0), +(@PATH,44,-1625.207,3104.671,38.75416,0,0,0,0,100,0), +(@PATH,45,-1626.207,3103.171,37.75416,0,0,0,0,100,0), +(@PATH,46,-1627.955,3100.42,36.45135,0,0,0,0,100,0), +(@PATH,47,-1629.205,3097.92,35.20135,0,0,0,0,100,0), +(@PATH,48,-1628.988,3097.767,35.11588,0,0,0,0,100,0), +(@PATH,49,-1630.238,3095.517,34.61588,0,0,0,0,100,0), +(@PATH,50,-1626.988,3092.267,35.11588,0,0,0,0,100,0), +(@PATH,51,-1624.507,3090.186,35.65654,0,0,0,0,100,0), +(@PATH,52,-1621.507,3089.936,36.65654,0,0,0,0,100,0), +(@PATH,53,-1617.757,3089.686,37.15654,0,0,0,0,100,0), +(@PATH,54,-1615.757,3089.436,37.65654,0,0,0,0,100,0), +(@PATH,55,-1613.757,3089.186,38.40654,0,0,0,0,100,0), +(@PATH,56,-1613.68,3089.244,38.68986,0,0,0,0,100,0), +(@PATH,57,-1612.93,3089.244,38.68986,0,0,0,0,100,0), +(@PATH,58,-1609.93,3089.744,39.43986,0,0,0,0,100,0), +(@PATH,59,-1606.93,3089.994,40.18986,0,0,0,0,100,0), +(@PATH,60,-1603.43,3090.244,40.68986,0,0,0,0,100,0), +(@PATH,61,-1600.43,3090.494,41.43986,0,0,0,0,100,0), +(@PATH,62,-1598.43,3090.744,41.93986,0,0,0,0,100,0), +(@PATH,63,-1595.43,3091.244,42.93986,0,0,0,0,100,0), +(@PATH,64,-1595.042,3091.354,43.1194,0,0,0,0,100,0), +(@PATH,65,-1594.042,3091.354,43.6194,0,0,0,0,100,0), +(@PATH,66,-1592.042,3091.354,44.1194,0,0,0,0,100,0), +(@PATH,67,-1590.042,3091.354,44.6194,0,0,0,0,100,0), +(@PATH,68,-1588.042,3091.604,45.3694,0,0,0,0,100,0), +(@PATH,69,-1585.292,3091.604,45.8694,0,0,0,0,100,0), +(@PATH,70,-1581.292,3091.604,46.6194,0,0,0,0,100,0); + +-- Pathing for Entry: 12338 'TDB FORMAT' +SET @NPC := 365358; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1751.925,`position_y`=3081.291,`position_z`=28.4105 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1751.925,3081.291,28.4105,0,0,0,0,100,0), +(@PATH,2,-1750.175,3082.041,29.4105,0,0,0,0,100,0), +(@PATH,3,-1749.675,3082.291,29.6605,0,0,0,0,100,0), +(@PATH,4,-1747.925,3083.291,29.9105,0,0,0,0,100,0), +(@PATH,5,-1746.425,3083.791,30.6605,0,0,0,0,100,0), +(@PATH,6,-1744.675,3084.791,31.1605,0,0,0,0,100,0), +(@PATH,7,-1742.925,3085.541,31.9105,0,0,0,0,100,0), +(@PATH,8,-1744.387,3084.886,31.53734,0,0,0,0,100,0), +(@PATH,9,-1742.637,3085.886,32.03734,0,0,0,0,100,0), +(@PATH,10,-1742.387,3086.136,32.28734,0,0,0,0,100,0), +(@PATH,11,-1740.637,3087.386,33.03734,0,0,0,0,100,0), +(@PATH,12,-1738.387,3089.136,33.53734,0,0,0,0,100,0), +(@PATH,13,-1736.387,3090.886,34.28734,0,0,0,0,100,0), +(@PATH,14,-1733.137,3093.386,35.03734,0,0,0,0,100,0), +(@PATH,15,-1733.039,3093.689,35.10337,0,0,0,0,100,0), +(@PATH,16,-1729.789,3095.939,35.35337,0,0,0,0,100,0), +(@PATH,17,-1721.289,3098.189,34.60337,0,0,0,0,100,0), +(@PATH,18,-1714.789,3100.189,34.10337,0,0,0,0,100,0), +(@PATH,19,-1715.854,3099.793,34.28808,0,0,0,0,100,0), +(@PATH,20,-1722.354,3098.293,34.78808,0,0,0,0,100,0), +(@PATH,21,-1730.022,3095.809,35.42837,0,0,0,0,100,0), +(@PATH,22,-1734.022,3092.559,34.67837,0,0,0,0,100,0), +(@PATH,23,-1736.772,3090.309,34.17837,0,0,0,0,100,0), +(@PATH,24,-1739.272,3088.559,33.42837,0,0,0,0,100,0), +(@PATH,25,-1741.522,3086.559,32.42837,0,0,0,0,100,0), +(@PATH,26,-1741.802,3086.486,32.31096,0,0,0,0,100,0), +(@PATH,27,-1742.552,3085.736,32.06096,0,0,0,0,100,0), +(@PATH,28,-1745.802,3084.236,30.81096,0,0,0,0,100,0), +(@PATH,29,-1748.552,3082.986,30.06096,0,0,0,0,100,0), +(@PATH,30,-1750.027,3082.113,29.41502,0,0,0,0,100,0), +(@PATH,31,-1751.777,3081.113,28.41502,0,0,0,0,100,0), +(@PATH,32,-1753.777,3080.363,27.91502,0,0,0,0,100,0), +(@PATH,33,-1755.277,3079.863,27.16502,0,0,0,0,100,0), +(@PATH,34,-1757.027,3079.113,26.41502,0,0,0,0,100,0), +(@PATH,35,-1759.777,3077.863,25.66502,0,0,0,0,100,0), +(@PATH,36,-1760.093,3077.52,25.28302,0,0,0,0,100,0), +(@PATH,37,-1761.343,3077.02,24.78302,0,0,0,0,100,0), +(@PATH,38,-1763.093,3075.77,24.03302,0,0,0,0,100,0), +(@PATH,39,-1764.843,3074.77,23.03302,0,0,0,0,100,0), +(@PATH,40,-1766.843,3073.27,22.28302,0,0,0,0,100,0), +(@PATH,41,-1768.593,3072.02,21.28302,0,0,0,0,100,0), +(@PATH,42,-1768.928,3071.894,21.2338,0,0,0,0,100,0), +(@PATH,43,-1770.678,3070.394,20.7338,0,0,0,0,100,0), +(@PATH,44,-1772.428,3069.144,19.9838,0,0,0,0,100,0), +(@PATH,45,-1774.678,3067.144,18.7338,0,0,0,0,100,0), +(@PATH,46,-1775.178,3066.394,17.9838,0,0,0,0,100,0), +(@PATH,47,-1776.678,3065.394,17.4838,0,0,0,0,100,0), +(@PATH,48,-1777.428,3064.644,16.9838,0,0,0,0,100,0), +(@PATH,49,-1778.178,3064.144,16.2338,0,0,0,0,100,0), +(@PATH,50,-1779.678,3062.894,15.7338,0,0,0,0,100,0), +(@PATH,51,-1780.428,3062.144,14.9838,0,0,0,0,100,0), +(@PATH,52,-1781.178,3061.394,14.2338,0,0,0,0,100,0), +(@PATH,53,-1779.956,3062.546,15.50909,0,0,0,0,100,0), +(@PATH,54,-1780.706,3061.796,14.75909,0,0,0,0,100,0), +(@PATH,55,-1781.456,3061.296,14.00909,0,0,0,0,100,0), +(@PATH,56,-1781.956,3060.546,14.00909,0,0,0,0,100,0), +(@PATH,57,-1782.706,3060.046,13.25909,0,0,0,0,100,0), +(@PATH,58,-1783.456,3059.296,12.50909,0,0,0,0,100,0), +(@PATH,59,-1785.706,3057.296,11.75909,0,0,0,0,100,0), +(@PATH,60,-1786.956,3056.296,11.00909,0,0,0,0,100,0), +(@PATH,61,-1788.456,3054.796,10.00909,0,0,0,0,100,0), +(@PATH,62,-1789.956,3053.546,9.25909,0,0,0,0,100,0), +(@PATH,63,-1792.206,3051.546,8.75909,0,0,0,0,100,0), +(@PATH,64,-1791.385,3052.293,9.08839,0,0,0,0,100,0), +(@PATH,65,-1789.135,3054.293,9.83839,0,0,0,0,100,0), +(@PATH,66,-1787.885,3055.293,10.83839,0,0,0,0,100,0), +(@PATH,67,-1786.385,3056.543,11.58839,0,0,0,0,100,0), +(@PATH,68,-1784.885,3058.043,12.08839,0,0,0,0,100,0), +(@PATH,69,-1782.635,3060.043,13.33839,0,0,0,0,100,0), +(@PATH,70,-1782.393,3060.379,13.70971,0,0,0,0,100,0), +(@PATH,71,-1781.643,3060.879,14.20971,0,0,0,0,100,0), +(@PATH,72,-1780.143,3062.129,14.95971,0,0,0,0,100,0), +(@PATH,73,-1779.393,3062.879,15.70971,0,0,0,0,100,0), +(@PATH,74,-1777.893,3064.129,16.45971,0,0,0,0,100,0), +(@PATH,75,-1777.393,3064.629,16.95971,0,0,0,0,100,0), +(@PATH,76,-1775.893,3065.879,18.20971,0,0,0,0,100,0), +(@PATH,77,-1774.393,3067.129,18.70971,0,0,0,0,100,0), +(@PATH,78,-1773.643,3067.879,19.45971,0,0,0,0,100,0), +(@PATH,79,-1771.393,3069.879,20.45971,0,0,0,0,100,0), +(@PATH,80,-1771.153,3070.119,20.5766,0,0,0,0,100,0), +(@PATH,81,-1770.653,3070.619,20.8266,0,0,0,0,100,0), +(@PATH,82,-1768.153,3072.369,21.8266,0,0,0,0,100,0), +(@PATH,83,-1765.903,3073.869,22.5766,0,0,0,0,100,0), +(@PATH,84,-1764.153,3075.119,23.5766,0,0,0,0,100,0), +(@PATH,85,-1762.653,3076.119,24.0766,0,0,0,0,100,0); + +-- Pathing for Entry: 12338 'TDB FORMAT' +SET @NPC := 365337; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1661.108,`position_y`=3110.085,`position_z`=30.61733 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1661.108,3110.085,30.61733,0,0,0,0,100,0), +(@PATH,2,-1661.976,3095.218,30.82973,0,0,0,0,100,0), +(@PATH,3,-1666.8,3085.833,30.84991,0,0,0,0,100,0), +(@PATH,4,-1658.018,3096.225,30.69571,0,0,0,0,100,0), +(@PATH,5,-1646.785,3085.506,31.04406,0,0,0,0,100,0), +(@PATH,6,-1638.535,3080.506,31.54406,0,0,0,0,100,0), +(@PATH,7,-1647.041,3085.459,30.78464,0,0,0,0,100,0), +(@PATH,8,-1647.032,3085.798,31.0291,0,0,0,0,100,0), +(@PATH,9,-1658.148,3096.197,30.8661,0,0,0,0,100,0), +(@PATH,10,-1667.02,3085.823,30.85066,0,0,0,0,100,0), +(@PATH,11,-1662.087,3095.37,30.76176,0,0,0,0,100,0), +(@PATH,12,-1661.071,3110.376,30.64525,0,0,0,0,100,0), +(@PATH,13,-1661.321,3115.126,29.89525,0,0,0,0,100,0), +(@PATH,14,-1661.571,3118.126,29.39525,0,0,0,0,100,0), +(@PATH,15,-1661.442,3118.423,29.36736,0,0,0,0,100,0), +(@PATH,16,-1661.692,3121.673,28.86736,0,0,0,0,100,0), +(@PATH,17,-1661.442,3125.673,28.36736,0,0,0,0,100,0), +(@PATH,18,-1661.442,3128.423,27.61736,0,0,0,0,100,0), +(@PATH,19,-1661.442,3131.423,27.11736,0,0,0,0,100,0), +(@PATH,20,-1661.442,3134.423,26.36736,0,0,0,0,100,0), +(@PATH,21,-1661.442,3137.423,25.61736,0,0,0,0,100,0), +(@PATH,22,-1661.095,3137.779,25.32652,0,0,0,0,100,0), +(@PATH,23,-1661.095,3138.279,25.32652,0,0,0,0,100,0), +(@PATH,24,-1659.595,3142.029,24.57652,0,0,0,0,100,0), +(@PATH,25,-1657.845,3147.529,24.07652,0,0,0,0,100,0), +(@PATH,26,-1655.504,3153.777,23.8724,0,0,0,0,100,0), +(@PATH,27,-1651.004,3167.777,24.1224,0,0,0,0,100,0), +(@PATH,28,-1655.082,3155.413,23.79274,0,0,0,0,100,0), +(@PATH,29,-1655.363,3155.098,23.79085,0,0,0,0,100,0), +(@PATH,30,-1655.863,3153.598,24.04085,0,0,0,0,100,0), +(@PATH,31,-1658.863,3144.348,24.29085,0,0,0,0,100,0), +(@PATH,32,-1660.613,3139.598,25.04085,0,0,0,0,100,0), +(@PATH,33,-1660.901,3139.512,25.26411,0,0,0,0,100,0), +(@PATH,34,-1661.151,3138.012,25.51411,0,0,0,0,100,0), +(@PATH,35,-1661.151,3135.012,26.26411,0,0,0,0,100,0), +(@PATH,36,-1661.151,3133.012,26.76411,0,0,0,0,100,0), +(@PATH,37,-1661.401,3130.262,27.26411,0,0,0,0,100,0), +(@PATH,38,-1661.401,3126.262,28.01411,0,0,0,0,100,0), +(@PATH,39,-1661.651,3123.262,28.51411,0,0,0,0,100,0), +(@PATH,40,-1661.62,3123.229,28.90119,0,0,0,0,100,0), +(@PATH,41,-1661.62,3121.479,29.15119,0,0,0,0,100,0), +(@PATH,42,-1661.37,3117.729,29.40119,0,0,0,0,100,0), +(@PATH,43,-1661.37,3114.729,30.15119,0,0,0,0,100,0), +(@PATH,44,-1661.144,3110.1,30.56346,0,0,0,0,100,0); + +-- 5yards rndmmovement +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (4642,4679,4653,4076); + +-- 10 yards rndmmovement +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `id` IN (11559,11561,35591,4681,4651,4648,4646,11578,11562, 11563); + +-- 15 yards rndmmovement +UPDATE `creature` SET `spawndist`=15, `MovementType`=1 WHERE `id` IN (4697,4692,35452,4727,4726,36353); + +-- corrections +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (365813); + + +-- Pathing for Entry: 35454 'TDB FORMAT' +SET @NPC := 366166; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1717.77,`position_y`=828.1187,`position_z`=95.97268 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1717.77,828.1187,95.97268,0,0,0,0,100,0), +(@PATH,2,-1721.52,826.8687,96.72268,0,0,0,0,100,0), +(@PATH,3,-1725.02,825.6187,97.22268,0,0,0,0,100,0), +(@PATH,4,-1729.77,823.8687,97.97268,0,0,0,0,100,0), +(@PATH,5,-1729.919,823.6574,98.23946,0,0,0,0,100,0), +(@PATH,6,-1733.669,822.4074,98.73946,0,0,0,0,100,0), +(@PATH,7,-1738.669,821.9074,99.48946,0,0,0,0,100,0), +(@PATH,8,-1743.419,820.9074,99.98946,0,0,0,0,100,0), +(@PATH,9,-1747.419,820.4074,100.7395,0,0,0,0,100,0), +(@PATH,10,-1750.419,819.9074,101.4895,0,0,0,0,100,0), +(@PATH,11,-1750.684,819.75,101.7485,0,0,0,0,100,0), +(@PATH,12,-1755.684,818.75,101.9985,0,0,0,0,100,0), +(@PATH,13,-1762.184,814.75,102.4985,0,0,0,0,100,0), +(@PATH,14,-1767.184,811.5,102.9985,0,0,0,0,100,0), +(@PATH,15,-1762.543,814.3515,102.4486,0,0,0,0,100,0), +(@PATH,16,-1767.543,811.3515,102.9486,0,0,0,0,100,0), +(@PATH,17,-1768.043,810.8515,102.9486,0,0,0,0,100,0), +(@PATH,18,-1787.793,809.8013,103.0986,0,0,0,0,100,0), +(@PATH,19,-1800.543,810.8013,103.5986,0,0,0,0,100,0), +(@PATH,20,-1800.919,810.7899,103.5851,0,0,0,0,100,0), +(@PATH,21,-1801.669,810.7899,103.5851,0,0,0,0,100,0), +(@PATH,22,-1822.698,809.4684,103.0759,0,0,0,0,100,0), +(@PATH,23,-1832.368,812.6564,103.2159,0,0,0,0,100,0), +(@PATH,24,-1834.118,814.9064,103.7159,0,0,0,0,100,0), +(@PATH,25,-1843.069,823.9784,103.5798,0,0,0,0,100,0), +(@PATH,26,-1837.819,826.4784,102.8298,0,0,0,0,100,0), +(@PATH,27,-1832.442,829.2767,102.5982,0,0,0,0,100,0), +(@PATH,28,-1823.288,824.4439,102.6711,0,0,0,0,100,0), +(@PATH,29,-1822.683,817.4799,103.2161,0,0,0,0,100,0), +(@PATH,30,-1823.387,804.2949,103.802,0,0,0,0,100,0), +(@PATH,31,-1823.887,799.7949,104.052,0,0,0,0,100,0), +(@PATH,32,-1824.387,796.7949,104.552,0,0,0,0,100,0), +(@PATH,33,-1824.681,796.364,104.9021,0,0,0,0,100,0), +(@PATH,34,-1824.681,795.114,105.4021,0,0,0,0,100,0), +(@PATH,35,-1825.181,793.114,105.9021,0,0,0,0,100,0), +(@PATH,36,-1825.431,791.364,106.1521,0,0,0,0,100,0), +(@PATH,37,-1825.681,789.364,106.9021,0,0,0,0,100,0), +(@PATH,38,-1825.931,787.364,107.6521,0,0,0,0,100,0), +(@PATH,39,-1825.972,787.7935,107.4165,0,0,0,0,100,0), +(@PATH,40,-1825.722,790.5435,106.4165,0,0,0,0,100,0), +(@PATH,41,-1825.222,792.5435,106.1665,0,0,0,0,100,0), +(@PATH,42,-1824.972,794.2935,105.4165,0,0,0,0,100,0), +(@PATH,43,-1824.543,794.539,105.2654,0,0,0,0,100,0), +(@PATH,44,-1824.543,795.289,105.0154,0,0,0,0,100,0), +(@PATH,45,-1824.293,798.289,104.2654,0,0,0,0,100,0), +(@PATH,46,-1823.793,801.039,103.7654,0,0,0,0,100,0), +(@PATH,47,-1823.485,801.2108,103.4503,0,0,0,0,100,0), +(@PATH,48,-1823.235,804.7108,103.4503,0,0,0,0,100,0), +(@PATH,49,-1822.632,817.5953,103.0853,0,0,0,0,100,0), +(@PATH,50,-1822.693,817.9667,103.1062,0,0,0,0,100,0), +(@PATH,51,-1823.193,824.4667,102.6062,0,0,0,0,100,0), +(@PATH,52,-1832.79,829.0956,102.6723,0,0,0,0,100,0), +(@PATH,53,-1838.54,826.0956,103.1723,0,0,0,0,100,0), +(@PATH,54,-1838.684,825.972,103.09,0,0,0,0,100,0), +(@PATH,55,-1842.934,823.722,103.59,0,0,0,0,100,0), +(@PATH,56,-1832.224,812.6576,103.0611,0,0,0,0,100,0), +(@PATH,57,-1822.357,809.5125,103.2081,0,0,0,0,100,0), +(@PATH,58,-1801.319,810.7123,103.5373,0,0,0,0,100,0), +(@PATH,59,-1793.569,809.9623,103.0373,0,0,0,0,100,0), +(@PATH,60,-1793.406,810.212,103.1846,0,0,0,0,100,0), +(@PATH,61,-1787.656,809.962,102.9346,0,0,0,0,100,0), +(@PATH,62,-1767.873,810.934,103.0012,0,0,0,0,100,0), +(@PATH,63,-1762.373,814.684,102.5012,0,0,0,0,100,0), +(@PATH,64,-1758.873,816.684,102.0012,0,0,0,0,100,0), +(@PATH,65,-1758.696,817.1331,101.7042,0,0,0,0,100,0), +(@PATH,66,-1755.446,818.8831,101.9542,0,0,0,0,100,0), +(@PATH,67,-1748.696,819.8831,100.9542,0,0,0,0,100,0), +(@PATH,68,-1744.946,820.6331,100.4542,0,0,0,0,100,0), +(@PATH,69,-1742.946,820.8831,99.95416,0,0,0,0,100,0), +(@PATH,70,-1738.946,821.6331,99.45416,0,0,0,0,100,0), +(@PATH,71,-1733.718,822.65,98.50278,0,0,0,0,100,0), +(@PATH,72,-1728.968,824.15,97.75278,0,0,0,0,100,0), +(@PATH,73,-1725.468,825.4,97.25278,0,0,0,0,100,0), +(@PATH,74,-1721.718,826.65,96.75278,0,0,0,0,100,0), +(@PATH,75,-1717.968,828.15,96.25278,0,0,0,0,100,0), +(@PATH,76,-1717.809,828.219,95.85377,0,0,0,0,100,0), +(@PATH,77,-1717.559,828.469,95.85377,0,0,0,0,100,0), +(@PATH,78,-1679.206,831.7786,95.53547,0,0,0,0,100,0), +(@PATH,79,-1669.956,834.7786,95.03547,0,0,0,0,100,0); + +-- Pathing for Entry: 35453 'TDB FORMAT' +SET @NPC := 366154; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1685.755,`position_y`=958.3438,`position_z`=91.22823 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1685.755,958.3438,91.22823,0,0,0,0,100,0), +(@PATH,2,-1682.755,958.0938,91.22823,0,0,0,0,100,0), +(@PATH,3,-1679.755,959.8438,91.72823,0,0,0,0,100,0), +(@PATH,4,-1676.255,961.8438,91.97823,0,0,0,0,100,0), +(@PATH,5,-1673.005,963.8438,92.47823,0,0,0,0,100,0), +(@PATH,6,-1672.756,963.972,92.51558,0,0,0,0,100,0), +(@PATH,7,-1671.506,964.722,92.76558,0,0,0,0,100,0), +(@PATH,8,-1669.256,965.222,93.26558,0,0,0,0,100,0), +(@PATH,9,-1667.756,965.722,93.51558,0,0,0,0,100,0), +(@PATH,10,-1666.256,965.722,93.51558,0,0,0,0,100,0), +(@PATH,11,-1664.506,966.222,93.26558,0,0,0,0,100,0), +(@PATH,12,-1663.006,966.472,93.26558,0,0,0,0,100,0), +(@PATH,13,-1657.018,968.2042,91.81379,0,0,0,0,100,0), +(@PATH,14,-1654.768,968.9542,91.31379,0,0,0,0,100,0), +(@PATH,15,-1650.268,970.7042,91.31379,0,0,0,0,100,0), +(@PATH,16,-1648.018,971.4542,91.31379,0,0,0,0,100,0), +(@PATH,17,-1640.672,973.9467,90.88916,0,0,0,0,100,0), +(@PATH,18,-1641.422,973.6967,90.88916,0,0,0,0,100,0), +(@PATH,19,-1647.672,970.9467,91.13916,0,0,0,0,100,0), +(@PATH,20,-1649.422,970.4467,91.13916,0,0,0,0,100,0), +(@PATH,21,-1653.974,968.3392,91.38129,0,0,0,0,100,0), +(@PATH,22,-1662.474,967.0892,93.13129,0,0,0,0,100,0), +(@PATH,23,-1663.974,966.8392,93.38129,0,0,0,0,100,0), +(@PATH,24,-1664.974,966.5892,93.38129,0,0,0,0,100,0), +(@PATH,25,-1666.224,966.3392,93.63129,0,0,0,0,100,0), +(@PATH,26,-1666.485,966.1494,93.59544,0,0,0,0,100,0), +(@PATH,27,-1667.985,965.8994,93.34544,0,0,0,0,100,0), +(@PATH,28,-1668.985,965.3994,93.34544,0,0,0,0,100,0), +(@PATH,29,-1672.735,963.3994,92.59544,0,0,0,0,100,0), +(@PATH,30,-1675.985,962.1494,92.09544,0,0,0,0,100,0), +(@PATH,31,-1679.607,960.371,91.54591,0,0,0,0,100,0), +(@PATH,32,-1683.107,958.371,91.04591,0,0,0,0,100,0), +(@PATH,33,-1686.857,956.371,91.04591,0,0,0,0,100,0), +(@PATH,34,-1689.857,954.871,90.79591,0,0,0,0,100,0), +(@PATH,35,-1691.357,954.871,90.79591,0,0,0,0,100,0), +(@PATH,36,-1693.349,952.7164,90.39355,0,0,0,0,100,0), +(@PATH,37,-1707.83,946.6729,90.83061,0,0,0,0,100,0), +(@PATH,38,-1723.33,938.6729,91.33061,0,0,0,0,100,0), +(@PATH,39,-1726.957,936.9724,91.74707,0,0,0,0,100,0), +(@PATH,40,-1736.207,939.7224,91.99707,0,0,0,0,100,0), +(@PATH,41,-1743.234,941.5006,92.40939,0,0,0,0,100,0), +(@PATH,42,-1755.464,951.8286,92.2942,0,0,0,0,100,0), +(@PATH,43,-1766.691,965.0432,92.76991,0,0,0,0,100,0), +(@PATH,44,-1768.191,966.7932,92.76991,0,0,0,0,100,0), +(@PATH,45,-1769.191,968.5432,93.01991,0,0,0,0,100,0), +(@PATH,46,-1771.441,970.5432,93.01991,0,0,0,0,100,0), +(@PATH,47,-1774.191,972.7932,93.01991,0,0,0,0,100,0), +(@PATH,48,-1774.445,973.1813,93.23543,0,0,0,0,100,0), +(@PATH,49,-1775.945,974.4313,93.48543,0,0,0,0,100,0), +(@PATH,50,-1777.695,976.6813,93.98543,0,0,0,0,100,0), +(@PATH,51,-1779.445,978.9313,94.23543,0,0,0,0,100,0), +(@PATH,52,-1781.195,981.4313,94.73543,0,0,0,0,100,0), +(@PATH,53,-1783.445,984.6813,95.48543,0,0,0,0,100,0), +(@PATH,54,-1783.905,985.0011,95.63278,0,0,0,0,100,0), +(@PATH,55,-1785.405,987.0011,95.88278,0,0,0,0,100,0), +(@PATH,56,-1787.155,989.2511,95.63278,0,0,0,0,100,0), +(@PATH,57,-1787.905,990.2511,95.38278,0,0,0,0,100,0), +(@PATH,58,-1792.405,996.5011,93.88278,0,0,0,0,100,0), +(@PATH,59,-1795.155,1000.251,93.88278,0,0,0,0,100,0), +(@PATH,60,-1797.155,1002.751,93.63278,0,0,0,0,100,0), +(@PATH,61,-1796.944,1002.638,93.29259,0,0,0,0,100,0), +(@PATH,62,-1797.687,1003.366,93.54076,0,0,0,0,100,0), +(@PATH,63,-1795.187,1000.616,93.79076,0,0,0,0,100,0), +(@PATH,64,-1792.187,997.116,93.79076,0,0,0,0,100,0), +(@PATH,65,-1788.803,993.5522,94.77589,0,0,0,0,100,0), +(@PATH,66,-1787.053,991.0522,95.27589,0,0,0,0,100,0), +(@PATH,67,-1786.303,990.0522,95.52589,0,0,0,0,100,0), +(@PATH,68,-1784.553,987.8022,95.77589,0,0,0,0,100,0), +(@PATH,69,-1785.973,989.6682,95.49445,0,0,0,0,100,0), +(@PATH,70,-1784.223,987.6682,95.74445,0,0,0,0,100,0), +(@PATH,71,-1783.973,987.1682,95.74445,0,0,0,0,100,0), +(@PATH,72,-1783.473,986.1682,95.49445,0,0,0,0,100,0), +(@PATH,73,-1782.723,985.4182,95.49445,0,0,0,0,100,0), +(@PATH,74,-1780.223,981.4182,94.49445,0,0,0,0,100,0), +(@PATH,75,-1778.723,979.4182,94.24445,0,0,0,0,100,0), +(@PATH,76,-1778.51,979.371,94.00563,0,0,0,0,100,0), +(@PATH,77,-1778.01,978.621,94.00563,0,0,0,0,100,0), +(@PATH,78,-1776.01,976.121,93.75563,0,0,0,0,100,0), +(@PATH,79,-1773.76,973.621,93.25563,0,0,0,0,100,0), +(@PATH,80,-1771.51,970.871,93.25563,0,0,0,0,100,0), +(@PATH,81,-1771.215,970.4237,93.06009,0,0,0,0,100,0), +(@PATH,82,-1769.965,969.1737,93.06009,0,0,0,0,100,0), +(@PATH,83,-1768.965,967.1737,92.81009,0,0,0,0,100,0), +(@PATH,84,-1766.465,964.9237,92.81009,0,0,0,0,100,0), +(@PATH,85,-1759.597,962.4075,93.00598,0,0,0,0,100,0), +(@PATH,86,-1749.097,959.9075,92.50598,0,0,0,0,100,0), +(@PATH,87,-1752.485,960.5999,92.58255,0,0,0,0,100,0), +(@PATH,88,-1759.803,962.666,93.01682,0,0,0,0,100,0), +(@PATH,89,-1766.303,964.916,92.76682,0,0,0,0,100,0), +(@PATH,90,-1768.053,966.666,92.76682,0,0,0,0,100,0), +(@PATH,91,-1768.803,968.166,93.01682,0,0,0,0,100,0), +(@PATH,92,-1768.283,967.0358,92.88622,0,0,0,0,100,0), +(@PATH,93,-1769.033,968.5358,93.13622,0,0,0,0,100,0), +(@PATH,94,-1770.283,969.2858,93.13622,0,0,0,0,100,0), +(@PATH,95,-1771.533,970.7858,93.13622,0,0,0,0,100,0), +(@PATH,96,-1773.533,973.2858,93.13622,0,0,0,0,100,0), +(@PATH,97,-1776.033,976.0358,93.63622,0,0,0,0,100,0), +(@PATH,98,-1776.112,976.424,93.93117,0,0,0,0,100,0), +(@PATH,99,-1778.362,978.674,94.18117,0,0,0,0,100,0), +(@PATH,100,-1779.862,981.174,94.43117,0,0,0,0,100,0), +(@PATH,101,-1782.862,985.424,95.68117,0,0,0,0,100,0), +(@PATH,102,-1783.362,986.174,95.68117,0,0,0,0,100,0), +(@PATH,103,-1783.062,985.6094,95.58201,0,0,0,0,100,0), +(@PATH,104,-1783.562,986.6094,95.58201,0,0,0,0,100,0), +(@PATH,105,-1784.312,987.3594,95.83201,0,0,0,0,100,0), +(@PATH,106,-1785.812,989.3594,95.58201,0,0,0,0,100,0), +(@PATH,107,-1786.812,990.8594,95.33201,0,0,0,0,100,0), +(@PATH,108,-1788.922,993.8083,94.52483,0,0,0,0,100,0), +(@PATH,109,-1792.422,997.0583,94.02483,0,0,0,0,100,0), +(@PATH,110,-1795.172,999.5583,93.77483,0,0,0,0,100,0), +(@PATH,111,-1797.672,1002.058,93.52483,0,0,0,0,100,0), +(@PATH,112,-1797.596,1002.214,93.51416,0,0,0,0,100,0), +(@PATH,113,-1798.096,1002.714,93.51416,0,0,0,0,100,0), +(@PATH,114,-1795.096,998.9639,94.01416,0,0,0,0,100,0), +(@PATH,115,-1792.846,996.2139,94.01416,0,0,0,0,100,0), +(@PATH,116,-1788.096,990.4639,95.26416,0,0,0,0,100,0), +(@PATH,117,-1787.096,989.2139,95.51416,0,0,0,0,100,0), +(@PATH,118,-1786.096,987.7139,95.76416,0,0,0,0,100,0), +(@PATH,119,-1785.795,987.5497,95.80296,0,0,0,0,100,0), +(@PATH,120,-1785.295,986.7997,95.80296,0,0,0,0,100,0), +(@PATH,121,-1784.045,985.5497,95.55296,0,0,0,0,100,0), +(@PATH,122,-1781.295,981.5497,94.55296,0,0,0,0,100,0), +(@PATH,123,-1779.295,979.0497,94.30296,0,0,0,0,100,0), +(@PATH,124,-1777.545,976.5497,94.05296,0,0,0,0,100,0), +(@PATH,125,-1777.354,976.2581,93.83217,0,0,0,0,100,0), +(@PATH,126,-1775.854,974.2581,93.33217,0,0,0,0,100,0), +(@PATH,127,-1774.354,972.7581,93.08217,0,0,0,0,100,0), +(@PATH,128,-1772.354,970.7581,93.08217,0,0,0,0,100,0), +(@PATH,129,-1769.354,967.5081,92.83217,0,0,0,0,100,0), +(@PATH,130,-1766.498,964.51,92.80263,0,0,0,0,100,0), +(@PATH,131,-1755.374,951.6609,92.26952,0,0,0,0,100,0), +(@PATH,132,-1742.919,941.2614,92.55463,0,0,0,0,100,0), +(@PATH,133,-1735.669,939.5114,91.80463,0,0,0,0,100,0), +(@PATH,134,-1726.707,936.8945,91.4221,0,0,0,0,100,0), +(@PATH,135,-1718.957,941.1445,90.9221,0,0,0,0,100,0), +(@PATH,136,-1707.456,947.0006,90.6128,0,0,0,0,100,0), +(@PATH,137,-1693.004,952.9098,90.62373,0,0,0,0,100,0), +(@PATH,138,-1691.504,953.4098,90.62373,0,0,0,0,100,0), +(@PATH,139,-1688.754,954.4098,91.12373,0,0,0,0,100,0), +(@PATH,140,-1687.504,955.1598,91.12373,0,0,0,0,100,0), +(@PATH,141,-1683.004,958.1598,91.12373,0,0,0,0,100,0); + +-- Pathing for Entry: 35454 'TDB FORMAT' +SET @NPC := 366131; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1855.823,`position_y`=1122.808,`position_z`=91.93633 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1855.823,1122.808,91.93633,0,0,0,0,100,0), +(@PATH,2,-1855.073,1129.808,91.18633,0,0,0,0,100,0), +(@PATH,3,-1852.823,1146.308,92.18633,0,0,0,0,100,0), +(@PATH,4,-1852.573,1147.308,93.18633,0,0,0,0,100,0), +(@PATH,5,-1852.573,1148.308,93.93633,0,0,0,0,100,0), +(@PATH,6,-1852.323,1150.308,94.68633,0,0,0,0,100,0), +(@PATH,7,-1852.073,1152.308,93.68633,0,0,0,0,100,0), +(@PATH,8,-1851.823,1153.308,92.68633,0,0,0,0,100,0), +(@PATH,9,-1851.675,1152.303,93.59365,0,0,0,0,100,0), +(@PATH,10,-1851.675,1153.303,92.59365,0,0,0,0,100,0), +(@PATH,11,-1851.425,1154.053,92.59365,0,0,0,0,100,0), +(@PATH,12,-1849.425,1154.053,91.34365,0,0,0,0,100,0), +(@PATH,13,-1820.766,1154.045,91.15888,0,0,0,0,100,0), +(@PATH,14,-1816.266,1151.545,91.65888,0,0,0,0,100,0), +(@PATH,15,-1808.516,1147.795,92.40888,0,0,0,0,100,0), +(@PATH,16,-1808.295,1147.478,92.49992,0,0,0,0,100,0), +(@PATH,17,-1802.795,1144.728,92.49992,0,0,0,0,100,0), +(@PATH,18,-1800.045,1140.728,92.99992,0,0,0,0,100,0), +(@PATH,19,-1797.545,1137.728,93.99992,0,0,0,0,100,0), +(@PATH,20,-1796.545,1135.978,94.74992,0,0,0,0,100,0), +(@PATH,21,-1795.795,1135.228,95.24992,0,0,0,0,100,0), +(@PATH,22,-1795.295,1134.478,95.99992,0,0,0,0,100,0), +(@PATH,23,-1793.545,1131.978,96.74992,0,0,0,0,100,0), +(@PATH,24,-1792.295,1130.478,97.99992,0,0,0,0,100,0), +(@PATH,25,-1793.615,1131.728,96.79276,0,0,0,0,100,0), +(@PATH,26,-1792.365,1130.228,98.04276,0,0,0,0,100,0), +(@PATH,27,-1791.615,1129.228,98.54276,0,0,0,0,100,0), +(@PATH,28,-1792.615,1124.228,97.54276,0,0,0,0,100,0), +(@PATH,29,-1794.115,1117.478,97.54276,0,0,0,0,100,0), +(@PATH,30,-1794.615,1114.728,96.79276,0,0,0,0,100,0), +(@PATH,31,-1795.365,1111.728,96.79276,0,0,0,0,100,0), +(@PATH,32,-1795.615,1109.978,95.29276,0,0,0,0,100,0), +(@PATH,33,-1795.865,1107.978,94.29276,0,0,0,0,100,0), +(@PATH,34,-1796.365,1105.978,94.04276,0,0,0,0,100,0), +(@PATH,35,-1796.615,1103.978,93.29276,0,0,0,0,100,0), +(@PATH,36,-1796.74,1103.809,92.91357,0,0,0,0,100,0), +(@PATH,37,-1797.24,1101.309,92.41357,0,0,0,0,100,0), +(@PATH,38,-1795.99,1094.559,92.16357,0,0,0,0,100,0), +(@PATH,39,-1795.018,1088.453,91.33099,0,0,0,0,100,0), +(@PATH,40,-1785.518,1086.953,90.83099,0,0,0,0,100,0), +(@PATH,41,-1785.217,1086.839,90.88657,0,0,0,0,100,0), +(@PATH,42,-1782.217,1086.339,90.63657,0,0,0,0,100,0), +(@PATH,43,-1769.467,1081.339,91.38657,0,0,0,0,100,0), +(@PATH,44,-1767.717,1080.589,91.88657,0,0,0,0,100,0), +(@PATH,45,-1764.967,1079.339,92.88657,0,0,0,0,100,0), +(@PATH,46,-1762.967,1078.589,93.63657,0,0,0,0,100,0), +(@PATH,47,-1764.744,1079.181,92.68932,0,0,0,0,100,0), +(@PATH,48,-1762.744,1078.431,93.68932,0,0,0,0,100,0), +(@PATH,49,-1759.494,1076.931,93.68932,0,0,0,0,100,0), +(@PATH,50,-1758.744,1075.181,94.43932,0,0,0,0,100,0), +(@PATH,51,-1755.994,1071.181,93.93932,0,0,0,0,100,0), +(@PATH,52,-1753.994,1067.681,92.93932,0,0,0,0,100,0), +(@PATH,53,-1755.759,1071.032,94.01755,0,0,0,0,100,0), +(@PATH,54,-1753.759,1067.532,93.01755,0,0,0,0,100,0), +(@PATH,55,-1753.009,1066.532,92.76755,0,0,0,0,100,0), +(@PATH,56,-1749.509,1059.282,92.26755,0,0,0,0,100,0), +(@PATH,57,-1747.259,1054.032,91.76755,0,0,0,0,100,0), +(@PATH,58,-1744.509,1048.532,91.26755,0,0,0,0,100,0), +(@PATH,59,-1741.792,1042.828,90.72541,0,0,0,0,100,0), +(@PATH,60,-1727.292,1032.578,90.22541,0,0,0,0,100,0), +(@PATH,61,-1727.147,1032.133,90.02771,0,0,0,0,100,0), +(@PATH,62,-1724.897,1030.883,90.02771,0,0,0,0,100,0), +(@PATH,63,-1708.453,1028.261,89.81333,0,0,0,0,100,0), +(@PATH,64,-1727.953,1031.511,90.31333,0,0,0,0,100,0), +(@PATH,65,-1728.269,1031.722,90.27583,0,0,0,0,100,0), +(@PATH,66,-1729.269,1031.972,90.27583,0,0,0,0,100,0), +(@PATH,67,-1746.019,1042.741,91.03842,0,0,0,0,100,0), +(@PATH,68,-1754.769,1044.741,91.53842,0,0,0,0,100,0), +(@PATH,69,-1760.269,1045.991,92.03842,0,0,0,0,100,0), +(@PATH,70,-1767.183,1047.592,92.70525,0,0,0,0,100,0), +(@PATH,71,-1773.933,1047.092,93.20525,0,0,0,0,100,0), +(@PATH,72,-1782.021,1046.628,93.71393,0,0,0,0,100,0), +(@PATH,73,-1787.735,1036.981,93.31808,0,0,0,0,100,0), +(@PATH,74,-1791.235,1033.231,93.06808,0,0,0,0,100,0), +(@PATH,75,-1804.253,1019.776,93.01784,0,0,0,0,100,0), +(@PATH,76,-1819.783,1020.492,93.61904,0,0,0,0,100,0), +(@PATH,77,-1827.033,1034.242,94.36904,0,0,0,0,100,0), +(@PATH,78,-1827.364,1034.557,94.21419,0,0,0,0,100,0), +(@PATH,79,-1827.864,1035.807,94.21419,0,0,0,0,100,0), +(@PATH,80,-1830.614,1037.057,94.71419,0,0,0,0,100,0), +(@PATH,81,-1839.752,1042.551,94.25443,0,0,0,0,100,0), +(@PATH,82,-1843.502,1043.301,93.50443,0,0,0,0,100,0), +(@PATH,83,-1846.252,1044.301,92.75443,0,0,0,0,100,0), +(@PATH,84,-1850.002,1045.301,92.50443,0,0,0,0,100,0), +(@PATH,85,-1854.752,1046.801,91.75443,0,0,0,0,100,0), +(@PATH,86,-1854.733,1047.131,91.51588,0,0,0,0,100,0), +(@PATH,87,-1855.983,1047.381,91.51588,0,0,0,0,100,0), +(@PATH,88,-1852.637,1071.456,91.28606,0,0,0,0,100,0), +(@PATH,89,-1853.137,1081.206,90.78606,0,0,0,0,100,0), +(@PATH,90,-1853.073,1081.655,90.71764,0,0,0,0,100,0), +(@PATH,91,-1853.073,1084.155,90.71764,0,0,0,0,100,0), +(@PATH,92,-1861.02,1092.072,91.06616,0,0,0,0,100,0), +(@PATH,93,-1859.77,1100.072,91.56616,0,0,0,0,100,0), +(@PATH,94,-1859.27,1103.072,92.31616,0,0,0,0,100,0), +(@PATH,95,-1855.866,1122.802,91.94241,0,0,0,0,100,0), +(@PATH,96,-1854.866,1129.802,91.19241,0,0,0,0,100,0), +(@PATH,97,-1852.866,1146.302,92.19241,0,0,0,0,100,0), +(@PATH,98,-1852.616,1147.302,93.19241,0,0,0,0,100,0), +(@PATH,99,-1852.616,1148.302,93.94241,0,0,0,0,100,0), +(@PATH,100,-1852.366,1150.302,94.69241,0,0,0,0,100,0), +(@PATH,101,-1851.866,1152.302,93.69241,0,0,0,0,100,0), +(@PATH,102,-1851.866,1153.302,92.69241,0,0,0,0,100,0), +(@PATH,103,-1851.958,1150.573,94.5063,0,0,0,0,100,0), +(@PATH,104,-1851.708,1152.323,93.7563,0,0,0,0,100,0), +(@PATH,105,-1851.458,1153.323,92.5063,0,0,0,0,100,0), +(@PATH,106,-1851.458,1154.073,92.5063,0,0,0,0,100,0), +(@PATH,107,-1849.458,1154.073,91.2563,0,0,0,0,100,0), +(@PATH,108,-1820.817,1154.045,91.15947,0,0,0,0,100,0), +(@PATH,109,-1816.317,1151.545,91.65947,0,0,0,0,100,0), +(@PATH,110,-1808.567,1147.795,92.40947,0,0,0,0,100,0), +(@PATH,111,-1808.301,1147.609,92.48,0,0,0,0,100,0), +(@PATH,112,-1802.801,1144.609,92.48,0,0,0,0,100,0), +(@PATH,113,-1800.051,1140.609,92.98,0,0,0,0,100,0), +(@PATH,114,-1797.551,1137.609,93.98,0,0,0,0,100,0), +(@PATH,115,-1796.551,1136.109,94.73,0,0,0,0,100,0), +(@PATH,116,-1795.801,1135.109,95.23,0,0,0,0,100,0), +(@PATH,117,-1795.301,1134.359,95.98,0,0,0,0,100,0), +(@PATH,118,-1793.551,1131.859,96.73,0,0,0,0,100,0), +(@PATH,119,-1792.301,1130.359,97.98,0,0,0,0,100,0); + +-- Pathing for Entry: 4677 'TDB FORMAT' +SET @NPC := 366024; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1856.646,`position_y`=1755.417,`position_z`=70.62122 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1856.646,1755.417,70.62122,0,0,0,0,100,0), +(@PATH,2,-1855.646,1753.667,71.12122,0,0,0,0,100,0), +(@PATH,3,-1854.646,1751.917,71.87122,0,0,0,0,100,0), +(@PATH,4,-1853.396,1749.417,72.62122,0,0,0,0,100,0), +(@PATH,5,-1852.896,1748.417,73.37122,0,0,0,0,100,0), +(@PATH,6,-1849.646,1742.667,74.37122,0,0,0,0,100,0), +(@PATH,7,-1848.646,1740.917,75.12122,0,0,0,0,100,0), +(@PATH,8,-1848.414,1740.573,75.46856,0,0,0,0,100,0), +(@PATH,9,-1847.164,1738.823,75.46856,0,0,0,0,100,0), +(@PATH,10,-1843.914,1730.823,75.96856,0,0,0,0,100,0), +(@PATH,11,-1840.264,1722.453,76.56438,0,0,0,0,100,0), +(@PATH,12,-1836.264,1719.453,77.31438,0,0,0,0,100,0), +(@PATH,13,-1834.264,1717.703,77.81438,0,0,0,0,100,0), +(@PATH,14,-1833.469,1717.274,77.85674,0,0,0,0,100,0), +(@PATH,15,-1835.719,1718.774,77.35674,0,0,0,0,100,0), +(@PATH,16,-1839.469,1721.774,76.85674,0,0,0,0,100,0), +(@PATH,17,-1839.751,1722.146,76.41526,0,0,0,0,100,0), +(@PATH,18,-1840.501,1722.646,76.41526,0,0,0,0,100,0), +(@PATH,19,-1844.251,1731.646,75.91526,0,0,0,0,100,0), +(@PATH,20,-1847.399,1739.016,75.40151,0,0,0,0,100,0), +(@PATH,21,-1848.899,1741.516,74.65151,0,0,0,0,100,0), +(@PATH,22,-1850.399,1744.266,73.90151,0,0,0,0,100,0), +(@PATH,23,-1853.149,1749.266,72.65151,0,0,0,0,100,0), +(@PATH,24,-1854.649,1751.766,71.90151,0,0,0,0,100,0), +(@PATH,25,-1855.649,1753.516,71.15151,0,0,0,0,100,0), +(@PATH,26,-1855.971,1753.752,71.26965,0,0,0,0,100,0), +(@PATH,27,-1856.971,1755.502,70.26965,0,0,0,0,100,0), +(@PATH,28,-1873.221,1762.252,71.01965,0,0,0,0,100,0), +(@PATH,29,-1877.166,1763.967,71.23563,0,0,0,0,100,0), +(@PATH,30,-1879.916,1764.467,71.48563,0,0,0,0,100,0), +(@PATH,31,-1893.666,1766.717,70.98563,0,0,0,0,100,0), +(@PATH,32,-1896.666,1767.217,70.23563,0,0,0,0,100,0), +(@PATH,33,-1900.416,1767.717,69.73563,0,0,0,0,100,0), +(@PATH,34,-1900.786,1767.878,69.41543,0,0,0,0,100,0), +(@PATH,35,-1902.286,1768.128,69.41543,0,0,0,0,100,0), +(@PATH,36,-1910.786,1765.878,68.91543,0,0,0,0,100,0), +(@PATH,37,-1910.776,1765.556,68.64234,0,0,0,0,100,0), +(@PATH,38,-1913.776,1764.806,68.39234,0,0,0,0,100,0), +(@PATH,39,-1913.526,1762.806,69.14234,0,0,0,0,100,0), +(@PATH,40,-1913.276,1760.806,69.89234,0,0,0,0,100,0), +(@PATH,41,-1913.026,1758.806,70.64234,0,0,0,0,100,0), +(@PATH,42,-1912.276,1755.056,71.14234,0,0,0,0,100,0), +(@PATH,43,-1911.526,1748.306,70.39234,0,0,0,0,100,0), +(@PATH,44,-1911.276,1746.306,69.64234,0,0,0,0,100,0), +(@PATH,45,-1911.486,1746.039,69.73003,0,0,0,0,100,0), +(@PATH,46,-1911.236,1744.289,68.73003,0,0,0,0,100,0), +(@PATH,47,-1911.486,1742.289,67.98003,0,0,0,0,100,0), +(@PATH,48,-1911.486,1740.289,67.23003,0,0,0,0,100,0), +(@PATH,49,-1911.486,1738.539,66.73003,0,0,0,0,100,0), +(@PATH,50,-1911.736,1736.539,65.48003,0,0,0,0,100,0), +(@PATH,51,-1911.736,1734.539,64.48003,0,0,0,0,100,0), +(@PATH,52,-1911.509,1734.194,64.27141,0,0,0,0,100,0), +(@PATH,53,-1911.509,1733.444,64.27141,0,0,0,0,100,0), +(@PATH,54,-1910.259,1731.944,63.77141,0,0,0,0,100,0), +(@PATH,55,-1908.259,1729.694,63.02141,0,0,0,0,100,0), +(@PATH,56,-1897.632,1717.864,62.57815,0,0,0,0,100,0), +(@PATH,57,-1894.382,1713.864,62.07815,0,0,0,0,100,0), +(@PATH,58,-1889.632,1707.864,61.57815,0,0,0,0,100,0), +(@PATH,59,-1880.209,1696.332,61.70366,0,0,0,0,100,0), +(@PATH,60,-1854.07,1688.357,62.05923,0,0,0,0,100,0), +(@PATH,61,-1842.82,1678.857,61.55923,0,0,0,0,100,0), +(@PATH,62,-1833.427,1670.91,61.51278,0,0,0,0,100,0), +(@PATH,63,-1833.672,1670.806,61.26845,0,0,0,0,100,0), +(@PATH,64,-1833.592,1671.096,61.56763,0,0,0,0,100,0), +(@PATH,65,-1848.592,1683.596,62.06763,0,0,0,0,100,0), +(@PATH,66,-1854.444,1688.481,62.0142,0,0,0,0,100,0), +(@PATH,67,-1880.485,1696.432,62.08083,0,0,0,0,100,0), +(@PATH,68,-1895.985,1715.682,62.33083,0,0,0,0,100,0), +(@PATH,69,-1896.238,1715.973,62.62863,0,0,0,0,100,0), +(@PATH,70,-1897.738,1718.223,62.87863,0,0,0,0,100,0), +(@PATH,71,-1908.988,1730.473,63.12863,0,0,0,0,100,0), +(@PATH,72,-1910.988,1732.723,63.87863,0,0,0,0,100,0), +(@PATH,73,-1910.866,1733.092,64.08914,0,0,0,0,100,0), +(@PATH,74,-1911.616,1733.592,64.33914,0,0,0,0,100,0), +(@PATH,75,-1911.366,1736.592,65.58914,0,0,0,0,100,0), +(@PATH,76,-1911.366,1737.592,66.08914,0,0,0,0,100,0), +(@PATH,77,-1911.366,1739.342,66.83914,0,0,0,0,100,0), +(@PATH,78,-1911.116,1741.342,67.83914,0,0,0,0,100,0), +(@PATH,79,-1911.116,1743.342,68.33914,0,0,0,0,100,0), +(@PATH,80,-1911.436,1741.752,67.64513,0,0,0,0,100,0), +(@PATH,81,-1911.186,1743.752,68.39513,0,0,0,0,100,0), +(@PATH,82,-1911.186,1744.502,68.89513,0,0,0,0,100,0), +(@PATH,83,-1911.436,1746.502,69.64513,0,0,0,0,100,0), +(@PATH,84,-1911.686,1748.502,70.39513,0,0,0,0,100,0), +(@PATH,85,-1912.186,1751.502,70.89513,0,0,0,0,100,0), +(@PATH,86,-1913.186,1760.252,70.14513,0,0,0,0,100,0), +(@PATH,87,-1913.436,1763.002,69.14513,0,0,0,0,100,0), +(@PATH,88,-1913.744,1764.979,68.39626,0,0,0,0,100,0), +(@PATH,89,-1909.744,1765.979,69.14626,0,0,0,0,100,0), +(@PATH,90,-1907.994,1766.479,69.64626,0,0,0,0,100,0), +(@PATH,91,-1903.244,1767.729,69.14626,0,0,0,0,100,0), +(@PATH,92,-1903.095,1767.826,69.57022,0,0,0,0,100,0), +(@PATH,93,-1902.095,1768.076,69.57022,0,0,0,0,100,0), +(@PATH,94,-1899.095,1767.576,70.07022,0,0,0,0,100,0), +(@PATH,95,-1893.095,1766.576,71.07022,0,0,0,0,100,0), +(@PATH,96,-1887.595,1765.576,71.82022,0,0,0,0,100,0), +(@PATH,97,-1877.595,1764.076,71.07022,0,0,0,0,100,0), +(@PATH,98,-1877.438,1763.87,71.10878,0,0,0,0,100,0), +(@PATH,99,-1876.938,1763.62,71.10878,0,0,0,0,100,0), +(@PATH,100,-1869.438,1760.62,70.10878,0,0,0,0,100,0), +(@PATH,101,-1864.188,1758.62,70.35878,0,0,0,0,100,0), +(@PATH,102,-1856.643,1755.372,70.60093,0,0,0,0,100,0), +(@PATH,103,-1855.643,1753.622,71.35093,0,0,0,0,100,0), +(@PATH,104,-1854.643,1751.872,72.10093,0,0,0,0,100,0), +(@PATH,105,-1853.393,1749.372,72.85093,0,0,0,0,100,0), +(@PATH,106,-1852.893,1748.372,73.60093,0,0,0,0,100,0), +(@PATH,107,-1849.643,1742.622,74.60093,0,0,0,0,100,0), +(@PATH,108,-1848.643,1740.872,75.10093,0,0,0,0,100,0), +(@PATH,109,-1848.43,1740.601,75.4583,0,0,0,0,100,0), +(@PATH,110,-1847.18,1738.851,75.4583,0,0,0,0,100,0), +(@PATH,111,-1843.93,1730.851,75.9583,0,0,0,0,100,0); + +-- Pathing for Entry: 4677 'TDB FORMAT' +SET @NPC := 365998; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1786.28,`position_y`=1982.22,`position_z`=61.71166 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1786.28,1982.22,61.71166,0,0,0,0,100,0), +(@PATH,2,-1786.113,1982.186,61.97816,0,0,0,0,100,0), +(@PATH,3,-1777.557,1963.352,62.05673,0,0,0,0,100,0), +(@PATH,4,-1759.557,1953.352,62.55673,0,0,0,0,100,0), +(@PATH,5,-1757.613,1951.859,62.44005,0,0,0,0,100,0), +(@PATH,6,-1743.363,1947.859,61.94005,0,0,0,0,100,0), +(@PATH,7,-1748.932,1949.328,62.44005,0,0,0,0,100,0), +(@PATH,8,-1757.691,1952.294,62.54589,0,0,0,0,100,0), +(@PATH,9,-1767.191,1957.544,62.04589,0,0,0,0,100,0), +(@PATH,10,-1777.793,1963.636,62.01168,0,0,0,0,100,0), +(@PATH,11,-1786.051,1982.534,61.84938,0,0,0,0,100,0), +(@PATH,12,-1782.801,1988.534,61.59938,0,0,0,0,100,0); + +-- Pathing for Entry: 4651 'TDB FORMAT' +SET @NPC := 365866; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2460.042,`position_y`=2495.896,`position_z`=83.60387 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2460.042,2495.896,83.60387,0,0,0,0,100,0), +(@PATH,2,-2458.042,2492.896,83.35387,0,0,0,0,100,0), +(@PATH,3,-2456.542,2490.396,83.60387,0,0,0,0,100,0), +(@PATH,4,-2448.542,2477.896,83.60387,0,0,0,0,100,0), +(@PATH,5,-2446.89,2475.365,83.6226,0,0,0,0,100,0), +(@PATH,6,-2440.14,2474.615,83.3726,0,0,0,0,100,0), +(@PATH,7,-2436.64,2474.115,83.6226,0,0,0,0,100,0), +(@PATH,8,-2434.14,2473.865,83.3726,0,0,0,0,100,0), +(@PATH,9,-2434.052,2473.835,83.3683,0,0,0,0,100,0), +(@PATH,10,-2436.552,2474.085,83.6183,0,0,0,0,100,0), +(@PATH,11,-2440.052,2474.335,83.6183,0,0,0,0,100,0), +(@PATH,12,-2447.109,2475.636,83.60956,0,0,0,0,100,0), +(@PATH,13,-2448.359,2477.386,83.35956,0,0,0,0,100,0), +(@PATH,14,-2456.609,2490.386,83.60956,0,0,0,0,100,0), +(@PATH,15,-2458.109,2492.886,83.35956,0,0,0,0,100,0), +(@PATH,16,-2460.025,2496.144,83.55225,0,0,0,0,100,0), +(@PATH,17,-2459.525,2498.394,83.55225,0,0,0,0,100,0), +(@PATH,18,-2458.775,2502.894,83.55225,0,0,0,0,100,0), +(@PATH,19,-2457.775,2507.394,83.55225,0,0,0,0,100,0), +(@PATH,20,-2456.526,2515.504,83.39911,0,0,0,0,100,0), +(@PATH,21,-2453.026,2516.754,83.39911,0,0,0,0,100,0), +(@PATH,22,-2450.026,2518.004,83.39911,0,0,0,0,100,0), +(@PATH,23,-2439.776,2521.754,82.89911,0,0,0,0,100,0), +(@PATH,24,-2431.806,2525.038,82.73648,0,0,0,0,100,0), +(@PATH,25,-2429.556,2525.288,82.73648,0,0,0,0,100,0), +(@PATH,26,-2428.556,2525.288,82.48648,0,0,0,0,100,0), +(@PATH,27,-2415.056,2526.538,81.48648,0,0,0,0,100,0), +(@PATH,28,-2402.74,2527.517,78.23349,0,0,0,0,100,0), +(@PATH,29,-2400.24,2526.017,77.48349,0,0,0,0,100,0), +(@PATH,30,-2398.99,2525.267,76.98349,0,0,0,0,100,0), +(@PATH,31,-2391.99,2520.767,74.98349,0,0,0,0,100,0), +(@PATH,32,-2384.74,2516.267,72.73349,0,0,0,0,100,0), +(@PATH,33,-2382.878,2514.483,72.06885,0,0,0,0,100,0), +(@PATH,34,-2382.128,2503.483,70.56885,0,0,0,0,100,0), +(@PATH,35,-2382.128,2500.733,70.56885,0,0,0,0,100,0), +(@PATH,36,-2381.878,2495.483,70.81885,0,0,0,0,100,0), +(@PATH,37,-2381.628,2492.983,71.06885,0,0,0,0,100,0), +(@PATH,38,-2381.274,2491.022,71.57604,0,0,0,0,100,0), +(@PATH,39,-2380.024,2488.522,72.32604,0,0,0,0,100,0), +(@PATH,40,-2377.274,2482.772,74.07604,0,0,0,0,100,0), +(@PATH,41,-2375.274,2478.022,75.57604,0,0,0,0,100,0), +(@PATH,42,-2373.774,2475.272,74.82604,0,0,0,0,100,0), +(@PATH,43,-2372.334,2472.233,75.14137,0,0,0,0,100,0), +(@PATH,44,-2373.334,2471.483,74.89137,0,0,0,0,100,0), +(@PATH,45,-2376.084,2469.733,74.64137,0,0,0,0,100,0), +(@PATH,46,-2385.084,2463.983,74.89137,0,0,0,0,100,0), +(@PATH,47,-2387.084,2462.733,74.64137,0,0,0,0,100,0), +(@PATH,48,-2389.334,2461.483,74.64137,0,0,0,0,100,0), +(@PATH,49,-2395.824,2457.011,74.49269,0,0,0,0,100,0), +(@PATH,50,-2397.074,2454.261,74.74269,0,0,0,0,100,0), +(@PATH,51,-2401.824,2444.011,74.49269,0,0,0,0,100,0), +(@PATH,52,-2408.326,2431.189,74.66341,0,0,0,0,100,0), +(@PATH,53,-2415.076,2434.189,74.66341,0,0,0,0,100,0), +(@PATH,54,-2425.076,2438.439,74.41341,0,0,0,0,100,0), +(@PATH,55,-2427.326,2439.439,74.41341,0,0,0,0,100,0), +(@PATH,56,-2432.576,2441.689,74.66341,0,0,0,0,100,0), +(@PATH,57,-2432.868,2441.946,74.68637,0,0,0,0,100,0), +(@PATH,58,-2433.618,2442.196,74.43637,0,0,0,0,100,0), +(@PATH,59,-2435.868,2453.946,71.43637,0,0,0,0,100,0), +(@PATH,60,-2437.868,2463.446,70.43637,0,0,0,0,100,0), +(@PATH,61,-2439.618,2471.946,69.43637,0,0,0,0,100,0), +(@PATH,62,-2440.118,2474.946,69.18637,0,0,0,0,100,0), +(@PATH,63,-2440.178,2475.173,69.01003,0,0,0,0,100,0), +(@PATH,64,-2440.678,2477.423,68.51003,0,0,0,0,100,0), +(@PATH,65,-2438.928,2481.923,68.26003,0,0,0,0,100,0), +(@PATH,66,-2437.178,2486.423,67.76003,0,0,0,0,100,0), +(@PATH,67,-2436.991,2487.16,67.85008,0,0,0,0,100,0), +(@PATH,68,-2438.991,2481.91,68.10008,0,0,0,0,100,0), +(@PATH,69,-2440.627,2477.003,68.78077,0,0,0,0,100,0), +(@PATH,70,-2440.127,2474.753,69.03077,0,0,0,0,100,0), +(@PATH,71,-2439.627,2472.003,69.28077,0,0,0,0,100,0), +(@PATH,72,-2437.877,2463.253,70.28077,0,0,0,0,100,0), +(@PATH,73,-2435.877,2453.753,71.28077,0,0,0,0,100,0), +(@PATH,74,-2433.627,2443.253,74.28077,0,0,0,0,100,0), +(@PATH,75,-2433.58,2442.962,74.17065,0,0,0,0,100,0), +(@PATH,76,-2433.33,2441.962,74.42065,0,0,0,0,100,0), +(@PATH,77,-2427.33,2439.462,74.42065,0,0,0,0,100,0), +(@PATH,78,-2426.08,2438.712,74.42065,0,0,0,0,100,0), +(@PATH,79,-2415.08,2434.212,74.67065,0,0,0,0,100,0), +(@PATH,80,-2408.129,2431.116,74.69231,0,0,0,0,100,0), +(@PATH,81,-2402.629,2443.116,74.44231,0,0,0,0,100,0), +(@PATH,82,-2397.379,2453.866,74.69231,0,0,0,0,100,0), +(@PATH,83,-2395.563,2457.334,74.6834,0,0,0,0,100,0), +(@PATH,84,-2389.313,2461.334,74.6834,0,0,0,0,100,0), +(@PATH,85,-2387.063,2462.834,74.6834,0,0,0,0,100,0), +(@PATH,86,-2385.063,2464.084,74.9334,0,0,0,0,100,0), +(@PATH,87,-2376.063,2469.834,74.6834,0,0,0,0,100,0), +(@PATH,88,-2373.313,2471.584,74.9334,0,0,0,0,100,0), +(@PATH,89,-2373.294,2471.961,74.94346,0,0,0,0,100,0), +(@PATH,90,-2372.294,2472.461,75.19346,0,0,0,0,100,0), +(@PATH,91,-2373.794,2475.211,74.94346,0,0,0,0,100,0), +(@PATH,92,-2375.044,2478.211,75.44346,0,0,0,0,100,0), +(@PATH,93,-2377.544,2482.711,74.19346,0,0,0,0,100,0), +(@PATH,94,-2380.044,2488.461,72.44346,0,0,0,0,100,0), +(@PATH,95,-2381.044,2490.461,71.94346,0,0,0,0,100,0), +(@PATH,96,-2381.256,2490.739,71.90697,0,0,0,0,100,0), +(@PATH,97,-2381.506,2491.489,71.65697,0,0,0,0,100,0), +(@PATH,98,-2381.756,2492.989,71.15697,0,0,0,0,100,0), +(@PATH,99,-2381.756,2494.739,70.65697,0,0,0,0,100,0), +(@PATH,100,-2381.756,2500.739,70.65697,0,0,0,0,100,0), +(@PATH,101,-2382.006,2503.239,70.40697,0,0,0,0,100,0), +(@PATH,102,-2382.802,2514.847,72.36639,0,0,0,0,100,0), +(@PATH,103,-2384.802,2516.097,72.86639,0,0,0,0,100,0), +(@PATH,104,-2391.552,2520.347,74.86639,0,0,0,0,100,0), +(@PATH,105,-2398.802,2525.097,76.86639,0,0,0,0,100,0), +(@PATH,106,-2400.302,2526.097,77.36639,0,0,0,0,100,0), +(@PATH,107,-2402.052,2527.347,78.11639,0,0,0,0,100,0), +(@PATH,108,-2402.367,2527.22,78.23444,0,0,0,0,100,0), +(@PATH,109,-2402.867,2527.72,78.48444,0,0,0,0,100,0), +(@PATH,110,-2415.117,2526.47,81.23444,0,0,0,0,100,0), +(@PATH,111,-2428.617,2525.47,82.48444,0,0,0,0,100,0), +(@PATH,112,-2429.617,2525.22,82.73444,0,0,0,0,100,0), +(@PATH,113,-2431.117,2525.22,82.73444,0,0,0,0,100,0), +(@PATH,114,-2431.199,2524.833,82.88673,0,0,0,0,100,0), +(@PATH,115,-2431.949,2524.833,82.88673,0,0,0,0,100,0), +(@PATH,116,-2439.699,2521.833,82.88673,0,0,0,0,100,0), +(@PATH,117,-2449.949,2518.083,83.38673,0,0,0,0,100,0), +(@PATH,118,-2452.949,2516.833,83.38673,0,0,0,0,100,0), +(@PATH,119,-2456.663,2515.306,83.5808,0,0,0,0,100,0), +(@PATH,120,-2457.913,2507.306,83.5808,0,0,0,0,100,0), +(@PATH,121,-2458.663,2502.806,83.5808,0,0,0,0,100,0), +(@PATH,122,-2459.413,2498.306,83.5808,0,0,0,0,100,0), +(@PATH,123,-2460.034,2495.691,83.60269,0,0,0,0,100,0), +(@PATH,124,-2458.034,2492.691,83.35269,0,0,0,0,100,0), +(@PATH,125,-2456.534,2490.441,83.60269,0,0,0,0,100,0), +(@PATH,126,-2448.534,2477.941,83.60269,0,0,0,0,100,0), +(@PATH,127,-2446.92,2475.412,83.62299,0,0,0,0,100,0), +(@PATH,128,-2440.17,2474.662,83.37299,0,0,0,0,100,0), +(@PATH,129,-2436.42,2474.162,83.62299,0,0,0,0,100,0), +(@PATH,130,-2433.92,2473.912,83.37299,0,0,0,0,100,0); + +-- Pathing for Entry: 4651 'TDB FORMAT' +SET @NPC := 365834; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2316.932,`position_y`=2402.254,`position_z`=70.04869 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2316.932,2402.254,70.04869,0,0,0,0,100,0), +(@PATH,2,-2318.432,2401.754,70.04869,0,0,0,0,100,0), +(@PATH,3,-2319.682,2401.254,70.29869,0,0,0,0,100,0), +(@PATH,4,-2331.818,2397.776,72.63762,0,0,0,0,100,0), +(@PATH,5,-2334.568,2399.276,73.38762,0,0,0,0,100,0), +(@PATH,6,-2345.724,2405.099,75.56644,0,0,0,0,100,0), +(@PATH,7,-2346.724,2408.849,75.81644,0,0,0,0,100,0), +(@PATH,8,-2349.224,2419.349,76.31644,0,0,0,0,100,0), +(@PATH,9,-2349.105,2419.318,76.25012,0,0,0,0,100,0), +(@PATH,10,-2346.605,2408.818,75.75012,0,0,0,0,100,0), +(@PATH,11,-2346.105,2406.068,75.75012,0,0,0,0,100,0), +(@PATH,12,-2345.779,2405.885,75.70907,0,0,0,0,100,0), +(@PATH,13,-2345.529,2404.885,75.45907,0,0,0,0,100,0), +(@PATH,14,-2334.779,2399.385,73.45907,0,0,0,0,100,0), +(@PATH,15,-2331.462,2397.674,72.50615,0,0,0,0,100,0), +(@PATH,16,-2320.212,2401.174,70.50615,0,0,0,0,100,0), +(@PATH,17,-2318.462,2401.674,70.00615,0,0,0,0,100,0), +(@PATH,18,-2318.182,2401.862,69.743,0,0,0,0,100,0), +(@PATH,19,-2316.682,2402.362,69.743,0,0,0,0,100,0), +(@PATH,20,-2316.432,2405.612,69.243,0,0,0,0,100,0), +(@PATH,21,-2315.932,2410.862,68.743,0,0,0,0,100,0), +(@PATH,22,-2315.682,2411.862,68.743,0,0,0,0,100,0), +(@PATH,23,-2315.432,2412.862,68.743,0,0,0,0,100,0), +(@PATH,24,-2315.182,2415.612,68.493,0,0,0,0,100,0), +(@PATH,25,-2314.378,2421.426,67.78934,0,0,0,0,100,0), +(@PATH,26,-2318.628,2424.176,67.53934,0,0,0,0,100,0), +(@PATH,27,-2320.128,2424.926,67.53934,0,0,0,0,100,0), +(@PATH,28,-2332.128,2432.426,66.53934,0,0,0,0,100,0), +(@PATH,29,-2332.878,2432.926,66.53934,0,0,0,0,100,0), +(@PATH,30,-2339.818,2437.077,66.19647,0,0,0,0,100,0), +(@PATH,31,-2341.318,2439.827,66.44647,0,0,0,0,100,0), +(@PATH,32,-2347.568,2449.327,67.44647,0,0,0,0,100,0), +(@PATH,33,-2349.318,2452.577,67.94647,0,0,0,0,100,0), +(@PATH,34,-2350.627,2454.18,68.9019,0,0,0,0,100,0), +(@PATH,35,-2350.877,2460.93,70.4019,0,0,0,0,100,0), +(@PATH,36,-2351.377,2471.68,70.9019,0,0,0,0,100,0), +(@PATH,37,-2351.557,2471.775,70.80119,0,0,0,0,100,0), +(@PATH,38,-2351.557,2473.775,70.80119,0,0,0,0,100,0), +(@PATH,39,-2349.307,2479.775,70.80119,0,0,0,0,100,0), +(@PATH,40,-2347.307,2485.775,70.80119,0,0,0,0,100,0), +(@PATH,41,-2345.885,2489.113,71.24136,0,0,0,0,100,0), +(@PATH,42,-2347.385,2492.363,71.24136,0,0,0,0,100,0), +(@PATH,43,-2348.135,2494.363,70.99136,0,0,0,0,100,0), +(@PATH,44,-2350.635,2501.113,70.49136,0,0,0,0,100,0), +(@PATH,45,-2350.985,2502.706,70.57648,0,0,0,0,100,0), +(@PATH,46,-2349.235,2503.706,70.32648,0,0,0,0,100,0), +(@PATH,47,-2344.485,2506.456,70.32648,0,0,0,0,100,0), +(@PATH,48,-2338.945,2509.52,71.37656,0,0,0,0,100,0), +(@PATH,49,-2333.945,2508.52,71.62656,0,0,0,0,100,0), +(@PATH,50,-2329.445,2507.77,72.37656,0,0,0,0,100,0), +(@PATH,51,-2324.476,2506.864,72.74486,0,0,0,0,100,0), +(@PATH,52,-2322.476,2506.114,73.24486,0,0,0,0,100,0), +(@PATH,53,-2320.226,2504.864,72.99486,0,0,0,0,100,0), +(@PATH,54,-2318.976,2504.614,72.99486,0,0,0,0,100,0), +(@PATH,55,-2316.976,2503.864,72.99486,0,0,0,0,100,0), +(@PATH,56,-2315.476,2503.114,72.99486,0,0,0,0,100,0), +(@PATH,57,-2315.226,2502.785,73.07889,0,0,0,0,100,0), +(@PATH,58,-2313.226,2502.035,73.07889,0,0,0,0,100,0), +(@PATH,59,-2312.226,2500.035,74.32889,0,0,0,0,100,0), +(@PATH,60,-2310.476,2496.035,74.32889,0,0,0,0,100,0), +(@PATH,61,-2308.226,2491.535,73.32889,0,0,0,0,100,0), +(@PATH,62,-2306.726,2488.535,72.82889,0,0,0,0,100,0), +(@PATH,63,-2305.913,2487.38,72.83762,0,0,0,0,100,0), +(@PATH,64,-2303.413,2488.63,72.58762,0,0,0,0,100,0), +(@PATH,65,-2302.413,2489.13,72.33762,0,0,0,0,100,0), +(@PATH,66,-2294.413,2493.88,72.83762,0,0,0,0,100,0), +(@PATH,67,-2293.413,2494.38,73.08762,0,0,0,0,100,0), +(@PATH,68,-2291.913,2495.13,73.33762,0,0,0,0,100,0), +(@PATH,69,-2290.413,2496.13,73.58762,0,0,0,0,100,0), +(@PATH,70,-2285.913,2498.38,73.08762,0,0,0,0,100,0), +(@PATH,71,-2281.413,2500.88,74.33762,0,0,0,0,100,0), +(@PATH,72,-2276.163,2503.88,74.58762,0,0,0,0,100,0), +(@PATH,73,-2276.353,2503.742,74.65192,0,0,0,0,100,0), +(@PATH,74,-2281.353,2500.992,74.40192,0,0,0,0,100,0), +(@PATH,75,-2285.103,2498.742,73.15192,0,0,0,0,100,0), +(@PATH,76,-2289.853,2496.242,73.40192,0,0,0,0,100,0), +(@PATH,77,-2291.853,2494.992,73.15192,0,0,0,0,100,0), +(@PATH,78,-2293.353,2494.242,73.15192,0,0,0,0,100,0), +(@PATH,79,-2294.353,2493.742,72.90192,0,0,0,0,100,0), +(@PATH,80,-2302.103,2489.492,72.40192,0,0,0,0,100,0), +(@PATH,81,-2303.353,2488.742,72.40192,0,0,0,0,100,0), +(@PATH,82,-2306.003,2487.396,72.5556,0,0,0,0,100,0), +(@PATH,83,-2306.753,2488.396,72.8056,0,0,0,0,100,0), +(@PATH,84,-2308.253,2491.646,73.3056,0,0,0,0,100,0), +(@PATH,85,-2310.003,2495.646,74.3056,0,0,0,0,100,0), +(@PATH,86,-2312.003,2499.646,74.3056,0,0,0,0,100,0), +(@PATH,87,-2313.257,2502.003,73.16603,0,0,0,0,100,0), +(@PATH,88,-2315.257,2503.003,73.16603,0,0,0,0,100,0), +(@PATH,89,-2317.007,2503.753,73.16603,0,0,0,0,100,0), +(@PATH,90,-2318.757,2504.253,73.16603,0,0,0,0,100,0), +(@PATH,91,-2320.007,2505.003,73.16603,0,0,0,0,100,0), +(@PATH,92,-2322.507,2506.003,73.16603,0,0,0,0,100,0), +(@PATH,93,-2323.757,2506.503,73.16603,0,0,0,0,100,0), +(@PATH,94,-2324.09,2506.839,72.89877,0,0,0,0,100,0), +(@PATH,95,-2324.84,2507.089,72.89877,0,0,0,0,100,0), +(@PATH,96,-2329.34,2507.839,72.39877,0,0,0,0,100,0), +(@PATH,97,-2333.84,2508.589,71.64877,0,0,0,0,100,0), +(@PATH,98,-2339.004,2509.52,71.0558,0,0,0,0,100,0), +(@PATH,99,-2344.254,2506.52,70.3058,0,0,0,0,100,0), +(@PATH,100,-2349.254,2503.77,70.3058,0,0,0,0,100,0), +(@PATH,101,-2350.754,2502.77,70.5558,0,0,0,0,100,0), +(@PATH,102,-2349.28,2503.614,70.4883,0,0,0,0,100,0), +(@PATH,103,-2350.78,2502.614,70.4883,0,0,0,0,100,0), +(@PATH,104,-2351.03,2502.364,70.4883,0,0,0,0,100,0), +(@PATH,105,-2350.53,2501.114,70.4883,0,0,0,0,100,0), +(@PATH,106,-2347.78,2494.364,70.9883,0,0,0,0,100,0), +(@PATH,107,-2347.28,2492.364,71.2383,0,0,0,0,100,0), +(@PATH,108,-2345.958,2488.857,71.13498,0,0,0,0,100,0), +(@PATH,109,-2347.208,2485.607,70.88498,0,0,0,0,100,0), +(@PATH,110,-2349.458,2479.857,70.88498,0,0,0,0,100,0), +(@PATH,111,-2351.68,2473.559,70.85919,0,0,0,0,100,0), +(@PATH,112,-2351.43,2472.059,70.85919,0,0,0,0,100,0), +(@PATH,113,-2350.93,2461.059,70.35919,0,0,0,0,100,0), +(@PATH,114,-2350.243,2453.944,68.52463,0,0,0,0,100,0), +(@PATH,115,-2349.493,2452.444,68.02463,0,0,0,0,100,0), +(@PATH,116,-2347.493,2449.444,67.27463,0,0,0,0,100,0), +(@PATH,117,-2341.493,2439.694,66.52463,0,0,0,0,100,0), +(@PATH,118,-2339.591,2437.082,66.33128,0,0,0,0,100,0), +(@PATH,119,-2332.841,2432.832,66.33128,0,0,0,0,100,0), +(@PATH,120,-2320.591,2425.332,67.58128,0,0,0,0,100,0), +(@PATH,121,-2318.591,2424.082,67.58128,0,0,0,0,100,0), +(@PATH,122,-2314.236,2421.113,68.0817,0,0,0,0,100,0), +(@PATH,123,-2315.236,2415.613,68.3317,0,0,0,0,100,0), +(@PATH,124,-2315.486,2412.863,68.5817,0,0,0,0,100,0), +(@PATH,125,-2315.736,2412.113,68.5817,0,0,0,0,100,0), +(@PATH,126,-2315.736,2410.863,68.8317,0,0,0,0,100,0), +(@PATH,127,-2316.486,2405.613,69.3317,0,0,0,0,100,0); + +-- Pathing for Entry: 4651 'TDB FORMAT' +SET @NPC := 365800; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2038.826,`position_y`=2673.932,`position_z`=60.77631 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-2038.826,2673.932,60.77631,0,0,0,0,100,0), +(@PATH,2,-2048.826,2669.432,61.27631,0,0,0,0,100,0), +(@PATH,3,-2055.826,2666.432,61.77631,0,0,0,0,100,0), +(@PATH,4,-2068.104,2661.116,61.76284,0,0,0,0,100,0), +(@PATH,5,-2075.854,2659.116,61.26284,0,0,0,0,100,0), +(@PATH,6,-2096.057,2653.895,61.1256,0,0,0,0,100,0), +(@PATH,7,-2097.307,2658.645,60.6256,0,0,0,0,100,0), +(@PATH,8,-2104.244,2686.646,60.55954,0,0,0,0,100,0), +(@PATH,9,-2117.84,2697.46,60.54733,0,0,0,0,100,0), +(@PATH,10,-2150.81,2701.081,61.02793,0,0,0,0,100,0), +(@PATH,11,-2178.703,2687.608,60.69803,0,0,0,0,100,0), +(@PATH,12,-2188.953,2677.108,61.19803,0,0,0,0,100,0), +(@PATH,13,-2192.703,2673.608,61.69803,0,0,0,0,100,0), +(@PATH,14,-2200.271,2666.149,61.29404,0,0,0,0,100,0), +(@PATH,15,-2209.271,2666.649,61.79404,0,0,0,0,100,0), +(@PATH,16,-2223.021,2667.399,61.29404,0,0,0,0,100,0), +(@PATH,17,-2226.753,2667.559,61.22743,0,0,0,0,100,0), +(@PATH,18,-2234.094,2661.206,61.2594,0,0,0,0,100,0), +(@PATH,19,-2236.594,2642.706,61.7594,0,0,0,0,100,0), +(@PATH,20,-2238.028,2634.009,61.80922,0,0,0,0,100,0), +(@PATH,21,-2245.778,2621.759,61.30922,0,0,0,0,100,0), +(@PATH,22,-2248.568,2617.464,61.3419,0,0,0,0,100,0), +(@PATH,23,-2248.707,2617.472,61.04016,0,0,0,0,100,0), +(@PATH,24,-2248.471,2617.674,61.34182,0,0,0,0,100,0), +(@PATH,25,-2243.471,2624.924,61.84182,0,0,0,0,100,0), +(@PATH,26,-2237.856,2634.359,61.7625,0,0,0,0,100,0), +(@PATH,27,-2235.856,2648.859,61.2625,0,0,0,0,100,0), +(@PATH,28,-2233.794,2661.61,61.20117,0,0,0,0,100,0), +(@PATH,29,-2226.495,2667.546,60.9976,0,0,0,0,100,0), +(@PATH,30,-2216.495,2666.796,61.7476,0,0,0,0,100,0), +(@PATH,31,-2203.745,2666.046,61.2476,0,0,0,0,100,0), +(@PATH,32,-2199.931,2666.304,61.1851,0,0,0,0,100,0), +(@PATH,33,-2194.931,2671.304,61.6851,0,0,0,0,100,0), +(@PATH,34,-2189.681,2676.804,61.1851,0,0,0,0,100,0), +(@PATH,35,-2186.681,2679.304,60.6851,0,0,0,0,100,0), +(@PATH,36,-2178.47,2687.822,60.54926,0,0,0,0,100,0), +(@PATH,37,-2160.72,2696.322,61.04926,0,0,0,0,100,0), +(@PATH,38,-2150.689,2701.024,61.05648,0,0,0,0,100,0), +(@PATH,39,-2132.939,2699.024,60.55648,0,0,0,0,100,0), +(@PATH,40,-2117.715,2697.14,60.55963,0,0,0,0,100,0), +(@PATH,41,-2104.171,2686.405,60.62587,0,0,0,0,100,0), +(@PATH,42,-2095.63,2653.882,61.23305,0,0,0,0,100,0), +(@PATH,43,-2067.817,2661.528,61.67452,0,0,0,0,100,0), +(@PATH,44,-2049.567,2669.028,61.17452,0,0,0,0,100,0), +(@PATH,45,-2040.567,2673.028,60.67452,0,0,0,0,100,0), +(@PATH,46,-2038.436,2673.887,60.79618,0,0,0,0,100,0), +(@PATH,47,-2036.936,2667.137,61.29618,0,0,0,0,100,0), +(@PATH,48,-2035.936,2661.137,61.79618,0,0,0,0,100,0), +(@PATH,49,-2032.686,2645.887,62.29618,0,0,0,0,100,0), +(@PATH,50,-2031.679,2640.463,62.43735,0,0,0,0,100,0), +(@PATH,51,-2032.429,2623.463,61.93735,0,0,0,0,100,0), +(@PATH,52,-2032.679,2617.713,61.43735,0,0,0,0,100,0), +(@PATH,53,-2033.216,2600.657,61.30704,0,0,0,0,100,0), +(@PATH,54,-2022.314,2588.323,61.56233,0,0,0,0,100,0), +(@PATH,55,-2010.983,2586.726,61.37078,0,0,0,0,100,0), +(@PATH,56,-2011.198,2586.448,61.19787,0,0,0,0,100,0), +(@PATH,57,-2011.11,2586.76,61.34234,0,0,0,0,100,0), +(@PATH,58,-2022.502,2588.492,61.53867,0,0,0,0,100,0), +(@PATH,59,-2033.182,2600.807,61.47621,0,0,0,0,100,0), +(@PATH,60,-2032.182,2622.557,61.97621,0,0,0,0,100,0), +(@PATH,61,-2031.682,2633.557,62.47621,0,0,0,0,100,0), +(@PATH,62,-2031.756,2640.852,62.52322,0,0,0,0,100,0), +(@PATH,63,-2034.006,2651.602,61.77322,0,0,0,0,100,0), +(@PATH,64,-2036.756,2665.852,61.27322,0,0,0,0,100,0), +(@PATH,65,-2037.756,2670.852,61.02322,0,0,0,0,100,0); + +DELETE FROM `creature_template_addon` WHERE `entry` IN (12028, 62184, 12027, 12338, 12030, 49839, 62186, 11823, 11877, 12045, 11106, 10182, 11105, 11563, 11624, 12033, 12032, 12031, 12340, 11562, 13737, 13699, 49835, 36353, 62185, 4076, 4727, 11578, 50481, 4648, 4646, 36182, 4726, 4692, 4654, 4656, 49859, 4075, 11687, 11686, 11685, 11786, 4655, 13697, 13718, 62182, 12240, 4657, 4659, 11788, 11778, 11787, 12239, 4658, 11777, 36234, 35605, 90, 4693, 35606, 12277, 35815, 12241, 11785, 62181, 4729, 11782, 36196, 36378, 35481, 36329, 51511, 61366, 4697, 35592, 4651, 36181, 62187, 4653, 36183, 36185, 13717, 4681, 4679, 35591, 4677, 4699, 4694, 11561, 1182, 11559, 5601, 4644, 35452, 4668, 5760, 5771, 61169, 14226, 11576, 4728, 4696, 4638, 4640, 4639, 4641, 4662, 4643, 35454, 35453, 4645, 36441, 13836, 4705, 36845, 36870, 36869, 4700, 35434, 36094, 49842, 4701, 4695, 4702, 6019, 36123, 49778, 35446, 49728, 5412, 5395, 36062, 8154, 62178, 41730, 11577, 5641, 4498, 11259, 8153, 8878, 35412, 11564, 4166, 35450, 9636, 8152, 62177, 36227, 43889, 43872, 35409, 11596, 4642, 36134, 36137, 36052, 36060, 35478, 43880, 36056, 43877, 36034, 43882, 66372, 66375, 66376, 66377, 36048, 43887, 13321, 61071, 4690, 4688, 4666, 4663, 35632, 4665, 4664, 35298, 43899, 35295, 27946, 35315, 4713, 4711, 35645, 4667, 28960, 36141, 13656, 11438, 35757, 4689, 35661, 35556, 41353, 35620, 35621, 35363, 4672, 4670, 4671, 4675, 35464, 4673, 4674, 41355, 35581, 14225, 35381, 41356, 8151, 35382, 35561, 5642, 5752, 5396, 5638, 51839, 11715, 1322, 34982, 12960, 8150, 11104, 11103, 6706, 13698, 4714, 35286, 34886, 35287, 4712, 35879, 36068, 35842, 35773, 35562, 35827, 4715, 12347, 4718, 6145, 4716, 4719, 35828); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES +(12028, 0, 0x0, 0x101, ''), -- 12028 +(12027, 0, 0x0, 0x101, ''), -- 12027 +(12338, 0, 0x0, 0x101, '18950'), -- 12338 - 18950 +(12030, 0, 0x0, 0x101, ''), -- 12030 +(11823, 0, 0x0, 0x101, ''), -- 11823 +(11877, 0, 0x0, 0x102, ''), -- 11877 +(12045, 0, 0x0, 0x101, ''), -- 12045 +(11106, 0, 0x0, 0x101, ''), -- 11106 +(10182, 0, 0x0, 0x101, ''), -- 10182 +(11105, 0, 0x0, 0x102, ''), -- 11105 +(11624, 0, 0x0, 0x101, ''), -- 11624 +(12033, 0, 0x0, 0x101, ''), -- 12033 +(12032, 0, 0x0, 0x101, ''), -- 12032 +(12031, 0, 0x0, 0x101, ''), -- 12031 +(12340, 0, 0x0, 0x101, ''), -- 12340 +(11562, 0, 0x0, 0x1, '12544'), -- 11562 - 12544 +(13699, 0, 0x0, 0x101, ''), -- 13699 +(36353, 0, 0x20000, 0x1, '34189'), -- 36353 - 34189 +(4658, 0, 0x0, 0x1, '101639'), -- 4658 - 101639 +(4693, 0, 0x0, 0x1, ''), -- 4693 +(35606, 0, 0x0, 0x1, '12544'), -- 35606 - 12544 +(11782, 0, 0x0, 0x1, '3417'), -- 11782 - 3417 +(35481, 0, 0x0, 0x101, ''), -- 35481 +(36329, 0, 0x0, 0x101, ''), -- 36329 +(51511, 0, 0x0, 0x101, ''), -- 51511 +(36185, 0, 0x0, 0x11000001, '7165'), -- 36185 - 7165 +(1182, 0, 0x0, 0x1, '29266'), -- 1182 - 29266 +(5601, 0, 0x7, 0x1, ''), -- 5601 +(4644, 0, 0x7, 0x1, ''), -- 4644 +(4668, 0, 0x8, 0x1, ''), -- 4668 +(4638, 0, 0x7, 0x1, ''), -- 4638 +(4640, 0, 0x7, 0x1, ''), -- 4640 +(4639, 0, 0x7, 0x1, ''), -- 4639 +(4641, 0, 0x7, 0x1, ''), -- 4641 +(4662, 0, 0x7, 0x1, ''), -- 4662 +(4643, 0, 0x7, 0x1, ''), -- 4643 +(4645, 0, 0x7, 0x1, ''), -- 4645 +(36845, 0, 0x0, 0x1, ''), -- 36845 +(36870, 0, 0x0, 0x1, '29266'), -- 36870 - 29266 +(36869, 0, 0x0, 0x1, '29266'), -- 36869 - 29266 +(4700, 0, 0x0, 0x1, ''), -- 4700 +(35434, 0, 0x0, 0x1, ''), -- 35434 +(36094, 0, 0x0, 0x1, '18501'), -- 36094 - 18501 +(49842, 0, 0x3000000, 0x1, ''), -- 49842 +(5412, 0, 0x0, 0x101, ''), -- 5412 +(5395, 0, 0x0, 0x101, ''), -- 5395 +(8154, 0, 0x0, 0x101, ''), -- 8154 +(41730, 0, 0x0, 0x1, '83097'), -- 41730 - 83097 +(11577, 0, 0x0, 0x1, '18148'), -- 11577 - 18148 +(5641, 0, 0x0, 0x101, ''), -- 5641 +(4498, 0, 0x0, 0x101, ''), -- 4498 +(11259, 0, 0x0, 0x101, ''), -- 11259 +(8153, 0, 0x0, 0x101, ''), -- 8153 +(8878, 0, 0x0, 0x101, ''), -- 8878 +(35450, 0, 0x0, 0x101, ''), -- 35450 +(9636, 0, 0x0, 0x101, ''), -- 9636 +(8152, 0, 0x0, 0x101, ''), -- 8152 +(62177, 0, 0x3000000, 0x1, ''), -- 62177 +(43872, 0, 0x0, 0x101, ''), -- 43872 +-- (4638, 0, 0x0, 0x2, ''), -- 4638 +(4642, 0, 0x0, 0x1, '101639'), -- 4642 - 101639 +(36134, 0, 0x0, 0x11000001, '7165'), -- 36134 - 7165 +(35478, 0, 0x0, 0x101, ''), -- 35478 +(43880, 0, 0x0, 0x101, ''), -- 43880 +(36056, 0, 0x10000, 0x11000001, '49414 7165'), -- 36056 - 49414, 7165 +(43882, 0, 0x0, 0x101, ''), -- 43882 +(66372, 0, 0x0, 0x101, ''), -- 66372 +(43887, 0, 0x0, 0x101, ''), -- 43887 +(4666, 0, 0x0, 0x1, '77617'), -- 4666 - 77617 +(4663, 0, 0x0, 0x1, '43897'), -- 4663 - 43897 +(35298, 0, 0x0, 0x101, ''), -- 35298 +(43899, 0, 0x0, 0x101, ''), -- 43899 +(35295, 0, 0x0, 0x101, ''), -- 35295 +(27946, 0, 0x0, 0x101, ''), -- 27946 +(35315, 0, 0x0, 0x101, ''), -- 35315 +(4665, 0, 0x8, 0x1, ''), -- 4665 +(4667, 0, 0x0, 0x1, '43897'), -- 4667 - 43897 +(13656, 0, 0x0, 0x101, ''), -- 13656 +(35556, 0, 0x0, 0x101, ''), -- 35556 +(41353, 0, 0x3000000, 0x1, ''), -- 41353 +(28960, 0, 0x0, 0x1, '67927'), -- 28960 - 67927 +(35363, 0, 0x0, 0x1, ''), -- 35363 +(4670, 0, 0x20000, 0x1, '77806'), -- 4670 - 77806 +(4673, 0, 0x0, 0x2, ''), -- 4673 +(41355, 0, 0x3000000, 0x1, ''), -- 41355 +(41356, 0, 0x3000000, 0x1, ''), -- 41356 +(4674, 0, 0x0, 0x1, '37816'), -- 4674 - 37816 +(8151, 0, 0x0, 0x101, '5301'), -- 8151 - 5301 +(5642, 0, 0x0, 0x101, ''), -- 5642 +(5752, 0, 0x0, 0x101, ''), -- 5752 +(5396, 0, 0x0, 0x101, ''), -- 5396 +(5638, 0, 0x0, 0x102, ''), -- 5638 +(51839, 0, 0x0, 0x101, '5301'), -- 51839 - 5301 +(11715, 0, 0x0, 0x101, ''), -- 11715 +(1322, 0, 0x0, 0x101, ''), -- 1322 +(12960, 0, 0x0, 0x101, ''), -- 12960 +(8150, 0, 0x0, 0x101, ''), -- 8150 +(11104, 0, 0x0, 0x101, ''), -- 11104 +(11103, 0, 0x0, 0x101, ''), -- 11103 +(6706, 0, 0x0, 0x101, ''), -- 6706 +(13698, 0, 0x0, 0x101, ''), -- 13698 +(35286, 0, 0x10007, 0x101, '49414'), -- 35286 - 49414 +(35287, 0, 0x10000, 0x1, '49414'), -- 35287 - 49414 +(4712, 0, 0x0, 0x1, '77894'), -- 4712 - 77894 +(35842, 0, 0x0, 0x1, '68174'), -- 35842 - 68174 +(35562, 0, 0x0, 0x101, ''), -- 35562 +(35827, 0, 0x0, 0x1, '12544'), -- 35827 - 12544 +(4719, 0, 0x0, 0x1, '12544'), -- 4719 - 12544 +(35828, 0, 0x2000000, 0x1, ''); -- 35828 + +DELETE FROM `npc_vendor` WHERE `entry` IN (43899, 43880, 43887); +INSERT INTO `npc_vendor` (`entry`, `item`, `slot`, `maxcount`, `ExtendedCost`) VALUES +-- 43899 +(43899, 117, 1, 0, 0), -- 117 +(43899, 2287, 2, 0, 0), -- 2287 +(43899, 3770, 3, 0, 0), -- 3770 +(43899, 3771, 4, 0, 0), -- 3771 +(43899, 4599, 5, 0, 0), -- 4599 +(43899, 8952, 6, 0, 0), -- 8952 +(43899, 787, 7, 0, 0), -- 787 +(43899, 4592, 8, 0, 0), -- 4592 +(43899, 4593, 9, 0, 0), -- 4593 +(43899, 4594, 10, 0, 0), -- 4594 +(43899, 21552, 11, 0, 0), -- 21552 +(43899, 8957, 12, 0, 0), -- 8957 +(43899, 4604, 13, 0, 0), -- 4604 +(43899, 4605, 14, 0, 0), -- 4605 +(43899, 4606, 15, 0, 0), -- 4606 +(43899, 4607, 16, 0, 0), -- 4607 +(43899, 4608, 17, 0, 0), -- 4608 +(43899, 8948, 18, 0, 0), -- 8948 +(43899, 159, 19, 0, 0), -- 159 +(43899, 1179, 20, 0, 0), -- 1179 +(43899, 1205, 21, 0, 0), -- 1205 +(43899, 1708, 22, 0, 0), -- 1708 +(43899, 1645, 23, 0, 0), -- 1645 +(43899, 8766, 24, 0, 0), -- 8766 +-- 43880 +(43880, 7005, 1, 0, 0), -- 7005 +(43880, 4289, 2, 0, 0), -- 4289 +(43880, 2320, 3, 0, 0), -- 2320 +(43880, 2321, 4, 0, 0), -- 2321 +(43880, 4291, 5, 0, 0), -- 4291 +(43880, 8343, 6, 0, 0), -- 8343 +(43880, 14341, 7, 0, 0), -- 14341 +(43880, 38426, 8, 0, 0), -- 38426 +(43880, 2325, 9, 0, 0), -- 2325 +(43880, 6260, 10, 0, 0), -- 6260 +(43880, 2604, 11, 0, 0), -- 2604 +(43880, 2605, 12, 0, 0), -- 2605 +(43880, 4340, 13, 0, 0), -- 4340 +(43880, 4341, 14, 0, 0), -- 4341 +(43880, 6261, 15, 0, 0), -- 6261 +(43880, 4342, 16, 0, 0), -- 4342 +(43880, 10290, 17, 0, 0), -- 10290 +-- 43887 +(43887, 64670, 1, 0, 0), -- 64670 +(43887, 63388, 2, 0, 0), -- 63388 +(43887, 79249, 3, 0, 0); -- 79249 + +DELETE FROM `gossip_menu` WHERE (`entry`=10778 AND `text_id`=14942); +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(10778, 14942); -- 36060 + +-- desolcacesais + +-- Accursed Slitherblade SAI +SET @ENTRY := 14229; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,15000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Accursed Slitherblade - In Combat - Cast 'Slitherstrike'"), +(@ENTRY,0,1,0,0,0,100,0,4000,7000,17000,22000,11,7947,0,0,0,0,0,2,0,0,0,0,0,0,0,"Accursed Slitherblade - In Combat - Cast 'Localized Toxin'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Accursed Slitherblade - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Agogridon SAI +SET @ENTRY := 36442; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,6000,9000,25000,27000,11,11990,0,0,0,0,0,4,0,0,0,0,0,0,0,"Agogridon - In Combat - Cast 'Rain of Fire'"), +(@ENTRY,0,1,0,0,0,100,0,4000,5000,20000,33000,11,16727,0,0,0,0,0,1,0,0,0,0,0,0,0,"Agogridon - In Combat - Cast 'War Stomp'"), +(@ENTRY,0,2,0,0,0,100,0,2000,7000,15000,18000,11,15090,0,0,0,0,0,1,0,0,0,0,0,0,0,"Agogridon - In Combat - Cast 'Dispel Magic'"), +(@ENTRY,0,3,0,0,0,100,0,3000,9000,33000,41000,11,20812,0,0,0,0,0,2,0,0,0,0,0,0,0,"Agogridon - In Combat - Cast 'Cripple'"), +(@ENTRY,0,4,0,6,0,100,1,0,0,0,0,11,68734,3,0,0,0,0,7,0,0,0,0,0,0,0,"Agogridon - On Just Died - Cast 'Agogridon Kill Credit' (No Repeat)"); + +-- Blubbergut SAI +SET @ENTRY := 36206; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3000,21000,24000,11,77962,0,0,0,0,0,2,0,0,0,0,0,0,0,"Blubbergut - In Combat - Cast 'Blubberbite'"); + +-- Brendol SAI +SET @ENTRY := 36353; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,34189,0,0,0,0,0,1,0,0,0,0,0,0,0,"Brendol - On Respawn - Cast 'Stealth' (No Repeat)"), +(@ENTRY,0,1,0,7,0,100,1,0,0,0,0,11,34189,0,0,0,0,0,1,0,0,0,0,0,0,0,"Brendol - On Evade - Cast 'Stealth' (No Repeat)"); + +-- Burning Blade Adept SAI +SET @ENTRY := 4665; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,77703,64,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Adept - In Combat - Cast 'Magma Burst'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Adept - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,9,0,100,0,0,8,21000,22000,11,77695,1,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Adept - Within 0-8 Range - Cast 'Dragon's Breath'"), +(@ENTRY,0,4,0,0,0,100,0,4000,5000,60000,65000,11,77645,1,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Adept - In Combat - Cast 'Felblood'"); + +-- Burning Blade Augur SAI +SET @ENTRY := 4663; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,77721,64,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Augur - In Combat - Cast 'Shadow Weave'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Augur - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,9,0,100,0,0,8,20000,24000,11,77718,1,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Augur - Within 0-8 Range - Cast 'Shadowflame'"), +(@ENTRY,0,3,0,0,0,100,0,4000,5000,60000,65000,11,77645,1,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Augur - In Combat - Cast 'Felblood'"); + +-- Burning Blade Felsworn SAI +SET @ENTRY := 4666; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,60000,65000,11,77645,1,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Felsworn - In Combat - Cast 'Felblood'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Felsworn - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Burning Blade Reaver SAI +SET @ENTRY := 4664; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,60000,65000,11,77645,0,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Reaver - In Combat - Cast 'Felblood'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,15000,22000,11,77670,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Reaver - Within 0-5 Range - Cast 'Fire Whirl'"); + +-- Burning Blade Shadowmage SAI +SET @ENTRY := 4667; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,74919,2,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Shadowmage - Out of Combat - Cast 'Shadow Channeling' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,2000,3000,60000,65000,11,77645,0,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Shadowmage - In Combat - Cast 'Felblood'"), +(@ENTRY,0,2,0,2,0,100,0,0,40,14000,21000,11,9657,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Shadowmage - Between 0-40% Health - Cast 'Shadow Shell'"), +(@ENTRY,0,3,0,0,0,100,0,6000,7000,15000,21000,11,77722,0,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Shadowmage - In Combat - Cast 'Void Whip'"), +(@ENTRY,0,4,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Shadowmage - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Burning Blade Summoner SAI +SET @ENTRY := 4668; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,20825,64,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Summoner - In Combat - Cast 'Shadow Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Summoner - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,1,0,100,1,3000,5000,0,0,11,11939,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Summoner - Out of Combat - Cast 'Summon Imp' (No Repeat)"), +(@ENTRY,0,3,0,0,0,100,0,4000,5000,60000,65000,11,77645,1,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Summoner - In Combat - Cast 'Felblood'"); + +-- Imp Minion SAI +SET @ENTRY := 12922; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,20801,64,0,0,0,0,2,0,0,0,0,0,0,0,"Imp Minion - In Combat - Cast 'Firebolt'"); + +-- Burning Blade Warlock SAI +SET @ENTRY := 36414; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,20825,64,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Warlock - In Combat - Cast 'Shadow Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Warlock - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,1,0,50,1,3000,5000,0,0,11,11939,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Warlock - Out of Combat - Cast 'Summon Imp' (No Repeat)"), +(@ENTRY,0,3,0,0,0,100,0,5000,5000,30000,35000,11,11980,1,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Warlock - In Combat - Cast 'Curse of Weakness'"), +(@ENTRY,0,4,0,1,0,50,1,3000,5000,0,0,11,78060,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Warlock - Out of Combat - Cast 'Summon Succubus' (No Repeat)"); + +-- Burning Blade Warlock SAI +SET @ENTRY := 35452; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,20825,64,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Warlock - In Combat - Cast 'Shadow Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Warlock - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,1,0,50,1,3000,5000,0,0,11,11939,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Warlock - Out of Combat - Cast 'Summon Imp' (No Repeat)"), +(@ENTRY,0,3,0,0,0,100,0,5000,5000,30000,35000,11,11980,1,0,0,0,0,2,0,0,0,0,0,0,0,"Burning Blade Warlock - In Combat - Cast 'Curse of Weakness'"), +(@ENTRY,0,4,0,1,0,50,1,3000,5000,0,0,11,78060,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Blade Warlock - Out of Combat - Cast 'Summon Succubus' (No Repeat)"); + +-- Burning Minion SAI +SET @ENTRY := 41329; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,5000,8000,25000,30000,11,77428,0,0,0,0,0,1,0,0,0,0,0,0,0,"Burning Minion - In Combat - Cast 'Hellfire'"); + +-- Carrion Horror SAI +SET @ENTRY := 4695; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3000,25000,27000,11,3427,0,0,0,0,0,2,0,0,0,0,0,0,0,"Carrion Horror - In Combat - Cast 'Infected Wound'"); + +-- Chained Thunder SAI +SET @ENTRY := 41443; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,6000,15000,22000,11,77556,0,0,0,0,0,1,0,0,0,0,0,0,0,"Chained Thunder - In Combat - Cast 'Thunderstorm'"); + +-- Crusty SAI +SET @ENTRY := 18241; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,20000,11,78744,0,0,0,0,0,2,0,0,0,0,0,0,0,"Crusty - In Combat - Cast 'Bubblebeam'"), +(@ENTRY,0,1,0,0,0,100,0,6000,8000,22000,27000,11,5424,0,0,0,0,0,2,0,0,0,0,0,0,0,"Crusty - In Combat - Cast 'Claw Grasp'"), +(@ENTRY,0,2,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Crusty - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Demon Portal Guardian SAI +SET @ENTRY := 11937; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,6000,15000,16000,11,77522,0,0,0,0,0,2,0,0,0,0,0,0,0,"Demon Portal Guardian - In Combat - Cast 'Swoop'"), +(@ENTRY,0,1,0,0,0,100,0,2000,3000,60000,65000,11,77645,0,0,0,0,0,2,0,0,0,0,0,0,0,"Demon Portal Guardian - In Combat - Cast 'Felblood'"); + +-- Doomguard Defender SAI +SET @ENTRY := 36441; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,6000,9000,25000,27000,11,11990,0,0,0,0,0,4,0,0,0,0,0,0,0,"Doomguard Defender - In Combat - Cast 'Rain of Fire'"), +(@ENTRY,0,1,0,0,0,100,0,4000,5000,20000,33000,11,16727,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doomguard Defender - In Combat - Cast 'War Stomp'"), +(@ENTRY,0,2,0,0,0,100,0,2000,7000,15000,18000,11,15090,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doomguard Defender - In Combat - Cast 'Dispel Magic'"), +(@ENTRY,0,3,0,0,0,100,0,3000,9000,33000,41000,11,20812,0,0,0,0,0,2,0,0,0,0,0,0,0,"Doomguard Defender - In Combat - Cast 'Cripple'"); + +-- Doomguard Invader SAI +SET @ENTRY := 36412; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,6000,9000,25000,27000,11,11990,0,0,0,0,0,4,0,0,0,0,0,0,0,"Doomguard Invader - In Combat - Cast 'Rain of Fire'"), +(@ENTRY,0,1,0,0,0,100,0,4000,5000,20000,33000,11,16727,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doomguard Invader - In Combat - Cast 'War Stomp'"), +(@ENTRY,0,2,0,0,0,100,0,2000,7000,15000,18000,11,15090,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doomguard Invader - In Combat - Cast 'Dispel Magic'"), +(@ENTRY,0,3,0,0,0,100,0,3000,9000,33000,41000,11,20812,0,0,0,0,0,2,0,0,0,0,0,0,0,"Doomguard Invader - In Combat - Cast 'Cripple'"); + +-- Doomguard Invader SAI +SET @ENTRY := 35454; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,6000,9000,25000,27000,11,11990,0,0,0,0,0,4,0,0,0,0,0,0,0,"Doomguard Invader - In Combat - Cast 'Rain of Fire'"), +(@ENTRY,0,1,0,0,0,100,0,4000,5000,20000,33000,11,16727,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doomguard Invader - In Combat - Cast 'War Stomp'"), +(@ENTRY,0,2,0,0,0,100,0,2000,7000,15000,18000,11,15090,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doomguard Invader - In Combat - Cast 'Dispel Magic'"), +(@ENTRY,0,3,0,0,0,100,0,3000,9000,33000,41000,11,20812,0,0,0,0,0,2,0,0,0,0,0,0,0,"Doomguard Invader - In Combat - Cast 'Cripple'"); + +-- Doomwarder SAI +SET @ENTRY := 4677; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,7000,14000,16000,11,22859,0,0,0,0,0,2,0,0,0,0,0,0,0,"Doomwarder - In Combat - Cast 'Mortal Cleave'"), +(@ENTRY,0,1,0,0,0,100,0,2000,3000,60000,65000,11,77645,0,0,0,0,0,2,0,0,0,0,0,0,0,"Doomwarder - In Combat - Cast 'Felblood'"), +(@ENTRY,0,2,0,0,0,100,0,7000,9000,25000,28000,11,13730,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doomwarder - In Combat - Cast 'Demoralizing Shout'"), +(@ENTRY,0,3,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Doomwarder - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Dread Flyer SAI +SET @ENTRY := 4693; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4000,17000,22000,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dread Flyer - In Combat - Cast 'Disarm'"); + +-- Dread Ripper SAI +SET @ENTRY := 4694; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3000,15000,19000,11,3147,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dread Ripper - In Combat - Cast 'Rend Flesh'"); + +-- Dread Swoop SAI +SET @ENTRY := 4692; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,3000,18500,21200,11,77522,0,0,0,0,0,2,0,0,0,0,0,0,0,"Dread Swoop - In Combat - Cast 'Swoop'"); + +-- Drysnap Crawler SAI +SET @ENTRY := 11562; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,500,1000,600000,600000,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drysnap Crawler - Out of Combat - Cast 'Frost Armor'"), +(@ENTRY,0,1,0,0,0,100,0,2000,4500,12000,18000,11,12548,0,0,0,0,0,2,0,0,0,0,0,0,0,"Drysnap Crawler - In Combat - Cast 'Frost Shock'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drysnap Crawler - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Drysnap Pincer SAI +SET @ENTRY := 11563; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,5,24000,27000,11,13444,0,0,0,0,0,2,0,0,0,0,0,0,0,"Drysnap Pincer - Within 0-5 Range - Cast 'Sunder Armor'"), +(@ENTRY,0,1,0,0,0,100,0,4000,4500,21000,22000,11,13443,0,0,0,0,0,2,0,0,0,0,0,0,0,"Drysnap Pincer - In Combat - Cast 'Rend'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drysnap Pincer - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Drysnap Pincer - Between 0-15% Health - Say Line 0 (No Repeat)"); + +-- Elder Thunder Lizard SAI +SET @ENTRY := 4727; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4500,12000,15000,11,5401,0,0,0,0,0,2,0,0,0,0,0,0,0,"Elder Thunder Lizard - In Combat - Cast 'Lizard Bolt'"); + +-- Enraged Kodo SAI +SET @ENTRY := 36094; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,18000,22000,11,5568,0,0,0,0,0,1,0,0,0,0,0,0,0,"Enraged Kodo - In Combat - Cast 'Trample'"), +(@ENTRY,0,1,0,2,0,100,1,0,30,0,0,11,18501,0,0,0,0,0,1,0,0,0,0,0,0,0,"Enraged Kodo - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Enraged Reef Crawler SAI +SET @ENTRY := 12347; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Enraged Reef Crawler - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Gelkis Earthcaller SAI +SET @ENTRY := 4651; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,1,3000,5000,0,0,11,9653,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Earthcaller - Out of Combat - Cast 'Summon Gelkis Rumbler' (No Repeat)"), +(@ENTRY,0,1,0,9,0,100,0,0,20,18000,27000,11,13281,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gelkis Earthcaller - Within 0-20 Range - Cast 'Earth Shock'"), +(@ENTRY,0,2,0,0,0,100,0,4000,5000,15000,16000,11,77975,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gelkis Earthcaller - In Combat - Cast 'Earth Spike'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Earthcaller - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Gelkis Marauder SAI +SET @ENTRY := 4653; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Marauder - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,2000,3500,12000,15000,11,77993,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gelkis Marauder - In Combat - Cast 'Concussive Strike'"); + +-- Gelkis Outrunner SAI +SET @ENTRY := 4646; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,1,4,0,100,1,0,0,0,0,11,78011,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gelkis Outrunner - On Aggro - Cast 'Throw' (No Repeat)"), +(@ENTRY,0,1,0,61,0,100,1,0,0,0,0,11,66060,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Outrunner - On Aggro - Cast 'Sprint' (No Repeat)"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Outrunner - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Gelkis Stamper SAI +SET @ENTRY := 4648; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,8,15000,19000,11,8078,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Stamper - Within 0-8 Range - Cast 'Thunderclap'"), +(@ENTRY,0,1,0,0,0,100,0,4000,5000,21000,22000,11,5568,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Stamper - In Combat - Cast 'Trample'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gelkis Stamper - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Ghost Walker Brave SAI +SET @ENTRY := 8154; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,95826,64,0,0,0,0,2,0,0,0,0,0,0,0,"Ghost Walker Brave - In Combat - Cast 'Shoot'"), +(@ENTRY,0,1,5,9,0,100,0,0,5,12000,15000,11,40505,1,0,0,0,0,2,0,0,0,0,0,0,0,"Ghost Walker Brave - Within 0-5 Range - Cast 'Cleave'"); + +-- Giggler SAI +SET @ENTRY := 14228; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,25000,26000,11,3150,0,0,0,0,0,2,0,0,0,0,0,0,0,"Giggler - In Combat - Cast 'Rabies'"); + +-- Gritjaw Basilisk SAI +SET @ENTRY := 4728; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,18000,25000,11,77503,0,0,0,0,0,2,0,0,0,0,0,0,0,"Gritjaw Basilisk - In Combat - Cast 'Petrifying Stare'"); + +-- Hatefury Betrayer SAI +SET @ENTRY := 4673; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Hatefury Betrayer - In Combat - Cast 'Shoot'"), +(@ENTRY,0,1,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Betrayer - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Hatefury Felsworn SAI +SET @ENTRY := 4672; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4500,18000,22000,11,77469,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hatefury Felsworn - In Combat - Cast 'Taint of Sargeras'"); + +-- Hatefury Hellcaller SAI +SET @ENTRY := 4675; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,4500,21000,25000,11,77425,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hatefury Hellcaller - In Combat - Cast 'Immolate'"), +(@ENTRY,0,1,0,1,0,100,1,3000,5000,0,0,11,77426,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Hellcaller - Out of Combat - Cast 'Summon Burning Minion' (No Repeat)"); + +-- Hatefury Rogue SAI +SET @ENTRY := 4670; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,77806,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Rogue - On Respawn - Cast 'Stealth' (No Repeat)"), +(@ENTRY,0,1,0,7,0,100,1,0,0,0,0,11,77806,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Rogue - On Evade - Cast 'Stealth' (No Repeat)"); + +-- Hatefury Shadowstalker SAI +SET @ENTRY := 4674; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,0,0,30,45000,51000,11,77471,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Shadowstalker - Between 0-30% Health - Cast 'Shadow Shield'"); + +-- Hatefury Trickster SAI +SET @ENTRY := 4671; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,1784,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Trickster - On Respawn - Cast 'Stealth' (No Repeat)"), +(@ENTRY,0,1,0,7,0,100,1,0,0,0,0,11,1784,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Trickster - On Evade - Cast 'Stealth' (No Repeat)"), +(@ENTRY,0,2,0,4,0,100,1,0,0,0,0,11,77457,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Trickster - On Aggro - Cast 'Dazzling Lights' (No Repeat)"), +(@ENTRY,0,3,0,2,0,100,0,0,45,25000,33000,11,77438,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hatefury Trickster - Between 0-45% Health - Cast 'Vanish'"); + +-- Heretic Crystal Guard SAI +SET @ENTRY := 26166; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,5,18000,19000,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Heretic Crystal Guard - Within 0-5 Range - Cast 'Hamstring'"), +(@ENTRY,0,1,0,0,0,100,0,4000,4500,12000,20000,11,7947,32,0,0,0,0,2,0,0,0,0,0,0,0,"Heretic Crystal Guard - In Combat - Cast 'Localized Toxin'"), +(@ENTRY,0,2,0,0,0,100,0,2000,3000,25000,26000,11,11977,32,0,0,0,0,2,0,0,0,0,0,0,0,"Heretic Crystal Guard - In Combat - Cast 'Rend'"), +(@ENTRY,0,3,0,0,0,100,0,5000,11000,17000,33000,11,77921,32,0,0,0,0,2,0,0,0,0,0,0,0,"Heretic Crystal Guard - In Combat - Cast 'Slitherstrike'"); + +-- Hissperak SAI +SET @ENTRY := 14227; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,18000,25000,11,77503,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hissperak - In Combat - Cast 'Petrifying Stare'"); + +-- Hulking Gritjaw Basilisk SAI +SET @ENTRY := 4729; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,18000,25000,11,77503,0,0,0,0,0,2,0,0,0,0,0,0,0,"Hulking Gritjaw Basilisk - In Combat - Cast 'Petrifying Stare'"); + +-- Imp Minion SAI +SET @ENTRY := 41873; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,20801,64,0,0,0,0,2,0,0,0,0,0,0,0,"Imp Minion - In Combat - Cast 'Firebolt'"); + +-- Jorreth SAI +SET @ENTRY := 36183; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,14000,11,77522,0,0,0,0,0,2,0,0,0,0,0,0,0,"Jorreth - In Combat - Cast 'Swoop'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Jorreth - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Jugkar Grim'rod SAI +SET @ENTRY := 5771; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,20801,64,0,0,0,0,2,0,0,0,0,0,0,0,"Jugkar Grim'rod - In Combat - Cast 'Firebolt'"), +(@ENTRY,0,1,0,0,0,100,0,7000,9000,25000,28000,11,12741,1,0,0,0,0,2,0,0,0,0,0,0,0,"Jugkar Grim'rod - In Combat - Cast 'Curse of Weakness'"), +(@ENTRY,0,2,0,0,0,100,0,12000,15000,33000,35000,11,20787,1,0,0,0,0,2,0,0,0,0,0,0,0,"Jugkar Grim'rod - In Combat - Cast 'Immolate'"); + +-- Kaskk SAI +SET @ENTRY := 14226; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,25000,26000,11,13730,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kaskk - In Combat - Cast 'Demoralizing Shout'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,17000,22000,11,22859,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kaskk - Within 0-5 Range - Cast 'Mortal Cleave'"); + +-- Khan Kammah SAI +SET @ENTRY := 36446; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,7164,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Kammah - On Aggro - Cast 'Defensive Stance' (No Repeat)"), +(@ENTRY,0,1,0,13,0,100,0,2000,4500,20000,30000,11,11972,0,0,0,0,0,2,0,0,0,0,0,0,0,"Khan Kammah - On Victim Casting 'Alexander's Test Periodic Aura' - Cast 'Shield Bash'"); + +-- Khan Leh'Prah SAI +SET @ENTRY := 36486; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Leh'Prah - On Aggro - Cast 'Battle Stance' (No Repeat)"); + +-- Khan Leh'Prah SAI +SET @ENTRY := 36398; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Leh'Prah - On Aggro - Cast 'Battle Stance' (No Repeat)"); + +-- Khan Leh'Prah SAI +SET @ENTRY := 36444; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Leh'Prah - On Aggro - Cast 'Battle Stance' (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,2000,4500,12000,15000,11,25710,0,0,0,0,0,2,0,0,0,0,0,0,0,"Khan Leh'Prah - In Combat - Cast 'Heroic Strike'"); + +-- Khan Shodo SAI +SET @ENTRY := 36185; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Shodo - On Aggro - Cast 'Battle Stance' (No Repeat)"); + +-- Khan Shodo SAI +SET @ENTRY := 36445; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Shodo - On Aggro - Cast 'Battle Stance' (No Repeat)"), +(@ENTRY,0,1,0,9,0,100,0,0,5,21000,22000,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Khan Shodo - Within 0-5 Range - Cast 'Hamstring'"), +(@ENTRY,0,2,0,0,0,100,0,4000,5000,25000,27000,11,11977,0,0,0,0,0,2,0,0,0,0,0,0,0,"Khan Shodo - In Combat - Cast 'Rend'"); + +-- Khan Shodo SAI +SET @ENTRY := 36487; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Khan Shodo - On Aggro - Cast 'Battle Stance' (No Repeat)"); + +-- Kohor SAI +SET @ENTRY := 35632; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,77722,64,0,0,0,0,2,0,0,0,0,0,0,0,"Kohor - In Combat - Cast 'Void Whip'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kohor - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,3,0,2,0,100,0,0,40,14000,15000,11,9657,1,0,0,0,0,1,0,0,0,0,0,0,0,"Kohor - Between 0-40% Health - Cast 'Shadow Shell'"); + +-- Kolkar Ambusher SAI +SET @ENTRY := 12977; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,8258,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Ambusher - On Aggro - Cast 'Devotion Aura' (No Repeat)"), +(@ENTRY,0,1,0,11,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Ambusher - On Respawn - Cast 'Battle Stance' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,2000,4500,12000,14000,11,25710,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kolkar Ambusher - In Combat - Cast 'Heroic Strike'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Ambusher - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Kolkar Prisoner SAI +SET @ENTRY := 36137; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Prisoner - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Kolkar Warmonger SAI +SET @ENTRY := 36150; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,8258,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Warmonger - On Aggro - Cast 'Devotion Aura' (No Repeat)"), +(@ENTRY,0,1,0,11,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Warmonger - On Respawn - Cast 'Battle Stance' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,2000,4500,12000,14000,11,25710,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kolkar Warmonger - In Combat - Cast 'Heroic Strike'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Warmonger - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Kolkar Waylayer SAI +SET @ENTRY := 12976; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,9532,64,0,0,0,0,2,0,0,0,0,0,0,0,"Kolkar Waylayer - In Combat - Cast 'Lightning Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kolkar Waylayer - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,3,0,0,0,100,0,6000,8000,21000,22000,11,6728,0,0,0,0,0,4,0,0,0,0,0,0,0,"Kolkar Waylayer - In Combat - Cast 'Enveloping Winds'"); + +-- Lesser Infernal SAI +SET @ENTRY := 35591; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,2000,31000,35000,11,2601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lesser Infernal - In Combat - Cast 'Fire Shield'"); + +-- Lord Azrethoc SAI +SET @ENTRY := 5760; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,8000,22000,27000,11,68545,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lord Azrethoc - In Combat - Cast 'Lord Azrethoc's Bellow'"), +(@ENTRY,0,1,0,0,0,100,0,2000,3000,18000,25000,11,68548,0,0,0,0,0,2,0,0,0,0,0,0,0,"Lord Azrethoc - In Combat - Cast 'Shadow Torch'"), +(@ENTRY,0,2,0,2,0,100,1,0,30,0,0,11,68541,0,0,0,0,0,1,0,0,0,0,0,0,0,"Lord Azrethoc - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Mage Hunter SAI +SET @ENTRY := 4681; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,60000,65000,11,77645,0,0,0,0,0,2,0,0,0,0,0,0,0,"Mage Hunter - In Combat - Cast 'Felblood'"), +(@ENTRY,0,1,0,9,0,100,0,0,5,25000,26000,11,3429,32,0,0,0,0,2,0,0,0,0,0,0,0,"Mage Hunter - Within 0-5 Range - Cast 'Plague Mind'"); + +-- Magram Defender SAI +SET @ENTRY := 36159; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,15000,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,"Magram Defender - In Combat - Cast 'Cleave'"), +(@ENTRY,0,1,0,4,0,100,1,0,0,0,0,11,7366,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Defender - On Aggro - Cast 'Berserker Stance' (No Repeat)"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Defender - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Magram Mauler SAI +SET @ENTRY := 4645; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,18000,21000,11,77558,0,0,0,0,0,2,0,0,0,0,0,0,0,"Magram Mauler - In Combat - Cast 'Bloody Strike'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Mauler - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Magram Scout SAI +SET @ENTRY := 4638; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Magram Scout - In Combat - Cast 'Shoot'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Scout - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,3,0,0,0,100,0,4000,4500,21000,24000,11,77567,1,0,0,0,0,2,0,0,0,0,0,0,0,"Magram Scout - In Combat - Cast 'Mark of the Magram'"), +(@ENTRY,0,4,0,0,0,100,0,3000,8000,35000,44000,11,28822,1,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Scout - In Combat - Cast 'Flare'"); + +-- Magram Stormer SAI +SET @ENTRY := 4642; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,22000,27000,11,6535,0,0,0,0,0,4,0,0,0,0,0,0,0,"Magram Stormer - In Combat - Cast 'Lightning Cloud'"), +(@ENTRY,0,1,0,1,0,100,0,500,1000,600000,600000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Stormer - Out of Combat - Cast 'Lightning Shield'"), +(@ENTRY,0,2,0,16,0,100,0,19514,1,15000,30000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Stormer - On Friendly Unit Missing Buff 'Lightning Shield' - Cast 'Lightning Shield'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Stormer - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Magram Warden SAI +SET @ENTRY := 36134; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,4,0,100,1,0,0,0,0,11,8258,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Warden - On Aggro - Cast 'Devotion Aura' (No Repeat)"), +(@ENTRY,0,1,0,11,0,100,1,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Warden - On Respawn - Cast 'Battle Stance' (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,2000,4500,12000,14000,11,25710,0,0,0,0,0,2,0,0,0,0,0,0,0,"Magram Warden - In Combat - Cast 'Heroic Strike'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Warden - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Magram Windchaser SAI +SET @ENTRY := 4641; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,77160,64,0,0,0,0,2,0,0,0,0,0,0,0,"Magram Windchaser - In Combat - Cast 'Nimbus Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Windchaser - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,3,0,0,0,100,0,4000,6000,25000,28000,11,77553,1,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Windchaser - In Combat - Cast 'Summon Chained Thunder'"); + +-- Magram Wrangler SAI +SET @ENTRY := 4640; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,20,9000,11000,11,6533,0,0,0,0,0,2,0,0,0,0,0,0,0,"Magram Wrangler - Within 0-20 Range - Cast 'Net'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Magram Wrangler - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Magrami Spectre SAI +SET @ENTRY := 11560; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,5000,9000,15000,21000,11,18159,0,0,0,0,0,2,0,0,0,0,0,0,0,"Magrami Spectre - In Combat - Cast 'Curse of the Fallen Magram'"), +(@ENTRY,0,1,0,9,0,100,0,0,30,15000,18000,11,12531,0,0,0,0,0,2,0,0,0,0,0,0,0,"Magrami Spectre - Within 0-30 Range - Cast 'Chilling Touch'"); + +-- Maraudine Marauder SAI +SET @ENTRY := 4659; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Marauder - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,2000,3500,12000,15000,11,77993,0,0,0,0,0,2,0,0,0,0,0,0,0,"Maraudine Marauder - In Combat - Cast 'Concussive Strike'"); + +-- Maraudine Mauler SAI +SET @ENTRY := 4656; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,18000,21000,11,77558,0,0,0,0,0,2,0,0,0,0,0,0,0,"Maraudine Mauler - In Combat - Cast 'Bloody Strike'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Mauler - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Maraudine Scout SAI +SET @ENTRY := 4654; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,"Maraudine Scout - In Combat - Cast 'Shoot'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Scout - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Maraudine Stormer SAI +SET @ENTRY := 4658; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,22000,27000,11,6535,0,0,0,0,0,4,0,0,0,0,0,0,0,"Maraudine Stormer - In Combat - Cast 'Lightning Cloud'"), +(@ENTRY,0,1,0,1,0,100,0,500,1000,600000,600000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Stormer - Out of Combat - Cast 'Lightning Shield'"), +(@ENTRY,0,2,0,16,0,100,0,19514,1,15000,30000,11,19514,0,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Stormer - On Friendly Unit Missing Buff 'Lightning Shield' - Cast 'Lightning Shield'"), +(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Stormer - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Maraudine Windchaser SAI +SET @ENTRY := 4657; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,77160,64,0,0,0,0,2,0,0,0,0,0,0,0,"Maraudine Windchaser - In Combat - Cast 'Nimbus Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Windchaser - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,4000,6000,25000,28000,11,77553,1,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Windchaser - In Combat - Cast 'Summon Chained Thunder'"); + +-- Maraudine Wrangler SAI +SET @ENTRY := 4655; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,9,0,100,0,0,20,9000,11000,11,6533,0,0,0,0,0,2,0,0,0,0,0,0,0,"Maraudine Wrangler - Within 0-20 Range - Cast 'Net'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Maraudine Wrangler - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Nether Maiden SAI +SET @ENTRY := 4679; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,60000,65000,11,77645,0,0,0,0,0,2,0,0,0,0,0,0,0,"Nether Maiden - In Combat - Cast 'Felblood'"), +(@ENTRY,0,1,0,0,0,100,0,2000,8000,35000,38000,11,78026,0,0,0,0,0,4,0,0,0,0,0,0,0,"Nether Maiden - In Combat - Cast 'Void Zone'"); + +-- Nether Sorceress SAI +SET @ENTRY := 4684; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,20297,64,0,0,0,0,2,0,0,0,0,0,0,0,"Nether Sorceress - In Combat - Cast 'Frostbolt'"), +(@ENTRY,0,1,0,9,0,100,0,0,8,13600,14500,11,11831,1,0,0,0,0,1,0,0,0,0,0,0,0,"Nether Sorceress - Within 0-8 Range - Cast 'Frost Nova'"), +(@ENTRY,0,2,0,9,0,100,0,0,5,15000,22000,11,15968,1,0,0,0,0,2,0,0,0,0,0,0,0,"Nether Sorceress - Within 0-5 Range - Cast 'Lash of Pain'"); + +-- Nijel's Point Guard SAI +SET @ENTRY := 8151; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,95826,64,0,0,0,0,2,0,0,0,0,0,0,0,"Nijel's Point Guard - In Combat - Cast 'Shoot'"), +(@ENTRY,0,1,5,9,0,100,0,0,5,11000,17000,11,12170,0,0,0,0,0,2,0,0,0,0,0,0,0,"Nijel's Point Guard - Within 0-5 Range - Cast 'Revenge'"), +(@ENTRY,0,2,5,9,0,100,0,0,4,19000,22000,11,12169,0,0,0,0,0,1,0,0,0,0,0,0,0,"Nijel's Point Guard - Within 0-4 Range - Cast 'Shield Block'"); + +-- Outcast Necromancer SAI +SET @ENTRY := 11559; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,20298,64,0,0,0,0,2,0,0,0,0,0,0,0,"Outcast Necromancer - In Combat - Cast 'Shadow Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Outcast Necromancer - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,1,0,100,1,3000,5000,0,0,11,18166,0,0,0,0,0,1,0,0,0,0,0,0,0,"Outcast Necromancer - Out of Combat - Cast 'Summon Magram Ravager' (No Repeat)"); + +-- Prince Kellen SAI +SET @ENTRY := 14225; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,35913,64,0,0,0,0,2,0,0,0,0,0,0,0,"Prince Kellen - In Combat - Cast 'Fel Fireball'"), +(@ENTRY,0,1,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Prince Kellen - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Rabid Bonepaw SAI +SET @ENTRY := 4690; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,25000,26000,11,3150,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rabid Bonepaw - In Combat - Cast 'Rabies'"); + +-- Raging Thunder Lizard SAI +SET @ENTRY := 4726; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,12000,14000,11,15611,0,0,0,0,0,2,0,0,0,0,0,0,0,"Raging Thunder Lizard - In Combat - Cast 'Lizard Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,30,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Raging Thunder Lizard - Between 0-30% Health - Cast 'Enrage' (No Repeat)"); + +-- Recovering Kodo SAI +SET @ENTRY := 35434; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,4500,15000,18000,11,5568,0,0,0,0,0,1,0,0,0,0,0,0,0,"Recovering Kodo - In Combat - Cast 'Trample'"); + +-- Rejuvenated Thunder Lizard SAI +SET @ENTRY := 35412; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,12000,14000,11,15611,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rejuvenated Thunder Lizard - In Combat - Cast 'Lizard Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,6000,8000,24000,27000,11,77601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rejuvenated Thunder Lizard - In Combat - Cast 'Lightning Nova'"); + +-- Revitalized Basilisk SAI +SET @ENTRY := 35409; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,19000,23500,11,77576,0,0,0,0,0,2,0,0,0,0,0,0,0,"Revitalized Basilisk - In Combat - Cast 'Stone Breath'"); + +-- Rhoho SAI +SET @ENTRY := 36181; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,18000,21000,11,77558,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rhoho - In Combat - Cast 'Bloody Strike'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rhoho - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Rokaro SAI +SET @ENTRY := 10182; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,12000,13000,11,40504,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rokaro - In Combat - Cast 'Cleave'"), +(@ENTRY,0,1,0,0,0,100,0,6000,8000,22000,26000,11,84642,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rokaro - In Combat - Cast 'Puncture'"), +(@ENTRY,0,2,0,0,0,100,0,3000,9000,18000,25000,11,18813,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rokaro - In Combat - Cast 'Knock Away'"), +(@ENTRY,0,3,0,0,0,100,0,2000,5000,11000,13000,11,3391,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rokaro - In Combat - Cast 'Thrash'"); + +-- Scorpashi Lasher SAI +SET @ENTRY := 4697; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,7000,14000,17000,11,5416,0,0,0,0,0,2,0,0,0,0,0,0,0,"Scorpashi Lasher - In Combat - Cast 'Venom Sting'"); + +-- Scorpashi Snapper SAI +SET @ENTRY := 4696; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,7000,60000,65000,11,77517,32,0,0,0,0,2,0,0,0,0,0,0,0,"Scorpashi Snapper - In Combat - Cast 'Reckless Toxin'"); + +-- Scorpashi Venomlash SAI +SET @ENTRY := 4699; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,3000,7000,14000,17000,11,5416,0,0,0,0,0,2,0,0,0,0,0,0,0,"Scorpashi Venomlash - In Combat - Cast 'Venom Sting'"); + +-- Servant of Neptulon SAI +SET @ENTRY := 35842; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,68174,0,0,0,0,0,1,0,0,0,0,0,0,0,"Servant of Neptulon - On Respawn - Cast 'Neptulon's Blessing' (No Repeat)"), +(@ENTRY,0,1,0,9,0,100,0,0,10,17000,19000,11,79571,0,0,0,0,0,2,0,0,0,0,0,0,0,"Servant of Neptulon - Within 0-10 Range - Cast 'Cone of Cold'"), +(@ENTRY,0,2,0,0,0,100,0,2000,4500,21000,25000,11,49906,0,0,0,0,0,2,0,0,0,0,0,0,0,"Servant of Neptulon - In Combat - Cast 'Ice Lance'"), +(@ENTRY,0,3,0,0,0,100,0,5000,8000,20000,29000,11,78542,0,0,0,0,0,1,0,0,0,0,0,0,0,"Servant of Neptulon - In Combat - Cast 'Splash'"); + +-- Shadowprey Guardian SAI +SET @ENTRY := 12338; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,95826,64,0,0,0,0,2,0,0,0,0,0,0,0,"Shadowprey Guardian - In Combat - Cast 'Shoot'"); + +-- Shadowprey Orca SAI +SET @ENTRY := 36047; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,4500,15000,21000,11,50169,0,0,0,0,0,2,0,0,0,0,0,0,0,"Shadowprey Orca - In Combat - Cast 'Flipper Thwack'"); + +-- Sherik SAI +SET @ENTRY := 36182; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sherik - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,1,0,0,0,100,0,2000,3500,12000,15000,11,77993,0,0,0,0,0,2,0,0,0,0,0,0,0,"Sherik - In Combat - Cast 'Concussive Strike'"); + +-- Slitherblade Invader SAI +SET @ENTRY := 35605; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,15000,18000,11,7947,32,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Invader - In Combat - Cast 'Localized Toxin'"), +(@ENTRY,0,1,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Invader - In Combat - Cast 'Slitherstrike'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Invader - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Slitherblade Myrmidon SAI +SET @ENTRY := 4714; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,15000,18000,11,7947,32,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Myrmidon - In Combat - Cast 'Localized Toxin'"), +(@ENTRY,0,1,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Myrmidon - In Combat - Cast 'Slitherstrike'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Myrmidon - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Slitherblade Naga SAI +SET @ENTRY := 4711; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,15000,18000,11,7947,32,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Naga - In Combat - Cast 'Localized Toxin'"), +(@ENTRY,0,1,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Naga - In Combat - Cast 'Slitherstrike'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Naga - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Slitherblade Oracle SAI +SET @ENTRY := 4718; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,2,0,100,0,0,55,33000,35000,11,5605,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Oracle - Between 0-55% Health - Cast 'Healing Ward'"), +(@ENTRY,0,1,0,9,0,100,0,0,30,14000,16000,11,11436,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Oracle - Within 0-30 Range - Cast 'Slow'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Oracle - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Slitherblade Razortail SAI +SET @ENTRY := 4715; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,15000,18000,11,7947,32,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Razortail - In Combat - Cast 'Localized Toxin'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Razortail - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Slitherblade Sea Witch SAI +SET @ENTRY := 4719; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,500,1000,600000,600000,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Sea Witch - Out of Combat - Cast 'Frost Armor'"), +(@ENTRY,0,1,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Sea Witch - In Combat - Cast 'Slitherstrike'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Sea Witch - Between 0-15% Health - Flee For Assist (No Repeat)"); + +-- Slitherblade Siren SAI +SET @ENTRY := 35606; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,32011,64,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Siren - In Combat - Cast 'Water Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Siren - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,1,0,100,0,500,1000,600000,600000,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Siren - Out of Combat - Cast 'Frost Armor'"), +(@ENTRY,0,3,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Siren - In Combat - Cast 'Slitherstrike'"); + +-- Slitherblade Sorceress SAI +SET @ENTRY := 4712; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,32011,64,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Sorceress - In Combat - Cast 'Water Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Sorceress - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,3,0,1,0,100,0,500,1000,600000,600000,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Sorceress - Out of Combat - Cast 'Frost Armor'"), +(@ENTRY,0,4,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Sorceress - In Combat - Cast 'Slitherstrike'"), +(@ENTRY,0,5,0,1,0,100,1,1000,1000,1000,1000,11,45846,2,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Sorceress - Out of Combat - Cast 'Frost Channelling' (No Repeat)"); + +-- Slitherblade Tidehunter SAI +SET @ENTRY := 4716; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,2300,3900,11,10277,64,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Tidehunter - In Combat - Cast 'Throw'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Tidehunter - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Tidehunter - In Combat - Cast 'Slitherstrike'"); + +-- Slitherblade Warrior SAI +SET @ENTRY := 4713; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,15000,18000,11,7947,32,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Warrior - In Combat - Cast 'Localized Toxin'"), +(@ENTRY,0,1,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Warrior - In Combat - Cast 'Slitherstrike'"), +(@ENTRY,0,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Slitherblade Warrior - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,3,0,9,0,100,0,0,5,21000,26000,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Warrior - Within 0-5 Range - Cast 'Hamstring'"), +(@ENTRY,0,4,0,0,0,100,0,8000,11000,33000,35000,11,11977,0,0,0,0,0,2,0,0,0,0,0,0,0,"Slitherblade Warrior - In Combat - Cast 'Rend'"); + +-- Snapjaw Basilisk SAI +SET @ENTRY := 35750; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,5000,18000,25000,11,77503,0,0,0,0,0,2,0,0,0,0,0,0,0,"Snapjaw Basilisk - In Combat - Cast 'Petrifying Stare'"); + +-- Undead Ravager SAI +SET @ENTRY := 11561; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,13,0,100,0,9000,11000,0,0,11,11978,0,0,0,0,0,2,0,0,0,0,0,0,0,"Undead Ravager - On Victim Casting - Cast 'Kick'"); + +-- Uprooted Lasher SAI +SET @ENTRY := 36062; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,1000,1000,15000,24000,11,77603,0,0,0,0,0,1,0,0,0,0,0,0,0,"Uprooted Lasher - In Combat - Cast 'Uproot Lashlings'"); + +-- Valishj SAI +SET @ENTRY := 35827; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,32011,64,0,0,0,0,2,0,0,0,0,0,0,0,"Valishj - In Combat - Cast 'Water Bolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Valishj - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,3,0,1,0,100,0,500,1000,600000,600000,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Valishj - Out of Combat - Cast 'Frost Armor'"), +(@ENTRY,0,4,0,0,0,100,0,5000,8000,17000,22000,11,77921,0,0,0,0,0,2,0,0,0,0,0,0,0,"Valishj - In Combat - Cast 'Slitherstrike'"); + +-- Valishj SAI +SET @ENTRY := 35898; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,0,0,3400,4700,11,68263,64,0,0,0,0,2,0,0,0,0,0,0,0,"Valishj - In Combat - Cast 'Frostbolt'"), +(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Valishj - Between 0-15% Health - Flee For Assist (No Repeat)"), +(@ENTRY,0,2,0,1,0,100,0,500,1000,600000,600000,11,12544,0,0,0,0,0,1,0,0,0,0,0,0,0,"Valishj - Out of Combat - Cast 'Frost Armor'"); + +-- Whirlwind Ripper SAI +SET @ENTRY := 11576; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,6000,25000,32000,11,77498,0,0,0,0,0,1,0,0,0,0,0,0,0,"Whirlwind Ripper - In Combat - Cast 'Breath of Al'Akir'"); + +-- Whirlwind Shredder SAI +SET @ENTRY := 11578; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,4000,7000,24000,33000,11,77498,0,0,0,0,0,1,0,0,0,0,0,0,0,"Whirlwind Shredder - In Combat - Cast 'Breath of Al'Akir'"); + +-- Whirlwind Stormwalker SAI +SET @ENTRY := 11577; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,500,1000,300000,300000,11,18148,0,0,0,0,0,1,0,0,0,0,0,0,0,"Whirlwind Stormwalker - Out of Combat - Cast 'Static Field'"), +(@ENTRY,0,1,0,0,0,100,0,2000,4000,12000,15000,11,11824,0,0,0,0,0,2,0,0,0,0,0,0,0,"Whirlwind Stormwalker - In Combat - Cast 'Shock'"); diff --git a/sql/updates/world/2015_03_23_00_world.sql b/sql/updates/world/2015_03_23_00_world.sql new file mode 100644 index 00000000000..a8c152d1985 --- /dev/null +++ b/sql/updates/world/2015_03_23_00_world.sql @@ -0,0 +1,469 @@ +-- The Vortex Pinnacle spawns +SET @CGUID := 368176; +DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+121; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `phaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID+0, 49943, 657, 3, 1, 0, -324.8004, 7.833333, 627.0626, 2.86234, 7200, 0, 0), -- questgiver +(@CGUID+1, 53488, 657, 3, 1, 0, -338.7639, 13.66146, 627.0626, 0, 7200, 0, 0), -- summon enabler +(@CGUID+2, 21252, 657, 3, 1, 0, -356.958, 26.1406, 627.0623, 0, 7200, 0, 0), -- worldtrigger +-- Wild Vortex +(@CGUID+3, 45912, 657, 3, 1, 0, -418.019, -37.6424, 634.5143, 6.195919, 7200, 0, 0), +(@CGUID+4, 45912, 657, 3, 1, 0, -404.377, -70.6997, 634.5143, 1.204277, 7200, 0, 0), +(@CGUID+5, 45912, 657, 3, 1, 0, -502.7083, -185.8125, 638.5676, 0, 7200, 5, 1), +(@CGUID+6, 45912, 657, 3, 1, 0, -528.9051, -222.5104, 632.3754, 5.473792, 7200, 5, 1), +(@CGUID+7, 45912, 657, 3, 1, 0, -542.3109, -215.308, 630.7964, 0.7233705, 7200, 5, 1), +(@CGUID+8, 45912, 657, 3, 1, 0, -565.0833, -191.2153, 625.6744, 4.391624, 7200, 5, 1), +(@CGUID+9, 45912, 657, 3, 1, 0, -541.5673, -226.7534, 630.9402, 2.528159, 7200, 5, 1), +-- Gust Soldier +(@CGUID+10, 45477, 657, 3, 1, 0, -390.436, -64.9878, 634.5143, 1.64061, 7200, 0, 0), +(@CGUID+11, 45477, 657, 3, 1, 0, -423.58, -51.2708, 634.5143, 0.3490658, 7200, 0, 0), +(@CGUID+12, 45477, 657, 3, 1, 0, -503.1545, -194.2049, 637.6876, 0, 7200, 5, 1), +(@CGUID+13, 45477, 657, 3, 1, 0, -492.5903, -194.5208, 637.9598, 0, 7200, 5, 1), +(@CGUID+14, 45477, 657, 3, 1, 0, -492.7083, -185.1736, 638.7111, 0, 7200, 5, 1), +(@CGUID+15, 45477, 657, 3, 1, 0, -568.1024, -179.5122, 624.2385, 3.255483, 7200, 5, 1), +(@CGUID+16, 45477, 657, 3, 1, 0, -525.7846, -217.7267, 632.8151, 1.705291, 7200, 5, 1), +(@CGUID+17, 45477, 657, 3, 1, 0, -582.3148, -181.2325, 624.1856, 3.493456, 7200, 5, 1), +(@CGUID+18, 45477, 657, 3, 1, 0, -576.9833, -193.912, 625.4399, 0.177531, 7200, 5, 1), +(@CGUID+19, 45477, 657, 3, 1, 0, -599.738, -132.148, 619.8263, 5.88176, 7200, 0, 0), +(@CGUID+20, 45477, 657, 3, 1, 0, -584.417, -115.842, 619.8263, 5.113815, 7200, 0, 0), +-- Armored Mistral +(@CGUID+21, 45915, 657, 3, 1, 0, -418.155, -65.0139, 634.5143, 0.715585, 7200, 0, 0), +(@CGUID+22, 45915, 657, 3, 1, 0, -488.8311, -135.5369, 638.8159, 3.909716, 7200, 0, 0), +(@CGUID+23, 45915, 657, 3, 1, 0, -481.639, -128.589, 638.8203, 3.90972, 7200, 0, 0), +-- Lurking Tempest +(@CGUID+24, 45704, 657, 3, 1, 0, -519.0938, -152.8194, 639.0195, 0.4712389, 7200, 0, 0), +(@CGUID+25, 45704, 657, 3, 1, 0, -561.8281, -139.776, 623.7429, 4.537856, 7200, 0, 0), +(@CGUID+26, 45704, 657, 3, 1, 0, -650.0104, -65.13368, 619.8268, 5.497787, 7200, 0, 0), +-- Cloud Prince +(@CGUID+27, 45917, 657, 3, 1, 0, -592.736, -123.337, 619.8263, 5.497787, 7200, 0, 0), +(@CGUID+28, 45917, 657, 3, 1, 0, -668.6233, -63.64931, 619.8224, 5.550147, 7200, 0, 0), +(@CGUID+29, 45917, 657, 3, 1, 0, -652.717, -47.63889, 619.8234, 5.410521, 7200, 0, 0), +-- Grand Vizier Ertan +(@CGUID+30, 43878, 657, 3, 1, 0, -719.587, 4.32986, 635.7563, 5.480334, 7200, 0, 0), +-- Slipstream +(@CGUID+34, 45455, 657, 3, 1, 0, -310.4583, -29.74479, 625.0833, 0, 7200, 0, 0), +(@CGUID+35, 45455, 657, 3, 1, 0, -382.441, 42.31597, 625.0833, 0, 7200, 0, 0), +-- Turbulent Squall +(@CGUID+44, 45924, 657, 3, 1, 0, -966.16, -169.941, 670.1903, 5.759586, 7200, 0, 0), +(@CGUID+45, 45924, 657, 3, 1, 0, -975.819, -173.043, 672.6453, 5.986479, 7200, 0, 0), +(@CGUID+46, 45924, 657, 3, 1, 0, -984.875, -174.967, 676.3273, 6.091199, 7200, 0, 0), +(@CGUID+47, 45924, 657, 3, 1, 0, -996.002, -174.469, 680.3823, 6.108652, 7200, 0, 0), +(@CGUID+48, 45924, 657, 3, 1, 0, -939.155, -143.243, 670.2243, 5.201081, 7200, 0, 0), +(@CGUID+49, 45924, 657, 3, 1, 0, -936.123, -131.561, 673.4803, 4.974188, 7200, 0, 0), +(@CGUID+50, 45924, 657, 3, 1, 0, -934.01, -120.943, 677.5303, 4.869469, 7200, 0, 0), +(@CGUID+51, 45924, 657, 3, 1, 0, -935.212, -109.497, 682.0773, 4.852015, 7200, 0, 0), +(@CGUID+52, 45924, 657, 3, 1, 0, -1184.93, 25.7483, 710.1263, 6.143559, 7200, 0, 0), +(@CGUID+53, 45924, 657, 3, 1, 0, -1167.22, 52.3872, 707.8033, 5.969026, 7200, 0, 0), +(@CGUID+54, 45924, 657, 3, 1, 0, -1171.89, 37.6997, 707.8133, 5.742133, 7200, 0, 0), +(@CGUID+55, 45924, 657, 3, 1, 0, -1166.52, 69.7483, 710.2673, 5.602507, 7200, 0, 0), +-- Empyrean Assassin +(@CGUID+56, 45922, 657, 3, 1, 0, -948.167, -83.4965, 693.5547, 2.43775, 7200, 5, 1), +(@CGUID+57, 45922, 657, 3, 1, 0, -945.3143, -79.35951, 693.7779, 5.579355, 7200, 5, 1), +(@CGUID+58, 45922, 657, 3, 1, 0, -1039.177, -151.2265, 694.9168, 2.345539, 7200, 5, 1), +(@CGUID+59, 45922, 657, 3, 1, 0, -1035.218, -147.9758, 694.9168, 2.160594, 7200, 5, 1), +(@CGUID+60, 45922, 657, 3, 1, 0, -1134.513, 5.665045, 704.7355, 3.65594, 7200, 5, 1), +(@CGUID+61, 45922, 657, 3, 1, 0, -1129.21, 3.206383, 704.7364, 3.600507, 7200, 5, 1), +(@CGUID+62, 45922, 657, 3, 1, 0, -1123.238, -2.846611, 704.7382, 0.5232236, 7200, 5, 1), +(@CGUID+63, 45922, 657, 3, 1, 0, -1125.692, 1.504206, 704.7371, 0.5248207, 7200, 5, 1), +(@CGUID+64, 45922, 657, 3, 1, 0, -1195.59, 19.184, 714.4073, 6.230825, 7200, 5, 1), +(@CGUID+65, 45922, 657, 3, 1, 0, -1167.51, 80.5122, 713.8813, 5.532694, 7200, 5, 1), +-- Young Storm Dragon +(@CGUID+66, 45919, 657, 3, 1, 0, -989.747, -119.878, 695.0003, 5.462881, 7200, 0, 0), +(@CGUID+67, 45919, 657, 3, 1, 0, -1134.43, 27.9358, 704.8183, 5.462881, 7200, 0, 0), +-- Howling Gale +(@CGUID+68, 45572, 657, 3, 1, 0, -1052.99, -56.23958, 700.5693, 0, 7200, 0, 0), +(@CGUID+69, 45572, 657, 3, 1, 0, -1073.375, -35.96354, 700.5583, 0, 7200, 0, 0), +-- Air Current +(@CGUID+70, 47305, 657, 3, 1, 0, -1192.89, 119.983, 740.0833, 1.117011, 7200, 0, 0), +(@CGUID+71, 47305, 657, 3, 1, 0, -1159.61, 40.6719, 740.0833, 5.916666, 7200, 0, 0), +(@CGUID+72, 47305, 657, 3, 1, 0, -1271.69, 87.2951, 740.0833, 2.75762, 7200, 0, 0), +(@CGUID+73, 47305, 657, 3, 1, 0, -1239.14, 8.40625, 740.0833, 4.310963, 7200, 0, 0), +-- Altairus +(@CGUID+74, 43873, 657, 3, 1, 0, -1192.2, 54.16493, 734.2574, 5.899213, 7200, 0, 0), +-- Servant of Asaad +(@CGUID+84, 45926, 657, 3, 1, 0, -1106.401, 485.3993, 644.9298, 2.6529, 7200, 0, 0), +(@CGUID+85, 45926, 657, 3, 1, 0, -854.8455, 503.7344, 700.1058, 2.321288, 7200, 0, 0), +(@CGUID+86, 45926, 657, 3, 1, 0, -835.7986, 473.7205, 700.0827, 2.303835, 7200, 0, 0), +-- Executor of the Caliph +(@CGUID+87, 45928, 657, 3, 1, 0, -1122.646, 476.8399, 644.8428, 4.32006, 7200, 0, 0), +(@CGUID+88, 45928, 657, 3, 1, 0, -1000.596, 483.256, 700.0039, 0.8164106, 7200, 0, 0), +(@CGUID+89, 45928, 657, 3, 1, 0, -984.3547, 500.5497, 699.9448, 0.8168104, 7200, 0, 0), +(@CGUID+90, 45928, 657, 3, 1, 0, -857.3542, 495.3455, 700.0806, 2.286381, 7200, 0, 0), +(@CGUID+91, 45928, 657, 3, 1, 0, -847.1198, 504.7379, 700.0857, 2.268928, 7200, 0, 0), +(@CGUID+92, 45928, 657, 3, 1, 0, -824.0278, 472.4254, 700.106, 2.338741, 7200, 0, 0), +-- Temple Adept +(@CGUID+93, 45935, 657, 3, 1, 0, -1111.547, 479.0851, 644.9398, 2.670354, 7200, 0, 0), +(@CGUID+94, 45935, 657, 3, 1, 0, -845.6059, 512.1962, 700.0641, 2.286381, 7200, 0, 0), +(@CGUID+95, 45935, 657, 3, 1, 0, -995.2896, 510.8176, 699.9313, 0.8168046, 7200, 0, 0), +(@CGUID+96, 45935, 657, 3, 1, 0, -973.4213, 490.2802, 699.9539, 0.8167999, 7200, 0, 0), +(@CGUID+97, 45935, 657, 3, 1, 0, -865.4219, 494.9219, 700.0602, 2.268928, 7200, 0, 0), +(@CGUID+98, 45935, 657, 3, 1, 0, -822.25, 496.0504, 700.0477, 2.373648, 7200, 0, 0), +(@CGUID+99, 45935, 657, 3, 1, 0, -825.2014, 484.0781, 700.0819, 2.373648, 7200, 0, 0), +-- Minister of Air +(@CGUID+100, 45930, 657, 3, 1, 0, -846.8299, 470.3351, 700.0483, 2.303835, 7200, 0, 0), +(@CGUID+101, 45930, 657, 3, 1, 0, -1112.144, 470.8629, 644.9246, 2.6529, 7200, 0, 0), +(@CGUID+102, 45930, 657, 3, 1, 0, -973.1523, 512.4789, 699.9983, 3.95841, 7200, 0, 0), +-- Skyfall Star +(@CGUID+103, 45932, 657, 3, 1, 0, -924.444, 565.505, 716.6143, 0, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+104, 45932, 657, 3, 1, 0, -919.589, 557.378, 716.6143, 0, 7200, 0, 0), +(@CGUID+105, 45932, 657, 3, 1, 0, -922.568, 572.76, 716.6143, 0, 7200, 0, 0), +(@CGUID+106, 45932, 657, 3, 1, 0, -917.411, 562.898, 716.6143, 0, 7200, 0, 0), +(@CGUID+107, 45932, 657, 3, 1, 0, -910.854, 565.316, 716.6143, 0, 7200, 0, 0), +(@CGUID+108, 45932, 657, 3, 1, 0, -918.365, 575.523, 716.6143, 0, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+109, 45932, 657, 3, 1, 0, -911.5, 559.076, 716.6143, 0, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+110, 45932, 657, 3, 1, 0, -911.905, 572.38, 716.6143, 0, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+111, 45932, 657, 3, 1, 0, -697.596, 500.194, 648.0363, 2.897247, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+112, 45932, 657, 3, 1, 0, -699.214, 507.453, 648.0363, 2.897247, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+113, 45932, 657, 3, 1, 0, -698.644, 503.625, 648.0363, 2.897247, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+114, 45932, 657, 3, 1, 0, -693.46, 498.672, 648.0363, 2.897247, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+115, 45932, 657, 3, 1, 0, -692.582, 509.233, 648.0363, 2.897247, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+116, 45932, 657, 3, 1, 0, -696.323, 507.385, 648.0363, 2.897247, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+117, 45932, 657, 3, 1, 0, -690.71, 505.573, 648.0363, 2.897247, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +(@CGUID+118, 45932, 657, 3, 1, 0, -690.545, 500.667, 648.0363, 2.897247, 7200, 0, 0), -- 45932 (Area: 0) (Auras: 87845 - 87845) (possible waypoints or random movement) +-- Skyfall +(@CGUID+119, 45981, 657, 3, 1, 0, -917.865, 567.325, 717.1413, 3.909538, 7200, 0, 0), -- 45981 (Area: 0) (Auras: 85719 - 85719) +(@CGUID+120, 45981, 657, 3, 1, 0, -695.193, 503.347, 648.4973, 3.106686, 7200, 0, 0), -- 45981 (Area: 0) (Auras: 85719 - 85719) +-- Asaad +(@CGUID+121, 43875, 657, 3, 1, 0, -622.729, 503.509, 646.7143, 3.141593, 7200, 0, 0); + +SET @OGUID := 224757; +DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+0 AND @OGUID+2; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `phaseId`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +-- entrance portal visual +(@OGUID+0, 207372, 657, 3, 1, 0, -325.592, 27.35414, 628.5861, 3.926996, 0, 0, 0.9238795, -0.3826835, 7200, 255, 1), +(@OGUID+1, 207373, 657, 3, 1, 0, -325.592, 27.35414, 628.5861, 3.926996, 0, 0, 0.9238795, -0.3826835, 7200, 255, 1), +-- Magical Brazier +(@OGUID+2, 207408, 657, 3, 1, 0, -533.6979, -142.658, 623.1421, 3.141593, 0, 0, 0, 1, 7200, 255, 1); + +-- The Vortex Pinnacle Movement +-- Pathing for Entry: 45915 'TDB FORMAT' +SET @NPC := 368199; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-461.4295,`position_y`=-108.6605,`position_z`=639.0703 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-461.4295,-108.6605,639.0703,0,0,0,0,100,0), +(@PATH,2,-468.6795,-116.1605,639.0703,0,0,0,0,100,0), +(@PATH,3,-471.4298,-118.5493,639.0703,0,0,0,0,100,0), +(@PATH,4,-476.4298,-123.5493,639.0703,0,0,0,0,100,0), +(@PATH,5,-476.5,-123.6245,639.0703,0,0,0,0,100,0), +(@PATH,6,-471.0612,-118.5038,639.0703,0,0,0,0,100,0), +(@PATH,7,-468.8112,-116.0038,639.0703,0,0,0,0,100,0), +(@PATH,8,-461.5612,-108.7538,639.0703,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=368199; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(368199, 368199, 0, 0, 2, 0, 0), +(368199, 368198, 3, 0, 2, 0, 0); + +-- Pathing for Entry: 45922 'TDB FORMAT' +SET @NPC := 368235; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1020.567,`position_y`=-163.0906,`position_z`=691.8421 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1020.567,-163.0906,691.8421,0,0,0,0,100,0), +(@PATH,2,-1020.397,-163.2647,691.7646,0,0,0,0,100,0), +(@PATH,3,-1023.195,-160.4057,693.0373,0,0,0,0,100,0), +(@PATH,4,-1023.882,-159.7041,693.3497,0,0,0,0,100,0), +(@PATH,5,-1024.543,-158.779,693.8544,0,0,0,0,100,0), +(@PATH,6,-1027.976,-155.5214,694.9077,0,0,0,0,100,0), +(@PATH,7,-1027.938,-155.2948,695.0358,0,0,0,0,100,0), +(@PATH,8,-1032.238,-151.1678,694.9168,0,0,0,0,100,0), +(@PATH,9,-1034.379,-148.9811,694.9168,0,0,0,0,100,0), +(@PATH,10,-1035.429,-148.2066,694.9168,0,0,0,0,100,0), +(@PATH,11,-1036.682,-145.4446,694.9168,0,0,0,0,100,0), +(@PATH,12,-1036.826,-144.741,695.1667,0,0,0,0,100,0), +(@PATH,13,-1039.191,-139.9155,694.9167,0,0,0,0,100,0), +(@PATH,14,-1039.588,-138.5355,695.1667,0,0,0,0,100,0), +(@PATH,15,-1041.693,-134.4045,694.9168,0,0,0,0,100,0), +(@PATH,16,-1042.497,-133.1839,694.9168,0,0,0,0,100,0), +(@PATH,17,-1042.855,-130.1601,694.9168,0,0,0,0,100,0), +(@PATH,18,-1043.213,-127.1363,694.9168,0,0,0,0,100,0), +(@PATH,19,-1043.569,-124.1275,694.9168,0,0,0,0,100,0), +(@PATH,20,-1043.925,-121.1137,694.9168,0,0,0,0,100,0), +(@PATH,21,-1044.037,-118.412,695.1668,0,0,0,0,100,0), +(@PATH,22,-1044.605,-115.3696,694.9168,0,0,0,0,100,0), +(@PATH,23,-1044.605,-115.3696,694.9168,0,0,0,0,100,0), +(@PATH,24,-1044.332,-118.172,695.1668,0,0,0,0,100,0), +(@PATH,25,-1043.882,-121.4811,694.9168,0,0,0,0,100,0), +(@PATH,26,-1043.526,-124.4873,694.9168,0,0,0,0,100,0), +(@PATH,27,-1043.167,-127.5256,694.9168,0,0,0,0,100,0), +(@PATH,28,-1042.812,-130.5243,694.9168,0,0,0,0,100,0), +(@PATH,29,-1042.79,-131.9866,694.9168,0,0,0,0,100,0), +(@PATH,30,-1041.54,-134.7402,694.9168,0,0,0,0,100,0), +(@PATH,31,-1040.286,-137.5029,694.9168,0,0,0,0,100,0), +(@PATH,32,-1039.877,-138.3825,695.1667,0,0,0,0,100,0), +(@PATH,33,-1037.779,-143.0287,694.9167,0,0,0,0,100,0), +(@PATH,34,-1036.869,-144.6801,695.1667,0,0,0,0,100,0), +(@PATH,35,-1036.136,-147.1862,694.9168,0,0,0,0,100,0), +(@PATH,36,-1033.922,-149.447,694.9168,0,0,0,0,100,0), +(@PATH,37,-1031.724,-151.6929,694.9168,0,0,0,0,100,0), +(@PATH,38,-1029.526,-153.9389,694.9168,0,0,0,0,100,0), +(@PATH,39,-1028.084,-155.1418,695.0518,0,0,0,0,100,0), +(@PATH,40,-1025.216,-158.3411,693.938,0,0,0,0,100,0), +(@PATH,41,-1024.537,-158.7843,693.8418,0,0,0,0,100,0), +(@PATH,42,-1020.936,-162.7132,692.0101,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=368235; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(368235, 368235, 0, 0, 2, 0, 0), +(368235, 368234, 4, 90, 2, 0, 0); + + +-- Pathing for Entry: 45922 'TDB FORMAT' +SET @NPC := 368232; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-954.8532,`position_y`=-71.26212,`position_z`=694.9168 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-954.8532,-71.26212,694.9168,0,0,0,0,100,0), +(@PATH,2,-957.1711,-69.29456,694.9168,0,0,0,0,100,0), +(@PATH,3,-961.0368,-67.11697,694.9168,0,0,0,0,100,0), +(@PATH,4,-961.2958,-66.89389,695.1668,0,0,0,0,100,0), +(@PATH,5,-964.6377,-65.5666,695.1668,0,0,0,0,100,0), +(@PATH,6,-969.3343,-63.47558,694.9168,0,0,0,0,100,0), +(@PATH,7,-972.1071,-62.2587,694.9168,0,0,0,0,100,0), +(@PATH,8,-974.8754,-61.04382,694.9168,0,0,0,0,100,0), +(@PATH,9,-978.6987,-60.16025,694.9168,0,0,0,0,100,0), +(@PATH,10,-981.7899,-59.74974,694.9168,0,0,0,0,100,0), +(@PATH,11,-984.8863,-59.33855,694.9168,0,0,0,0,100,0), +(@PATH,12,-987.9955,-58.92566,694.9168,0,0,0,0,100,0), +(@PATH,13,-991.079,-58.51617,694.9168,0,0,0,0,100,0), +(@PATH,14,-994.0758,-58.11821,694.9168,0,0,0,0,100,0), +(@PATH,15,-994.0758,-58.11821,694.9168,0,0,0,0,100,0), +(@PATH,16,-989.9869,-58.66121,694.9168,0,0,0,0,100,0), +(@PATH,17,-987.9772,-58.9281,694.9168,0,0,0,0,100,0), +(@PATH,18,-984.9415,-59.33123,694.9168,0,0,0,0,100,0), +(@PATH,19,-981.933,-59.73074,694.9168,0,0,0,0,100,0), +(@PATH,20,-978.9543,-60.1263,694.9168,0,0,0,0,100,0), +(@PATH,21,-974.6758,-61.13142,694.9168,0,0,0,0,100,0), +(@PATH,22,-971.892,-62.3531,694.9168,0,0,0,0,100,0), +(@PATH,23,-969.1174,-63.57076,694.9168,0,0,0,0,100,0), +(@PATH,24,-966.3402,-64.78954,694.9168,0,0,0,0,100,0), +(@PATH,25,-964.4506,-65.43292,695.1668,0,0,0,0,100,0), +(@PATH,26,-961.1824,-66.6456,695.1668,0,0,0,0,100,0), +(@PATH,27,-956.9669,-69.46789,694.9168,0,0,0,0,100,0), +(@PATH,28,-954.6504,-71.43433,694.9168,0,0,0,0,100,0), +(@PATH,29,-952.3281,-73.40562,694.9168,0,0,0,0,100,0), +(@PATH,30,-950.0269,-75.35908,694.9168,0,0,0,0,100,0), +(@PATH,31,-948.8146,-76.21729,694.9896,0,0,0,0,100,0), +(@PATH,32,-945.5163,-79.18809,693.8428,0,0,0,0,100,0), +(@PATH,33,-944.9313,-79.68468,693.6548,0,0,0,0,100,0), +(@PATH,34,-947.9789,-77.09758,694.6339,0,0,0,0,100,0), +(@PATH,35,-948.7214,-76.46726,694.8724,0,0,0,0,100,0), +(@PATH,36,-948.7795,-76.0313,695.0355,0,0,0,0,100,0), +(@PATH,37,-953.3309,-72.55439,694.9168,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=368232; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(368232, 368232, 0, 0, 2, 0, 0), +(368232, 368233, 4, 270, 2, 0, 0); + +-- Pathing for Entry: 45922 'TDB FORMAT' +SET @NPC := 368237; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1141.952,`position_y`=0.1362936,`position_z`=704.9866 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1141.952,0.1362936,704.9866,0,0,0,0,100,0), +(@PATH,2,-1146.67,0.02607536,704.7366,0,0,0,0,100,0), +(@PATH,3,-1147.038,0.02259642,704.9866,0,0,0,0,100,0), +(@PATH,4,-1149.834,-0.003255367,704.7373,0,0,0,0,100,0), +(@PATH,5,-1147.159,0.01711412,704.9869,0,0,0,0,100,0), +(@PATH,6,-1146.924,0.02619778,704.9868,0,0,0,0,100,0), +(@PATH,7,-1142.202,0.0536294,704.9865,0,0,0,0,100,0), +(@PATH,8,-1138.62,0.1007004,704.7366,0,0,0,0,100,0), +(@PATH,9,-1135.57,0.1289759,704.7367,0,0,0,0,100,0), +(@PATH,10,-1130.542,2.166062,704.7365,0,0,0,0,100,0), +(@PATH,11,-1130.4,2.601685,704.9865,0,0,0,0,100,0), +(@PATH,12,-1126.193,4.615932,704.9863,0,0,0,0,100,0), +(@PATH,13,-1122.64,6.631642,704.7365,0,0,0,0,100,0), +(@PATH,14,-1119.99,8.129199,704.7366,0,0,0,0,100,0), +(@PATH,15,-1117.338,9.628002,704.7368,0,0,0,0,100,0), +(@PATH,16,-1114.711,11.11202,704.7369,0,0,0,0,100,0), +(@PATH,17,-1114.536,12.09257,705.0007,0,0,0,0,100,0), +(@PATH,18,-1112.286,15.34257,705.0007,0,0,0,0,100,0), +(@PATH,19,-1112.236,15.66,704.9948,0,0,0,0,100,0), +(@PATH,20,-1110.005,23.10597,704.7404,0,0,0,0,100,0), +(@PATH,21,-1109.542,26.09011,704.7285,0,0,0,0,100,0), +(@PATH,22,-1109.161,28.04013,704.9596,0,0,0,0,100,0), +(@PATH,23,-1108.683,32.67579,704.9204,0,0,0,0,100,0), +(@PATH,24,-1108.914,36.36856,704.6313,0,0,0,0,100,0), +(@PATH,25,-1109.215,39.39096,704.6422,0,0,0,0,100,0), +(@PATH,26,-1109.515,42.40091,704.653,0,0,0,0,100,0), +(@PATH,27,-1109.815,45.41621,704.6638,0,0,0,0,100,0), +(@PATH,28,-1110.438,46.32099,704.9484,0,0,0,0,100,0), +(@PATH,29,-1111.938,50.07099,704.9484,0,0,0,0,100,0), +(@PATH,30,-1112.663,50.20761,704.9731,0,0,0,0,100,0), +(@PATH,31,-1116.874,55.20683,704.7368,0,0,0,0,100,0), +(@PATH,32,-1118.976,57.39814,704.7368,0,0,0,0,100,0), +(@PATH,33,-1121.073,59.58406,704.7367,0,0,0,0,100,0), +(@PATH,34,-1121.497,60.28359,704.9868,0,0,0,0,100,0), +(@PATH,35,-1123.912,62.54309,704.737,0,0,0,0,100,0), +(@PATH,36,-1121.293,60.10541,704.9868,0,0,0,0,100,0), +(@PATH,37,-1118.949,57.37017,704.7368,0,0,0,0,100,0), +(@PATH,38,-1116.854,55.18592,704.7368,0,0,0,0,100,0), +(@PATH,39,-1114.75,52.99265,704.7368,0,0,0,0,100,0), +(@PATH,40,-1112.649,50.80296,704.7368,0,0,0,0,100,0), +(@PATH,41,-1112.108,49.99615,704.9503,0,0,0,0,100,0), +(@PATH,42,-1110.358,46.49615,704.9503,0,0,0,0,100,0), +(@PATH,43,-1110.305,45.75431,704.9316,0,0,0,0,100,0), +(@PATH,44,-1109.188,39.33895,704.6419,0,0,0,0,100,0), +(@PATH,45,-1108.878,36.32722,704.631,0,0,0,0,100,0), +(@PATH,46,-1108.566,32.9744,704.8962,0,0,0,0,100,0), +(@PATH,47,-1109.087,29.02698,704.6871,0,0,0,0,100,0), +(@PATH,48,-1109.272,28.10846,704.9492,0,0,0,0,100,0), +(@PATH,49,-1110.016,23.03103,704.7407,0,0,0,0,100,0), +(@PATH,50,-1110.479,20.04577,704.7527,0,0,0,0,100,0), +(@PATH,51,-1110.942,17.05803,704.7646,0,0,0,0,100,0), +(@PATH,52,-1112.207,15.40365,704.9985,0,0,0,0,100,0), +(@PATH,53,-1114.207,11.90365,704.9985,0,0,0,0,100,0), +(@PATH,54,-1115.119,11.92619,704.9988,0,0,0,0,100,0), +(@PATH,55,-1119.924,8.166574,704.7366,0,0,0,0,100,0), +(@PATH,56,-1122.573,6.669635,704.7365,0,0,0,0,100,0), +(@PATH,57,-1125.228,5.168983,704.7363,0,0,0,0,100,0), +(@PATH,58,-1126.054,4.707599,704.9864,0,0,0,0,100,0), +(@PATH,59,-1130.37,2.263834,704.7365,0,0,0,0,100,0), +(@PATH,60,-1135.498,0.1296411,704.7367,0,0,0,0,100,0), +(@PATH,61,-1138.536,0.1014838,704.7366,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=368237; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(368237, 368237, 0, 0, 2, 0, 0), +(368237, 368236, 4, 270, 2, 0, 0); + +-- Pathing for Entry: 45922 'TDB FORMAT' +SET @NPC := 368238; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1148.17,`position_y`=5.06337,`position_z`=704.9856 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1148.17,5.06337,704.9856,0,0,0,0,100,0), +(@PATH,2,-1142.42,5.06337,704.9856,0,0,0,0,100,0), +(@PATH,3,-1135.203,5.313489,704.9858,0,0,0,0,100,0), +(@PATH,4,-1133.703,6.313489,704.9858,0,0,0,0,100,0), +(@PATH,5,-1128.453,9.313489,704.9858,0,0,0,0,100,0), +(@PATH,6,-1120.703,13.56349,704.9858,0,0,0,0,100,0), +(@PATH,7,-1115.835,16.32874,704.9491,0,0,0,0,100,0), +(@PATH,8,-1115.835,17.82874,704.9491,0,0,0,0,100,0), +(@PATH,9,-1114.585,26.57874,704.9491,0,0,0,0,100,0), +(@PATH,10,-1113.537,32.85158,704.7101,0,0,0,0,100,0), +(@PATH,11,-1114.537,42.10158,704.9601,0,0,0,0,100,0), +(@PATH,12,-1114.851,46.20461,704.9625,0,0,0,0,100,0), +(@PATH,13,-1116.601,47.95461,704.9625,0,0,0,0,100,0), +(@PATH,14,-1122.851,54.45461,704.9625,0,0,0,0,100,0), +(@PATH,15,-1122.705,54.24915,704.9748,0,0,0,0,100,0), +(@PATH,16,-1116.455,47.74915,704.9748,0,0,0,0,100,0), +(@PATH,17,-1116.281,47.50231,704.9354,0,0,0,0,100,0), +(@PATH,18,-1114.781,46.00231,704.9354,0,0,0,0,100,0), +(@PATH,19,-1114.531,42.00231,704.9354,0,0,0,0,100,0), +(@PATH,20,-1113.561,32.96235,704.6952,0,0,0,0,100,0), +(@PATH,21,-1114.561,26.71235,704.9452,0,0,0,0,100,0), +(@PATH,22,-1115.561,17.71235,704.9452,0,0,0,0,100,0), +(@PATH,23,-1115.837,17.5244,704.9978,0,0,0,0,100,0), +(@PATH,24,-1116.087,16.0244,704.9978,0,0,0,0,100,0), +(@PATH,25,-1120.837,13.5244,704.9978,0,0,0,0,100,0), +(@PATH,26,-1128.337,9.274401,704.9978,0,0,0,0,100,0), +(@PATH,27,-1133.587,6.274401,704.9978,0,0,0,0,100,0), +(@PATH,28,-1133.94,6.040699,704.9855,0,0,0,0,100,0), +(@PATH,29,-1135.44,5.290699,704.9855,0,0,0,0,100,0), +(@PATH,30,-1141.94,5.290699,704.9855,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=368238; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(368238, 368238, 0, 0, 2, 0, 0), +(368238, 368239, 4, 270, 2, 0, 0); + +-- Pathing for Entry: 45928 'TDB FORMAT' +SET @NPC := 368263; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1123.944,`position_y`=473.7014,`position_z`=644.8436 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1123.944,473.7014,644.8436,0,0,0,0,100,0), +(@PATH,2,-1117.012,490.4549,644.8395,0,0,0,0,100,0); + +-- Pathing for Entry: 45928 'TDB FORMAT' +SET @NPC := 368265; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1013.499,`position_y`=469.9056,`position_z`=700.2697 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1013.499,469.9056,700.2697,0,0,0,0,100,0), +(@PATH,2,-1013.463,470.0063,700.2694,0,0,0,0,100,0), +(@PATH,3,-1013.207,470.0758,700.2692,0,0,0,0,100,0), +(@PATH,4,-1008.742,474.9245,700.0145,0,0,0,0,100,0), +(@PATH,5,-1007.346,476.3719,700.0128,0,0,0,0,100,0), +(@PATH,6,-1007.007,476.4276,700.0117,0,0,0,0,100,0), +(@PATH,7,-1005.51,478.0214,700.0099,0,0,0,0,100,0), +(@PATH,8,-1004.006,479.6232,700.0081,0,0,0,0,100,0), +(@PATH,9,-1002.512,481.2144,700.0062,0,0,0,0,100,0), +(@PATH,10,-1001.002,482.8228,700.0044,0,0,0,0,100,0), +(@PATH,11,-999.4986,484.4232,700.0026,0,0,0,0,100,0), +(@PATH,12,-998.0031,486.0157,700.0007,0,0,0,0,100,0), +(@PATH,13,-996.7684,487.2819,700.2106,0,0,0,0,100,0), +(@PATH,14,-994.9923,489.2219,699.9229,0,0,0,0,100,0), +(@PATH,15,-993.4943,490.8171,699.926,0,0,0,0,100,0), +(@PATH,16,-991.9926,492.4162,699.9291,0,0,0,0,100,0), +(@PATH,17,-991.8552,492.5625,699.9294,0,0,0,0,100,0), +(@PATH,18,-993.7377,490.5579,699.9255,0,0,0,0,100,0), +(@PATH,19,-994.2009,490.0647,699.9246,0,0,0,0,100,0), +(@PATH,20,-995.5779,488.5983,699.9217,0,0,0,0,100,0), +(@PATH,21,-996.8477,487.2461,699.9191,0,0,0,0,100,0), +(@PATH,22,-998.3343,485.6631,700.0012,0,0,0,0,100,0), +(@PATH,23,-999.7216,484.1857,700.0028,0,0,0,0,100,0), +(@PATH,24,-1001.102,482.7157,700.0045,0,0,0,0,100,0), +(@PATH,25,-1002.486,481.242,700.0062,0,0,0,0,100,0), +(@PATH,26,-1003.866,479.772,700.0079,0,0,0,0,100,0), +(@PATH,27,-1005.256,478.2922,700.0096,0,0,0,0,100,0), +(@PATH,28,-1006.647,476.8112,700.0113,0,0,0,0,100,0), +(@PATH,29,-1007.382,476.334,700.0128,0,0,0,0,100,0), +(@PATH,30,-1008.871,474.7909,700.0147,0,0,0,0,100,0), +(@PATH,31,-1010.363,473.2453,700.0166,0,0,0,0,100,0), +(@PATH,32,-1011.857,471.6971,700.0185,0,0,0,0,100,0), +(@PATH,33,-1013.354,470.1463,700.0204,0,0,0,0,100,0), +(@PATH,34,-1013.587,469.8955,700.2709,0,0,0,0,100,0), +(@PATH,35,-1016.34,467.0525,700.0211,0,0,0,0,100,0), +(@PATH,36,-1017.834,465.5042,700.0201,0,0,0,0,100,0), +(@PATH,37,-1019.325,463.9599,700.0192,0,0,0,0,100,0), +(@PATH,38,-1020.811,462.4193,700.0182,0,0,0,0,100,0), +(@PATH,39,-1020.944,462.2815,700.0181,0,0,0,0,100,0), +(@PATH,40,-1019.035,464.2601,700.0193,0,0,0,0,100,0), +(@PATH,41,-1018.572,464.7398,700.0197,0,0,0,0,100,0), +(@PATH,42,-1017.161,466.2016,700.0205,0,0,0,0,100,0), +(@PATH,43,-1015.762,467.6514,700.0214,0,0,0,0,100,0), +(@PATH,44,-1014.359,469.1049,700.0223,0,0,0,0,100,0); + +DELETE FROM `creature_formations` WHERE `leaderGUID`=368265; +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES +(368265, 368265, 0, 0, 2, 0, 0), +(368265, 368272, 16, 90, 2, 0, 0), +(368265, 368278, 16, 180, 2, 0, 0), +(368265, 368271, 16, 270, 2, 0, 0), +(368265, 368264, 16, 0, 2, 0, 0); + +-- randommovement +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `guid` IN (368192); + +-- addons +DELETE FROM `creature_addon` WHERE `guid` IN (368270, 368267, 368261, 368266, 368273); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(368270,0,0,0,1,27, ''), +(368267,0,0,0,1,27, ''), +(368261,0,0,0,1,27, ''), +(368266,0,0,0,1,27, ''), +(368273,0,0,0,1,27, ''); diff --git a/sql/updates/world/2015_03_23_00_world_f335.sql b/sql/updates/world/2015_03_23_00_world_f335.sql new file mode 100644 index 00000000000..32f90e439d6 --- /dev/null +++ b/sql/updates/world/2015_03_23_00_world_f335.sql @@ -0,0 +1,5 @@ +-- +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (23214, 13819); +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `comment`) VALUES +(23214, 31726, 'Summon Charger'), +(13819, 31726, 'Summon Warhorse'); diff --git a/sql/updates/world/2015_03_23_01_world.sql b/sql/updates/world/2015_03_23_01_world.sql new file mode 100644 index 00000000000..a2e367d80d9 --- /dev/null +++ b/sql/updates/world/2015_03_23_01_world.sql @@ -0,0 +1,2490 @@ +-- Desolace Movement - Complete +-- addon correction for special npcguids +DELETE FROM `creature_addon` WHERE `guid` IN (367180,367175,367254,367264,367262,367256,367257,367260,367266,367265,367261,367268,367269,367246,367250,367249,367251,367280,367282,367190,367182,367159,367185,367187,367155,367151,367147,367194,367239,367192,367193,367238,367243,367248,367244,367242,367284,367288,367283,367345,367347,367285,367279,367278,367272,367354,366723,366726,366727,366739); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(367190,0,0,0,1,0, ''), +(367182,0,0,0,1,0, ''), +(367159,0,0,0,1,0, ''), +(367185,0,0,0,1,0, ''), +(367187,0,0,0,1,0, ''), +(367155,0,0,0,1,0, ''), +(367151,0,0,0,1,0, ''), +(367147,0,0,0,1,0, ''), +(367194,0,0,0,1,0, ''), +(367239,0,0,0,1,0, ''), +(367192,0,0,0,1,0, ''), +(367193,0,0,0,1,0, ''), +(367238,0,0,0,1,0, ''), +(367243,0,0,0,1,0, ''), +(367248,0,0,0,1,0, ''), +(367244,0,0,0,1,0, ''), +(367242,0,0,0,1,0, ''), +(367284,0,0,0,1,0, ''), +(367288,0,0,0,1,0, ''), +(367283,0,0,0,1,0, ''), +(367345,0,0,0,1,0, ''), +(367347,0,0,0,1,0, ''), +(367285,0,0,0,1,0, ''), +(367279,0,0,0,1,0, ''), +(367278,0,0,0,1,0, ''), +(367272,0,0,0,1,0, ''), +(367354,0,0,0,1,0, ''), +(366723,0,0,0,1,0, ''), +(366726,0,0,0,1,0, ''), +(366727,0,0,0,1,0, ''), +(366739,0,0,0,1,0, ''), +(367282,0,0,0,1,0, ''), +(367280,0,0,0,1,0, ''), +(367251,0,0,0,1,0, ''), +(367249,0,0,0,1,0, ''), +(367250,0,0,0,1,0, ''), +(367246,0,0,0,1,0, ''), +(367269,0,0,0,1,0, ''), +(367268,0,0,0,1,0, ''), +(367261,0,0,0,1,0, ''), +(367265,0,0,0,1,0, ''), +(367266,0,0,0,1,0, ''), +(367260,0,0,0,1,0, ''), +(367257,0,0,0,1,0, ''), +(367256,0,0,0,1,0, ''), +(367262,0,0,0,1,0, ''), +(367264,0,0,0,1,0, ''), +(367254,0,0,0,1,0, ''), +(367175,0,0,0,1,0, ''), +(367180,0,0,0,1,0, ''); + +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `guid` IN (367180,367175,367254,367264,367262,367256,367257,367260,367266,367265,367261,367268,367269,367246,367250,367249,367251,367280,367282,367190,367182,367159,367185,367187,367155,367151,367147,367194,367239,367192,367193,367238,367243,367248,367244,367242,367284,367288,367283,367345,367347,367285,367279,367278,367272,367354,366723,366726,366727,366739); +UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=35446; + +-- 10 yards rndmmovement +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `id` IN (35412,35409,49842,4166,36062,35434,4702,4700,36094,4695,4701,4729,4700,41730,11577,4690,12347,35842,4714,4713,4711,4688,4671,4673,4675,4674,4670,4672,11576,4689,4696,4728); +UPDATE `creature` SET `spawndist`=10, `MovementType`=1 WHERE `guid` IN (367082,367683,367705,367689,367021,367021,367011,367009,367089,367099,367728,367733,367734,367739); + +-- 5 yards rndmmovement +UPDATE `creature` SET `spawndist`=5, `MovementType`=1 WHERE `id` IN (8154,11778,11787,13697,11788,11686,4655,4654,4656,8151); + +-- 5 yards rndmmovement +UPDATE `creature` SET `spawndist`=20, `MovementType`=1 WHERE `id` IN (35446); + +-- wp/go exceptions +UPDATE `creature` SET `spawndist`=0, `MovementType`=0 WHERE `guid` IN (366519,366590,367601,367537,367563, 367561); +DELETE FROM `gameobject` WHERE `guid`=232383; +DELETE FROM `gameobject` WHERE `guid`=218963; + +-- trigger invis +UPDATE `creature_template` SET `flags_extra`=128 WHERE `entry` In (36123,36234,41353,35581,35363,35561,35645); + +-- Hatefury Felsworn SAI +SET @GUID := -367561; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4672; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,0,2000,2000,20000,20000,11,77452,0,0,0,0,0,19,41353,40,0,0,0,0,0,"Hatefury Felsworn - Out of Combat - Cast 'Taint of Sargeras'"); + +-- Hatefury Felsworn SAI +SET @GUID := -367563; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4672; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,0,2000,2000,20000,20000,11,77452,0,0,0,0,0,19,41353,40,0,0,0,0,0,"Hatefury Felsworn - Out of Combat - Cast 'Taint of Sargeras'"); + +-- Hatefury Felsworn SAI +SET @GUID := -367537; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4672; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,0,2000,2000,20000,20000,11,77452,0,0,0,0,0,19,35581,40,0,0,0,0,0,"Hatefury Felsworn - Out of Combat - Cast 'Taint of Sargeras'"); + +-- Hatefury Felsworn SAI +SET @GUID := -367601; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=4672; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@GUID,0,0,0,1,0,100,0,2000,2000,20000,20000,11,77452,0,0,0,0,0,19,35363,40,0,0,0,0,0,"Hatefury Felsworn - Out of Combat - Cast 'Taint of Sargeras'"); + +-- addons +DELETE FROM `creature_addon` WHERE `guid` IN (367724,367722,367709,367719); +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES +(367724,0,0,1,1,0, ''), +(367722,0,0,0,1,69, ''), +(367709,0,0,1,1,0, ''), +(367719,0,0,0,1,69, ''); + +-- Sand Vortex SAI +SET @ENTRY := 41730; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,1,0,100,0,4000,4000,4000,4000,75,83097,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sand Vortex - Out of Combat - Add Aura 'Sand Vortex'"), +(@ENTRY,0,1,0,37,0,100,0,0,0,0,0,3,41730,0,0,0,0,0,1,0,0,0,0,0,0,0,"Sand Vortex - On Initialize - Morph To Creature Sand Vortex"); + +-- Pathing for Entry: 35450 'TDB FORMAT' +SET @NPC := 366849; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1026.193,`position_y`=1954.323,`position_z`=62.97874 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1026.193,1954.323,62.97874,0,0,0,0,100,0), +(@PATH,2,-1020.193,1953.073,62.47874,0,0,0,0,100,0), +(@PATH,3,-1017.443,1952.323,61.72874,0,0,0,0,100,0), +(@PATH,4,-1013.693,1951.573,61.47874,0,0,0,0,100,0), +(@PATH,5,-1000.118,1948.621,61.03232,0,0,0,0,100,0), +(@PATH,6,-994.1179,1949.371,61.78232,0,0,0,0,100,0), +(@PATH,7,-988.3679,1950.371,62.28232,0,0,0,0,100,0), +(@PATH,8,-976.6179,1951.621,62.78232,0,0,0,0,100,0), +(@PATH,9,-976.2988,1951.894,62.98876,0,0,0,0,100,0), +(@PATH,10,-974.0488,1952.144,62.98876,0,0,0,0,100,0), +(@PATH,11,-966.2988,1957.894,63.48876,0,0,0,0,100,0), +(@PATH,12,-961.8956,1960.854,63.21296,0,0,0,0,100,0), +(@PATH,13,-950.6456,1955.104,63.71296,0,0,0,0,100,0), +(@PATH,14,-942.7376,1950.996,63.68631,0,0,0,0,100,0), +(@PATH,15,-938.9876,1947.746,62.93631,0,0,0,0,100,0), +(@PATH,16,-934.9876,1944.746,61.93631,0,0,0,0,100,0), +(@PATH,17,-932.2376,1942.246,61.68631,0,0,0,0,100,0), +(@PATH,18,-929.7376,1940.496,60.93631,0,0,0,0,100,0), +(@PATH,19,-926.7376,1937.996,60.43631,0,0,0,0,100,0), +(@PATH,20,-918.8135,1931.524,60.72484,0,0,0,0,100,0), +(@PATH,21,-919.0635,1928.524,61.22484,0,0,0,0,100,0), +(@PATH,22,-919.0677,1929.858,60.82819,0,0,0,0,100,0), +(@PATH,23,-919.0707,1929.912,61.08828,0,0,0,0,100,0), +(@PATH,24,-918.8207,1931.662,60.83828,0,0,0,0,100,0), +(@PATH,25,-923.5707,1935.412,60.08828,0,0,0,0,100,0), +(@PATH,26,-928.3207,1939.162,60.83828,0,0,0,0,100,0), +(@PATH,27,-931.0707,1941.412,61.33828,0,0,0,0,100,0), +(@PATH,28,-933.3207,1943.412,62.08828,0,0,0,0,100,0), +(@PATH,29,-935.8207,1945.162,62.33828,0,0,0,0,100,0), +(@PATH,30,-939.5707,1948.412,63.08828,0,0,0,0,100,0), +(@PATH,31,-943.1027,1951.313,63.51403,0,0,0,0,100,0), +(@PATH,32,-962.2565,1960.845,62.88704,0,0,0,0,100,0), +(@PATH,33,-974.4224,1951.938,62.97599,0,0,0,0,100,0), +(@PATH,34,-981.4224,1950.938,62.47599,0,0,0,0,100,0), +(@PATH,35,-991.9224,1949.688,61.72599,0,0,0,0,100,0), +(@PATH,36,-995.9224,1949.188,61.47599,0,0,0,0,100,0), +(@PATH,37,-996.1232,1949.209,61.41521,0,0,0,0,100,0), +(@PATH,38,-1000.373,1948.709,60.91521,0,0,0,0,100,0), +(@PATH,39,-1007.123,1950.209,61.66521,0,0,0,0,100,0), +(@PATH,40,-1018.623,1952.709,62.16521,0,0,0,0,100,0), +(@PATH,41,-1022.623,1953.459,62.66521,0,0,0,0,100,0), +(@PATH,42,-1022.736,1953.612,62.75022,0,0,0,0,100,0), +(@PATH,43,-1026.486,1954.362,63.00022,0,0,0,0,100,0); + +-- Pathing for Entry: 35450 'TDB FORMAT' +SET @NPC := 367356; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1076.907,`position_y`=1476.054,`position_z`=65.0537 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1076.907,1476.054,65.0537,0,0,0,0,100,0), +(@PATH,2,-1082.907,1476.304,64.3037,0,0,0,0,100,0), +(@PATH,3,-1084.657,1476.554,63.5537,0,0,0,0,100,0), +(@PATH,4,-1086.407,1476.804,62.8037,0,0,0,0,100,0), +(@PATH,5,-1088.407,1477.054,62.3037,0,0,0,0,100,0), +(@PATH,6,-1090.407,1477.054,61.5537,0,0,0,0,100,0), +(@PATH,7,-1094.348,1477.872,61.10419,0,0,0,0,100,0), +(@PATH,8,-1120.838,1484.363,61.50975,0,0,0,0,100,0), +(@PATH,9,-1123.838,1486.613,62.00975,0,0,0,0,100,0), +(@PATH,10,-1127.088,1488.863,62.75975,0,0,0,0,100,0), +(@PATH,11,-1129.622,1490.505,63.1368,0,0,0,0,100,0), +(@PATH,12,-1137.622,1490.755,63.6368,0,0,0,0,100,0), +(@PATH,13,-1147.333,1491.171,63.10046,0,0,0,0,100,0), +(@PATH,14,-1150.083,1492.421,62.60046,0,0,0,0,100,0), +(@PATH,15,-1151.833,1493.421,62.10046,0,0,0,0,100,0), +(@PATH,16,-1154.583,1494.671,61.35046,0,0,0,0,100,0), +(@PATH,17,-1159.583,1497.171,60.85046,0,0,0,0,100,0), +(@PATH,18,-1164.833,1499.921,61.60046,0,0,0,0,100,0), +(@PATH,19,-1167.583,1501.421,62.35046,0,0,0,0,100,0), +(@PATH,20,-1167.504,1501.719,62.12277,0,0,0,0,100,0), +(@PATH,21,-1169.754,1502.719,62.87277,0,0,0,0,100,0), +(@PATH,22,-1165.504,1508.219,63.37277,0,0,0,0,100,0), +(@PATH,23,-1164.254,1509.969,62.62277,0,0,0,0,100,0), +(@PATH,24,-1163.254,1511.469,61.87277,0,0,0,0,100,0), +(@PATH,25,-1161.254,1513.719,62.62277,0,0,0,0,100,0), +(@PATH,26,-1160.754,1514.469,62.12277,0,0,0,0,100,0), +(@PATH,27,-1159.504,1515.969,62.62277,0,0,0,0,100,0), +(@PATH,28,-1158.004,1518.469,61.87277,0,0,0,0,100,0), +(@PATH,29,-1159.824,1516.033,62.76944,0,0,0,0,100,0), +(@PATH,30,-1161.074,1514.533,62.26944,0,0,0,0,100,0), +(@PATH,31,-1161.324,1513.783,62.76944,0,0,0,0,100,0), +(@PATH,32,-1162.074,1513.033,62.26944,0,0,0,0,100,0), +(@PATH,33,-1164.324,1509.783,62.51944,0,0,0,0,100,0), +(@PATH,34,-1165.574,1508.283,63.51944,0,0,0,0,100,0), +(@PATH,35,-1167.574,1505.783,63.01944,0,0,0,0,100,0), +(@PATH,36,-1169.797,1502.512,62.90276,0,0,0,0,100,0), +(@PATH,37,-1168.047,1501.512,62.40276,0,0,0,0,100,0), +(@PATH,38,-1166.297,1500.762,61.65276,0,0,0,0,100,0), +(@PATH,39,-1162.797,1498.762,61.15276,0,0,0,0,100,0), +(@PATH,40,-1152.297,1493.512,61.90276,0,0,0,0,100,0), +(@PATH,41,-1150.547,1492.762,62.65276,0,0,0,0,100,0), +(@PATH,42,-1148.797,1491.762,62.90276,0,0,0,0,100,0), +(@PATH,43,-1148.35,1491.432,62.86149,0,0,0,0,100,0), +(@PATH,44,-1147.1,1491.182,63.11149,0,0,0,0,100,0), +(@PATH,45,-1129.375,1490.627,63.04699,0,0,0,0,100,0), +(@PATH,46,-1125.625,1487.627,62.29699,0,0,0,0,100,0), +(@PATH,47,-1124.125,1486.627,62.04699,0,0,0,0,100,0), +(@PATH,48,-1120.597,1484.064,61.3692,0,0,0,0,100,0), +(@PATH,49,-1116.847,1483.064,60.8692,0,0,0,0,100,0), +(@PATH,50,-1112.847,1482.064,61.3692,0,0,0,0,100,0), +(@PATH,51,-1106.347,1480.814,61.1192,0,0,0,0,100,0), +(@PATH,52,-1094.155,1477.662,61.32274,0,0,0,0,100,0), +(@PATH,53,-1090.155,1477.162,61.82274,0,0,0,0,100,0), +(@PATH,54,-1088.155,1476.912,62.57274,0,0,0,0,100,0), +(@PATH,55,-1086.405,1476.912,63.07274,0,0,0,0,100,0), +(@PATH,56,-1083.405,1476.662,63.82274,0,0,0,0,100,0), +(@PATH,57,-1081.405,1476.412,64.32274,0,0,0,0,100,0), +(@PATH,58,-1076.605,1475.866,65.0145,0,0,0,0,100,0), +(@PATH,59,-1069.855,1471.366,64.2645,0,0,0,0,100,0), +(@PATH,60,-1064.105,1467.866,63.5145,0,0,0,0,100,0), +(@PATH,61,-1059.855,1465.366,63.2645,0,0,0,0,100,0), +(@PATH,62,-1058.175,1464.125,62.95133,0,0,0,0,100,0), +(@PATH,63,-1050.675,1461.625,63.45133,0,0,0,0,100,0), +(@PATH,64,-1045.925,1460.125,64.70132,0,0,0,0,100,0), +(@PATH,65,-1042.925,1459.375,65.20132,0,0,0,0,100,0), +(@PATH,66,-1038.425,1458.125,65.95132,0,0,0,0,100,0), +(@PATH,67,-1030.925,1455.625,65.20132,0,0,0,0,100,0), +(@PATH,68,-1027.925,1454.625,64.70132,0,0,0,0,100,0), +(@PATH,69,-1027.76,1454.679,64.76711,0,0,0,0,100,0), +(@PATH,70,-1025.26,1453.929,64.26711,0,0,0,0,100,0), +(@PATH,71,-1019.01,1457.179,63.76711,0,0,0,0,100,0), +(@PATH,72,-1011.26,1460.929,64.26711,0,0,0,0,100,0), +(@PATH,73,-1010.833,1461.243,64.31896,0,0,0,0,100,0), +(@PATH,74,-1009.333,1461.993,64.06896,0,0,0,0,100,0), +(@PATH,75,-1004.833,1467.243,63.56896,0,0,0,0,100,0), +(@PATH,76,-1007.339,1464.384,63.84095,0,0,0,0,100,0), +(@PATH,77,-1009.677,1461.703,64.18417,0,0,0,0,100,0), +(@PATH,78,-1013.177,1459.953,63.68417,0,0,0,0,100,0), +(@PATH,79,-1025.358,1453.976,64.25143,0,0,0,0,100,0), +(@PATH,80,-1028.358,1454.976,65.00143,0,0,0,0,100,0), +(@PATH,81,-1033.108,1456.476,65.75143,0,0,0,0,100,0), +(@PATH,82,-1042.358,1459.476,65.00143,0,0,0,0,100,0), +(@PATH,83,-1047.108,1460.726,63.75144,0,0,0,0,100,0), +(@PATH,84,-1053.858,1462.726,63.25144,0,0,0,0,100,0), +(@PATH,85,-1056.608,1463.726,62.75144,0,0,0,0,100,0), +(@PATH,86,-1056.834,1463.971,62.62231,0,0,0,0,100,0), +(@PATH,87,-1058.334,1464.471,63.12231,0,0,0,0,100,0), +(@PATH,88,-1062.584,1466.971,63.62231,0,0,0,0,100,0), +(@PATH,89,-1069.084,1470.971,64.12231,0,0,0,0,100,0), +(@PATH,90,-1072.584,1473.221,64.87231,0,0,0,0,100,0); + +-- Pathing for Entry: 35450 'TDB FORMAT' +SET @NPC := 366518; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1186.81,`position_y`=1602.713,`position_z`=64.22785 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1186.81,1602.713,64.22785,0,0,0,0,100,0), +(@PATH,2,-1184.06,1597.463,63.47785,0,0,0,0,100,0), +(@PATH,3,-1183.56,1595.463,63.22785,0,0,0,0,100,0), +(@PATH,4,-1182.31,1593.213,62.47785,0,0,0,0,100,0), +(@PATH,5,-1178.31,1584.963,62.97785,0,0,0,0,100,0), +(@PATH,6,-1178.006,1584.8,62.88309,0,0,0,0,100,0), +(@PATH,7,-1177.256,1583.05,63.13309,0,0,0,0,100,0), +(@PATH,8,-1175.006,1579.55,63.88309,0,0,0,0,100,0), +(@PATH,9,-1171.756,1573.8,63.38309,0,0,0,0,100,0), +(@PATH,10,-1169.506,1570.55,62.63309,0,0,0,0,100,0), +(@PATH,11,-1169.411,1570.119,62.54753,0,0,0,0,100,0), +(@PATH,12,-1168.661,1569.119,62.29753,0,0,0,0,100,0), +(@PATH,13,-1166.161,1565.869,62.04753,0,0,0,0,100,0), +(@PATH,14,-1148.893,1543.446,61.75639,0,0,0,0,100,0), +(@PATH,15,-1146.143,1539.446,62.50639,0,0,0,0,100,0), +(@PATH,16,-1144.893,1537.696,63.25639,0,0,0,0,100,0), +(@PATH,17,-1142.393,1533.946,62.50639,0,0,0,0,100,0), +(@PATH,18,-1141.143,1532.196,61.75639,0,0,0,0,100,0), +(@PATH,19,-1138.393,1528.196,61.00639,0,0,0,0,100,0), +(@PATH,20,-1138.512,1528.404,61.25035,0,0,0,0,100,0), +(@PATH,21,-1142.012,1533.404,62.25035,0,0,0,0,100,0), +(@PATH,22,-1142.762,1534.654,63.00035,0,0,0,0,100,0), +(@PATH,23,-1146.262,1539.654,62.25035,0,0,0,0,100,0), +(@PATH,24,-1148.512,1542.904,61.50035,0,0,0,0,100,0), +(@PATH,25,-1148.885,1543.159,61.80327,0,0,0,0,100,0), +(@PATH,26,-1149.135,1543.909,61.80327,0,0,0,0,100,0), +(@PATH,27,-1168.878,1569.268,62.57268,0,0,0,0,100,0), +(@PATH,28,-1170.878,1572.768,63.07268,0,0,0,0,100,0), +(@PATH,29,-1172.878,1575.768,63.82268,0,0,0,0,100,0), +(@PATH,30,-1177.403,1583.174,63.33479,0,0,0,0,100,0), +(@PATH,31,-1178.653,1585.924,62.83479,0,0,0,0,100,0), +(@PATH,32,-1180.903,1590.424,62.08479,0,0,0,0,100,0), +(@PATH,33,-1182.403,1593.674,62.83479,0,0,0,0,100,0), +(@PATH,34,-1183.653,1596.424,63.33479,0,0,0,0,100,0), +(@PATH,35,-1184.653,1598.174,63.83479,0,0,0,0,100,0), +(@PATH,36,-1187.087,1602.922,64.27922,0,0,0,0,100,0), +(@PATH,37,-1190.087,1606.922,63.77922,0,0,0,0,100,0), +(@PATH,38,-1193.837,1611.172,64.27922,0,0,0,0,100,0), +(@PATH,39,-1197.463,1615.747,64.63042,0,0,0,0,100,0), +(@PATH,40,-1200.463,1632.247,63.88042,0,0,0,0,100,0), +(@PATH,41,-1201.638,1638.987,63.76284,0,0,0,0,100,0), +(@PATH,42,-1197.888,1641.987,63.26284,0,0,0,0,100,0), +(@PATH,43,-1194.888,1644.737,63.01284,0,0,0,0,100,0), +(@PATH,44,-1192.638,1646.487,62.26284,0,0,0,0,100,0), +(@PATH,45,-1180.698,1656.657,62.5452,0,0,0,0,100,0), +(@PATH,46,-1172.698,1659.407,63.0452,0,0,0,0,100,0), +(@PATH,47,-1178.164,1657.422,62.60715,0,0,0,0,100,0), +(@PATH,48,-1178.427,1657.284,62.83115,0,0,0,0,100,0), +(@PATH,49,-1181.177,1656.284,62.58115,0,0,0,0,100,0), +(@PATH,50,-1185.677,1652.534,62.08115,0,0,0,0,100,0), +(@PATH,51,-1194.677,1645.034,62.83115,0,0,0,0,100,0), +(@PATH,52,-1198.427,1641.784,63.33115,0,0,0,0,100,0), +(@PATH,53,-1201.729,1638.581,63.81591,0,0,0,0,100,0), +(@PATH,54,-1199.729,1628.081,64.31591,0,0,0,0,100,0), +(@PATH,55,-1197.146,1615.346,64.63948,0,0,0,0,100,0), +(@PATH,56,-1193.396,1611.096,64.13948,0,0,0,0,100,0); + +-- Pathing for Entry: 11778 'TDB FORMAT' +SET @NPC := 365510; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1274.251,`position_y`=2904.939,`position_z`=87.87429 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1274.251,2904.939,87.87429,0,0,0,0,100,0), +(@PATH,2,-1275.251,2905.189,87.87429,0,0,0,0,100,0), +(@PATH,3,-1276.501,2911.189,88.12429,0,0,0,0,100,0), +(@PATH,4,-1277.501,2914.689,88.12429,0,0,0,0,100,0), +(@PATH,5,-1279.152,2919.524,88.2515,0,0,0,0,100,0), +(@PATH,6,-1280.402,2920.774,88.2515,0,0,0,0,100,0), +(@PATH,7,-1284.33,2925.424,88.13409,0,0,0,0,100,0), +(@PATH,8,-1286.08,2925.424,88.38409,0,0,0,0,100,0), +(@PATH,9,-1294.08,2925.674,88.38409,0,0,0,0,100,0), +(@PATH,10,-1294.295,2925.476,88.48728,0,0,0,0,100,0), +(@PATH,11,-1295.545,2925.726,88.48728,0,0,0,0,100,0), +(@PATH,12,-1298.295,2919.976,88.48728,0,0,0,0,100,0), +(@PATH,13,-1299.295,2918.226,88.48728,0,0,0,0,100,0), +(@PATH,14,-1302.045,2912.976,88.48728,0,0,0,0,100,0), +(@PATH,15,-1302.011,2912.59,88.54723,0,0,0,0,100,0), +(@PATH,16,-1302.511,2911.84,88.54723,0,0,0,0,100,0), +(@PATH,17,-1303.011,2906.59,88.54723,0,0,0,0,100,0), +(@PATH,18,-1303.761,2897.59,89.04723,0,0,0,0,100,0), +(@PATH,19,-1303.761,2896.34,89.04723,0,0,0,0,100,0), +(@PATH,20,-1303.884,2897.348,88.91992,0,0,0,0,100,0), +(@PATH,21,-1304.134,2896.098,88.91992,0,0,0,0,100,0), +(@PATH,22,-1304.134,2895.848,88.91992,0,0,0,0,100,0), +(@PATH,23,-1311.634,2892.098,88.91992,0,0,0,0,100,0), +(@PATH,24,-1317.884,2888.598,88.91992,0,0,0,0,100,0), +(@PATH,25,-1317.792,2888.548,88.98604,0,0,0,0,100,0), +(@PATH,26,-1312.292,2891.298,88.98604,0,0,0,0,100,0), +(@PATH,27,-1304.153,2895.883,89.02602,0,0,0,0,100,0), +(@PATH,28,-1303.903,2897.383,89.02602,0,0,0,0,100,0), +(@PATH,29,-1303.153,2905.883,88.52602,0,0,0,0,100,0), +(@PATH,30,-1302.57,2912.231,88.52508,0,0,0,0,100,0), +(@PATH,31,-1299.32,2917.981,88.52508,0,0,0,0,100,0), +(@PATH,32,-1298.57,2919.981,88.52508,0,0,0,0,100,0), +(@PATH,33,-1295.486,2925.737,88.41527,0,0,0,0,100,0), +(@PATH,34,-1294.236,2925.487,88.41527,0,0,0,0,100,0), +(@PATH,35,-1285.986,2925.237,88.41527,0,0,0,0,100,0), +(@PATH,36,-1285.722,2925.375,88.34544,0,0,0,0,100,0), +(@PATH,37,-1284.222,2925.375,88.09544,0,0,0,0,100,0), +(@PATH,38,-1280.472,2920.875,88.34544,0,0,0,0,100,0), +(@PATH,39,-1280.074,2920.622,88.17129,0,0,0,0,100,0), +(@PATH,40,-1278.824,2919.372,88.17129,0,0,0,0,100,0), +(@PATH,41,-1278.074,2915.372,88.17129,0,0,0,0,100,0), +(@PATH,42,-1276.824,2911.122,88.17129,0,0,0,0,100,0), +(@PATH,43,-1275.02,2904.94,87.96898,0,0,0,0,100,0), +(@PATH,44,-1274.02,2904.94,87.96898,0,0,0,0,100,0), +(@PATH,45,-1269.52,2903.94,87.96898,0,0,0,0,100,0), +(@PATH,46,-1264.52,2902.44,87.96898,0,0,0,0,100,0), +(@PATH,47,-1263.27,2901.94,87.71898,0,0,0,0,100,0), +(@PATH,48,-1256.52,2900.19,87.46898,0,0,0,0,100,0), +(@PATH,49,-1256.204,2899.952,87.19566,0,0,0,0,100,0), +(@PATH,50,-1253.954,2899.452,87.19566,0,0,0,0,100,0), +(@PATH,51,-1248.704,2909.452,87.19566,0,0,0,0,100,0), +(@PATH,52,-1244.204,2917.202,87.44566,0,0,0,0,100,0), +(@PATH,53,-1243.769,2917.15,87.29726,0,0,0,0,100,0), +(@PATH,54,-1242.519,2919.65,87.29726,0,0,0,0,100,0), +(@PATH,55,-1235.769,2915.4,87.79726,0,0,0,0,100,0), +(@PATH,56,-1233.019,2913.65,87.79726,0,0,0,0,100,0), +(@PATH,57,-1232.519,2913.4,87.79726,0,0,0,0,100,0), +(@PATH,58,-1231.519,2912.65,87.54726,0,0,0,0,100,0), +(@PATH,59,-1224.758,2908.646,87.20146,0,0,0,0,100,0), +(@PATH,60,-1226.508,2905.646,87.20146,0,0,0,0,100,0), +(@PATH,61,-1229.008,2901.146,87.45146,0,0,0,0,100,0), +(@PATH,62,-1230.758,2897.646,87.20146,0,0,0,0,100,0), +(@PATH,63,-1231.592,2895.75,87.15347,0,0,0,0,100,0), +(@PATH,64,-1230.592,2897.5,87.15347,0,0,0,0,100,0), +(@PATH,65,-1228.842,2901,87.40347,0,0,0,0,100,0), +(@PATH,66,-1226.092,2905.75,87.15347,0,0,0,0,100,0), +(@PATH,67,-1224.342,2909.25,87.15347,0,0,0,0,100,0), +(@PATH,68,-1223.092,2911.5,87.15347,0,0,0,0,100,0), +(@PATH,69,-1219.342,2918.75,87.40347,0,0,0,0,100,0), +(@PATH,70,-1217.092,2922.75,87.40347,0,0,0,0,100,0), +(@PATH,71,-1217.126,2923.027,87.48586,0,0,0,0,100,0), +(@PATH,72,-1215.876,2925.277,87.48586,0,0,0,0,100,0), +(@PATH,73,-1223.626,2926.777,86.98586,0,0,0,0,100,0), +(@PATH,74,-1226.626,2927.527,86.98586,0,0,0,0,100,0), +(@PATH,75,-1228.376,2927.777,86.98586,0,0,0,0,100,0), +(@PATH,76,-1230.126,2928.277,86.98586,0,0,0,0,100,0), +(@PATH,77,-1234.869,2929.403,86.8022,0,0,0,0,100,0), +(@PATH,78,-1239.369,2929.403,87.0522,0,0,0,0,100,0), +(@PATH,79,-1241.369,2929.403,87.0522,0,0,0,0,100,0), +(@PATH,80,-1251.596,2929.512,87.17105,0,0,0,0,100,0), +(@PATH,81,-1252.346,2931.262,87.17105,0,0,0,0,100,0), +(@PATH,82,-1259.596,2951.262,87.42105,0,0,0,0,100,0), +(@PATH,83,-1261.568,2951.406,87.57243,0,0,0,0,100,0), +(@PATH,84,-1264.318,2954.156,87.57243,0,0,0,0,100,0), +(@PATH,85,-1267.318,2957.406,87.82243,0,0,0,0,100,0), +(@PATH,86,-1269.318,2959.406,87.82243,0,0,0,0,100,0), +(@PATH,87,-1270.818,2960.656,88.07243,0,0,0,0,100,0), +(@PATH,88,-1270.592,2960.753,87.85745,0,0,0,0,100,0), +(@PATH,89,-1269.342,2959.253,87.85745,0,0,0,0,100,0), +(@PATH,90,-1267.592,2957.503,87.85745,0,0,0,0,100,0), +(@PATH,91,-1264.342,2954.003,87.60745,0,0,0,0,100,0), +(@PATH,92,-1263.955,2953.798,87.75308,0,0,0,0,100,0), +(@PATH,93,-1261.455,2951.298,87.50308,0,0,0,0,100,0), +(@PATH,94,-1260.705,2949.548,87.50308,0,0,0,0,100,0), +(@PATH,95,-1252.455,2931.298,87.25308,0,0,0,0,100,0), +(@PATH,96,-1251.48,2929.7,87.12433,0,0,0,0,100,0), +(@PATH,97,-1241.98,2929.7,87.12433,0,0,0,0,100,0), +(@PATH,98,-1239.23,2929.7,87.12433,0,0,0,0,100,0), +(@PATH,99,-1239.077,2929.395,87.07784,0,0,0,0,100,0), +(@PATH,100,-1234.577,2929.395,87.07784,0,0,0,0,100,0), +(@PATH,101,-1230.077,2928.395,87.07784,0,0,0,0,100,0), +(@PATH,102,-1228.327,2927.895,87.07784,0,0,0,0,100,0), +(@PATH,103,-1226.827,2927.395,87.07784,0,0,0,0,100,0), +(@PATH,104,-1223.577,2926.895,87.07784,0,0,0,0,100,0), +(@PATH,105,-1215.831,2925.042,87.46978,0,0,0,0,100,0), +(@PATH,106,-1217.081,2922.792,87.46978,0,0,0,0,100,0), +(@PATH,107,-1219.331,2918.792,87.21978,0,0,0,0,100,0), +(@PATH,108,-1223.081,2911.542,87.21978,0,0,0,0,100,0), +(@PATH,109,-1224.581,2909.292,86.96978,0,0,0,0,100,0), +(@PATH,110,-1226.331,2905.792,87.21978,0,0,0,0,100,0), +(@PATH,111,-1228.831,2901.042,87.46978,0,0,0,0,100,0), +(@PATH,112,-1230.581,2897.542,87.21978,0,0,0,0,100,0), +(@PATH,113,-1230.648,2897.53,87.10223,0,0,0,0,100,0), +(@PATH,114,-1231.648,2895.53,87.10223,0,0,0,0,100,0), +(@PATH,115,-1230.648,2897.53,87.10223,0,0,0,0,100,0), +(@PATH,116,-1228.898,2901.03,87.60223,0,0,0,0,100,0), +(@PATH,117,-1226.398,2905.78,87.10223,0,0,0,0,100,0), +(@PATH,118,-1224.839,2908.838,87.04881,0,0,0,0,100,0), +(@PATH,119,-1231.589,2913.088,87.54881,0,0,0,0,100,0), +(@PATH,120,-1232.589,2913.338,87.79881,0,0,0,0,100,0), +(@PATH,121,-1235.339,2915.338,87.79881,0,0,0,0,100,0), +(@PATH,122,-1242.689,2919.716,87.45659,0,0,0,0,100,0), +(@PATH,123,-1244.189,2917.216,87.45659,0,0,0,0,100,0), +(@PATH,124,-1248.439,2909.216,87.20659,0,0,0,0,100,0), +(@PATH,125,-1253.689,2900.216,87.20659,0,0,0,0,100,0), +(@PATH,126,-1253.858,2900.353,87.39917,0,0,0,0,100,0), +(@PATH,127,-1254.358,2899.353,87.39917,0,0,0,0,100,0), +(@PATH,128,-1255.608,2899.853,87.39917,0,0,0,0,100,0), +(@PATH,129,-1263.358,2902.103,87.89917,0,0,0,0,100,0), +(@PATH,130,-1264.358,2902.353,87.89917,0,0,0,0,100,0), +(@PATH,131,-1269.608,2903.853,87.89917,0,0,0,0,100,0), +(@PATH,132,-1273.858,2904.853,87.89917,0,0,0,0,100,0), +(@PATH,133,-1274.099,2905.037,87.8773,0,0,0,0,100,0), +(@PATH,134,-1275.099,2905.287,87.8773,0,0,0,0,100,0), +(@PATH,135,-1276.599,2911.037,88.1273,0,0,0,0,100,0), +(@PATH,136,-1277.599,2914.537,88.1273,0,0,0,0,100,0); + +-- Pathing for Entry: 11777 'TDB FORMAT' +SET @NPC := 365522; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1164.841,`position_y`=3010.923,`position_z`=87.07417 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1164.841,3010.923,87.07417,0,0,0,0,100,0), +(@PATH,2,-1163.341,3013.923,87.57417,0,0,0,0,100,0), +(@PATH,3,-1165.341,3016.173,87.82417,0,0,0,0,100,0), +(@PATH,4,-1170.841,3022.673,88.57417,0,0,0,0,100,0), +(@PATH,5,-1175.341,3027.923,89.32417,0,0,0,0,100,0), +(@PATH,6,-1175.489,3028.119,89.39481,0,0,0,0,100,0), +(@PATH,7,-1176.489,3029.369,89.39481,0,0,0,0,100,0), +(@PATH,8,-1180.239,3030.619,89.39481,0,0,0,0,100,0), +(@PATH,9,-1185.239,3032.369,89.39481,0,0,0,0,100,0), +(@PATH,10,-1186.739,3032.869,89.39481,0,0,0,0,100,0), +(@PATH,11,-1192.382,3035.095,89.52702,0,0,0,0,100,0), +(@PATH,12,-1194.632,3035.345,89.52702,0,0,0,0,100,0), +(@PATH,13,-1196.382,3035.345,89.52702,0,0,0,0,100,0), +(@PATH,14,-1197.632,3035.345,89.52702,0,0,0,0,100,0), +(@PATH,15,-1202.882,3036.095,90.02702,0,0,0,0,100,0), +(@PATH,16,-1211.132,3036.845,90.02702,0,0,0,0,100,0), +(@PATH,17,-1213.132,3037.095,90.27702,0,0,0,0,100,0), +(@PATH,18,-1214.382,3037.345,90.27702,0,0,0,0,100,0), +(@PATH,19,-1215.882,3037.595,90.27702,0,0,0,0,100,0), +(@PATH,20,-1217.882,3037.845,90.02702,0,0,0,0,100,0), +(@PATH,21,-1216.199,3037.479,90.4248,0,0,0,0,100,0), +(@PATH,22,-1218.199,3037.729,90.1748,0,0,0,0,100,0), +(@PATH,23,-1218.699,3037.729,90.1748,0,0,0,0,100,0), +(@PATH,24,-1227.949,3037.229,89.6748,0,0,0,0,100,0), +(@PATH,25,-1229.449,3036.979,89.6748,0,0,0,0,100,0), +(@PATH,26,-1230.949,3036.979,89.6748,0,0,0,0,100,0), +(@PATH,27,-1231.949,3036.729,89.6748,0,0,0,0,100,0), +(@PATH,28,-1233.949,3036.729,89.6748,0,0,0,0,100,0), +(@PATH,29,-1241.126,3036.059,89.4755,0,0,0,0,100,0), +(@PATH,30,-1244.376,3035.559,89.2255,0,0,0,0,100,0), +(@PATH,31,-1251.376,3034.809,89.2255,0,0,0,0,100,0), +(@PATH,32,-1261.65,3033.331,89.29744,0,0,0,0,100,0), +(@PATH,33,-1271.4,3021.831,89.04744,0,0,0,0,100,0), +(@PATH,34,-1271.384,3021.734,89.11711,0,0,0,0,100,0), +(@PATH,35,-1271.884,3021.234,89.11711,0,0,0,0,100,0), +(@PATH,36,-1271.384,3019.734,89.11711,0,0,0,0,100,0), +(@PATH,37,-1268.18,3009.344,88.96141,0,0,0,0,100,0), +(@PATH,38,-1261.18,3007.594,88.71141,0,0,0,0,100,0), +(@PATH,39,-1258.68,3006.844,88.71141,0,0,0,0,100,0), +(@PATH,40,-1258.832,3006.843,88.92203,0,0,0,0,100,0), +(@PATH,41,-1261.332,3007.343,88.92203,0,0,0,0,100,0), +(@PATH,42,-1268.188,3009.486,88.80437,0,0,0,0,100,0), +(@PATH,43,-1271.438,3019.736,89.05437,0,0,0,0,100,0), +(@PATH,44,-1271.52,3019.975,89.0011,0,0,0,0,100,0), +(@PATH,45,-1271.77,3021.475,89.0011,0,0,0,0,100,0), +(@PATH,46,-1261.493,3033.262,89.39217,0,0,0,0,100,0), +(@PATH,47,-1251.493,3034.762,89.39217,0,0,0,0,100,0), +(@PATH,48,-1244.493,3035.512,89.39217,0,0,0,0,100,0), +(@PATH,49,-1240.985,3036.459,89.51794,0,0,0,0,100,0), +(@PATH,50,-1233.985,3036.709,89.51794,0,0,0,0,100,0), +(@PATH,51,-1231.985,3036.709,89.51794,0,0,0,0,100,0), +(@PATH,52,-1231.235,3036.959,89.51794,0,0,0,0,100,0), +(@PATH,53,-1229.485,3036.959,89.51794,0,0,0,0,100,0), +(@PATH,54,-1227.985,3037.209,89.76794,0,0,0,0,100,0), +(@PATH,55,-1219.235,3037.709,90.01794,0,0,0,0,100,0), +(@PATH,56,-1219.072,3037.759,90.06062,0,0,0,0,100,0), +(@PATH,57,-1218.572,3037.759,90.06062,0,0,0,0,100,0), +(@PATH,58,-1215.822,3037.509,90.31062,0,0,0,0,100,0), +(@PATH,59,-1214.322,3037.259,90.31062,0,0,0,0,100,0), +(@PATH,60,-1213.072,3037.259,90.31062,0,0,0,0,100,0), +(@PATH,61,-1211.072,3037.009,90.06062,0,0,0,0,100,0), +(@PATH,62,-1203.822,3036.259,90.06062,0,0,0,0,100,0), +(@PATH,63,-1197.572,3035.759,89.56062,0,0,0,0,100,0), +(@PATH,64,-1196.322,3035.509,89.56062,0,0,0,0,100,0), +(@PATH,65,-1194.572,3035.259,89.56062,0,0,0,0,100,0), +(@PATH,66,-1195.928,3035.287,89.46788,0,0,0,0,100,0), +(@PATH,67,-1194.428,3035.037,89.46788,0,0,0,0,100,0), +(@PATH,68,-1192.178,3034.787,89.46788,0,0,0,0,100,0), +(@PATH,69,-1186.928,3033.037,89.21788,0,0,0,0,100,0), +(@PATH,70,-1185.678,3032.537,89.46788,0,0,0,0,100,0), +(@PATH,71,-1180.178,3030.787,89.46788,0,0,0,0,100,0), +(@PATH,72,-1176.182,3029.247,89.41785,0,0,0,0,100,0), +(@PATH,73,-1175.182,3027.997,89.41785,0,0,0,0,100,0), +(@PATH,74,-1171.432,3023.247,88.91785,0,0,0,0,100,0), +(@PATH,75,-1165.182,3015.997,87.66785,0,0,0,0,100,0), +(@PATH,76,-1165.321,3015.878,87.28442,0,0,0,0,100,0), +(@PATH,77,-1163.571,3013.878,87.28442,0,0,0,0,100,0), +(@PATH,78,-1165.071,3010.878,86.78442,0,0,0,0,100,0), +(@PATH,79,-1171.071,2999.128,86.53442,0,0,0,0,100,0), +(@PATH,80,-1172.571,2996.378,86.53442,0,0,0,0,100,0), +(@PATH,81,-1172.771,2996.083,86.61595,0,0,0,0,100,0), +(@PATH,82,-1175.271,2991.583,86.36595,0,0,0,0,100,0), +(@PATH,83,-1177.021,2984.583,86.61595,0,0,0,0,100,0), +(@PATH,84,-1178.771,2978.333,86.86595,0,0,0,0,100,0), +(@PATH,85,-1178.964,2978.378,87.03311,0,0,0,0,100,0), +(@PATH,86,-1179.464,2976.378,87.28311,0,0,0,0,100,0), +(@PATH,87,-1178.714,2978.378,87.03311,0,0,0,0,100,0), +(@PATH,88,-1177.464,2981.128,86.78311,0,0,0,0,100,0), +(@PATH,89,-1173.464,2990.378,86.53311,0,0,0,0,100,0), +(@PATH,90,-1170.464,2997.878,86.53311,0,0,0,0,100,0), +(@PATH,91,-1169.714,2999.628,86.53311,0,0,0,0,100,0), +(@PATH,92,-1169.331,2999.875,86.57412,0,0,0,0,100,0), +(@PATH,93,-1167.331,3004.625,86.82412,0,0,0,0,100,0); + +-- Pathing for Entry: 11778 'TDB FORMAT' +SET @NPC := 365494; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1299.003,`position_y`=2943.315,`position_z`=75.14294 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1299.003,2943.315,75.14294,0,0,0,0,100,0), +(@PATH,2,-1294.753,2941.315,75.14294,0,0,0,0,100,0), +(@PATH,3,-1285.253,2936.565,74.89294,0,0,0,0,100,0), +(@PATH,4,-1282.003,2935.065,74.89294,0,0,0,0,100,0), +(@PATH,5,-1279.003,2933.565,74.89294,0,0,0,0,100,0), +(@PATH,6,-1276.276,2932.174,74.92701,0,0,0,0,100,0), +(@PATH,7,-1274.526,2931.424,74.67701,0,0,0,0,100,0), +(@PATH,8,-1269.276,2928.924,74.42701,0,0,0,0,100,0), +(@PATH,9,-1267.026,2927.924,74.42701,0,0,0,0,100,0), +(@PATH,10,-1258.776,2924.424,74.42701,0,0,0,0,100,0), +(@PATH,11,-1256.026,2923.174,74.17701,0,0,0,0,100,0), +(@PATH,12,-1250.158,2920.423,73.99724,0,0,0,0,100,0), +(@PATH,13,-1248.658,2919.423,73.99724,0,0,0,0,100,0), +(@PATH,14,-1247.408,2918.423,73.74724,0,0,0,0,100,0), +(@PATH,15,-1238.658,2911.923,74.49724,0,0,0,0,100,0), +(@PATH,16,-1237.158,2910.673,74.74724,0,0,0,0,100,0), +(@PATH,17,-1235.658,2909.673,74.99724,0,0,0,0,100,0), +(@PATH,18,-1232.658,2907.173,74.99724,0,0,0,0,100,0), +(@PATH,19,-1228.582,2904.246,75.57681,0,0,0,0,100,0), +(@PATH,20,-1226.332,2904.496,75.82681,0,0,0,0,100,0), +(@PATH,21,-1218.082,2905.496,76.57681,0,0,0,0,100,0), +(@PATH,22,-1216.582,2905.746,76.82681,0,0,0,0,100,0), +(@PATH,23,-1214.582,2905.746,77.07681,0,0,0,0,100,0), +(@PATH,24,-1216.342,2905.78,77.08774,0,0,0,0,100,0), +(@PATH,25,-1214.342,2905.78,77.08774,0,0,0,0,100,0), +(@PATH,26,-1211.092,2906.28,77.33774,0,0,0,0,100,0), +(@PATH,27,-1208.342,2908.28,77.58774,0,0,0,0,100,0), +(@PATH,28,-1208.161,2908.606,77.64957,0,0,0,0,100,0), +(@PATH,29,-1204.911,2911.356,77.89957,0,0,0,0,100,0), +(@PATH,30,-1204.411,2914.856,77.89957,0,0,0,0,100,0), +(@PATH,31,-1203.661,2919.856,77.89957,0,0,0,0,100,0), +(@PATH,32,-1203.411,2921.606,77.64957,0,0,0,0,100,0), +(@PATH,33,-1203.111,2921.879,77.64648,0,0,0,0,100,0), +(@PATH,34,-1202.361,2925.629,77.89648,0,0,0,0,100,0), +(@PATH,35,-1201.111,2925.879,78.14648,0,0,0,0,100,0), +(@PATH,36,-1198.111,2926.379,78.14648,0,0,0,0,100,0), +(@PATH,37,-1190.324,2927.794,77.83607,0,0,0,0,100,0), +(@PATH,38,-1185.574,2928.794,77.83607,0,0,0,0,100,0), +(@PATH,39,-1180.824,2929.794,77.58607,0,0,0,0,100,0), +(@PATH,40,-1179.074,2930.294,77.83607,0,0,0,0,100,0), +(@PATH,41,-1173.824,2931.544,77.58607,0,0,0,0,100,0), +(@PATH,42,-1173.401,2931.618,77.91017,0,0,0,0,100,0), +(@PATH,43,-1172.651,2931.868,77.91017,0,0,0,0,100,0), +(@PATH,44,-1168.151,2934.118,77.66017,0,0,0,0,100,0), +(@PATH,45,-1166.901,2934.618,78.16017,0,0,0,0,100,0), +(@PATH,46,-1164.401,2935.868,79.16017,0,0,0,0,100,0), +(@PATH,47,-1162.651,2936.618,79.41017,0,0,0,0,100,0), +(@PATH,48,-1160.151,2937.868,80.16017,0,0,0,0,100,0), +(@PATH,49,-1157.901,2938.868,80.91017,0,0,0,0,100,0), +(@PATH,50,-1156.401,2939.618,81.16017,0,0,0,0,100,0), +(@PATH,51,-1153.901,2940.868,81.91017,0,0,0,0,100,0), +(@PATH,52,-1151.901,2941.618,82.16017,0,0,0,0,100,0), +(@PATH,53,-1144.513,2945.548,82.41458,0,0,0,0,100,0), +(@PATH,54,-1147.263,2949.298,82.66458,0,0,0,0,100,0), +(@PATH,55,-1151.263,2954.548,82.91458,0,0,0,0,100,0), +(@PATH,56,-1155.197,2960.096,83.01208,0,0,0,0,100,0), +(@PATH,57,-1150.697,2954.346,83.01208,0,0,0,0,100,0), +(@PATH,58,-1146.947,2949.596,82.51208,0,0,0,0,100,0), +(@PATH,59,-1146.772,2949.24,82.50531,0,0,0,0,100,0), +(@PATH,60,-1144.022,2945.49,82.50531,0,0,0,0,100,0), +(@PATH,61,-1143.772,2941.99,82.25531,0,0,0,0,100,0), +(@PATH,62,-1143.272,2939.49,82.25531,0,0,0,0,100,0), +(@PATH,63,-1143.272,2938.24,82.25531,0,0,0,0,100,0), +(@PATH,64,-1143.15,2938.109,82.41747,0,0,0,0,100,0), +(@PATH,65,-1143.15,2939.109,82.16747,0,0,0,0,100,0), +(@PATH,66,-1143.4,2941.859,82.16747,0,0,0,0,100,0), +(@PATH,67,-1143.773,2942.135,82.47094,0,0,0,0,100,0), +(@PATH,68,-1144.023,2945.885,82.47094,0,0,0,0,100,0), +(@PATH,69,-1147.023,2949.635,82.47094,0,0,0,0,100,0), +(@PATH,70,-1150.773,2954.385,82.97094,0,0,0,0,100,0), +(@PATH,71,-1155.348,2960.1,83.01122,0,0,0,0,100,0), +(@PATH,72,-1151.098,2954.35,83.01122,0,0,0,0,100,0), +(@PATH,73,-1147.348,2949.35,82.51122,0,0,0,0,100,0), +(@PATH,74,-1144.604,2945.217,82.41533,0,0,0,0,100,0), +(@PATH,75,-1152.104,2941.717,82.16533,0,0,0,0,100,0), +(@PATH,76,-1153.604,2940.967,81.91533,0,0,0,0,100,0), +(@PATH,77,-1156.354,2939.967,81.41533,0,0,0,0,100,0), +(@PATH,78,-1157.854,2939.217,80.91533,0,0,0,0,100,0), +(@PATH,79,-1160.104,2937.967,80.16533,0,0,0,0,100,0), +(@PATH,80,-1162.604,2936.717,79.66533,0,0,0,0,100,0), +(@PATH,81,-1164.354,2935.967,78.91533,0,0,0,0,100,0), +(@PATH,82,-1167.104,2934.717,78.16533,0,0,0,0,100,0), +(@PATH,83,-1168.354,2933.967,77.66533,0,0,0,0,100,0), +(@PATH,84,-1173.083,2931.623,77.75766,0,0,0,0,100,0), +(@PATH,85,-1179.083,2930.373,77.75766,0,0,0,0,100,0), +(@PATH,86,-1180.583,2930.123,77.75766,0,0,0,0,100,0), +(@PATH,87,-1185.583,2928.873,77.75766,0,0,0,0,100,0), +(@PATH,88,-1190.462,2927.413,77.76022,0,0,0,0,100,0), +(@PATH,89,-1197.962,2926.663,78.01022,0,0,0,0,100,0), +(@PATH,90,-1201.212,2926.163,78.01022,0,0,0,0,100,0), +(@PATH,91,-1198.342,2926.344,77.97252,0,0,0,0,100,0), +(@PATH,92,-1201.092,2925.844,77.97252,0,0,0,0,100,0), +(@PATH,93,-1202.342,2925.594,77.97252,0,0,0,0,100,0), +(@PATH,94,-1202.842,2922.094,77.72252,0,0,0,0,100,0), +(@PATH,95,-1203.342,2919.844,77.97252,0,0,0,0,100,0), +(@PATH,96,-1204.092,2914.844,77.97252,0,0,0,0,100,0), +(@PATH,97,-1204.183,2914.749,77.92102,0,0,0,0,100,0), +(@PATH,98,-1204.683,2911.749,77.92102,0,0,0,0,100,0), +(@PATH,99,-1208.183,2908.499,77.67102,0,0,0,0,100,0), +(@PATH,100,-1208.297,2908.46,77.62106,0,0,0,0,100,0), +(@PATH,101,-1211.047,2906.21,77.37106,0,0,0,0,100,0), +(@PATH,102,-1214.547,2905.96,77.12106,0,0,0,0,100,0), +(@PATH,103,-1216.547,2905.71,76.87106,0,0,0,0,100,0), +(@PATH,104,-1218.047,2905.46,76.62106,0,0,0,0,100,0), +(@PATH,105,-1226.297,2904.46,75.87106,0,0,0,0,100,0), +(@PATH,106,-1226.462,2904.691,75.58298,0,0,0,0,100,0), +(@PATH,107,-1228.712,2904.191,75.33298,0,0,0,0,100,0), +(@PATH,108,-1232.712,2907.191,75.08298,0,0,0,0,100,0), +(@PATH,109,-1235.712,2909.691,74.83298,0,0,0,0,100,0), +(@PATH,110,-1237.212,2910.691,74.83298,0,0,0,0,100,0), +(@PATH,111,-1238.462,2911.941,74.58298,0,0,0,0,100,0), +(@PATH,112,-1247.462,2918.191,73.83298,0,0,0,0,100,0), +(@PATH,113,-1248.712,2919.441,73.83298,0,0,0,0,100,0), +(@PATH,114,-1248.989,2919.603,73.8189,0,0,0,0,100,0), +(@PATH,115,-1250.239,2920.603,74.0689,0,0,0,0,100,0), +(@PATH,116,-1255.989,2923.103,74.3189,0,0,0,0,100,0), +(@PATH,117,-1258.739,2924.353,74.3189,0,0,0,0,100,0), +(@PATH,118,-1266.989,2928.103,74.3189,0,0,0,0,100,0), +(@PATH,119,-1269.239,2929.103,74.5689,0,0,0,0,100,0), +(@PATH,120,-1274.489,2931.353,74.8189,0,0,0,0,100,0), +(@PATH,121,-1274.832,2931.605,74.80034,0,0,0,0,100,0), +(@PATH,122,-1276.582,2932.605,74.80034,0,0,0,0,100,0), +(@PATH,123,-1279.082,2933.605,75.05034,0,0,0,0,100,0), +(@PATH,124,-1282.082,2935.105,74.80034,0,0,0,0,100,0), +(@PATH,125,-1285.082,2936.605,75.05034,0,0,0,0,100,0), +(@PATH,126,-1294.832,2941.105,75.30034,0,0,0,0,100,0), +(@PATH,127,-1295.264,2941.352,75.32316,0,0,0,0,100,0), +(@PATH,128,-1299.014,2943.352,75.32316,0,0,0,0,100,0), +(@PATH,129,-1301.264,2949.102,75.32316,0,0,0,0,100,0), +(@PATH,130,-1301.514,2950.352,75.07316,0,0,0,0,100,0), +(@PATH,131,-1303.514,2955.102,74.82316,0,0,0,0,100,0), +(@PATH,132,-1304.014,2956.352,74.32316,0,0,0,0,100,0), +(@PATH,133,-1305.764,2960.852,74.32316,0,0,0,0,100,0), +(@PATH,134,-1307.264,2964.852,74.07316,0,0,0,0,100,0); + +-- Pathing for Entry: 11781 'TDB FORMAT' +SET @NPC := 365690; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1462.104,`position_y`=2690.621,`position_z`=77.43065 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1462.104,2690.621,77.43065,0,0,0,0,100,0), +(@PATH,2,-1458.354,2690.871,77.43065,0,0,0,0,100,0), +(@PATH,3,-1456.104,2690.871,77.43065,0,0,0,0,100,0), +(@PATH,4,-1455.104,2690.871,77.68065,0,0,0,0,100,0), +(@PATH,5,-1447.354,2691.121,77.43065,0,0,0,0,100,0), +(@PATH,6,-1447.027,2691.122,77.4721,0,0,0,0,100,0), +(@PATH,7,-1444.777,2691.122,77.7221,0,0,0,0,100,0), +(@PATH,8,-1443.527,2690.122,77.4721,0,0,0,0,100,0), +(@PATH,9,-1440.277,2687.872,77.4721,0,0,0,0,100,0), +(@PATH,10,-1438.527,2686.622,77.4721,0,0,0,0,100,0), +(@PATH,11,-1432.277,2682.372,77.2221,0,0,0,0,100,0), +(@PATH,12,-1431.871,2682.209,77.36067,0,0,0,0,100,0), +(@PATH,13,-1430.621,2681.209,77.11067,0,0,0,0,100,0), +(@PATH,14,-1425.871,2670.459,77.61067,0,0,0,0,100,0), +(@PATH,15,-1425.121,2669.209,77.61067,0,0,0,0,100,0), +(@PATH,16,-1425.846,2670.198,77.68454,0,0,0,0,100,0), +(@PATH,17,-1425.096,2668.948,77.43454,0,0,0,0,100,0), +(@PATH,18,-1424.346,2666.698,77.18454,0,0,0,0,100,0), +(@PATH,19,-1427.346,2659.948,76.93454,0,0,0,0,100,0), +(@PATH,20,-1430.596,2651.698,76.93454,0,0,0,0,100,0), +(@PATH,21,-1430.833,2651.633,76.57137,0,0,0,0,100,0), +(@PATH,22,-1431.583,2649.883,76.82137,0,0,0,0,100,0), +(@PATH,23,-1437.833,2641.883,76.82137,0,0,0,0,100,0), +(@PATH,24,-1437.945,2641.785,76.75816,0,0,0,0,100,0), +(@PATH,25,-1438.445,2640.785,76.75816,0,0,0,0,100,0), +(@PATH,26,-1438.695,2639.285,76.75816,0,0,0,0,100,0), +(@PATH,27,-1439.695,2632.035,76.75816,0,0,0,0,100,0), +(@PATH,28,-1439.801,2631.656,76.61925,0,0,0,0,100,0), +(@PATH,29,-1440.051,2628.406,76.61925,0,0,0,0,100,0), +(@PATH,30,-1436.801,2621.656,76.36925,0,0,0,0,100,0), +(@PATH,31,-1435.551,2618.406,76.11925,0,0,0,0,100,0), +(@PATH,32,-1432.596,2611.603,75.93079,0,0,0,0,100,0), +(@PATH,33,-1437.366,2602.075,75.56982,0,0,0,0,100,0), +(@PATH,34,-1438.866,2598.075,75.56982,0,0,0,0,100,0), +(@PATH,35,-1439.366,2596.825,75.56982,0,0,0,0,100,0), +(@PATH,36,-1439.866,2594.825,75.56982,0,0,0,0,100,0), +(@PATH,37,-1441.616,2589.575,75.31982,0,0,0,0,100,0), +(@PATH,38,-1441.51,2589.368,75.28591,0,0,0,0,100,0), +(@PATH,39,-1442.51,2587.118,75.28591,0,0,0,0,100,0), +(@PATH,40,-1439.51,2586.118,75.03591,0,0,0,0,100,0), +(@PATH,41,-1432.51,2583.618,74.78591,0,0,0,0,100,0), +(@PATH,42,-1432.417,2583.657,74.61812,0,0,0,0,100,0), +(@PATH,43,-1431.167,2583.157,74.61812,0,0,0,0,100,0), +(@PATH,44,-1423.167,2587.657,74.11812,0,0,0,0,100,0), +(@PATH,45,-1420.667,2589.157,74.11812,0,0,0,0,100,0), +(@PATH,46,-1420.396,2589.275,73.95667,0,0,0,0,100,0), +(@PATH,47,-1419.146,2590.025,73.95667,0,0,0,0,100,0), +(@PATH,48,-1407.646,2592.525,73.45667,0,0,0,0,100,0), +(@PATH,49,-1407.504,2592.719,73.20682,0,0,0,0,100,0), +(@PATH,50,-1404.004,2593.469,73.20682,0,0,0,0,100,0), +(@PATH,51,-1398.254,2596.469,73.20682,0,0,0,0,100,0), +(@PATH,52,-1396.504,2597.219,73.45682,0,0,0,0,100,0), +(@PATH,53,-1390.744,2600.587,73.41841,0,0,0,0,100,0), +(@PATH,54,-1390.494,2603.337,73.41841,0,0,0,0,100,0), +(@PATH,55,-1389.494,2609.837,73.66841,0,0,0,0,100,0), +(@PATH,56,-1389.436,2610.158,74.02055,0,0,0,0,100,0), +(@PATH,57,-1389.186,2611.658,74.02055,0,0,0,0,100,0), +(@PATH,58,-1390.936,2616.658,74.52055,0,0,0,0,100,0), +(@PATH,59,-1391.436,2618.158,74.52055,0,0,0,0,100,0), +(@PATH,60,-1393.904,2627.518,76.23169,0,0,0,0,100,0), +(@PATH,61,-1391.154,2637.018,76.23169,0,0,0,0,100,0), +(@PATH,62,-1388.904,2646.768,75.98169,0,0,0,0,100,0), +(@PATH,63,-1388.404,2648.518,76.23169,0,0,0,0,100,0), +(@PATH,64,-1388.74,2646.894,76.03606,0,0,0,0,100,0), +(@PATH,65,-1391.24,2637.394,76.03606,0,0,0,0,100,0), +(@PATH,66,-1393.99,2627.894,76.28606,0,0,0,0,100,0), +(@PATH,67,-1393.905,2627.709,76.37361,0,0,0,0,100,0), +(@PATH,68,-1394.155,2627.459,76.37361,0,0,0,0,100,0), +(@PATH,69,-1391.405,2618.459,74.62361,0,0,0,0,100,0), +(@PATH,70,-1391.155,2617.459,74.37361,0,0,0,0,100,0), +(@PATH,71,-1389.173,2611.396,73.87778,0,0,0,0,100,0), +(@PATH,72,-1389.423,2609.896,73.62778,0,0,0,0,100,0), +(@PATH,73,-1390.423,2603.396,73.62778,0,0,0,0,100,0), +(@PATH,74,-1390.826,2600.292,73.40635,0,0,0,0,100,0), +(@PATH,75,-1396.326,2597.542,73.40635,0,0,0,0,100,0), +(@PATH,76,-1397.826,2596.542,73.15635,0,0,0,0,100,0), +(@PATH,77,-1404.195,2593.251,73.37874,0,0,0,0,100,0), +(@PATH,78,-1407.445,2592.501,73.37874,0,0,0,0,100,0), +(@PATH,79,-1419.441,2589.786,73.88396,0,0,0,0,100,0), +(@PATH,80,-1420.691,2589.036,73.88396,0,0,0,0,100,0), +(@PATH,81,-1422.941,2587.786,74.13396,0,0,0,0,100,0), +(@PATH,82,-1431.614,2583.384,74.61937,0,0,0,0,100,0), +(@PATH,83,-1432.614,2583.634,74.61937,0,0,0,0,100,0), +(@PATH,84,-1439.614,2585.884,75.11937,0,0,0,0,100,0), +(@PATH,85,-1439.449,2586.177,75.07936,0,0,0,0,100,0), +(@PATH,86,-1442.449,2586.927,75.32936,0,0,0,0,100,0), +(@PATH,87,-1441.449,2589.677,75.07936,0,0,0,0,100,0), +(@PATH,88,-1439.699,2594.427,75.57936,0,0,0,0,100,0), +(@PATH,89,-1438.949,2596.677,75.57936,0,0,0,0,100,0), +(@PATH,90,-1438.449,2598.177,75.57936,0,0,0,0,100,0), +(@PATH,91,-1438.409,2598.287,75.55045,0,0,0,0,100,0), +(@PATH,92,-1437.159,2602.287,75.55045,0,0,0,0,100,0), +(@PATH,93,-1432.691,2611.923,76.00952,0,0,0,0,100,0), +(@PATH,94,-1435.691,2618.173,76.00952,0,0,0,0,100,0), +(@PATH,95,-1437.191,2621.423,76.25952,0,0,0,0,100,0), +(@PATH,96,-1440.018,2628.79,76.65074,0,0,0,0,100,0), +(@PATH,97,-1439.768,2632.04,76.65074,0,0,0,0,100,0), +(@PATH,98,-1438.768,2639.29,76.65074,0,0,0,0,100,0), +(@PATH,99,-1438.615,2639.446,76.80415,0,0,0,0,100,0), +(@PATH,100,-1438.615,2640.946,76.80415,0,0,0,0,100,0), +(@PATH,101,-1437.865,2641.696,76.80415,0,0,0,0,100,0), +(@PATH,102,-1431.369,2650.1,76.79507,0,0,0,0,100,0), +(@PATH,103,-1430.619,2651.85,76.79507,0,0,0,0,100,0), +(@PATH,104,-1427.369,2659.6,76.79507,0,0,0,0,100,0), +(@PATH,105,-1424.278,2666.891,77.11405,0,0,0,0,100,0), +(@PATH,106,-1425.278,2669.141,77.61405,0,0,0,0,100,0), +(@PATH,107,-1426.028,2670.641,77.61405,0,0,0,0,100,0), +(@PATH,108,-1430.818,2681.298,77.3643,0,0,0,0,100,0), +(@PATH,109,-1432.068,2682.298,77.3643,0,0,0,0,100,0), +(@PATH,110,-1438.318,2686.548,77.6143,0,0,0,0,100,0), +(@PATH,111,-1440.068,2687.798,77.6143,0,0,0,0,100,0), +(@PATH,112,-1443.568,2690.298,77.6143,0,0,0,0,100,0), +(@PATH,113,-1443.814,2690.348,77.64693,0,0,0,0,100,0), +(@PATH,114,-1445.064,2691.098,77.64693,0,0,0,0,100,0), +(@PATH,115,-1447.314,2691.098,77.64693,0,0,0,0,100,0), +(@PATH,116,-1454.814,2690.848,77.64693,0,0,0,0,100,0), +(@PATH,117,-1456.064,2690.848,77.64693,0,0,0,0,100,0), +(@PATH,118,-1458.564,2690.848,77.64693,0,0,0,0,100,0), +(@PATH,119,-1462.44,2690.707,77.90204,0,0,0,0,100,0), +(@PATH,120,-1469.19,2689.457,77.90204,0,0,0,0,100,0), +(@PATH,121,-1472.19,2688.957,77.90204,0,0,0,0,100,0), +(@PATH,122,-1478.94,2687.957,77.90204,0,0,0,0,100,0), +(@PATH,123,-1479.94,2687.707,78.15204,0,0,0,0,100,0), +(@PATH,124,-1481.19,2687.707,78.40204,0,0,0,0,100,0), +(@PATH,125,-1487.44,2686.457,79.40204,0,0,0,0,100,0), +(@PATH,126,-1487.691,2686.55,79.60544,0,0,0,0,100,0), +(@PATH,127,-1488.441,2686.3,79.85544,0,0,0,0,100,0), +(@PATH,128,-1493.191,2687.55,81.10544,0,0,0,0,100,0), +(@PATH,129,-1498.441,2689.05,82.35544,0,0,0,0,100,0), +(@PATH,130,-1505.441,2690.8,84.10544,0,0,0,0,100,0), +(@PATH,131,-1505.519,2690.719,84.06639,0,0,0,0,100,0), +(@PATH,132,-1498.269,2688.969,82.56639,0,0,0,0,100,0), +(@PATH,133,-1493.019,2687.719,81.31639,0,0,0,0,100,0), +(@PATH,134,-1492.864,2687.692,81.00274,0,0,0,0,100,0), +(@PATH,135,-1488.114,2686.442,79.50274,0,0,0,0,100,0), +(@PATH,136,-1481.364,2687.692,78.25274,0,0,0,0,100,0), +(@PATH,137,-1480.114,2687.692,78.00274,0,0,0,0,100,0), +(@PATH,138,-1478.864,2687.942,77.75274,0,0,0,0,100,0), +(@PATH,139,-1472.114,2689.192,77.75274,0,0,0,0,100,0), +(@PATH,140,-1469.114,2689.442,77.75274,0,0,0,0,100,0), +(@PATH,141,-1462.289,2690.751,77.43117,0,0,0,0,100,0), +(@PATH,142,-1458.539,2690.751,77.43117,0,0,0,0,100,0), +(@PATH,143,-1456.039,2690.751,77.43117,0,0,0,0,100,0), +(@PATH,144,-1455.039,2690.751,77.68117,0,0,0,0,100,0), +(@PATH,145,-1447.289,2691.001,77.43117,0,0,0,0,100,0), +(@PATH,146,-1447.065,2691.167,77.46503,0,0,0,0,100,0), +(@PATH,147,-1444.815,2691.167,77.71503,0,0,0,0,100,0), +(@PATH,148,-1443.565,2690.167,77.46503,0,0,0,0,100,0), +(@PATH,149,-1440.065,2687.917,77.46503,0,0,0,0,100,0), +(@PATH,150,-1438.565,2686.667,77.46503,0,0,0,0,100,0), +(@PATH,151,-1432.065,2682.417,77.21503,0,0,0,0,100,0); + +-- Pathing for Entry: 11782 'TDB FORMAT' +SET @NPC := 365683; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1582.964,`position_y`=2697.486,`position_z`=92.43593 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1582.964,2697.486,92.43593,0,0,0,0,100,0), +(@PATH,2,-1581.714,2696.486,92.43593,0,0,0,0,100,0), +(@PATH,3,-1576.714,2694.486,92.68593,0,0,0,0,100,0), +(@PATH,4,-1566.714,2690.736,92.43593,0,0,0,0,100,0), +(@PATH,5,-1565.714,2690.486,92.43593,0,0,0,0,100,0), +(@PATH,6,-1557.566,2687.194,92.76268,0,0,0,0,100,0), +(@PATH,7,-1554.316,2686.694,92.76268,0,0,0,0,100,0), +(@PATH,8,-1542.316,2685.694,93.01268,0,0,0,0,100,0), +(@PATH,9,-1538.066,2685.194,93.01268,0,0,0,0,100,0), +(@PATH,10,-1537.894,2684.884,93.08575,0,0,0,0,100,0), +(@PATH,11,-1535.394,2684.634,92.83575,0,0,0,0,100,0), +(@PATH,12,-1529.894,2682.384,92.58575,0,0,0,0,100,0), +(@PATH,13,-1528.644,2681.634,92.58575,0,0,0,0,100,0), +(@PATH,14,-1516.394,2676.384,92.58575,0,0,0,0,100,0), +(@PATH,15,-1515.144,2675.884,92.58575,0,0,0,0,100,0), +(@PATH,16,-1516.271,2676.145,92.2326,0,0,0,0,100,0), +(@PATH,17,-1515.021,2675.645,92.2326,0,0,0,0,100,0), +(@PATH,18,-1511.771,2674.145,92.4826,0,0,0,0,100,0), +(@PATH,19,-1507.021,2670.895,92.7326,0,0,0,0,100,0), +(@PATH,20,-1504.021,2668.895,92.2326,0,0,0,0,100,0), +(@PATH,21,-1501.771,2667.395,92.2326,0,0,0,0,100,0), +(@PATH,22,-1494.629,2662.575,92.56489,0,0,0,0,100,0), +(@PATH,23,-1492.129,2661.575,92.81489,0,0,0,0,100,0), +(@PATH,24,-1476.879,2655.825,92.56489,0,0,0,0,100,0), +(@PATH,25,-1474.879,2655.075,92.56489,0,0,0,0,100,0), +(@PATH,26,-1474.822,2655.104,92.63975,0,0,0,0,100,0), +(@PATH,27,-1476.822,2655.854,92.63975,0,0,0,0,100,0), +(@PATH,28,-1492.072,2661.604,92.63975,0,0,0,0,100,0), +(@PATH,29,-1494.831,2662.836,92.46249,0,0,0,0,100,0), +(@PATH,30,-1500.831,2666.836,92.21249,0,0,0,0,100,0), +(@PATH,31,-1503.831,2668.836,92.46249,0,0,0,0,100,0), +(@PATH,32,-1506.831,2670.836,92.71249,0,0,0,0,100,0), +(@PATH,33,-1512.091,2674.586,92.54573,0,0,0,0,100,0), +(@PATH,34,-1514.591,2675.586,92.54573,0,0,0,0,100,0), +(@PATH,35,-1515.841,2676.086,92.54573,0,0,0,0,100,0), +(@PATH,36,-1528.591,2681.586,92.54573,0,0,0,0,100,0), +(@PATH,37,-1529.841,2682.336,92.54573,0,0,0,0,100,0), +(@PATH,38,-1535.815,2684.872,92.70598,0,0,0,0,100,0), +(@PATH,39,-1538.065,2685.122,92.95598,0,0,0,0,100,0), +(@PATH,40,-1542.315,2685.372,92.95598,0,0,0,0,100,0), +(@PATH,41,-1554.315,2686.872,92.70598,0,0,0,0,100,0), +(@PATH,42,-1554.568,2686.917,92.75517,0,0,0,0,100,0), +(@PATH,43,-1557.818,2687.417,92.75517,0,0,0,0,100,0), +(@PATH,44,-1565.068,2690.167,92.50517,0,0,0,0,100,0), +(@PATH,45,-1566.568,2690.667,92.50517,0,0,0,0,100,0), +(@PATH,46,-1576.818,2694.417,92.50517,0,0,0,0,100,0), +(@PATH,47,-1582.052,2696.549,92.8848,0,0,0,0,100,0), +(@PATH,48,-1583.302,2697.799,92.6348,0,0,0,0,100,0), +(@PATH,49,-1588.052,2701.799,92.6348,0,0,0,0,100,0), +(@PATH,50,-1597.802,2710.299,93.3848,0,0,0,0,100,0), +(@PATH,51,-1599.802,2712.049,93.3848,0,0,0,0,100,0), +(@PATH,52,-1603.875,2715.844,93.43478,0,0,0,0,100,0), +(@PATH,53,-1601.875,2729.094,93.68478,0,0,0,0,100,0), +(@PATH,54,-1601.453,2732.023,93.87001,0,0,0,0,100,0), +(@PATH,55,-1599.703,2732.773,93.87001,0,0,0,0,100,0), +(@PATH,56,-1597.453,2733.273,93.87001,0,0,0,0,100,0), +(@PATH,57,-1589.563,2736.207,93.76493,0,0,0,0,100,0), +(@PATH,58,-1586.313,2733.707,93.76493,0,0,0,0,100,0), +(@PATH,59,-1584.313,2732.207,94.01493,0,0,0,0,100,0), +(@PATH,60,-1578.063,2727.707,93.76493,0,0,0,0,100,0), +(@PATH,61,-1577.945,2727.322,93.849,0,0,0,0,100,0), +(@PATH,62,-1574.945,2725.572,93.599,0,0,0,0,100,0), +(@PATH,63,-1572.445,2725.572,93.349,0,0,0,0,100,0), +(@PATH,64,-1568.445,2725.572,91.849,0,0,0,0,100,0), +(@PATH,65,-1565.195,2725.822,91.349,0,0,0,0,100,0), +(@PATH,66,-1560.945,2725.822,90.599,0,0,0,0,100,0), +(@PATH,67,-1556.445,2725.822,89.099,0,0,0,0,100,0), +(@PATH,68,-1556.275,2725.98,89.0741,0,0,0,0,100,0), +(@PATH,69,-1555.025,2725.98,89.0741,0,0,0,0,100,0), +(@PATH,70,-1548.275,2739.23,89.0741,0,0,0,0,100,0), +(@PATH,71,-1548.242,2739.588,89.139,0,0,0,0,100,0), +(@PATH,72,-1547.242,2741.588,89.389,0,0,0,0,100,0), +(@PATH,73,-1549.141,2756.16,89.68834,0,0,0,0,100,0), +(@PATH,74,-1547.141,2757.91,89.93834,0,0,0,0,100,0), +(@PATH,75,-1545.391,2759.41,90.43834,0,0,0,0,100,0), +(@PATH,76,-1539.641,2764.16,91.43834,0,0,0,0,100,0), +(@PATH,77,-1537.141,2766.66,92.18834,0,0,0,0,100,0), +(@PATH,78,-1531.641,2771.16,92.93834,0,0,0,0,100,0), +(@PATH,79,-1531.557,2771.438,93.16179,0,0,0,0,100,0), +(@PATH,80,-1528.557,2773.938,93.91179,0,0,0,0,100,0), +(@PATH,81,-1525.307,2774.438,94.66179,0,0,0,0,100,0), +(@PATH,82,-1521.307,2775.188,94.91179,0,0,0,0,100,0), +(@PATH,83,-1516.307,2776.438,95.41179,0,0,0,0,100,0), +(@PATH,84,-1510.557,2777.688,95.41179,0,0,0,0,100,0), +(@PATH,85,-1510.231,2777.852,95.4211,0,0,0,0,100,0), +(@PATH,86,-1507.731,2778.352,95.4211,0,0,0,0,100,0), +(@PATH,87,-1495.481,2780.102,95.4211,0,0,0,0,100,0), +(@PATH,88,-1492.731,2780.602,95.4211,0,0,0,0,100,0), +(@PATH,89,-1495.294,2780.482,95.44955,0,0,0,0,100,0), +(@PATH,90,-1492.544,2780.982,95.44955,0,0,0,0,100,0), +(@PATH,91,-1491.044,2781.232,95.19955,0,0,0,0,100,0), +(@PATH,92,-1490.044,2781.482,95.19955,0,0,0,0,100,0), +(@PATH,93,-1484.294,2783.482,95.19955,0,0,0,0,100,0), +(@PATH,94,-1483.614,2783.794,95.16344,0,0,0,0,100,0), +(@PATH,95,-1489.864,2781.544,95.16344,0,0,0,0,100,0), +(@PATH,96,-1490.316,2781.236,95.12239,0,0,0,0,100,0), +(@PATH,97,-1491.316,2780.986,95.37239,0,0,0,0,100,0), +(@PATH,98,-1492.566,2780.736,95.37239,0,0,0,0,100,0), +(@PATH,99,-1495.566,2780.236,95.37239,0,0,0,0,100,0), +(@PATH,100,-1508.137,2778.273,95.42488,0,0,0,0,100,0), +(@PATH,101,-1510.387,2777.773,95.42488,0,0,0,0,100,0), +(@PATH,102,-1515.387,2776.523,95.42488,0,0,0,0,100,0), +(@PATH,103,-1521.387,2775.523,94.92488,0,0,0,0,100,0), +(@PATH,104,-1524.637,2775.023,94.67488,0,0,0,0,100,0), +(@PATH,105,-1528.907,2773.8,93.65556,0,0,0,0,100,0), +(@PATH,106,-1531.657,2771.3,93.15556,0,0,0,0,100,0), +(@PATH,107,-1536.907,2766.55,92.15556,0,0,0,0,100,0), +(@PATH,108,-1539.657,2764.3,91.40556,0,0,0,0,100,0), +(@PATH,109,-1545.407,2759.55,90.40556,0,0,0,0,100,0), +(@PATH,110,-1546.657,2758.3,89.90556,0,0,0,0,100,0), +(@PATH,111,-1546.903,2757.844,89.65398,0,0,0,0,100,0), +(@PATH,112,-1549.153,2755.844,89.65398,0,0,0,0,100,0), +(@PATH,113,-1547.407,2741.25,89.39632,0,0,0,0,100,0), +(@PATH,114,-1548.407,2739.25,89.14632,0,0,0,0,100,0), +(@PATH,115,-1555.337,2725.943,89.04262,0,0,0,0,100,0), +(@PATH,116,-1556.587,2725.943,89.04262,0,0,0,0,100,0), +(@PATH,117,-1560.837,2725.943,90.54262,0,0,0,0,100,0), +(@PATH,118,-1565.087,2725.693,91.29262,0,0,0,0,100,0), +(@PATH,119,-1568.587,2725.693,91.79262,0,0,0,0,100,0), +(@PATH,120,-1572.587,2725.443,93.29262,0,0,0,0,100,0), +(@PATH,121,-1572.781,2725.522,93.22071,0,0,0,0,100,0), +(@PATH,122,-1575.281,2725.522,93.47071,0,0,0,0,100,0), +(@PATH,123,-1578.031,2727.522,93.72071,0,0,0,0,100,0), +(@PATH,124,-1584.031,2732.022,93.97071,0,0,0,0,100,0), +(@PATH,125,-1586.281,2733.772,93.72071,0,0,0,0,100,0), +(@PATH,126,-1586.509,2733.911,93.87191,0,0,0,0,100,0), +(@PATH,127,-1589.759,2736.161,93.87191,0,0,0,0,100,0), +(@PATH,128,-1597.509,2733.161,93.87191,0,0,0,0,100,0), +(@PATH,129,-1599.759,2732.661,93.87191,0,0,0,0,100,0), +(@PATH,130,-1599.997,2732.472,93.73877,0,0,0,0,100,0), +(@PATH,131,-1601.497,2731.722,93.73877,0,0,0,0,100,0), +(@PATH,132,-1601.997,2728.972,93.73877,0,0,0,0,100,0), +(@PATH,133,-1603.91,2715.443,93.64568,0,0,0,0,100,0), +(@PATH,134,-1599.66,2711.943,93.39568,0,0,0,0,100,0), +(@PATH,135,-1597.91,2710.193,93.39568,0,0,0,0,100,0), +(@PATH,136,-1587.91,2701.693,92.64568,0,0,0,0,100,0), +(@PATH,137,-1583.16,2697.693,92.64568,0,0,0,0,100,0), +(@PATH,138,-1583.093,2697.631,92.43449,0,0,0,0,100,0); + +-- Pathing for Entry: 11685 'TDB FORMAT' +SET @NPC := 365692; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1459.43,`position_y`=2955.148,`position_z`=123.3121 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1459.43,2955.148,123.3121,0,0,0,0,100,0), +(@PATH,2,-1455.93,2957.898,123.5621,0,0,0,0,100,0), +(@PATH,3,-1446.945,2964.333,124.0039,0,0,0,0,100,0), +(@PATH,4,-1445.695,2964.083,124.0039,0,0,0,0,100,0), +(@PATH,5,-1444.445,2964.083,124.0039,0,0,0,0,100,0), +(@PATH,6,-1435.357,2963.614,124.2484,0,0,0,0,100,0), +(@PATH,7,-1434.107,2963.364,124.4984,0,0,0,0,100,0), +(@PATH,8,-1430.857,2962.364,124.4984,0,0,0,0,100,0), +(@PATH,9,-1429.357,2962.114,124.4984,0,0,0,0,100,0), +(@PATH,10,-1426.107,2961.364,124.4984,0,0,0,0,100,0), +(@PATH,11,-1422.357,2960.364,124.2484,0,0,0,0,100,0), +(@PATH,12,-1417.953,2958.88,124.3581,0,0,0,0,100,0), +(@PATH,13,-1415.453,2958.88,124.3581,0,0,0,0,100,0), +(@PATH,14,-1414.203,2958.88,124.8581,0,0,0,0,100,0), +(@PATH,15,-1411.203,2958.88,125.6081,0,0,0,0,100,0), +(@PATH,16,-1409.203,2958.63,126.1081,0,0,0,0,100,0), +(@PATH,17,-1407.703,2958.63,126.6081,0,0,0,0,100,0), +(@PATH,18,-1406.203,2958.63,126.8581,0,0,0,0,100,0), +(@PATH,19,-1404.203,2958.38,126.8581,0,0,0,0,100,0), +(@PATH,20,-1401.453,2958.397,126.9448,0,0,0,0,100,0), +(@PATH,21,-1401.703,2961.897,126.9448,0,0,0,0,100,0), +(@PATH,22,-1401.703,2963.397,126.9448,0,0,0,0,100,0), +(@PATH,23,-1401.591,2970.389,127.5362,0,0,0,0,100,0), +(@PATH,24,-1402.341,2972.389,128.5362,0,0,0,0,100,0), +(@PATH,25,-1403.091,2975.139,129.2862,0,0,0,0,100,0), +(@PATH,26,-1403.591,2977.139,129.7862,0,0,0,0,100,0), +(@PATH,27,-1403.841,2978.389,130.0362,0,0,0,0,100,0), +(@PATH,28,-1404.841,2981.639,130.2862,0,0,0,0,100,0), +(@PATH,29,-1405.408,2982.929,130.2668,0,0,0,0,100,0), +(@PATH,30,-1410.408,2985.179,130.2668,0,0,0,0,100,0), +(@PATH,31,-1410.693,2985.385,130.2508,0,0,0,0,100,0), +(@PATH,32,-1411.693,2985.885,131.0008,0,0,0,0,100,0), +(@PATH,33,-1413.693,2986.135,131.5008,0,0,0,0,100,0), +(@PATH,34,-1417.193,2986.635,132.5008,0,0,0,0,100,0), +(@PATH,35,-1419.193,2987.135,133.0008,0,0,0,0,100,0), +(@PATH,36,-1420.678,2987.364,133.3955,0,0,0,0,100,0), +(@PATH,37,-1423.428,2983.364,133.3955,0,0,0,0,100,0), +(@PATH,38,-1425.178,2981.364,133.1455,0,0,0,0,100,0), +(@PATH,39,-1426.154,2979.643,133.5141,0,0,0,0,100,0), +(@PATH,40,-1425.654,2974.893,133.0141,0,0,0,0,100,0), +(@PATH,41,-1425.404,2972.643,133.2641,0,0,0,0,100,0), +(@PATH,42,-1424.904,2965.893,134.5141,0,0,0,0,100,0), +(@PATH,43,-1424.801,2965.55,134.4985,0,0,0,0,100,0), +(@PATH,44,-1424.801,2964.8,134.7485,0,0,0,0,100,0), +(@PATH,45,-1424.301,2959.8,134.9985,0,0,0,0,100,0), +(@PATH,46,-1423.551,2953.55,134.4985,0,0,0,0,100,0), +(@PATH,47,-1424.203,2959.117,134.9039,0,0,0,0,100,0), +(@PATH,48,-1424.911,2964.955,134.754,0,0,0,0,100,0), +(@PATH,49,-1425.661,2972.455,133.254,0,0,0,0,100,0), +(@PATH,50,-1425.661,2974.455,133.004,0,0,0,0,100,0), +(@PATH,51,-1426.295,2979.762,133.2253,0,0,0,0,100,0), +(@PATH,52,-1425.045,2981.262,133.2253,0,0,0,0,100,0), +(@PATH,53,-1423.545,2983.512,133.2253,0,0,0,0,100,0), +(@PATH,54,-1421.045,2987.012,133.2253,0,0,0,0,100,0), +(@PATH,55,-1420.684,2987.013,133.3542,0,0,0,0,100,0), +(@PATH,56,-1420.434,2987.263,133.3542,0,0,0,0,100,0), +(@PATH,57,-1419.434,2987.263,133.1042,0,0,0,0,100,0), +(@PATH,58,-1417.184,2986.763,132.3542,0,0,0,0,100,0), +(@PATH,59,-1413.684,2986.013,131.6042,0,0,0,0,100,0), +(@PATH,60,-1412.184,2986.013,131.1042,0,0,0,0,100,0), +(@PATH,61,-1413.448,2985.948,131.1581,0,0,0,0,100,0), +(@PATH,62,-1411.948,2985.698,130.9081,0,0,0,0,100,0), +(@PATH,63,-1411.448,2985.698,130.6581,0,0,0,0,100,0), +(@PATH,64,-1410.448,2985.198,130.4081,0,0,0,0,100,0), +(@PATH,65,-1405.167,2982.822,130.1202,0,0,0,0,100,0), +(@PATH,66,-1404.917,2981.572,130.1202,0,0,0,0,100,0), +(@PATH,67,-1404.167,2978.572,130.3702,0,0,0,0,100,0), +(@PATH,68,-1403.667,2977.072,129.8702,0,0,0,0,100,0), +(@PATH,69,-1403.167,2975.072,129.1202,0,0,0,0,100,0), +(@PATH,70,-1402.167,2972.322,128.6202,0,0,0,0,100,0), +(@PATH,71,-1401.917,2970.822,128.1202,0,0,0,0,100,0), +(@PATH,72,-1401.7,2970.668,127.8203,0,0,0,0,100,0), +(@PATH,73,-1401.7,2970.168,127.3203,0,0,0,0,100,0), +(@PATH,74,-1401.45,2963.918,127.0703,0,0,0,0,100,0), +(@PATH,75,-1401.45,2961.918,127.0703,0,0,0,0,100,0), +(@PATH,76,-1401.33,2958.389,126.8152,0,0,0,0,100,0), +(@PATH,77,-1404.08,2958.389,126.8152,0,0,0,0,100,0), +(@PATH,78,-1406.33,2958.639,126.8152,0,0,0,0,100,0), +(@PATH,79,-1407.58,2958.639,126.5652,0,0,0,0,100,0), +(@PATH,80,-1409.08,2958.639,126.0652,0,0,0,0,100,0), +(@PATH,81,-1411.08,2958.889,125.5652,0,0,0,0,100,0), +(@PATH,82,-1413.83,2958.889,125.0652,0,0,0,0,100,0), +(@PATH,83,-1415.33,2959.139,124.3152,0,0,0,0,100,0), +(@PATH,84,-1418.193,2959.228,124.0576,0,0,0,0,100,0), +(@PATH,85,-1422.443,2960.228,124.0576,0,0,0,0,100,0), +(@PATH,86,-1425.693,2961.228,124.5576,0,0,0,0,100,0), +(@PATH,87,-1429.443,2961.978,124.5576,0,0,0,0,100,0), +(@PATH,88,-1430.693,2962.478,124.5576,0,0,0,0,100,0), +(@PATH,89,-1433.943,2963.228,124.5576,0,0,0,0,100,0), +(@PATH,90,-1434.226,2963.502,124.5548,0,0,0,0,100,0), +(@PATH,91,-1435.476,2963.752,124.3048,0,0,0,0,100,0), +(@PATH,92,-1444.726,2964.252,124.0548,0,0,0,0,100,0), +(@PATH,93,-1445.976,2964.502,124.0548,0,0,0,0,100,0), +(@PATH,94,-1446.075,2964.392,123.9111,0,0,0,0,100,0), +(@PATH,95,-1447.075,2964.392,123.9111,0,0,0,0,100,0), +(@PATH,96,-1456.075,2957.892,123.4111,0,0,0,0,100,0), +(@PATH,97,-1459.72,2955.015,123.2485,0,0,0,0,100,0), +(@PATH,98,-1462.97,2954.265,122.7485,0,0,0,0,100,0), +(@PATH,99,-1473.72,2951.765,121.7485,0,0,0,0,100,0), +(@PATH,100,-1475.818,2951.264,121.657,0,0,0,0,100,0), +(@PATH,101,-1482.318,2951.264,121.407,0,0,0,0,100,0), +(@PATH,102,-1487.097,2951.195,121.719,0,0,0,0,100,0), +(@PATH,103,-1489.097,2953.445,121.469,0,0,0,0,100,0), +(@PATH,104,-1491.097,2955.945,121.219,0,0,0,0,100,0), +(@PATH,105,-1493.347,2958.195,120.969,0,0,0,0,100,0), +(@PATH,106,-1494.847,2959.695,120.969,0,0,0,0,100,0), +(@PATH,107,-1494.702,2959.819,120.7082,0,0,0,0,100,0), +(@PATH,108,-1495.952,2961.319,120.7082,0,0,0,0,100,0), +(@PATH,109,-1494.952,2965.069,120.4582,0,0,0,0,100,0), +(@PATH,110,-1493.952,2968.069,120.2082,0,0,0,0,100,0), +(@PATH,111,-1493.135,2971.797,119.939,0,0,0,0,100,0), +(@PATH,112,-1490.885,2973.047,119.439,0,0,0,0,100,0), +(@PATH,113,-1486.885,2975.547,119.189,0,0,0,0,100,0), +(@PATH,114,-1482.589,2978.18,118.6633,0,0,0,0,100,0), +(@PATH,115,-1474.839,2980.43,117.4133,0,0,0,0,100,0), +(@PATH,116,-1466.839,2982.68,116.6633,0,0,0,0,100,0), +(@PATH,117,-1463.089,2983.68,115.6633,0,0,0,0,100,0), +(@PATH,118,-1463.133,2983.606,115.6055,0,0,0,0,100,0), +(@PATH,119,-1466.633,2982.606,116.6055,0,0,0,0,100,0), +(@PATH,120,-1474.883,2980.356,117.3555,0,0,0,0,100,0), +(@PATH,121,-1482.133,2978.356,118.6055,0,0,0,0,100,0), +(@PATH,122,-1482.382,2978.048,118.9606,0,0,0,0,100,0), +(@PATH,123,-1482.882,2977.798,118.9606,0,0,0,0,100,0), +(@PATH,124,-1486.382,2975.798,118.9606,0,0,0,0,100,0), +(@PATH,125,-1490.882,2973.048,119.4606,0,0,0,0,100,0), +(@PATH,126,-1493.497,2971.65,119.9411,0,0,0,0,100,0), +(@PATH,127,-1493.997,2968.15,120.1911,0,0,0,0,100,0), +(@PATH,128,-1494.997,2965.15,120.4411,0,0,0,0,100,0), +(@PATH,129,-1495.977,2961.063,120.9261,0,0,0,0,100,0), +(@PATH,130,-1494.727,2959.563,120.9261,0,0,0,0,100,0), +(@PATH,131,-1493.477,2958.313,120.9261,0,0,0,0,100,0), +(@PATH,132,-1491.477,2955.813,121.1761,0,0,0,0,100,0), +(@PATH,133,-1489.227,2953.313,121.4261,0,0,0,0,100,0), +(@PATH,134,-1486.912,2951.069,121.6427,0,0,0,0,100,0), +(@PATH,135,-1482.412,2951.319,121.3927,0,0,0,0,100,0), +(@PATH,136,-1475.523,2951.547,121.9355,0,0,0,0,100,0), +(@PATH,137,-1473.773,2951.797,121.9355,0,0,0,0,100,0), +(@PATH,138,-1463.023,2954.297,122.6855,0,0,0,0,100,0), +(@PATH,139,-1459.427,2955.091,123.2808,0,0,0,0,100,0), +(@PATH,140,-1455.927,2957.841,123.5308,0,0,0,0,100,0), +(@PATH,141,-1447.161,2964.17,123.9914,0,0,0,0,100,0), +(@PATH,142,-1445.661,2964.17,123.9914,0,0,0,0,100,0), +(@PATH,143,-1444.411,2964.17,123.9914,0,0,0,0,100,0); + +-- Pathing for Entry: 41730 'TDB FORMAT' +SET @NPC := 366397; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1026.428,`position_y`=2202.67,`position_z`=86.30669 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1026.428,2202.67,86.30669,0,0,0,0,100,0), +(@PATH,2,-1025.178,2200.92,87.05669,0,0,0,0,100,0), +(@PATH,3,-1024.178,2199.42,87.30669,0,0,0,0,100,0), +(@PATH,4,-1022.428,2198.17,88.30669,0,0,0,0,100,0), +(@PATH,5,-1020.178,2196.42,89.05669,0,0,0,0,100,0), +(@PATH,6,-1017.678,2194.42,89.80669,0,0,0,0,100,0), +(@PATH,7,-1016.178,2193.67,90.55669,0,0,0,0,100,0), +(@PATH,8,-1013.928,2191.67,91.05669,0,0,0,0,100,0), +(@PATH,9,-1010.928,2189.42,91.80669,0,0,0,0,100,0), +(@PATH,10,-1007.678,2186.92,92.55669,0,0,0,0,100,0), +(@PATH,11,-1003.678,2183.92,93.05669,0,0,0,0,100,0), +(@PATH,12,-1003.313,2183.825,92.99744,0,0,0,0,100,0), +(@PATH,13,-1003.063,2183.575,93.24744,0,0,0,0,100,0), +(@PATH,14,-999.063,2184.825,93.74744,0,0,0,0,100,0), +(@PATH,15,-988.813,2188.075,92.74744,0,0,0,0,100,0), +(@PATH,16,-986.063,2188.825,91.99744,0,0,0,0,100,0), +(@PATH,17,-983.313,2189.825,91.49744,0,0,0,0,100,0), +(@PATH,18,-982.9084,2189.715,91.38835,0,0,0,0,100,0), +(@PATH,19,-980.1584,2190.715,91.13835,0,0,0,0,100,0), +(@PATH,20,-963.2993,2172.244,91.64025,0,0,0,0,100,0), +(@PATH,21,-958.5493,2170.994,92.14025,0,0,0,0,100,0), +(@PATH,22,-954.0493,2169.744,92.39025,0,0,0,0,100,0), +(@PATH,23,-948.2993,2167.994,93.14025,0,0,0,0,100,0), +(@PATH,24,-947.9474,2167.955,93.01365,0,0,0,0,100,0), +(@PATH,25,-944.6974,2166.955,93.51365,0,0,0,0,100,0), +(@PATH,26,-935.6974,2170.955,93.76365,0,0,0,0,100,0), +(@PATH,27,-923.1023,2175.984,93.67142,0,0,0,0,100,0), +(@PATH,28,-897.6023,2172.734,94.17142,0,0,0,0,100,0), +(@PATH,29,-891.8262,2172.162,94.58807,0,0,0,0,100,0), +(@PATH,30,-890.0762,2175.662,95.08807,0,0,0,0,100,0), +(@PATH,31,-886.0762,2183.662,95.83807,0,0,0,0,100,0), +(@PATH,32,-877.0762,2201.162,95.08807,0,0,0,0,100,0), +(@PATH,33,-874.8262,2205.662,94.33807,0,0,0,0,100,0), +(@PATH,34,-874.922,2205.919,94.34056,0,0,0,0,100,0), +(@PATH,35,-873.922,2207.919,94.34056,0,0,0,0,100,0), +(@PATH,36,-886.422,2222.919,93.59056,0,0,0,0,100,0), +(@PATH,37,-890.922,2228.419,93.09056,0,0,0,0,100,0), +(@PATH,38,-891.0786,2228.385,92.75169,0,0,0,0,100,0), +(@PATH,39,-892.8286,2230.385,92.25169,0,0,0,0,100,0), +(@PATH,40,-896.8286,2229.635,91.75169,0,0,0,0,100,0), +(@PATH,41,-899.8286,2228.885,91.00169,0,0,0,0,100,0), +(@PATH,42,-902.5786,2228.385,90.50169,0,0,0,0,100,0), +(@PATH,43,-917.0786,2225.385,91.00169,0,0,0,0,100,0), +(@PATH,44,-919.0786,2224.885,92.00169,0,0,0,0,100,0), +(@PATH,45,-922.0786,2224.135,92.50169,0,0,0,0,100,0), +(@PATH,46,-924.8286,2223.635,93.00169,0,0,0,0,100,0), +(@PATH,47,-934.5786,2221.885,92.50169,0,0,0,0,100,0), +(@PATH,48,-936.5786,2221.385,92.00169,0,0,0,0,100,0), +(@PATH,49,-935.0046,2221.909,92.41104,0,0,0,0,100,0), +(@PATH,50,-937.0046,2221.409,91.66104,0,0,0,0,100,0), +(@PATH,51,-937.2546,2221.409,91.66104,0,0,0,0,100,0), +(@PATH,52,-938.7546,2223.909,90.41104,0,0,0,0,100,0), +(@PATH,53,-939.7546,2225.659,89.41104,0,0,0,0,100,0), +(@PATH,54,-940.7546,2227.409,88.91104,0,0,0,0,100,0), +(@PATH,55,-942.2546,2230.159,88.41104,0,0,0,0,100,0), +(@PATH,56,-943.7546,2232.659,87.66104,0,0,0,0,100,0), +(@PATH,57,-947.0046,2238.659,87.16104,0,0,0,0,100,0), +(@PATH,58,-957.5046,2257.659,86.66104,0,0,0,0,100,0), +(@PATH,59,-960.296,2262.098,86.06352,0,0,0,0,100,0), +(@PATH,60,-970.046,2260.098,85.31352,0,0,0,0,100,0), +(@PATH,61,-984.546,2257.098,86.06352,0,0,0,0,100,0), +(@PATH,62,-987.546,2256.348,86.81352,0,0,0,0,100,0), +(@PATH,63,-991.296,2255.848,87.31352,0,0,0,0,100,0), +(@PATH,64,-995.296,2255.098,87.81352,0,0,0,0,100,0), +(@PATH,65,-999.046,2254.098,88.56352,0,0,0,0,100,0), +(@PATH,66,-1007.179,2252.698,88.90382,0,0,0,0,100,0), +(@PATH,67,-1013.179,2252.698,88.40382,0,0,0,0,100,0), +(@PATH,68,-1016.179,2252.698,87.65382,0,0,0,0,100,0), +(@PATH,69,-1019.179,2252.698,87.15382,0,0,0,0,100,0), +(@PATH,70,-1022.179,2252.698,86.65382,0,0,0,0,100,0), +(@PATH,71,-1026.929,2252.698,86.15382,0,0,0,0,100,0), +(@PATH,72,-1046.929,2252.698,85.40382,0,0,0,0,100,0), +(@PATH,73,-1047.195,2252.594,85.32913,0,0,0,0,100,0), +(@PATH,74,-1048.195,2252.594,85.07913,0,0,0,0,100,0), +(@PATH,75,-1050.195,2251.844,84.32913,0,0,0,0,100,0), +(@PATH,76,-1051.945,2251.094,83.57913,0,0,0,0,100,0), +(@PATH,77,-1054.695,2249.844,82.57913,0,0,0,0,100,0), +(@PATH,78,-1056.445,2249.094,81.82913,0,0,0,0,100,0), +(@PATH,79,-1059.195,2247.844,80.82913,0,0,0,0,100,0), +(@PATH,80,-1061.195,2247.094,80.32913,0,0,0,0,100,0), +(@PATH,81,-1062.945,2246.344,79.32913,0,0,0,0,100,0), +(@PATH,82,-1065.695,2245.094,78.57913,0,0,0,0,100,0), +(@PATH,83,-1070.945,2242.844,78.07913,0,0,0,0,100,0), +(@PATH,84,-1076.445,2240.594,77.32913,0,0,0,0,100,0), +(@PATH,85,-1088.649,2235.067,76.5573,0,0,0,0,100,0), +(@PATH,86,-1090.649,2232.817,75.8073,0,0,0,0,100,0), +(@PATH,87,-1092.649,2230.567,75.0573,0,0,0,0,100,0), +(@PATH,88,-1093.899,2229.067,74.0573,0,0,0,0,100,0), +(@PATH,89,-1095.899,2226.817,73.3073,0,0,0,0,100,0), +(@PATH,90,-1097.899,2224.567,72.5573,0,0,0,0,100,0), +(@PATH,91,-1099.649,2222.567,71.8073,0,0,0,0,100,0), +(@PATH,92,-1101.649,2220.317,71.3073,0,0,0,0,100,0), +(@PATH,93,-1104.399,2217.317,70.5573,0,0,0,0,100,0), +(@PATH,94,-1108.399,2212.817,70.0573,0,0,0,0,100,0), +(@PATH,95,-1110.498,2210.578,69.37701,0,0,0,0,100,0), +(@PATH,96,-1114.248,2209.078,68.87701,0,0,0,0,100,0), +(@PATH,97,-1119.998,2207.328,68.12701,0,0,0,0,100,0), +(@PATH,98,-1128.248,2204.578,68.87701,0,0,0,0,100,0), +(@PATH,99,-1133.748,2202.578,69.37701,0,0,0,0,100,0), +(@PATH,100,-1134.024,2202.302,69.52861,0,0,0,0,100,0), +(@PATH,101,-1137.274,2201.302,69.77861,0,0,0,0,100,0), +(@PATH,102,-1138.274,2198.552,69.27861,0,0,0,0,100,0), +(@PATH,103,-1143.524,2185.552,70.02861,0,0,0,0,100,0), +(@PATH,104,-1146.024,2180.302,71.27861,0,0,0,0,100,0), +(@PATH,105,-1146.774,2178.552,72.52861,0,0,0,0,100,0), +(@PATH,106,-1148.024,2175.802,73.27861,0,0,0,0,100,0), +(@PATH,107,-1149.024,2173.052,74.27861,0,0,0,0,100,0), +(@PATH,108,-1150.274,2170.302,74.77861,0,0,0,0,100,0), +(@PATH,109,-1150.511,2170.104,75.02347,0,0,0,0,100,0), +(@PATH,110,-1151.761,2167.104,75.27347,0,0,0,0,100,0), +(@PATH,111,-1158.761,2163.354,75.52347,0,0,0,0,100,0), +(@PATH,112,-1163.011,2161.354,76.27347,0,0,0,0,100,0), +(@PATH,113,-1174.511,2155.354,77.02347,0,0,0,0,100,0), +(@PATH,114,-1174.704,2155.062,77.07393,0,0,0,0,100,0), +(@PATH,115,-1176.704,2154.062,77.32393,0,0,0,0,100,0), +(@PATH,116,-1180.454,2150.812,78.07393,0,0,0,0,100,0), +(@PATH,117,-1182.954,2148.812,78.57393,0,0,0,0,100,0), +(@PATH,118,-1185.704,2146.312,79.32393,0,0,0,0,100,0), +(@PATH,119,-1187.954,2144.812,80.07393,0,0,0,0,100,0), +(@PATH,120,-1194.204,2139.562,80.82393,0,0,0,0,100,0), +(@PATH,121,-1199.044,2135.549,81.04228,0,0,0,0,100,0), +(@PATH,122,-1199.544,2133.549,81.79228,0,0,0,0,100,0), +(@PATH,123,-1200.294,2129.799,82.79228,0,0,0,0,100,0), +(@PATH,124,-1201.544,2125.299,83.54228,0,0,0,0,100,0), +(@PATH,125,-1202.044,2123.299,82.79228,0,0,0,0,100,0), +(@PATH,126,-1202.794,2120.299,83.54228,0,0,0,0,100,0), +(@PATH,127,-1203.794,2116.549,83.54228,0,0,0,0,100,0), +(@PATH,128,-1204.97,2112.273,83.54636,0,0,0,0,100,0), +(@PATH,129,-1206.72,2111.273,82.04636,0,0,0,0,100,0), +(@PATH,130,-1210.72,2109.023,80.29636,0,0,0,0,100,0), +(@PATH,131,-1216.638,2105.218,80.64659,0,0,0,0,100,0), +(@PATH,132,-1215.888,2103.468,81.64659,0,0,0,0,100,0), +(@PATH,133,-1215.638,2102.468,82.14659,0,0,0,0,100,0), +(@PATH,134,-1215.138,2101.718,83.14659,0,0,0,0,100,0), +(@PATH,135,-1214.888,2100.718,83.39659,0,0,0,0,100,0), +(@PATH,136,-1214.388,2099.968,84.14659,0,0,0,0,100,0), +(@PATH,137,-1214.138,2098.968,85.14659,0,0,0,0,100,0), +(@PATH,138,-1213.638,2097.968,85.64659,0,0,0,0,100,0), +(@PATH,139,-1213.388,2097.218,86.39659,0,0,0,0,100,0), +(@PATH,140,-1214.883,2100.521,83.66913,0,0,0,0,100,0), +(@PATH,141,-1214.383,2099.771,84.41913,0,0,0,0,100,0), +(@PATH,142,-1214.133,2098.771,85.41913,0,0,0,0,100,0), +(@PATH,143,-1213.633,2097.771,85.91913,0,0,0,0,100,0), +(@PATH,144,-1213.383,2096.771,86.66913,0,0,0,0,100,0), +(@PATH,145,-1212.883,2096.021,87.16913,0,0,0,0,100,0), +(@PATH,146,-1211.883,2095.521,87.66913,0,0,0,0,100,0), +(@PATH,147,-1210.133,2095.021,88.16913,0,0,0,0,100,0), +(@PATH,148,-1206.383,2093.521,90.16913,0,0,0,0,100,0), +(@PATH,149,-1204.883,2093.021,91.16913,0,0,0,0,100,0), +(@PATH,150,-1201.883,2091.771,91.91913,0,0,0,0,100,0), +(@PATH,151,-1194.771,2089.184,92.36971,0,0,0,0,100,0), +(@PATH,152,-1192.771,2089.434,92.61971,0,0,0,0,100,0), +(@PATH,153,-1190.771,2089.684,93.36971,0,0,0,0,100,0), +(@PATH,154,-1188.771,2089.934,94.36971,0,0,0,0,100,0), +(@PATH,155,-1187.021,2090.184,95.11971,0,0,0,0,100,0), +(@PATH,156,-1179.021,2090.934,94.11971,0,0,0,0,100,0), +(@PATH,157,-1178.931,2091.3,94.36423,0,0,0,0,100,0), +(@PATH,158,-1176.431,2091.55,93.61423,0,0,0,0,100,0), +(@PATH,159,-1168.431,2097.3,94.11423,0,0,0,0,100,0), +(@PATH,160,-1165.181,2099.55,92.86423,0,0,0,0,100,0), +(@PATH,161,-1164.431,2100.05,92.36423,0,0,0,0,100,0), +(@PATH,162,-1161.931,2101.8,91.86423,0,0,0,0,100,0), +(@PATH,163,-1161.702,2102.095,91.45699,0,0,0,0,100,0), +(@PATH,164,-1157.702,2104.845,91.20699,0,0,0,0,100,0), +(@PATH,165,-1145.452,2111.095,90.45699,0,0,0,0,100,0), +(@PATH,166,-1143.702,2111.845,90.20699,0,0,0,0,100,0), +(@PATH,167,-1145.226,2111.381,90.59419,0,0,0,0,100,0), +(@PATH,168,-1143.476,2112.131,89.84419,0,0,0,0,100,0), +(@PATH,169,-1140.976,2113.381,89.34419,0,0,0,0,100,0), +(@PATH,170,-1138.726,2115.631,88.34419,0,0,0,0,100,0), +(@PATH,171,-1136.976,2117.631,87.59419,0,0,0,0,100,0), +(@PATH,172,-1134.726,2119.381,86.84419,0,0,0,0,100,0), +(@PATH,173,-1133.226,2120.881,86.09419,0,0,0,0,100,0), +(@PATH,174,-1131.976,2122.131,85.34419,0,0,0,0,100,0), +(@PATH,175,-1131.226,2122.881,84.59419,0,0,0,0,100,0), +(@PATH,176,-1129.726,2124.381,83.84419,0,0,0,0,100,0), +(@PATH,177,-1128.976,2125.131,83.09419,0,0,0,0,100,0), +(@PATH,178,-1131.863,2122.535,85.26608,0,0,0,0,100,0), +(@PATH,179,-1131.113,2123.285,84.51608,0,0,0,0,100,0), +(@PATH,180,-1129.613,2124.535,84.01608,0,0,0,0,100,0), +(@PATH,181,-1129.113,2125.285,83.26608,0,0,0,0,100,0), +(@PATH,182,-1127.863,2126.285,82.76608,0,0,0,0,100,0), +(@PATH,183,-1128.363,2127.285,83.26608,0,0,0,0,100,0), +(@PATH,184,-1129.363,2129.035,84.01608,0,0,0,0,100,0), +(@PATH,185,-1130.363,2130.785,84.76608,0,0,0,0,100,0), +(@PATH,186,-1131.863,2133.285,85.51608,0,0,0,0,100,0), +(@PATH,187,-1136.363,2141.785,85.01608,0,0,0,0,100,0), +(@PATH,188,-1137.863,2144.535,84.01608,0,0,0,0,100,0), +(@PATH,189,-1138.863,2146.285,83.51608,0,0,0,0,100,0), +(@PATH,190,-1139.379,2147.725,82.86009,0,0,0,0,100,0), +(@PATH,191,-1138.629,2148.225,82.11009,0,0,0,0,100,0), +(@PATH,192,-1137.129,2149.475,80.86009,0,0,0,0,100,0), +(@PATH,193,-1135.379,2150.725,80.11009,0,0,0,0,100,0), +(@PATH,194,-1133.879,2151.725,79.36009,0,0,0,0,100,0), +(@PATH,195,-1131.379,2153.475,78.36009,0,0,0,0,100,0), +(@PATH,196,-1129.879,2154.725,77.86009,0,0,0,0,100,0), +(@PATH,197,-1128.129,2155.975,76.86009,0,0,0,0,100,0), +(@PATH,198,-1126.629,2156.975,75.61009,0,0,0,0,100,0), +(@PATH,199,-1124.379,2158.725,73.11009,0,0,0,0,100,0), +(@PATH,200,-1123.629,2159.225,71.86009,0,0,0,0,100,0), +(@PATH,201,-1122.879,2159.725,69.86009,0,0,0,0,100,0), +(@PATH,202,-1121.129,2160.975,67.11009,0,0,0,0,100,0), +(@PATH,203,-1120.379,2161.475,64.86009,0,0,0,0,100,0), +(@PATH,204,-1118.629,2162.725,63.36009,0,0,0,0,100,0), +(@PATH,205,-1117.129,2163.975,62.61009,0,0,0,0,100,0), +(@PATH,206,-1115.629,2165.225,61.86009,0,0,0,0,100,0), +(@PATH,207,-1115.317,2165.3,61.83555,0,0,0,0,100,0), +(@PATH,208,-1113.317,2166.8,62.08555,0,0,0,0,100,0), +(@PATH,209,-1108.567,2168.05,62.58555,0,0,0,0,100,0), +(@PATH,210,-1102.817,2169.05,63.08555,0,0,0,0,100,0), +(@PATH,211,-1094.067,2171.3,63.58555,0,0,0,0,100,0), +(@PATH,212,-1093.907,2171.564,63.80578,0,0,0,0,100,0), +(@PATH,213,-1091.407,2172.064,63.80578,0,0,0,0,100,0), +(@PATH,214,-1082.907,2175.314,64.30578,0,0,0,0,100,0), +(@PATH,215,-1072.907,2178.814,63.80578,0,0,0,0,100,0), +(@PATH,216,-1060.629,2183.816,64.74543,0,0,0,0,100,0), +(@PATH,217,-1060.379,2186.816,65.24543,0,0,0,0,100,0), +(@PATH,218,-1059.879,2190.816,65.99543,0,0,0,0,100,0), +(@PATH,219,-1059.379,2192.566,66.99543,0,0,0,0,100,0), +(@PATH,220,-1059.129,2194.316,67.49543,0,0,0,0,100,0), +(@PATH,221,-1058.879,2196.316,67.99543,0,0,0,0,100,0), +(@PATH,222,-1058.629,2198.316,68.99543,0,0,0,0,100,0), +(@PATH,223,-1058.379,2200.316,69.74543,0,0,0,0,100,0), +(@PATH,224,-1057.879,2203.316,70.49543,0,0,0,0,100,0), +(@PATH,225,-1057.629,2206.316,71.24543,0,0,0,0,100,0), +(@PATH,226,-1057.422,2206.574,71.37375,0,0,0,0,100,0), +(@PATH,227,-1057.172,2207.324,71.37375,0,0,0,0,100,0), +(@PATH,228,-1054.172,2209.824,72.12375,0,0,0,0,100,0), +(@PATH,229,-1052.672,2211.074,73.12375,0,0,0,0,100,0), +(@PATH,230,-1050.922,2212.324,73.62375,0,0,0,0,100,0), +(@PATH,231,-1050.172,2212.824,74.37375,0,0,0,0,100,0), +(@PATH,232,-1048.672,2214.074,75.87375,0,0,0,0,100,0), +(@PATH,233,-1047.422,2215.324,76.62375,0,0,0,0,100,0), +(@PATH,234,-1046.672,2215.824,77.87375,0,0,0,0,100,0), +(@PATH,235,-1045.172,2217.074,78.87375,0,0,0,0,100,0), +(@PATH,236,-1044.422,2217.824,79.87375,0,0,0,0,100,0), +(@PATH,237,-1043.422,2218.324,80.62375,0,0,0,0,100,0), +(@PATH,238,-1041.922,2219.574,81.37375,0,0,0,0,100,0), +(@PATH,239,-1041.172,2220.324,82.12375,0,0,0,0,100,0), +(@PATH,240,-1040.422,2220.824,82.87375,0,0,0,0,100,0), +(@PATH,241,-1043.317,2218.518,80.88107,0,0,0,0,100,0), +(@PATH,242,-1041.817,2219.768,81.63107,0,0,0,0,100,0), +(@PATH,243,-1041.067,2220.268,82.38107,0,0,0,0,100,0), +(@PATH,244,-1040.067,2221.018,83.13107,0,0,0,0,100,0), +(@PATH,245,-1039.067,2221.768,83.38107,0,0,0,0,100,0), +(@PATH,246,-1038.067,2220.018,84.13107,0,0,0,0,100,0), +(@PATH,247,-1034.567,2215.018,83.63107,0,0,0,0,100,0), +(@PATH,248,-1029.817,2208.018,84.38107,0,0,0,0,100,0), +(@PATH,249,-1028.817,2206.268,84.88107,0,0,0,0,100,0), +(@PATH,250,-1026.567,2203.018,86.13107,0,0,0,0,100,0), +(@PATH,251,-1025.567,2201.268,86.63107,0,0,0,0,100,0), +(@PATH,252,-1026.336,2202.782,86.35322,0,0,0,0,100,0), +(@PATH,253,-1025.336,2201.032,86.85322,0,0,0,0,100,0), +(@PATH,254,-1024.086,2199.282,87.35322,0,0,0,0,100,0), +(@PATH,255,-1022.586,2198.032,88.35322,0,0,0,0,100,0), +(@PATH,256,-1020.086,2196.282,89.10322,0,0,0,0,100,0), +(@PATH,257,-1017.836,2194.532,89.85322,0,0,0,0,100,0), +(@PATH,258,-1016.086,2193.532,90.60322,0,0,0,0,100,0), +(@PATH,259,-1014.086,2191.782,91.10322,0,0,0,0,100,0), +(@PATH,260,-1010.836,2189.282,91.85322,0,0,0,0,100,0), +(@PATH,261,-1007.586,2187.032,92.60322,0,0,0,0,100,0), +(@PATH,262,-1003.586,2184.032,93.10322,0,0,0,0,100,0), +(@PATH,263,-1003.503,2184.029,93.00688,0,0,0,0,100,0), +(@PATH,264,-1003.003,2183.529,93.25688,0,0,0,0,100,0), +(@PATH,265,-999.2527,2184.779,93.50688,0,0,0,0,100,0), +(@PATH,266,-989.0027,2188.279,92.75688,0,0,0,0,100,0), +(@PATH,267,-986.0027,2188.779,92.00688,0,0,0,0,100,0), +(@PATH,268,-983.2527,2189.779,91.50688,0,0,0,0,100,0); + +-- Pathing for Entry: 90 'TDB FORMAT' +SET @NPC := 365599; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-781.611,`position_y`=2540.12,`position_z`=39.08644 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-781.611,2540.12,39.08644,0,0,0,0,100,0), +(@PATH,2,-788.361,2545.37,38.58644,0,0,0,0,100,0), +(@PATH,3,-790.306,2546.882,38.51178,0,0,0,0,100,0), +(@PATH,4,-792.556,2551.382,39.51178,0,0,0,0,100,0), +(@PATH,5,-794.056,2554.632,39.76178,0,0,0,0,100,0), +(@PATH,6,-795.556,2557.382,40.76178,0,0,0,0,100,0), +(@PATH,7,-795.5197,2557.546,41.00501,0,0,0,0,100,0), +(@PATH,8,-795.7697,2558.296,41.25501,0,0,0,0,100,0), +(@PATH,9,-795.7697,2560.296,42.00501,0,0,0,0,100,0), +(@PATH,10,-795.5197,2563.296,42.50501,0,0,0,0,100,0), +(@PATH,11,-795.2697,2565.046,43.25501,0,0,0,0,100,0), +(@PATH,12,-795.2697,2567.046,44.00501,0,0,0,0,100,0), +(@PATH,13,-795.0197,2570.046,44.75501,0,0,0,0,100,0), +(@PATH,14,-795.2341,2570.269,44.62789,0,0,0,0,100,0), +(@PATH,15,-795.2341,2571.019,44.62789,0,0,0,0,100,0), +(@PATH,16,-794.9841,2574.769,45.37789,0,0,0,0,100,0), +(@PATH,17,-794.7604,2579.807,45.70085,0,0,0,0,100,0), +(@PATH,18,-793.7604,2586.557,45.20085,0,0,0,0,100,0), +(@PATH,19,-793.4341,2586.707,45.25144,0,0,0,0,100,0), +(@PATH,20,-793.1841,2587.957,45.25144,0,0,0,0,100,0), +(@PATH,21,-791.6841,2589.457,44.50144,0,0,0,0,100,0), +(@PATH,22,-789.6841,2591.207,43.25144,0,0,0,0,100,0), +(@PATH,23,-787.9341,2593.457,42.25144,0,0,0,0,100,0), +(@PATH,24,-785.6841,2595.707,41.00144,0,0,0,0,100,0), +(@PATH,25,-784.213,2597.153,39.58315,0,0,0,0,100,0), +(@PATH,26,-782.713,2598.903,38.83315,0,0,0,0,100,0), +(@PATH,27,-781.463,2600.403,38.08315,0,0,0,0,100,0), +(@PATH,28,-779.463,2602.653,37.08315,0,0,0,0,100,0), +(@PATH,29,-777.963,2604.653,36.33315,0,0,0,0,100,0), +(@PATH,30,-775.963,2606.903,35.33315,0,0,0,0,100,0), +(@PATH,31,-774.713,2608.403,34.33315,0,0,0,0,100,0), +(@PATH,32,-773.213,2609.903,33.58315,0,0,0,0,100,0), +(@PATH,33,-773.1487,2609.96,33.70549,0,0,0,0,100,0), +(@PATH,34,-772.1487,2610.96,32.70549,0,0,0,0,100,0), +(@PATH,35,-768.8987,2604.96,33.45549,0,0,0,0,100,0), +(@PATH,36,-766.475,2601.388,33.76066,0,0,0,0,100,0), +(@PATH,37,-764.975,2600.138,34.51066,0,0,0,0,100,0), +(@PATH,38,-763.225,2599.138,35.01066,0,0,0,0,100,0), +(@PATH,39,-761.975,2598.138,35.51066,0,0,0,0,100,0), +(@PATH,40,-760.225,2596.888,36.26066,0,0,0,0,100,0), +(@PATH,41,-756.975,2594.638,37.01066,0,0,0,0,100,0), +(@PATH,42,-756.6727,2594.354,37.06163,0,0,0,0,100,0), +(@PATH,43,-755.9227,2593.854,37.06163,0,0,0,0,100,0), +(@PATH,44,-753.1727,2591.604,37.56163,0,0,0,0,100,0), +(@PATH,45,-750.6519,2589.426,38.07355,0,0,0,0,100,0), +(@PATH,46,-754.6375,2580.904,38.2935,0,0,0,0,100,0), +(@PATH,47,-763.8875,2569.404,37.5435,0,0,0,0,100,0), +(@PATH,48,-766.8875,2565.654,37.2935,0,0,0,0,100,0), +(@PATH,49,-770.85,2560.625,36.99769,0,0,0,0,100,0), +(@PATH,50,-772.85,2555.375,37.49769,0,0,0,0,100,0), +(@PATH,51,-774.262,2551.91,38.31155,0,0,0,0,100,0), +(@PATH,52,-775.262,2546.16,38.56155,0,0,0,0,100,0), +(@PATH,53,-776.0488,2542.925,39.28545,0,0,0,0,100,0), +(@PATH,54,-781.6139,2540.119,39.08636,0,0,0,0,100,0); + +-- Pathing for Entry: 90 'TDB FORMAT' +SET @NPC := 365609; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-730.7678,`position_y`=2593.628,`position_z`=25.59488 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-730.7678,2593.628,25.59488,0,0,0,0,100,0), +(@PATH,2,-726.0172,2588.51,25.68484,0,0,0,0,100,0), +(@PATH,3,-721.6311,2585.902,25.55862,0,0,0,0,100,0), +(@PATH,4,-721.2213,2598.191,24.7679,0,0,0,0,100,0), +(@PATH,5,-718.9713,2600.441,23.0179,0,0,0,0,100,0), +(@PATH,6,-717.7213,2601.441,21.5179,0,0,0,0,100,0), +(@PATH,7,-716.4713,2602.941,20.2679,0,0,0,0,100,0), +(@PATH,8,-714.9713,2604.441,19.2679,0,0,0,0,100,0), +(@PATH,9,-712.9713,2606.441,18.7679,0,0,0,0,100,0), +(@PATH,10,-712.7083,2606.664,18.35663,0,0,0,0,100,0), +(@PATH,11,-711.7083,2607.664,18.35663,0,0,0,0,100,0), +(@PATH,12,-701.5747,2611.52,18.21629,0,0,0,0,100,0), +(@PATH,13,-701.3766,2625.919,18.02929,0,0,0,0,100,0), +(@PATH,14,-700.8766,2633.669,17.52929,0,0,0,0,100,0), +(@PATH,15,-700.1515,2641.487,17.63856,0,0,0,0,100,0), +(@PATH,16,-705.1515,2652.987,17.88856,0,0,0,0,100,0), +(@PATH,17,-707.8314,2658.844,18.18256,0,0,0,0,100,0), +(@PATH,18,-721.3038,2662.292,18.39453,0,0,0,0,100,0), +(@PATH,19,-725.0538,2652.292,18.64453,0,0,0,0,100,0), +(@PATH,20,-724.9413,2651.93,18.91406,0,0,0,0,100,0), +(@PATH,21,-725.9413,2649.43,19.16406,0,0,0,0,100,0), +(@PATH,22,-723.6913,2639.93,19.66406,0,0,0,0,100,0), +(@PATH,23,-722.9413,2636.93,20.66406,0,0,0,0,100,0), +(@PATH,24,-721.6913,2630.18,19.91406,0,0,0,0,100,0), +(@PATH,25,-721.1682,2627.944,20.3589,0,0,0,0,100,0), +(@PATH,26,-721.9182,2624.944,21.8589,0,0,0,0,100,0), +(@PATH,27,-723.1682,2621.194,22.8589,0,0,0,0,100,0), +(@PATH,28,-724.9182,2615.444,22.3589,0,0,0,0,100,0), +(@PATH,29,-726.1682,2610.944,22.8589,0,0,0,0,100,0), +(@PATH,30,-727.1682,2606.944,24.3589,0,0,0,0,100,0), +(@PATH,31,-727.6682,2605.194,25.1089,0,0,0,0,100,0), +(@PATH,32,-727.9182,2604.194,25.8589,0,0,0,0,100,0), +(@PATH,33,-728.4182,2602.194,25.1089,0,0,0,0,100,0), +(@PATH,34,-728.9182,2600.194,26.6089,0,0,0,0,100,0), +(@PATH,35,-729.1682,2599.444,25.1089,0,0,0,0,100,0), +(@PATH,36,-730.7976,2593.647,25.54151,0,0,0,0,100,0); + +-- Pathing for Entry: 90 'TDB FORMAT' +SET @NPC := 365578; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-863.9199,`position_y`=2593.457,`position_z`=60.87405 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-863.9199,2593.457,60.87405,0,0,0,0,100,0), +(@PATH,2,-863.6699,2592.957,60.62405,0,0,0,0,100,0), +(@PATH,3,-861.9199,2588.207,58.87405,0,0,0,0,100,0), +(@PATH,4,-861.1699,2585.707,57.87405,0,0,0,0,100,0), +(@PATH,5,-860.1699,2582.707,57.37405,0,0,0,0,100,0), +(@PATH,6,-859.1699,2579.957,56.62405,0,0,0,0,100,0), +(@PATH,7,-858.8895,2579.729,56.44285,0,0,0,0,100,0), +(@PATH,8,-858.3895,2577.979,56.19285,0,0,0,0,100,0), +(@PATH,9,-855.6395,2568.479,56.44285,0,0,0,0,100,0), +(@PATH,10,-855.4192,2568.298,56.58043,0,0,0,0,100,0), +(@PATH,11,-855.4192,2567.798,56.58043,0,0,0,0,100,0), +(@PATH,12,-851.6692,2566.048,56.08043,0,0,0,0,100,0), +(@PATH,13,-847.4192,2563.798,55.33043,0,0,0,0,100,0), +(@PATH,14,-843.1692,2561.548,54.83043,0,0,0,0,100,0), +(@PATH,15,-840.4192,2560.048,54.33043,0,0,0,0,100,0), +(@PATH,16,-840.3151,2559.971,53.96806,0,0,0,0,100,0), +(@PATH,17,-838.8151,2558.971,53.46806,0,0,0,0,100,0), +(@PATH,18,-837.5651,2554.471,53.21806,0,0,0,0,100,0), +(@PATH,19,-837.3969,2554.156,52.86179,0,0,0,0,100,0), +(@PATH,20,-836.8969,2551.906,52.86179,0,0,0,0,100,0), +(@PATH,21,-838.4794,2543.804,53.28028,0,0,0,0,100,0), +(@PATH,22,-840.2294,2543.304,53.78028,0,0,0,0,100,0), +(@PATH,23,-842.2294,2542.804,54.53028,0,0,0,0,100,0), +(@PATH,24,-843.7294,2542.054,55.28028,0,0,0,0,100,0), +(@PATH,25,-844.7294,2541.554,56.28028,0,0,0,0,100,0), +(@PATH,26,-847.4794,2540.554,57.53028,0,0,0,0,100,0), +(@PATH,27,-847.8187,2540.509,57.60604,0,0,0,0,100,0), +(@PATH,28,-848.5687,2540.259,58.10604,0,0,0,0,100,0), +(@PATH,29,-854.3187,2540.259,58.60604,0,0,0,0,100,0), +(@PATH,30,-858.3187,2540.259,57.85604,0,0,0,0,100,0), +(@PATH,31,-861.3187,2540.259,57.10604,0,0,0,0,100,0), +(@PATH,32,-861.5452,2540.19,57.54404,0,0,0,0,100,0), +(@PATH,33,-862.5452,2540.19,57.54404,0,0,0,0,100,0), +(@PATH,34,-869.2952,2539.94,58.29404,0,0,0,0,100,0), +(@PATH,35,-871.2952,2539.94,59.04404,0,0,0,0,100,0), +(@PATH,36,-873.2952,2539.94,59.79404,0,0,0,0,100,0), +(@PATH,37,-873.5034,2539.974,59.95484,0,0,0,0,100,0), +(@PATH,38,-875.5034,2539.974,60.45484,0,0,0,0,100,0), +(@PATH,39,-878.9933,2546.464,60.81915,0,0,0,0,100,0), +(@PATH,40,-877.4445,2551.826,61.15382,0,0,0,0,100,0), +(@PATH,41,-876.9445,2554.826,61.90382,0,0,0,0,100,0), +(@PATH,42,-876.6945,2555.576,62.40382,0,0,0,0,100,0), +(@PATH,43,-875.016,2562.413,61.84858,0,0,0,0,100,0), +(@PATH,44,-874.8417,2569.771,61.98973,0,0,0,0,100,0), +(@PATH,45,-874.8417,2570.771,61.73973,0,0,0,0,100,0), +(@PATH,46,-874.0917,2577.521,62.23973,0,0,0,0,100,0), +(@PATH,47,-874.0323,2577.665,62.44437,0,0,0,0,100,0), +(@PATH,48,-874.0323,2577.915,62.19437,0,0,0,0,100,0), +(@PATH,49,-874.7823,2580.665,62.94437,0,0,0,0,100,0), +(@PATH,50,-875.0323,2581.665,63.69437,0,0,0,0,100,0), +(@PATH,51,-875.5323,2584.415,64.44437,0,0,0,0,100,0), +(@PATH,52,-875.7823,2585.415,65.19437,0,0,0,0,100,0), +(@PATH,53,-876.0913,2585.789,65.43031,0,0,0,0,100,0), +(@PATH,54,-876.5913,2587.039,65.68031,0,0,0,0,100,0), +(@PATH,55,-878.0913,2588.289,66.43031,0,0,0,0,100,0), +(@PATH,56,-879.5913,2589.789,67.18031,0,0,0,0,100,0), +(@PATH,57,-881.5913,2591.289,67.68031,0,0,0,0,100,0), +(@PATH,58,-883.0913,2592.789,68.43031,0,0,0,0,100,0), +(@PATH,59,-884.5913,2594.039,69.18031,0,0,0,0,100,0), +(@PATH,60,-884.7729,2594.174,69.31123,0,0,0,0,100,0), +(@PATH,61,-886.0229,2595.424,69.81123,0,0,0,0,100,0), +(@PATH,62,-885.671,2604.681,70.36301,0,0,0,0,100,0), +(@PATH,63,-883.421,2606.431,69.61301,0,0,0,0,100,0), +(@PATH,64,-882.171,2607.681,69.11301,0,0,0,0,100,0), +(@PATH,65,-879.5327,2609.704,68.58181,0,0,0,0,100,0), +(@PATH,66,-877.7827,2608.954,67.58181,0,0,0,0,100,0), +(@PATH,67,-875.2827,2607.704,67.08181,0,0,0,0,100,0), +(@PATH,68,-873.5327,2606.704,66.58181,0,0,0,0,100,0), +(@PATH,69,-871.7827,2606.204,65.83181,0,0,0,0,100,0), +(@PATH,70,-873.2559,2606.875,66.23391,0,0,0,0,100,0), +(@PATH,71,-871.5059,2605.875,65.73391,0,0,0,0,100,0), +(@PATH,72,-870.7559,2605.625,65.48391,0,0,0,0,100,0), +(@PATH,73,-869.7559,2603.875,64.98391,0,0,0,0,100,0), +(@PATH,74,-868.5059,2601.375,63.98391,0,0,0,0,100,0), +(@PATH,75,-867.5059,2599.875,63.48391,0,0,0,0,100,0), +(@PATH,76,-866.5059,2598.125,62.73391,0,0,0,0,100,0), +(@PATH,77,-865.5059,2596.375,62.23391,0,0,0,0,100,0), +(@PATH,78,-864.2559,2593.625,60.98391,0,0,0,0,100,0); + +-- Pathing for Entry: 90 'TDB FORMAT' +SET @NPC := 365563; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-877.2051,`position_y`=2668.542,`position_z`=60.21056 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-877.2051,2668.542,60.21056,0,0,0,0,100,0), +(@PATH,2,-876.7051,2667.792,59.96056,0,0,0,0,100,0), +(@PATH,3,-876.7051,2665.792,60.46056,0,0,0,0,100,0), +(@PATH,4,-876.9551,2663.792,61.46056,0,0,0,0,100,0), +(@PATH,5,-877.2051,2661.792,61.96056,0,0,0,0,100,0), +(@PATH,6,-877.2051,2660.042,62.71056,0,0,0,0,100,0), +(@PATH,7,-877.4551,2658.042,63.21056,0,0,0,0,100,0), +(@PATH,8,-877.7051,2655.042,63.96056,0,0,0,0,100,0), +(@PATH,9,-877.6178,2654.836,64.40364,0,0,0,0,100,0), +(@PATH,10,-877.8678,2652.336,64.65364,0,0,0,0,100,0), +(@PATH,11,-879.8678,2649.086,65.40364,0,0,0,0,100,0), +(@PATH,12,-881.1178,2646.336,65.90364,0,0,0,0,100,0), +(@PATH,13,-881.8678,2644.586,66.90364,0,0,0,0,100,0), +(@PATH,14,-882.314,2644.515,66.71318,0,0,0,0,100,0), +(@PATH,15,-883.064,2642.765,67.46318,0,0,0,0,100,0), +(@PATH,16,-884.564,2644.265,66.21318,0,0,0,0,100,0), +(@PATH,17,-886.314,2646.515,65.21318,0,0,0,0,100,0), +(@PATH,18,-887.814,2647.765,64.71318,0,0,0,0,100,0), +(@PATH,19,-888.1006,2647.972,64.62228,0,0,0,0,100,0), +(@PATH,20,-888.3506,2648.472,63.62229,0,0,0,0,100,0), +(@PATH,21,-888.8506,2652.472,62.87229,0,0,0,0,100,0), +(@PATH,22,-889.1006,2654.222,62.12229,0,0,0,0,100,0), +(@PATH,23,-889.1006,2656.222,61.62229,0,0,0,0,100,0), +(@PATH,24,-889.3506,2658.222,60.87229,0,0,0,0,100,0), +(@PATH,25,-889.6144,2658.509,60.46918,0,0,0,0,100,0), +(@PATH,26,-889.8644,2659.759,60.21918,0,0,0,0,100,0), +(@PATH,27,-892.1144,2661.759,58.96918,0,0,0,0,100,0), +(@PATH,28,-893.3644,2663.009,58.46918,0,0,0,0,100,0), +(@PATH,29,-894.8644,2664.009,57.71918,0,0,0,0,100,0), +(@PATH,30,-896.8644,2666.009,56.96918,0,0,0,0,100,0), +(@PATH,31,-902.2957,2670.894,56.71228,0,0,0,0,100,0), +(@PATH,32,-909.7957,2672.394,56.96228,0,0,0,0,100,0), +(@PATH,33,-911.7957,2672.894,57.71228,0,0,0,0,100,0), +(@PATH,34,-911.7484,2673.145,57.94969,0,0,0,0,100,0), +(@PATH,35,-913.4984,2673.645,57.94969,0,0,0,0,100,0), +(@PATH,36,-912.9984,2675.395,58.69969,0,0,0,0,100,0), +(@PATH,37,-912.2484,2677.145,59.19969,0,0,0,0,100,0), +(@PATH,38,-912.2742,2677.49,59.28488,0,0,0,0,100,0), +(@PATH,39,-911.7742,2679.24,59.28488,0,0,0,0,100,0), +(@PATH,40,-909.7742,2679.49,58.28488,0,0,0,0,100,0), +(@PATH,41,-908.0242,2679.99,57.28488,0,0,0,0,100,0), +(@PATH,42,-906.0242,2680.49,57.03488,0,0,0,0,100,0), +(@PATH,43,-902.2742,2681.24,56.28488,0,0,0,0,100,0), +(@PATH,44,-897.5032,2682.535,56.1947,0,0,0,0,100,0), +(@PATH,45,-893.7532,2680.785,56.6947,0,0,0,0,100,0), +(@PATH,46,-887.7532,2678.285,57.1947,0,0,0,0,100,0), +(@PATH,47,-882.2579,2675.818,58.01775,0,0,0,0,100,0), +(@PATH,48,-880.5079,2673.318,58.51775,0,0,0,0,100,0), +(@PATH,49,-879.5079,2672.068,59.01775,0,0,0,0,100,0), +(@PATH,50,-877.2579,2668.818,59.76775,0,0,0,0,100,0); + +-- Pathing for Entry: 90 'TDB FORMAT' +SET @NPC := 365555; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-767.3892,`position_y`=2904.712,`position_z`=24.4751 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-767.3892,2904.712,24.4751,0,0,0,0,100,0), +(@PATH,2,-767.1392,2905.712,24.7251,0,0,0,0,100,0), +(@PATH,3,-770.3892,2908.962,24.2251,0,0,0,0,100,0), +(@PATH,4,-770.691,2909.082,24.23556,0,0,0,0,100,0), +(@PATH,5,-771.441,2909.582,23.48556,0,0,0,0,100,0), +(@PATH,6,-773.941,2910.082,22.98556,0,0,0,0,100,0), +(@PATH,7,-776.941,2910.832,22.48556,0,0,0,0,100,0), +(@PATH,8,-777.3306,2910.715,22.14632,0,0,0,0,100,0), +(@PATH,9,-777.5806,2910.715,22.14632,0,0,0,0,100,0), +(@PATH,10,-780.0996,2910.184,21.5152,0,0,0,0,100,0), +(@PATH,11,-781.8496,2909.184,21.0152,0,0,0,0,100,0), +(@PATH,12,-783.3496,2908.184,20.0152,0,0,0,0,100,0), +(@PATH,13,-786.0996,2907.184,19.0152,0,0,0,0,100,0), +(@PATH,14,-787.8496,2906.184,17.5152,0,0,0,0,100,0), +(@PATH,15,-786.3236,2906.769,18.647,0,0,0,0,100,0), +(@PATH,16,-788.0736,2906.019,17.397,0,0,0,0,100,0), +(@PATH,17,-788.8236,2905.519,16.897,0,0,0,0,100,0), +(@PATH,18,-790.8236,2902.519,15.397,0,0,0,0,100,0), +(@PATH,19,-792.8236,2900.269,14.647,0,0,0,0,100,0), +(@PATH,20,-794.0736,2898.769,13.897,0,0,0,0,100,0), +(@PATH,21,-794.0009,2898.393,13.59485,0,0,0,0,100,0), +(@PATH,22,-795.2509,2896.893,13.34485,0,0,0,0,100,0), +(@PATH,23,-793.2509,2896.143,13.59485,0,0,0,0,100,0), +(@PATH,24,-789.5009,2895.143,14.34485,0,0,0,0,100,0), +(@PATH,25,-782.8833,2892.726,13.39071,0,0,0,0,100,0), +(@PATH,26,-779.8833,2892.226,12.64071,0,0,0,0,100,0), +(@PATH,27,-776.1333,2891.976,11.89071,0,0,0,0,100,0), +(@PATH,28,-773.3833,2891.476,11.14071,0,0,0,0,100,0), +(@PATH,29,-769.9353,2891.038,10.88646,0,0,0,0,100,0), +(@PATH,30,-769.6853,2892.038,11.63646,0,0,0,0,100,0), +(@PATH,31,-769.6853,2893.038,12.38646,0,0,0,0,100,0), +(@PATH,32,-769.1853,2895.038,13.38646,0,0,0,0,100,0), +(@PATH,33,-768.9353,2895.788,14.38646,0,0,0,0,100,0), +(@PATH,34,-768.9353,2896.788,15.38646,0,0,0,0,100,0), +(@PATH,35,-768.6853,2897.788,16.63646,0,0,0,0,100,0), +(@PATH,36,-768.4353,2898.538,17.63646,0,0,0,0,100,0), +(@PATH,37,-768.1853,2899.538,19.13646,0,0,0,0,100,0), +(@PATH,38,-768.1853,2900.538,20.38646,0,0,0,0,100,0), +(@PATH,39,-767.9353,2901.538,21.38646,0,0,0,0,100,0), +(@PATH,40,-767.6853,2902.538,22.63646,0,0,0,0,100,0); + +-- Pathing for Entry: 4663 'TDB FORMAT' +SET @NPC := 367725; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-361.2971,`position_y`=1737.429,`position_z`=139.6054 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-361.2971,1737.429,139.6054,0,0,0,0,100,0), +(@PATH,2,-360.0471,1736.429,139.6054,0,0,0,0,100,0), +(@PATH,3,-358.7971,1735.929,139.6054,0,0,0,0,100,0), +(@PATH,4,-356.5471,1734.929,139.6054,0,0,0,0,100,0), +(@PATH,5,-354.5471,1734.179,139.6054,0,0,0,0,100,0), +(@PATH,6,-351.7971,1732.929,139.6054,0,0,0,0,100,0), +(@PATH,7,-351.4613,1732.835,139.5817,0,0,0,0,100,0), +(@PATH,8,-349.9613,1732.335,139.5817,0,0,0,0,100,0), +(@PATH,9,-347.7113,1732.335,139.5817,0,0,0,0,100,0), +(@PATH,10,-345.9613,1732.335,139.5817,0,0,0,0,100,0), +(@PATH,11,-344.2113,1732.335,139.5817,0,0,0,0,100,0), +(@PATH,12,-341.2113,1732.335,139.5817,0,0,0,0,100,0), +(@PATH,13,-340.9491,1732.191,139.5855,0,0,0,0,100,0), +(@PATH,14,-337.6991,1732.191,139.5855,0,0,0,0,100,0), +(@PATH,15,-335.1991,1733.191,139.5855,0,0,0,0,100,0), +(@PATH,16,-332.6991,1733.941,139.5855,0,0,0,0,100,0), +(@PATH,17,-328.6991,1735.191,139.5855,0,0,0,0,100,0), +(@PATH,18,-328.3958,1735.607,139.585,0,0,0,0,100,0), +(@PATH,19,-326.8958,1736.107,139.585,0,0,0,0,100,0), +(@PATH,20,-325.3958,1738.107,139.585,0,0,0,0,100,0), +(@PATH,21,-323.8958,1740.607,139.585,0,0,0,0,100,0), +(@PATH,22,-322.3958,1742.607,139.585,0,0,0,0,100,0), +(@PATH,23,-320.3958,1745.357,139.585,0,0,0,0,100,0), +(@PATH,24,-318.8958,1747.357,139.585,0,0,0,0,100,0), +(@PATH,25,-317.092,1750.519,139.6035,0,0,0,0,100,0), +(@PATH,26,-316.842,1752.019,139.6035,0,0,0,0,100,0), +(@PATH,27,-316.092,1755.519,139.6035,0,0,0,0,100,0), +(@PATH,28,-316.0186,1755.684,139.6301,0,0,0,0,100,0), +(@PATH,29,-315.7686,1757.184,139.6301,0,0,0,0,100,0), +(@PATH,30,-316.2686,1758.684,139.6301,0,0,0,0,100,0), +(@PATH,31,-317.7686,1764.434,139.6301,0,0,0,0,100,0), +(@PATH,32,-318.2686,1766.934,139.6301,0,0,0,0,100,0), +(@PATH,33,-318.6339,1767.122,139.6537,0,0,0,0,100,0), +(@PATH,34,-318.8839,1768.622,139.6537,0,0,0,0,100,0), +(@PATH,35,-320.6339,1773.122,139.6537,0,0,0,0,100,0), +(@PATH,36,-321.6339,1775.372,139.6537,0,0,0,0,100,0), +(@PATH,37,-323.2633,1779.239,139.6456,0,0,0,0,100,0), +(@PATH,38,-325.5133,1781.239,139.6456,0,0,0,0,100,0), +(@PATH,39,-327.2633,1782.739,139.6456,0,0,0,0,100,0), +(@PATH,40,-329.2633,1784.489,139.6456,0,0,0,0,100,0), +(@PATH,41,-332.0133,1786.989,139.6456,0,0,0,0,100,0), +(@PATH,42,-333.9387,1788.676,139.5994,0,0,0,0,100,0), +(@PATH,43,-334.9387,1789.176,139.5994,0,0,0,0,100,0), +(@PATH,44,-339.9387,1791.426,139.3494,0,0,0,0,100,0), +(@PATH,45,-344.7592,1793.334,139.3078,0,0,0,0,100,0), +(@PATH,46,-348.0092,1793.584,139.5578,0,0,0,0,100,0), +(@PATH,47,-350.5092,1793.834,139.5578,0,0,0,0,100,0), +(@PATH,48,-353.2592,1794.084,139.5578,0,0,0,0,100,0), +(@PATH,49,-353.3854,1793.895,139.5968,0,0,0,0,100,0), +(@PATH,50,-355.1354,1794.145,139.5968,0,0,0,0,100,0), +(@PATH,51,-356.1354,1793.645,139.5968,0,0,0,0,100,0), +(@PATH,52,-360.1354,1791.645,139.5968,0,0,0,0,100,0), +(@PATH,53,-364.3854,1789.895,139.5968,0,0,0,0,100,0), +(@PATH,54,-364.5852,1789.613,139.6147,0,0,0,0,100,0), +(@PATH,55,-365.0852,1789.363,139.6147,0,0,0,0,100,0), +(@PATH,56,-367.8352,1786.863,139.3647,0,0,0,0,100,0), +(@PATH,57,-369.0852,1785.363,139.6147,0,0,0,0,100,0), +(@PATH,58,-371.3352,1783.113,139.6147,0,0,0,0,100,0), +(@PATH,59,-373.8359,1780.651,139.6072,0,0,0,0,100,0), +(@PATH,60,-375.0859,1777.401,139.6072,0,0,0,0,100,0), +(@PATH,61,-375.5859,1775.401,139.6072,0,0,0,0,100,0), +(@PATH,62,-377.5859,1769.901,139.6072,0,0,0,0,100,0), +(@PATH,63,-377.707,1769.758,139.6211,0,0,0,0,100,0), +(@PATH,64,-377.957,1768.508,139.6211,0,0,0,0,100,0), +(@PATH,65,-377.457,1766.508,139.6211,0,0,0,0,100,0), +(@PATH,66,-376.957,1764.508,139.6211,0,0,0,0,100,0), +(@PATH,67,-376.457,1762.508,139.6211,0,0,0,0,100,0), +(@PATH,68,-375.957,1759.008,139.6211,0,0,0,0,100,0), +(@PATH,69,-375.6616,1758.863,139.636,0,0,0,0,100,0), +(@PATH,70,-375.1616,1756.613,139.636,0,0,0,0,100,0), +(@PATH,71,-374.6616,1755.363,139.636,0,0,0,0,100,0), +(@PATH,72,-373.4116,1752.863,139.636,0,0,0,0,100,0), +(@PATH,73,-372.6616,1750.363,139.636,0,0,0,0,100,0), +(@PATH,74,-371.1616,1747.113,139.636,0,0,0,0,100,0), +(@PATH,75,-370.9544,1746.727,139.6248,0,0,0,0,100,0), +(@PATH,76,-370.2044,1745.227,139.6248,0,0,0,0,100,0), +(@PATH,77,-368.4544,1743.727,139.6248,0,0,0,0,100,0), +(@PATH,78,-366.2044,1741.977,139.6248,0,0,0,0,100,0), +(@PATH,79,-364.2044,1739.977,139.6248,0,0,0,0,100,0), +(@PATH,80,-361.7044,1737.727,139.6248,0,0,0,0,100,0), +(@PATH,81,-361.4035,1737.522,139.6064,0,0,0,0,100,0); + +-- Pathing for Entry: 4665 'TDB FORMAT' +SET @NPC := 367087; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-421.4863,`position_y`=1840.841,`position_z`=128.6529 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-421.4863,1840.841,128.6529,0,0,0,0,100,0), +(@PATH,2,-423.2363,1842.341,128.6529,0,0,0,0,100,0), +(@PATH,3,-426.2363,1845.341,128.6529,0,0,0,0,100,0), +(@PATH,4,-428.9863,1848.091,128.6529,0,0,0,0,100,0), +(@PATH,5,-430.9689,1850.088,128.6494,0,0,0,0,100,0), +(@PATH,6,-431.4689,1852.588,128.6494,0,0,0,0,100,0), +(@PATH,7,-432.9356,1859.521,128.6537,0,0,0,0,100,0), +(@PATH,8,-431.9356,1860.021,128.6537,0,0,0,0,100,0), +(@PATH,9,-427.4622,1863.053,128.6576,0,0,0,0,100,0), +(@PATH,10,-426.9622,1864.553,128.6576,0,0,0,0,100,0), +(@PATH,11,-426.4622,1866.053,128.6576,0,0,0,0,100,0), +(@PATH,12,-425.7122,1867.553,128.6576,0,0,0,0,100,0), +(@PATH,13,-424.9622,1868.803,128.6576,0,0,0,0,100,0), +(@PATH,14,-423.7551,1871.51,128.6595,0,0,0,0,100,0), +(@PATH,15,-420.0051,1872.76,128.6595,0,0,0,0,100,0), +(@PATH,16,-418.2551,1873.51,128.6595,0,0,0,0,100,0), +(@PATH,17,-416.5051,1874.01,128.6595,0,0,0,0,100,0), +(@PATH,18,-416.4521,1874.1,128.659,0,0,0,0,100,0), +(@PATH,19,-415.7021,1874.35,128.659,0,0,0,0,100,0), +(@PATH,20,-410.7021,1874.1,128.659,0,0,0,0,100,0), +(@PATH,21,-406.9139,1873.685,128.659,0,0,0,0,100,0), +(@PATH,22,-403.9139,1870.685,128.659,0,0,0,0,100,0), +(@PATH,23,-401.6639,1868.935,128.659,0,0,0,0,100,0), +(@PATH,24,-399.4139,1866.685,128.659,0,0,0,0,100,0), +(@PATH,25,-399.6177,1866.585,128.6595,0,0,0,0,100,0), +(@PATH,26,-398.3677,1865.585,128.6595,0,0,0,0,100,0), +(@PATH,27,-398.8677,1861.085,128.6595,0,0,0,0,100,0), +(@PATH,28,-399.3677,1857.585,128.6595,0,0,0,0,100,0), +(@PATH,29,-399.8677,1853.835,128.6595,0,0,0,0,100,0), +(@PATH,30,-400.137,1849.361,128.6526,0,0,0,0,100,0), +(@PATH,31,-401.137,1847.611,128.6526,0,0,0,0,100,0), +(@PATH,32,-401.637,1846.611,128.6526,0,0,0,0,100,0), +(@PATH,33,-404.387,1840.861,128.6526,0,0,0,0,100,0), +(@PATH,34,-404.4795,1840.903,128.6519,0,0,0,0,100,0), +(@PATH,35,-405.4795,1839.403,128.6519,0,0,0,0,100,0), +(@PATH,36,-414.9795,1840.153,128.6519,0,0,0,0,100,0), +(@PATH,37,-419.6619,1840.507,128.6559,0,0,0,0,100,0), +(@PATH,38,-422.1619,1835.257,128.6559,0,0,0,0,100,0), +(@PATH,39,-422.9119,1834.007,128.6559,0,0,0,0,100,0), +(@PATH,40,-425.6115,1828.126,128.6554,0,0,0,0,100,0), +(@PATH,41,-423.3615,1834.376,128.6554,0,0,0,0,100,0), +(@PATH,42,-422.8615,1835.876,128.6554,0,0,0,0,100,0); + +-- Pathing for Entry: 4664 'TDB FORMAT' +SET @NPC := 367019; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-516.05,`position_y`=1862.096,`position_z`=109.4969 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-516.05,1862.096,109.4969,0,0,0,0,100,0), +(@PATH,2,-510.2108,1862.213,109.4969,0,0,0,0,100,0), +(@PATH,3,-507.6412,1866.269,109.4969,0,0,0,0,100,0), +(@PATH,4,-505.0653,1870.435,109.4768,0,0,0,0,100,0), +(@PATH,5,-504.8153,1871.185,109.4768,0,0,0,0,100,0), +(@PATH,6,-504.6428,1871.604,109.4772,0,0,0,0,100,0), +(@PATH,7,-503.3928,1873.854,109.4772,0,0,0,0,100,0), +(@PATH,8,-504.8801,1877.218,109.463,0,0,0,0,100,0), +(@PATH,9,-508.5139,1877.329,109.4676,0,0,0,0,100,0), +(@PATH,10,-508.5156,1877.35,109.4661,0,0,0,0,100,0), +(@PATH,11,-505.0419,1877.246,109.4622,0,0,0,0,100,0), +(@PATH,12,-505.0073,1877.193,109.4777,0,0,0,0,100,0), +(@PATH,13,-503.2573,1873.943,109.4777,0,0,0,0,100,0), +(@PATH,14,-504.7573,1871.443,109.4777,0,0,0,0,100,0), +(@PATH,15,-504.6895,1871.302,109.4794,0,0,0,0,100,0), +(@PATH,16,-505.1895,1870.302,109.4794,0,0,0,0,100,0), +(@PATH,17,-507.7199,1865.96,109.4969,0,0,0,0,100,0), +(@PATH,18,-510.2691,1862.162,109.4969,0,0,0,0,100,0), +(@PATH,19,-516.4329,1862.149,109.4969,0,0,0,0,100,0), +(@PATH,20,-519.1492,1862.446,109.4969,0,0,0,0,100,0), +(@PATH,21,-521.697,1865.407,109.4969,0,0,0,0,100,0), +(@PATH,22,-521.8778,1865.72,109.4969,0,0,0,0,100,0), +(@PATH,23,-523.1278,1867.97,109.4969,0,0,0,0,100,0), +(@PATH,24,-523.1589,1868.065,109.4969,0,0,0,0,100,0), +(@PATH,25,-523.3,1868.111,109.4969,0,0,0,0,100,0), +(@PATH,26,-521.55,1865.361,109.4969,0,0,0,0,100,0), +(@PATH,27,-521.7384,1865.414,109.4969,0,0,0,0,100,0), +(@PATH,28,-519.2384,1862.664,109.4969,0,0,0,0,100,0); + +-- Pathing for Entry: 4664 'TDB FORMAT' +SET @NPC := 367018; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-511.0226,`position_y`=1870.725,`position_z`=115.9929 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-511.0226,1870.725,115.9929,0,0,0,0,100,0), +(@PATH,2,-509.7726,1869.475,115.9929,0,0,0,0,100,0), +(@PATH,3,-508.5226,1868.475,115.9929,0,0,0,0,100,0), +(@PATH,4,-508.6093,1868.186,116.0328,0,0,0,0,100,0), +(@PATH,5,-507.1093,1866.936,115.7828,0,0,0,0,100,0), +(@PATH,6,-508.1093,1865.686,115.7828,0,0,0,0,100,0), +(@PATH,7,-509.6093,1863.936,116.0328,0,0,0,0,100,0), +(@PATH,8,-509.4772,1863.574,115.9902,0,0,0,0,100,0), +(@PATH,9,-510.2272,1863.074,115.9902,0,0,0,0,100,0), +(@PATH,10,-512.7272,1863.074,115.9902,0,0,0,0,100,0), +(@PATH,11,-515.9772,1862.824,115.9902,0,0,0,0,100,0), +(@PATH,12,-518.7974,1862.467,115.7361,3.944444,0,0,0,100,0), +(@PATH,13,-515.969,1862.525,115.9974,0,0,0,0,100,0), +(@PATH,14,-512.719,1862.525,115.9974,0,0,0,0,100,0), +(@PATH,15,-510.219,1862.525,115.9974,0,0,0,0,100,0), +(@PATH,16,-509.9516,1862.822,115.9555,0,0,0,0,100,0), +(@PATH,17,-509.7016,1862.822,115.9555,0,0,0,0,100,0), +(@PATH,18,-508.2016,1865.072,115.9555,0,0,0,0,100,0), +(@PATH,19,-507.0762,1866.888,115.7695,0,0,0,0,100,0), +(@PATH,20,-508.3262,1867.638,116.0195,0,0,0,0,100,0), +(@PATH,21,-509.3262,1867.888,116.0195,0,0,0,0,100,0), +(@PATH,22,-511.0762,1869.138,116.0195,0,0,0,0,100,0), +(@PATH,23,-511.1172,1869.181,116.0365,0,0,0,0,100,0), +(@PATH,24,-513.8672,1870.681,116.0365,0,0,0,0,100,0), +(@PATH,25,-513.5104,1872.573,115.786,2.583087,0,0,0,100,0); + +-- Pathing for Entry: 35632 'TDB FORMAT' +SET @NPC := 367010; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-536.9855,`position_y`=1828.687,`position_z`=94.97768 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-536.9855,1828.687,94.97768,0,0,0,0,100,0), +(@PATH,2,-531.9352,1837.874,95.09937,0,0,0,0,100,0), +(@PATH,3,-532.9352,1843.624,95.34937,0,0,0,0,100,0), +(@PATH,4,-532.9584,1843.759,95.30261,0,0,0,0,100,0), +(@PATH,5,-532.9584,1844.759,95.80261,0,0,0,0,100,0), +(@PATH,6,-533.537,1845.345,95.56945,0,0,0,0,100,0), +(@PATH,7,-536.1667,1850.325,95.50219,0,0,0,0,100,0), +(@PATH,8,-533.0781,1844.476,95.55994,0,0,0,0,100,0), +(@PATH,9,-533.0426,1844.412,95.80028,0,0,0,0,100,0), +(@PATH,10,-532.2926,1839.912,95.05028,0,0,0,0,100,0), +(@PATH,11,-531.9036,1837.556,94.66328,0,0,0,0,100,0), +(@PATH,12,-537.1687,1828.389,94.95898,0,0,0,0,100,0), +(@PATH,13,-538.4187,1821.639,95.45898,0,0,0,0,100,0), +(@PATH,14,-538.73,1821.515,95.58214,0,0,0,0,100,0), +(@PATH,15,-538.73,1820.515,95.33214,0,0,0,0,100,0), +(@PATH,16,-542.48,1816.265,94.83214,0,0,0,0,100,0), +(@PATH,17,-540.217,1818.88,95.33358,0,0,0,0,100,0), +(@PATH,18,-540.1002,1819.096,95.3103,0,0,0,0,100,0), +(@PATH,19,-538.8502,1820.846,95.3103,0,0,0,0,100,0); + +-- Pathing for Entry: 4665 'TDB FORMAT' +SET @NPC := 367014; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-544.0432,`position_y`=1794.154,`position_z`=96.27923 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-544.0432,1794.154,96.27923,0,0,0,0,100,0), +(@PATH,2,-540.435,1781.15,96.70575,0,0,0,0,100,0), +(@PATH,3,-534.935,1768.65,97.20575,0,0,0,0,100,0), +(@PATH,4,-532.935,1763.9,97.70575,0,0,0,0,100,0), +(@PATH,5,-531.185,1760.4,98.20575,0,0,0,0,100,0), +(@PATH,6,-528.9705,1755.631,99.04437,0,0,0,0,100,0), +(@PATH,7,-527.7205,1752.881,99.79437,0,0,0,0,100,0), +(@PATH,8,-525.9705,1749.131,100.0444,0,0,0,0,100,0), +(@PATH,9,-524.7205,1745.631,101.0444,0,0,0,0,100,0), +(@PATH,10,-519.8307,1735.2,101.6205,0,0,0,0,100,0), +(@PATH,11,-516.8307,1732.45,101.8705,0,0,0,0,100,0), +(@PATH,12,-511.5807,1727.95,102.6205,0,0,0,0,100,0), +(@PATH,13,-510.0807,1726.45,103.1205,0,0,0,0,100,0), +(@PATH,14,-507.8307,1724.45,103.8705,0,0,0,0,100,0), +(@PATH,15,-505.5807,1722.7,104.3705,0,0,0,0,100,0), +(@PATH,16,-503.5807,1720.95,104.8705,0,0,0,0,100,0), +(@PATH,17,-500.5807,1718.2,105.8705,0,0,0,0,100,0), +(@PATH,18,-498.3307,1716.2,106.3705,0,0,0,0,100,0), +(@PATH,19,-496.8307,1714.95,107.1205,0,0,0,0,100,0), +(@PATH,20,-491.5807,1710.2,107.8705,0,0,0,0,100,0), +(@PATH,21,-488.5963,1707.81,108.2061,0,0,0,0,100,0), +(@PATH,22,-486.5963,1708.06,108.9561,0,0,0,0,100,0), +(@PATH,23,-483.8463,1708.56,109.9561,0,0,0,0,100,0), +(@PATH,24,-481.8463,1709.06,110.7061,0,0,0,0,100,0), +(@PATH,25,-479.8463,1709.31,111.4561,0,0,0,0,100,0), +(@PATH,26,-477.8463,1709.81,112.7061,0,0,0,0,100,0), +(@PATH,27,-475.0963,1710.31,113.9561,0,0,0,0,100,0), +(@PATH,28,-473.0963,1710.56,115.2061,0,0,0,0,100,0), +(@PATH,29,-471.0963,1711.06,116.4561,0,0,0,0,100,0), +(@PATH,30,-469.3463,1711.06,117.9561,0,0,0,0,100,0), +(@PATH,31,-467.3463,1711.56,119.4561,0,0,0,0,100,0), +(@PATH,32,-465.3463,1711.81,120.7061,0,0,0,0,100,0), +(@PATH,33,-463.3463,1712.31,121.9561,0,0,0,0,100,0), +(@PATH,34,-461.3463,1712.56,123.2061,0,0,0,0,100,0), +(@PATH,35,-462.5306,1712.355,121.9653,0,0,0,0,100,0), +(@PATH,36,-464.5306,1712.105,120.7153,0,0,0,0,100,0), +(@PATH,37,-466.5306,1711.605,120.2153,0,0,0,0,100,0), +(@PATH,38,-468.5306,1711.355,118.4653,0,0,0,0,100,0), +(@PATH,39,-470.5306,1710.855,117.2153,0,0,0,0,100,0), +(@PATH,40,-472.5306,1710.605,115.7153,0,0,0,0,100,0), +(@PATH,41,-474.5306,1710.105,114.4653,0,0,0,0,100,0), +(@PATH,42,-476.0306,1710.105,113.2153,0,0,0,0,100,0), +(@PATH,43,-478.0306,1709.605,112.2153,0,0,0,0,100,0), +(@PATH,44,-481.0306,1709.105,110.7153,0,0,0,0,100,0), +(@PATH,45,-484.0306,1708.605,109.9653,0,0,0,0,100,0), +(@PATH,46,-488.0306,1707.855,108.4653,0,0,0,0,100,0), +(@PATH,47,-488.2981,1707.814,108.1428,0,0,0,0,100,0), +(@PATH,48,-488.7981,1707.814,107.8928,0,0,0,0,100,0), +(@PATH,49,-494.0481,1712.314,107.1428,0,0,0,0,100,0), +(@PATH,50,-498.5481,1716.314,106.3928,0,0,0,0,100,0), +(@PATH,51,-500.0481,1717.814,105.8928,0,0,0,0,100,0), +(@PATH,52,-502.2981,1719.814,105.1428,0,0,0,0,100,0), +(@PATH,53,-504.2981,1721.564,104.8928,0,0,0,0,100,0), +(@PATH,54,-506.5481,1723.564,104.1428,0,0,0,0,100,0), +(@PATH,55,-508.0481,1724.814,103.3928,0,0,0,0,100,0), +(@PATH,56,-510.2981,1726.814,102.8928,0,0,0,0,100,0), +(@PATH,57,-513.2981,1729.314,102.1428,0,0,0,0,100,0), +(@PATH,58,-518.5481,1734.064,101.3928,0,0,0,0,100,0), +(@PATH,59,-518.9078,1734.451,101.2272,0,0,0,0,100,0), +(@PATH,60,-520.1578,1735.451,101.2272,0,0,0,0,100,0), +(@PATH,61,-525.1578,1746.951,100.4772,0,0,0,0,100,0), +(@PATH,62,-527.1578,1751.701,99.97722,0,0,0,0,100,0), +(@PATH,63,-528.4078,1754.451,99.22722,0,0,0,0,100,0), +(@PATH,64,-528.6458,1754.557,99.04944,0,0,0,0,100,0), +(@PATH,65,-529.1458,1755.557,99.04944,0,0,0,0,100,0), +(@PATH,66,-531.1458,1760.307,98.04944,0,0,0,0,100,0), +(@PATH,67,-533.6458,1765.807,97.79944,0,0,0,0,100,0), +(@PATH,68,-535.1458,1769.057,97.04944,0,0,0,0,100,0), +(@PATH,69,-537.3958,1774.557,96.54944,0,0,0,0,100,0), +(@PATH,70,-540.5698,1781.229,96.41623,0,0,0,0,100,0), +(@PATH,71,-544.2374,1794.35,96.24516,0,0,0,0,100,0), +(@PATH,72,-547.7374,1797.6,95.74516,0,0,0,0,100,0), +(@PATH,73,-551.8547,1801.933,96.12154,0,0,0,0,100,0), +(@PATH,74,-547.8547,1802.433,95.12154,0,0,0,0,100,0), +(@PATH,75,-537.3297,1804.854,94.79186,0,0,0,0,100,0), +(@PATH,76,-527.3937,1818.265,94.70992,0,0,0,0,100,0), +(@PATH,77,-523.3806,1830.244,94.69691,0,0,0,0,100,0), +(@PATH,78,-521.3764,1842.233,94.54773,0,0,0,0,100,0), +(@PATH,79,-528.6264,1850.233,95.29773,0,0,0,0,100,0), +(@PATH,80,-535.4185,1858.422,94.82919,0,0,0,0,100,0), +(@PATH,81,-528.5068,1876.769,94.71472,0,0,0,0,100,0), +(@PATH,82,-528.7545,1876.864,94.44691,0,0,0,0,100,0), +(@PATH,83,-528.661,1876.97,94.54773,0,0,0,0,100,0), +(@PATH,84,-535.2689,1858.143,94.78326,0,0,0,0,100,0), +(@PATH,85,-521.3507,1841.948,94.71297,0,0,0,0,100,0), +(@PATH,86,-523.529,1829.981,94.69691,0,0,0,0,100,0), +(@PATH,87,-527.722,1817.813,94.50941,0,0,0,0,100,0), +(@PATH,88,-537.5562,1804.775,94.9451,0,0,0,0,100,0), +(@PATH,89,-550.0562,1802.275,95.4451,0,0,0,0,100,0), +(@PATH,90,-550.0892,1802.099,95.70959,0,0,0,0,100,0), +(@PATH,91,-551.8392,1801.599,95.95959,0,0,0,0,100,0), +(@PATH,92,-549.5892,1799.599,95.45959,0,0,0,0,100,0), +(@PATH,93,-546.3392,1796.349,95.95959,0,0,0,0,100,0), +(@PATH,94,-546.0012,1796.099,95.90486,0,0,0,0,100,0); + +-- Pathing for Entry: 4663 'TDB FORMAT' +SET @NPC := 367740; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-471.949,`position_y`=1634.532,`position_z`=100.3123 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-471.949,1634.532,100.3123,0,0,0,0,100,0), +(@PATH,2,-472.699,1633.282,100.0623,0,0,0,0,100,0), +(@PATH,3,-473.949,1629.782,99.56232,0,0,0,0,100,0), +(@PATH,4,-475.199,1626.032,98.81232,0,0,0,0,100,0), +(@PATH,5,-475.0925,1625.812,98.57863,0,0,0,0,100,0), +(@PATH,6,-475.3425,1625.062,98.82863,0,0,0,0,100,0), +(@PATH,7,-475.3425,1620.312,98.07863,0,0,0,0,100,0), +(@PATH,8,-475.0925,1616.312,97.57863,0,0,0,0,100,0), +(@PATH,9,-475.0839,1616.156,97.29929,0,0,0,0,100,0), +(@PATH,10,-475.0839,1615.156,97.29929,0,0,0,0,100,0), +(@PATH,11,-475.0839,1610.406,96.54929,0,0,0,0,100,0), +(@PATH,12,-474.8339,1603.656,96.29929,0,0,0,0,100,0), +(@PATH,13,-474.4819,1603.27,96.11218,0,0,0,0,100,0), +(@PATH,14,-474.4819,1602.27,95.86218,0,0,0,0,100,0), +(@PATH,15,-474.4819,1598.27,95.36218,0,0,0,0,100,0), +(@PATH,16,-474.2319,1591.52,95.11218,0,0,0,0,100,0), +(@PATH,17,-473.8958,1591.228,94.78003,0,0,0,0,100,0), +(@PATH,18,-473.8958,1590.478,94.78003,0,0,0,0,100,0), +(@PATH,19,-474.408,1595.853,95.26567,0,0,0,0,100,0), +(@PATH,20,-474.408,1600.603,95.76567,0,0,0,0,100,0), +(@PATH,21,-474.908,1605.353,96.26567,0,0,0,0,100,0), +(@PATH,22,-475.0993,1605.621,96.64049,0,0,0,0,100,0), +(@PATH,23,-475.3493,1606.371,96.64049,0,0,0,0,100,0), +(@PATH,24,-475.5993,1612.371,96.89049,0,0,0,0,100,0), +(@PATH,25,-475.5993,1617.121,97.64049,0,0,0,0,100,0), +(@PATH,26,-475.7699,1617.375,97.74809,0,0,0,0,100,0), +(@PATH,27,-475.7699,1620.375,98.24809,0,0,0,0,100,0), +(@PATH,28,-475.7699,1624.375,98.49809,0,0,0,0,100,0), +(@PATH,29,-475.7699,1630.125,99.24809,0,0,0,0,100,0), +(@PATH,30,-475.3428,1634.336,100.1934,0,0,0,0,100,0), +(@PATH,31,-474.5928,1637.336,100.6934,0,0,0,0,100,0), +(@PATH,32,-473.8428,1639.836,101.1934,0,0,0,0,100,0), +(@PATH,33,-473.0928,1642.836,101.9434,0,0,0,0,100,0), +(@PATH,34,-472.161,1644.69,102.4931,0,0,0,0,100,0), +(@PATH,35,-469.161,1645.19,102.7431,0,0,0,0,100,0), +(@PATH,36,-466.661,1645.94,103.7431,0,0,0,0,100,0), +(@PATH,37,-466.2529,1646.234,103.8882,0,0,0,0,100,0), +(@PATH,38,-465.2529,1646.484,104.1382,0,0,0,0,100,0), +(@PATH,39,-463.5029,1647.484,104.6382,0,0,0,0,100,0), +(@PATH,40,-462.0029,1648.484,105.3882,0,0,0,0,100,0), +(@PATH,41,-460.2529,1649.484,105.8882,0,0,0,0,100,0), +(@PATH,42,-458.5976,1650.571,106.4031,0,0,0,0,100,0), +(@PATH,43,-455.3476,1652.321,107.1531,0,0,0,0,100,0), +(@PATH,44,-454.1649,1652.849,107.1626,3.787364,0,0,0,100,0), +(@PATH,45,-457.4332,1650.502,106.4246,0,0,0,0,100,0), +(@PATH,46,-459.6832,1649.002,105.6746,0,0,0,0,100,0), +(@PATH,47,-461.1832,1648.002,105.1746,0,0,0,0,100,0), +(@PATH,48,-463.7865,1646.271,104.2609,0,0,0,0,100,0), +(@PATH,49,-465.0365,1644.771,103.5109,0,0,0,0,100,0), +(@PATH,50,-466.2865,1643.521,103.0109,0,0,0,0,100,0), +(@PATH,51,-468.7094,1640.853,101.7127,0,0,0,0,100,0), +(@PATH,52,-470.2094,1638.103,100.9627,0,0,0,0,100,0), +(@PATH,53,-471.7094,1634.853,100.4627,0,0,0,0,100,0); + +-- Pathing for Entry: 4664 'TDB FORMAT' +SET @NPC := 367096; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-425.2374,`position_y`=1655.908,`position_z`=108.2396 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-425.2374,1655.908,108.2396,0,0,0,0,100,0), +(@PATH,2,-404.2621,1647.414,108.3541,0,0,0,0,100,0), +(@PATH,3,-387.1103,1638.472,108.2942,0,0,0,0,100,0), +(@PATH,4,-364.3794,1634.151,108.1705,0,0,0,0,100,0), +(@PATH,5,-335.8311,1635.586,108.6105,0,0,0,0,100,0), +(@PATH,6,-319.6731,1635.883,108.6563,0,0,0,0,100,0), +(@PATH,7,-309.6731,1632.383,107.9063,0,0,0,0,100,0), +(@PATH,8,-306.9231,1631.383,107.4063,0,0,0,0,100,0), +(@PATH,9,-303.9231,1630.383,106.9063,0,0,0,0,100,0), +(@PATH,10,-306.5011,1631.209,107.4762,0,0,0,0,100,0), +(@PATH,11,-303.7511,1630.209,106.7262,0,0,0,0,100,0), +(@PATH,12,-303.0011,1630.209,106.4762,0,0,0,0,100,0), +(@PATH,13,-300.0011,1630.209,105.7262,0,0,0,0,100,0), +(@PATH,14,-298.0011,1629.959,105.2262,0,0,0,0,100,0), +(@PATH,15,-296.2511,1629.959,104.4762,0,0,0,0,100,0), +(@PATH,16,-294.2511,1629.709,103.9762,0,0,0,0,100,0), +(@PATH,17,-292.2511,1629.709,103.4762,0,0,0,0,100,0), +(@PATH,18,-290.2511,1629.459,102.7262,0,0,0,0,100,0), +(@PATH,19,-288.2511,1629.459,101.9762,0,0,0,0,100,0), +(@PATH,20,-286.2511,1629.459,101.2262,0,0,0,0,100,0), +(@PATH,21,-286.1922,1629.113,101.0003,0,0,0,0,100,0), +(@PATH,22,-284.9422,1629.113,100.7503,0,0,0,0,100,0), +(@PATH,23,-282.9422,1628.863,100.0003,0,0,0,0,100,0), +(@PATH,24,-279.9422,1628.863,99.50026,0,0,0,0,100,0), +(@PATH,25,-276.9422,1628.613,98.75026,0,0,0,0,100,0), +(@PATH,26,-275.1922,1628.613,98.25026,0,0,0,0,100,0), +(@PATH,27,-272.1922,1628.613,97.50026,0,0,0,0,100,0), +(@PATH,28,-269.4422,1628.613,97.00026,0,0,0,0,100,0), +(@PATH,29,-266.4422,1628.363,96.25026,0,0,0,0,100,0), +(@PATH,30,-266.061,1628.081,95.97769,0,0,0,0,100,0), +(@PATH,31,-264.811,1628.081,95.97769,0,0,0,0,100,0), +(@PATH,32,-259.811,1627.831,95.22769,0,0,0,0,100,0), +(@PATH,33,-244.061,1627.831,94.97769,0,0,0,0,100,0), +(@PATH,34,-243.906,1627.836,94.57405,0,0,0,0,100,0), +(@PATH,35,-242.156,1627.836,94.57405,0,0,0,0,100,0), +(@PATH,36,-237.5083,1628.591,94.31599,0,0,0,0,100,0), +(@PATH,37,-237.5083,1628.591,94.31599,0,0,0,0,100,0), +(@PATH,38,-212.6183,1636.279,94.11159,0,0,0,0,100,0), +(@PATH,39,-227.8831,1631.59,94.10385,0,0,0,0,100,0), +(@PATH,40,-227.8831,1631.59,94.10385,0,0,0,0,100,0), +(@PATH,41,-239.9548,1628.186,94.44596,0.2689551,0,0,0,100,0), +(@PATH,42,-223.9718,1632.592,94.10385,0,0,0,0,100,0), +(@PATH,43,-223.7986,1632.758,94.22578,0,0,0,0,100,0), +(@PATH,44,-209.4431,1641.896,94.68394,0,0,0,0,100,0), +(@PATH,45,-207.4431,1646.396,95.18394,0,0,0,0,100,0), +(@PATH,46,-204.6931,1651.396,95.68394,0,0,0,0,100,0), +(@PATH,47,-202.7471,1654.645,96.49605,0,0,0,0,100,0), +(@PATH,48,-202.4971,1658.395,97.49605,0,0,0,0,100,0), +(@PATH,49,-201.9971,1661.395,97.99605,0,0,0,0,100,0), +(@PATH,50,-201.7471,1664.145,98.99605,0,0,0,0,100,0), +(@PATH,51,-201.2471,1667.145,99.74605,0,0,0,0,100,0), +(@PATH,52,-200.9971,1670.145,100.496,0,0,0,0,100,0), +(@PATH,53,-201.1286,1667.472,100.0288,0,0,0,0,100,0), +(@PATH,54,-200.8786,1670.472,100.7788,0,0,0,0,100,0), +(@PATH,55,-200.8786,1670.722,100.7788,0,0,0,0,100,0), +(@PATH,56,-200.8786,1673.722,101.5288,0,0,0,0,100,0), +(@PATH,57,-200.8786,1676.722,102.0288,0,0,0,0,100,0), +(@PATH,58,-200.8786,1679.472,102.7788,0,0,0,0,100,0), +(@PATH,59,-200.8786,1682.472,103.7788,0,0,0,0,100,0), +(@PATH,60,-200.8786,1686.472,104.5288,0,0,0,0,100,0), +(@PATH,61,-200.8616,1686.465,104.2206,0,0,0,0,100,0), +(@PATH,62,-200.8616,1681.465,103.2206,0,0,0,0,100,0), +(@PATH,63,-200.8616,1678.715,102.4706,0,0,0,0,100,0), +(@PATH,64,-200.8616,1675.715,101.9706,0,0,0,0,100,0), +(@PATH,65,-200.8616,1672.715,101.2206,0,0,0,0,100,0), +(@PATH,66,-200.9472,1672.381,100.9575,0,0,0,0,100,0), +(@PATH,67,-200.9472,1670.631,100.4575,0,0,0,0,100,0), +(@PATH,68,-201.1972,1667.631,99.70752,0,0,0,0,100,0), +(@PATH,69,-201.4472,1665.631,99.20752,0,0,0,0,100,0), +(@PATH,70,-201.9472,1662.881,98.70752,0,0,0,0,100,0), +(@PATH,71,-202.1972,1659.881,97.95752,0,0,0,0,100,0), +(@PATH,72,-202.4472,1656.881,97.20752,0,0,0,0,100,0), +(@PATH,73,-202.9987,1654.297,96.28256,0,0,0,0,100,0), +(@PATH,74,-204.4987,1651.547,95.78256,0,0,0,0,100,0), +(@PATH,75,-206.9987,1646.547,95.28256,0,0,0,0,100,0), +(@PATH,76,-209.899,1641.523,94.54996,0,0,0,0,100,0), +(@PATH,77,-224.0728,1632.577,94.32033,0,0,0,0,100,0), +(@PATH,78,-242.435,1627.771,94.88593,0,0,0,0,100,0), +(@PATH,79,-259.185,1628.021,95.38593,0,0,0,0,100,0), +(@PATH,80,-265.1698,1628.263,96.19521,0,0,0,0,100,0), +(@PATH,81,-269.1698,1628.513,96.94521,0,0,0,0,100,0), +(@PATH,82,-272.1698,1628.513,97.44521,0,0,0,0,100,0), +(@PATH,83,-274.9198,1628.513,97.94521,0,0,0,0,100,0), +(@PATH,84,-276.9198,1628.763,98.69521,0,0,0,0,100,0), +(@PATH,85,-280.9198,1628.763,99.44521,0,0,0,0,100,0), +(@PATH,86,-282.9198,1629.013,99.94521,0,0,0,0,100,0), +(@PATH,87,-283.1391,1629.203,100.2809,0,0,0,0,100,0), +(@PATH,88,-285.1391,1629.203,101.0309,0,0,0,0,100,0), +(@PATH,89,-287.1391,1629.453,101.7809,0,0,0,0,100,0), +(@PATH,90,-289.1391,1629.453,102.5309,0,0,0,0,100,0), +(@PATH,91,-291.1391,1629.453,103.0309,0,0,0,0,100,0), +(@PATH,92,-292.8891,1629.453,103.5309,0,0,0,0,100,0), +(@PATH,93,-294.8891,1629.453,104.2809,0,0,0,0,100,0), +(@PATH,94,-296.8891,1629.703,105.0309,0,0,0,0,100,0), +(@PATH,95,-298.8891,1629.703,105.5309,0,0,0,0,100,0), +(@PATH,96,-300.8891,1629.953,106.0309,0,0,0,0,100,0), +(@PATH,97,-301.0784,1630.091,106.486,0,0,0,0,100,0), +(@PATH,98,-303.3284,1630.341,106.736,0,0,0,0,100,0), +(@PATH,99,-307.0784,1631.591,107.486,0,0,0,0,100,0), +(@PATH,100,-309.8284,1632.591,108.236,0,0,0,0,100,0), +(@PATH,101,-316.3284,1634.591,108.736,0,0,0,0,100,0), +(@PATH,102,-320.1257,1635.852,108.6891,0,0,0,0,100,0), +(@PATH,103,-336.0817,1635.482,108.4356,0,0,0,0,100,0), +(@PATH,104,-364.5679,1634.046,108.2983,0,0,0,0,100,0), +(@PATH,105,-387.3605,1638.903,108.1095,0,0,0,0,100,0), +(@PATH,106,-404.4639,1647.763,108.3472,0,0,0,0,100,0), +(@PATH,107,-425.491,1656.167,108.0846,0,0,0,0,100,0), +(@PATH,108,-434.241,1658.417,107.8346,0,0,0,0,100,0), +(@PATH,109,-453.4197,1663.897,108.3978,0,0,0,0,100,0), +(@PATH,110,-458.6697,1667.897,108.8978,0,0,0,0,100,0), +(@PATH,111,-462.6697,1670.897,109.3978,0,0,0,0,100,0), +(@PATH,112,-462.7543,1671.059,109.7594,0,0,0,0,100,0), +(@PATH,113,-463.5043,1671.809,109.7594,0,0,0,0,100,0), +(@PATH,114,-463.5043,1674.809,110.5094,0,0,0,0,100,0), +(@PATH,115,-463.5043,1676.809,111.2594,0,0,0,0,100,0), +(@PATH,116,-463.5043,1678.559,112.0094,0,0,0,0,100,0), +(@PATH,117,-463.5043,1680.559,112.7594,0,0,0,0,100,0), +(@PATH,118,-463.5043,1682.559,113.7594,0,0,0,0,100,0), +(@PATH,119,-463.5043,1684.559,114.5094,0,0,0,0,100,0), +(@PATH,120,-463.5043,1686.559,115.5094,0,0,0,0,100,0), +(@PATH,121,-463.4412,1686.649,115.7056,0,0,0,0,100,0), +(@PATH,122,-463.4412,1688.149,115.9556,0,0,0,0,100,0), +(@PATH,123,-462.1912,1689.649,116.7056,0,0,0,0,100,0), +(@PATH,124,-460.9412,1691.149,117.4556,0,0,0,0,100,0), +(@PATH,125,-458.9412,1693.149,118.2056,0,0,0,0,100,0), +(@PATH,126,-457.9412,1694.899,119.2056,0,0,0,0,100,0), +(@PATH,127,-455.9412,1697.149,119.9556,0,0,0,0,100,0), +(@PATH,128,-455.7926,1697.378,120.1722,0,0,0,0,100,0), +(@PATH,129,-453.7926,1699.628,121.1722,0,0,0,0,100,0), +(@PATH,130,-452.2926,1700.878,121.9222,0,0,0,0,100,0), +(@PATH,131,-450.5426,1701.878,122.4222,0,0,0,0,100,0), +(@PATH,132,-448.0426,1703.378,123.1722,0,0,0,0,100,0), +(@PATH,133,-446.7926,1704.628,123.9222,0,0,0,0,100,0), +(@PATH,134,-444.2926,1706.378,124.9222,0,0,0,0,100,0), +(@PATH,135,-442.5426,1707.378,125.4222,0,0,0,0,100,0), +(@PATH,136,-439.2926,1709.628,126.1722,0,0,0,0,100,0), +(@PATH,137,-441.0631,1708.603,125.6665,0,0,0,0,100,0), +(@PATH,138,-443.5631,1706.853,125.1665,0,0,0,0,100,0), +(@PATH,139,-445.0631,1705.603,124.4165,0,0,0,0,100,0), +(@PATH,140,-447.3131,1704.353,123.4165,0,0,0,0,100,0), +(@PATH,141,-449.0631,1703.103,122.9165,0,0,0,0,100,0), +(@PATH,142,-451.3131,1701.353,122.1665,0,0,0,0,100,0), +(@PATH,143,-453.0631,1700.353,121.1665,0,0,0,0,100,0), +(@PATH,144,-453.3074,1700.102,121.118,0,0,0,0,100,0), +(@PATH,145,-454.0574,1699.352,120.868,0,0,0,0,100,0), +(@PATH,146,-455.3074,1697.852,120.368,0,0,0,0,100,0), +(@PATH,147,-456.5574,1696.352,119.618,0,0,0,0,100,0), +(@PATH,148,-458.3074,1694.102,118.618,0,0,0,0,100,0), +(@PATH,149,-459.5574,1692.852,118.118,0,0,0,0,100,0), +(@PATH,150,-461.5574,1690.602,117.118,0,0,0,0,100,0), +(@PATH,151,-462.8074,1688.852,116.368,0,0,0,0,100,0), +(@PATH,152,-463.0175,1688.784,116.0662,0,0,0,0,100,0), +(@PATH,153,-463.5175,1687.784,115.8162,0,0,0,0,100,0), +(@PATH,154,-463.5175,1685.784,115.0662,0,0,0,0,100,0), +(@PATH,155,-463.5175,1683.784,114.0662,0,0,0,0,100,0), +(@PATH,156,-463.5175,1681.784,113.0662,0,0,0,0,100,0), +(@PATH,157,-463.5175,1680.034,112.3162,0,0,0,0,100,0), +(@PATH,158,-463.5175,1678.034,111.5662,0,0,0,0,100,0), +(@PATH,159,-463.5175,1676.034,110.8162,0,0,0,0,100,0), +(@PATH,160,-463.5175,1674.034,110.0662,0,0,0,0,100,0), +(@PATH,161,-463.3525,1671.405,109.3316,0,0,0,0,100,0), +(@PATH,162,-459.6025,1668.405,108.8316,0,0,0,0,100,0), +(@PATH,163,-453.3303,1663.512,108.1292,0,0,0,0,100,0), +(@PATH,164,-434.3303,1658.512,107.8792,0,0,0,0,100,0); + +-- Pathing for Entry: 4675 'TDB FORMAT' +SET @NPC := 367607; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-185.406,`position_y`=736.239,`position_z`=91.1503 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-185.406,736.239,91.1503,0,0,0,0,100,0), +(@PATH,2,-189.91,751.8234,91.05775,0,0,0,0,100,0), +(@PATH,3,-199.4573,780.3738,90.87621,0,0,0,0,100,0), +(@PATH,4,-203.7073,785.8738,90.37621,0,0,0,0,100,0), +(@PATH,5,-209.5026,793.5382,89.86568,0,0,0,0,100,0), +(@PATH,6,-203.0026,785.0382,90.36568,0,0,0,0,100,0), +(@PATH,7,-199.0398,780.203,90.92162,0,0,0,0,100,0), +(@PATH,8,-189.6512,751.5752,91.13413,0,0,0,0,100,0), +(@PATH,9,-185.2206,735.9565,91.27509,0,0,0,0,100,0), +(@PATH,10,-183.4706,713.2065,91.52509,0,0,0,0,100,0), +(@PATH,11,-182.0618,699.338,91.75116,0,0,0,0,100,0), +(@PATH,12,-175.0751,677.5027,91.70145,0,0,0,0,100,0), +(@PATH,13,-162.6731,663.7867,91.70597,0,0,0,0,100,0), +(@PATH,14,-143.841,653.766,91.71033,0,0,0,0,100,0), +(@PATH,15,-120.7621,644.0552,91.70526,0,0,0,0,100,0), +(@PATH,16,-98.8993,638.6407,91.70081,0,0,0,0,100,0), +(@PATH,17,-81.35144,640.4357,91.71359,0,0,0,0,100,0), +(@PATH,18,-65.68195,643.7179,91.72449,0,0,0,0,100,0), +(@PATH,19,-53.32867,650.7862,91.727,0,0,0,0,100,0), +(@PATH,20,-53.49826,650.6528,91.477,0,0,0,0,100,0), +(@PATH,21,-53.52173,650.7734,91.727,0,0,0,0,100,0), +(@PATH,22,-65.99274,643.3392,91.71359,0,0,0,0,100,0), +(@PATH,23,-81.64745,640.2275,91.70178,0,0,0,0,100,0), +(@PATH,24,-99.09793,638.7147,91.70526,0,0,0,0,100,0), +(@PATH,25,-120.9651,644.3715,91.70969,0,0,0,0,100,0), +(@PATH,26,-144.2855,654.039,91.71033,0,0,0,0,100,0), +(@PATH,27,-162.9536,664.0327,91.68605,0,0,0,0,100,0), +(@PATH,28,-175.4571,677.926,91.5404,0,0,0,0,100,0), +(@PATH,29,-182.494,699.5127,91.74856,0,0,0,0,100,0), +(@PATH,30,-183.744,719.2627,91.24856,0,0,0,0,100,0); + +-- Pathing for Entry: 4638 'TDB FORMAT' +SET @NPC := 367251; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1017.871,`position_y`=992.2985,`position_z`=90.36311 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,-1017.871,992.2985,90.36311,0,0,0,0,100,0), +(@PATH,2,-1021.121,990.2985,90.86311,0,0,0,0,100,0), +(@PATH,3,-1037.107,980.1952,90.90099,0,0,0,0,100,0), +(@PATH,4,-1037.216,979.8575,90.77368,0,0,0,0,100,0), +(@PATH,5,-1037.067,980.2216,90.84662,0,0,0,0,100,0), +(@PATH,6,-1019.567,991.2216,90.34662,0,0,0,0,100,0), +(@PATH,7,-1017.551,992.6057,90.44121,0,0,0,0,100,0), +(@PATH,8,-1002.551,999.8557,90.94121,0,0,0,0,100,0), +(@PATH,9,-1000.551,1000.606,91.69121,0,0,0,0,100,0), +(@PATH,10,-998.801,1001.606,92.19121,0,0,0,0,100,0), +(@PATH,11,-992.551,1004.606,92.94121,0,0,0,0,100,0), +(@PATH,12,-988.051,1006.606,92.44121,0,0,0,0,100,0), +(@PATH,13,-986.301,1007.606,91.19121,0,0,0,0,100,0), +(@PATH,14,-985.9079,1007.828,91.31345,0,0,0,0,100,0), +(@PATH,15,-985.6579,1008.078,91.31345,0,0,0,0,100,0), +(@PATH,16,-983.6579,1008.828,90.81345,0,0,0,0,100,0), +(@PATH,17,-976.1579,1011.828,90.31345,0,0,0,0,100,0), +(@PATH,18,-961.9196,1017.525,90.23926,0,0,0,0,100,0), +(@PATH,19,-957.6696,1014.775,90.98926,0,0,0,0,100,0), +(@PATH,20,-948.6696,1009.275,90.23926,0,0,0,0,100,0), +(@PATH,21,-945.1696,1007.275,89.73926,0,0,0,0,100,0), +(@PATH,22,-937.5852,1002.906,89.91727,0,0,0,0,100,0), +(@PATH,23,-921.0852,1003.906,90.16727,0,0,0,0,100,0), +(@PATH,24,-911.077,1004.914,90.69882,0,0,0,0,100,0), +(@PATH,25,-901.327,1007.164,91.19882,0,0,0,0,100,0), +(@PATH,26,-884.077,1011.164,91.69882,0,0,0,0,100,0), +(@PATH,27,-882.077,1011.664,92.44882,0,0,0,0,100,0), +(@PATH,28,-878.6149,1012.386,92.34392,0,0,0,0,100,0), +(@PATH,29,-874.6149,1012.136,91.59392,0,0,0,0,100,0), +(@PATH,30,-872.6149,1012.136,90.84392,0,0,0,0,100,0), +(@PATH,31,-870.6149,1012.136,90.34392,0,0,0,0,100,0), +(@PATH,32,-858.8296,1011.903,89.53743,0,0,0,0,100,0), +(@PATH,33,-824.6765,1014.635,89.72282,0,0,0,0,100,0), +(@PATH,34,-783.8641,1010.232,89.9036,0,0,0,0,100,0), +(@PATH,35,-763.3641,1013.482,90.4036,0,0,0,0,100,0), +(@PATH,36,-754.6141,1014.982,90.9036,0,0,0,0,100,0), +(@PATH,37,-750.6141,1015.482,91.9036,0,0,0,0,100,0), +(@PATH,38,-748.3763,1015.906,92.78226,0,0,0,0,100,0), +(@PATH,39,-746.3763,1015.906,93.03226,0,0,0,0,100,0), +(@PATH,40,-744.3763,1015.656,94.03226,0,0,0,0,100,0), +(@PATH,41,-743.3763,1015.656,94.53226,0,0,0,0,100,0), +(@PATH,42,-742.3763,1015.656,95.28226,0,0,0,0,100,0), +(@PATH,43,-740.3763,1015.656,96.03226,0,0,0,0,100,0), +(@PATH,44,-737.3763,1015.656,96.53226,0,0,0,0,100,0), +(@PATH,45,-734.6263,1015.406,96.03226,0,0,0,0,100,0), +(@PATH,46,-732.6263,1015.406,95.53226,0,0,0,0,100,0), +(@PATH,47,-730.6263,1015.406,94.78226,0,0,0,0,100,0), +(@PATH,48,-729.6263,1015.406,94.03226,0,0,0,0,100,0), +(@PATH,49,-730.9482,1015.522,94.89385,0,0,0,0,100,0), +(@PATH,50,-732.9482,1015.522,95.39385,0,0,0,0,100,0), +(@PATH,51,-734.9482,1015.522,95.89385,0,0,0,0,100,0), +(@PATH,52,-736.6982,1015.522,96.64385,0,0,0,0,100,0), +(@PATH,53,-740.6982,1015.772,95.89385,0,0,0,0,100,0), +(@PATH,54,-741.6982,1015.772,95.14385,0,0,0,0,100,0), +(@PATH,55,-742.6982,1015.772,94.64385,0,0,0,0,100,0), +(@PATH,56,-743.6982,1015.772,93.89385,0,0,0,0,100,0), +(@PATH,57,-744.6982,1015.772,93.39385,0,0,0,0,100,0), +(@PATH,58,-746.6982,1015.772,92.89385,0,0,0,0,100,0), +(@PATH,59,-738.438,1015.672,96.41582,0,0,0,0,100,0), +(@PATH,60,-740.4789,1016.204,96.00103,0,0,0,0,100,0), +(@PATH,61,-738.0272,1015.565,96.29562,3.105476,0,0,0,100,0), +(@PATH,62,-740.9934,1015.759,96.00172,0,0,0,0,100,0), +(@PATH,63,-741.9934,1015.759,95.25172,0,0,0,0,100,0), +(@PATH,64,-742.9934,1015.759,94.75172,0,0,0,0,100,0), +(@PATH,65,-743.7434,1015.759,94.25172,0,0,0,0,100,0), +(@PATH,66,-744.7434,1015.759,93.75172,0,0,0,0,100,0), +(@PATH,67,-746.7434,1016.009,93.00172,0,0,0,0,100,0), +(@PATH,68,-748.4258,1015.901,92.26164,0,0,0,0,100,0), +(@PATH,69,-750.4258,1015.651,91.76164,0,0,0,0,100,0), +(@PATH,70,-752.4258,1015.401,91.26164,0,0,0,0,100,0), +(@PATH,71,-756.4258,1014.651,90.76164,0,0,0,0,100,0), +(@PATH,72,-764.1758,1013.401,90.26164,0,0,0,0,100,0), +(@PATH,73,-784.0753,1010.128,89.73602,0,0,0,0,100,0), +(@PATH,74,-824.9531,1014.728,89.7294,0,0,0,0,100,0), +(@PATH,75,-859.0712,1011.822,89.78225,0,0,0,0,100,0), +(@PATH,76,-870.8212,1012.072,90.53225,0,0,0,0,100,0), +(@PATH,77,-872.8212,1012.072,91.03225,0,0,0,0,100,0), +(@PATH,78,-874.8212,1012.322,91.78225,0,0,0,0,100,0), +(@PATH,79,-878.802,1012.431,92.34183,0,0,0,0,100,0), +(@PATH,80,-884.552,1010.931,91.59183,0,0,0,0,100,0), +(@PATH,81,-903.802,1006.431,91.09183,0,0,0,0,100,0), +(@PATH,82,-911.3434,1004.496,90.4353,0,0,0,0,100,0), +(@PATH,83,-923.3434,1003.746,89.9353,0,0,0,0,100,0), +(@PATH,84,-937.8621,1002.865,89.76182,0,0,0,0,100,0), +(@PATH,85,-948.1121,1009.115,90.26182,0,0,0,0,100,0), +(@PATH,86,-955.6121,1013.615,91.01182,0,0,0,0,100,0), +(@PATH,87,-961.6121,1017.115,90.26182,0,0,0,0,100,0), +(@PATH,88,-961.9578,1017.276,90.44093,0,0,0,0,100,0), +(@PATH,89,-962.2078,1017.526,90.44093,0,0,0,0,100,0), +(@PATH,90,-973.4578,1012.776,89.94093,0,0,0,0,100,0), +(@PATH,91,-976.9578,1011.526,90.44093,0,0,0,0,100,0), +(@PATH,92,-984.2078,1008.526,90.94093,0,0,0,0,100,0), +(@PATH,93,-984.5226,1008.37,90.77721,0,0,0,0,100,0), +(@PATH,94,-985.7726,1007.87,91.27721,0,0,0,0,100,0), +(@PATH,95,-987.5226,1006.87,92.27721,0,0,0,0,100,0), +(@PATH,96,-989.2726,1006.12,93.02721,0,0,0,0,100,0), +(@PATH,97,-993.7726,1003.87,92.52721,0,0,0,0,100,0), +(@PATH,98,-1000.273,1000.87,91.52721,0,0,0,0,100,0), +(@PATH,99,-1002.523,999.8704,90.77721,0,0,0,0,100,0), +(@PATH,100,-1005.273,998.6204,90.27721,0,0,0,0,100,0); diff --git a/sql/updates/world/2015_03_23_01_world_f355.sql b/sql/updates/world/2015_03_23_01_world_f355.sql new file mode 100644 index 00000000000..d6f8d4591ff --- /dev/null +++ b/sql/updates/world/2015_03_23_01_world_f355.sql @@ -0,0 +1,5 @@ +-- +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (28273, -28273); +INSERT INTO `spell_linked_spell` VALUES +(28273, -28274, 0, 'Bloodthistle'), +(-28273, 28274, 0, 'Bloodthistle'); diff --git a/sql/updates/world/2015_03_23_02_world.sql b/sql/updates/world/2015_03_23_02_world.sql new file mode 100644 index 00000000000..5dce75b6538 --- /dev/null +++ b/sql/updates/world/2015_03_23_02_world.sql @@ -0,0 +1,13 @@ +-- Blackrock Worg Drops with correct rates from wiki +UPDATE `creature_template` SET lootid=49871 WHERE entry=49871; +DELETE FROM `creature_loot_template` WHERE entry=49871; +INSERT INTO `creature_loot_template` (entry,item,Reference,Chance,QuestRequired,LootMode,GroupId,MinCount,MaxCount,Comment) VALUES +(49871, 62328, 0, 76, 0, 1, 0, 1, 1, 'Shed Fur'), +(49871, 3300, 0, 24, 0, 1, 0, 1, 1, 'Rabbit Foot'), +(49871, 5572, 0, 0.5, 0, 1, 0, 1, 1, 'Small Green Pouch'), +(49871, 5571, 0, 0.12, 0, 1, 0, 1, 1, 'Small Black Pouch'), +(49871, 828, 0, 0.09, 0, 1, 0, 1, 1, 'Small Blue Pouch'), +(49871, 805, 0, 0.1, 0, 1, 0, 1, 1, 'Small Red Pouch'), +(49871, 4496, 0, 0.12, 0, 1, 0, 1, 1, 'Small Brown Pouch'), +(49871, 2589, 0, 0.02, 0, 1, 0, 1, 1, 'Linen Cloth'), +(49871, 117, 0, 0.01, 0, 1, 0, 1, 1, 'Tough Jerky'); diff --git a/sql/updates/world/2015_03_23_02_world_f355.sql b/sql/updates/world/2015_03_23_02_world_f355.sql new file mode 100644 index 00000000000..3bc255d569e --- /dev/null +++ b/sql/updates/world/2015_03_23_02_world_f355.sql @@ -0,0 +1,2 @@ +-- +UPDATE `smart_scripts` SET `action_type`=18, `action_param1`=512, `comment`='Hyldsmeet Warbear - Out of Combat - Set Unit_flag immune to npc (No Repeat)' WHERE `entryorguid`=30174 AND `id`=0; diff --git a/sql/updates/world/2015_03_23_03_world.sql b/sql/updates/world/2015_03_23_03_world.sql new file mode 100644 index 00000000000..bb0a1609876 --- /dev/null +++ b/sql/updates/world/2015_03_23_03_world.sql @@ -0,0 +1,12 @@ +-- +SET @Disco :=190351; +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (@Disco); +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Disco AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Disco, 1, 0, 0, 64, 0, 100, 0, 0, 0, 0, 0, 85, 50493 , 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Disco - On gossip hello - cast Listening to Music'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-50314, -50493, 50493); +INSERT INTO `spell_linked_spell` VALUES +(-50314, -50493, 0, 'Disco Ball'), +(-50493, -50314, 0, 'Disco Ball(Listening to Music)'), +(50493, 50314, 0, 'Disco Ball(Listening to Music)'); diff --git a/sql/updates/world/2015_03_23_04_world.sql b/sql/updates/world/2015_03_23_04_world.sql new file mode 100644 index 00000000000..1425f517d0a --- /dev/null +++ b/sql/updates/world/2015_03_23_04_world.sql @@ -0,0 +1,15 @@ +-- +SET @Bird1 :=22337; +SET @Bird2 :=22339; +SET @Egg :=185211; + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (@Bird2); +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (@Egg); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Egg*100 AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Egg*100+1 AND `source_type`=9; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Egg AND `source_type`=1; +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(@Egg, 1, 0, 0, 70, 0, 100, 0, 2, 0, 0, 0, 87, @Egg*100, @Egg*100+1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cursed egg - On State 2 - Action random action list'), +(@Egg*100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, @Bird2, 3, 15000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cursed egg - Action list - Summon'), +(@Egg*100+1, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 12, @Bird1, 3, 40000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Cursed egg - Action list - Summon'); diff --git a/sql/updates/world/2015_03_23_05_world.sql b/sql/updates/world/2015_03_23_05_world.sql new file mode 100644 index 00000000000..e574ff22bea --- /dev/null +++ b/sql/updates/world/2015_03_23_05_world.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature` SET `unit_flags`=4104 WHERE `id`=12423; diff --git a/sql/updates/world/2015_03_23_06_world.sql b/sql/updates/world/2015_03_23_06_world.sql new file mode 100644 index 00000000000..e8820a341e2 --- /dev/null +++ b/sql/updates/world/2015_03_23_06_world.sql @@ -0,0 +1,22 @@ +-- +SET @CGUID := 45834; -- 1 free guid set by TC +SET @Triggger:=21321; +DELETE FROM `creature` WHERE `guid`=@CGUID; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES +(@CGUID, 21321, 530, 1, 1, 1316.625854, 6689.878418, -18.672377, 0.160565, 0, 0, 0); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (36587); +INSERT INTO `spell_linked_spell` VALUES +(36587, 36573, 0, 'Vision Guide'); + +UPDATE `creature_template` SET `AIName`='SmartAI', `flags_extra`= 2 WHERE `entry` IN (@Triggger); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=@Triggger AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@Triggger,0,0,1,10,0,100,0,1,10,5000,5000,15,10525,0,0,0,0,0,7,0,0,0,0,0,0,0,'Triggger - LOS - AREAEXPLOREDOREVENTHAPPENS'), +(@Triggger,0,1,0,61,0,100,0,0,0,0,0,28,36573,0,0,0,0,0,7,0,0,0,0,0,0,0,'Triggger - LOS - remove aura'), +(@Triggger,0,2,0,63,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Triggger - Just created - Set invisible'); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=@Triggger; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`, `ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,@Triggger,0,1,36573,1,0,0,'','event require Aura 36573'); diff --git a/sql/updates/world/2015_03_23_07_world.sql b/sql/updates/world/2015_03_23_07_world.sql new file mode 100644 index 00000000000..02b9dd9238d --- /dev/null +++ b/sql/updates/world/2015_03_23_07_world.sql @@ -0,0 +1,43 @@ +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE entry IN (21332,21334,20427); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(21318) AND `source_type`=0 AND `id`>0; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(21332,21334,20427) AND `source_type`=0; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21318, 0, 1, 2, 62, 0, 100, 0, 8288, 0, 0, 0, 85, 36620, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Spirit of Ar''tor - On Gossip Option 0 Selected - Invoker Cast Spirit of Ar''tor'), +(21318, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Spirit of Ar''tor - On Gossip Option 0 Selected - Close Gossip'), +(21318, 0, 3, 0, 19, 0, 100, 0, 10540, 0, 0, 0, 85, 36620, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Spirit of Ar''tor - On Quest Accept (10540) - Invoker Cast Spirit of Ar''tor'), +(21332, 0, 0, 0, 38, 0, 100, 1, 3, 3, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 21334, 0, 0, 0, 0, 0, 0, 'Spirit Hunter - On Data Set 3 3 - Set Data 1 1 to Veneratus Spawn Node'), +(21332, 0, 1, 0, 38, 0, 100, 0, 1, 1, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 20427, 0, 0, 0, 0, 0, 0, 'Spirit Hunter - On Data Set - Start Attack'), +(21332, 0, 2, 0, 38, 0, 100, 0, 2, 2, 0, 0, 1, 0, 5000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Spirit Hunter - On Data Set - Say Line 0'), +(21332, 0, 3, 0, 52, 0, 100, 0, 0, 21332, 0, 0, 1, 1, 5000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Spirit Hunter - On Text Over Line 0 - Say Line 1'), +(21332, 0, 4, 0, 52, 0, 100, 0, 1, 21332, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Spirit Hunter - On Text Over Line 1 - Despawn'), +(21332, 0, 5, 0, 54, 0, 100, 0, 0, 0, 0, 0, 102, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Spirit Hunter - On Just Summoned - Turn HP Regen off'), +(21334, 0, 0, 0, 1, 0, 100, 0, 0, 0, 2000, 2000, 45, 3, 3, 0, 0, 0, 0, 19, 21332, 40, 0, 0, 0, 0, 0, 'Veneratus Spawn Node - OOC - Set Data to Spirit Hunter'), +(21334, 0, 1, 0, 38, 0, 100, 0, 1, 1, 60000, 60000, 11, 36616, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Veneratus Spawn Node - On Data Set 1 1 - Cast Veneratus Spawn'), +(20427, 0, 0, 1, 1, 0, 100, 1, 100, 100, 0, 0, 11, 24240, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Veneratus the Many <Servant of Illidan> - On Spawn - Cast Spawn - Red Lightning'), +(20427, 0, 1, 2, 61, 0, 100, 1, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Veneratus the Many <Servant of Illidan> - On Spawn - Set Hostile'), +(20427, 0, 2, 0, 61, 0, 100, 1, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 21334, 0, 0, 0, 0, 0, 0, 'Veneratus the Many <Servant of Illidan> - On Spawn - Despawn - Veneratus Spawn Node'), +(20427, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 21332, 0, 0, 0, 0, 0, 0, 'Veneratus the Many <Servant of Illidan> - On Death - Set Data on Spirit Hunter'), +(20427, 0, 4, 0, 1, 0, 100, 1, 5000, 5000, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 21332, 0, 0, 0, 0, 0, 0, 'Veneratus the Many <Servant of Illidan> - OOC - Set Data on Spirit Hunter (No repeat)'); + +DELETE FROM `creature_text` WHERE `entry`=21332; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES +(21332, 0, 0, 'It is dying! The second part of the Cipher of Damnation is ours. I...', 12, 0, 100, 1, 0, 0, 19040, 'Spirit Hunter to Veneratus the Many'), +(21332, 1, 0, 'I am fading... Return to Ar''tor... Ret... rn... to...', 12, 0, 100, 1, 0, 0, 19041, 'Spirit Hunter to Veneratus the Many'); + +/* UPDATE `spell_dbc` SET `Effect2`=28,`EffectMiscValueB2`=64 WHERE `Id`=36616; */ + +DELETE FROM `gossip_menu_option` WHERE `menu_id`=8288; +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES +(8288, 0, 0, 'I require the aid of another spirit hunter, Ar''tor.', 19017, 1, 1, 0, 0, 0, 0, NULL, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=8288; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(15, 8288, 0, 0, 0, 9, 0, 10540, 0, 0, 0, 0, 0, '', 'Gossip Option requires quest 10540 taken'), +(15, 8288, 0, 0, 0, 1, 0, 36620, 2, 0, 1, 0, 0, '', 'Gossip Option requires player does not have aura 36620'), +(15, 8288, 0, 0, 0, 29, 1, 21332, 40, 0, 1, 0, 0, '', 'Gossip Option requires no npc 21332 present'); + +DELETE FROM `creature_template_addon` WHERE `entry`=21332; +INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES +(21332, 0, 0, 0, 0, 0, '36613'); diff --git a/sql/updates/world/2015_03_23_08_world.sql b/sql/updates/world/2015_03_23_08_world.sql new file mode 100644 index 00000000000..7eec8650632 --- /dev/null +++ b/sql/updates/world/2015_03_23_08_world.sql @@ -0,0 +1,37 @@ +DELETE FROM `creature_text` WHERE `entry`=21411; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES +(21411, 0, 0, '%s cracks the rotten egg open and - to the horror and dismay of all around him - begins to drink from its putrid core.', 16, 0, 100, 92, 0, 0, 19098, 'Tobias the Filth Gorger to Player'), +(21411, 1, 0, 'That was life-changing... Excuse me for one minute.', 12, 0, 100, 273, 0, 0, 19099, 'Tobias the Filth Gorger to Player'), +(21411, 2, 0, '%s lets loose the most foul belch ever heard or smelled.', 16, 0, 100, 15, 0, 10593, 19100, 'Tobias the Filth Gorger to Player'), +(21411, 3, 0, 'Ok then, back to business.', 12, 0, 100, 1, 0, 0, 19101, 'Tobias the Filth Gorger to Player'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` =21411; + +DELETE FROM `smart_scripts` WHERE `entryorguid` =21411 AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` =2141100 AND `source_type`=0; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21411, 0, 0, 1, 19, 0, 100, 0, 10550, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - On Quest 10550 taken - Store Targetlist'), +(21411, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 2141100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - On Quest 10550 taken - Run script'), +(21411, 0, 2, 0, 34, 0, 100, 0, 0, 1, 0, 0, 54, 10000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - On Reached WP1 - Pause WP'), +(21411, 0, 3, 0, 34, 0, 100, 0, 0, 2, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0.3141593, 'Tobias the Filth Gorger - On Reached WP2 - Set Orientation'), +(2141100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Set NPC Flags'), +(2141100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 71, 0, 0, 20468, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Equip Item'), +(2141100, 9, 2, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Say Line 0'), +(2141100, 9, 3, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 5, 92, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Play Emote OneShotEatNoSheathe'), +(2141100, 9, 4, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Set Orientation'), +(2141100, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - UnEquip Item'), +(2141100, 9, 6, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Say Line 1'), +(2141100, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 53, 0, 21411, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Start WP'), +(2141100, 9, 8, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Say Line 2'), +(2141100, 9, 9, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 11, 36823, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Cast Overwhelming Odor'), +(2141100, 9, 10, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 5.544791, 'Tobias the Filth Gorger - Script - Set Orientation'), +(2141100, 9, 11, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 11, 36824, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Cast Overwhelming Odor'), +(2141100, 9, 12, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Say Line 2'), +(2141100, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 81, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Tobias the Filth Gorger - Script - Set NPC Flags'); + +DELETE FROM `waypoints` WHERE `entry` =21411; + +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(21411, 1,-2080.307, 5296.746, -37.32356, 'Tobias the Filth Gorger'), +(21411, 2,-2083.831, 5299.953, -37.32356, 'Tobias the Filth Gorger'); diff --git a/sql/updates/world/2015_03_23_09_world.sql b/sql/updates/world/2015_03_23_09_world.sql new file mode 100644 index 00000000000..d90f7fc9249 --- /dev/null +++ b/sql/updates/world/2015_03_23_09_world.sql @@ -0,0 +1,14 @@ +DELETE FROM `creature_text` WHERE `entry`=18417; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES +(18417, 0, 0, 'The information you seek... I cannot give you that freely. You will have to prove that your enemies are the same as mine.', 12, 0, 100, 25, 0, 0, 19890, 'Altruis the Sufferer to Player'), +(18417, 1, 0, 'This book would give me unlimited power over my enemies... I would become... unstoppable!', 12, 0, 100, 1, 0, 0, 19614, 'Altruis the Sufferer to Player'), +(18417, 2, 0, 'No... you must take this from me, $n! I feel its dark power swaying my will already! Use it to destroy Varedis.', 12, 0, 100, 274, 0, 0, 19615, 'Altruis the Sufferer to Player'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` =18417 AND `source_type`=0 AND `id`>2; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18417, 0, 3, 0, 20, 0, 100, 0, 10640, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Altruis the Sufferer - On Quest reward 10640 - Say Line 0'), +(18417, 0, 4, 0, 20, 0, 100, 0, 10689, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Altruis the Sufferer - On Quest reward 10689 - Say Line 0'), +(18417, 0, 5, 0, 20, 0, 100, 0, 10649, 0, 0, 0, 1, 1, 4000, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Altruis the Sufferer - On Quest reward 10649 - Say Line 1'), +(18417, 0, 6, 0, 52, 0, 100, 0, 1, 18417, 0, 0, 1, 2, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Altruis the Sufferer - On Text Over Line 1 - Say Line 2'); + diff --git a/sql/updates/world/2015_03_23_10_world.sql b/sql/updates/world/2015_03_23_10_world.sql new file mode 100644 index 00000000000..d83e5c212a0 --- /dev/null +++ b/sql/updates/world/2015_03_23_10_world.sql @@ -0,0 +1,11 @@ +-- +UPDATE `smart_scripts` SET `entryorguid`= -69714 WHERE `entryorguid`= -69712; +UPDATE `smart_scripts` SET `entryorguid`= -69715 WHERE `entryorguid`= -69711; +UPDATE `smart_scripts` SET `entryorguid`= -69716 WHERE `entryorguid`= -69710; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (-69712, -69711, -69710); + +DELETE FROM `creature_addon` WHERE `guid` IN (69713); +INSERT INTO `creature_addon` (`guid`,`bytes1`,`bytes2`, `emote`, `auras`) VALUES +(69713,0,4097,0,"37497"); + +UPDATE `creature_template_addon` SET `auras`= "37467" WHERE `entry`=21292; diff --git a/sql/updates/world/2015_03_23_11_world.sql b/sql/updates/world/2015_03_23_11_world.sql new file mode 100644 index 00000000000..2d3b346d18e --- /dev/null +++ b/sql/updates/world/2015_03_23_11_world.sql @@ -0,0 +1,83 @@ +UPDATE `creature_template` SET `gossip_menu_id`=8372 WHERE `entry`=21700; +UPDATE `creature_template` SET `unit_flags`=768 WHERE `entry`=21768; +UPDATE `creature_template` SET `unit_flags`=33536 WHERE `entry`=21776; + +DELETE FROM `gossip_menu` WHERE `entry`=8372; +INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES +(8372, 10447); -- 21700 + +DELETE FROM `creature_text` WHERE `entry`IN(21700,21768,21699); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextID`, `comment`) VALUES +(21700, 0, 0, 'Have no fear, $r. Just play along.', 15, 0, 100, 0, 0, 0, 19402, 'Akama to Player'), +(21700, 1, 0, 'A mere nuisance, I assure you! Tell the Master his prisoner will not escape while Akama and his Deathsworn watch over her.', 14, 0, 100, 0, 0, 0, 19403, 'Akama to Player'), +(21700, 2, 0, 'Forgive my harsh methods, but the Betrayer cannot learn of the truth. My secret must be kept at all costs!', 12, 0, 100, 0, 0, 0, 19405, 'Akama to Player'), +(21700, 3, 0, 'In due time, Maiev. I''ve spent years preparing to make my move - I can''t afford to put my plans in peril by tipping my hand too soon.', 12, 0, 100, 0, 0, 0, 19408, 'Akama to Player'), +(21700, 4, 0, 'The Heart of Fury... I witnessed its power long ago, when Velen wielded it. I feel the same power coursing through it right now!', 12, 0, 100, 0, 0, 0, 19858, 'Akama to Player'), +(21700, 5, 0, 'With this crystal''s powers, my Deathsworn and I... we''d be unstoppable! We could destroy Illidan! We could... replace him as lords of Outland!', 12, 0, 100, 0, 0, 0, 19859, 'Akama to Player'), +(21700, 6, 0, 'But that is not part of the vision I was granted... that is not... how my people will be freed.', 12, 0, 100, 0, 0, 0, 19860, 'Akama to Player'), +(21700, 7, 0, 'Please, $n. You must take the Heart of Fury somewhere safe... you must take it to A''dal!', 12, 0, 100, 0, 0, 0, 19870, 'Akama to Player'), +(21699, 0, 0, 'Release me immediately or face my wrath!', 12, 0, 100, 15, 0, 0, 19395, 'Maiev Shadowsong'), +(21699, 1, 0, 'If we truly desire the same thing, Akama, then release me! If Illidan is to die, it shall be by my hand!', 12, 0, 100, 22, 0, 0, 0, 'Maiev Shadowsong to Player'), +(21699, 2, 0, 'Curse you, Akama! I am not a pawn in your game... my will is my own. When I unleash my wrath upon Illidan it will have nothing to do with your foolish scheme!', 12, 0, 100, 0, 0, 0, 19409, 'Maiev Shadowsong to Player'), +(21768, 0, 0, 'Mortals, here? What is the meaning of this, pathetic Broken!', 14, 0, 100, 0, 0, 0, 19401, 'Vagath to Player'), +(21768, 1, 0, 'You''d do well not to toy with me, Akama. Illidan has given me specific orders to keep a close watch on the Warden. If I find out you''re hiding anything from me, I will crush you with my own hands!', 12, 0, 100, 0, 0, 0, 19404, 'Vagath to Player'); + +UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN(21700,21768,21776,21669); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN(21700,21768,21776,21669) AND `source_type`=0; +DELETE FROM `smart_scripts` WHERE `entryorguid` in(2170000,2170001) AND `source_type`=9; + +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21768, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 53, 0, 21768, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Vagath - On Just Summoned - Start WP'), +(21768, 0, 1, 0, 40, 0, 100, 0, 2, 21768, 0, 0, 54, 15000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Vagath - On Reached WP2 - Pause WP'), +(21768, 0, 2, 3, 40, 0, 100, 0, 4, 21768, 0, 0, 41, 0, 0, 0, 0, 0, 0, 9, 21776, 0, 100, 0, 0, 0, 0, 'Vagath - On Reached WP4 - Despawn Illidari Temptress'), +(21768, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Vagath - On Reached WP4 - Despawn'), +(21776, 0, 0, 0, 1, 0, 100, 0, 0, 0, 1000, 1000, 29, 0, 0, 0, 0, 0, 0, 19, 21768, 0, 0, 0, 0, 0, 0, 'Illidari Temptress - On Just Summoned - Follow Vagath'), +(21669, 0, 0, 0, 1, 0, 100, 0, 0, 300000, 300000, 900000, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Maiev Shadowsong - OOC - Say Line 0'), +(21700, 0, 0, 1, 20, 0, 100, 0, 10628, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Quest 10628 rewarded - Store Targetlist'), +(21700, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 2170000, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Quest 10628 rewarded - Run Script'), +(21700, 0, 2, 3, 20, 0, 100, 0, 10707, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Quest 10707 rewarded - Store Targetlist'), +(21700, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 2170001, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - On Quest 10707 rewarded - Run Script'), +(2170000, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - Script - Set NPC Flags'), +(2170000, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 107, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - Script - Summon Group'), +(2170000, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 21768, 0, 0, 0, 0, 0, 0, 'Akama - Script - Say Line 0 on Vagath'), -- 15:52:01.922 +(2170000, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 2.530727, 'Akama - Script - Set Orientation'), -- 15:52:02.032 +(2170000, 9, 4, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - Say Line 0'), -- 15:52:07.141 +(2170000, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 11, 37448, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - Cast Chain Lightning'), -- 15:52:13.110 +(2170000, 9, 6, 0, 0, 0, 100, 0, 50, 50, 0, 0, 85, 37493, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - InVoker Cast Feign Death'), -- 15:52:13.125 +(2170000, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - Say Line 1'), -- 15:52:13.188 +(2170000, 9, 8, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 21768, 0, 0, 0, 0, 0, 0, 'Akama - Script - Say Line 1 on Vagath'), -- 15:52:21.219 +(2170000, 9, 9, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - Say Line 2'), -- 15:52:38.500 +(2170000, 9, 10, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 11, 37449, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - Cast Resurrect'), -- 15:52:40.813 +(2170000, 9, 11, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 28, 37493, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - Remove Aura Feign Death'), -- 15:52:43.828 +(2170000, 9, 12, 0, 0, 0, 100, 0, 0, 0, 0, 0, 19, 1, 1, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - Set Unit Flags 2 on Player'), -- 15:52:13.125 +(2170000, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 81, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - Script - Set Npc Flags'), +(2170000, 9, 14, 0, 0, 0, 100, 0, 17000, 17000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 21699, 0, 0, 0, 0, 0, 0, 'Akama - Script - Say Line 1 on Maiev Shadowsong '), -- 15:52:53.000 +(2170000, 9, 15, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script - Say Line 3'), -- 15:52:59.016 +(2170000, 9, 16, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 21699, 0, 0, 0, 0, 0, 0, 'Akama - Script - Say Line 2 on Maiev Shadowsong '), -- 15:53:05.063 +(2170001, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - Script 2 - Set NPC Flags'), +(2170001, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script 2 - Set Orientation'), +(2170001, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script 2 - Say Line 4'), -- 15:23:44.859 +(2170001, 9, 3, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script 2 - Say Line 5'), -- 15:23:50.906 +(2170001, 9, 4, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script 2 - Say Line 6'), -- 15:23:59.359 +(2170001, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 81, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Akama - Script 2 - Set NPC Flags'), -- 15:24:05.265 +(2170001, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 7, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 'Akama - Script 2 - Say Line 6'); -- 15:24:05.422 + +DELETE FROM `creature_summon_groups` WHERE `summonerId`=21700; + +INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`) VALUES +(21700, 0, 0, 21768, -3726.069,1040.505, 56.03978, 4.852015, 1, 60000), +(21700, 0, 0, 21776, -3730.32, 1041.369, 56.03996, 4.72222, 1, 60000), +(21700, 0, 0, 21776, -3722.402, 1041.253, 56.0398, 4.72222, 1, 60000); + +DELETE FROM `waypoints` WHERE `entry` =21768; + +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(21768, 1,-3724.426, 1030.954, 55.95728, 'Vagath'), +(21768, 2,-3721.095, 1030.279, 55.95773, 'Vagath'), +(21768, 3,-3725.885, 1035.806, 55.95677, 'Vagath'), +(21768, 4,-3726.25, 1040.238, 55.95593, 'Vagath'); + +DELETE FROM `spell_linked_spell` WHERE `spell_trigger`=37493; +INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES +(37493, 31261, 2, 'Feign Death'); diff --git a/sql/updates/world/2015_03_23_12_world.sql b/sql/updates/world/2015_03_23_12_world.sql new file mode 100644 index 00000000000..2471e9bdcf1 --- /dev/null +++ b/sql/updates/world/2015_03_23_12_world.sql @@ -0,0 +1,20 @@ +-- +UPDATE `smart_scripts` SET `action_param2`=6, `action_param3`=60000 WHERE `entryorguid`=23310 AND `source_type`=0 AND `id`=2 AND `link`=3; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=23310; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 3, 23310, 0, 0, 29, 1, 25003, 200, 0, 1, 0, 0, '', 'Only run SAI if no Emissary of Hate nearby'); + +-- Irespeaker SAI +SET @ENTRY := 24999; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,1500,3000,10000,15000,11,35913,0,0,0,0,0,2,0,0,0,0,0,0,0,"Irespeaker - In Combat - Cast 'Fel Fireball'"), +(@ENTRY,0,1,0,0,0,100,0,13000,16000,20000,35000,11,18267,0,0,0,0,0,2,0,0,0,0,0,0,0,"Irespeaker - In Combat - Cast 'Curse of Weakness'"), +(@ENTRY,0,2,0,6,0,100,0,5000,5000,10000,10000,45,1,1,0,0,0,0,10,79450,23310,0,0,0,0,0,"Irespeaker - On Just Died - Set Data 1 1"), +(@ENTRY,0,3,0,25,0,100,0,0,0,0,0,11,45023,0,0,0,0,0,19,25953,13,0,0,0,0,0,"Irespeaker - On Reset - Cast 'Fel Consumption'"); + +DELETE FROM `smart_scripts` WHERE `entryorguid`=25002 AND `source_type`=0 AND `id`=0 AND `link`=0; +UPDATE `smart_scripts` SET `id`=0 WHERE `entryorguid`=25002 AND `source_type`=0 AND `id`=1 AND `link`=0; +UPDATE `smart_scripts` SET `id`=1 WHERE `entryorguid`=25002 AND `source_type`=0 AND `id`=2 AND `link`=0; +UPDATE `smart_scripts` SET `id`=2 WHERE `entryorguid`=25002 AND `source_type`=0 AND `id`=3 AND `link`=0; diff --git a/sql/updates/world/2015_03_23_13_world.sql b/sql/updates/world/2015_03_23_13_world.sql new file mode 100644 index 00000000000..7e42213583f --- /dev/null +++ b/sql/updates/world/2015_03_23_13_world.sql @@ -0,0 +1,93 @@ +-- Add conditions to prevent Anti-Air Rocket friendly fire +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=62363; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,62363,0,1,31,0,3,33236,0,0,0,'','Anti-Air Rocket can hit Steelforged Defender'), +(13,2,62363,0,1,31,0,3,33236,0,0,0,'','Anti-Air Rocket can hit Steelforged Defender'), +(13,1,62363,0,2,31,0,3,34234,0,0,0,'','Anti-Air Rocket can hit Runeforged Sentry'), +(13,2,62363,0,2,31,0,3,34234,0,0,0,'','Anti-Air Rocket can hit Runeforged Sentry'), +(13,1,62363,0,3,31,0,3,33237,0,0,0,'','Anti-Air Rocket can hit Ulduar Colossus'), +(13,2,62363,0,3,31,0,3,33237,0,0,0,'','Anti-Air Rocket can hit Ulduar Colossus'), +(13,1,62363,0,4,31,0,3,34164,0,0,0,'','Anti-Air Rocket can hit Mechagnome Battletank'), +(13,2,62363,0,4,31,0,3,34164,0,0,0,'','Anti-Air Rocket can hit Mechagnome Battletank'), +(13,1,62363,0,5,31,0,3,33264,0,0,0,'','Anti-Air Rocket can hit Ironwork Canon'), +(13,2,62363,0,5,31,0,3,33264,0,0,0,'','Anti-Air Rocket can hit Ironwork Canon'), +(13,1,62363,0,6,31,0,3,33214,0,0,0,'','Anti-Air Rocket can hit Mechanolift 304-A'), +(13,2,62363,0,6,31,0,3,33214,0,0,0,'','Anti-Air Rocket can hit Mechanolift 304-A'), +(13,1,62363,0,7,31,0,3,33113,0,0,0,'','Anti-Air Rocket can hit Flame Leviathan'), +(13,2,62363,0,7,31,0,3,33113,0,0,0,'','Anti-Air Rocket can hit Flame Leviathan'), +(13,1,62363,0,8,31,0,3,34161,0,0,0,'','Anti-Air Rocket can hit Mechanostriker 54-A'), +(13,2,62363,0,8,31,0,3,34161,0,0,0,'','Anti-Air Rocket can hit Mechanostriker 54-A'), +(13,1,62363,0,9,31,0,3,34275,0,0,0,'','Anti-Air Rocket can hit Ward of Life'), +(13,2,62363,0,9,31,0,3,34275,0,0,0,'','Anti-Air Rocket can hit Ward of Life'), +(13,1,62363,0,10,31,0,3,33387,0,0,0,'','Anti-Air Rocket can hit Writhing Lasher'), +(13,2,62363,0,10,31,0,3,33387,0,0,0,'','Anti-Air Rocket can hit Writhing Lasher'); +-- Add conditions to prevent Hurl Boulder friendly fire // Flames are supposed to do Friendly Damage, since they break Ice in HM +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=62307; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,62307,0,1,31,0,3,33236,0,0,0,'','Hurl Boulder can hit Steelforged Defender'), +(13,1,62307,0,2,31,0,3,34234,0,0,0,'','Hurl Boulder can hit Runeforged Sentry'), +(13,1,62307,0,3,31,0,3,33237,0,0,0,'','Hurl Boulder can hit Ulduar Colossus'), +(13,1,62307,0,4,31,0,3,34164,0,0,0,'','Hurl Boulder can hit Mechagnome Battletank'), +(13,1,62307,0,5,31,0,3,33264,0,0,0,'','Hurl Boulder can hit Ironwork Canon'), +(13,1,62307,0,6,31,0,3,33214,0,0,0,'','Hurl Boulder can hit Mechanolift 304-A'), +(13,1,62307,0,7,31,0,3,33113,0,0,0,'','Hurl Boulder can hit Flame Leviathan'), +(13,1,62307,0,8,31,0,3,33090,0,0,0,'','Hurl Boulder can hit Pool of Tar'), +(13,1,62307,0,9,31,0,3,34161,0,0,0,'','Hurl Boulder can hit Mechanostriker 54-A'), +(13,1,62307,0,10,31,0,3,34275,0,0,0,'','Hurl Boulder can hit Ward of Life'), +(13,1,62307,0,11,31,0,3,33387,0,0,0,'','Hurl Boulder can hit Writhing Lasher'); +-- Add conditions to prevent Mortar friendly fire // Flames are supposed to do Friendly Damage, since they break Ice in HM +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=62635; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,62635,0,1,31,0,3,33236,0,0,0,'','Mortar can hit Steelforged Defender'), +(13,1,62635,0,2,31,0,3,34234,0,0,0,'','Mortar can hit Runeforged Sentry'), +(13,1,62635,0,3,31,0,3,33237,0,0,0,'','Mortar can hit Ulduar Colossus'), +(13,1,62635,0,4,31,0,3,34164,0,0,0,'','Mortar can hit Mechagnome Battletank'), +(13,1,62635,0,5,31,0,3,33264,0,0,0,'','Mortar can hit Ironwork Canon'), +(13,1,62635,0,6,31,0,3,33214,0,0,0,'','Mortar can hit Mechanolift 304-A'), +(13,1,62635,0,7,31,0,3,33113,0,0,0,'','Mortar can hit Flame Leviathan'), +(13,1,62635,0,8,31,0,3,33090,0,0,0,'','Mortar can hit Pool of Tar'), +(13,1,62635,0,9,31,0,3,34161,0,0,0,'','Mortar can hit Mechanostriker 54-A'), +(13,1,62635,0,10,31,0,3,34275,0,0,0,'','Mortar can hit Ward of Life'), +(13,1,62635,0,11,31,0,3,33387,0,0,0,'','Mortar can hit Writhing Lasher'); +-- Add conditions to prevent Fire Cannon friendly fire // Flames are supposed to do Friendly Damage, since they break Ice in HM +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=62357; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,62357,0,1,31,0,3,33236,0,0,0,'','Fire Cannon can hit Steelforged Defender'), +(13,1,62357,0,2,31,0,3,34234,0,0,0,'','Fire Cannon can hit Runeforged Sentry'), +(13,1,62357,0,3,31,0,3,33237,0,0,0,'','Fire Cannon can hit Ulduar Colossus'), +(13,1,62357,0,4,31,0,3,34164,0,0,0,'','Fire Cannon can hit Mechagnome Battletank'), +(13,1,62357,0,5,31,0,3,33264,0,0,0,'','Fire Cannon can hit Ironwork Canon'), +(13,1,62357,0,6,31,0,3,33214,0,0,0,'','Fire Cannon can hit Mechanolift 304-A'), +(13,1,62357,0,7,31,0,3,33113,0,0,0,'','Fire Cannon can hit Flame Leviathan'), +(13,1,62357,0,8,31,0,3,33090,0,0,0,'','Fire Cannon can hit Pool of Tar'), +(13,1,62357,0,9,31,0,3,34161,0,0,0,'','Fire Cannon can hit Mechanostriker 54-A'), +(13,1,62357,0,10,31,0,3,34275,0,0,0,'','Fire Cannon can hit Ward of Life'), +(13,1,62357,0,11,31,0,3,33387,0,0,0,'','Fire Cannon can hit Writhing Lasher'); +-- Add conditions to prevent Burning Tar friendly fire // Flames are supposed to do Friendly Damage, since they break Ice in HM +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=62290; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,62290,0,1,31,0,3,33236,0,0,0,'','Burning Tar can hit Steelforged Defender'), +(13,1,62290,0,2,31,0,3,34234,0,0,0,'','Burning Tar can hit Runeforged Sentry'), +(13,1,62290,0,3,31,0,3,33237,0,0,0,'','Burning Tar can hit Ulduar Colossus'), +(13,1,62290,0,4,31,0,3,34164,0,0,0,'','Burning Tar can hit Mechagnome Battletank'), +(13,1,62290,0,5,31,0,3,33264,0,0,0,'','Burning Tar can hit Ironwork Canon'), +(13,1,62290,0,6,31,0,3,33214,0,0,0,'','Burning Tar can hit Mechanolift 304-A'), +(13,1,62290,0,7,31,0,3,33113,0,0,0,'','Burning Tar can hit Flame Leviathan'), +(13,1,62290,0,8,31,0,3,33090,0,0,0,'','Burning Tar can hit Pool of Tar'), +(13,1,62290,0,9,31,0,3,34161,0,0,0,'','Burning Tar can hit Mechanostriker 54-A'), +(13,1,62290,0,10,31,0,3,34275,0,0,0,'','Burning Tar can hit Ward of Life'), +(13,1,62290,0,11,31,0,3,33387,0,0,0,'','Burning Tar can hit Writhing Lasher'); +-- Add conditions to prevent Blue Pyrite friendly fire +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=62489; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(13,1,62489,0,1,31,0,3,33236,0,0,0,'','Blue Pyrite can hit Steelforged Defender'), +(13,1,62489,0,2,31,0,3,34234,0,0,0,'','Blue Pyrite can hit Runeforged Sentry'), +(13,1,62489,0,3,31,0,3,33237,0,0,0,'','Blue Pyrite can hit Ulduar Colossus'), +(13,1,62489,0,4,31,0,3,34164,0,0,0,'','Blue Pyrite can hit Mechagnome Battletank'), +(13,1,62489,0,5,31,0,3,33264,0,0,0,'','Blue Pyrite can hit Ironwork Canon'), +(13,1,62489,0,6,31,0,3,33214,0,0,0,'','Blue Pyrite can hit Mechanolift 304-A'), +(13,1,62489,0,7,31,0,3,33113,0,0,0,'','Blue Pyrite can hit Flame Leviathan'), +(13,1,62489,0,8,31,0,3,33090,0,0,0,'','Blue Pyrite can hit Pool of Tar'), +(13,1,62489,0,9,31,0,3,34161,0,0,0,'','Blue Pyrite can hit Mechanostriker 54-A'), +(13,1,62489,0,10,31,0,3,34275,0,0,0,'','Blue Pyrite can hit Ward of Life'), +(13,1,62489,0,11,31,0,3,33387,0,0,0,'','Blue Pyrite can hit Writhing Lasher'); diff --git a/sql/updates/world/2015_03_24_00_world.sql b/sql/updates/world/2015_03_24_00_world.sql new file mode 100644 index 00000000000..dd01b24d3da --- /dev/null +++ b/sql/updates/world/2015_03_24_00_world.sql @@ -0,0 +1,34 @@ +-- Blood Theory +-- Rejuvenated Thunder Lizard SAI +SET @ENTRY := 35412; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,0,0,100,0,2000,3500,12000,14000,11,15611,0,0,0,0,0,2,0,0,0,0,0,0,0,"Rejuvenated Thunder Lizard - In Combat - Cast 'Lizard Bolt'"), +(@ENTRY,0,1,0,0,0,100,0,6000,8000,24000,27000,11,77601,0,0,0,0,0,1,0,0,0,0,0,0,0,"Rejuvenated Thunder Lizard - In Combat - Cast 'Lightning Nova'"), +(@ENTRY,0,2,0,6,0,100,0,0,0,0,0,11,68292,2,0,0,0,0,1,0,0,0,0,0,0,0,"Rejuvenated Thunder Lizard - On Just Died - Cast 'Summon Blood-filled Leech'"); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=35412; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 3, 35412, 0, 0, 1, 1, 68290, 0, 0, 0, 0, 0, '', 'SAI triggers only if Creature has Aura "Leech Infestation"'); + +-- Blood-filled Leech SAI +SET @ENTRY := 36059; +UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY; +DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(@ENTRY,0,0,0,54,0,100,0,0,0,0,0,89,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Blood-filled Leech - On Just Summoned - Start Random Movement"), +(@ENTRY,0,1,0,8,0,100,0,68293,0,0,0,41,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Blood-filled Leech - On Spellhit 'Bloody Leech Cover' - Despawn Instant"); +UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry`=36059; + +DELETE FROM `npc_spellclick_spells` WHERE `npc_entry`=36059; +INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(36059, 68291, 3, 0), +(36059, 68293, 1, 0); + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup`=36059 AND `SourceEntry` IN (68291, 68293); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(18, 36059, 68291, 0, 0, 8, 0, 14304, 0, 0, 1, 0, 0, '', 'Forbidden rewarded quest for spellclick'), +(18, 36059, 68291, 0, 0, 9, 0, 14304, 0, 0, 0, 0, 0, '', 'Required quest active for spellclick'), +(18, 36059, 68293, 0, 0, 8, 0, 14304, 0, 0, 1, 0, 0, '', 'Forbidden rewarded quest for spellclick'), +(18, 36059, 68293, 0, 0, 9, 0, 14304, 0, 0, 0, 0, 0, '', 'Required quest active for spellclick'); diff --git a/src/server/bnetserver/CMakeLists.txt b/src/server/bnetserver/CMakeLists.txt index 53d25846cc5..4ea4f697cf7 100644 --- a/src/server/bnetserver/CMakeLists.txt +++ b/src/server/bnetserver/CMakeLists.txt @@ -45,7 +45,9 @@ endif() include_directories( ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/dep/cppformat ${CMAKE_SOURCE_DIR}/dep/zmqpp + ${CMAKE_SOURCE_DIR}/dep/process ${CMAKE_SOURCE_DIR}/src/server/shared ${CMAKE_SOURCE_DIR}/src/server/shared/Configuration ${CMAKE_SOURCE_DIR}/src/server/shared/Database @@ -57,6 +59,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/src/server/shared/Networking ${CMAKE_SOURCE_DIR}/src/server/shared/Realm ${CMAKE_SOURCE_DIR}/src/server/shared/Threading + ${CMAKE_SOURCE_DIR}/src/server/shared/Updater ${CMAKE_SOURCE_DIR}/src/server/shared/Utilities ${CMAKE_SOURCE_DIR}/src/server/ipc ${CMAKE_CURRENT_SOURCE_DIR} @@ -87,6 +90,7 @@ target_link_libraries(bnetserver ipc shared zmqpp + format ${MYSQL_LIBRARY} ${OPENSSL_LIBRARIES} ${ZMQ_LIBRARY} diff --git a/src/server/bnetserver/Main.cpp b/src/server/bnetserver/Main.cpp index 5f4f63287e5..678e24c4682 100644 --- a/src/server/bnetserver/Main.cpp +++ b/src/server/bnetserver/Main.cpp @@ -36,6 +36,7 @@ #include "SystemConfig.h" #include "Util.h" #include "ZmqContext.h" +#include "DatabaseLoader.h" #include <cstdlib> #include <iostream> #include <boost/date_time/posix_time/posix_time.hpp> @@ -162,32 +163,13 @@ bool StartDB() { MySQL::Library_Init(); - std::string dbstring = sConfigMgr->GetStringDefault("LoginDatabaseInfo", ""); - if (dbstring.empty()) - { - TC_LOG_ERROR("server.bnetserver", "Database not specified"); - return false; - } - - int32 worker_threads = sConfigMgr->GetIntDefault("LoginDatabase.WorkerThreads", 1); - if (worker_threads < 1 || worker_threads > 32) - { - TC_LOG_ERROR("server.bnetserver", "Improper value specified for LoginDatabase.WorkerThreads, defaulting to 1."); - worker_threads = 1; - } + // Load databases + DatabaseLoader loader("server.bnetserver", DatabaseLoader::DATABASE_NONE); + loader + .AddDatabase(LoginDatabase, "Login"); - int32 synch_threads = sConfigMgr->GetIntDefault("LoginDatabase.SynchThreads", 1); - if (synch_threads < 1 || synch_threads > 32) - { - TC_LOG_ERROR("server.bnetserver", "Improper value specified for LoginDatabase.SynchThreads, defaulting to 1."); - synch_threads = 1; - } - - if (!LoginDatabase.Open(dbstring, uint8(worker_threads), uint8(synch_threads))) - { - TC_LOG_ERROR("server.bnetserver", "Cannot connect to database"); + if (!loader.Load()) return false; - } TC_LOG_INFO("server.bnetserver", "Started auth database connection pool."); sLog->SetRealmId(0); // Enables DB appenders when realm is set. diff --git a/src/server/bnetserver/Server/ModuleManager.h b/src/server/bnetserver/Server/ModuleManager.h index 05a7298e27c..68d5b2a1e78 100644 --- a/src/server/bnetserver/Server/ModuleManager.h +++ b/src/server/bnetserver/Server/ModuleManager.h @@ -54,9 +54,10 @@ namespace Battlenet memcpy(Data, right.Data, DataSize); } } + ~ModuleInfo() { - delete Data; + delete[] Data; } std::string Type; diff --git a/src/server/bnetserver/bnetserver.conf.dist b/src/server/bnetserver/bnetserver.conf.dist index 462bb0cd075..9b133d36e4f 100644 --- a/src/server/bnetserver/bnetserver.conf.dist +++ b/src/server/bnetserver/bnetserver.conf.dist @@ -9,6 +9,7 @@ # EXAMPLE CONFIG # AUTH SERVER SETTINGS # MYSQL SETTINGS +# UPDATE SETTINGS # LOGGING SYSTEM SETTINGS # ################################################################################################### @@ -165,6 +166,89 @@ Wrong.Password.Login.Logging = 0 ################################################################################################### ################################################################################################### +# UPDATE SETTINGS +# +# Updates.EnableDatabases +# Description: A mask that describes which databases shall be updated. +# +# Following flags are available +# DATABASE_LOGIN = 1, // Auth database +# +# Default: 0 - (All Disabled) +# 1 - (All Enabled) + +Updates.EnableDatabases = 0 + +# +# Updates.SourcePath +# Description: The path to your TrinityCore source directory. +# If the path is left empty, built-in CMAKE_SOURCE_DIR is used. +# Example: "../TrinityCore" +# Default: "" + +Updates.SourcePath = "" + +# +# Updates.SourcePath +# Description: The path to your mysql cli binary. +# If the path is left empty, built-in path from cmake is used. +# Example: "C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe" +# "mysql.exe" +# "/usr/bin/mysql" +# Default: "" + +Updates.MySqlCLIPath = "" + +# +# Updates.AutoSetup +# Description: Auto populate empty databases. +# Default: 1 - (Enabled) +# 0 - (Disabled) + +Updates.AutoSetup = 1 + +# +# Updates.Redundancy +# Description: Perform data redundancy checks through hashing +# to detect changes on sql updates and reapply it. +# Default: 1 - (Enabled) +# 0 - (Disabled) + +Updates.Redundancy = 1 + +# +# Updates.ArchivedRedundancy +# Description: Check hashes of archived updates (slows down startup). +# Default: 0 - (Disabled) +# 1 - (Enabled) + +Updates.ArchivedRedundancy = 0 + +# +# Updates.AllowRehash +# Description: Inserts the current file hash in the database if it is left empty. +# Useful if you want to mark a file as applied but you don't know its hash. +# Default: 1 - (Enabled) +# 0 - (Disabled) + +Updates.AllowRehash = 1 + +# +# Updates.CleanDeadRefMaxCount +# Description: Cleans dead/ orphaned references that occur if an update was removed or renamed and edited in one step. +# It only starts the clean up if the count of the missing updates is below or equal the Updates.CleanDeadRefMaxCount value. +# This way prevents erasing of the update history due to wrong source directory state (maybe wrong branch or bad revision). +# Disable this if you want to know if the database is in a possible "dirty state". +# Default: 3 - (Enabled) +# 0 - (Disabled) +# -1 - (Enabled - unlimited) + +Updates.CleanDeadRefMaxCount = 3 + +# +################################################################################################### + +################################################################################################### # # LOGGING SYSTEM SETTINGS # @@ -255,6 +339,7 @@ Logger.root=3,Console Bnet Logger.realmlist=3,Console Bnet Logger.session=3,Console Bnet Logger.session.packets=3,Console Bnet +Logger.sql.updates=3,Console Bnet # ################################################################################################### diff --git a/src/server/collision/CMakeLists.txt b/src/server/collision/CMakeLists.txt index 293f05d1988..84f7de76543 100644 --- a/src/server/collision/CMakeLists.txt +++ b/src/server/collision/CMakeLists.txt @@ -35,6 +35,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/dep/g3dlite/include ${CMAKE_SOURCE_DIR}/dep/recastnavigation/Detour ${CMAKE_SOURCE_DIR}/dep/recastnavigation/Detour/Include + ${CMAKE_SOURCE_DIR}/dep/cppformat ${CMAKE_SOURCE_DIR}/src/server/shared ${CMAKE_SOURCE_DIR}/src/server/shared/Configuration ${CMAKE_SOURCE_DIR}/src/server/shared/Debugging diff --git a/src/server/collision/Management/MMapManager.cpp b/src/server/collision/Management/MMapManager.cpp index 77fa36a3c45..914f919bf73 100644 --- a/src/server/collision/Management/MMapManager.cpp +++ b/src/server/collision/Management/MMapManager.cpp @@ -75,7 +75,7 @@ namespace MMAP delete [] fileName; - TC_LOG_INFO("maps", "MMAP:loadMapData: Loaded %03i.mmap", mapId); + TC_LOG_DEBUG("maps", "MMAP:loadMapData: Loaded %03i.mmap", mapId); // store inside our map list MMapData* mmap_data = new MMapData(mesh, mapId); @@ -157,7 +157,7 @@ namespace MMAP { mmap->loadedTileRefs.insert(std::pair<uint32, dtTileRef>(packedGridPos, tileRef)); ++loadedTiles; - TC_LOG_INFO("maps", "MMAP:loadMap: Loaded mmtile %03i[%02i, %02i] into %03i[%02i, %02i]", mapId, x, y, mapId, header->x, header->y); + TC_LOG_DEBUG("maps", "MMAP:loadMap: Loaded mmtile %03i[%02i, %02i] into %03i[%02i, %02i]", mapId, x, y, mapId, header->x, header->y); LoadPhaseTiles(mapId, x, y); @@ -303,7 +303,7 @@ namespace MMAP { mmap->loadedTileRefs.erase(packedGridPos); --loadedTiles; - TC_LOG_INFO("maps", "MMAP:unloadMap: Unloaded mmtile %03i[%02i, %02i] from %03i", mapId, x, y, mapId); + TC_LOG_DEBUG("maps", "MMAP:unloadMap: Unloaded mmtile %03i[%02i, %02i] from %03i", mapId, x, y, mapId); UnloadPhaseTile(mapId, x, y); return true; @@ -333,13 +333,13 @@ namespace MMAP { UnloadPhaseTile(mapId, x, y); --loadedTiles; - TC_LOG_INFO("maps", "MMAP:unloadMap: Unloaded mmtile %03i[%02i, %02i] from %03i", mapId, x, y, mapId); + TC_LOG_DEBUG("maps", "MMAP:unloadMap: Unloaded mmtile %03i[%02i, %02i] from %03i", mapId, x, y, mapId); } } delete mmap; loadedMMaps.erase(mapId); - TC_LOG_INFO("maps", "MMAP:unloadMap: Unloaded %03i.mmap", mapId); + TC_LOG_DEBUG("maps", "MMAP:unloadMap: Unloaded %03i.mmap", mapId); return true; } @@ -365,7 +365,7 @@ namespace MMAP dtFreeNavMeshQuery(query); mmap->navMeshQueries.erase(instanceId); - TC_LOG_INFO("maps", "MMAP:unloadMapInstance: Unloaded mapId %03u instanceId %u", mapId, instanceId); + TC_LOG_DEBUG("maps", "MMAP:unloadMapInstance: Unloaded mapId %03u instanceId %u", mapId, instanceId); return true; } @@ -396,7 +396,7 @@ namespace MMAP return NULL; } - TC_LOG_INFO("maps", "MMAP:GetNavMeshQuery: created dtNavMeshQuery for mapId %03u instanceId %u", mapId, instanceId); + TC_LOG_DEBUG("maps", "MMAP:GetNavMeshQuery: created dtNavMeshQuery for mapId %03u instanceId %u", mapId, instanceId); mmap->navMeshQueries.insert(std::pair<uint32, dtNavMeshQuery*>(instanceId, query)); } diff --git a/src/server/collision/Maps/MapTree.cpp b/src/server/collision/Maps/MapTree.cpp index 72435594ad0..b493ec18f5f 100644 --- a/src/server/collision/Maps/MapTree.cpp +++ b/src/server/collision/Maps/MapTree.cpp @@ -386,13 +386,12 @@ namespace VMAP { if (!iLoadedSpawns.count(referencedVal)) { -#ifdef VMAP_DEBUG if (referencedVal > iNTreeValues) { - TC_LOG_DEBUG("maps", "StaticMapTree::LoadMapTile() : invalid tree element (%u/%u)", referencedVal, iNTreeValues); + VMAP_ERROR_LOG("maps", "StaticMapTree::LoadMapTile() : invalid tree element (%u/%u) referenced in tile %s", referencedVal, iNTreeValues, tilefile.c_str()); continue; } -#endif + iTreeValues[referencedVal] = ModelInstance(spawn, model); iLoadedSpawns[referencedVal] = 1; } diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index b80e861c4df..08025fd1de1 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -497,7 +497,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u { if (cost.Power == POWER_HEALTH) { - if (me->GetHealth() <= cost.Amount) + if (me->GetHealth() <= uint32(cost.Amount)) { hasPower = false; break; diff --git a/src/server/game/Achievements/AchievementMgr.cpp b/src/server/game/Achievements/AchievementMgr.cpp index 4932a83d665..40401b2ba31 100644 --- a/src/server/game/Achievements/AchievementMgr.cpp +++ b/src/server/game/Achievements/AchievementMgr.cpp @@ -1738,7 +1738,7 @@ void AchievementMgr<Player>::CompletedAchievement(AchievementEntry const* achiev if (!GetOwner()->GetSession()->PlayerLoading()) SendAchievementEarned(achievement); - TC_LOG_INFO("achievement", "AchievementMgr::CompletedAchievement(%u). %s %s", + TC_LOG_DEBUG("achievement", "AchievementMgr::CompletedAchievement(%u). %s %s", achievement->ID, GetOwner()->GetGUID().ToString().c_str(), GetOwner()->GetName().c_str()); CompletedAchievementData& ca = m_completedAchievements[achievement->ID]; diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp index b587e82013f..6ea09711667 100644 --- a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp +++ b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp @@ -440,8 +440,6 @@ bool AuctionHouseObject::RemoveAuction(AuctionEntry* auction) // we need to delete the entry, it is not referenced any more delete auction; - auction = NULL; - return wasInMap; } @@ -552,7 +550,7 @@ void AuctionHouseObject::BuildListAuctionItems(WorldPacket& data, Player* player if (itemSubClass != 0xffffffff && proto->GetSubClass() != itemSubClass) continue; - if (inventoryType != 0xffffffff && proto->GetInventoryType() != inventoryType) + if (inventoryType != 0xffffffff && proto->GetInventoryType() != InventoryType(inventoryType)) continue; if (quality != 0xffffffff && proto->GetQuality() != quality) diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp index c1f195d0b94..993494c8b80 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp @@ -64,7 +64,7 @@ void AuctionBotBuyer::LoadConfig() } } -void AuctionBotBuyer::LoadBuyerValues(BuyerConfiguration& config) +void AuctionBotBuyer::LoadBuyerValues(BuyerConfiguration& /* config */) { } diff --git a/src/server/game/Battlegrounds/ArenaTeam.cpp b/src/server/game/Battlegrounds/ArenaTeam.cpp index 77aa29536e4..e2a572b6dc7 100644 --- a/src/server/game/Battlegrounds/ArenaTeam.cpp +++ b/src/server/game/Battlegrounds/ArenaTeam.cpp @@ -172,7 +172,7 @@ bool ArenaTeam::AddMember(ObjectGuid playerGuid) player->SetArenaTeamInfoField(GetSlot(), ARENA_TEAM_MEMBER, 1); } - TC_LOG_INFO("bg.arena", "Player: %s [%s] joined arena team type: %u [Id: %u, Name: %s].", playerName.c_str(), playerGuid.ToString().c_str(), GetType(), GetId(), GetName().c_str()); + TC_LOG_DEBUG("bg.arena", "Player: %s [%s] joined arena team type: %u [Id: %u, Name: %s].", playerName.c_str(), playerGuid.ToString().c_str(), GetType(), GetId(), GetName().c_str()); return true; } diff --git a/src/server/game/CMakeLists.txt b/src/server/game/CMakeLists.txt index 18c710c2a20..55792856eb4 100644 --- a/src/server/game/CMakeLists.txt +++ b/src/server/game/CMakeLists.txt @@ -110,6 +110,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/dep/recastnavigation/Recast/Include ${CMAKE_SOURCE_DIR}/dep/g3dlite/include ${CMAKE_SOURCE_DIR}/dep/SFMT + ${CMAKE_SOURCE_DIR}/dep/cppformat ${CMAKE_SOURCE_DIR}/dep/zlib ${CMAKE_SOURCE_DIR}/dep/zmqpp ${CMAKE_SOURCE_DIR}/src/server/collision @@ -130,6 +131,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/src/server/shared/Packets ${CMAKE_SOURCE_DIR}/src/server/shared/Realm ${CMAKE_SOURCE_DIR}/src/server/shared/Threading + ${CMAKE_SOURCE_DIR}/src/server/shared/Updater ${CMAKE_SOURCE_DIR}/src/server/shared/Utilities ${CMAKE_SOURCE_DIR}/src/server/ipc ${CMAKE_CURRENT_SOURCE_DIR} diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index d4559b0acef..837ff0be60f 100644 --- a/src/server/game/Chat/Chat.cpp +++ b/src/server/game/Chat/Chat.cpp @@ -106,17 +106,6 @@ ChatCommand* ChatHandler::getCommandTable() return commandTableCache; } -std::string ChatHandler::PGetParseString(uint32 entry, ...) const -{ - const char *format = GetTrinityString(entry); - char str[1024]; - va_list ap; - va_start(ap, entry); - vsnprintf(str, 1024, format, ap); - va_end(ap); - return std::string(str); -} - char const* ChatHandler::GetTrinityString(uint32 entry) const { return m_session->GetTrinityString(entry); @@ -260,27 +249,6 @@ void ChatHandler::SendSysMessage(uint32 entry) SendSysMessage(GetTrinityString(entry)); } -void ChatHandler::PSendSysMessage(uint32 entry, ...) -{ - const char *format = GetTrinityString(entry); - va_list ap; - char str [2048]; - va_start(ap, entry); - vsnprintf(str, 2048, format, ap); - va_end(ap); - SendSysMessage(str); -} - -void ChatHandler::PSendSysMessage(const char *format, ...) -{ - va_list ap; - char str [2048]; - va_start(ap, format); - vsnprintf(str, 2048, format, ap); - va_end(ap); - SendSysMessage(str); -} - bool ChatHandler::ExecuteCommandInTable(ChatCommand* table, const char* text, std::string const& fullcmd) { char const* oldtext = text; diff --git a/src/server/game/Chat/Chat.h b/src/server/game/Chat/Chat.h index 93b22739ccb..000d93683c5 100644 --- a/src/server/game/Chat/Chat.h +++ b/src/server/game/Chat/Chat.h @@ -20,6 +20,7 @@ #define TRINITYCORE_CHAT_H #include "SharedDefines.h" +#include "StringFormat.h" #include "WorldSession.h" #include "RBAC.h" #include "Packets/ChatPackets.h" @@ -61,9 +62,24 @@ class ChatHandler virtual void SendSysMessage(char const* str); void SendSysMessage(uint32 entry); - void PSendSysMessage(char const* format, ...) ATTR_PRINTF(2, 3); - void PSendSysMessage(uint32 entry, ...); - std::string PGetParseString(uint32 entry, ...) const; + + template<typename... Args> + void PSendSysMessage(const char* fmt, Args const&... args) + { + SendSysMessage(Trinity::StringFormat(fmt, args...).c_str()); + } + + template<typename... Args> + void PSendSysMessage(uint32 entry, Args const&... args) + { + SendSysMessage(PGetParseString(entry, args...).c_str()); + } + + template<typename... Args> + std::string PGetParseString(uint32 entry, Args const&... args) const + { + return Trinity::StringFormat(GetTrinityString(entry), args...); + } bool ParseCommands(const char* text); diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp index e34b7df0c54..c5e3d26b00a 100644 --- a/src/server/game/Conditions/ConditionMgr.cpp +++ b/src/server/game/Conditions/ConditionMgr.cpp @@ -99,7 +99,8 @@ ConditionMgr::ConditionTypeInfo const ConditionMgr::StaticConditionTypeData[COND { "Distance", true, true, true }, { "Alive", false, false, false }, { "Health Value", true, true, false }, - { "Health Pct", true, true, false } + { "Health Pct", true, true, false }, + { "Realm Achievement", true, false, false } }; // Checks if object meets the condition @@ -416,6 +417,13 @@ bool Condition::Meets(ConditionSourceInfo& sourceInfo) condMeets = creature->GetCreatureTemplate()->type == ConditionValue1; break; } + case CONDITION_REALM_ACHIEVEMENT: + { + AchievementEntry const* achievement = sAchievementMgr->GetAchievement(ConditionValue1); + if (achievement && sAchievementMgr->IsRealmCompleted(achievement, std::numeric_limits<uint32>::max())) + condMeets = true; + break; + } case CONDITION_TERRAIN_SWAP: { condMeets = object->IsInTerrainSwap(ConditionValue1); @@ -590,6 +598,9 @@ uint32 Condition::GetSearcherTypeMaskForCondition() case CONDITION_CREATURE_TYPE: mask |= GRID_MAP_TYPE_MASK_CREATURE; break; + case CONDITION_REALM_ACHIEVEMENT: + mask |= GRID_MAP_TYPE_MASK_ALL; + break; case CONDITION_TERRAIN_SWAP: mask |= GRID_MAP_TYPE_MASK_ALL; break; @@ -2103,6 +2114,16 @@ bool ConditionMgr::isConditionTypeValid(Condition* cond) case CONDITION_AREAID: case CONDITION_ALIVE: break; + case CONDITION_REALM_ACHIEVEMENT: + { + AchievementEntry const* achievement = sAchievementMgr->GetAchievement(cond->ConditionValue1); + if (!achievement) + { + TC_LOG_ERROR("sql.sql", "%s has non existing realm first achivement id (%u), skipped.", cond->ToString(true).c_str(), cond->ConditionValue1); + return false; + } + break; + } default: break; } diff --git a/src/server/game/Conditions/ConditionMgr.h b/src/server/game/Conditions/ConditionMgr.h index 71da857fd29..26c958cd92e 100644 --- a/src/server/game/Conditions/ConditionMgr.h +++ b/src/server/game/Conditions/ConditionMgr.h @@ -72,8 +72,9 @@ enum ConditionTypes CONDITION_ALIVE = 36, // 0 0 0 true if unit is alive CONDITION_HP_VAL = 37, // hpVal ComparisonType 0 true if unit's hp matches given value CONDITION_HP_PCT = 38, // hpPct ComparisonType 0 true if unit's hp matches given pct - CONDITION_TERRAIN_SWAP = 39, // terrainSwap 0 0 true if object is in terrainswap - CONDITION_MAX = 40 // MAX + CONDITION_REALM_ACHIEVEMENT = 39, // achievement_id 0 0 true if realm achievement is complete + CONDITION_TERRAIN_SWAP = 40, // terrainSwap 0 0 true if object is in terrainswap + CONDITION_MAX = 41 // MAX }; /*! Documentation on implementing a new ConditionSourceType: diff --git a/src/server/game/DataStores/DB2Structure.h b/src/server/game/DataStores/DB2Structure.h index e52acc0e2c3..9aab120cc63 100644 --- a/src/server/game/DataStores/DB2Structure.h +++ b/src/server/game/DataStores/DB2Structure.h @@ -135,7 +135,7 @@ struct ItemEffectEntry uint32 OrderIndex; // 2 uint32 SpellID; // 3 uint32 Trigger; // 4 - uint32 Charges; // 5 + int32 Charges; // 5 int32 Cooldown; // 6 uint32 Category; // 7 int32 CategoryCooldown; // 8 diff --git a/src/server/game/DataStores/DBCStructure.h b/src/server/game/DataStores/DBCStructure.h index c26898abf21..f997aaf776f 100644 --- a/src/server/game/DataStores/DBCStructure.h +++ b/src/server/game/DataStores/DBCStructure.h @@ -1564,8 +1564,8 @@ struct SpellRadiusEntry { uint32 ID; // 0 //float Radius; // 1 - float RadiusMin; // 2 - float RadiusPerLevel; // 3 + float RadiusPerLevel; // 2 + float RadiusMin; // 3 float RadiusMax; // 4 }; diff --git a/src/server/game/DungeonFinding/LFG.cpp b/src/server/game/DungeonFinding/LFG.cpp index ab06eff7148..8ec638128d8 100644 --- a/src/server/game/DungeonFinding/LFG.cpp +++ b/src/server/game/DungeonFinding/LFG.cpp @@ -91,9 +91,6 @@ std::string GetStateString(LfgState state) case LFG_STATE_DUNGEON: entry = LANG_LFG_STATE_DUNGEON; break; - case LFG_STATE_BOOT: - entry = LANG_LFG_STATE_BOOT; - break; case LFG_STATE_FINISHED_DUNGEON: entry = LANG_LFG_STATE_FINISHED_DUNGEON; break; diff --git a/src/server/game/DungeonFinding/LFG.h b/src/server/game/DungeonFinding/LFG.h index 0ee9e7886d5..680781cc9d1 100644 --- a/src/server/game/DungeonFinding/LFG.h +++ b/src/server/game/DungeonFinding/LFG.h @@ -68,8 +68,8 @@ enum LfgState LFG_STATE_ROLECHECK, // Rolecheck active LFG_STATE_QUEUED, // Queued LFG_STATE_PROPOSAL, // Proposal active - LFG_STATE_BOOT, // Vote kick active - LFG_STATE_DUNGEON, // In LFG Group, in a Dungeon + //LFG_STATE_BOOT, // Vote kick active + LFG_STATE_DUNGEON = 5, // In LFG Group, in a Dungeon LFG_STATE_FINISHED_DUNGEON, // In LFG Group, in a finished Dungeon LFG_STATE_RAIDBROWSER // Using Raid finder }; diff --git a/src/server/game/DungeonFinding/LFGGroupData.cpp b/src/server/game/DungeonFinding/LFGGroupData.cpp index 2ab1e0b1e7e..aa6916a39a4 100644 --- a/src/server/game/DungeonFinding/LFGGroupData.cpp +++ b/src/server/game/DungeonFinding/LFGGroupData.cpp @@ -22,7 +22,7 @@ namespace lfg { LfgGroupData::LfgGroupData(): m_State(LFG_STATE_NONE), m_OldState(LFG_STATE_NONE), - m_Leader(), m_Dungeon(0), m_KicksLeft(LFG_GROUP_MAX_KICKS) + m_Leader(), m_Dungeon(0), m_KicksLeft(LFG_GROUP_MAX_KICKS), m_VoteKickActive(false) { } LfgGroupData::~LfgGroupData() @@ -126,4 +126,14 @@ uint8 LfgGroupData::GetKicksLeft() const return m_KicksLeft; } +void LfgGroupData::SetVoteKick(bool active) +{ + m_VoteKickActive = active; +} + +bool LfgGroupData::IsVoteKickActive() const +{ + return m_VoteKickActive; +} + } // namespace lfg diff --git a/src/server/game/DungeonFinding/LFGGroupData.h b/src/server/game/DungeonFinding/LFGGroupData.h index 8d8f1dc0f3d..b573e7c309e 100644 --- a/src/server/game/DungeonFinding/LFGGroupData.h +++ b/src/server/game/DungeonFinding/LFGGroupData.h @@ -66,6 +66,9 @@ class LfgGroupData // VoteKick uint8 GetKicksLeft() const; + void SetVoteKick(bool active); + bool IsVoteKickActive() const; + private: // General LfgState m_State; ///< State if group in LFG @@ -76,6 +79,7 @@ class LfgGroupData uint32 m_Dungeon; ///< Dungeon entry // Vote Kick uint8 m_KicksLeft; ///< Number of kicks left + bool m_VoteKickActive; }; } // namespace lfg diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp index 977dcbb216b..db711bd9a47 100644 --- a/src/server/game/DungeonFinding/LFGMgr.cpp +++ b/src/server/game/DungeonFinding/LFGMgr.cpp @@ -309,9 +309,8 @@ void LFGMgr::Update(uint32 diff) ObjectGuid pguid = itVotes->first; if (pguid != boot.victim) SendLfgBootProposalUpdate(pguid, boot); - SetState(pguid, LFG_STATE_DUNGEON); } - SetState(itBoot->first, LFG_STATE_DUNGEON); + SetVoteKick(itBoot->first, false); BootsStore.erase(itBoot); } } @@ -642,7 +641,6 @@ void LFGMgr::LeaveLfg(ObjectGuid guid) break; case LFG_STATE_DUNGEON: case LFG_STATE_FINISHED_DUNGEON: - case LFG_STATE_BOOT: if (guid != gguid) // Player SetState(guid, LFG_STATE_NONE); break; @@ -1159,7 +1157,7 @@ void LFGMgr::RemoveProposal(LfgProposalContainer::iterator itProposal, LfgUpdate */ void LFGMgr::InitBoot(ObjectGuid gguid, ObjectGuid kicker, ObjectGuid victim, std::string const& reason) { - SetState(gguid, LFG_STATE_BOOT); + SetVoteKick(gguid, true); LfgPlayerBoot& boot = BootsStore[gguid]; boot.inProgress = true; @@ -1173,7 +1171,6 @@ void LFGMgr::InitBoot(ObjectGuid gguid, ObjectGuid kicker, ObjectGuid victim, st for (GuidSet::const_iterator itr = players.begin(); itr != players.end(); ++itr) { ObjectGuid guid = (*itr); - SetState(guid, LFG_STATE_BOOT); boot.votes[guid] = LFG_ANSWER_PENDING; } @@ -1230,13 +1227,10 @@ void LFGMgr::UpdateBoot(ObjectGuid guid, bool accept) { ObjectGuid pguid = itVotes->first; if (pguid != boot.victim) - { - SetState(pguid, LFG_STATE_DUNGEON); SendLfgBootProposalUpdate(pguid, boot); - } } - SetState(gguid, LFG_STATE_DUNGEON); + SetVoteKick(gguid, false); if (agreeNum == LFG_GROUP_KICK_VOTES_NEEDED) // Vote passed - Kick player { if (Group* group = sGroupMgr->GetGroupByGUID(gguid)) @@ -1498,12 +1492,12 @@ LfgState LFGMgr::GetState(ObjectGuid guid) if (guid.IsParty()) { state = GroupsStore[guid].GetState(); - TC_LOG_TRACE("lfg.data.group.state.get", "Group: %s, State: %u", guid.ToString().c_str(), state); + TC_LOG_TRACE("lfg.data.group.state.get", "Group: %s, State: %s", guid.ToString().c_str(), GetStateString(state).c_str()); } else { state = PlayersStore[guid].GetState(); - TC_LOG_TRACE("lfg.data.player.state.get", "Player: %s, State: %u", guid.ToString().c_str(), state); + TC_LOG_TRACE("lfg.data.player.state.get", "Player: %s, State: %s", guid.ToString().c_str(), GetStateString(state).c_str()); } return state; @@ -1526,6 +1520,16 @@ LfgState LFGMgr::GetOldState(ObjectGuid guid) return state; } +bool LFGMgr::IsVoteKickActive(ObjectGuid gguid) +{ + ASSERT(gguid.IsParty()); + + bool active = GroupsStore[gguid].IsVoteKickActive(); + TC_LOG_TRACE("lfg.data.group.votekick.get", "Group: %s, Active: %d", gguid.ToString().c_str(), active); + + return active; +} + uint32 LFGMgr::GetDungeon(ObjectGuid guid, bool asId /*= true */) { uint32 dungeon = GroupsStore[guid].GetDungeon(asId); @@ -1686,6 +1690,17 @@ void LFGMgr::SetState(ObjectGuid guid, LfgState state) } } +void LFGMgr::SetVoteKick(ObjectGuid gguid, bool active) +{ + ASSERT(gguid.IsParty()); + + LfgGroupData& data = GroupsStore[gguid]; + TC_LOG_TRACE("lfg.data.group.votekick.set", "Group: %s, New state: %d, Previous: %d", + gguid.ToString().c_str(), active, data.IsVoteKickActive()); + + data.SetVoteKick(active); +} + void LFGMgr::SetDungeon(ObjectGuid guid, uint32 dungeon) { TC_LOG_TRACE("lfg.data.group.dungeon.set", "Group: %s, Dungeon: %u", guid.ToString().c_str(), dungeon); diff --git a/src/server/game/DungeonFinding/LFGMgr.h b/src/server/game/DungeonFinding/LFGMgr.h index 5e7c4e368a2..5fd0decadaf 100644 --- a/src/server/game/DungeonFinding/LFGMgr.h +++ b/src/server/game/DungeonFinding/LFGMgr.h @@ -328,6 +328,8 @@ class LFGMgr LfgDungeonSet const& GetSelectedDungeons(ObjectGuid guid); /// Get current lfg state LfgState GetState(ObjectGuid guid); + /// Get current vote kick state + bool IsVoteKickActive(ObjectGuid gguid); /// Get current dungeon uint32 GetDungeon(ObjectGuid guid, bool asId = true); /// Get the map id of the current dungeon @@ -435,6 +437,7 @@ class LFGMgr void SetSelectedDungeons(ObjectGuid guid, LfgDungeonSet const& dungeons); void DecreaseKicksLeft(ObjectGuid guid); void SetState(ObjectGuid guid, LfgState state); + void SetVoteKick(ObjectGuid gguid, bool active); void RemovePlayerData(ObjectGuid guid); void GetCompatibleDungeons(LfgDungeonSet& dungeons, GuidSet const& players, LfgLockPartyMap& lockMap, bool isContinue); void _SaveToDB(ObjectGuid guid, uint32 db_guid); diff --git a/src/server/game/DungeonFinding/LFGQueue.cpp b/src/server/game/DungeonFinding/LFGQueue.cpp index 7a4ec0f7e1e..97f87a4d814 100644 --- a/src/server/game/DungeonFinding/LFGQueue.cpp +++ b/src/server/game/DungeonFinding/LFGQueue.cpp @@ -377,7 +377,7 @@ LfgCompatibility LFGQueue::CheckCompatibility(GuidList check) // Group with less that MAXGROUPSIZE members always compatible if (check.size() == 1 && numPlayers != MAXGROUPSIZE) { - TC_LOG_DEBUG("lfg.queue.match.compatibility.check", "Guids: (%s) sigle group. Compatibles", strGuids.c_str()); + TC_LOG_DEBUG("lfg.queue.match.compatibility.check", "Guids: (%s) single group. Compatibles", strGuids.c_str()); LfgQueueDataContainer::iterator itQueue = QueueDataStore.find(check.front()); LfgCompatibilityData data(LFG_COMPATIBLES_WITH_LESS_PLAYERS); diff --git a/src/server/game/Entities/Creature/Creature.cpp b/src/server/game/Entities/Creature/Creature.cpp index dd5ab7fe9d1..0a2b22ea8d5 100644 --- a/src/server/game/Entities/Creature/Creature.cpp +++ b/src/server/game/Entities/Creature/Creature.cpp @@ -1729,7 +1729,7 @@ SpellInfo const* Creature::reachWithSpellAttack(Unit* victim) std::vector<SpellInfo::CostData> costs = spellInfo->CalcPowerCost(this, SpellSchoolMask(spellInfo->SchoolMask)); auto m = std::find_if(costs.begin(), costs.end(), [](SpellInfo::CostData const& cost) { return cost.Power == POWER_MANA; }); if (m != costs.end()) - if (m->Amount > (uint32)GetPower(POWER_MANA)) + if (m->Amount > GetPower(POWER_MANA)) continue; float range = spellInfo->GetMaxRange(false); @@ -1777,7 +1777,7 @@ SpellInfo const* Creature::reachWithSpellCure(Unit* victim) std::vector<SpellInfo::CostData> costs = spellInfo->CalcPowerCost(this, SpellSchoolMask(spellInfo->SchoolMask)); auto m = std::find_if(costs.begin(), costs.end(), [](SpellInfo::CostData const& cost) { return cost.Power == POWER_MANA; }); if (m != costs.end()) - if (m->Amount > (uint32)GetPower(POWER_MANA)) + if (m->Amount > GetPower(POWER_MANA)) continue; float range = spellInfo->GetMaxRange(true); diff --git a/src/server/game/Entities/GameObject/GameObject.h b/src/server/game/Entities/GameObject/GameObject.h index 63a4ece8aef..8ff2a941901 100644 --- a/src/server/game/Entities/GameObject/GameObject.h +++ b/src/server/game/Entities/GameObject/GameObject.h @@ -470,6 +470,7 @@ struct GameObjectTemplate { uint32 chairheight; // 0 chairheight, int, Min value: 0, Max value: 2, Default value: 1 int32 HeightOffset; // 1 Height Offset (inches), int, Min value: -100, Max value: 100, Default value: 0 + uint32 SitAnimKit; // 2 Sit Anim Kit, References: AnimKit, NoValue = 0 } barberChair; // 33 GAMEOBJECT_TYPE_DESTRUCTIBLE_BUILDING struct @@ -587,6 +588,8 @@ struct GameObjectTemplate { int32 mapID; // 0 mapID, References: Map, NoValue = -1 int32 namedset; // 1 named set, int, Min value: -2147483648, Max value: 2147483647, Default value: 0 + uint32 Primarydoodadset; // 2 Primary doodad set, int, Min value: -2147483648, Max value: 2147483647, Default value: 0 + uint32 Secondarydoodadset; // 3 Secondary doodad set, int, Min value: -2147483648, Max value: 2147483647, Default value: 0 } phaseableMO; // 44 GAMEOBJECT_TYPE_GARRISON_MONUMENT struct diff --git a/src/server/game/Entities/Item/Item.h b/src/server/game/Entities/Item/Item.h index 8514643cfad..810bbdac704 100644 --- a/src/server/game/Entities/Item/Item.h +++ b/src/server/game/Entities/Item/Item.h @@ -119,8 +119,9 @@ enum InventoryResult EQUIP_ERR_NOT_DURING_ARENA_MATCH = 78, // You can't do that while in an arena match EQUIP_ERR_TRADE_BOUND_ITEM = 79, // You can't trade a soulbound item. EQUIP_ERR_CANT_EQUIP_RATING = 80, // You don't have the personal, team, or battleground rating required to buy that item - EQUIP_ERR_NO_OUTPUT = 81, + EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM = 81, EQUIP_ERR_NOT_SAME_ACCOUNT = 82, // Account-bound items can only be given to your own characters. + EQUIP_ERR_NO_OUTPUT = 83, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED_IS = 84, // You can only carry %d %s EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED_IS = 85, // You can only equip %d |4item:items in the %s category EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_EXCEEDED = 86, // Your level is too high to use that item @@ -131,6 +132,9 @@ enum InventoryResult EQUIP_ERR_ITEM_INVENTORY_FULL_SATCHEL = 91, // Your inventory is full. Your satchel has been delivered to your mailbox. EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_TOO_LOW = 92, // Your level is too low to use that item EQUIP_ERR_CANT_BUY_QUANTITY = 93, // You can't buy the specified quantity of that item. + EQUIP_ERR_ITEM_IS_BATTLE_PAY_LOCKED = 94, // Your purchased item is still waiting to be unlocked + EQUIP_ERR_REAGENT_BANK_FULL = 95, // Your reagent bank is full + EQUIP_ERR_REAGENT_BANK_LOCKED = 96 }; enum BuyResult diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp index 953d3b9d596..44fbae1e208 100644 --- a/src/server/game/Entities/Object/Object.cpp +++ b/src/server/game/Entities/Object/Object.cpp @@ -1521,37 +1521,37 @@ ByteBuffer& operator<<(ByteBuffer& buf, Position::PositionXYZOStreamer const& st void MovementInfo::OutDebug() { - TC_LOG_INFO("misc", "MOVEMENT INFO"); - TC_LOG_INFO("misc", "%s", guid.ToString().c_str()); - TC_LOG_INFO("misc", "flags %s (%u)", Movement::MovementFlags_ToString(flags).c_str(), flags); - TC_LOG_INFO("misc", "flags2 %s (%u)", Movement::MovementFlagsExtra_ToString(flags2).c_str(), flags2); - TC_LOG_INFO("misc", "time %u current time %u", time, getMSTime()); - TC_LOG_INFO("misc", "position: `%s`", pos.ToString().c_str()); + TC_LOG_DEBUG("misc", "MOVEMENT INFO"); + TC_LOG_DEBUG("misc", "%s", guid.ToString().c_str()); + TC_LOG_DEBUG("misc", "flags %s (%u)", Movement::MovementFlags_ToString(flags).c_str(), flags); + TC_LOG_DEBUG("misc", "flags2 %s (%u)", Movement::MovementFlagsExtra_ToString(flags2).c_str(), flags2); + TC_LOG_DEBUG("misc", "time %u current time %u", time, getMSTime()); + TC_LOG_DEBUG("misc", "position: `%s`", pos.ToString().c_str()); if (!transport.guid.IsEmpty()) { - TC_LOG_INFO("misc", "TRANSPORT:"); - TC_LOG_INFO("misc", "%s", transport.guid.ToString().c_str()); - TC_LOG_INFO("misc", "position: `%s`", transport.pos.ToString().c_str()); - TC_LOG_INFO("misc", "seat: %i", transport.seat); - TC_LOG_INFO("misc", "time: %u", transport.time); + TC_LOG_DEBUG("misc", "TRANSPORT:"); + TC_LOG_DEBUG("misc", "%s", transport.guid.ToString().c_str()); + TC_LOG_DEBUG("misc", "position: `%s`", transport.pos.ToString().c_str()); + TC_LOG_DEBUG("misc", "seat: %i", transport.seat); + TC_LOG_DEBUG("misc", "time: %u", transport.time); if (flags2 & MOVEMENTFLAG2_INTERPOLATED_MOVEMENT) - TC_LOG_INFO("misc", "prevTime: %u", transport.prevTime); + TC_LOG_DEBUG("misc", "prevTime: %u", transport.prevTime); if (transport.vehicleId) - TC_LOG_INFO("misc", "vehicleId: %u", transport.vehicleId); + TC_LOG_DEBUG("misc", "vehicleId: %u", transport.vehicleId); } if ((flags & (MOVEMENTFLAG_SWIMMING | MOVEMENTFLAG_FLYING)) || (flags2 & MOVEMENTFLAG2_ALWAYS_ALLOW_PITCHING)) - TC_LOG_INFO("misc", "pitch: %f", pitch); + TC_LOG_DEBUG("misc", "pitch: %f", pitch); if (flags & MOVEMENTFLAG_FALLING || jump.fallTime) { - TC_LOG_INFO("misc", "fallTime: %u j_zspeed: %f", jump.fallTime, jump.zspeed); + TC_LOG_DEBUG("misc", "fallTime: %u j_zspeed: %f", jump.fallTime, jump.zspeed); if (flags & MOVEMENTFLAG_FALLING) - TC_LOG_INFO("misc", "j_sinAngle: %f j_cosAngle: %f j_xyspeed: %f", jump.sinAngle, jump.cosAngle, jump.xyspeed); + TC_LOG_DEBUG("misc", "j_sinAngle: %f j_cosAngle: %f j_xyspeed: %f", jump.sinAngle, jump.cosAngle, jump.xyspeed); } if (flags & MOVEMENTFLAG_SPLINE_ELEVATION) - TC_LOG_INFO("misc", "splineElevation: %f", splineElevation); + TC_LOG_DEBUG("misc", "splineElevation: %f", splineElevation); } WorldObject::WorldObject(bool isWorldObject) : WorldLocation(), LastUsedScriptID(0), @@ -3380,4 +3380,4 @@ void WorldObject::RebuildWorldMapAreaSwaps() } } } -}
\ No newline at end of file +} diff --git a/src/server/game/Entities/Object/ObjectGuid.h b/src/server/game/Entities/Object/ObjectGuid.h index b4b08d7ace2..72fda2feb5e 100644 --- a/src/server/game/Entities/Object/ObjectGuid.h +++ b/src/server/game/Entities/Object/ObjectGuid.h @@ -24,6 +24,7 @@ #include <boost/functional/hash.hpp> #include <functional> +#include <unordered_set> enum TypeID { @@ -266,6 +267,7 @@ typedef std::set<ObjectGuid> GuidSet; typedef std::list<ObjectGuid> GuidList; typedef std::deque<ObjectGuid> GuidDeque; typedef std::vector<ObjectGuid> GuidVector; +typedef std::unordered_set<ObjectGuid> GuidUnorderedSet; // maximum buffer size for packed guid is 18 bytes #define PACKED_GUID_MIN_BUFFER_SIZE 18 diff --git a/src/server/game/Entities/Pet/Pet.cpp b/src/server/game/Entities/Pet/Pet.cpp index 6a07a56d0af..d96e1c65eda 100644 --- a/src/server/game/Entities/Pet/Pet.cpp +++ b/src/server/game/Entities/Pet/Pet.cpp @@ -1250,7 +1250,7 @@ void Pet::_LoadAuras(uint32 timediff) aura->SetLoadedState(maxDuration, remainTime, remainCharges, stackCount, recalculateMask, info.Amounts.data()); aura->ApplyForTargets(); - TC_LOG_INFO("entities.pet", "Added aura spellid %u, effectmask %u", spellInfo->Id, key.EffectMask); + TC_LOG_DEBUG("entities.pet", "Added aura spellid %u, effectmask %u", spellInfo->Id, key.EffectMask); } } while (auraResult->NextRow()); @@ -1625,7 +1625,7 @@ bool Pet::resetTalents() return true; } -void Pet::resetTalentsForAllPetsOf(Player* owner, Pet* onlinePet /*= NULL*/) +void Pet::resetTalentsForAllPetsOf(Player* /*owner*/, Pet* /*onlinePet*/ /*= NULL*/) { /* TODO: 6.x remove pet talents // not need after this call diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index 7e945a0c0b6..284e669cd49 100644 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -6129,7 +6129,7 @@ void Player::SendActionButtons(uint32 state) const packet.Reason = state; SendDirectMessage(packet.Write()); - TC_LOG_INFO("network", "Action Buttons for '%s' group '%u' Sent", GetGUID().ToString().c_str(), GetActiveTalentGroup()); + TC_LOG_DEBUG("network", "Action Buttons for '%s' group '%u' Sent", GetGUID().ToString().c_str(), GetActiveTalentGroup()); } bool Player::IsActionButtonDataValid(uint8 button, uint32 action, uint8 type) @@ -6377,7 +6377,7 @@ void Player::CheckAreaExploreAndOutdoor() GiveXP(XP, NULL); SendExplorationExperience(area, XP); } - TC_LOG_INFO("entities.player", "Player %s discovered a new area: %u", GetGUID().ToString().c_str(), area); + TC_LOG_DEBUG("entities.player", "Player %s discovered a new area: %u", GetGUID().ToString().c_str(), area); } } } @@ -7605,7 +7605,7 @@ void Player::_ApplyItemMods(Item* item, uint8 slot, bool apply) if (item->IsBroken()) return; - TC_LOG_INFO("entities.player.items", "applying mods for item %s", item->GetGUID().ToString().c_str()); + TC_LOG_DEBUG("entities.player.items", "applying mods for item %s", item->GetGUID().ToString().c_str()); uint8 attacktype = Player::GetAttackBySlot(slot); @@ -9454,7 +9454,7 @@ uint32 Player::GetXPRestBonus(uint32 xp) SetRestBonus(GetRestBonus() - rested_bonus); - TC_LOG_INFO("entities.player", "Player gain %u xp (+ %u Rested Bonus). Rested points=%f", xp+rested_bonus, rested_bonus, GetRestBonus()); + TC_LOG_DEBUG("entities.player", "Player gain %u xp (+ %u Rested Bonus). Rested points=%f", xp+rested_bonus, rested_bonus, GetRestBonus()); return rested_bonus; } @@ -12900,21 +12900,43 @@ void Player::SendEquipError(InventoryResult msg, Item* item1 /*= nullptr*/, Item WorldPackets::Item::InventoryChangeFailure failure; failure.BagResult = msg; - if (item1) + if (msg != EQUIP_ERR_OK) { - failure.Item[0] = item1->GetGUID(); - failure.Level = uint32(item1->GetRequiredLevel()); - } + if (item1) + failure.Item[0] = item1->GetGUID(); + + if (item2) + failure.Item[1] = item2->GetGUID(); - if (item2) - failure.Item[1] = item2->GetGUID(); + failure.ContainerBSlot = 0; // bag equip slot, used with EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM and EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2 - /// @todo: fill remaining values: - /// ContainerBSlot - /// SrcContainer - /// DstContainer - /// SrcSlot - /// LimitCategory + switch (msg) + { + case EQUIP_ERR_CANT_EQUIP_LEVEL_I: + case EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW: + { + failure.Level = uint32(item1 ? item1->GetRequiredLevel() : 0); + break; + } + case EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM: // no idea about this one... + { + //failure.SrcContainer + //failure.SrcSlot + //failure.DstContainer + break; + } + case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED_IS: + case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED_IS: + case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED_IS: + { + ItemTemplate const* proto = item1 ? item1->GetTemplate() : sObjectMgr->GetItemTemplate(itemId); + failure.LimitCategory = proto ? proto->GetItemLimitCategory() : 0; + break; + } + default: + break; + } + } SendDirectMessage(failure.Write()); } @@ -15665,6 +15687,8 @@ void Player::AreaExploredOrEventHappens(uint32 questId) { q_status.Explored = true; m_QuestStatusSave[questId] = QUEST_DEFAULT_SAVE_TYPE; + SetQuestSlotState(log_slot, QUEST_STATE_COMPLETE); + SendQuestComplete(questId); }**/ } if (CanCompleteQuest(questId)) @@ -17427,7 +17451,7 @@ void Player::_LoadAuras(PreparedQueryResult auraResult, PreparedQueryResult effe aura->SetLoadedState(maxDuration, remainTime, remainCharges, stackCount, recalculateMask, info.Amounts.data()); aura->ApplyForTargets(); - TC_LOG_INFO("entities.player", "Added aura spellid %u, effectmask %u", spellInfo->Id, key.EffectMask); + TC_LOG_DEBUG("entities.player", "Added aura spellid %u, effectmask %u", spellInfo->Id, key.EffectMask); } } while (auraResult->NextRow()); @@ -22045,13 +22069,13 @@ bool Player::IsVisibleGloballyFor(Player const* u) const } template<class T> -inline void UpdateVisibilityOf_helper(GuidSet& s64, T* target, std::set<Unit*>& /*v*/) +inline void UpdateVisibilityOf_helper(GuidUnorderedSet& s64, T* target, std::set<Unit*>& /*v*/) { s64.insert(target->GetGUID()); } template<> -inline void UpdateVisibilityOf_helper(GuidSet& s64, GameObject* target, std::set<Unit*>& /*v*/) +inline void UpdateVisibilityOf_helper(GuidUnorderedSet& s64, GameObject* target, std::set<Unit*>& /*v*/) { // @HACK: This is to prevent objects like deeprun tram from disappearing when player moves far from its spawn point while riding it // But exclude stoppable elevators from this hack - they would be teleporting from one end to another @@ -22062,14 +22086,14 @@ inline void UpdateVisibilityOf_helper(GuidSet& s64, GameObject* target, std::set } template<> -inline void UpdateVisibilityOf_helper(GuidSet& s64, Creature* target, std::set<Unit*>& v) +inline void UpdateVisibilityOf_helper(GuidUnorderedSet& s64, Creature* target, std::set<Unit*>& v) { s64.insert(target->GetGUID()); v.insert(target); } template<> -inline void UpdateVisibilityOf_helper(GuidSet& s64, Player* target, std::set<Unit*>& v) +inline void UpdateVisibilityOf_helper(GuidUnorderedSet& s64, Player* target, std::set<Unit*>& v) { s64.insert(target->GetGUID()); v.insert(target); @@ -22131,7 +22155,7 @@ void Player::UpdateTriggerVisibility() UpdateData udata(GetMapId()); WorldPacket packet; - for (GuidSet::iterator itr = m_clientGUIDs.begin(); itr != m_clientGUIDs.end(); ++itr) + for (auto itr = m_clientGUIDs.begin(); itr != m_clientGUIDs.end(); ++itr) { if (itr->IsCreature()) { @@ -23238,7 +23262,7 @@ void Player::UpdateForQuestWorldObjects() UpdateData udata(GetMapId()); WorldPacket packet; - for (GuidSet::iterator itr = m_clientGUIDs.begin(); itr != m_clientGUIDs.end(); ++itr) + for (auto itr = m_clientGUIDs.begin(); itr != m_clientGUIDs.end(); ++itr) { if (itr->IsGameObject()) { @@ -23694,28 +23718,9 @@ void Player::SetMover(Unit* target) m_mover = target; m_mover->m_movedPlayer = this; - ObjectGuid guid = target->GetGUID(); - - WorldPacket data(SMSG_MOVE_SET_ACTIVE_MOVER, 9); - data.WriteBit(guid[5]); - data.WriteBit(guid[7]); - data.WriteBit(guid[3]); - data.WriteBit(guid[6]); - data.WriteBit(guid[0]); - data.WriteBit(guid[4]); - data.WriteBit(guid[1]); - data.WriteBit(guid[2]); - - data.WriteByteSeq(guid[6]); - data.WriteByteSeq(guid[2]); - data.WriteByteSeq(guid[3]); - data.WriteByteSeq(guid[0]); - data.WriteByteSeq(guid[5]); - data.WriteByteSeq(guid[7]); - data.WriteByteSeq(guid[1]); - data.WriteByteSeq(guid[4]); - - SendDirectMessage(&data); + WorldPackets::Movement::MoveSetActiveMover packet; + packet.MoverGUID = target->GetGUID(); + SendDirectMessage(packet.Write()); } void Player::UpdateZoneDependentAuras(uint32 newZone) @@ -23746,18 +23751,6 @@ void Player::UpdateAreaDependentAuras(uint32 newArea) if (itr->second->autocast && itr->second->IsFitToRequirements(this, m_zoneUpdateId, newArea)) if (!HasAura(itr->second->spellId)) CastSpell(this, itr->second->spellId, true); - - if (newArea == 4273 && GetVehicleCreatureBase() && GetPositionX() > 400) // Ulduar - { - switch (GetVehicleBase()->GetEntry()) - { - case 33062: - case 33109: - case 33060: - GetVehicleCreatureBase()->DespawnOrUnsummon(); - break; - } - } } uint32 Player::GetCorpseReclaimDelay(bool pvp) const @@ -23888,7 +23881,7 @@ PartyResult Player::CanUninviteFromGroup(ObjectGuid guidMember) const return ERR_PARTY_LFG_BOOT_LIMIT; lfg::LfgState state = sLFGMgr->GetState(gguid); - if (state == lfg::LFG_STATE_BOOT) + if (sLFGMgr->IsVoteKickActive(gguid)) return ERR_PARTY_LFG_BOOT_IN_PROGRESS; if (grp->GetMembersCount() <= lfg::LFG_GROUP_KICK_VOTES_NEEDED) @@ -24967,7 +24960,7 @@ bool Player::LearnTalent(uint32 talentId) LearnSpell(spellid, false); - TC_LOG_INFO("misc", "TalentID: %u Spell: %u Group: %u\n", talentId, spellid, GetActiveTalentGroup()); + TC_LOG_DEBUG("misc", "TalentID: %u Spell: %u Group: %u\n", talentId, spellid, GetActiveTalentGroup()); return true; } diff --git a/src/server/game/Entities/Player/Player.h b/src/server/game/Entities/Player/Player.h index 6e174995ebd..cdd12792fd0 100644 --- a/src/server/game/Entities/Player/Player.h +++ b/src/server/game/Entities/Player/Player.h @@ -2435,7 +2435,7 @@ class Player : public Unit, public GridObject<Player> WorldLocation GetStartPosition() const; // currently visible objects at player client - GuidSet m_clientGUIDs; + GuidUnorderedSet m_clientGUIDs; bool HaveAtClient(WorldObject const* u) const; diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index a1a08ad15e0..a5596158441 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -2115,9 +2115,9 @@ void Unit::SendMeleeAttackStop(Unit* victim) SendMessageToSet(WorldPackets::Combat::SAttackStop(this, victim).Write(), true); if (victim) - TC_LOG_INFO("entities.unit", "%s stopped attacking %s", GetGUID().ToString().c_str(), victim->GetGUID().ToString().c_str()); + TC_LOG_DEBUG("entities.unit", "%s stopped attacking %s", GetGUID().ToString().c_str(), victim->GetGUID().ToString().c_str()); else - TC_LOG_INFO("entities.unit", "%s stopped attacking", GetGUID().ToString().c_str()); + TC_LOG_DEBUG("entities.unit", "%s stopped attacking", GetGUID().ToString().c_str()); } bool Unit::isSpellBlocked(Unit* victim, SpellInfo const* spellProto, WeaponAttackType /*attackType*/) @@ -6130,7 +6130,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere // Used in case when access to whole aura is needed // All procs should be handled like this... -bool Unit::HandleAuraProc(Unit* victim, uint32 /*damage*/, Aura* triggeredByAura, SpellInfo const* procSpell, uint32 /*procFlag*/, uint32 /*procEx*/, uint32 cooldown, bool * handled) +bool Unit::HandleAuraProc(Unit* victim, uint32 /*damage*/, Aura* triggeredByAura, SpellInfo const* /*procSpell*/, uint32 /*procFlag*/, uint32 /*procEx*/, uint32 cooldown, bool * handled) { SpellInfo const* dummySpell = triggeredByAura->GetSpellInfo(); @@ -15722,30 +15722,30 @@ void Unit::StopAttackFaction(uint32 faction_id) void Unit::OutDebugInfo() const { TC_LOG_ERROR("entities.unit", "Unit::OutDebugInfo"); - TC_LOG_INFO("entities.unit", "%s name %s", GetGUID().ToString().c_str(), GetName().c_str()); - TC_LOG_INFO("entities.unit", "Owner %s, Minion %s, Charmer %s, Charmed %s", GetOwnerGUID().ToString().c_str(), GetMinionGUID().ToString().c_str(), GetCharmerGUID().ToString().c_str(), GetCharmGUID().ToString().c_str()); - TC_LOG_INFO("entities.unit", "In world %u, unit type mask %u", (uint32)(IsInWorld() ? 1 : 0), m_unitTypeMask); + TC_LOG_DEBUG("entities.unit", "%s name %s", GetGUID().ToString().c_str(), GetName().c_str()); + TC_LOG_DEBUG("entities.unit", "Owner %s, Minion %s, Charmer %s, Charmed %s", GetOwnerGUID().ToString().c_str(), GetMinionGUID().ToString().c_str(), GetCharmerGUID().ToString().c_str(), GetCharmGUID().ToString().c_str()); + TC_LOG_DEBUG("entities.unit", "In world %u, unit type mask %u", (uint32)(IsInWorld() ? 1 : 0), m_unitTypeMask); if (IsInWorld()) - TC_LOG_INFO("entities.unit", "Mapid %u", GetMapId()); + TC_LOG_DEBUG("entities.unit", "Mapid %u", GetMapId()); std::ostringstream o; o << "Summon Slot: "; for (uint32 i = 0; i < MAX_SUMMON_SLOT; ++i) o << m_SummonSlot[i].ToString() << ", "; - TC_LOG_INFO("entities.unit", "%s", o.str().c_str()); + TC_LOG_DEBUG("entities.unit", "%s", o.str().c_str()); o.str(""); o << "Controlled List: "; for (ControlList::const_iterator itr = m_Controlled.begin(); itr != m_Controlled.end(); ++itr) o << (*itr)->GetGUID().ToString() << ", "; - TC_LOG_INFO("entities.unit", "%s", o.str().c_str()); + TC_LOG_DEBUG("entities.unit", "%s", o.str().c_str()); o.str(""); o << "Aura List: "; for (AuraApplicationMap::const_iterator itr = m_appliedAuras.begin(); itr != m_appliedAuras.end(); ++itr) o << itr->first << ", "; - TC_LOG_INFO("entities.unit", "%s", o.str().c_str()); + TC_LOG_DEBUG("entities.unit", "%s", o.str().c_str()); o.str(""); if (IsVehicle()) @@ -15754,11 +15754,11 @@ void Unit::OutDebugInfo() const for (SeatMap::iterator itr = GetVehicleKit()->Seats.begin(); itr != GetVehicleKit()->Seats.end(); ++itr) if (Unit* passenger = ObjectAccessor::GetUnit(*GetVehicleBase(), itr->second.Passenger.Guid)) o << passenger->GetGUID().ToString() << ", "; - TC_LOG_INFO("entities.unit", "%s", o.str().c_str()); + TC_LOG_DEBUG("entities.unit", "%s", o.str().c_str()); } if (GetVehicle()) - TC_LOG_INFO("entities.unit", "On vehicle %u.", GetVehicleBase()->GetEntry()); + TC_LOG_DEBUG("entities.unit", "On vehicle %u.", GetVehicleBase()->GetEntry()); } uint32 Unit::GetRemainingPeriodicAmount(ObjectGuid caster, uint32 spellId, AuraType auraType, uint8 effectIndex) const @@ -16450,7 +16450,7 @@ bool Unit::IsHighestExclusiveAura(Aura const* aura, bool removeOtherAuraApplicat { if (AuraApplication* aurApp = existingAurEff->GetBase()->GetApplicationOfTarget(GetGUID())) { - bool hasMoreThanOneEffect = base->HasMoreThanOneEffectForType(auraType, GetMap()->GetDifficultyID()); + bool hasMoreThanOneEffect = base->HasMoreThanOneEffectForType(auraType); uint32 removedAuras = m_removedAurasCount; RemoveAura(aurApp); if (hasMoreThanOneEffect || m_removedAurasCount > removedAuras + 1) diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index acadc036fb3..9bf73c57193 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -3358,6 +3358,8 @@ void ObjectMgr::BuildPlayerLevelInfo(uint8 race, uint8 _class, uint8 level, Play } } +int32 const ReputationMgr::Reputation_Cap; + void ObjectMgr::LoadQuests() { uint32 oldMSTime = getMSTime(); diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.cpp b/src/server/game/Grids/Notifiers/GridNotifiers.cpp index 533f2845b17..d5562a9a3c7 100644 --- a/src/server/game/Grids/Notifiers/GridNotifiers.cpp +++ b/src/server/game/Grids/Notifiers/GridNotifiers.cpp @@ -65,7 +65,7 @@ void VisibleNotifier::SendToSelf() } } - for (GuidSet::const_iterator it = vis_guids.begin(); it != vis_guids.end(); ++it) + for (auto it = vis_guids.begin(); it != vis_guids.end(); ++it) { i_player.m_clientGUIDs.erase(*it); i_data.AddOutOfRangeGUID(*it); diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.h b/src/server/game/Grids/Notifiers/GridNotifiers.h index ae8c96aff94..0936f8ff753 100644 --- a/src/server/game/Grids/Notifiers/GridNotifiers.h +++ b/src/server/game/Grids/Notifiers/GridNotifiers.h @@ -45,7 +45,7 @@ namespace Trinity Player &i_player; UpdateData i_data; std::set<Unit*> i_visibleNow; - GuidSet vis_guids; + GuidUnorderedSet vis_guids; VisibleNotifier(Player &player) : i_player(player), i_data(player.GetMapId()), vis_guids(player.m_clientGUIDs) { } template<class T> void Visit(GridRefManager<T> &m); diff --git a/src/server/game/Handlers/BankHandler.cpp b/src/server/game/Handlers/BankHandler.cpp new file mode 100644 index 00000000000..8879b4e2532 --- /dev/null +++ b/src/server/game/Handlers/BankHandler.cpp @@ -0,0 +1,172 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "BankPackets.h" +#include "NPCPackets.h" +#include "ObjectMgr.h" +#include "Opcodes.h" +#include "Player.h" +#include "WorldPacket.h" +#include "WorldSession.h" + +void WorldSession::HandleAutoBankItemOpcode(WorldPackets::Bank::AutoBankItem& packet) +{ + TC_LOG_DEBUG("network", "STORAGE: receive bag = %u, slot = %u", packet.Bag, packet.Slot); + + if (!CanUseBank()) + { + TC_LOG_ERROR("network", "WORLD: HandleAutoBankItemOpcode - Unit (%s) not found or you can't interact with him.", m_currentBankerGUID.ToString().c_str()); + return; + } + + Item* item = _player->GetItemByPos(packet.Bag, packet.Slot); + if (!item) + return; + + ItemPosCountVec dest; + InventoryResult msg = _player->CanBankItem(NULL_BAG, NULL_SLOT, dest, item, false); + if (msg != EQUIP_ERR_OK) + { + _player->SendEquipError(msg, item, NULL); + return; + } + + if (dest.size() == 1 && dest[0].pos == item->GetPos()) + { + _player->SendEquipError(EQUIP_ERR_CANT_SWAP, item, NULL); + return; + } + + _player->RemoveItem(packet.Bag, packet.Slot, true); + _player->ItemRemovedQuestCheck(item->GetEntry(), item->GetCount()); + _player->BankItem(dest, item, true); +} + +void WorldSession::HandleBankerActivateOpcode(WorldPackets::NPC::Hello& packet) +{ + Creature* unit = GetPlayer()->GetNPCIfCanInteractWith(packet.Unit, UNIT_NPC_FLAG_BANKER); + if (!unit) + { + TC_LOG_ERROR("network", "WORLD: HandleBankerActivateOpcode - %s not found or you can not interact with him.", packet.Unit.ToString().c_str()); + return; + } + + // remove fake death + if (GetPlayer()->HasUnitState(UNIT_STATE_DIED)) + GetPlayer()->RemoveAurasByType(SPELL_AURA_FEIGN_DEATH); + + // set currentBankerGUID for other bank action + + SendShowBank(packet.Unit); +} + +void WorldSession::HandleAutoStoreBankItemOpcode(WorldPackets::Bank::AutoStoreBankItem& packet) +{ + TC_LOG_DEBUG("network", "STORAGE: receive bag = %u, slot = %u", packet.Bag, packet.Slot); + + if (!CanUseBank()) + { + TC_LOG_ERROR("network", "WORLD: HandleAutoStoreBankItemOpcode - Unit (%s) not found or you can't interact with him.", m_currentBankerGUID.ToString().c_str()); + return; + } + + Item* item = _player->GetItemByPos(packet.Bag, packet.Slot); + if (!item) + return; + + if (_player->IsBankPos(packet.Bag, packet.Slot)) // moving from bank to inventory + { + ItemPosCountVec dest; + InventoryResult msg = _player->CanStoreItem(NULL_BAG, NULL_SLOT, dest, item, false); + if (msg != EQUIP_ERR_OK) + { + _player->SendEquipError(msg, item, NULL); + return; + } + + _player->RemoveItem(packet.Bag, packet.Slot, true); + if (Item const* storedItem = _player->StoreItem(dest, item, true)) + _player->ItemAddedQuestCheck(storedItem->GetEntry(), storedItem->GetCount()); + + } + else // moving from inventory to bank + { + ItemPosCountVec dest; + InventoryResult msg = _player->CanBankItem(NULL_BAG, NULL_SLOT, dest, item, false); + if (msg != EQUIP_ERR_OK) + { + _player->SendEquipError(msg, item, NULL); + return; + } + + _player->RemoveItem(packet.Bag, packet.Slot, true); + _player->BankItem(dest, item, true); + } +} + +void WorldSession::HandleBuyBankSlotOpcode(WorldPackets::Bank::BuyBankSlot& packet) +{ + WorldPacket data(SMSG_BUY_BANK_SLOT_RESULT, 4); + if (!CanUseBank(packet.Guid)) + { + data << uint32(ERR_BANKSLOT_NOTBANKER); + SendPacket(&data); + TC_LOG_ERROR("network", "WORLD: HandleBuyBankSlotOpcode - %s not found or you can't interact with him.", packet.Guid.ToString().c_str()); + return; + } + + uint32 slot = _player->GetBankBagSlotCount(); + + // next slot + ++slot; + + TC_LOG_INFO("network", "PLAYER: Buy bank bag slot, slot number = %u", slot); + + BankBagSlotPricesEntry const* slotEntry = sBankBagSlotPricesStore.LookupEntry(slot); + + if (!slotEntry) + { + data << uint32(ERR_BANKSLOT_FAILED_TOO_MANY); + SendPacket(&data); + return; + } + + uint32 price = slotEntry->Cost; + + if (!_player->HasEnoughMoney(uint64(price))) + { + data << uint32(ERR_BANKSLOT_INSUFFICIENT_FUNDS); + SendPacket(&data); + return; + } + + _player->SetBankBagSlotCount(slot); + _player->ModifyMoney(-int64(price)); + + data << uint32(ERR_BANKSLOT_OK); + SendPacket(&data); + + _player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_BUY_BANK_SLOT); +} + +void WorldSession::SendShowBank(ObjectGuid guid) +{ + m_currentBankerGUID = guid; + WorldPackets::NPC::ShowBank packet; + packet.Guid = guid; + SendPacket(packet.Write()); +} diff --git a/src/server/game/Handlers/BlackMarketHandler.cpp b/src/server/game/Handlers/BlackMarketHandler.cpp index 0520d1e18f3..f2b549c58c3 100644 --- a/src/server/game/Handlers/BlackMarketHandler.cpp +++ b/src/server/game/Handlers/BlackMarketHandler.cpp @@ -37,7 +37,7 @@ void WorldSession::HandleBlackMarketOpen(WorldPackets::BlackMarket::BlackMarketO SendBlackMarketOpenResult(packet.Guid, unit); } -void WorldSession::SendBlackMarketOpenResult(ObjectGuid guid, Creature* auctioneer) +void WorldSession::SendBlackMarketOpenResult(ObjectGuid guid, Creature* /*auctioneer*/) { WorldPackets::BlackMarket::BlackMarketOpenResult packet; packet.Guid = guid; diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp index 7a63d38f4fa..34c50cac180 100644 --- a/src/server/game/Handlers/CharacterHandler.cpp +++ b/src/server/game/Handlers/CharacterHandler.cpp @@ -1394,7 +1394,7 @@ void WorldSession::HandleAlterAppearance(WorldPacket& recvData) return; } - if (_player->GetStandState() != UNIT_STAND_STATE_SIT_LOW_CHAIR + go->GetGOInfo()->barberChair.chairheight) + if (_player->GetStandState() != UnitStandStateType(UNIT_STAND_STATE_SIT_LOW_CHAIR + go->GetGOInfo()->barberChair.chairheight)) { SendBarberShopResult(BARBER_SHOP_RESULT_NOT_ON_CHAIR); return; diff --git a/src/server/game/Handlers/GuildHandler.cpp b/src/server/game/Handlers/GuildHandler.cpp index 2f5c1602a9f..679f1f08dc9 100644 --- a/src/server/game/Handlers/GuildHandler.cpp +++ b/src/server/game/Handlers/GuildHandler.cpp @@ -390,7 +390,7 @@ void WorldSession::HandleDeclineGuildInvites(WorldPackets::Guild::DeclineGuildIn GetPlayer()->ApplyModFlag(PLAYER_FLAGS, PLAYER_FLAGS_AUTO_DECLINE_GUILD, packet.Allow); } -void WorldSession::HandleRequestGuildRewardsList(WorldPackets::Guild::RequestGuildRewardsList& packet) +void WorldSession::HandleRequestGuildRewardsList(WorldPackets::Guild::RequestGuildRewardsList& /*packet*/) { if (sGuildMgr->GetGuildById(_player->GetGuildId())) { diff --git a/src/server/game/Handlers/ItemHandler.cpp b/src/server/game/Handlers/ItemHandler.cpp index e6803832a56..db7b49521c3 100644 --- a/src/server/game/Handlers/ItemHandler.cpp +++ b/src/server/game/Handlers/ItemHandler.cpp @@ -741,140 +741,6 @@ void WorldSession::HandleAutoStoreBagItemOpcode(WorldPackets::Item::AutoStoreBag _player->StoreItem(dest, item, true); } -void WorldSession::HandleBuyBankSlotOpcode(WorldPacket& recvPacket) -{ - TC_LOG_DEBUG("network", "WORLD: CMSG_BUY_BANK_SLOT"); - - ObjectGuid guid; - recvPacket >> guid; - - WorldPacket data(SMSG_BUY_BANK_SLOT_RESULT, 4); - if (!CanUseBank(guid)) - { - data << uint32(ERR_BANKSLOT_NOTBANKER); - SendPacket(&data); - TC_LOG_DEBUG("network", "WORLD: HandleBuyBankSlotOpcode - %s not found or you can't interact with him.", guid.ToString().c_str()); - return; - } - - uint32 slot = _player->GetBankBagSlotCount(); - - // next slot - ++slot; - - TC_LOG_INFO("network", "PLAYER: Buy bank bag slot, slot number = %u", slot); - - BankBagSlotPricesEntry const* slotEntry = sBankBagSlotPricesStore.LookupEntry(slot); - - if (!slotEntry) - { - data << uint32(ERR_BANKSLOT_FAILED_TOO_MANY); - SendPacket(&data); - return; - } - - uint32 price = slotEntry->Cost; - - if (!_player->HasEnoughMoney(uint64(price))) - { - data << uint32(ERR_BANKSLOT_INSUFFICIENT_FUNDS); - SendPacket(&data); - return; - } - - _player->SetBankBagSlotCount(slot); - _player->ModifyMoney(-int64(price)); - - data << uint32(ERR_BANKSLOT_OK); - SendPacket(&data); - - _player->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_BUY_BANK_SLOT); -} - -void WorldSession::HandleAutoBankItemOpcode(WorldPacket& recvPacket) -{ - TC_LOG_DEBUG("network", "WORLD: CMSG_AUTOBANK_ITEM"); - uint8 srcbag, srcslot; - - recvPacket >> srcbag >> srcslot; - TC_LOG_DEBUG("network", "STORAGE: receive srcbag = %u, srcslot = %u", srcbag, srcslot); - - if (!CanUseBank()) - { - TC_LOG_DEBUG("network", "WORLD: HandleAutoBankItemOpcode - Unit (%s) not found or you can't interact with him.", m_currentBankerGUID.ToString().c_str()); - return; - } - - Item* pItem = _player->GetItemByPos(srcbag, srcslot); - if (!pItem) - return; - - ItemPosCountVec dest; - InventoryResult msg = _player->CanBankItem(NULL_BAG, NULL_SLOT, dest, pItem, false); - if (msg != EQUIP_ERR_OK) - { - _player->SendEquipError(msg, pItem, NULL); - return; - } - - if (dest.size() == 1 && dest[0].pos == pItem->GetPos()) - { - _player->SendEquipError(EQUIP_ERR_CANT_SWAP, pItem, NULL); - return; - } - - _player->RemoveItem(srcbag, srcslot, true); - _player->ItemRemovedQuestCheck(pItem->GetEntry(), pItem->GetCount()); - _player->BankItem(dest, pItem, true); -} - -void WorldSession::HandleAutoStoreBankItemOpcode(WorldPacket& recvPacket) -{ - TC_LOG_DEBUG("network", "WORLD: CMSG_AUTOSTORE_BANK_ITEM"); - uint8 srcbag, srcslot; - - recvPacket >> srcbag >> srcslot; - TC_LOG_DEBUG("network", "STORAGE: receive srcbag = %u, srcslot = %u", srcbag, srcslot); - - if (!CanUseBank()) - { - TC_LOG_DEBUG("network", "WORLD: HandleAutoStoreBankItemOpcode - Unit (%s) not found or you can't interact with him.", m_currentBankerGUID.ToString().c_str()); - return; - } - - Item* pItem = _player->GetItemByPos(srcbag, srcslot); - if (!pItem) - return; - - if (_player->IsBankPos(srcbag, srcslot)) // moving from bank to inventory - { - ItemPosCountVec dest; - InventoryResult msg = _player->CanStoreItem(NULL_BAG, NULL_SLOT, dest, pItem, false); - if (msg != EQUIP_ERR_OK) - { - _player->SendEquipError(msg, pItem, NULL); - return; - } - - _player->RemoveItem(srcbag, srcslot, true); - if (Item const* storedItem = _player->StoreItem(dest, pItem, true)) - _player->ItemAddedQuestCheck(storedItem->GetEntry(), storedItem->GetCount()); - } - else // moving from inventory to bank - { - ItemPosCountVec dest; - InventoryResult msg = _player->CanBankItem(NULL_BAG, NULL_SLOT, dest, pItem, false); - if (msg != EQUIP_ERR_OK) - { - _player->SendEquipError(msg, pItem, NULL); - return; - } - - _player->RemoveItem(srcbag, srcslot, true); - _player->BankItem(dest, pItem, true); - } -} - void WorldSession::SendEnchantmentLog(ObjectGuid target, ObjectGuid caster, uint32 itemId, uint32 enchantId) { WorldPacket data(SMSG_ENCHANTMENT_LOG, (8+8+4+4)); diff --git a/src/server/game/Handlers/LFGHandler.cpp b/src/server/game/Handlers/LFGHandler.cpp index bf1e808d5d0..b291ffb0c9e 100644 --- a/src/server/game/Handlers/LFGHandler.cpp +++ b/src/server/game/Handlers/LFGHandler.cpp @@ -72,7 +72,7 @@ void BuildQuestReward(WorldPacket& data, Quest const* quest, Player* player) { if (uint32 itemId = quest->RewardItemId[i]) { - ItemTemplate const* item = sObjectMgr->GetItemTemplate(itemId); + //ItemTemplate const* item = sObjectMgr->GetItemTemplate(itemId); data << uint32(itemId); data << uint32(/*item ? item->DisplayInfoID :*/ 0); data << uint32(quest->RewardItemCount[i]); diff --git a/src/server/game/Handlers/MiscHandler.cpp b/src/server/game/Handlers/MiscHandler.cpp index 33b9d8fe461..6d813f88cdc 100644 --- a/src/server/game/Handlers/MiscHandler.cpp +++ b/src/server/game/Handlers/MiscHandler.cpp @@ -63,7 +63,7 @@ #include "AchievementPackets.h" #include "WhoPackets.h" -void WorldSession::HandleRepopRequest(WorldPackets::Misc::RepopRequest& packet) +void WorldSession::HandleRepopRequest(WorldPackets::Misc::RepopRequest& /*packet*/) { TC_LOG_DEBUG("network", "WORLD: Recvd CMSG_REPOP_REQUEST Message"); @@ -545,7 +545,7 @@ void WorldSession::HandleBugReportOpcode(WorldPacket& recvData) CharacterDatabase.Execute(stmt); } -void WorldSession::HandleReclaimCorpse(WorldPackets::Misc::ReclaimCorpse& packet) +void WorldSession::HandleReclaimCorpse(WorldPackets::Misc::ReclaimCorpse& /*packet*/) { TC_LOG_DEBUG("network", "WORLD: Received CMSG_RECLAIM_CORPSE"); diff --git a/src/server/game/Handlers/MovementHandler.cpp b/src/server/game/Handlers/MovementHandler.cpp index c47fe33e3b2..c703e02a95c 100644 --- a/src/server/game/Handlers/MovementHandler.cpp +++ b/src/server/game/Handlers/MovementHandler.cpp @@ -369,8 +369,6 @@ void WorldSession::HandleMovementOpcodes(WorldPackets::Movement::ClientPlayerMov plrMover->UpdateFallInformationIfNeed(movementInfo, opcode); - AreaTableEntry const* zone = GetAreaEntryByAreaID(plrMover->GetAreaId()); - if (movementInfo.pos.GetPositionZ() < MAX_MAP_DEPTH) { if (!(plrMover->GetBattleground() && plrMover->GetBattleground()->HandlePlayerUnderMap(_player))) @@ -392,22 +390,16 @@ void WorldSession::HandleMovementOpcodes(WorldPackets::Movement::ClientPlayerMov } } -void WorldSession::HandleForceSpeedChangeAck(WorldPacket &recvData) +void WorldSession::HandleForceSpeedChangeAck(WorldPackets::Movement::MovementSpeedAck& packet) { - /* extract packet */ - MovementInfo movementInfo; - static MovementStatusElements const speedElement = MSEExtraFloat; - Movement::ExtraMovementStatusElement extras(&speedElement); - GetPlayer()->ReadMovementInfo(recvData, &movementInfo, &extras); + OpcodeClient opcode = packet.GetOpcode(); // now can skip not our packet - if (_player->GetGUID() != movementInfo.guid) + if (_player->GetGUID() != packet.movementInfo.guid) { - recvData.rfinish(); // prevent warnings spam return; } - float newspeed = extras.Data.floatData; /*----------------*/ // client ACK send one packet for mounted/run case and need skip all except last from its @@ -427,21 +419,21 @@ void WorldSession::HandleForceSpeedChangeAck(WorldPacket &recvData) "PitchRate" }; - switch (recvData.GetOpcode()) + switch (opcode) { - /* + case CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK: move_type = MOVE_WALK; break; case CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK: move_type = MOVE_RUN; break; case CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK: move_type = MOVE_RUN_BACK; break; case CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK: move_type = MOVE_SWIM; break; - case CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK: move_type = MOVE_SWIM_BACK; break; - case CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK: move_type = MOVE_TURN_RATE; break; + //case CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK: move_type = MOVE_SWIM_BACK; break; + //case CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK: move_type = MOVE_TURN_RATE; break; case CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK: move_type = MOVE_FLIGHT; break; - case CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK: move_type = MOVE_FLIGHT_BACK; break; - case CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK: move_type = MOVE_PITCH_RATE; break; - */ + //case CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK: move_type = MOVE_FLIGHT_BACK; break; + //case CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK: move_type = MOVE_PITCH_RATE; break; + default: - TC_LOG_ERROR("network", "WorldSession::HandleForceSpeedChangeAck: Unknown move type opcode: %u", recvData.GetOpcode()); + TC_LOG_ERROR("network", "WorldSession::HandleForceSpeedChangeAck: Unknown move type opcode: %u", opcode); return; } @@ -454,50 +446,30 @@ void WorldSession::HandleForceSpeedChangeAck(WorldPacket &recvData) return; } - if (!_player->GetTransport() && std::fabs(_player->GetSpeed(move_type) - newspeed) > 0.01f) + if (!_player->GetTransport() && std::fabs(_player->GetSpeed(move_type) - packet.Speed) > 0.01f) { - if (_player->GetSpeed(move_type) > newspeed) // must be greater - just correct + if (_player->GetSpeed(move_type) > packet.Speed) // must be greater - just correct { TC_LOG_ERROR("network", "%sSpeedChange player %s is NOT correct (must be %f instead %f), force set to correct value", - move_type_name[move_type], _player->GetName().c_str(), _player->GetSpeed(move_type), newspeed); + move_type_name[move_type], _player->GetName().c_str(), _player->GetSpeed(move_type), packet.Speed); _player->SetSpeed(move_type, _player->GetSpeedRate(move_type), true); } else // must be lesser - cheating { TC_LOG_DEBUG("misc", "Player %s from account id %u kicked for incorrect speed (must be %f instead %f)", - _player->GetName().c_str(), _player->GetSession()->GetAccountId(), _player->GetSpeed(move_type), newspeed); + _player->GetName().c_str(), _player->GetSession()->GetAccountId(), _player->GetSpeed(move_type), packet.Speed); _player->GetSession()->KickPlayer(); } } } -void WorldSession::HandleSetActiveMoverOpcode(WorldPacket& recvPacket) +void WorldSession::HandleSetActiveMoverOpcode(WorldPackets::Movement::SetActiveMover& packet) { TC_LOG_DEBUG("network", "WORLD: Recvd CMSG_SET_ACTIVE_MOVER"); - ObjectGuid guid; - - guid[7] = recvPacket.ReadBit(); - guid[2] = recvPacket.ReadBit(); - guid[1] = recvPacket.ReadBit(); - guid[0] = recvPacket.ReadBit(); - guid[4] = recvPacket.ReadBit(); - guid[5] = recvPacket.ReadBit(); - guid[6] = recvPacket.ReadBit(); - guid[3] = recvPacket.ReadBit(); - - recvPacket.ReadByteSeq(guid[3]); - recvPacket.ReadByteSeq(guid[2]); - recvPacket.ReadByteSeq(guid[4]); - recvPacket.ReadByteSeq(guid[0]); - recvPacket.ReadByteSeq(guid[5]); - recvPacket.ReadByteSeq(guid[1]); - recvPacket.ReadByteSeq(guid[6]); - recvPacket.ReadByteSeq(guid[7]); - if (GetPlayer()->IsInWorld()) - if (_player->m_mover->GetGUID() != guid) - TC_LOG_DEBUG("network", "HandleSetActiveMoverOpcode: incorrect mover guid: mover is %s and should be %s" , guid.ToString().c_str(), _player->m_mover->GetGUID().ToString().c_str()); + if (_player->m_mover->GetGUID() != packet.ActiveMover) + TC_LOG_DEBUG("network", "HandleSetActiveMoverOpcode: incorrect mover guid: mover is %s and should be %s" , packet.ActiveMover.ToString().c_str(), _player->m_mover->GetGUID().ToString().c_str()); } void WorldSession::HandleMoveNotActiveMover(WorldPacket &recvData) diff --git a/src/server/game/Handlers/NPCHandler.cpp b/src/server/game/Handlers/NPCHandler.cpp index 80a2284aa7d..999b71d69a3 100644 --- a/src/server/game/Handlers/NPCHandler.cpp +++ b/src/server/game/Handlers/NPCHandler.cpp @@ -73,31 +73,6 @@ void WorldSession::SendTabardVendorActivate(ObjectGuid guid) SendPacket(packet.Write()); } -void WorldSession::HandleBankerActivateOpcode(WorldPackets::NPC::Hello& packet) -{ - TC_LOG_DEBUG("network", "WORLD: Received CMSG_BANKER_ACTIVATE"); - - Creature* unit = GetPlayer()->GetNPCIfCanInteractWith(packet.Unit, UNIT_NPC_FLAG_BANKER); - if (!unit) - { - TC_LOG_DEBUG("network", "WORLD: HandleBankerActivateOpcode - %s not found or you can not interact with him.", packet.Unit.ToString().c_str()); - return; - } - - // remove fake death - if (GetPlayer()->HasUnitState(UNIT_STATE_DIED)) - GetPlayer()->RemoveAurasByType(SPELL_AURA_FEIGN_DEATH); - - SendShowBank(packet.Unit); -} - -void WorldSession::SendShowBank(ObjectGuid guid) -{ - WorldPackets::NPC::ShowBank packet; - packet.Guid = guid; - SendPacket(packet.Write()); -} - void WorldSession::SendShowMailBox(ObjectGuid guid) { WorldPacket data(SMSG_SHOW_MAILBOX, 8); @@ -145,10 +120,8 @@ void WorldSession::SendTrainerList(ObjectGuid guid, const std::string& strTitle) // reputation discount float fDiscountMod = _player->GetReputationPriceDiscount(unit); - bool can_learn_primary_prof = GetPlayer()->GetFreePrimaryProfessionPoints() > 0; - packet.Spells.resize(trainer_spells->spellList.size()); - uint32 count = 0; + packet.Spells.reserve(trainer_spells->spellList.size()); for (TrainerSpellMap::const_iterator itr = trainer_spells->spellList.begin(); itr != trainer_spells->spellList.end(); ++itr) { TrainerSpell const* tSpell = &itr->second; @@ -168,12 +141,13 @@ void WorldSession::SendTrainerList(ObjectGuid guid, const std::string& strTitle) if (learnedSpellInfo && learnedSpellInfo->IsPrimaryProfessionFirstRank()) primary_prof_first_rank = true; } + if (!valid) continue; TrainerSpellState state = _player->GetTrainerSpellState(tSpell); - WorldPackets::NPC::TrainerListSpell& spell = packet.Spells[count]; + WorldPackets::NPC::TrainerListSpell spell; spell.SpellID = tSpell->SpellID; spell.MoneyCost = floor(tSpell->MoneyCost * fDiscountMod); spell.ReqSkillLine = tSpell->ReqSkillLine; @@ -182,39 +156,34 @@ void WorldSession::SendTrainerList(ObjectGuid guid, const std::string& strTitle) spell.Usable = (state == TRAINER_SPELL_GREEN_DISABLED ? TRAINER_SPELL_GREEN : state); uint8 maxReq = 0; - /// @todo Update this when new spell system is ready - /*for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i) + for (uint8 i = 0; i < MAX_TRAINERSPELL_ABILITY_REQS; ++i) { if (!tSpell->ReqAbility[i]) continue; + if (uint32 prevSpellId = sSpellMgr->GetPrevSpellInChain(tSpell->ReqAbility[i])) { spell.ReqAbility[maxReq] = prevSpellId; ++maxReq; } + if (maxReq == 2) break; + SpellsRequiringSpellMapBounds spellsRequired = sSpellMgr->GetSpellsRequiredForSpellBounds(tSpell->ReqAbility[i]); for (SpellsRequiringSpellMap::const_iterator itr2 = spellsRequired.first; itr2 != spellsRequired.second && maxReq < 3; ++itr2) { spell.ReqAbility[maxReq] = itr2->second; ++maxReq; } + if (maxReq == 2) break; - }*/ - while (maxReq < MAX_TRAINERSPELL_ABILITY_REQS) - { - spell.ReqAbility[maxReq] = 0; - ++maxReq; } - ++count; + packet.Spells.push_back(spell); } - // Shrink to actual data size - packet.Spells.resize(count); - SendPacket(packet.Write()); } diff --git a/src/server/game/Handlers/PetHandler.cpp b/src/server/game/Handlers/PetHandler.cpp index 280055f8337..c7e98e75dfa 100644 --- a/src/server/game/Handlers/PetHandler.cpp +++ b/src/server/game/Handlers/PetHandler.cpp @@ -33,6 +33,7 @@ #include "SpellHistory.h" #include "SpellInfo.h" #include "Player.h" +#include "SpellPackets.h" void WorldSession::HandleDismissCritter(WorldPacket& recvData) { @@ -751,54 +752,41 @@ void WorldSession::HandlePetSpellAutocastOpcode(WorldPacket& recvPacket) charmInfo->SetSpellAutocast(spellInfo, state != 0); } -void WorldSession::HandlePetCastSpellOpcode(WorldPackets::Spells::PetCastSpell& castRequest) +void WorldSession::HandlePetCastSpellOpcode(WorldPackets::Spells::PetCastSpell& petCastSpell) { - TC_LOG_DEBUG("network", "WORLD: Received CMSG_PET_CAST_SPELL"); - /* - ObjectGuid guid; - uint8 castCount; - uint32 spellId; - uint8 castFlags; - - recvPacket >> guid >> castCount >> spellId >> castFlags; - - TC_LOG_DEBUG("network", "WORLD: CMSG_PET_CAST_SPELL, %s, castCount: %u, spellId %u, castFlags %u", guid.ToString().c_str(), castCount, spellId, castFlags); + SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(petCastSpell.Cast.SpellID); + if (!spellInfo) + { + TC_LOG_ERROR("network", "WORLD: unknown PET spell id %i", petCastSpell.Cast.SpellID); + return; + } // This opcode is also sent from charmed and possessed units (players and creatures) if (!_player->GetGuardianPet() && !_player->GetCharm()) return; - Unit* caster = ObjectAccessor::GetUnit(*_player, guid); + Unit* caster = ObjectAccessor::GetUnit(*_player, petCastSpell.PetGUID); if (!caster || (caster != _player->GetGuardianPet() && caster != _player->GetCharm())) { - TC_LOG_ERROR("network", "HandlePetCastSpellOpcode: %s isn't pet of player %s (%s).", guid.ToString().c_str(), GetPlayer()->GetName().c_str(), GetPlayer()->GetGUID().ToString().c_str()); - return; - } - - SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spellId); - if (!spellInfo) - { - TC_LOG_ERROR("network", "WORLD: unknown PET spell id %i", spellId); + TC_LOG_ERROR("network", "HandlePetCastSpellOpcode: %s isn't pet of player %s (%s).", petCastSpell.PetGUID.ToString().c_str(), GetPlayer()->GetName().c_str(), GetPlayer()->GetGUID().ToString().c_str()); return; } // do not cast not learned spells - if (!caster->HasSpell(spellId) || spellInfo->IsPassive()) + if (!caster->HasSpell(spellInfo->Id) || spellInfo->IsPassive()) return; - SpellCastTargets targets; - targets.Read(recvPacket, caster); - HandleClientCastFlags(recvPacket, castFlags, targets); + SpellCastTargets targets(caster, petCastSpell.Cast); caster->ClearUnitState(UNIT_STATE_FOLLOW); Spell* spell = new Spell(caster, spellInfo, TRIGGERED_NONE); - spell->m_cast_count = castCount; // probably pending spell cast + spell->m_cast_count = petCastSpell.Cast.CastID; + spell->m_misc.Data = petCastSpell.Cast.Misc; spell->m_targets = targets; SpellCastResult result = spell->CheckPetCast(NULL); - if (result == SPELL_CAST_OK) { if (Creature* creature = caster->ToCreature()) @@ -810,22 +798,22 @@ void WorldSession::HandlePetCastSpellOpcode(WorldPackets::Spells::PetCastSpell& if (pet->getPetType() == SUMMON_PET && (urand(0, 100) < 10)) pet->SendPetTalk(PET_TALK_SPECIAL_SPELL); else - pet->SendPetAIReaction(guid); + pet->SendPetAIReaction(petCastSpell.PetGUID); } } - spell->prepare(&(spell->m_targets)); + spell->prepare(&targets); } else { spell->SendPetCastResult(result); - if (!caster->GetSpellHistory()->HasCooldown(spellId)) - caster->GetSpellHistory()->ResetCooldown(spellId, true); + if (!caster->GetSpellHistory()->HasCooldown(spellInfo->Id)) + caster->GetSpellHistory()->ResetCooldown(spellInfo->Id, true); spell->finish(false); delete spell; - }*/ + } } void WorldSession::SendPetNameInvalid(uint32 error, const std::string& name, DeclinedName *declinedName) @@ -840,15 +828,3 @@ void WorldSession::SendPetNameInvalid(uint32 error, const std::string& name, Dec SendPacket(&data); } - -void WorldSession::HandlePetLearnTalent(WorldPacket& recvData) -{ - /* TODO: 6.x remove pet talents (add pet specializations) - - ObjectGuid guid; - uint32 talentId, requestedRank; - recvData >> guid >> talentId >> requestedRank; - - _player->LearnPetTalent(guid, talentId, requestedRank); - _player->SendTalentsInfoData(true);*/ -} diff --git a/src/server/game/Handlers/PetitionsHandler.cpp b/src/server/game/Handlers/PetitionsHandler.cpp index 6dd8d95bbf6..97935d5837e 100644 --- a/src/server/game/Handlers/PetitionsHandler.cpp +++ b/src/server/game/Handlers/PetitionsHandler.cpp @@ -241,7 +241,6 @@ void WorldSession::HandlePetitionRenameGuild(WorldPackets::Petition::PetitionRen TC_LOG_DEBUG("network", "Received CMSG_PETITION_RENAME_GUILD"); TC_LOG_DEBUG("network", "Received opcode CMSG_PETITION_RENAME_GUILD"); - uint8 type = 0; Item* item = _player->GetItemByGuid(packet.PetitionGuid); if (!item) return; @@ -292,7 +291,7 @@ void WorldSession::HandleSignPetition(WorldPackets::Petition::SignPetition& pack Field* fields = result->Fetch(); ObjectGuid ownerGuid = ObjectGuid::Create<HighGuid::Player>(fields[0].GetUInt64()); - uint64 signs = fields[1].GetUInt64(); + //uint64 signs = fields[1].GetUInt64(); if (ownerGuid == _player->GetGUID()) return; diff --git a/src/server/game/Handlers/QuestHandler.cpp b/src/server/game/Handlers/QuestHandler.cpp index 56126fb9250..df5fae683fe 100644 --- a/src/server/game/Handlers/QuestHandler.cpp +++ b/src/server/game/Handlers/QuestHandler.cpp @@ -619,7 +619,7 @@ void WorldSession::HandleQuestgiverStatusMultipleQuery(WorldPackets::Quest::Ques WorldPackets::Quest::QuestGiverStatusMultiple response; - for (GuidSet::const_iterator itr = _player->m_clientGUIDs.begin(); itr != _player->m_clientGUIDs.end(); ++itr) + for (auto itr = _player->m_clientGUIDs.begin(); itr != _player->m_clientGUIDs.end(); ++itr) { if (itr->IsAnyTypeCreature()) { diff --git a/src/server/game/Handlers/SpellHandler.cpp b/src/server/game/Handlers/SpellHandler.cpp index 0553d99dd8f..1cbfd7057b7 100644 --- a/src/server/game/Handlers/SpellHandler.cpp +++ b/src/server/game/Handlers/SpellHandler.cpp @@ -129,42 +129,35 @@ void WorldSession::HandleUseItemOpcode(WorldPackets::Spells::UseItem& packet) } } -void WorldSession::HandleOpenItemOpcode(WorldPacket& recvPacket) +void WorldSession::HandleOpenItemOpcode(WorldPackets::Spells::OpenItem& packet) { - TC_LOG_DEBUG("network", "WORLD: CMSG_OPEN_ITEM packet, data length = %i", (uint32)recvPacket.size()); - - Player* pUser = _player; + Player* player = _player; // ignore for remote control state - if (pUser->m_mover != pUser) + if (player->m_mover != player) return; + TC_LOG_INFO("network", "bagIndex: %u, slot: %u", packet.Slot, packet.PackSlot); - uint8 bagIndex, slot; - - recvPacket >> bagIndex >> slot; - - TC_LOG_INFO("network", "bagIndex: %u, slot: %u", bagIndex, slot); - - Item* item = pUser->GetItemByPos(bagIndex, slot); + Item* item = player->GetItemByPos(packet.Slot, packet.PackSlot); if (!item) { - pUser->SendEquipError(EQUIP_ERR_ITEM_NOT_FOUND, NULL, NULL); + player->SendEquipError(EQUIP_ERR_ITEM_NOT_FOUND, NULL, NULL); return; } ItemTemplate const* proto = item->GetTemplate(); if (!proto) { - pUser->SendEquipError(EQUIP_ERR_ITEM_NOT_FOUND, item, NULL); + player->SendEquipError(EQUIP_ERR_ITEM_NOT_FOUND, item, NULL); return; } // Verify that the bag is an actual bag or wrapped item that can be used "normally" if (!(proto->GetFlags() & ITEM_PROTO_FLAG_OPENABLE) && !item->HasFlag(ITEM_FIELD_FLAGS, ITEM_FLAG_WRAPPED)) { - pUser->SendEquipError(EQUIP_ERR_CLIENT_LOCKED_OUT, item, NULL); + player->SendEquipError(EQUIP_ERR_CLIENT_LOCKED_OUT, item, NULL); TC_LOG_ERROR("network", "Possible hacking attempt: Player %s [%s] tried to open item [%s, entry: %u] which is not openable!", - pUser->GetName().c_str(), pUser->GetGUID().ToString().c_str(), item->GetGUID().ToString().c_str(), proto->GetId()); + player->GetName().c_str(), player->GetGUID().ToString().c_str(), item->GetGUID().ToString().c_str(), proto->GetId()); return; } @@ -176,7 +169,7 @@ void WorldSession::HandleOpenItemOpcode(WorldPacket& recvPacket) if (!lockInfo) { - pUser->SendEquipError(EQUIP_ERR_ITEM_LOCKED, item, NULL); + player->SendEquipError(EQUIP_ERR_ITEM_LOCKED, item, NULL); TC_LOG_ERROR("network", "WORLD::OpenItem: item [%s] has an unknown lockId: %u!", item->GetGUID().ToString().c_str(), lockId); return; } @@ -184,7 +177,7 @@ void WorldSession::HandleOpenItemOpcode(WorldPacket& recvPacket) // was not unlocked yet if (item->IsLocked()) { - pUser->SendEquipError(EQUIP_ERR_ITEM_LOCKED, item, NULL); + player->SendEquipError(EQUIP_ERR_ITEM_LOCKED, item, NULL); return; } } @@ -206,12 +199,12 @@ void WorldSession::HandleOpenItemOpcode(WorldPacket& recvPacket) item->SetGuidValue(ITEM_FIELD_GIFTCREATOR, ObjectGuid::Empty); item->SetEntry(entry); item->SetUInt32Value(ITEM_FIELD_FLAGS, flags); - item->SetState(ITEM_CHANGED, pUser); + item->SetState(ITEM_CHANGED, player); } else { TC_LOG_ERROR("network", "Wrapped item %s don't have record in character_gifts table and will deleted", item->GetGUID().ToString().c_str()); - pUser->DestroyItem(item->GetBagSlot(), item->GetSlot(), true); + player->DestroyItem(item->GetBagSlot(), item->GetSlot(), true); return; } @@ -222,7 +215,7 @@ void WorldSession::HandleOpenItemOpcode(WorldPacket& recvPacket) CharacterDatabase.Execute(stmt); } else - pUser->SendLoot(item->GetGUID(), LOOT_CORPSE); + player->SendLoot(item->GetGUID(), LOOT_CORPSE); } void WorldSession::HandleGameObjectUseOpcode(WorldPackets::GameObject::GameObjectUse& packet) @@ -344,7 +337,7 @@ void WorldSession::HandleCancelAuraOpcode(WorldPackets::Spells::CancelAura& canc if (spellInfo->IsChanneled()) { if (Spell* curSpell = _player->GetCurrentSpell(CURRENT_CHANNELED_SPELL)) - if (curSpell->GetSpellInfo()->Id == cancelAura.SpellID) + if (curSpell->GetSpellInfo()->Id == uint32(cancelAura.SpellID)) _player->InterruptSpell(CURRENT_CHANNELED_SPELL); return; } diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp index 904da4c0d3c..280d95f6f76 100644 --- a/src/server/game/Instances/InstanceScript.cpp +++ b/src/server/game/Instances/InstanceScript.cpp @@ -191,6 +191,12 @@ void InstanceScript::UpdateDoorState(GameObject* door) door->SetGoState(open ? GO_STATE_ACTIVE : GO_STATE_READY); } +BossInfo* InstanceScript::GetBossInfo(uint32 id) +{ + ASSERT(id < bosses.size()); + return &bosses[id]; +} + void InstanceScript::AddObject(Creature* obj, bool add) { ObjectInfoMap::const_iterator j = _creatureInfo.find(obj->GetEntry()); diff --git a/src/server/game/Instances/InstanceScript.h b/src/server/game/Instances/InstanceScript.h index acd511a402b..8c34e37976c 100644 --- a/src/server/game/Instances/InstanceScript.h +++ b/src/server/game/Instances/InstanceScript.h @@ -261,12 +261,16 @@ class InstanceScript : public ZoneScript void AddObject(GameObject* obj, bool add); void AddObject(WorldObject* obj, uint32 type, bool add); - void AddDoor(GameObject* door, bool add); + virtual void AddDoor(GameObject* door, bool add); void AddMinion(Creature* minion, bool add); - void UpdateDoorState(GameObject* door); + virtual void UpdateDoorState(GameObject* door); void UpdateMinionState(Creature* minion, EncounterState state); + // Exposes private data that should never be modified unless exceptional cases. + // Pay very much attention at how the returned BossInfo data is modified to avoid issues. + BossInfo* GetBossInfo(uint32 id); + // Instance Load and Save bool ReadSaveDataHeaders(std::istringstream& data); void ReadSaveDataBossStates(std::istringstream& data); diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index 0b106c0b391..d15b54b9b6c 100644 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -136,9 +136,9 @@ void Map::LoadMMap(int gx, int gy) bool mmapLoadResult = MMAP::MMapFactory::createOrGetMMapManager()->loadMap((sWorld->GetDataPath() + "mmaps").c_str(), GetId(), gx, gy); if (mmapLoadResult) - TC_LOG_INFO("maps", "MMAP loaded name:%s, id:%d, x:%d, y:%d (mmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); + TC_LOG_DEBUG("maps", "MMAP loaded name:%s, id:%d, x:%d, y:%d (mmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); else - TC_LOG_INFO("maps", "Could not load MMAP name:%s, id:%d, x:%d, y:%d (mmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); + TC_LOG_ERROR("maps", "Could not load MMAP name:%s, id:%d, x:%d, y:%d (mmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); } void Map::LoadVMap(int gx, int gy) @@ -150,10 +150,10 @@ void Map::LoadVMap(int gx, int gy) switch (vmapLoadResult) { case VMAP::VMAP_LOAD_RESULT_OK: - TC_LOG_INFO("maps", "VMAP loaded name:%s, id:%d, x:%d, y:%d (vmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); + TC_LOG_DEBUG("maps", "VMAP loaded name:%s, id:%d, x:%d, y:%d (vmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); break; case VMAP::VMAP_LOAD_RESULT_ERROR: - TC_LOG_INFO("maps", "Could not load VMAP name:%s, id:%d, x:%d, y:%d (vmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); + TC_LOG_ERROR("maps", "Could not load VMAP name:%s, id:%d, x:%d, y:%d (vmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); break; case VMAP::VMAP_LOAD_RESULT_IGNORED: TC_LOG_DEBUG("maps", "Ignored VMAP name:%s, id:%d, x:%d, y:%d (vmap rep.: x:%d, y:%d)", GetMapName(), GetId(), gx, gy, gx, gy); @@ -183,7 +183,7 @@ void Map::LoadMap(int gx, int gy, bool reload) //map already load, delete it before reloading (Is it necessary? Do we really need the ability the reload maps during runtime?) if (GridMaps[gx][gy]) { - TC_LOG_INFO("maps", "Unloading previously loaded map %u before reloading.", GetId()); + TC_LOG_DEBUG("maps", "Unloading previously loaded map %u before reloading.", GetId()); sScriptMgr->OnUnloadGridMap(this, GridMaps[gx][gy], gx, gy); delete (GridMaps[gx][gy]); @@ -195,7 +195,7 @@ void Map::LoadMap(int gx, int gy, bool reload) int len = sWorld->GetDataPath().length() + strlen("maps/%03u%02u%02u.map") + 1; tmp = new char[len]; snprintf(tmp, len, (char *)(sWorld->GetDataPath() + "maps/%03u%02u%02u.map").c_str(), GetId(), gx, gy); - TC_LOG_INFO("maps", "Loading map %s", tmp); + TC_LOG_DEBUG("maps", "Loading map %s", tmp); // loading data GridMaps[gx][gy] = new GridMap(); if (!GridMaps[gx][gy]->loadData(tmp)) @@ -2511,7 +2511,7 @@ void Map::UpdateObjectsVisibilityFor(Player* player, Cell cell, CellCoord cellpa void Map::SendInitSelf(Player* player) { - TC_LOG_INFO("maps", "Creating player data for himself %s", player->GetGUID().ToString().c_str()); + TC_LOG_DEBUG("maps", "Creating player data for himself %s", player->GetGUID().ToString().c_str()); UpdateData data(player->GetMapId()); @@ -2888,7 +2888,7 @@ bool InstanceMap::CanEnter(Player* player) uint32 maxPlayers = GetMaxPlayers(); if (GetPlayersCountExceptGMs() >= maxPlayers) { - TC_LOG_INFO("maps", "MAP: Instance '%u' of map '%s' cannot have more than '%u' players. Player '%s' rejected", GetInstanceId(), GetMapName(), maxPlayers, player->GetName().c_str()); + TC_LOG_WARN("maps", "MAP: Instance '%u' of map '%s' cannot have more than '%u' players. Player '%s' rejected", GetInstanceId(), GetMapName(), maxPlayers, player->GetName().c_str()); player->SendTransferAborted(GetId(), TRANSFER_ABORT_MAX_PLAYERS); return false; } @@ -2957,7 +2957,7 @@ bool InstanceMap::AddPlayerToMap(Player* player) InstanceSave* mapSave = sInstanceSaveMgr->GetInstanceSave(GetInstanceId()); if (!mapSave) { - TC_LOG_INFO("maps", "InstanceMap::Add: creating instance save for map %d spawnmode %d with instance id %d", GetId(), GetSpawnMode(), GetInstanceId()); + TC_LOG_DEBUG("maps", "InstanceMap::Add: creating instance save for map %d spawnmode %d with instance id %d", GetId(), GetSpawnMode(), GetInstanceId()); mapSave = sInstanceSaveMgr->AddInstanceSave(GetId(), GetInstanceId(), Difficulty(GetSpawnMode()), 0, true); } @@ -3034,7 +3034,7 @@ bool InstanceMap::AddPlayerToMap(Player* player) // first player enters (no players yet) SetResetSchedule(false); - TC_LOG_INFO("maps", "MAP: Player '%s' entered instance '%u' of map '%s'", player->GetName().c_str(), GetInstanceId(), GetMapName()); + TC_LOG_DEBUG("maps", "MAP: Player '%s' entered instance '%u' of map '%s'", player->GetName().c_str(), GetInstanceId(), GetMapName()); // initialize unload state m_unloadTimer = 0; m_resetAfterUnload = false; @@ -3060,7 +3060,7 @@ void InstanceMap::Update(const uint32 t_diff) void InstanceMap::RemovePlayerFromMap(Player* player, bool remove) { - TC_LOG_INFO("maps", "MAP: Removing player '%s' from instance '%u' of map '%s' before relocating to another map", player->GetName().c_str(), GetInstanceId(), GetMapName()); + TC_LOG_DEBUG("maps", "MAP: Removing player '%s' from instance '%u' of map '%s' before relocating to another map", player->GetName().c_str(), GetInstanceId(), GetMapName()); //if last player set unload timer if (!m_unloadTimer && m_mapRefManager.getSize() == 1) m_unloadTimer = m_unloadWhenEmpty ? MIN_UNLOAD_DELAY : std::max(sWorld->getIntConfig(CONFIG_INSTANCE_UNLOAD_DELAY), (uint32)MIN_UNLOAD_DELAY); @@ -3312,7 +3312,7 @@ bool BattlegroundMap::AddPlayerToMap(Player* player) void BattlegroundMap::RemovePlayerFromMap(Player* player, bool remove) { - TC_LOG_INFO("maps", "MAP: Removing player '%s' from bg '%u' of map '%s' before relocating to another map", player->GetName().c_str(), GetInstanceId(), GetMapName()); + TC_LOG_DEBUG("maps", "MAP: Removing player '%s' from bg '%u' of map '%s' before relocating to another map", player->GetName().c_str(), GetInstanceId(), GetMapName()); Map::RemovePlayerFromMap(player, remove); } diff --git a/src/server/game/Miscellaneous/Language.h b/src/server/game/Miscellaneous/Language.h index 446ee2606e1..0e89c3f7a0d 100644 --- a/src/server/game/Miscellaneous/Language.h +++ b/src/server/game/Miscellaneous/Language.h @@ -215,7 +215,9 @@ enum TrinityStrings LANG_PHASING_PHASEMASK = 182, LANG_PHASING_REPORT_STATUS = 183, LANG_PHASING_NO_DEFINITIONS = 184, // Phasing - // Room for more level 1 185-199 not used + + LANG_GRID_POSITION = 185, + // Room for more level 1 186-199 not used // level 2 chat LANG_NO_SELECTION = 200, diff --git a/src/server/game/Miscellaneous/SharedDefines.h b/src/server/game/Miscellaneous/SharedDefines.h index 5142eebbaa2..0f01ba2dfae 100644 --- a/src/server/game/Miscellaneous/SharedDefines.h +++ b/src/server/game/Miscellaneous/SharedDefines.h @@ -1252,7 +1252,13 @@ enum SpellEffectName SPELL_EFFECT_242 = 242, SPELL_EFFECT_243 = 243, SPELL_EFFECT_244 = 244, - TOTAL_SPELL_EFFECTS = 245, + SPELL_EFFECT_245 = 245, + SPELL_EFFECT_246 = 246, + SPELL_EFFECT_247 = 247, + SPELL_EFFECT_248 = 248, + SPELL_EFFECT_249 = 249, + SPELL_EFFECT_250 = 250, + TOTAL_SPELL_EFFECTS = 251, }; enum SpellCastResult // 19702 @@ -1984,6 +1990,26 @@ enum Targets TARGET_UNK_125 = 125, TARGET_UNK_126 = 126, TARGET_UNK_127 = 127, + TARGET_UNK_128 = 128, + TARGET_UNK_129 = 129, + TARGET_UNK_130 = 130, + TARGET_UNK_131 = 131, + TARGET_UNK_132 = 132, + TARGET_UNK_133 = 133, + TARGET_UNK_134 = 134, + TARGET_UNK_135 = 135, + TARGET_UNK_136 = 136, + TARGET_UNK_137 = 137, + TARGET_UNK_138 = 138, + TARGET_UNK_139 = 139, + TARGET_UNK_140 = 140, + TARGET_UNK_141 = 141, + TARGET_UNK_142 = 142, + TARGET_UNK_143 = 143, + TARGET_UNK_144 = 144, + TARGET_UNK_145 = 145, + TARGET_UNK_146 = 146, + TARGET_UNK_147 = 147, TOTAL_SPELL_TARGETS }; diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp index 7eb38f3e637..5177bf5c9de 100644 --- a/src/server/game/Movement/MotionMaster.cpp +++ b/src/server/game/Movement/MotionMaster.cpp @@ -381,6 +381,43 @@ void MotionMaster::MoveJump(float x, float y, float z, float speedXY, float spee Mutate(new EffectMovementGenerator(id), MOTION_SLOT_CONTROLLED); } +void MotionMaster::MoveCirclePath(float x, float y, float z, float radius, bool clockwise, uint8 stepCount) +{ + float step = 2 * float(M_PI) / stepCount * (clockwise ? -1.0f : 1.0f); + Position const& pos = { x, y, z, 0.0f }; + float angle = pos.GetAngle(_owner->GetPositionX(), _owner->GetPositionY()); + + Movement::MoveSplineInit init(_owner); + + for (uint8 i = 0; i < stepCount; angle += step, ++i) + { + G3D::Vector3 point; + point.x = x + radius * cosf(angle); + point.y = y + radius * sinf(angle); + + if (_owner->IsFlying()) + point.z = z; + else + point.z = _owner->GetMap()->GetHeight(_owner->GetPhaseMask(), point.x, point.y, z); + + init.Path().push_back(point); + } + + if (_owner->IsFlying()) + { + init.SetFly(); + init.SetCyclic(); + init.SetAnimation(Movement::ToFly); + } + else + { + init.SetWalk(true); + init.SetCyclic(); + } + + init.Launch(); +} + void MotionMaster::MoveFall(uint32 id /*=0*/) { // use larger distance for vmap height search than in most other cases diff --git a/src/server/game/Movement/MotionMaster.h b/src/server/game/Movement/MotionMaster.h index 2821cd5a59b..0b547d96e7f 100644 --- a/src/server/game/Movement/MotionMaster.h +++ b/src/server/game/Movement/MotionMaster.h @@ -184,6 +184,7 @@ class MotionMaster //: private std::stack<MovementGenerator *> void MoveJump(Position const& pos, float speedXY, float speedZ, uint32 id = EVENT_JUMP) { MoveJump(pos.m_positionX, pos.m_positionY, pos.m_positionZ, speedXY, speedZ, id); }; void MoveJump(float x, float y, float z, float speedXY, float speedZ, uint32 id = EVENT_JUMP); + void MoveCirclePath(float x, float y, float z, float radius, bool clockwise, uint8 stepCount); void MoveFall(uint32 id = 0); void MoveSeekAssistance(float x, float y, float z); diff --git a/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp b/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp index 9c17a2277c0..0222087c168 100755 --- a/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp +++ b/src/server/game/Movement/MovementGenerators/WaypointMovementGenerator.cpp @@ -382,9 +382,9 @@ void FlightPathMovementGenerator::PreloadEndGrid() // Load the grid if (endMap) { - TC_LOG_INFO("misc", "Preloading rid (%f, %f) for map %u at node index %u/%u", _endGridX, _endGridY, _endMapId, _preloadTargetNode, (uint32)(i_path->size()-1)); + TC_LOG_DEBUG("misc", "Preloading rid (%f, %f) for map %u at node index %u/%u", _endGridX, _endGridY, _endMapId, _preloadTargetNode, (uint32)(i_path->size()-1)); endMap->LoadGrid(_endGridX, _endGridY); } else - TC_LOG_INFO("misc", "Unable to determine map to preload flightmaster grid"); + TC_LOG_DEBUG("misc", "Unable to determine map to preload flightmaster grid"); } diff --git a/src/server/game/Quests/QuestDef.cpp b/src/server/game/Quests/QuestDef.cpp index cd5b79c95c3..da0830734e5 100644 --- a/src/server/game/Quests/QuestDef.cpp +++ b/src/server/game/Quests/QuestDef.cpp @@ -334,7 +334,7 @@ bool Quest::IsAllowedInRaid(Difficulty difficulty) const return sWorld->getBoolConfig(CONFIG_QUEST_IGNORE_RAID); } -uint32 Quest::CalculateHonorGain(uint8 level) const +uint32 Quest::CalculateHonorGain(uint8 /*level*/) const { uint32 honor = 0; diff --git a/src/server/game/Scripting/ScriptLoader.cpp b/src/server/game/Scripting/ScriptLoader.cpp index 603089b0a6b..553c752ccce 100644 --- a/src/server/game/Scripting/ScriptLoader.cpp +++ b/src/server/game/Scripting/ScriptLoader.cpp @@ -368,7 +368,6 @@ void AddSC_dustwallow_marsh(); void AddSC_felwood(); void AddSC_feralas(); void AddSC_moonglade(); -void AddSC_mulgore(); void AddSC_orgrimmar(); void AddSC_silithus(); void AddSC_stonetalon_mountains(); @@ -1090,7 +1089,6 @@ void AddKalimdorScripts() AddSC_felwood(); AddSC_feralas(); AddSC_moonglade(); - AddSC_mulgore(); AddSC_orgrimmar(); AddSC_silithus(); AddSC_stonetalon_mountains(); diff --git a/src/server/game/Server/Packets/BankPackets.cpp b/src/server/game/Server/Packets/BankPackets.cpp new file mode 100644 index 00000000000..0f6af30bed0 --- /dev/null +++ b/src/server/game/Server/Packets/BankPackets.cpp @@ -0,0 +1,38 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "BankPackets.h" +#include "ItemPackets.h" + +void WorldPackets::Bank::AutoBankItem::Read() +{ + _worldPacket >> Inv + >> Bag + >> Slot; +} + +void WorldPackets::Bank::AutoStoreBankItem::Read() +{ + _worldPacket >> Inv + >> Bag + >> Slot; +} + +void WorldPackets::Bank::BuyBankSlot::Read() +{ + _worldPacket >> Guid; +} diff --git a/src/server/game/Server/Packets/BankPackets.h b/src/server/game/Server/Packets/BankPackets.h new file mode 100644 index 00000000000..dc7883c3643 --- /dev/null +++ b/src/server/game/Server/Packets/BankPackets.h @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef BankPackets_h__ +#define BankPackets_h__ + +#include "ItemPackets.h" +#include "Packet.h" +#include "ObjectGuid.h" +#include "WorldSession.h" + +namespace WorldPackets +{ + namespace Bank + { + class AutoBankItem final : public ClientPacket + { + public: + AutoBankItem(WorldPacket&& packet) : ClientPacket(CMSG_AUTOBANK_ITEM, std::move(packet)) { } + + void Read() override; + + WorldPackets::Item::InvUpdate Inv; + uint8 Bag = 0; + uint8 Slot = 0; + }; + + class AutoStoreBankItem final : public ClientPacket + { + public: + AutoStoreBankItem(WorldPacket&& packet) : ClientPacket(CMSG_AUTOSTORE_BANK_ITEM, std::move(packet)) { } + + void Read() override; + + WorldPackets::Item::InvUpdate Inv; + uint8 Bag = 0; + uint8 Slot = 0; + }; + + class BuyBankSlot final : public ClientPacket + { + public: + BuyBankSlot(WorldPacket&& packet) : ClientPacket(CMSG_BUY_BANK_SLOT, std::move(packet)) { } + + void Read() override; + + ObjectGuid Guid; + }; + } +} +#endif // BankPackets_h__ diff --git a/src/server/game/Server/Packets/GuildPackets.cpp b/src/server/game/Server/Packets/GuildPackets.cpp index ef0c01c5cb7..82b003fef23 100644 --- a/src/server/game/Server/Packets/GuildPackets.cpp +++ b/src/server/game/Server/Packets/GuildPackets.cpp @@ -509,6 +509,7 @@ WorldPacket const* WorldPackets::Guild::GuildPartyState::Write() ByteBuffer& operator<<(ByteBuffer& data, WorldPackets::Guild::GuildRewardItem const& rewardItem) { data << rewardItem.ItemID; + data << rewardItem.Unk4; data << uint32(rewardItem.AchievementsRequired.size()); data << rewardItem.RaceMask; data << rewardItem.MinGuildLevel; diff --git a/src/server/game/Server/Packets/GuildPackets.h b/src/server/game/Server/Packets/GuildPackets.h index 9d146587c46..ff59831612a 100644 --- a/src/server/game/Server/Packets/GuildPackets.h +++ b/src/server/game/Server/Packets/GuildPackets.h @@ -671,6 +671,7 @@ namespace WorldPackets struct GuildRewardItem { uint32 ItemID = 0; + uint32 Unk4 = 0; std::vector<uint32> AchievementsRequired; uint32 RaceMask = 0; int32 MinGuildLevel = 0; diff --git a/src/server/game/Server/Packets/ItemPackets.cpp b/src/server/game/Server/Packets/ItemPackets.cpp index e9a0c213aee..57620737190 100644 --- a/src/server/game/Server/Packets/ItemPackets.cpp +++ b/src/server/game/Server/Packets/ItemPackets.cpp @@ -208,7 +208,7 @@ WorldPacket const* WorldPackets::Item::InventoryChangeFailure::Write() _worldPacket << int8(BagResult); _worldPacket << Item[0]; _worldPacket << Item[1]; - _worldPacket << uint8(ContainerBSlot); // bag type subclass, used with EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM and EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2 + _worldPacket << uint8(ContainerBSlot); // bag type subclass, used with EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM and EQUIP_ERR_WRONG_BAG_TYPE_2 switch (BagResult) { @@ -216,7 +216,16 @@ WorldPacket const* WorldPackets::Item::InventoryChangeFailure::Write() case EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW: _worldPacket << int32(Level); break; - /// @todo: add more cases + case EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM: + _worldPacket << SrcContainer; + _worldPacket << int32(SrcSlot); + _worldPacket << DstContainer; + break; + case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED_IS: + case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED_IS: + case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED_IS: + _worldPacket << int32(LimitCategory); + break; default: break; } diff --git a/src/server/game/Server/Packets/MailPackets.cpp b/src/server/game/Server/Packets/MailPackets.cpp index d558b4682c1..425feac5d9f 100644 --- a/src/server/game/Server/Packets/MailPackets.cpp +++ b/src/server/game/Server/Packets/MailPackets.cpp @@ -240,8 +240,6 @@ WorldPackets::Mail::MailQueryNextTimeResult::MailNextTimeEntry::MailNextTimeEntr { case MAIL_NORMAL: SenderGuid = ObjectGuid::Create<HighGuid::Player>(mail->sender); - SenderHint.NativeRealmAddress.Set(GetVirtualRealmAddress()); - SenderHint.VirtualRealmAddress.Set(GetVirtualRealmAddress()); break; case MAIL_AUCTION: case MAIL_CREATURE: @@ -264,8 +262,6 @@ WorldPacket const* WorldPackets::Mail::MailQueryNextTimeResult::Write() for (auto const& entry : Next) { _worldPacket << entry.SenderGuid; - _worldPacket << entry.SenderHint; - _worldPacket << float(entry.TimeLeft); _worldPacket << int32(entry.AltSenderID); _worldPacket << int8(entry.AltSenderType); diff --git a/src/server/game/Server/Packets/MailPackets.h b/src/server/game/Server/Packets/MailPackets.h index 281a48b7248..e79469a76d8 100644 --- a/src/server/game/Server/Packets/MailPackets.h +++ b/src/server/game/Server/Packets/MailPackets.h @@ -223,7 +223,6 @@ namespace WorldPackets MailNextTimeEntry(::Mail const* mail); ObjectGuid SenderGuid; - Query::PlayerGuidLookupHint SenderHint; float TimeLeft = 0.0f; int32 AltSenderID = 0; int8 AltSenderType = 0; diff --git a/src/server/game/Server/Packets/MovementPackets.cpp b/src/server/game/Server/Packets/MovementPackets.cpp index edac75346f8..836c00b70ca 100644 --- a/src/server/game/Server/Packets/MovementPackets.cpp +++ b/src/server/game/Server/Packets/MovementPackets.cpp @@ -595,3 +595,28 @@ void WorldPackets::Movement::MoveTeleportAck::Read() _worldPacket >> AckIndex; _worldPacket >> MoveTime; } + +void WorldPackets::Movement::MovementAck::Read() +{ + _worldPacket >> movementInfo; + _worldPacket >> AckIndex; +} + +void WorldPackets::Movement::MovementSpeedAck::Read() +{ + _worldPacket >> movementInfo; + _worldPacket >> AckIndex; + _worldPacket >> Speed; +} + +void WorldPackets::Movement::SetActiveMover::Read() +{ + _worldPacket >> ActiveMover; +} + +WorldPacket const* WorldPackets::Movement::MoveSetActiveMover::Write() +{ + _worldPacket << MoverGUID; + + return &_worldPacket; +} diff --git a/src/server/game/Server/Packets/MovementPackets.h b/src/server/game/Server/Packets/MovementPackets.h index 85156234477..0b57cdaddb0 100644 --- a/src/server/game/Server/Packets/MovementPackets.h +++ b/src/server/game/Server/Packets/MovementPackets.h @@ -285,6 +285,49 @@ namespace WorldPackets int32 AckIndex = 0; int32 MoveTime = 0; }; + + class MovementAck final : public ClientPacket + { + public: + MovementAck(WorldPacket&& packet) : ClientPacket(std::move(packet)) { } + + void Read() override; + + MovementInfo movementInfo; + int32 AckIndex = 0; + }; + + class MovementSpeedAck final : public ClientPacket + { + public: + MovementSpeedAck(WorldPacket&& packet) : ClientPacket(std::move(packet)) { } + + void Read() override; + + MovementInfo movementInfo; + int32 AckIndex = 0; + float Speed = 0.0f; + }; + + class SetActiveMover final : public ClientPacket + { + public: + SetActiveMover(WorldPacket&& packet) : ClientPacket(CMSG_SET_ACTIVE_MOVER, std::move(packet)) { } + + void Read() override; + + ObjectGuid ActiveMover; + }; + + class MoveSetActiveMover final : public ServerPacket + { + public: + MoveSetActiveMover() : ServerPacket(SMSG_MOVE_SET_ACTIVE_MOVER, 8) { } + + WorldPacket const* Write() override; + + ObjectGuid MoverGUID; + }; } ByteBuffer& operator<<(ByteBuffer& data, Movement::MonsterSplineFilterKey const& monsterSplineFilterKey); diff --git a/src/server/game/Server/Packets/NPCPackets.h b/src/server/game/Server/Packets/NPCPackets.h index b4c7a377187..849013fb5d8 100644 --- a/src/server/game/Server/Packets/NPCPackets.h +++ b/src/server/game/Server/Packets/NPCPackets.h @@ -59,7 +59,7 @@ namespace WorldPackets int32 QuestLevel = 0; bool Repeatable = false; std::string QuestTitle; - int32 QuestFlags[2]; + int32 QuestFlags[2] = { }; }; class GossipMessage final : public ServerPacket @@ -130,7 +130,7 @@ namespace WorldPackets int32 MoneyCost = 0; int32 ReqSkillLine = 0; int32 ReqSkillRank = 0; - int32 ReqAbility[MAX_TRAINERSPELL_ABILITY_REQS]; + int32 ReqAbility[MAX_TRAINERSPELL_ABILITY_REQS] = { }; uint8 Usable = 0; uint8 ReqLevel = 0; }; diff --git a/src/server/game/Server/Packets/SpellPackets.cpp b/src/server/game/Server/Packets/SpellPackets.cpp index fabecce0d34..4dfbd67f44f 100644 --- a/src/server/game/Server/Packets/SpellPackets.cpp +++ b/src/server/game/Server/Packets/SpellPackets.cpp @@ -500,9 +500,9 @@ WorldPacket const* WorldPackets::Spells::ClearCooldowns::Write() WorldPacket const* WorldPackets::Spells::ClearCooldown::Write() { - _worldPacket << CasterGUID; _worldPacket << uint32(SpellID); _worldPacket.WriteBit(ClearOnHold); + _worldPacket.WriteBit(Unk20); _worldPacket.FlushBits(); return &_worldPacket; @@ -626,3 +626,9 @@ void WorldPackets::Spells::CancelCast::Read() _worldPacket >> SpellID; _worldPacket >> CastID; } + +void WorldPackets::Spells::OpenItem::Read() +{ + _worldPacket >> Slot + >> PackSlot; +} diff --git a/src/server/game/Server/Packets/SpellPackets.h b/src/server/game/Server/Packets/SpellPackets.h index 634f4b40e7f..865e856aa6f 100644 --- a/src/server/game/Server/Packets/SpellPackets.h +++ b/src/server/game/Server/Packets/SpellPackets.h @@ -439,9 +439,9 @@ namespace WorldPackets WorldPacket const* Write() override; - ObjectGuid CasterGUID; int32 SpellID = 0; bool ClearOnHold = false; + bool Unk20 = false; }; class ModifyCooldown final : public ServerPacket @@ -588,6 +588,17 @@ namespace WorldPackets uint32 SpellID = 0; uint8 CastID = 0; }; + + class OpenItem final : public ClientPacket + { + public: + OpenItem(WorldPacket&& packet) : ClientPacket(CMSG_OPEN_ITEM, std::move(packet)) { } + + void Read() override; + + uint8 Slot = 0; + uint8 PackSlot = 0; + }; } } diff --git a/src/server/game/Server/Protocol/Opcodes.cpp b/src/server/game/Server/Protocol/Opcodes.cpp index 7a22c3384c2..26a35c0ff18 100644 --- a/src/server/game/Server/Protocol/Opcodes.cpp +++ b/src/server/game/Server/Protocol/Opcodes.cpp @@ -20,6 +20,7 @@ #include "WorldSession.h" #include "Packets/AchievementPackets.h" #include "Packets/AuctionHousePackets.h" +#include "Packets/BankPackets.h" #include "Packets/BlackMarketPackets.h" #include "Packets/CharacterPackets.h" #include "Packets/ChannelPackets.h" @@ -178,15 +179,15 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_AUCTION_SELL_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleAuctionSellItem ); DEFINE_HANDLER(CMSG_AUTH_CONTINUED_SESSION, STATUS_NEVER, PROCESS_INPLACE, WorldPacket, &WorldSession::Handle_EarlyProccess); DEFINE_HANDLER(CMSG_AUTH_SESSION, STATUS_NEVER, PROCESS_INPLACE, WorldPacket, &WorldSession::Handle_EarlyProccess); - DEFINE_OPCODE_HANDLER_OLD(CMSG_AUTOBANK_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleAutoBankItemOpcode ); + DEFINE_HANDLER(CMSG_AUTOBANK_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Bank::AutoBankItem, &WorldSession::HandleAutoBankItemOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_AUTOEQUIP_GROUND_ITEM, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_HANDLER(CMSG_AUTOEQUIP_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Item::AutoEquipItem, &WorldSession::HandleAutoEquipItemOpcode); + DEFINE_HANDLER(CMSG_AUTOEQUIP_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Item::AutoEquipItem, &WorldSession::HandleAutoEquipItemOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_AUTOEQUIP_ITEM_SLOT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleAutoEquipItemSlotOpcode ); - DEFINE_HANDLER(CMSG_AUTOSTORE_BAG_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Item::AutoStoreBagItem, &WorldSession::HandleAutoStoreBagItemOpcode); - DEFINE_OPCODE_HANDLER_OLD(CMSG_AUTOSTORE_BANK_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleAutoStoreBankItemOpcode ); + DEFINE_HANDLER(CMSG_AUTOSTORE_BAG_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Item::AutoStoreBagItem, &WorldSession::HandleAutoStoreBagItemOpcode); + DEFINE_HANDLER(CMSG_AUTOSTORE_BANK_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Bank::AutoStoreBankItem, &WorldSession::HandleAutoStoreBankItemOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_AUTOSTORE_GROUND_ITEM, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_HANDLER(CMSG_AUTOSTORE_LOOT_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Loot::AutoStoreLootItem, &WorldSession::HandleAutostoreLootItemOpcode); - DEFINE_HANDLER(CMSG_BANKER_ACTIVATE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::NPC::Hello, &WorldSession::HandleBankerActivateOpcode); + DEFINE_HANDLER(CMSG_AUTOSTORE_LOOT_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Loot::AutoStoreLootItem, &WorldSession::HandleAutostoreLootItemOpcode); + DEFINE_HANDLER(CMSG_BANKER_ACTIVATE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::NPC::Hello, &WorldSession::HandleBankerActivateOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_BATTLEFIELD_JOIN, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_BATTLEFIELD_LEAVE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::HandleBattlefieldLeaveOpcode ); DEFINE_OPCODE_HANDLER_OLD(CMSG_BATTLEFIELD_LIST, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleBattlefieldListOpcode ); @@ -228,7 +229,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_BUG_REPORT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleBugReportOpcode ); DEFINE_OPCODE_HANDLER_OLD(CMSG_BUSY_TRADE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleBusyTradeOpcode ); DEFINE_HANDLER(CMSG_BUY_BACK_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Item::BuyBackItem, &WorldSession::HandleBuybackItem); - DEFINE_OPCODE_HANDLER_OLD(CMSG_BUY_BANK_SLOT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleBuyBankSlotOpcode ); + DEFINE_HANDLER(CMSG_BUY_BANK_SLOT, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Bank::BuyBankSlot, &WorldSession::HandleBuyBankSlotOpcode); DEFINE_HANDLER(CMSG_BUY_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Item::BuyItem, &WorldSession::HandleBuyItemOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_CAGE_BATTLE_PET, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_CALENDAR_ADD_EVENT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleCalendarAddEvent ); @@ -322,7 +323,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_DANCE_QUERY, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_DB_QUERY_BULK, STATUS_AUTHED, PROCESS_INPLACE, WorldPackets::Query::DBQueryBulk, &WorldSession::HandleDBQueryBulk); DEFINE_HANDLER(CMSG_DECLINE_GUILD_INVITES, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::DeclineGuildInvites, &WorldSession::HandleDeclineGuildInvites); - DEFINE_HANDLER(CMSG_DECLINE_PETITION, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Petition::DeclinePetition, &WorldSession::HandleDeclinePetition); + DEFINE_HANDLER(CMSG_DECLINE_PETITION, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Petition::DeclinePetition, &WorldSession::HandleDeclinePetition); DEFINE_OPCODE_HANDLER_OLD(CMSG_DELETE_EQUIPMENT_SET, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleEquipmentSetDelete ); DEFINE_HANDLER(CMSG_DEL_FRIEND, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Social::DelFriend, &WorldSession::HandleDelFriendOpcode); DEFINE_HANDLER(CMSG_DEL_IGNORE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Social::DelIgnore, &WorldSession::HandleDelIgnoreOpcode); @@ -396,7 +397,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_GROUP_CANCEL, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_GROUP_REQUEST_JOIN_UPDATES, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleGroupRequestJoinUpdates ); DEFINE_OPCODE_HANDLER_OLD(CMSG_GUILD_ADD_BATTLENET_FRIEND, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_HANDLER(CMSG_GUILD_ADD_RANK, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildAddRank, &WorldSession::HandleGuildAddRank); + DEFINE_HANDLER(CMSG_GUILD_ADD_RANK, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildAddRank, &WorldSession::HandleGuildAddRank); DEFINE_HANDLER(CMSG_GUILD_ASSIGN_MEMBER_RANK, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildAssignMemberRank, &WorldSession::HandleGuildAssignRank); DEFINE_OPCODE_HANDLER_OLD(CMSG_GUILD_AUTO_DECLINE_INVITATION, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_GUILD_BANK_ACTIVATE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildBankActivate, &WorldSession::HandleGuildBankActivate); @@ -410,10 +411,10 @@ void OpcodeTable::Initialize() DEFINE_HANDLER(CMSG_GUILD_BANK_TEXT_QUERY, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildBankTextQuery, &WorldSession::HandleGuildBankTextQuery); DEFINE_HANDLER(CMSG_GUILD_BANK_UPDATE_TAB, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildBankUpdateTab, &WorldSession::HandleGuildBankUpdateTab); DEFINE_HANDLER(CMSG_GUILD_BANK_WITHDRAW_MONEY, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildBankWithdrawMoney, &WorldSession::HandleGuildBankWithdrawMoney); - DEFINE_HANDLER(CMSG_GUILD_CHALLENGE_UPDATE_REQUEST, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildChallengeUpdateRequest, &WorldSession::HandleGuildChallengeUpdateRequest); + DEFINE_HANDLER(CMSG_GUILD_CHALLENGE_UPDATE_REQUEST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildChallengeUpdateRequest, &WorldSession::HandleGuildChallengeUpdateRequest); DEFINE_OPCODE_HANDLER_OLD(CMSG_GUILD_CHANGE_NAME_REQUEST, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_GUILD_DECLINE_INVITATION, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildDeclineInvitation, &WorldSession::HandleGuildDeclineInvitation); - DEFINE_HANDLER(CMSG_GUILD_DELETE_RANK, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildDeleteRank, &WorldSession::HandleGuildDeleteRank); + DEFINE_HANDLER(CMSG_GUILD_DELETE_RANK, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildDeleteRank, &WorldSession::HandleGuildDeleteRank); DEFINE_HANDLER(CMSG_GUILD_DEMOTE_MEMBER, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildDemoteMember, &WorldSession::HandleGuildDemoteMember); DEFINE_HANDLER(CMSG_GUILD_DELETE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildDelete, &WorldSession::HandleGuildDelete); DEFINE_HANDLER(CMSG_GUILD_EVENT_LOG_QUERY, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::GuildEventLogQuery, &WorldSession::HandleGuildEventLogQuery); @@ -430,7 +431,7 @@ void OpcodeTable::Initialize() DEFINE_HANDLER(CMSG_GUILD_QUERY, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Guild::QueryGuildInfo, &WorldSession::HandleGuildQueryOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_GUILD_QUERY_MEMBERS_FOR_RECIPE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_GUILD_QUERY_MEMBER_RECIPES, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_HANDLER(CMSG_GUILD_QUERY_NEWS, STATUS_UNHANDLED, PROCESS_INPLACE, WorldPackets::Guild::GuildQueryNews, &WorldSession::HandleGuildQueryNews); + DEFINE_HANDLER(CMSG_GUILD_QUERY_NEWS, STATUS_LOGGEDIN, PROCESS_INPLACE, WorldPackets::Guild::GuildQueryNews, &WorldSession::HandleGuildQueryNews); DEFINE_OPCODE_HANDLER_OLD(CMSG_GUILD_QUERY_RECIPES, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_GUILD_REPLACE_GUILD_MASTER, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_GUILD_REQUEST_PARTY_STATE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Guild::RequestGuildPartyState, &WorldSession::HandleGuildRequestPartyState); @@ -488,7 +489,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_LF_GUILD_SET_GUILD_POST, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleGuildFinderSetGuildPost ); DEFINE_HANDLER(CMSG_LIST_INVENTORY, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::NPC::Hello, &WorldSession::HandleListInventoryOpcode); DEFINE_HANDLER(CMSG_LOAD_SCREEN, STATUS_AUTHED, PROCESS_THREADUNSAFE, WorldPackets::Character::LoadingScreenNotify, &WorldSession::HandleLoadScreenOpcode); - DEFINE_HANDLER(CMSG_LOGOUT_CANCEL, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Character::LogoutCancel, &WorldSession::HandleLogoutCancelOpcode); + DEFINE_HANDLER(CMSG_LOGOUT_CANCEL, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Character::LogoutCancel, &WorldSession::HandleLogoutCancelOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_LOGOUT_INSTANT, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_LOGOUT_REQUEST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Character::LogoutRequest, &WorldSession::HandleLogoutRequestOpcode); DEFINE_HANDLER(CMSG_LOG_DISCONNECT, STATUS_NEVER, PROCESS_INPLACE, WorldPacket, &WorldSession::Handle_EarlyProccess); @@ -503,11 +504,11 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_LOW_LEVEL_RAID1, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_LOW_LEVEL_RAID2, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_MAIL_CREATE_TEXT_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailCreateTextItem, &WorldSession::HandleMailCreateTextItem); - DEFINE_HANDLER(CMSG_MAIL_DELETE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailDelete, &WorldSession::HandleMailDelete); - DEFINE_HANDLER(CMSG_MAIL_MARK_AS_READ, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailMarkAsRead, &WorldSession::HandleMailMarkAsRead); + DEFINE_HANDLER(CMSG_MAIL_DELETE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailDelete, &WorldSession::HandleMailDelete); + DEFINE_HANDLER(CMSG_MAIL_MARK_AS_READ, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailMarkAsRead, &WorldSession::HandleMailMarkAsRead); DEFINE_HANDLER(CMSG_MAIL_RETURN_TO_SENDER, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailReturnToSender, &WorldSession::HandleMailReturnToSender); - DEFINE_HANDLER(CMSG_MAIL_TAKE_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailTakeItem, &WorldSession::HandleMailTakeItem); - DEFINE_HANDLER(CMSG_MAIL_TAKE_MONEY, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailTakeMoney, &WorldSession::HandleMailTakeMoney); + DEFINE_HANDLER(CMSG_MAIL_TAKE_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailTakeItem, &WorldSession::HandleMailTakeItem); + DEFINE_HANDLER(CMSG_MAIL_TAKE_MONEY, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Mail::MailTakeMoney, &WorldSession::HandleMailTakeMoney); DEFINE_OPCODE_HANDLER_OLD(CMSG_MASTER_LOOT_ITEM, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_MEETINGSTONE_INFO, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_MESSAGECHAT_ADDON_CHANNEL, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); @@ -544,17 +545,17 @@ void OpcodeTable::Initialize() DEFINE_HANDLER(CMSG_MOVE_FALL_LAND, STATUS_LOGGEDIN, PROCESS_THREADSAFE, WorldPackets::Movement::ClientPlayerMovement, &WorldSession::HandleMovementOpcodes); DEFINE_HANDLER(CMSG_MOVE_FALL_RESET, STATUS_LOGGEDIN, PROCESS_THREADSAFE, WorldPackets::Movement::ClientPlayerMovement, &WorldSession::HandleMovementOpcodes); DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FEATHER_FALL_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleFeatherFallAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); + DEFINE_HANDLER(CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); + DEFINE_HANDLER(CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK, STATUS_LOGGEDIN, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); + DEFINE_HANDLER(CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_ROOT_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleMoveRootAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); + DEFINE_HANDLER(CMSG_MOVE_FORCE_RUN_BACK_SPEED_CHANGE_ACK, STATUS_LOGGEDIN, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); + DEFINE_HANDLER(CMSG_MOVE_FORCE_RUN_SPEED_CHANGE_ACK, STATUS_LOGGEDIN, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); + DEFINE_HANDLER(CMSG_MOVE_FORCE_SWIM_BACK_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); + DEFINE_HANDLER(CMSG_MOVE_FORCE_SWIM_SPEED_CHANGE_ACK, STATUS_LOGGEDIN, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); + DEFINE_HANDLER(CMSG_MOVE_FORCE_TURN_RATE_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_UNROOT_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleMoveUnRootAck ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleForceSpeedChangeAck ); + DEFINE_HANDLER(CMSG_MOVE_FORCE_WALK_SPEED_CHANGE_ACK, STATUS_LOGGEDIN, PROCESS_THREADSAFE, WorldPackets::Movement::MovementSpeedAck, &WorldSession::HandleForceSpeedChangeAck); DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_GRAVITY_DISABLE_ACK, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_GRAVITY_ENABLE_ACK, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_MOVE_HEARTBEAT, STATUS_LOGGEDIN, PROCESS_THREADSAFE, WorldPackets::Movement::ClientPlayerMovement, &WorldSession::HandleMovementOpcodes); @@ -600,7 +601,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_TOGGLE_COLLISION_ACK, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_TOGGLE_COLLISION_CHEAT, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_MOVE_WATER_WALK_ACK, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleMoveWaterWalkAck ); - DEFINE_HANDLER(CMSG_MOVE_WORLDPORT_ACK, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Movement::WorldPortAck, &WorldSession::HandleMoveWorldportAckOpcode); + DEFINE_HANDLER(CMSG_MOVE_WORLDPORT_ACK, STATUS_TRANSFER, PROCESS_THREADUNSAFE, WorldPackets::Movement::WorldPortAck, &WorldSession::HandleMoveWorldportAckOpcode); DEFINE_HANDLER(CMSG_NAME_QUERY, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Query::QueryPlayerName, &WorldSession::HandleNameQueryOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_NEUTRAL_PLAYER_SELECT_FACTION, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_NEW_SPELL_SLOT, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); @@ -611,7 +612,7 @@ void OpcodeTable::Initialize() DEFINE_HANDLER(CMSG_OFFER_PETITION, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Petition::OfferPetition, &WorldSession::HandleOfferPetition); DEFINE_OPCODE_HANDLER_OLD(CMSG_OPENING_CINEMATIC, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleOpeningCinematic ); DEFINE_OPCODE_HANDLER_OLD(CMSG_OPEN_GARRISON_MISSION_NPC, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_OPEN_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleOpenItemOpcode ); + DEFINE_HANDLER(CMSG_OPEN_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Spells::OpenItem, &WorldSession::HandleOpenItemOpcode ); DEFINE_OPCODE_HANDLER_OLD(CMSG_OPEN_SHIPMENT_GAME_OBJ, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_OPEN_SHIPMENT_NPC, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_OPT_OUT_OF_LOOT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleOptOutOfLootOpcode ); @@ -621,13 +622,13 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_PARTY_SILENCE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PARTY_UNINVITE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleGroupUninviteOpcode ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PARTY_UNSILENCE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_HANDLER(CMSG_PETITION_BUY, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Petition::PetitionBuy, &WorldSession::HandlePetitionBuy); + DEFINE_HANDLER(CMSG_PETITION_BUY, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Petition::PetitionBuy, &WorldSession::HandlePetitionBuy); DEFINE_HANDLER(CMSG_PETITION_RENAME_GUILD, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Petition::PetitionRenameGuild, &WorldSession::HandlePetitionRenameGuild); DEFINE_HANDLER(CMSG_PETITION_SHOW_LIST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Petition::PetitionShowList, &WorldSession::HandlePetitionShowList); - DEFINE_HANDLER(CMSG_PETITION_SHOW_SIGNATURES, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Petition::PetitionShowSignatures, &WorldSession::HandlePetitionShowSignatures); + DEFINE_HANDLER(CMSG_PETITION_SHOW_SIGNATURES, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Petition::PetitionShowSignatures, &WorldSession::HandlePetitionShowSignatures); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_ABANDON, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandlePetAbandon ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_ACTION, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandlePetAction ); - DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_BATTLE_FINAL_NOTIF, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); + DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_BATTLE_FINAL_NOTIFY, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_BATTLE_INPUT, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH_RESULT, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_BATTLE_QUIT_NOTIFY, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); @@ -636,8 +637,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_BATTLE_REQUEST_WILD, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_BATTLE_SCRIPT_ERROR_NOTIFY, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_CANCEL_AURA, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandlePetCancelAuraOpcode ); - DEFINE_HANDLER(CMSG_PET_CAST_SPELL, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Spells::PetCastSpell, &WorldSession::HandlePetCastSpellOpcode); - DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_LEARN_TALENT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandlePetLearnTalent ); + DEFINE_HANDLER(CMSG_PET_CAST_SPELL, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Spells::PetCastSpell, &WorldSession::HandlePetCastSpellOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_NAME_CACHE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_NAME_QUERY, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandlePetNameQuery ); DEFINE_OPCODE_HANDLER_OLD(CMSG_PET_RENAME, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandlePetRename ); @@ -664,15 +664,16 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_QUESTGIVER_CANCEL, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_QUESTGIVER_CHOOSE_REWARD, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestGiverChooseReward, &WorldSession::HandleQuestgiverChooseRewardOpcode); DEFINE_HANDLER(CMSG_QUESTGIVER_COMPLETE_QUEST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestGiverCompleteQuest, &WorldSession::HandleQuestgiverCompleteQuest); - DEFINE_HANDLER(CMSG_QUESTGIVER_HELLO, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestGiverHello, &WorldSession::HandleQuestgiverHelloOpcode); + DEFINE_HANDLER(CMSG_QUESTGIVER_HELLO, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestGiverHello, &WorldSession::HandleQuestgiverHelloOpcode); DEFINE_HANDLER(CMSG_QUESTGIVER_QUERY_QUEST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestGiverQueryQuest, &WorldSession::HandleQuestgiverQueryQuestOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_QUESTGIVER_QUEST_AUTOLAUNCH, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_HANDLER(CMSG_QUESTGIVER_REQUEST_REWARD, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestGiverRequestReward, &WorldSession::HandleQuestgiverRequestRewardOpcode); + DEFINE_HANDLER(CMSG_QUESTGIVER_REQUEST_REWARD, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestGiverRequestReward, &WorldSession::HandleQuestgiverRequestRewardOpcode); DEFINE_HANDLER(CMSG_QUESTGIVER_STATUS_MULTIPLE_QUERY, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestGiverStatusMultipleQuery, &WorldSession::HandleQuestgiverStatusMultipleQuery); DEFINE_HANDLER(CMSG_QUESTGIVER_STATUS_QUERY, STATUS_LOGGEDIN, PROCESS_INPLACE, WorldPackets::Quest::QuestGiverStatusQuery, &WorldSession::HandleQuestgiverStatusQueryOpcode); DEFINE_HANDLER(CMSG_QUESTLOG_REMOVE_QUEST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Quest::QuestLogRemoveQuest, &WorldSession::HandleQuestLogRemoveQuest); DEFINE_OPCODE_HANDLER_OLD(CMSG_QUESTLOG_SWAP_QUEST, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_QUEST_CONFIRM_ACCEPT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleQuestConfirmAccept ); + DEFINE_OPCODE_HANDLER_OLD(CMSG_QUEST_CLOSE_AUTOACCEPT_QUEST, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_QUERY_QUEST_COMPLETION_NPCS, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleQuestNPCQuery ); DEFINE_OPCODE_HANDLER_OLD(CMSG_QUEST_POI_QUERY, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleQuestPOIQuery ); DEFINE_OPCODE_HANDLER_OLD(CMSG_QUEST_PUSH_RESULT, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleQuestPushResult ); @@ -691,7 +692,7 @@ void OpcodeTable::Initialize() DEFINE_HANDLER(CMSG_REPAIR_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Item::RepairItem, &WorldSession::HandleRepairItemOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_REPLACE_ACCOUNT_DATA, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_REPLACE_TROPHY, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_HANDLER(CMSG_REPOP_REQUEST, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Misc::RepopRequest, &WorldSession::HandleRepopRequest); + DEFINE_HANDLER(CMSG_REPOP_REQUEST, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Misc::RepopRequest, &WorldSession::HandleRepopRequest); DEFINE_OPCODE_HANDLER_OLD(CMSG_REPORT_FILTERED, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_REPORT_IGNORED, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleChatIgnoredOpcode ); DEFINE_OPCODE_HANDLER_OLD(CMSG_REPORT_PVP_AFK, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleReportPvPAFK ); @@ -702,7 +703,7 @@ void OpcodeTable::Initialize() DEFINE_HANDLER(CMSG_REQUEST_CEMETERY_LIST, STATUS_LOGGEDIN, PROCESS_INPLACE, WorldPackets::Misc::RequestCemeteryList, &WorldSession::HandleRequestCemeteryList); DEFINE_OPCODE_HANDLER_OLD(CMSG_REQUEST_CONQUEST_FORMULA_CONSTANTS, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_REQUEST_FORCED_REACTIONS, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); - DEFINE_HANDLER(CMSG_REQUEST_GUILD_REWARDS_LIST, STATUS_UNHANDLED, PROCESS_INPLACE, WorldPackets::Guild::RequestGuildRewardsList, &WorldSession::HandleRequestGuildRewardsList); + DEFINE_HANDLER(CMSG_REQUEST_GUILD_REWARDS_LIST, STATUS_LOGGEDIN, PROCESS_INPLACE, WorldPackets::Guild::RequestGuildRewardsList, &WorldSession::HandleRequestGuildRewardsList); DEFINE_HANDLER(CMSG_REQUEST_HONOR_STATS, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Inspect::RequestHonorStats, &WorldSession::HandleRequestHonorStatsOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_REQUEST_LFG_LIST_BLACKLIST, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_REQUEST_PARTY_JOIN_UPDATES, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); @@ -742,7 +743,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_SET_ACHIEVEMENTS_HIDDEN, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_SET_ACTIONBAR_TOGGLES, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Character::SetActionBarToggles, &WorldSession::HandleSetActionBarToggles); DEFINE_HANDLER(CMSG_SET_ACTION_BUTTON, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Spells::SetActionButton, &WorldSession::HandleSetActionButtonOpcode); - DEFINE_OPCODE_HANDLER_OLD(CMSG_SET_ACTIVE_MOVER, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleSetActiveMoverOpcode ); + DEFINE_HANDLER(CMSG_SET_ACTIVE_MOVER, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Movement::SetActiveMover, &WorldSession::HandleSetActiveMoverOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_SET_ACTIVE_VOICE_CHANNEL, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleSetActiveVoiceChannel ); DEFINE_OPCODE_HANDLER_OLD(CMSG_SET_ADVANCED_COMBAT_LOGGING, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_SET_ASSISTANT_LEADER, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::HandleGroupAssistantLeaderOpcode); @@ -795,7 +796,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_SPELLCLICK, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleSpellClick ); DEFINE_OPCODE_HANDLER_OLD(CMSG_SPIRIT_HEALER_ACTIVATE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleSpiritHealerActivateOpcode); DEFINE_HANDLER(CMSG_SPLIT_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Item::SplitItem, &WorldSession::HandleSplitItemOpcode); - DEFINE_HANDLER(CMSG_STAND_STATE_CHANGE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Misc::StandStateChange, &WorldSession::HandleStandStateChangeOpcode); + DEFINE_HANDLER(CMSG_STAND_STATE_CHANGE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Misc::StandStateChange, &WorldSession::HandleStandStateChangeOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_START_QUEST, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_START_SPECTATOR_WAR_GAME, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_START_WARGAME, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); @@ -808,7 +809,7 @@ void OpcodeTable::Initialize() DEFINE_OPCODE_HANDLER_OLD(CMSG_SUSPEND_COMMS_ACK, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_OPCODE_HANDLER_OLD(CMSG_SUSPEND_TOKEN_RESPONSE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_SWAP_INV_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Item::SwapInvItem, &WorldSession::HandleSwapInvItemOpcode); - DEFINE_HANDLER(CMSG_SWAP_ITEM, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Item::SwapItem, &WorldSession::HandleSwapItem); + DEFINE_HANDLER(CMSG_SWAP_ITEM, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Item::SwapItem, &WorldSession::HandleSwapItem); DEFINE_OPCODE_HANDLER_OLD(CMSG_SWAP_SUB_GROUPS, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::HandleGroupSwapSubGroupOpcode ); DEFINE_OPCODE_HANDLER_OLD(CMSG_SYNC_DANCE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL ); DEFINE_HANDLER(CMSG_TABARD_VENDOR_ACTIVATE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::NPC::Hello, &WorldSession::HandleTabardVendorActivateOpcode); @@ -835,6 +836,7 @@ void OpcodeTable::Initialize() DEFINE_HANDLER(CMSG_TURN_IN_PETITION, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Petition::TurnInPetition, &WorldSession::HandleTurnInPetition); DEFINE_HANDLER(CMSG_TUTORIAL_FLAG, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, WorldPackets::Misc::TutorialSetFlag, &WorldSession::HandleTutorialFlag); DEFINE_HANDLER(CMSG_UI_TIME_REQUEST, STATUS_LOGGEDIN, PROCESS_INPLACE, WorldPackets::Misc::UITimeRequest, &WorldSession::HandleUITimeRequest); + DEFINE_OPCODE_HANDLER_OLD(CMSG_TWITTER_GET_STATUS, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL); DEFINE_OPCODE_HANDLER_OLD(CMSG_UNACCEPT_TRADE, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleUnacceptTradeOpcode ); DEFINE_HANDLER(CMSG_UNDELETE_CHARACTER, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, WorldPackets::Character::UndeleteCharacter, &WorldSession::HandleCharUndeleteOpcode); DEFINE_OPCODE_HANDLER_OLD(CMSG_UNLEARN_SKILL, STATUS_UNHANDLED, PROCESS_THREADUNSAFE, &WorldSession::HandleUnlearnSkillOpcode ); @@ -1017,7 +1019,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_BREAK_TARGET, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_BUY_BANK_SLOT_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_BUY_FAILED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_BUY_SUCCEEDED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_BUY_SUCCEEDED, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_CALENDAR_ACTION_PENDING, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_CALENDAR_ARENA_TEAM, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_CALENDAR_CLEAR_PENDING_ACTION, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1093,7 +1095,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_CHECK_WARGAME_ENTRY, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_CLEAR_ALL_SPELL_CHARGES, STATUS_UNHANDLED, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_CLEAR_BOSS_EMOTES, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_CLEAR_COOLDOWN, STATUS_UNHANDLED, CONNECTION_TYPE_INSTANCE); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_CLEAR_COOLDOWN, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_CLEAR_COOLDOWNS, STATUS_UNHANDLED, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_CLEAR_FAR_SIGHT_IMMEDIATE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_CLEAR_LOSS_OF_CONTROL, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1262,7 +1264,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_BANK_TEXT_QUERY_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_CANCEL, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_CHALLENGE_COMPLETED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_CHALLENGE_UPDATE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_CHALLENGE_UPDATE, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_CHANGE_NAME_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_COMMAND_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_CRITERIA_DELETED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1290,13 +1292,13 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_INVITE_EXPIRED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_KNOWN_RECIPES, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_MEMBERS_WITH_RECIPE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_MEMBER_DAILY_RESET, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_MEMBER_DAILY_RESET, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_MEMBER_RECIPES, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_MEMBER_UPDATE_NOTE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_MOVED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_MOVE_STARTING, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_NAME_CHANGED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_NEWS, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_NEWS, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_NEWS_DELETED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_PARTY_STATE_RESPONSE, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_PERMISSIONS_QUERY_RESULTS, STATUS_NEVER, CONNECTION_TYPE_REALM); @@ -1304,7 +1306,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_RANKS, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_REPUTATION_REACTION_CHANGED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_RESET, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_REWARDS_LIST, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_REWARDS_LIST, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_ROSTER, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_ROSTER_UPDATE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_GUILD_SEND_RANK_CHANGE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1342,13 +1344,13 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_INVALIDATE_DANCE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_INVALIDATE_PLAYER, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_INVALID_PROMOTION_CODE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_INVENTORY_CHANGE_FAILURE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_INVENTORY_CHANGE_FAILURE, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_IS_QUEST_COMPLETE_RESPONSE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_COOLDOWN, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_ENCHANT_TIME_UPDATE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_EXPIRE_PURCHASE_REFUND, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_PURCHASE_REFUND_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_PUSH_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_PUSH_RESULT, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_REFUND_INFO_RESPONSE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_TIME_UPDATE, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_ITEM_UPGRADE_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1407,7 +1409,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_LOOT_MONEY_NOTIFY, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_LOOT_RELEASE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_LOOT_RELEASE_ALL, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_LOOT_REMOVED, STATUS_UNHANDLED, CONNECTION_TYPE_INSTANCE); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_LOOT_REMOVED, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_LOOT_RESPONSE, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_LOOT_ROLL, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_LOOT_ROLLS_COMPLETE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1438,14 +1440,14 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_APPLY_MOVEMENT_FORCE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_DISABLE_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_DISABLE_COLLISION, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_DISABLE_GRAVITY, STATUS_UNHANDLED, CONNECTION_TYPE_INSTANCE); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_DISABLE_GRAVITY, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_ENABLE_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_ENABLE_COLLISION, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_ENABLE_GRAVITY, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_ENABLE_GRAVITY, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_KNOCK_BACK, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_REMOVE_MOVEMENT_FORCE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_ROOT, STATUS_NEVER, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_SET_ACTIVE_MOVER, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_SET_ACTIVE_MOVER, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_SET_ANIM_KIT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_SET_CAN_FLY, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_MOVE_SET_CAN_TURN_WHILE_FALLING, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1530,7 +1532,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_NOTIFY_DEST_LOC_SPELL_CAST, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_NOTIFY_MONEY, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_NOTIFY_RECEIVED_MAIL, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_NOTIFY_RECEIVED_MAIL, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_NPC_TEXT_UPDATE, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_NPC_WONT_TALK, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_OFFER_PETITION_ERROR, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1555,7 +1557,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_PETITION_ALREADY_SIGNED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PETITION_DECLINED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PETITION_RENAME_GUILD_RESPONSE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_PETITION_SHOW_LIST, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_PETITION_SHOW_LIST, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PETITION_SHOW_SIGNATURES, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PETITION_SIGN_RESULTS, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PET_ACTION_FEEDBACK, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1596,7 +1598,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_PET_TAME_FAILURE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PET_UPDATE_COMBO_POINTS, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PLAYED_TIME, STATUS_NEVER, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_PLAYER_BOUND, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_PLAYER_BOUND, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PLAYER_SKINNED, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PLAYER_VEHICLE_DATA, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_PLAY_DANCE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1711,7 +1713,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_SCRIPT_CAST, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SELL_RESPONSE, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SEND_ITEM_PASSIVES, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_SEND_MAIL_RESULT, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_SEND_MAIL_RESULT, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SEND_RAID_TARGET_UPDATE_ALL, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SEND_RAID_TARGET_UPDATE_SINGLE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SEND_SPELL_CHARGES, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); @@ -1754,7 +1756,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_SET_TIME_ZONE_INFORMATION, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SET_VEHICLE_REC_ID, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SET_VIGNETTE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_SHOW_BANK, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_SHOW_BANK, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SHOW_MAILBOX, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SHOW_NEUTRAL_PLAYER_FACTION_SELECT_UI, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SHOW_RATINGS, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1804,7 +1806,7 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_SUPPRESS_NPC_GREETINGS, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SUSPEND_COMMS, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_SUSPEND_TOKEN, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_TABARD_VENDOR_ACTIVATE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_TABARD_VENDOR_ACTIVATE, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_TALENTS_ERROR, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_TALENTS_INFO, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_TALENTS_INVOLUNTARILY_RESET, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); @@ -1827,8 +1829,8 @@ void OpcodeTable::Initialize() DEFINE_SERVER_OPCODE_HANDLER(SMSG_TRAINER_LIST, STATUS_NEVER, CONNECTION_TYPE_INSTANCE); DEFINE_SERVER_OPCODE_HANDLER(SMSG_TRANSFER_ABORTED, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_TRANSFER_PENDING, STATUS_NEVER, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_TRIGGER_CINEMATIC, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); - DEFINE_SERVER_OPCODE_HANDLER(SMSG_TRIGGER_MOVIE, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_TRIGGER_CINEMATIC, STATUS_NEVER, CONNECTION_TYPE_REALM); + DEFINE_SERVER_OPCODE_HANDLER(SMSG_TRIGGER_MOVIE, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_TURN_IN_PETITION_RESULTS, STATUS_UNHANDLED, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_TUTORIAL_FLAGS, STATUS_NEVER, CONNECTION_TYPE_REALM); DEFINE_SERVER_OPCODE_HANDLER(SMSG_UI_TIME, STATUS_NEVER, CONNECTION_TYPE_REALM); diff --git a/src/server/game/Server/Protocol/Opcodes.h b/src/server/game/Server/Protocol/Opcodes.h index da7adf5d748..8f55575fe53 100644 --- a/src/server/game/Server/Protocol/Opcodes.h +++ b/src/server/game/Server/Protocol/Opcodes.h @@ -50,12 +50,12 @@ enum OpcodeClient : uint32 CMSG_ACCEPT_LEVEL_GRANT = 0xBADD, CMSG_ACCEPT_TRADE = 0xBADD, CMSG_ACCEPT_WARGAME_INVITE = 0xBADD, - CMSG_ACTIVATE_TAXI = 0xBADD, + CMSG_ACTIVATE_TAXI = 0x0823, CMSG_ACTIVATE_TAXI_EXPRESS = 0xBADD, CMSG_ADD_BATTLENET_FRIEND = 0xBADD, CMSG_ADD_FRIEND = 0x15E2, CMSG_ADD_IGNORE = 0x1D33, - CMSG_ALTER_APPEARANCE = 0xBADD, + CMSG_ALTER_APPEARANCE = 0x0822, CMSG_AREATRIGGER = 0x1904, CMSG_AREA_SPIRIT_HEALER_QUERY = 0x093A, CMSG_AREA_SPIRIT_HEALER_QUEUE = 0xBADD, @@ -73,21 +73,21 @@ enum OpcodeClient : uint32 CMSG_ATTACKSWING = 0x048B, CMSG_AUCTION_HELLO_REQUEST = 0x06E3, CMSG_AUCTION_LIST_BIDDER_ITEMS = 0x0C81, - CMSG_AUCTION_LIST_ITEMS = 0xBADD, + CMSG_AUCTION_LIST_ITEMS = 0x05C3, CMSG_AUCTION_LIST_OWNER_ITEMS = 0x082A, CMSG_AUCTION_LIST_PENDING_SALES = 0x0D82, CMSG_AUCTION_PLACE_BID = 0x09E1, - CMSG_AUCTION_REMOVE_ITEM = 0xBADD, + CMSG_AUCTION_REMOVE_ITEM = 0x1309, CMSG_AUCTION_REPLICATE_ITEMS = 0xBADD, - CMSG_AUCTION_SELL_ITEM = 0xBADD, + CMSG_AUCTION_SELL_ITEM = 0x09A3, CMSG_AUTH_CONTINUED_SESSION = 0x1A72, CMSG_AUTH_SESSION = 0x1872, - CMSG_AUTOBANK_ITEM = 0xBADD, + CMSG_AUTOBANK_ITEM = 0x00C6, CMSG_AUTOEQUIP_GROUND_ITEM = 0xBADD, - CMSG_AUTOEQUIP_ITEM = 0xBADD, - CMSG_AUTOEQUIP_ITEM_SLOT = 0xBADD, - CMSG_AUTOSTORE_BAG_ITEM = 0xBADD, - CMSG_AUTOSTORE_BANK_ITEM = 0xBADD, + CMSG_AUTOEQUIP_ITEM = 0x0235, + CMSG_AUTOEQUIP_ITEM_SLOT = 0x0076, + CMSG_AUTOSTORE_BAG_ITEM = 0x00E5, + CMSG_AUTOSTORE_BANK_ITEM = 0x00D5, CMSG_AUTOSTORE_GROUND_ITEM = 0xBADD, CMSG_AUTOSTORE_LOOT_ITEM = 0x0843, CMSG_BANKER_ACTIVATE = 0x0931, @@ -115,7 +115,7 @@ enum OpcodeClient : uint32 CMSG_BATTLE_PET_DELETE_PET = 0xBADD, CMSG_BATTLE_PET_DELETE_PET_CHEAT = 0xBADD, CMSG_BATTLE_PET_MODIFY_NAME = 0x1131, - CMSG_BATTLE_PET_NAME_QUERY = 0xBADD, + CMSG_BATTLE_PET_NAME_QUERY = 0x1184, CMSG_BATTLE_PET_REQUEST_JOURNAL = 0x1773, CMSG_BATTLE_PET_REQUEST_JOURNAL_LOCK = 0x1B24, CMSG_BATTLE_PET_REQUEST_UPDATE = 0xBADD, @@ -158,7 +158,7 @@ enum OpcodeClient : uint32 CMSG_CANCEL_CHANNELLING = 0xBADD, CMSG_CANCEL_GROWTH_AURA = 0xBADD, CMSG_CANCEL_MASTER_LOOT_ROLL = 0xBADD, - CMSG_CANCEL_MOD_SPEED_NO_CONTROL_AURAS = 0xBADD, + CMSG_CANCEL_MOD_SPEED_NO_CONTROL_AURAS = 0x0851, CMSG_CANCEL_MOUNT_AURA = 0x0B4C, CMSG_CANCEL_QUEUED_SPELL = 0xBADD, CMSG_CANCEL_TEMP_ENCHANTMENT = 0xBADD, @@ -201,7 +201,7 @@ enum OpcodeClient : uint32 CMSG_CHAR_RENAME = 0xBADD, CMSG_CHAR_UNDELETE_ENUM = 0xBADD, CMSG_CHECK_RAF_EMAIL_ENABLED = 0xBADD, - CMSG_CHOICE_RESPONSE = 0xBADD, + CMSG_CHOICE_RESPONSE = 0x094C, CMSG_CLEAR_RAID_MARKER = 0xBADD, CMSG_CLEAR_TRADE_ITEM = 0xBADD, CMSG_CLOSE_INTERACTION = 0x0A3A, @@ -215,25 +215,25 @@ enum OpcodeClient : uint32 CMSG_COMMENTATOR_SKIRMISH_QUEUE_COMMAND = 0xBADD, CMSG_COMMENTATOR_START_WARGAME = 0xBADD, CMSG_COMPLAIN = 0xBADD, - CMSG_COMPLETE_CINEMATIC = 0xBADD, - CMSG_COMPLETE_MOVIE = 0xBADD, + CMSG_COMPLETE_CINEMATIC = 0x0EC4, + CMSG_COMPLETE_MOVIE = 0x1319, CMSG_CONFIRM_RESPEC_WIPE = 0xBADD, CMSG_CONNECT_TO_FAILED = 0x15B4, CMSG_CONVERSATION_UNK1 = 0xBADD, CMSG_CONVERT_RAID = 0x1329, - CMSG_CREATE_SHIPMENT = 0xBADD, + CMSG_CREATE_SHIPMENT = 0x1B94, CMSG_CREATURE_QUERY = 0x007C, CMSG_DANCE_QUERY = 0xBADD, CMSG_DB_QUERY_BULK = 0x1731, CMSG_DECLINE_GUILD_INVITES = 0xBADD, - CMSG_DECLINE_PETITION = 0xBADD, + CMSG_DECLINE_PETITION = 0x0932, CMSG_DELETE_EQUIPMENT_SET = 0x1599, CMSG_DEL_FRIEND = 0x1B71, CMSG_DEL_IGNORE = 0x1BB3, CMSG_DEPOSIT_REAGENT_BANK = 0x1142, CMSG_DESTROY_ITEM = 0x0651, CMSG_DF_BOOT_PLAYER_VOTE = 0xBADD, - CMSG_DF_JOIN = 0xBADD, + CMSG_DF_JOIN = 0x1D39, CMSG_DF_LEAVE = 0xBADD, CMSG_DF_PROPOSAL_RESPONSE = 0xBADD, CMSG_DF_SEARCH_JOIN = 0xBADD, @@ -251,17 +251,17 @@ enum OpcodeClient : uint32 CMSG_ENABLE_NAGLE = 0x1433, CMSG_ENABLE_TAXI_NODE = 0x13D9, CMSG_EQUIPMENT_SET_SAVE = 0x0A7C, - CMSG_FAR_SIGHT = 0xBADD, + CMSG_FAR_SIGHT = 0x0181, CMSG_GAMEOBJECT_QUERY = 0x021A, CMSG_GAMEOBJ_REPORT_USE = 0x087C, CMSG_GAMEOBJ_USE = 0x0EE4, CMSG_GAMESPEED_SET = 0xBADD, CMSG_GAMETIME_SET = 0xBADD, CMSG_GARRISON_ASSIGN_FOLLOWER_TO_BUILDING = 0xBADD, - CMSG_GARRISON_COMPLETE_MISSION = 0xBADD, - CMSG_GARRISON_MISSION_BONUS_ROLL = 0xBADD, + CMSG_GARRISON_COMPLETE_MISSION = 0x15C3, + CMSG_GARRISON_MISSION_BONUS_ROLL = 0x1B83, CMSG_GARRISON_OPEN_TRADESKILL_NPC = 0xBADD, - CMSG_GARRISON_PURCHASE_BUILDING = 0xBADD, + CMSG_GARRISON_PURCHASE_BUILDING = 0x0E24, CMSG_GARRISON_RECRUIT_FOLLOWER = 0xBADD, CMSG_GARRISON_REMOVE_FOLLOWER = 0xBADD, CMSG_GARRISON_REMOVE_FOLLOWER_FROM_BUILDING = 0xBADD, @@ -271,7 +271,7 @@ enum OpcodeClient : uint32 CMSG_GARRISON_SET_BUILDING_ACTIVE = 0xBADD, CMSG_GARRISON_SET_FOLLOWER_INACTIVE = 0xBADD, CMSG_GARRISON_SET_RECRUITMENT_PREFERENCES = 0xBADD, - CMSG_GARRISON_START_MISSION = 0xBADD, + CMSG_GARRISON_START_MISSION = 0x0023, CMSG_GARRISON_SWAP_BUILDINGS = 0xBADD, CMSG_GARRISON_UNK1 = 0xBADD, CMSG_GETDEATHBINDZONE = 0xBADD, @@ -279,8 +279,8 @@ enum OpcodeClient : uint32 CMSG_GET_GARRISON_INFO = 0x0352, CMSG_GET_ITEM_PURCHASE_DATA = 0x0CE4, CMSG_GET_MAIL_LIST = 0x0979, - CMSG_GET_MIRROR_IMAGE_DATA = 0xBADD, - CMSG_GET_SHIPMENT_INFO = 0xBADD, + CMSG_GET_MIRROR_IMAGE_DATA = 0x1952, + CMSG_GET_SHIPMENT_INFO = 0x0321, CMSG_GET_TROPHY_LIST = 0xBADD, CMSG_GET_UNDELETE_COOLDOWN_STATUS = 0x196A, CMSG_GHOST = 0xBADD, @@ -288,7 +288,7 @@ enum OpcodeClient : uint32 CMSG_GM_LAG_REPORT = 0xBADD, CMSG_GM_NUKE = 0xBADD, CMSG_GM_SET_SECURITY_GROUP = 0xBADD, - CMSG_GM_SURVEY_SUBMIT = 0xBADD, + CMSG_GM_SURVEY_SUBMIT = 0x1BAB, CMSG_GM_TICKET_ACKNOWLEDGE_SURVEY = 0xBADD, CMSG_GM_TICKET_CREATE = 0x19A4, CMSG_GM_TICKET_DELETE_TICKET = 0x1B39, @@ -303,9 +303,9 @@ enum OpcodeClient : uint32 CMSG_GROUP_CANCEL = 0xBADD, CMSG_GROUP_REQUEST_JOIN_UPDATES = 0xBADD, CMSG_GUILD_ADD_BATTLENET_FRIEND = 0xBADD, - CMSG_GUILD_ADD_RANK = 0xBADD, + CMSG_GUILD_ADD_RANK = 0x038E, CMSG_GUILD_ASSIGN_MEMBER_RANK = 0xBADD, - CMSG_GUILD_AUTO_DECLINE_INVITATION = 0xBADD, + CMSG_GUILD_AUTO_DECLINE_INVITATION = 0x0386, CMSG_GUILD_BANK_ACTIVATE = 0x0B64, CMSG_GUILD_BANK_BUY_TAB = 0xBADD, CMSG_GUILD_BANK_DEPOSIT_MONEY = 0xBADD, @@ -318,11 +318,11 @@ enum OpcodeClient : uint32 CMSG_GUILD_BANK_TEXT_QUERY = 0xBADD, CMSG_GUILD_BANK_UPDATE_TAB = 0xBADD, CMSG_GUILD_BANK_WITHDRAW_MONEY = 0xBADD, - CMSG_GUILD_CHALLENGE_UPDATE_REQUEST = 0xBADD, + CMSG_GUILD_CHALLENGE_UPDATE_REQUEST = 0x03B0, CMSG_GUILD_CHANGE_NAME_REQUEST = 0xBADD, CMSG_GUILD_DECLINE_INVITATION = 0xBADD, CMSG_GUILD_DELETE = 0xBADD, - CMSG_GUILD_DELETE_RANK = 0xBADD, + CMSG_GUILD_DELETE_RANK = 0x019D, CMSG_GUILD_DEMOTE_MEMBER = 0xBADD, CMSG_GUILD_EVENT_LOG_QUERY = 0xBADD, CMSG_GUILD_GET_ACHIEVEMENT_MEMBERS = 0xBADD, @@ -338,9 +338,9 @@ enum OpcodeClient : uint32 CMSG_GUILD_PROMOTE_MEMBER = 0xBADD, CMSG_GUILD_QUERY = 0x19B3, CMSG_GUILD_QUERY_MEMBERS_FOR_RECIPE = 0xBADD, - CMSG_GUILD_QUERY_MEMBER_RECIPES = 0xBADD, - CMSG_GUILD_QUERY_NEWS = 0xBADD, - CMSG_GUILD_QUERY_RECIPES = 0xBADD, + CMSG_GUILD_QUERY_MEMBER_RECIPES = 0x0110, + CMSG_GUILD_QUERY_NEWS = 0x01A5, + CMSG_GUILD_QUERY_RECIPES = 0x0538, CMSG_GUILD_REPLACE_GUILD_MASTER = 0xBADD, CMSG_GUILD_REQUEST_PARTY_STATE = 0x0B52, CMSG_GUILD_SET_ACHIEVEMENT_TRACKING = 0x039E, @@ -391,13 +391,13 @@ enum OpcodeClient : uint32 CMSG_LF_GUILD_BROWSE = 0x11E4, CMSG_LF_GUILD_DECLINE_RECRUIT = 0xBADD, CMSG_LF_GUILD_GET_APPLICATIONS = 0xBADD, - CMSG_LF_GUILD_GET_GUILD_POST = 0xBADD, + CMSG_LF_GUILD_GET_GUILD_POST = 0x012E, CMSG_LF_GUILD_GET_RECRUITS = 0xBADD, CMSG_LF_GUILD_REMOVE_RECRUIT = 0xBADD, CMSG_LF_GUILD_SET_GUILD_POST = 0xBADD, CMSG_LIST_INVENTORY = 0x06C4, CMSG_LOAD_SCREEN = 0x13E4, - CMSG_LOGOUT_CANCEL = 0xBADD, + CMSG_LOGOUT_CANCEL = 0x0DC1, CMSG_LOGOUT_INSTANT = 0xBADD, CMSG_LOGOUT_REQUEST = 0x0824, CMSG_LOG_DISCONNECT = 0x1432, @@ -412,11 +412,11 @@ enum OpcodeClient : uint32 CMSG_LOW_LEVEL_RAID1 = 0xBADD, CMSG_LOW_LEVEL_RAID2 = 0xBADD, CMSG_MAIL_CREATE_TEXT_ITEM = 0xBADD, - CMSG_MAIL_DELETE = 0xBADD, - CMSG_MAIL_MARK_AS_READ = 0xBADD, + CMSG_MAIL_DELETE = 0x0C89, + CMSG_MAIL_MARK_AS_READ = 0x13C9, CMSG_MAIL_RETURN_TO_SENDER = 0xBADD, - CMSG_MAIL_TAKE_ITEM = 0xBADD, - CMSG_MAIL_TAKE_MONEY = 0xBADD, + CMSG_MAIL_TAKE_ITEM = 0x0D84, + CMSG_MAIL_TAKE_MONEY = 0x0861, CMSG_MASTER_LOOT_ITEM = 0xBADD, CMSG_MEETINGSTONE_INFO = 0xBADD, CMSG_MESSAGECHAT_ADDON_CHANNEL = 0x108C, @@ -441,7 +441,7 @@ enum OpcodeClient : uint32 CMSG_MESSAGECHAT_YELL = 0x1481, CMSG_MINIGAME_MOVE = 0xBADD, CMSG_MINIMAP_PING = 0xBADD, - CMSG_MISSILE_TRAJECTORY_COLLISION = 0xBADD, + CMSG_MISSILE_TRAJECTORY_COLLISION = 0x085A, CMSG_MOUNT_SET_FAVORITE = 0x15B1, CMSG_MOUNT_SPECIAL_ANIM = 0xBADD, CMSG_MOVE_APPLY_MOVEMENT_FORCE_ACK = 0xBADD, @@ -452,7 +452,7 @@ enum OpcodeClient : uint32 CMSG_MOVE_ENABLE_SWIM_TO_FLY_TRANS_ACK = 0x038B, CMSG_MOVE_FALL_LAND = 0x0DEA, CMSG_MOVE_FALL_RESET = 0x0F89, - CMSG_MOVE_FEATHER_FALL_ACK = 0x0F89, + CMSG_MOVE_FEATHER_FALL_ACK = 0x02B1, CMSG_MOVE_FORCE_FLIGHT_BACK_SPEED_CHANGE_ACK = 0xBADD, CMSG_MOVE_FORCE_FLIGHT_SPEED_CHANGE_ACK = 0x09CB, CMSG_MOVE_FORCE_PITCH_RATE_CHANGE_ACK = 0xBADD, @@ -513,14 +513,14 @@ enum OpcodeClient : uint32 CMSG_NAME_QUERY = 0x15A2, CMSG_NEUTRAL_PLAYER_SELECT_FACTION = 0xBADD, CMSG_NEW_SPELL_SLOT = 0xBADD, - CMSG_NEXT_CINEMATIC_CAMERA = 0xBADD, + CMSG_NEXT_CINEMATIC_CAMERA = 0x110B, CMSG_NPC_TEXT_QUERY = 0x0E44, CMSG_OBJECT_UPDATE_FAILED = 0xBADD, CMSG_OBJECT_UPDATE_RESCUED = 0x0C8A, CMSG_OFFER_PETITION = 0xBADD, CMSG_OPENING_CINEMATIC = 0xBADD, CMSG_OPEN_GARRISON_MISSION_NPC = 0x1911, - CMSG_OPEN_ITEM = 0xBADD, + CMSG_OPEN_ITEM = 0x0E51, CMSG_OPEN_SHIPMENT_GAME_OBJ = 0xBADD, CMSG_OPEN_SHIPMENT_NPC = 0x0E41, CMSG_OPT_OUT_OF_LOOT = 0xBADD, @@ -530,25 +530,24 @@ enum OpcodeClient : uint32 CMSG_PARTY_SILENCE = 0xBADD, CMSG_PARTY_UNINVITE = 0xBADD, CMSG_PARTY_UNSILENCE = 0xBADD, - CMSG_PETITION_BUY = 0xBADD, + CMSG_PETITION_BUY = 0x159B, CMSG_PETITION_RENAME_GUILD = 0xBADD, CMSG_PETITION_SHOW_LIST = 0x06E1, - CMSG_PETITION_SHOW_SIGNATURES = 0xBADD, + CMSG_PETITION_SHOW_SIGNATURES = 0x115A, CMSG_PET_ABANDON = 0xBADD, CMSG_PET_ACTION = 0x114A, - CMSG_PET_BATTLE_FINAL_NOTIF = 0xBADD, - CMSG_PET_BATTLE_INPUT = 0xBADD, + CMSG_PET_BATTLE_FINAL_NOTIFY = 0x004B, + CMSG_PET_BATTLE_INPUT = 0x1B34, CMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH_RESULT = 0xBADD, CMSG_PET_BATTLE_QUIT_NOTIFY = 0xBADD, - CMSG_PET_BATTLE_REPLACE_FRONT_PET = 0xBADD, + CMSG_PET_BATTLE_REPLACE_FRONT_PET = 0x192A, CMSG_PET_BATTLE_REQUEST_PVP = 0xBADD, CMSG_PET_BATTLE_REQUEST_WILD = 0x084C, CMSG_PET_BATTLE_SCRIPT_ERROR_NOTIFY = 0xBADD, CMSG_PET_CANCEL_AURA = 0xBADD, - CMSG_PET_CAST_SPELL = 0xBADD, - CMSG_PET_LEARN_TALENT = 0xBADD, + CMSG_PET_CAST_SPELL = 0x1FC1, CMSG_PET_NAME_CACHE = 0xBADD, - CMSG_PET_NAME_QUERY = 0xBADD, + CMSG_PET_NAME_QUERY = 0x0CCB, CMSG_PET_RENAME = 0x1333, CMSG_PET_SET_ACTION = 0xBADD, CMSG_PET_SET_SPECIALIZATION = 0xBADD, @@ -574,14 +573,15 @@ enum OpcodeClient : uint32 CMSG_QUESTGIVER_CANCEL = 0xBADD, CMSG_QUESTGIVER_CHOOSE_REWARD = 0x0CE1, CMSG_QUESTGIVER_COMPLETE_QUEST = 0x0A69, - CMSG_QUESTGIVER_HELLO = 0xBADD, + CMSG_QUESTGIVER_HELLO = 0x0B2A, CMSG_QUESTGIVER_QUERY_QUEST = 0x131A, CMSG_QUESTGIVER_QUEST_AUTOLAUNCH = 0xBADD, - CMSG_QUESTGIVER_REQUEST_REWARD = 0xBADD, + CMSG_QUESTGIVER_REQUEST_REWARD = 0x1509, CMSG_QUESTGIVER_STATUS_MULTIPLE_QUERY = 0x0A39, CMSG_QUESTGIVER_STATUS_QUERY = 0x0A7B, CMSG_QUESTLOG_REMOVE_QUEST = 0x04C3, CMSG_QUESTLOG_SWAP_QUEST = 0xBADD, + CMSG_QUEST_CLOSE_AUTOACCEPT_QUEST = 0x150A, CMSG_QUEST_CONFIRM_ACCEPT = 0xBADD, CMSG_QUEST_POI_QUERY = 0x1B2A, CMSG_QUEST_PUSH_RESULT = 0xBADD, @@ -591,32 +591,32 @@ enum OpcodeClient : uint32 CMSG_RANDOM_ROLL = 0x1BE2, CMSG_READY_CHECK_RESPONSE = 0xBADD, CMSG_READ_ITEM = 0xBADD, - CMSG_REAGENT_BANK_BUY_TAB = 0xBADD, + CMSG_REAGENT_BANK_BUY_TAB = 0x0A3C, CMSG_REALM_NAME_QUERY = 0x17BC, CMSG_RECLAIM_CORPSE = 0x093B, CMSG_RECRUIT_A_FRIEND = 0xBADD, - CMSG_REGISTER_ADDON_PREFIXES = 0xBADD, + CMSG_REGISTER_ADDON_PREFIXES = 0x063B, CMSG_REORDER_CHARACTERS = 0x1729, CMSG_REPAIR_ITEM = 0x05E2, CMSG_REPLACE_ACCOUNT_DATA = 0xBADD, CMSG_REPLACE_TROPHY = 0xBADD, - CMSG_REPOP_REQUEST = 0xBADD, + CMSG_REPOP_REQUEST = 0x0B3B, CMSG_REPORT_FILTERED = 0xBADD, CMSG_REPORT_IGNORED = 0xBADD, CMSG_REPORT_PVP_AFK = 0xBADD, CMSG_REQUEST_ACCOUNT_DATA = 0x1934, - CMSG_REQUEST_ARTIFACT_COMPLETION_HISTORY = 0xBADD, + CMSG_REQUEST_ARTIFACT_COMPLETION_HISTORY = 0x025A, CMSG_REQUEST_BATTLEFIELD_STATUS = 0x17EC, CMSG_REQUEST_CATEGORY_COOLDOWNS = 0x0C72, CMSG_REQUEST_CEMETERY_LIST = 0x0421, CMSG_REQUEST_CONQUEST_FORMULA_CONSTANTS = 0x1342, CMSG_REQUEST_FORCED_REACTIONS = 0x012A, - CMSG_REQUEST_GUILD_REWARDS_LIST = 0xBADD, + CMSG_REQUEST_GUILD_REWARDS_LIST = 0x015A, CMSG_REQUEST_HONOR_STATS = 0xBADD, CMSG_REQUEST_LFG_LIST_BLACKLIST = 0xBADD, - CMSG_REQUEST_PARTY_JOIN_UPDATES = 0xBADD, - CMSG_REQUEST_PARTY_MEMBER_STATS = 0xBADD, - CMSG_REQUEST_PET_INFO = 0xBADD, + CMSG_REQUEST_PARTY_JOIN_UPDATES = 0x1339, + CMSG_REQUEST_PARTY_MEMBER_STATS = 0x1972, + CMSG_REQUEST_PET_INFO = 0x0981, CMSG_REQUEST_PVP_OPTIONS_ENABLED = 0xBADD, CMSG_REQUEST_PVP_REWARDS = 0xBADD, CMSG_REQUEST_RAID_INFO = 0x1163, @@ -653,7 +653,7 @@ enum OpcodeClient : uint32 CMSG_SET_ACTION_BUTTON = 0x13BA, CMSG_SET_ACTIVE_MOVER = 0x07CC, CMSG_SET_ACTIVE_VOICE_CHANNEL = 0xBADD, - CMSG_SET_ADVANCED_COMBAT_LOGGING = 0xBADD, + CMSG_SET_ADVANCED_COMBAT_LOGGING = 0x017C, CMSG_SET_ASSISTANT_LEADER = 0xBADD, CMSG_SET_BACKPACK_AUTOSORT_DISABLED = 0xBADD, CMSG_SET_BANK_AUTOSORT_DISABLED = 0xBADD, @@ -673,7 +673,7 @@ enum OpcodeClient : uint32 CMSG_SET_PARTY_ASSIGNMENT = 0xBADD, CMSG_SET_PARTY_LEADER = 0x1932, CMSG_SET_PET_SLOT = 0xBADD, - CMSG_SET_PLAYER_DECLINED_NAMES = 0xBADD, + CMSG_SET_PLAYER_DECLINED_NAMES = 0x1331, CMSG_SET_PREFERED_CEMETERY = 0xBADD, CMSG_SET_PVP = 0xBADD, CMSG_SET_RAID_DIFFICULTY = 0x1162, @@ -698,19 +698,19 @@ enum OpcodeClient : uint32 CMSG_SIGN_PETITION = 0xBADD, CMSG_SILENCE_PARTY_TALKER = 0xBADD, CMSG_SOCKET_GEMS = 0xBADD, - CMSG_SORT_BAGS = 0xBADD, + CMSG_SORT_BAGS = 0x0254, CMSG_SORT_BANK_BAGS = 0x1901, CMSG_SORT_REAGENT_BANK_BAGS = 0xBADD, CMSG_SPELLCLICK = 0x0DE3, CMSG_SPIRIT_HEALER_ACTIVATE = 0x0CA4, CMSG_SPLIT_ITEM = 0x0095, - CMSG_STAND_STATE_CHANGE = 0xBADD, + CMSG_STAND_STATE_CHANGE = 0x037A, CMSG_START_QUEST = 0xBADD, CMSG_START_SPECTATOR_WAR_GAME = 0xBADD, CMSG_START_WARGAME = 0xBADD, CMSG_STOP_DANCE = 0xBADD, CMSG_STORE_LOOT_IN_SLOT = 0xBADD, - CMSG_SUMMON_RESPONSE = 0xBADD, + CMSG_SUMMON_RESPONSE = 0x1BFA, CMSG_SUPPORT_TICKET_SUBMIT_BUG = 0x11BB, CMSG_SUPPORT_TICKET_SUBMIT_COMPLAINT = 0x1BB1, CMSG_SUPPORT_TICKET_SUBMIT_SUGGESTION = 0x1B63, @@ -725,7 +725,7 @@ enum OpcodeClient : uint32 CMSG_TAXIENABLEALLNODES = 0xBADD, CMSG_TAXISHOWNODES = 0xBADD, CMSG_TAXI_NODE_STATUS_QUERY = 0x0EA1, - CMSG_TAXI_QUERY_AVAILABLE_NODES = 0x0B2A, + CMSG_TAXI_QUERY_AVAILABLE_NODES = 0x0A3B, CMSG_TELEPORT_TO_UNIT = 0xBADD, CMSG_TEXT_EMOTE = 0x0B2B, CMSG_TIME_ADJUSTMENT_RESPONSE = 0xBADD, @@ -736,13 +736,14 @@ enum OpcodeClient : uint32 CMSG_TOGGLE_PVP = 0x10A2, CMSG_TOTEM_DESTROYED = 0x1189, CMSG_TOY_SET_FAVORITE = 0xBADD, - CMSG_TRAINER_BUY_SPELL = 0xBADD, + CMSG_TRAINER_BUY_SPELL = 0x151A, CMSG_TRAINER_LIST = 0x130C, CMSG_TRANSMOGRIFY_ITEMS = 0xBADD, CMSG_TRIGGER_CINEMATIC_CHEAT = 0xBADD, CMSG_TROPHY_MONUMENT_LOAD_SELECTED_TROPHY_ID = 0xBADD, CMSG_TURN_IN_PETITION = 0xBADD, CMSG_TUTORIAL_FLAG = 0x1132, + CMSG_TWITTER_GET_STATUS = 0x1128, CMSG_UI_TIME_REQUEST = 0x1B7B, CMSG_UNACCEPT_TRADE = 0xBADD, CMSG_UNDELETE_CHARACTER = 0xBADD, @@ -761,13 +762,13 @@ enum OpcodeClient : uint32 CMSG_USE_EQUIPMENT_SET = 0x0026, CMSG_USE_ITEM = 0x0A5A, CMSG_USE_PARTY_GARRISON = 0xBADD, - CMSG_USE_TOY = 0xBADD, + CMSG_USE_TOY = 0x1BC3, CMSG_VIOLENCE_LEVEL = 0x0071, CMSG_VOICE_ADD_IGNORE = 0xBADD, CMSG_VOICE_DEL_IGNORE = 0xBADD, CMSG_VOICE_SESSION_ENABLE = 0x153A, CMSG_VOID_STORAGE_QUERY = 0x17C3, - CMSG_VOID_STORAGE_TRANSFER = 0xBADD, + CMSG_VOID_STORAGE_TRANSFER = 0x0674, CMSG_VOID_STORAGE_UNLOCK = 0xBADD, CMSG_VOID_SWAP_ITEM = 0xBADD, CMSG_WARDEN_DATA = 0x11E3, @@ -809,7 +810,7 @@ enum OpcodeServer : uint32 SMSG_ACHIEVEMENT_DELETED = 0x0B2C, SMSG_ACHIEVEMENT_EARNED = 0x1D8C, SMSG_ACTION_BUTTONS = 0x153B, - SMSG_ACTIVATE_TAXI_REPLY = 0xBADD, + SMSG_ACTIVATE_TAXI_REPLY = 0x1B8A, SMSG_ADDON_INFO = 0x1F5C, SMSG_ADD_BATTLENET_FRIEND_RESPONSE = 0xBADD, SMSG_ADD_ITEM_PASSIVE = 0xBADD, @@ -828,7 +829,7 @@ enum OpcodeServer : uint32 SMSG_AREA_SPIRIT_HEALER_TIME = 0xBADD, SMSG_AREA_TRIGGER_DEBUG_PLAYER_INSIDE = 0xBADD, SMSG_AREA_TRIGGER_DEBUG_SWEEP = 0xBADD, - SMSG_AREA_TRIGGER_DENIED = 0xBADD, + SMSG_AREA_TRIGGER_DENIED = 0x19FC, SMSG_AREA_TRIGGER_MESSAGE = 0xBADD, SMSG_AREA_TRIGGER_NO_CORPSE = 0xBADD, SMSG_AREA_TRIGGER_RE_PATH = 0xBADD, @@ -868,7 +869,7 @@ enum OpcodeServer : uint32 SMSG_AUTH_RESPONSE = 0x0B61, SMSG_AVAILABLE_VOICE_CHANNEL = 0xBADD, SMSG_AVERAGE_ITEM_LEVEL_INFORM = 0xBADD, - SMSG_BARBER_SHOP_RESULT = 0xBADD, + SMSG_BARBER_SHOP_RESULT = 0x1B89, SMSG_BATTLEFIELD_LIST = 0xBADD, SMSG_BATTLEFIELD_MGR_DROP_TIMER_CANCELED = 0xBADD, SMSG_BATTLEFIELD_MGR_DROP_TIMER_STARTED = 0xBADD, @@ -881,19 +882,19 @@ enum OpcodeServer : uint32 SMSG_BATTLEFIELD_MGR_QUEUE_REQUEST_RESPONSE = 0xBADD, SMSG_BATTLEFIELD_MGR_STATE_CHANGED = 0xBADD, SMSG_BATTLEFIELD_PORT_DENIED = 0xBADD, - SMSG_BATTLEFIELD_RATED_INFO = 0xBADD, + SMSG_BATTLEFIELD_RATED_INFO = 0x1322, SMSG_BATTLEFIELD_STATUS_ACTIVE = 0xBADD, SMSG_BATTLEFIELD_STATUS_FAILED = 0xBADD, SMSG_BATTLEFIELD_STATUS_NEEDCONFIRMATION = 0xBADD, SMSG_BATTLEFIELD_STATUS_NONE = 0xBADD, - SMSG_BATTLEFIELD_STATUS_QUEUED = 0xBADD, + SMSG_BATTLEFIELD_STATUS_QUEUED = 0x135A, SMSG_BATTLEFIELD_STATUS_WAITFORGROUPS = 0xBADD, SMSG_BATTLEGROUND_INFO_THROTTLED = 0xBADD, SMSG_BATTLEGROUND_INIT = 0xBADD, SMSG_BATTLEGROUND_PLAYER_JOINED = 0xBADD, SMSG_BATTLEGROUND_PLAYER_LEFT = 0xBADD, - SMSG_BATTLEGROUND_PLAYER_POSITIONS = 0xBADD, - SMSG_BATTLEGROUND_POINTS = 0xBADD, + SMSG_BATTLEGROUND_PLAYER_POSITIONS = 0x1962, + SMSG_BATTLEGROUND_POINTS = 0x15AB, SMSG_BATTLENET_CHALLENGE_ABORT = 0xBADD, SMSG_BATTLENET_CHALLENGE_START = 0xBADD, SMSG_BATTLE_PAY_ACK_FAILED = 0xBADD, @@ -927,10 +928,10 @@ enum OpcodeServer : uint32 SMSG_BLACK_MARKET_REQUEST_ITEMS_RESULT = 0xBADD, SMSG_BLACK_MARKET_WON = 0xBADD, SMSG_BONUS_ROLL_EMPTY = 0xBADD, - SMSG_BREAK_TARGET = 0xBADD, + SMSG_BREAK_TARGET = 0x159A, SMSG_BUY_BANK_SLOT_RESULT = 0xBADD, SMSG_BUY_FAILED = 0xBADD, - SMSG_BUY_SUCCEEDED = 0xBADD, + SMSG_BUY_SUCCEEDED = 0x117B, SMSG_CALENDAR_ACTION_PENDING = 0xBADD, SMSG_CALENDAR_ARENA_TEAM = 0xBADD, SMSG_CALENDAR_CLEAR_PENDING_ACTION = 0xBADD, @@ -949,10 +950,10 @@ enum OpcodeServer : uint32 SMSG_CALENDAR_EVENT_STATUS = 0xBADD, SMSG_CALENDAR_EVENT_UPDATED_ALERT = 0xBADD, SMSG_CALENDAR_FILTER_GUILD = 0xBADD, - SMSG_CALENDAR_RAID_LOCKOUT_ADDED = 0xBADD, + SMSG_CALENDAR_RAID_LOCKOUT_ADDED = 0x0C83, SMSG_CALENDAR_RAID_LOCKOUT_REMOVED = 0xBADD, SMSG_CALENDAR_RAID_LOCKOUT_UPDATED = 0xBADD, - SMSG_CALENDAR_SEND_CALENDAR = 0xBADD, + SMSG_CALENDAR_SEND_CALENDAR = 0x1562, SMSG_CALENDAR_SEND_EVENT = 0xBADD, SMSG_CALENDAR_SEND_NUM_PENDING = 0x17B1, SMSG_CALENDAR_UPDATE_INVITE_LIST = 0xBADD, @@ -1006,14 +1007,14 @@ enum OpcodeServer : uint32 SMSG_CHECK_WARGAME_ENTRY = 0xBADD, SMSG_CLEAR_ALL_SPELL_CHARGES = 0xBADD, SMSG_CLEAR_BOSS_EMOTES = 0xBADD, - SMSG_CLEAR_COOLDOWN = 0xBADD, + SMSG_CLEAR_COOLDOWN = 0x0964, SMSG_CLEAR_COOLDOWNS = 0xBADD, SMSG_CLEAR_FAR_SIGHT_IMMEDIATE = 0xBADD, SMSG_CLEAR_LOSS_OF_CONTROL = 0xBADD, SMSG_CLEAR_SPELL_CHARGES = 0xBADD, SMSG_CLEAR_TARGET = 0x17FA, SMSG_CLIENTCACHE_VERSION = 0x116C, - SMSG_CLIENT_CONTROL_UPDATE = 0xBADD, + SMSG_CLIENT_CONTROL_UPDATE = 0x1B4C, SMSG_COIN_REMOVED = 0x11A4, SMSG_COMBAT_EVENT_FAILED = 0x19D9, SMSG_COMBAT_LOG_MULTIPLE = 0xBADD, @@ -1024,7 +1025,7 @@ enum OpcodeServer : uint32 SMSG_COMMENTATOR_SKIRMISH_QUEUE_RESULT2 = 0xBADD, SMSG_COMMENTATOR_STATE_CHANGED = 0xBADD, SMSG_COMPLAINT_RESULT = 0xBADD, - SMSG_COMPLETE_SHIPMENT_RESPONSE = 0x173C, + SMSG_COMPLETE_SHIPMENT_RESPONSE = 0xBADD, SMSG_COMPRESSED_MOVES = 0xBADD, SMSG_COMPRESSED_PACKET = 0x0689, SMSG_COMSAT_CONNECT_FAIL = 0xBADD, @@ -1040,7 +1041,7 @@ enum OpcodeServer : uint32 SMSG_CORPSE_LOCATION = 0x0A63, SMSG_CORPSE_RECLAIM_DELAY = 0x1B9C, SMSG_CORPSE_TRANSPORT_QUERY = 0x0B6C, - SMSG_CREATE_SHIPMENT_RESPONSE = 0xBADD, + SMSG_CREATE_SHIPMENT_RESPONSE = 0x0839, SMSG_CREATURE_QUERY_RESPONSE = 0x0DC2, SMSG_CRITERIA_DELETED = 0x0B2A, SMSG_CRITERIA_UPDATE = 0x115A, @@ -1067,28 +1068,28 @@ enum OpcodeServer : uint32 SMSG_DISMOUNT = 0x1371, SMSG_DISMOUNT_RESULT = 0xBADD, SMSG_DISPEL_FAILED = 0xBADD, - SMSG_DISPLAY_GAME_ERROR = 0xBADD, - SMSG_DISPLAY_PLAYER_CHOICE = 0xBADD, + SMSG_DISPLAY_GAME_ERROR = 0x173B, + SMSG_DISPLAY_PLAYER_CHOICE = 0x087C, SMSG_DISPLAY_PROMOTION = 0x01E2, SMSG_DISPLAY_QUEST_POPUP = 0xBADD, SMSG_DISPLAY_TOAST = 0x17DA, SMSG_DONT_AUTO_PUSH_SPELLS_TO_ACTION_BAR = 0xBADD, SMSG_DROP_NEW_CONNECTION = 0xBADD, - SMSG_DUEL_COMPLETE = 0xBADD, + SMSG_DUEL_COMPLETE = 0x1531, SMSG_DUEL_COUNTDOWN = 0x1B1A, - SMSG_DUEL_IN_BOUNDS = 0xBADD, - SMSG_DUEL_OUT_OF_BOUNDS = 0xBADD, + SMSG_DUEL_IN_BOUNDS = 0x13A3, + SMSG_DUEL_OUT_OF_BOUNDS = 0x15F4, SMSG_DUEL_REQUESTED = 0x0983, - SMSG_DUEL_WINNER = 0xBADD, + SMSG_DUEL_WINNER = 0x1519, SMSG_DUMP_RIDE_TICKETS_RESPONSE = 0xBADD, SMSG_DURABILITY_DAMAGE_DEATH = 0x1BCA, SMSG_DYNAMIC_DROP_ROLL_RESULT = 0xBADD, SMSG_ECHO_PARTY_SQUELCH = 0xBADD, SMSG_EMOTE = 0x171C, - SMSG_ENABLE_BARBER_SHOP = 0xBADD, + SMSG_ENABLE_BARBER_SHOP = 0x1D5C, SMSG_ENCHANTMENT_LOG = 0x1563, - SMSG_ENCOUNTER_END = 0xBADD, - SMSG_ENCOUNTER_START = 0xBADD, + SMSG_ENCOUNTER_END = 0x0EC4, + SMSG_ENCOUNTER_START = 0x1B5C, SMSG_ENVIRONMENTALDAMAGELOG = 0x0679, SMSG_EQUIPMENT_SET_LIST = 0x111A, SMSG_EQUIPMENT_SET_SAVED = 0xBADD, @@ -1127,21 +1128,21 @@ enum OpcodeServer : uint32 SMSG_GARRISON_ADD_MISSION_RESULT = 0xBADD, SMSG_GARRISON_ASSIGN_FOLLOWER_TO_BUILDING_RESULT = 0xBADD, SMSG_GARRISON_BUILDING_ACTIVATED = 0x07AA, - SMSG_GARRISON_BUILDING_REMOVED = 0xBADD, + SMSG_GARRISON_BUILDING_REMOVED = 0x0723, SMSG_GARRISON_BUILDING_SET_ACTIVE_SPECIALIZATION_RESULT = 0xBADD, - SMSG_GARRISON_COMPLETE_MISSION_RESULT = 0xBADD, + SMSG_GARRISON_COMPLETE_MISSION_RESULT = 0x02C2, SMSG_GARRISON_DELETE_RESULT = 0xBADD, - SMSG_GARRISON_FOLLOWER_CHANGED_XP = 0x07AC, + SMSG_GARRISON_FOLLOWER_CHANGED_XP = 0xBADD, SMSG_GARRISON_LANDINGPAGE_SHIPMENTS = 0xBADD, - SMSG_GARRISON_LEARN_BLUEPRINT_RESULT = 0xBADD, + SMSG_GARRISON_LEARN_BLUEPRINT_RESULT = 0x0701, SMSG_GARRISON_LEARN_SPECIALIZATION_RESULT = 0xBADD, - SMSG_GARRISON_LIST_FOLLOWERS_CHEAT_RESULT = 0x0081, + SMSG_GARRISON_LIST_FOLLOWERS_CHEAT_RESULT = 0xBADD, SMSG_GARRISON_MISSION_BONUS_ROLL_RESULT = 0xBADD, SMSG_GARRISON_MONUMENT_SELECTED_TROPHY_ID_LOADED = 0xBADD, SMSG_GARRISON_OPEN_ARCHITECT = 0xBADD, SMSG_GARRISON_OPEN_MISSION_NPC = 0xBADD, SMSG_GARRISON_OPEN_TRADESKILL_NPC_RESPONSE = 0xBADD, - SMSG_GARRISON_PLACE_BUILDING_RESULT = 0xBADD, + SMSG_GARRISON_PLACE_BUILDING_RESULT = 0x07CA, SMSG_GARRISON_PLOT_PLACED = 0xBADD, SMSG_GARRISON_PLOT_REMOVED = 0xBADD, SMSG_GARRISON_REMOTE_INFO = 0x0C39, @@ -1149,7 +1150,7 @@ enum OpcodeServer : uint32 SMSG_GARRISON_REMOVE_FOLLOWER_RESULT = 0xBADD, SMSG_GARRISON_REQUEST_BLUEPRINT_AND_SPECIALIZATION_DATA_RESULT = 0xBADD, SMSG_GARRISON_SET_NUM_FOLLOWER_ACTIVATIONS_REMAINING = 0xBADD, - SMSG_GARRISON_START_MISSION_RESULT = 0xBADD, + SMSG_GARRISON_START_MISSION_RESULT = 0x0AA1, SMSG_GARRISON_UNK1 = 0xBADD, SMSG_GARRISON_UNK3 = 0xBADD, SMSG_GARRISON_UPGRADEABLE_RESULT = 0xBADD, @@ -1157,7 +1158,7 @@ enum OpcodeServer : uint32 SMSG_GARRISON_UPGRADE_RESULT = 0xBADD, SMSG_GET_ACCOUNT_CHARACTER_LIST_RESULT = 0xBADD, SMSG_GET_GARRISON_INFO_RESULT = 0x0733, - SMSG_GET_SHIPMENT_INFO_RESPONSE = 0xBADD, + SMSG_GET_SHIPMENT_INFO_RESPONSE = 0x1F09, SMSG_GET_TROPHY_LIST_RESPONSE = 0xBADD, SMSG_GHOST = 0xBADD, SMSG_GHOSTEE_GONE = 0xBADD, @@ -1179,7 +1180,7 @@ enum OpcodeServer : uint32 SMSG_GOD_MODE = 0xBADD, SMSG_GOSSIP_COMPLETE = 0x07A8, SMSG_GOSSIP_MESSAGE = 0x0117, - SMSG_GOSSIP_POI = 0xBADD, + SMSG_GOSSIP_POI = 0x1BBC, SMSG_GROUP_ACTION_THROTTLED = 0xBADD, SMSG_GROUP_CANCEL = 0xBADD, SMSG_GROUP_DECLINE = 0xBADD, @@ -1195,7 +1196,7 @@ enum OpcodeServer : uint32 SMSG_GUILD_BANK_TEXT_QUERY_RESULT = 0xBADD, SMSG_GUILD_CANCEL = 0xBADD, SMSG_GUILD_CHALLENGE_COMPLETED = 0xBADD, - SMSG_GUILD_CHALLENGE_UPDATE = 0xBADD, + SMSG_GUILD_CHALLENGE_UPDATE = 0x04F3, SMSG_GUILD_CHANGE_NAME_RESULT = 0xBADD, SMSG_GUILD_COMMAND_RESULT = 0x0B94, SMSG_GUILD_CRITERIA_DELETED = 0x09B4, @@ -1221,24 +1222,24 @@ enum OpcodeServer : uint32 SMSG_GUILD_INVITE_CANCEL = 0xBADD, SMSG_GUILD_INVITE_DECLINED = 0xBADD, SMSG_GUILD_INVITE_EXPIRED = 0xBADD, - SMSG_GUILD_KNOWN_RECIPES = 0xBADD, + SMSG_GUILD_KNOWN_RECIPES = 0x04B3, SMSG_GUILD_MEMBERS_WITH_RECIPE = 0xBADD, - SMSG_GUILD_MEMBER_DAILY_RESET = 0xBADD, + SMSG_GUILD_MEMBER_DAILY_RESET = 0x08D4, SMSG_GUILD_MEMBER_RECIPES = 0xBADD, SMSG_GUILD_MEMBER_UPDATE_NOTE = 0xBADD, SMSG_GUILD_MOVED = 0xBADD, SMSG_GUILD_MOVE_STARTING = 0xBADD, SMSG_GUILD_NAME_CHANGED = 0xBADD, - SMSG_GUILD_NEWS = 0xBADD, - SMSG_GUILD_NEWS_DELETED = 0xBADD, + SMSG_GUILD_NEWS = 0x05F4, + SMSG_GUILD_NEWS_DELETED = 0x0194, SMSG_GUILD_PARTY_STATE_RESPONSE = 0x0BD4, SMSG_GUILD_PERMISSIONS_QUERY_RESULTS = 0x07D4, SMSG_GUILD_QUERY_RESPONSE = 0x06F3, SMSG_GUILD_RANKS = 0x01D3, SMSG_GUILD_RECIPES = 0xBADD, - SMSG_GUILD_REPUTATION_REACTION_CHANGED = 0xBADD, + SMSG_GUILD_REPUTATION_REACTION_CHANGED = 0x0293, SMSG_GUILD_RESET = 0xBADD, - SMSG_GUILD_REWARDS_LIST = 0xBADD, + SMSG_GUILD_REWARDS_LIST = 0x04D3, SMSG_GUILD_ROSTER = 0x07F3, SMSG_GUILD_ROSTER_UPDATE = 0xBADD, SMSG_GUILD_SEND_RANK_CHANGE = 0xBADD, @@ -1277,8 +1278,8 @@ enum OpcodeServer : uint32 SMSG_INVALIDATE_DANCE = 0xBADD, SMSG_INVALIDATE_PLAYER = 0x1799, SMSG_INVALID_PROMOTION_CODE = 0xBADD, - SMSG_INVENTORY_CHANGE_FAILURE = 0xBADD, - SMSG_IS_QUEST_COMPLETE_RESPONSE = 0xBADD, + SMSG_INVENTORY_CHANGE_FAILURE = 0x05E1, + SMSG_IS_QUEST_COMPLETE_RESPONSE = 0x0108, SMSG_ITEM_COOLDOWN = 0x05A3, SMSG_ITEM_ENCHANT_TIME_UPDATE = 0x176A, SMSG_ITEM_EXPIRE_PURCHASE_REFUND = 0x112B, @@ -1296,7 +1297,7 @@ enum OpcodeServer : uint32 SMSG_LFG_BOOT_PLAYER = 0xBADD, SMSG_LFG_BOOT_PROPOSAL_UPDATE = 0xBADD, SMSG_LFG_DISABLED = 0xBADD, - SMSG_LFG_JOIN_RESULT = 0xBADD, + SMSG_LFG_JOIN_RESULT = 0x01BA, SMSG_LFG_LIST_JOIN_RESULT = 0xBADD, SMSG_LFG_LIST_UPDATE_BLACKLIST = 0xBADD, SMSG_LFG_LIST_UPDATE_STATUS = 0xBADD, @@ -1306,23 +1307,23 @@ enum OpcodeServer : uint32 SMSG_LFG_PLAYER_INFO = 0x03FA, SMSG_LFG_PLAYER_REWARD = 0xBADD, SMSG_LFG_PROPOSAL_UPDATE = 0xBADD, - SMSG_LFG_QUEUE_STATUS = 0xBADD, - SMSG_LFG_ROLE_CHECK_UPDATE = 0xBADD, + SMSG_LFG_QUEUE_STATUS = 0x0292, + SMSG_LFG_ROLE_CHECK_UPDATE = 0x01D9, SMSG_LFG_ROLE_CHOSEN = 0xBADD, SMSG_LFG_SEARCH_RESULTS = 0xBADD, - SMSG_LFG_SLOT_INVALID = 0xBADD, + SMSG_LFG_SLOT_INVALID = 0x0191, SMSG_LFG_TELEPORT_DENIED = 0xBADD, SMSG_LFG_UPDATE_LIST = 0xBADD, SMSG_LFG_UPDATE_SEARCH = 0xBADD, - SMSG_LFG_UPDATE_STATUS = 0xBADD, + SMSG_LFG_UPDATE_STATUS = 0x02B1, SMSG_LF_GUILD_APPLICANT_LIST_UPDATED = 0xBADD, SMSG_LF_GUILD_APPLICATIONS = 0xBADD, SMSG_LF_GUILD_APPLICATIONS_LIST_CHANGED = 0xBADD, SMSG_LF_GUILD_BROWSE = 0xBADD, SMSG_LF_GUILD_COMMAND_RESULT = 0xBADD, SMSG_LF_GUILD_MEMBERSHIP_LIST_UPDATED = 0xBADD, - SMSG_LF_GUILD_POST = 0xBADD, - SMSG_LF_GUILD_RECRUITS = 0xBADD, + SMSG_LF_GUILD_POST = 0x0BD3, + SMSG_LF_GUILD_RECRUITS = 0x0CB3, SMSG_LIST_INVENTORY = 0x17A1, SMSG_LIST_TARGETS = 0xBADD, SMSG_LIVE_REGION_ACCOUNT_RESTORE_RESULT = 0xBADD, @@ -1334,7 +1335,7 @@ enum OpcodeServer : uint32 SMSG_LOGOUT_CANCEL_ACK = 0x1D8A, SMSG_LOGOUT_COMPLETE = 0x17AA, SMSG_LOGOUT_RESPONSE = 0x05C3, - SMSG_LOG_XPGAIN = 0xBADD, + SMSG_LOG_XPGAIN = 0x1B8B, SMSG_LOOT_ALL_PASSED = 0xBADD, SMSG_LOOT_CONTENTS = 0x1334, SMSG_LOOT_ITEM_LIST = 0xBADD, @@ -1371,18 +1372,18 @@ enum OpcodeServer : uint32 SMSG_MODIFY_COOLDOWN = 0x15EA, SMSG_MONEY_NOTIFY = 0xBADD, SMSG_MOTD = 0x12FB, - SMSG_MOUNT_RESULT = 0xBADD, - SMSG_MOVE_APPLY_MOVEMENT_FORCE = 0xBADD, + SMSG_MOUNT_RESULT = 0x1BAC, + SMSG_MOVE_APPLY_MOVEMENT_FORCE = 0x033A, SMSG_MOVE_CHARACTER_CHEAT_FAILURE = 0xBADD, SMSG_MOVE_CHARACTER_CHEAT_SUCCESS = 0xBADD, SMSG_MOVE_DISABLE_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY = 0x0C12, - SMSG_MOVE_DISABLE_COLLISION = 0xBADD, - SMSG_MOVE_DISABLE_GRAVITY = 0xBADD, + SMSG_MOVE_DISABLE_COLLISION = 0x027C, + SMSG_MOVE_DISABLE_GRAVITY = 0x0124, SMSG_MOVE_ENABLE_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY = 0x0AC9, - SMSG_MOVE_ENABLE_COLLISION = 0xBADD, - SMSG_MOVE_ENABLE_GRAVITY = 0xBADD, + SMSG_MOVE_ENABLE_COLLISION = 0x0512, + SMSG_MOVE_ENABLE_GRAVITY = 0x0024, SMSG_MOVE_KNOCK_BACK = 0x048B, - SMSG_MOVE_REMOVE_MOVEMENT_FORCE = 0xBADD, + SMSG_MOVE_REMOVE_MOVEMENT_FORCE = 0x0361, SMSG_MOVE_ROOT = 0x0031, SMSG_MOVE_SET_ACTIVE_MOVER = 0x024C, SMSG_MOVE_SET_ANIM_KIT = 0x1F9B, @@ -1407,10 +1408,10 @@ enum OpcodeServer : uint32 SMSG_MOVE_SET_WALK_IN_AIR = 0xBADD, SMSG_MOVE_SET_WALK_SPEED = 0x024A, SMSG_MOVE_SET_WATER_WALK = 0x0D62, - SMSG_MOVE_SKIP_TIME = 0xBADD, - SMSG_MOVE_SPLINE_DISABLE_COLLISION = 0xBADD, + SMSG_MOVE_SKIP_TIME = 0x0359, + SMSG_MOVE_SPLINE_DISABLE_COLLISION = 0x1392, SMSG_MOVE_SPLINE_DISABLE_GRAVITY = 0x002A, - SMSG_MOVE_SPLINE_ENABLE_COLLISION = 0xBADD, + SMSG_MOVE_SPLINE_ENABLE_COLLISION = 0x0152, SMSG_MOVE_SPLINE_ENABLE_GRAVITY = 0x0641, SMSG_MOVE_SPLINE_ROOT = 0x0A4B, SMSG_MOVE_SPLINE_SET_ANIM = 0xBADD, @@ -1445,7 +1446,7 @@ enum OpcodeServer : uint32 SMSG_MOVE_UNSET_IGNORE_MOVEMENT_FORCES = 0x0E31, SMSG_MOVE_UNSET_WALK_IN_AIR = 0xBADD, SMSG_MOVE_UPDATE = 0x1514, - SMSG_MOVE_UPDATE_APPLY_MOVEMENT_FORCE = 0xBADD, + SMSG_MOVE_UPDATE_APPLY_MOVEMENT_FORCE = 0x1193, SMSG_MOVE_UPDATE_COLLISION_HEIGHT = 0x0624, SMSG_MOVE_UPDATE_FLIGHT_BACK_SPEED = 0x036B, SMSG_MOVE_UPDATE_FLIGHT_SPEED = 0x0D72, @@ -1467,17 +1468,17 @@ enum OpcodeServer : uint32 SMSG_NOTIFICATION = 0xBADD, SMSG_NOTIFY_DANCE = 0xBADD, SMSG_NOTIFY_DEST_LOC_SPELL_CAST = 0xBADD, - SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION = 0xBADD, + SMSG_NOTIFY_MISSILE_TRAJECTORY_COLLISION = 0x1F49, SMSG_NOTIFY_MONEY = 0xBADD, - SMSG_NOTIFY_RECEIVED_MAIL = 0xBADD, + SMSG_NOTIFY_RECEIVED_MAIL = 0x136C, SMSG_NPC_TEXT_UPDATE = 0x0A31, SMSG_NPC_WONT_TALK = 0xBADD, SMSG_OFFER_PETITION_ERROR = 0xBADD, - SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA = 0xBADD, + SMSG_ON_CANCEL_EXPECTED_RIDE_VEHICLE_AURA = 0x096C, SMSG_ON_MONSTER_MOVE = 0x0B09, SMSG_OPEN_CONTAINER = 0xBADD, SMSG_OPEN_LFG_DUNGEON_FINDER = 0xBADD, - SMSG_OPEN_SHIPMENT_NPC_FROM_GOSSIP = 0xBADD, + SMSG_OPEN_SHIPMENT_NPC_FROM_GOSSIP = 0x11F2, SMSG_OPEN_SHIPMENT_NPC_RESULT = 0xBADD, SMSG_OVERRIDE_LIGHT = 0xBADD, SMSG_PAGE_TEXT = 0xBADD, @@ -1485,17 +1486,17 @@ enum OpcodeServer : uint32 SMSG_PARTY_COMMAND_RESULT = 0xBADD, SMSG_PARTY_INVITE = 0x1F9C, SMSG_PARTY_KILL_LOG = 0x0CA4, - SMSG_PARTY_MEMBER_STATE = 0xBADD, + SMSG_PARTY_MEMBER_STATE = 0x1564, SMSG_PARTY_MEMBER_STATS = 0xBADD, SMSG_PARTY_MEMBER_STATS_FULL = 0xBADD, - SMSG_PARTY_UPDATE = 0xBADD, + SMSG_PARTY_UPDATE = 0x0981, SMSG_PAUSE_MIRROR_TIMER = 0xBADD, SMSG_PENDING_RAID_LOCK = 0xBADD, SMSG_PERIODICAURALOG = 0x184B, SMSG_PETITION_ALREADY_SIGNED = 0xBADD, SMSG_PETITION_DECLINED = 0xBADD, SMSG_PETITION_RENAME_GUILD_RESPONSE = 0xBADD, - SMSG_PETITION_SHOW_LIST = 0xBADD, + SMSG_PETITION_SHOW_LIST = 0x1134, SMSG_PETITION_SHOW_SIGNATURES = 0xBADD, SMSG_PETITION_SIGN_RESULTS = 0xBADD, SMSG_PET_ACTION_FEEDBACK = 0xBADD, @@ -1503,40 +1504,40 @@ enum OpcodeServer : uint32 SMSG_PET_ADDED = 0xBADD, SMSG_PET_BATTLE_CHAT_RESTRICTED = 0xBADD, SMSG_PET_BATTLE_DEBUG_QUEUE_DUMP_RESPONSE = 0xBADD, - SMSG_PET_BATTLE_FINALIZE_LOCATION = 0xBADD, - SMSG_PET_BATTLE_FINAL_ROUND = 0xBADD, - SMSG_PET_BATTLE_FINISHED = 0xBADD, - SMSG_PET_BATTLE_FIRST_ROUND = 0xBADD, - SMSG_PET_BATTLE_INITIAL_UPDATE = 0xBADD, + SMSG_PET_BATTLE_FINALIZE_LOCATION = 0x1D24, + SMSG_PET_BATTLE_FINAL_ROUND = 0x0B29, + SMSG_PET_BATTLE_FINISHED = 0x15FC, + SMSG_PET_BATTLE_FIRST_ROUND = 0x11CA, + SMSG_PET_BATTLE_INITIAL_UPDATE = 0x153A, SMSG_PET_BATTLE_MAX_GAME_LENGTH_WARNING = 0xBADD, SMSG_PET_BATTLE_PVP_CHALLENGE = 0xBADD, SMSG_PET_BATTLE_QUEUE_PROPOSE_MATCH = 0xBADD, SMSG_PET_BATTLE_QUEUE_STATUS = 0xBADD, SMSG_PET_BATTLE_REPLACEMENTS_MADE = 0xBADD, SMSG_PET_BATTLE_REQUEST_FAILED = 0xBADD, - SMSG_PET_BATTLE_ROUND_RESULT = 0xBADD, + SMSG_PET_BATTLE_ROUND_RESULT = 0x15F9, SMSG_PET_BATTLE_SLOT_UPDATES = 0xBADD, SMSG_PET_BROKEN = 0xBADD, SMSG_PET_CAST_FAILED = 0xBADD, - SMSG_PET_CLEAR_SPELLS = 0xBADD, + SMSG_PET_CLEAR_SPELLS = 0x0EEA, SMSG_PET_DISMISS_SOUND = 0x11BC, SMSG_PET_GOD_MODE = 0xBADD, SMSG_PET_GUIDS = 0x198A, SMSG_PET_LEARNED_SPELL = 0xBADD, - SMSG_PET_MODE = 0xBADD, + SMSG_PET_MODE = 0x196B, SMSG_PET_NAME_INVALID = 0xBADD, SMSG_PET_NAME_QUERY_RESPONSE = 0x15A9, SMSG_PET_REMOVED_SPELL = 0xBADD, SMSG_PET_RENAMEABLE = 0xBADD, SMSG_PET_SLOT_UPDATED = 0xBADD, SMSG_PET_SPECIALIZATION = 0xBADD, - SMSG_PET_SPELLS = 0xBADD, + SMSG_PET_SPELLS = 0x1283, SMSG_PET_STABLE_LIST = 0x04E2, SMSG_PET_STABLE_RESULT = 0xBADD, SMSG_PET_TAME_FAILURE = 0xBADD, SMSG_PET_UPDATE_COMBO_POINTS = 0xBADD, SMSG_PLAYED_TIME = 0x0B71, - SMSG_PLAYER_BOUND = 0xBADD, + SMSG_PLAYER_BOUND = 0x19A1, SMSG_PLAYER_SKINNED = 0xBADD, SMSG_PLAYER_VEHICLE_DATA = 0xBADD, SMSG_PLAY_DANCE = 0xBADD, @@ -1579,7 +1580,7 @@ enum OpcodeServer : uint32 SMSG_QUESTGIVER_STATUS_MULTIPLE = 0x030F, SMSG_QUEST_COMPLETION_NPC_RESPONSE = 0x071D, SMSG_QUEST_CONFIRM_ACCEPT = 0xBADD, - SMSG_QUEST_FORCE_REMOVED = 0xBADD, + SMSG_QUEST_FORCE_REMOVED = 0x0120, SMSG_QUEST_LOG_FULL = 0xBADD, SMSG_QUEST_POI_QUERY_RESPONSE = 0x01AE, SMSG_QUEST_PUSH_RESULT = 0xBADD, @@ -1593,7 +1594,7 @@ enum OpcodeServer : uint32 SMSG_RAF_EMAIL_ENABLED_RESPONSE = 0xBADD, SMSG_RAID_GROUP_ONLY = 0xBADD, SMSG_RAID_INSTANCE_INFO = 0xBADD, - SMSG_RAID_INSTANCE_MESSAGE = 0xBADD, + SMSG_RAID_INSTANCE_MESSAGE = 0x12F3, SMSG_RAID_MARKERS_CHANGED = 0xBADD, SMSG_RANDOMIZE_CHAR_NAME = 0x195B, SMSG_RANDOM_ROLL = 0x04C1, @@ -1612,19 +1613,19 @@ enum OpcodeServer : uint32 SMSG_REFER_A_FRIEND_EXPIRED = 0xBADD, SMSG_REFER_A_FRIEND_FAILURE = 0xBADD, SMSG_REFRESH_COMPONENT = 0xBADD, - SMSG_REFRESH_SPELL_HISTORY = 0xBADD, + SMSG_REFRESH_SPELL_HISTORY = 0x072B, SMSG_REMOVE_ITEM_PASSIVE = 0xBADD, SMSG_REMOVE_LOSS_OF_CONTROL = 0xBADD, SMSG_REPLACE_TROPHY_RESPONSE = 0xBADD, SMSG_REPORT_PVP_AFK_RESULT = 0xBADD, SMSG_REQUEST_CEMETERY_LIST_RESPONSE = 0x15BB, - SMSG_REQUEST_PVP_REWARDS_RESPONSE = 0xBADD, + SMSG_REQUEST_PVP_REWARDS_RESPONSE = 0x1B74, SMSG_RESEARCH_COMPLETE = 0xBADD, - SMSG_RESEARCH_SETUP_HISTORY = 0xBADD, + SMSG_RESEARCH_SETUP_HISTORY = 0x1D8B, SMSG_RESET_AREA_TRIGGER = 0xBADD, SMSG_RESET_COMPRESSION_CONTEXT = 0xBADD, SMSG_RESET_FAILED_NOTIFY = 0xBADD, - SMSG_RESET_RANGED_COMBAT_TIMER = 0xBADD, + SMSG_RESET_RANGED_COMBAT_TIMER = 0x135C, SMSG_RESET_WEEKLY_CURRENCY = 0xBADD, SMSG_RESISTLOG = 0xBADD, SMSG_RESPEC_WIPE_CONFIRM = 0xBADD, @@ -1658,7 +1659,7 @@ enum OpcodeServer : uint32 SMSG_SCRIPT_MESSAGE = 0xBADD, SMSG_SELL_RESPONSE = 0x0933, SMSG_SEND_ITEM_PASSIVES = 0xBADD, - SMSG_SEND_MAIL_RESULT = 0xBADD, + SMSG_SEND_MAIL_RESULT = 0x01C4, SMSG_SEND_RAID_TARGET_UPDATE_ALL = 0xBADD, SMSG_SEND_RAID_TARGET_UPDATE_SINGLE = 0xBADD, SMSG_SEND_SPELL_CHARGES = 0x0CEB, @@ -1686,15 +1687,15 @@ enum OpcodeServer : uint32 SMSG_SET_FACTION_STANDING = 0x1129, SMSG_SET_FACTION_VISIBLE = 0x0A72, SMSG_SET_FLAT_SPELL_MODIFIER = 0x120B, - SMSG_SET_FORCED_REACTIONS = 0xBADD, + SMSG_SET_FORCED_REACTIONS = 0x0EC2, SMSG_SET_ITEM_PURCHASE_DATA = 0xBADD, SMSG_SET_LFG_TIME_WALKER = 0xBADD, SMSG_SET_LOOT_METHOD_FAILED = 0xBADD, - SMSG_SET_MAX_WEEKLY_QUANTITY = 0xBADD, + SMSG_SET_MAX_WEEKLY_QUANTITY = 0x1372, SMSG_SET_MELEE_ANIM_KIT = 0x1B2C, SMSG_SET_PCT_SPELL_MODIFIER = 0x0E59, SMSG_SET_PHASE_SHIFT_CHANGE = 0x17F9, - SMSG_SET_PLAYER_DECLINED_NAMES_RESULT = 0xBADD, + SMSG_SET_PLAYER_DECLINED_NAMES_RESULT = 0x1363, SMSG_SET_PLAY_HOVER_ANIM = 0x01C3, SMSG_SET_PROFICIENCY = 0x092A, SMSG_SET_PROJECTILE_POSITION = 0xBADD, @@ -1749,7 +1750,7 @@ enum OpcodeServer : uint32 SMSG_STOP_DANCE = 0xBADD, SMSG_STOP_ELAPSED_TIMER = 0x092B, SMSG_STOP_MIRROR_TIMER = 0x0D81, - SMSG_STREAMING_MOVIE = 0xBADD, + SMSG_STREAMING_MOVIE = 0x0A7B, SMSG_SUMMON_CANCEL = 0xBADD, SMSG_SUMMON_RAID_MEMBER_VALIDATE_FAILED = 0xBADD, SMSG_SUMMON_REQUEST = 0xBADD, @@ -1757,7 +1758,7 @@ enum OpcodeServer : uint32 SMSG_SUPPRESS_NPC_GREETINGS = 0x118B, SMSG_SUSPEND_COMMS = 0x068B, SMSG_SUSPEND_TOKEN = 0x1BB4, - SMSG_TABARD_VENDOR_ACTIVATE = 0xBADD, + SMSG_TABARD_VENDOR_ACTIVATE = 0x15BC, SMSG_TALENTS_ERROR = 0xBADD, SMSG_TALENTS_INFO = 0x04C4, SMSG_TALENTS_INVOLUNTARILY_RESET = 0xBADD, @@ -1769,9 +1770,9 @@ enum OpcodeServer : uint32 SMSG_THREAT_UPDATE = 0x0B33, SMSG_TIME_ADJUSTMENT = 0xBADD, SMSG_TIME_SYNC_REQ = 0x0A01, - SMSG_TITLE_EARNED = 0xBADD, - SMSG_TITLE_LOST = 0xBADD, - SMSG_TOTEM_CREATED = 0xBADD, + SMSG_TITLE_EARNED = 0x0D83, + SMSG_TITLE_LOST = 0x083B, + SMSG_TOTEM_CREATED = 0x1F5A, SMSG_TOTEM_MOVED = 0xBADD, SMSG_TRADE_STATUS = 0xBADD, SMSG_TRADE_UPDATED = 0xBADD, @@ -1780,8 +1781,8 @@ enum OpcodeServer : uint32 SMSG_TRAINER_LIST = 0x1F4B, SMSG_TRANSFER_ABORTED = 0x1B7C, SMSG_TRANSFER_PENDING = 0x1BDB, - SMSG_TRIGGER_CINEMATIC = 0xBADD, - SMSG_TRIGGER_MOVIE = 0xBADD, + SMSG_TRIGGER_CINEMATIC = 0x0863, + SMSG_TRIGGER_MOVIE = 0x1B3C, SMSG_TURN_IN_PETITION_RESULTS = 0xBADD, SMSG_TUTORIAL_FLAGS = 0x0A39, SMSG_UI_TIME = 0x05E3, @@ -1815,10 +1816,10 @@ enum OpcodeServer : uint32 SMSG_VOICE_SESSION_ROSTER_UPDATE = 0xBADD, SMSG_VOICE_SET_TALKER_MUTED = 0xBADD, SMSG_VOID_ITEM_SWAP_RESPONSE = 0xBADD, - SMSG_VOID_STORAGE_CONTENTS = 0xBADD, + SMSG_VOID_STORAGE_CONTENTS = 0x1122, SMSG_VOID_STORAGE_FAILED = 0xBADD, - SMSG_VOID_STORAGE_TRANSFER_CHANGES = 0xBADD, - SMSG_VOID_TRANSFER_RESULT = 0xBADD, + SMSG_VOID_STORAGE_TRANSFER_CHANGES = 0x1BAB, + SMSG_VOID_TRANSFER_RESULT = 0x192C, SMSG_WAIT_QUEUE_FINISH = 0xBADD, SMSG_WAIT_QUEUE_UPDATE = 0xBADD, SMSG_WARDEN_DATA = 0x110A, @@ -1838,173 +1839,19 @@ enum OpcodeServer : uint32 inline bool IsInstanceOnlyOpcode(uint32 opcode) { - // TODO: Use names when known switch (opcode) { - /*case SMSG_MOUNT_RESULT: // Client - case SMSG_DUEL_OUT_OF_BOUNDS: // Client - case SMSG_DUEL_IN_BOUNDS: // Client - case 0x0549: // Client - case 0x055A: // Client - case 0x055C: // Client - case 0x057A: // Client - case 0x057C: // Client - case 0x05C9: // Client - case 0x05CA: // Client - case 0x05D9: // Client - case 0x05DA: // Client - case 0x05DC: // Client - case 0x05E9: // Client - case 0x05F9: // Client - case 0x05FC: // Client - case 0x074B: // Client - case 0x074C: // Client - case 0x075B: // Client - case 0x075C: // Client - case 0x076C: // Client - case 0x07CB: // Client - case 0x07CC: // Client - case 0x07DB: // Client - case 0x07DC: // Client - case 0x07EC: // Client + case SMSG_QUESTGIVER_STATUS: // ClientQuest case SMSG_DUEL_REQUESTED: // Client + case SMSG_DUEL_IN_BOUNDS: // Client + case SMSG_QUERY_TIME_RESPONSE: // Client case SMSG_DUEL_WINNER: // Client - case 0x0F0F: // ClientSpell - case 0x0F10: // ClientSpell - case 0x0F30: // ClientSpell - case 0x0F3B: // ClientSpell - case 0x0F8B: // ClientSpell - case 0x0F8C: // ClientSpell - case 0x0F90: // ClientSpell - case 0x0F9F: // ClientSpell - case 0x0FA0: // ClientSpell - case SMSG_ATTACKSTOP: // Client case SMSG_DUEL_COMPLETE: // Client - case 0x154B: // Client - case 0x154C: // Client - case 0x155A: // Client - case 0x155B: // Client - case 0x155C: // Client - case SMSG_QUESTGIVER_STATUS: // ClientQuest - case 0x156B: // Client - case 0x1579: // Client - case 0x157B: // Client - case 0x15CB: // Client - case 0x15CC: // Client - case 0x15DB: // Client - case 0x15DC: // Client - case 0x15EB: // Client - case 0x15FB: // Client - case 0x1710: // ClientSpell - case 0x1720: // ClientSpell - case 0x172B: // ClientSpell - case 0x172C: // ClientSpell - case 0x172F: // ClientSpell - case 0x1730: // ClientSpell - case 0x173C: // ClientSpell - case 0x178B: // ClientSpell - case 0x178C: // ClientSpell - case 0x178F: // ClientSpell - case 0x1790: // ClientSpell - case 0x179B: // ClientSpell - case 0x179F: // ClientSpell + case SMSG_DUEL_OUT_OF_BOUNDS: // Client + case SMSG_ATTACKSTOP: // Client case SMSG_ATTACKSTART: // Client - case 0x1D82: // ClientQuest - case 0x1D83: // ClientQuest - case 0x1D84: // ClientQuest - case 0x1D86: // ClientQuest - case 0x1D91: // ClientQuest - case 0x1D92: // ClientQuest - case 0x1D94: // ClientQuest - case 0x1D96: // ClientQuest - case 0x1D97: // ClientQuest - case 0x1DA1: // ClientQuest - case 0x1DA2: // ClientQuest - case 0x1DA3: // ClientQuest - case 0x1DA4: // ClientQuest - case 0x1DA5: // ClientQuest - case 0x1DA7: // ClientQuest - case SMSG_QUERY_TIME_RESPONSE: // Client - case 0x1DC4: // ClientQuest - case 0x1DC8: // ClientQuest - case 0x1DD1: // ClientQuest - case 0x1DD2: // ClientQuest - case 0x1DD3: // ClientQuest - case 0x1DD4: // ClientQuest - case 0x1DD6: // ClientQuest - case 0x1DE1: // ClientQuest - case 0x1DE2: // ClientQuest - case 0x1DE3: // ClientQuest - case 0x1DE4: // ClientQuest - case 0x1DE5: // ClientQuest - case 0x1DE7: // ClientQuest - case 0x1F04: // ClientQuest - case 0x1F08: // ClientQuest - case 0x1F10: // ClientSpell - case 0x1F11: // ClientQuest - case 0x1F12: // ClientQuest - case 0x1F13: // ClientQuest - case 0x1F14: // ClientQuest - case 0x1F16: // ClientQuest - case 0x1F20: // ClientSpell - case 0x1F21: // ClientQuest - case 0x1F22: // ClientQuest - case 0x1F23: // ClientQuest - case 0x1F24: // ClientQuest - case 0x1F25: // ClientQuest - case 0x1F27: // ClientQuest - case 0x1F2B: // ClientSpell - case 0x1F2C: // ClientSpell - case 0x1F2F: // ClientSpell - case 0x1F30: // ClientSpell - case 0x1F3C: // ClientSpell - case 0x1F41: // ClientQuest - case 0x1F42: // ClientQuest - case 0x1F44: // ClientQuest - case 0x1F46: // ClientQuest - case 0x1F47: // ClientQuest - case 0x1F48: // ClientQuest - case 0x1F52: // ClientQuest - case 0x1F53: // ClientQuest - case 0x1F55: // ClientQuest - case 0x1F57: // ClientQuest - case 0x1F61: // ClientQuest - case 0x1F63: // ClientQuest - case 0x1F64: // ClientQuest - case 0x1F65: // ClientQuest - case 0x1F67: // ClientQuest - case 0x1F84: // ClientQuest - case 0x1F87: // ClientQuest - case 0x1F8B: // ClientSpell - case 0x1F8C: // ClientSpell - case 0x1F8F: // ClientSpell - case 0x1F90: // ClientSpell - case 0x1F91: // ClientQuest - case 0x1F95: // ClientQuest - case 0x1F96: // ClientQuest - case 0x1F97: // ClientQuest - case 0x1F9B: // ClientSpell - case 0x1F9F: // ClientSpell - case 0x1FA1: // ClientQuest - case 0x1FA2: // ClientQuest - case 0x1FA3: // ClientQuest - case 0x1FA4: // ClientQuest - case 0x1FA5: // ClientQuest - case 0x1FA7: // ClientQuest - case 0x1FC4: // ClientQuest - case 0x1FC8: // ClientQuest - case 0x1FD1: // ClientQuest - case 0x1FD2: // ClientQuest - case 0x1FD3: // ClientQuest - case 0x1FD4: // ClientQuest - case 0x1FD6: // ClientQuest - case 0x1FE1: // ClientQuest - case 0x1FE2: // ClientQuest - case 0x1FE3: // ClientQuest - case 0x1FE4: // ClientQuest - case 0x1FE5: // ClientQuest - case 0x1FE7: // ClientQuest - return true;*/ + case SMSG_MOUNT_RESULT: // Client + return true; default: return false; } diff --git a/src/server/game/Server/WorldSession.cpp b/src/server/game/Server/WorldSession.cpp index 15a06a29cb7..6c889b51631 100644 --- a/src/server/game/Server/WorldSession.cpp +++ b/src/server/game/Server/WorldSession.cpp @@ -272,8 +272,8 @@ void WorldSession::SendPacket(WorldPacket const* packet, bool forced /*= false*/ { uint64 minTime = uint64(cur_time - lastTime); uint64 fullTime = uint64(lastTime - firstTime); - TC_LOG_INFO("misc", "Send all time packets count: " UI64FMTD " bytes: " UI64FMTD " avr.count/sec: %f avr.bytes/sec: %f time: %u", sendPacketCount, sendPacketBytes, float(sendPacketCount)/fullTime, float(sendPacketBytes)/fullTime, uint32(fullTime)); - TC_LOG_INFO("misc", "Send last min packets count: " UI64FMTD " bytes: " UI64FMTD " avr.count/sec: %f avr.bytes/sec: %f", sendLastPacketCount, sendLastPacketBytes, float(sendLastPacketCount)/minTime, float(sendLastPacketBytes)/minTime); + TC_LOG_DEBUG("misc", "Send all time packets count: " UI64FMTD " bytes: " UI64FMTD " avr.count/sec: %f avr.bytes/sec: %f time: %u", sendPacketCount, sendPacketBytes, float(sendPacketCount)/fullTime, float(sendPacketBytes)/fullTime, uint32(fullTime)); + TC_LOG_DEBUG("misc", "Send last min packets count: " UI64FMTD " bytes: " UI64FMTD " avr.count/sec: %f avr.bytes/sec: %f", sendLastPacketCount, sendLastPacketBytes, float(sendLastPacketCount)/minTime, float(sendLastPacketBytes)/minTime); lastTime = cur_time; sendLastPacketCount = 1; @@ -865,7 +865,7 @@ void WorldSession::ReadAddonsInfo(ByteBuffer& data) addonInfo >> enabled >> crc >> unk1; - TC_LOG_INFO("misc", "ADDON: Name: %s, Enabled: 0x%x, CRC: 0x%x, Unknown2: 0x%x", addonName.c_str(), enabled, crc, unk1); + TC_LOG_DEBUG("misc", "ADDON: Name: %s, Enabled: 0x%x, CRC: 0x%x, Unknown2: 0x%x", addonName.c_str(), enabled, crc, unk1); AddonInfo addon(addonName, enabled, crc, 2, true); @@ -873,15 +873,15 @@ void WorldSession::ReadAddonsInfo(ByteBuffer& data) if (savedAddon) { if (addon.CRC != savedAddon->CRC) - TC_LOG_INFO("misc", "ADDON: %s was known, but didn't match known CRC (0x%x)!", addon.Name.c_str(), savedAddon->CRC); + TC_LOG_ERROR("misc", "ADDON: %s was known, but didn't match known CRC (0x%x)!", addon.Name.c_str(), savedAddon->CRC); else - TC_LOG_INFO("misc", "ADDON: %s was known, CRC is correct (0x%x)", addon.Name.c_str(), savedAddon->CRC); + TC_LOG_DEBUG("misc", "ADDON: %s was known, CRC is correct (0x%x)", addon.Name.c_str(), savedAddon->CRC); } else { AddonMgr::SaveAddon(addon); - TC_LOG_INFO("misc", "ADDON: %s (0x%x) was not known, saving...", addon.Name.c_str(), addon.CRC); + TC_LOG_DEBUG("misc", "ADDON: %s (0x%x) was not known, saving...", addon.Name.c_str(), addon.CRC); } /// @todo Find out when to not use CRC/pubkey, and other possible states. @@ -1174,7 +1174,7 @@ bool WorldSession::DosProtection::EvaluateOpcode(WorldPacket& p, time_t time) co return true; case POLICY_KICK: { - TC_LOG_INFO("network", "AntiDOS: Player kicked!"); + TC_LOG_WARN("network", "AntiDOS: Player kicked!"); Session->KickPlayer(); return false; } @@ -1190,7 +1190,7 @@ bool WorldSession::DosProtection::EvaluateOpcode(WorldPacket& p, time_t time) co case BAN_IP: nameOrIp = Session->GetRemoteAddress(); break; } sWorld->BanAccount(bm, nameOrIp, duration, "DOS (Packet Flooding/Spoofing", "Server: AutoDOS"); - TC_LOG_INFO("network", "AntiDOS: Player automatically banned for %u seconds.", duration); + TC_LOG_WARN("network", "AntiDOS: Player automatically banned for %u seconds.", duration); Session->KickPlayer(); return false; } diff --git a/src/server/game/Server/WorldSession.h b/src/server/game/Server/WorldSession.h index 71ce6546d3c..e1ad57bbc77 100644 --- a/src/server/game/Server/WorldSession.h +++ b/src/server/game/Server/WorldSession.h @@ -90,6 +90,13 @@ namespace WorldPackets enum class ConnectToSerial : uint32; } + namespace Bank + { + class AutoBankItem; + class AutoStoreBankItem; + class BuyBankSlot; + } + namespace BlackMarket { class BlackMarketOpen; @@ -287,6 +294,9 @@ namespace WorldPackets class ClientPlayerMovement; class WorldPortAck; class MoveTeleportAck; + class MovementAck; + class MovementSpeedAck; + class SetActiveMover; } namespace NPC @@ -352,6 +362,7 @@ namespace WorldPackets class CastSpell; class PetCastSpell; class UseItem; + class OpenItem; class SetActionButton; } @@ -838,7 +849,7 @@ class WorldSession void HandleMoveKnockBackAck(WorldPacket& recvPacket); void HandleMoveTeleportAck(WorldPackets::Movement::MoveTeleportAck& packet); - void HandleForceSpeedChangeAck(WorldPacket& recvData); + void HandleForceSpeedChangeAck(WorldPackets::Movement::MovementSpeedAck& packet); void HandleSetCollisionHeightAck(WorldPacket& recvPacket); void HandlePingOpcode(WorldPacket& recvPacket); @@ -910,7 +921,7 @@ class WorldSession void HandleMoveWorldportAckOpcode(); // for server-side calls void HandleMovementOpcodes(WorldPackets::Movement::ClientPlayerMovement& packet); - void HandleSetActiveMoverOpcode(WorldPacket& recvData); + void HandleSetActiveMoverOpcode(WorldPackets::Movement::SetActiveMover& packet); void HandleMoveNotActiveMover(WorldPacket& recvData); void HandleDismissControlledVehicle(WorldPacket& recvData); void HandleRequestVehicleExit(WorldPacket& recvData); @@ -999,7 +1010,6 @@ class WorldSession void HandleTabardVendorActivateOpcode(WorldPackets::NPC::Hello& packet); void HandleBankerActivateOpcode(WorldPackets::NPC::Hello& packet); - void HandleBuyBankSlotOpcode(WorldPacket& recvPacket); void HandleTrainerListOpcode(WorldPackets::NPC::Hello& packet); void HandleTrainerBuySpellOpcode(WorldPacket& recvPacket); void HandlePetitionShowList(WorldPackets::Petition::PetitionShowList& packet); @@ -1043,6 +1053,11 @@ class WorldSession void HandleAuctionPlaceBid(WorldPacket& recvData); void HandleAuctionListPendingSales(WorldPacket& recvData); + // Bank + void HandleAutoBankItemOpcode(WorldPackets::Bank::AutoBankItem& packet); + void HandleAutoStoreBankItemOpcode(WorldPackets::Bank::AutoStoreBankItem& packet); + void HandleBuyBankSlotOpcode(WorldPackets::Bank::BuyBankSlot& packet); + // Black Market void HandleBlackMarketOpen(WorldPackets::BlackMarket::BlackMarketOpen& packet); @@ -1072,8 +1087,6 @@ class WorldSession void HandleAutoEquipItemSlotOpcode(WorldPacket& recvPacket); void HandleSwapItem(WorldPackets::Item::SwapItem& swapItem); void HandleBuybackItem(WorldPackets::Item::BuyBackItem& packet); - void HandleAutoBankItemOpcode(WorldPacket& recvPacket); - void HandleAutoStoreBankItemOpcode(WorldPacket& recvPacket); void HandleWrapItemOpcode(WorldPacket& recvPacket); void HandleAttackSwingOpcode(WorldPackets::Combat::AttackSwing& packet); @@ -1081,7 +1094,7 @@ class WorldSession void HandleSetSheathedOpcode(WorldPackets::Combat::SetSheathed& packet); void HandleUseItemOpcode(WorldPackets::Spells::UseItem& packet); - void HandleOpenItemOpcode(WorldPacket& recvPacket); + void HandleOpenItemOpcode(WorldPackets::Spells::OpenItem& packet); void HandleCastSpellOpcode(WorldPackets::Spells::CastSpell& castRequest); void HandleCancelCastOpcode(WorldPackets::Spells::CancelCast& packet); void HandleCancelAuraOpcode(WorldPackets::Spells::CancelAura& cancelAura); @@ -1165,8 +1178,7 @@ class WorldSession void HandlePetRename(WorldPacket& recvData); void HandlePetCancelAuraOpcode(WorldPacket& recvPacket); void HandlePetSpellAutocastOpcode(WorldPacket& recvPacket); - void HandlePetCastSpellOpcode(WorldPackets::Spells::PetCastSpell& castRequest); - void HandlePetLearnTalent(WorldPacket& recvPacket); + void HandlePetCastSpellOpcode(WorldPackets::Spells::PetCastSpell& petCastSpell); void HandleSetActionBarToggles(WorldPackets::Character::SetActionBarToggles& packet); diff --git a/src/server/game/Server/WorldSocket.cpp b/src/server/game/Server/WorldSocket.cpp index ba0d2c7d48e..01035154214 100644 --- a/src/server/game/Server/WorldSocket.cpp +++ b/src/server/game/Server/WorldSocket.cpp @@ -212,14 +212,12 @@ bool WorldSocket::ReadDataHandler() OpcodeClient opcode = static_cast<OpcodeClient>(cmd); - std::string opcodeName = GetOpcodeNameForLogging(opcode); - WorldPacket packet(opcode, std::move(_packetBuffer), GetConnectionType()); if (sPacketLog->CanLogPacket()) sPacketLog->LogPacket(packet, CLIENT_TO_SERVER, GetRemoteIpAddress(), GetRemotePort(), GetConnectionType()); - TC_LOG_TRACE("network.opcode", "C->S: %s %s", (_worldSession ? _worldSession->GetPlayerInfo() : GetRemoteIpAddress().to_string()).c_str(), opcodeName.c_str()); + TC_LOG_TRACE("network.opcode", "C->S: %s %s", (_worldSession ? _worldSession->GetPlayerInfo() : GetRemoteIpAddress().to_string()).c_str(), GetOpcodeNameForLogging(opcode).c_str()); switch (opcode) { @@ -253,17 +251,17 @@ bool WorldSocket::ReadDataHandler() break; } case CMSG_KEEP_ALIVE: - TC_LOG_DEBUG("network", "%s", opcodeName.c_str()); + TC_LOG_DEBUG("network", "%s", GetOpcodeNameForLogging(opcode).c_str()); sScriptMgr->OnPacketReceive(_worldSession, packet); break; case CMSG_LOG_DISCONNECT: packet.rfinish(); // contains uint32 disconnectReason; - TC_LOG_DEBUG("network", "%s", opcodeName.c_str()); + TC_LOG_DEBUG("network", "%s", GetOpcodeNameForLogging(opcode).c_str()); sScriptMgr->OnPacketReceive(_worldSession, packet); return true; case CMSG_ENABLE_NAGLE: { - TC_LOG_DEBUG("network", "%s", opcodeName.c_str()); + TC_LOG_DEBUG("network", "%s", GetOpcodeNameForLogging(opcode).c_str()); sScriptMgr->OnPacketReceive(_worldSession, packet); if (_worldSession) _worldSession->HandleEnableNagleAlgorithm(); @@ -627,7 +625,7 @@ void WorldSocket::HandleAuthSession(WorldPackets::Auth::AuthSession& authSession if (allowedAccountType > SEC_PLAYER && AccountTypes(security) < allowedAccountType) { SendAuthResponseError(AUTH_UNAVAILABLE); - TC_LOG_INFO("network", "WorldSocket::HandleAuthSession: User tries to login but his security level is not enough"); + TC_LOG_DEBUG("network", "WorldSocket::HandleAuthSession: User tries to login but his security level is not enough"); sScriptMgr->OnFailedAccountLogin(id); DelayedCloseSocket(); return; diff --git a/src/server/game/Server/WorldSocketMgr.cpp b/src/server/game/Server/WorldSocketMgr.cpp index 11d77b082e8..0a2b3cb4edf 100644 --- a/src/server/game/Server/WorldSocketMgr.cpp +++ b/src/server/game/Server/WorldSocketMgr.cpp @@ -51,6 +51,8 @@ WorldSocketMgr::~WorldSocketMgr() delete _instanceAcceptor; } +int const boost::asio::socket_base::max_connections; + bool WorldSocketMgr::StartNetwork(boost::asio::io_service& service, std::string const& bindIp, uint16 port) { _tcpNoDelay = sConfigMgr->GetBoolDefault("Network.TcpNodelay", true); diff --git a/src/server/game/Spells/Auras/SpellAuraDefines.h b/src/server/game/Spells/Auras/SpellAuraDefines.h index 112893fbc75..7e60ac9b5da 100644 --- a/src/server/game/Spells/Auras/SpellAuraDefines.h +++ b/src/server/game/Spells/Auras/SpellAuraDefines.h @@ -535,7 +535,12 @@ enum AuraType SPELL_AURA_476 = 476, SPELL_AURA_477 = 477, SPELL_AURA_478 = 478, - TOTAL_AURAS = 479 // 6.0.3 + SPELL_AURA_479 = 479, + SPELL_AURA_480 = 480, + SPELL_AURA_481 = 481, + SPELL_AURA_482 = 482, + SPELL_AURA_483 = 483, + TOTAL_AURAS = 484 }; enum AuraObjectType diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 2766109fafc..dd29b7c1b4b 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -539,6 +539,11 @@ pAuraEffectHandler AuraEffectHandler[TOTAL_AURAS]= &AuraEffect::HandleNULL, //476 &AuraEffect::HandleNULL, //477 &AuraEffect::HandleNULL, //478 + &AuraEffect::HandleNULL, //479 + &AuraEffect::HandleNULL, //480 + &AuraEffect::HandleNULL, //481 + &AuraEffect::HandleNULL, //482 + &AuraEffect::HandleNULL, //483 }; AuraEffect::AuraEffect(Aura* base, uint32 effIndex, int32 *baseAmount, Unit* caster) : diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp index 0af38131740..e85d38ee30c 100644 --- a/src/server/game/Spells/Auras/SpellAuras.cpp +++ b/src/server/game/Spells/Auras/SpellAuras.cpp @@ -1003,11 +1003,11 @@ void Aura::RefreshSpellMods() player->RestoreAllSpellMods(0, this); } -bool Aura::HasMoreThanOneEffectForType(AuraType auraType, uint32 difficulty) const +bool Aura::HasMoreThanOneEffectForType(AuraType auraType) const { uint32 count = 0; for (SpellEffectInfo const* effect : GetSpellEffectInfos()) - if (effect && HasEffect(effect->EffectIndex) && AuraType(effect->ApplyAuraName) == auraType) + if (effect && HasEffect(effect->EffectIndex) && AuraType(effect->ApplyAuraName) == auraType) ++count; return count > 1; diff --git a/src/server/game/Spells/Auras/SpellAuras.h b/src/server/game/Spells/Auras/SpellAuras.h index 77ef04009b8..acc9de2587d 100644 --- a/src/server/game/Spells/Auras/SpellAuras.h +++ b/src/server/game/Spells/Auras/SpellAuras.h @@ -183,7 +183,7 @@ class Aura uint8 GetCasterLevel() const { return m_casterLevel; } - bool HasMoreThanOneEffectForType(AuraType auraType, uint32 difficulty) const; + bool HasMoreThanOneEffectForType(AuraType auraType) const; bool IsArea() const; bool IsPassive() const; bool IsDeathPersistent() const; diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 919f11a5db4..ffc39e40713 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -523,23 +523,23 @@ void SpellCastTargets::Update(Unit* caster) void SpellCastTargets::OutDebug() const { if (!m_targetMask) - TC_LOG_INFO("spells", "No targets"); + TC_LOG_DEBUG("spells", "No targets"); - TC_LOG_INFO("spells", "target mask: %u", m_targetMask); + TC_LOG_DEBUG("spells", "target mask: %u", m_targetMask); if (m_targetMask & (TARGET_FLAG_UNIT_MASK | TARGET_FLAG_CORPSE_MASK | TARGET_FLAG_GAMEOBJECT_MASK)) - TC_LOG_INFO("spells", "Object target: %s", m_objectTargetGUID.ToString().c_str()); + TC_LOG_DEBUG("spells", "Object target: %s", m_objectTargetGUID.ToString().c_str()); if (m_targetMask & TARGET_FLAG_ITEM) - TC_LOG_INFO("spells", "Item target: %s", m_itemTargetGUID.ToString().c_str()); + TC_LOG_DEBUG("spells", "Item target: %s", m_itemTargetGUID.ToString().c_str()); if (m_targetMask & TARGET_FLAG_TRADE_ITEM) - TC_LOG_INFO("spells", "Trade item target: %s", m_itemTargetGUID.ToString().c_str()); + TC_LOG_DEBUG("spells", "Trade item target: %s", m_itemTargetGUID.ToString().c_str()); if (m_targetMask & TARGET_FLAG_SOURCE_LOCATION) - TC_LOG_INFO("spells", "Source location: transport guid:%s trans offset: %s position: %s", m_src._transportGUID.ToString().c_str(), m_src._transportOffset.ToString().c_str(), m_src._position.ToString().c_str()); + TC_LOG_DEBUG("spells", "Source location: transport guid:%s trans offset: %s position: %s", m_src._transportGUID.ToString().c_str(), m_src._transportOffset.ToString().c_str(), m_src._position.ToString().c_str()); if (m_targetMask & TARGET_FLAG_DEST_LOCATION) - TC_LOG_INFO("spells", "Destination location: transport guid:%s trans offset: %s position: %s", m_dst._transportGUID.ToString().c_str(), m_dst._transportOffset.ToString().c_str(), m_dst._position.ToString().c_str()); + TC_LOG_DEBUG("spells", "Destination location: transport guid:%s trans offset: %s position: %s", m_dst._transportGUID.ToString().c_str(), m_dst._transportOffset.ToString().c_str(), m_dst._position.ToString().c_str()); if (m_targetMask & TARGET_FLAG_STRING) - TC_LOG_INFO("spells", "String: %s", m_strTarget.c_str()); - TC_LOG_INFO("spells", "speed: %f", m_speed); - TC_LOG_INFO("spells", "pitch: %f", m_pitch); + TC_LOG_DEBUG("spells", "String: %s", m_strTarget.c_str()); + TC_LOG_DEBUG("spells", "speed: %f", m_speed); + TC_LOG_DEBUG("spells", "pitch: %f", m_pitch); } SpellValue::SpellValue(Difficulty diff, SpellInfo const* proto) @@ -6408,7 +6408,7 @@ void Spell::Delayed() // only called in DealDamage() else m_timer += delaytime; - TC_LOG_INFO("spells", "Spell %u partially interrupted for (%d) ms at damage", m_spellInfo->Id, delaytime); + TC_LOG_DEBUG("spells", "Spell %u partially interrupted for (%d) ms at damage", m_spellInfo->Id, delaytime); WorldPacket data(SMSG_SPELL_DELAYED, 8+4); data << m_caster->GetPackGUID(); diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index fe86b623893..e2537461979 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -317,6 +317,12 @@ pEffect SpellEffects[TOTAL_SPELL_EFFECTS]= &Spell::EffectNULL, //242 SPELL_EFFECT_242 &Spell::EffectNULL, //243 SPELL_EFFECT_243 &Spell::EffectNULL, //244 SPELL_EFFECT_244 + &Spell::EffectNULL, //244 SPELL_EFFECT_245 + &Spell::EffectNULL, //244 SPELL_EFFECT_246 + &Spell::EffectNULL, //244 SPELL_EFFECT_247 + &Spell::EffectNULL, //244 SPELL_EFFECT_248 + &Spell::EffectNULL, //244 SPELL_EFFECT_249 + &Spell::EffectNULL, //244 SPELL_EFFECT_250 }; void Spell::EffectNULL(SpellEffIndex /*effIndex*/) @@ -3926,7 +3932,7 @@ void Spell::EffectStuck(SpellEffIndex /*effIndex*/) return; TC_LOG_DEBUG("spells", "Spell Effect: Stuck"); - TC_LOG_INFO("spells", "Player %s (%s) used auto-unstuck future at map %u (%f, %f, %f)", player->GetName().c_str(), player->GetGUID().ToString().c_str(), player->GetMapId(), player->GetPositionX(), player->GetPositionY(), player->GetPositionZ()); + TC_LOG_DEBUG("spells", "Player %s (%s) used auto-unstuck future at map %u (%f, %f, %f)", player->GetName().c_str(), player->GetGUID().ToString().c_str(), player->GetMapId(), player->GetPositionX(), player->GetPositionY(), player->GetPositionZ()); if (player->IsInFlight()) return; diff --git a/src/server/game/Spells/SpellHistory.cpp b/src/server/game/Spells/SpellHistory.cpp index 658498e7455..db8cb880d28 100644 --- a/src/server/game/Spells/SpellHistory.cpp +++ b/src/server/game/Spells/SpellHistory.cpp @@ -579,7 +579,6 @@ void SpellHistory::ResetCooldown(CooldownStorageType::iterator& itr, bool update if (Player* playerOwner = GetPlayerOwner()) { WorldPackets::Spells::ClearCooldown clearCooldown; - clearCooldown.CasterGUID = _owner->GetGUID(); clearCooldown.SpellID = itr->first; clearCooldown.ClearOnHold = false; playerOwner->SendDirectMessage(clearCooldown.Write()); diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 2a72cdc49be..eb09cc60a1f 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -642,6 +642,11 @@ float SpellEffectInfo::CalcRadius(Unit* caster, Spell* spell) const return 0.0f; float radius = entry->RadiusMin; + + // Client uses max if min is 0 + if (radius == 0.0f) + radius = entry->RadiusMax; + if (caster) { radius += entry->RadiusPerLevel * caster->getLevel(); diff --git a/src/server/game/Support/SupportMgr.cpp b/src/server/game/Support/SupportMgr.cpp index 9183c2f7fde..f7a85a91faa 100644 --- a/src/server/game/Support/SupportMgr.cpp +++ b/src/server/game/Support/SupportMgr.cpp @@ -34,26 +34,26 @@ void Ticket::TeleportTo(Player* player) const player->TeleportTo(_mapId, _pos.x, _pos.y, _pos.z, 0.0f, 0); } -std::string Ticket::FormatViewMessageString(ChatHandler& handler, const char* szClosedName, const char* szAssignedToName, const char* szUnassignedName, const char* szDeletedName, const char* szCompletedName) const +std::string Ticket::FormatViewMessageString(ChatHandler& handler, char const* closedName, char const* assignedToName, char const* unassignedName, char const* deletedName, char const* /*completedName*/) const { std::stringstream ss; ss << handler.PGetParseString(LANG_COMMAND_TICKETLISTGUID, _id); ss << handler.PGetParseString(LANG_COMMAND_TICKETLISTNAME, GetPlayer()->GetName().c_str()); - if (szClosedName) - ss << handler.PGetParseString(LANG_COMMAND_TICKETCLOSED, szClosedName); - if (szAssignedToName) - ss << handler.PGetParseString(LANG_COMMAND_TICKETLISTASSIGNEDTO, szAssignedToName); - if (szUnassignedName) - ss << handler.PGetParseString(LANG_COMMAND_TICKETLISTUNASSIGNED, szUnassignedName); - if (szDeletedName) - ss << handler.PGetParseString(LANG_COMMAND_TICKETDELETED, szDeletedName); + if (closedName) + ss << handler.PGetParseString(LANG_COMMAND_TICKETCLOSED, closedName); + if (assignedToName) + ss << handler.PGetParseString(LANG_COMMAND_TICKETLISTASSIGNEDTO, assignedToName); + if (unassignedName) + ss << handler.PGetParseString(LANG_COMMAND_TICKETLISTUNASSIGNED, unassignedName); + if (deletedName) + ss << handler.PGetParseString(LANG_COMMAND_TICKETDELETED, deletedName); return ss.str(); } GmTicket::GmTicket() : _lastModifiedTime(0), _completed(false), _escalatedStatus(TICKET_UNASSIGNED), _viewed(false), _needResponse(false), _needMoreHelp(false) { } GmTicket::GmTicket(Player* player) : Ticket(player), _lastModifiedTime(time(nullptr)), _completed(false), _escalatedStatus(TICKET_UNASSIGNED), -_viewed(false), _needResponse(false), _needMoreHelp(false) +_viewed(false), _needResponse(false), _needMoreHelp(false) { _id = sSupportMgr->GenerateGmTicketId(); } @@ -71,9 +71,9 @@ void GmTicket::SetUnassigned() _assignedTo.Clear(); switch (_escalatedStatus) { - case TICKET_ASSIGNED: _escalatedStatus = TICKET_UNASSIGNED; + case TICKET_ASSIGNED: _escalatedStatus = TICKET_UNASSIGNED; break; - case TICKET_ESCALATED_ASSIGNED: _escalatedStatus = TICKET_IN_ESCALATION_QUEUE; + case TICKET_ESCALATED_ASSIGNED: _escalatedStatus = TICKET_IN_ESCALATION_QUEUE; break; case TICKET_UNASSIGNED: case TICKET_IN_ESCALATION_QUEUE: @@ -219,7 +219,7 @@ std::string GmTicket::FormatViewMessageString(ChatHandler& handler, const char* BugTicket::BugTicket() : _facing(0.0f) { } -BugTicket::BugTicket(Player* player) : Ticket(player) +BugTicket::BugTicket(Player* player) : Ticket(player), _facing(0.0f) { _id = sSupportMgr->GenerateBugId(); } @@ -246,7 +246,7 @@ void BugTicket::LoadFromDB(Field* fields) _closedBy.SetRawValue(0, uint64(closedBy)); else _closedBy = ObjectGuid::Create<HighGuid::Player>(uint64(closedBy)); - + uint64 assignedTo = fields[++idx].GetUInt64(); if (assignedTo == 0) _assignedTo = ObjectGuid::Empty; @@ -330,7 +330,7 @@ void ComplaintTicket::LoadFromDB(Field* fields) int32 reportLineIndex = fields[++idx].GetInt32(); if (reportLineIndex != -1) _chatLog.ReportLineIndex.Set(reportLineIndex); - + int64 closedBy = fields[++idx].GetInt64(); if (closedBy == 0) _closedBy = ObjectGuid::Empty; @@ -344,7 +344,7 @@ void ComplaintTicket::LoadFromDB(Field* fields) _assignedTo = ObjectGuid::Empty; else _assignedTo = ObjectGuid::Create<HighGuid::Player>(assignedTo); - + _comment = fields[++idx].GetString(); } @@ -373,7 +373,7 @@ void ComplaintTicket::SaveToDB(SQLTransaction& trans) const stmt->setUInt8(++idx, _complaintType); if (_chatLog.ReportLineIndex.HasValue) stmt->setInt32(++idx, _chatLog.ReportLineIndex.Value); - else + else stmt->setInt32(++idx, -1); // empty ReportLineIndex stmt->setInt64(++idx, _closedBy.GetCounter()); stmt->setUInt64(++idx, _assignedTo.GetCounter()); @@ -393,7 +393,7 @@ void ComplaintTicket::SaveToDB(SQLTransaction& trans) const trans->Append(stmt); ++lineIndex; } - + if (!isInTransaction) CharacterDatabase.CommitTransaction(trans); } @@ -432,7 +432,7 @@ std::string ComplaintTicket::FormatViewMessageString(ChatHandler& handler, bool SuggestionTicket::SuggestionTicket() : _facing(0.0f) { } -SuggestionTicket::SuggestionTicket(Player* player) : Ticket(player) +SuggestionTicket::SuggestionTicket(Player* player) : Ticket(player), _facing(0.0f) { _id = sSupportMgr->GenerateSuggestionId(); } @@ -517,7 +517,7 @@ std::string SuggestionTicket::FormatViewMessageString(ChatHandler& handler, bool return ss.str(); } -SupportMgr::SupportMgr() : _lastGmTicketId(0), _lastBugId(0), _lastComplaintId(0), _lastSuggestionId(0), _openGmTicketCount(0), +SupportMgr::SupportMgr() : _lastGmTicketId(0), _lastBugId(0), _lastComplaintId(0), _lastSuggestionId(0), _openGmTicketCount(0), _openBugTicketCount(0), _openComplaintTicketCount(0), _openSuggestionTicketCount(0) { } SupportMgr::~SupportMgr() @@ -701,7 +701,7 @@ void SupportMgr::LoadComplaintTickets() uint32 count = 0; PreparedStatement* chatLogStmt; PreparedQueryResult chatLogResult; - do + do { Field* fields = result->Fetch(); ComplaintTicket* complaint = new ComplaintTicket(); @@ -715,7 +715,8 @@ void SupportMgr::LoadComplaintTickets() _lastComplaintId = id; chatLogStmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_GM_COMPLAINT_CHATLINES); - chatLogResult = CharacterDatabase.Query(stmt); + chatLogStmt->setUInt32(0, id); + chatLogResult = CharacterDatabase.Query(chatLogStmt); if (chatLogResult) { diff --git a/src/server/scripts/CMakeLists.txt b/src/server/scripts/CMakeLists.txt index 7df42e158de..79d3cea0868 100644 --- a/src/server/scripts/CMakeLists.txt +++ b/src/server/scripts/CMakeLists.txt @@ -51,6 +51,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/dep/recastnavigation/Recast/Include ${CMAKE_SOURCE_DIR}/dep/g3dlite/include ${CMAKE_SOURCE_DIR}/dep/SFMT + ${CMAKE_SOURCE_DIR}/dep/cppformat ${CMAKE_SOURCE_DIR}/dep/zlib ${CMAKE_SOURCE_DIR}/src/server/shared ${CMAKE_SOURCE_DIR}/src/server/shared/Configuration @@ -63,6 +64,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/src/server/shared/Logging ${CMAKE_SOURCE_DIR}/src/server/shared/Packets ${CMAKE_SOURCE_DIR}/src/server/shared/Threading + ${CMAKE_SOURCE_DIR}/src/server/shared/Updater ${CMAKE_SOURCE_DIR}/src/server/shared/Utilities ${CMAKE_SOURCE_DIR}/src/server/ipc ${CMAKE_SOURCE_DIR}/src/server/collision diff --git a/src/server/scripts/Commands/cs_learn.cpp b/src/server/scripts/Commands/cs_learn.cpp index 7a34ba55110..d41c9c5d2c2 100644 --- a/src/server/scripts/Commands/cs_learn.cpp +++ b/src/server/scripts/Commands/cs_learn.cpp @@ -211,7 +211,7 @@ public: return true; } - static bool HandleLearnAllMyPetTalentsCommand(ChatHandler* handler, char const* /*args*/) + static bool HandleLearnAllMyPetTalentsCommand(ChatHandler* /*handler*/, char const* /*args*/) { /* TODO: 6.x remove pet talents Player* player = handler->GetSession()->GetPlayer(); diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index d437e72b933..b57efc07a74 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -238,7 +238,8 @@ public: zoneId, (zoneEntry ? zoneEntry->ZoneName : unknown), areaId, (areaEntry ? areaEntry->ZoneName : unknown), object->GetPhaseMask(), - object->GetPositionX(), object->GetPositionY(), object->GetPositionZ(), object->GetOrientation(), + object->GetPositionX(), object->GetPositionY(), object->GetPositionZ(), object->GetOrientation()); + handler->PSendSysMessage(LANG_GRID_POSITION, cell.GridX(), cell.GridY(), cell.CellX(), cell.CellY(), object->GetInstanceId(), zoneX, zoneY, groundZ, floorZ, haveMap, haveVMap, haveMMap); @@ -2625,7 +2626,7 @@ public: return true; } - static bool HandleAurasCommand(ChatHandler* handler, char const* args) + static bool HandleAurasCommand(ChatHandler* handler, char const* /*args*/) { Unit* target = handler->GetSession()->GetPlayer()->GetSelectedUnit(); diff --git a/src/server/scripts/Commands/cs_modify.cpp b/src/server/scripts/Commands/cs_modify.cpp index 5af9b150572..c1f90c7ac96 100644 --- a/src/server/scripts/Commands/cs_modify.cpp +++ b/src/server/scripts/Commands/cs_modify.cpp @@ -418,7 +418,7 @@ public: } //Edit Player TP - static bool HandleModifyTalentCommand (ChatHandler* handler, const char* args) + static bool HandleModifyTalentCommand(ChatHandler* /*handler*/, const char* /*args*/) { /* TODO: 6.x remove this if (!*args) diff --git a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp index 59f2ce1a2c9..92c3f83034d 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/karazhan.cpp @@ -360,17 +360,17 @@ public: case GOSSIP_ACTION_INFO_DEF+3: player->CLOSE_GOSSIP_MENU(); pBarnesAI->m_uiEventId = EVENT_OZ; - TC_LOG_INFO("scripts", "player (%s) manually set Opera event to EVENT_OZ", player->GetGUID().ToString().c_str()); + TC_LOG_DEBUG("scripts", "player (%s) manually set Opera event to EVENT_OZ", player->GetGUID().ToString().c_str()); break; case GOSSIP_ACTION_INFO_DEF+4: player->CLOSE_GOSSIP_MENU(); pBarnesAI->m_uiEventId = EVENT_HOOD; - TC_LOG_INFO("scripts", "player (%s) manually set Opera event to EVENT_HOOD", player->GetGUID().ToString().c_str()); + TC_LOG_DEBUG("scripts", "player (%s) manually set Opera event to EVENT_HOOD", player->GetGUID().ToString().c_str()); break; case GOSSIP_ACTION_INFO_DEF+5: player->CLOSE_GOSSIP_MENU(); pBarnesAI->m_uiEventId = EVENT_RAJ; - TC_LOG_INFO("scripts", "player (%s) manually set Opera event to EVENT_RAJ", player->GetGUID().ToString().c_str()); + TC_LOG_DEBUG("scripts", "player (%s) manually set Opera event to EVENT_RAJ", player->GetGUID().ToString().c_str()); break; } diff --git a/src/server/scripts/EasternKingdoms/zone_undercity.cpp b/src/server/scripts/EasternKingdoms/zone_undercity.cpp index 9ce694fb76c..ca281bab60a 100644 --- a/src/server/scripts/EasternKingdoms/zone_undercity.cpp +++ b/src/server/scripts/EasternKingdoms/zone_undercity.cpp @@ -40,25 +40,44 @@ EndContentData */ enum Sylvanas { - QUEST_JOURNEY_TO_UNDERCITY = 9180, - EMOTE_LAMENT_END = 0, - SAY_LAMENT_END = 1, + QUEST_JOURNEY_TO_UNDERCITY = 9180, - SOUND_CREDIT = 10896, - ENTRY_HIGHBORNE_LAMENTER = 21628, - ENTRY_HIGHBORNE_BUNNY = 21641, + EMOTE_LAMENT_END = 0, + SAY_LAMENT_END = 1, + EMOTE_LAMENT = 2, - SPELL_HIGHBORNE_AURA = 37090, - SPELL_SYLVANAS_CAST = 36568, - SPELL_RIBBON_OF_SOULS = 34432, // the real one to use might be 37099 + // Ambassador Sunsorrow + SAY_SUNSORROW_WHISPER = 0, + + SOUND_CREDIT = 10896, + + NPC_HIGHBORNE_LAMENTER = 21628, + NPC_HIGHBORNE_BUNNY = 21641, + NPC_AMBASSADOR_SUNSORROW = 16287, + + SPELL_HIGHBORNE_AURA = 37090, + SPELL_SYLVANAS_CAST = 36568, + //SPELL_RIBBON_OF_SOULS = 34432, the real one to use might be 37099 + SPELL_RIBBON_OF_SOULS = 37099, // Combat spells - SPELL_BLACK_ARROW = 59712, - SPELL_FADE = 20672, - SPELL_FADE_BLINK = 29211, - SPELL_MULTI_SHOT = 59713, - SPELL_SHOT = 59710, - SPELL_SUMMON_SKELETON = 59711 + SPELL_BLACK_ARROW = 59712, + SPELL_FADE = 20672, + SPELL_FADE_BLINK = 29211, + SPELL_MULTI_SHOT = 59713, + SPELL_SHOT = 59710, + SPELL_SUMMON_SKELETON = 59711, + + // Events + EVENT_FADE = 1, + EVENT_SUMMON_SKELETON = 2, + EVENT_BLACK_ARROW = 3, + EVENT_SHOOT = 4, + EVENT_MULTI_SHOT = 5, + EVENT_LAMENT_OF_THE_HIGHBORN = 6, + EVENT_SUNSORROW_WHISPER = 7, + + GUID_EVENT_INVOKER = 1, }; float HighborneLoc[4][3]= @@ -77,26 +96,14 @@ class npc_lady_sylvanas_windrunner : public CreatureScript public: npc_lady_sylvanas_windrunner() : CreatureScript("npc_lady_sylvanas_windrunner") { } - bool OnQuestReward(Player* /*player*/, Creature* creature, const Quest *_Quest, uint32 /*slot*/) override + bool OnQuestReward(Player* player, Creature* creature, const Quest *_Quest, uint32 /*slot*/) override { if (_Quest->GetQuestId() == QUEST_JOURNEY_TO_UNDERCITY) - { - ENSURE_AI(npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI, creature->AI())->LamentEvent = true; - ENSURE_AI(npc_lady_sylvanas_windrunner::npc_lady_sylvanas_windrunnerAI, creature->AI())->DoPlaySoundToSet(creature, SOUND_CREDIT); - creature->CastSpell(creature, SPELL_SYLVANAS_CAST, false); - - for (uint8 i = 0; i < 4; ++i) - creature->SummonCreature(ENTRY_HIGHBORNE_LAMENTER, HighborneLoc[i][0], HighborneLoc[i][1], HIGHBORNE_LOC_Y, HighborneLoc[i][2], TEMPSUMMON_TIMED_DESPAWN, 160000); - } + creature->AI()->SetGUID(player->GetGUID(), GUID_EVENT_INVOKER); return true; } - CreatureAI* GetAI(Creature* creature) const override - { - return new npc_lady_sylvanas_windrunnerAI(creature); - } - struct npc_lady_sylvanas_windrunnerAI : public ScriptedAI { npc_lady_sylvanas_windrunnerAI(Creature* creature) : ScriptedAI(creature) @@ -106,41 +113,51 @@ public: void Initialize() { - LamentEventTimer = 5000; LamentEvent = false; targetGUID.Clear(); - - FadeTimer = 30000; - SummonSkeletonTimer = 20000; - BlackArrowTimer = 15000; - ShotTimer = 8000; - MultiShotTimer = 10000; + playerGUID.Clear(); } - uint32 LamentEventTimer; - bool LamentEvent; - ObjectGuid targetGUID; - - uint32 FadeTimer; - uint32 SummonSkeletonTimer; - uint32 BlackArrowTimer; - uint32 ShotTimer; - uint32 MultiShotTimer; - void Reset() override { Initialize(); + _events.Reset(); } - void EnterCombat(Unit* /*who*/) override { } + void EnterCombat(Unit* /*who*/) override + { + _events.ScheduleEvent(EVENT_FADE, 30000); + _events.ScheduleEvent(EVENT_SUMMON_SKELETON, 20000); + _events.ScheduleEvent(EVENT_BLACK_ARROW, 15000); + _events.ScheduleEvent(EVENT_SHOOT, 8000); + _events.ScheduleEvent(EVENT_MULTI_SHOT, 10000); + } + + void SetGUID(ObjectGuid guid, int32 type) override + { + if (type == GUID_EVENT_INVOKER) + { + Talk(EMOTE_LAMENT); + DoPlaySoundToSet(me, SOUND_CREDIT); + DoCast(me, SPELL_SYLVANAS_CAST, false); + playerGUID = guid; + LamentEvent = true; + + for (uint8 i = 0; i < 4; ++i) + me->SummonCreature(NPC_HIGHBORNE_LAMENTER, HighborneLoc[i][0], HighborneLoc[i][1], HIGHBORNE_LOC_Y, HighborneLoc[i][2], TEMPSUMMON_TIMED_DESPAWN, 160000); + + _events.ScheduleEvent(EVENT_LAMENT_OF_THE_HIGHBORN, 2000); + _events.ScheduleEvent(EVENT_SUNSORROW_WHISPER, 10000); + } + } void JustSummoned(Creature* summoned) override { - if (summoned->GetEntry() == ENTRY_HIGHBORNE_BUNNY) + if (summoned->GetEntry() == NPC_HIGHBORNE_BUNNY) { if (Creature* target = ObjectAccessor::GetCreature(*summoned, targetGUID)) { - target->MonsterMoveWithSpeed(target->GetPositionX(), target->GetPositionY(), me->GetPositionZ()+15.0f, 0); + target->GetMotionMaster()->MoveJump(target->GetPositionX(), target->GetPositionY(), me->GetPositionZ() + 15.0f, 0); target->SetPosition(target->GetPositionX(), target->GetPositionY(), me->GetPositionZ()+15.0f, 0.0f); summoned->CastSpell(target, SPELL_RIBBON_OF_SOULS, false); } @@ -152,75 +169,86 @@ public: void UpdateAI(uint32 diff) override { - if (LamentEvent) - { - if (LamentEventTimer <= diff) - { - DoSummon(ENTRY_HIGHBORNE_BUNNY, me, 10.0f, 3000, TEMPSUMMON_TIMED_DESPAWN); - - LamentEventTimer = 2000; - if (!me->HasAura(SPELL_SYLVANAS_CAST)) - { - Talk(SAY_LAMENT_END); - Talk(EMOTE_LAMENT_END); - LamentEvent = false; - } - } else LamentEventTimer -= diff; - } - - if (!UpdateVictim()) + if (!UpdateVictim() && !LamentEvent) return; - // Combat spells - - if (FadeTimer <= diff) - { - DoCast(me, SPELL_FADE); - // add a blink to simulate a stealthed movement and reappearing elsewhere - DoCast(me, SPELL_FADE_BLINK); - FadeTimer = 30000 + rand32() % 5000; - // if the victim is out of melee range she cast multi shot - if (Unit* victim = me->GetVictim()) - if (me->GetDistance(victim) > 10.0f) - DoCast(victim, SPELL_MULTI_SHOT); - } else FadeTimer -= diff; - - if (SummonSkeletonTimer <= diff) - { - DoCast(me, SPELL_SUMMON_SKELETON); - SummonSkeletonTimer = 20000 + rand32() % 10000; - } else SummonSkeletonTimer -= diff; - - if (BlackArrowTimer <= diff) - { - if (Unit* victim = me->GetVictim()) - { - DoCast(victim, SPELL_BLACK_ARROW); - BlackArrowTimer = 15000 + rand32() % 5000; - } - } else BlackArrowTimer -= diff; + _events.Update(diff); - if (ShotTimer <= diff) - { - if (Unit* victim = me->GetVictim()) - { - DoCast(victim, SPELL_SHOT); - ShotTimer = 8000 + rand32() % 2000; - } - } else ShotTimer -= diff; + if (me->HasUnitState(UNIT_STATE_CASTING)) + return; - if (MultiShotTimer <= diff) + while (uint32 eventId = _events.ExecuteEvent()) { - if (Unit* victim = me->GetVictim()) + switch (eventId) { - DoCast(victim, SPELL_MULTI_SHOT); - MultiShotTimer = 10000 + rand32() % 3000; + case EVENT_FADE: + DoCast(me, SPELL_FADE); + // add a blink to simulate a stealthed movement and reappearing elsewhere + DoCast(me, SPELL_FADE_BLINK); + // if the victim is out of melee range she cast multi shot + if (Unit* victim = me->GetVictim()) + if (me->GetDistance(victim) > 10.0f) + DoCast(victim, SPELL_MULTI_SHOT); + _events.ScheduleEvent(EVENT_FADE, urand(30000, 35000)); + break; + case EVENT_SUMMON_SKELETON: + DoCast(me, SPELL_SUMMON_SKELETON); + _events.ScheduleEvent(EVENT_SUMMON_SKELETON, urand(20000, 30000)); + break; + case EVENT_BLACK_ARROW: + if (Unit* victim = me->GetVictim()) + DoCast(victim, SPELL_BLACK_ARROW); + _events.ScheduleEvent(EVENT_BLACK_ARROW, urand(15000, 20000)); + break; + case EVENT_SHOOT: + if (Unit* victim = me->GetVictim()) + DoCast(victim, SPELL_SHOT); + _events.ScheduleEvent(EVENT_SHOOT, urand(8000, 10000)); + break; + case EVENT_MULTI_SHOT: + if (Unit* victim = me->GetVictim()) + DoCast(victim, SPELL_MULTI_SHOT); + _events.ScheduleEvent(EVENT_MULTI_SHOT, urand(10000, 13000)); + break; + case EVENT_LAMENT_OF_THE_HIGHBORN: + if (!me->HasAura(SPELL_SYLVANAS_CAST)) + { + Talk(SAY_LAMENT_END); + Talk(EMOTE_LAMENT_END); + LamentEvent = false; + me->HandleEmoteCommand(EMOTE_ONESHOT_KNEEL); + Reset(); + } + else + { + DoSummon(NPC_HIGHBORNE_BUNNY, me, 10.0f, 3000, TEMPSUMMON_TIMED_DESPAWN); + _events.ScheduleEvent(EVENT_LAMENT_OF_THE_HIGHBORN, 2000); + } + break; + case EVENT_SUNSORROW_WHISPER: + if (Creature* ambassador = me->FindNearestCreature(NPC_AMBASSADOR_SUNSORROW, 20.0f)) + if (Player* player = ObjectAccessor::GetPlayer(*me, playerGUID)) + ambassador->AI()->Talk(SAY_SUNSORROW_WHISPER, player); + break; + default: + break; } - } else MultiShotTimer -= diff; + } DoMeleeAttackIfReady(); } + + private: + EventMap _events; + bool LamentEvent; + ObjectGuid targetGUID; + ObjectGuid playerGUID; }; + + CreatureAI* GetAI(Creature* creature) const override + { + return new npc_lady_sylvanas_windrunnerAI(creature); + } }; /*###### diff --git a/src/server/scripts/Kalimdor/CMakeLists.txt b/src/server/scripts/Kalimdor/CMakeLists.txt index d5e445230bd..8c3f3216e91 100644 --- a/src/server/scripts/Kalimdor/CMakeLists.txt +++ b/src/server/scripts/Kalimdor/CMakeLists.txt @@ -92,7 +92,6 @@ set(scripts_STAT_SRCS Kalimdor/RuinsOfAhnQiraj/boss_moam.cpp Kalimdor/RuinsOfAhnQiraj/ruins_of_ahnqiraj.h Kalimdor/RuinsOfAhnQiraj/boss_kurinnaxx.cpp - Kalimdor/zone_mulgore.cpp Kalimdor/zone_bloodmyst_isle.cpp Kalimdor/zone_thunder_bluff.cpp Kalimdor/zone_azshara.cpp diff --git a/src/server/scripts/Kalimdor/zone_mulgore.cpp b/src/server/scripts/Kalimdor/zone_mulgore.cpp deleted file mode 100644 index b6db431d0b2..00000000000 --- a/src/server/scripts/Kalimdor/zone_mulgore.cpp +++ /dev/null @@ -1,178 +0,0 @@ -/* - * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> - * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -/* ScriptData -SDName: Mulgore -SD%Complete: 100 -SDComment: Support for quest: 11129, 861 -SDCategory: Mulgore -EndScriptData */ - -/* ContentData -npc_kyle_frenzied -EndContentData */ - -#include "ScriptMgr.h" -#include "ScriptedCreature.h" -#include "ScriptedGossip.h" -#include "Player.h" -#include "SpellInfo.h" - -/*##### -# npc_kyle_frenzied -######*/ - -enum KyleFrenzied -{ - EMOTE_SEE_LUNCH = 0, - EMOTE_EAT_LUNCH = 1, - EMOTE_DANCE = 2, - - SPELL_LUNCH = 42222, - NPC_KYLE_FRENZIED = 23616, - NPC_KYLE_FRIENDLY = 23622, - POINT_ID = 1 -}; - -class npc_kyle_frenzied : public CreatureScript -{ -public: - npc_kyle_frenzied() : CreatureScript("npc_kyle_frenzied") { } - - CreatureAI* GetAI(Creature* creature) const override - { - return new npc_kyle_frenziedAI (creature); - } - - struct npc_kyle_frenziedAI : public ScriptedAI - { - npc_kyle_frenziedAI(Creature* creature) : ScriptedAI(creature) - { - Initialize(); - } - - void Initialize() - { - EventActive = false; - IsMovingToLunch = false; - PlayerGUID.Clear(); - EventTimer = 5000; - EventPhase = 0; - } - - bool EventActive; - bool IsMovingToLunch; - ObjectGuid PlayerGUID; - uint32 EventTimer; - uint8 EventPhase; - - void Reset() override - { - Initialize(); - - if (me->GetEntry() == NPC_KYLE_FRIENDLY) - me->UpdateEntry(NPC_KYLE_FRENZIED); - } - - void SpellHit(Unit* Caster, SpellInfo const* Spell) - { - if (!me->GetVictim() && !EventActive && Spell->Id == SPELL_LUNCH) - { - if (Caster->GetTypeId() == TYPEID_PLAYER) - PlayerGUID = Caster->GetGUID(); - - if (me->GetMotionMaster()->GetCurrentMovementGeneratorType() == WAYPOINT_MOTION_TYPE) - { - me->GetMotionMaster()->MovementExpired(); - me->GetMotionMaster()->MoveIdle(); - me->StopMoving(); - } - - EventActive = true; - Talk(EMOTE_SEE_LUNCH); - me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_ONESHOT_CREATURE_SPECIAL); - } - } - - void MovementInform(uint32 type, uint32 pointId) override - { - if (type != POINT_MOTION_TYPE || !EventActive) - return; - - if (pointId == POINT_ID) - IsMovingToLunch = false; - } - - void UpdateAI(uint32 diff) override - { - if (EventActive) - { - if (IsMovingToLunch) - return; - - if (EventTimer <= diff) - { - EventTimer = 5000; - ++EventPhase; - - switch (EventPhase) - { - case 1: - if (Unit* unit = ObjectAccessor::GetUnit(*me, PlayerGUID)) - { - if (GameObject* go = unit->GetGameObject(SPELL_LUNCH)) - { - IsMovingToLunch = true; - me->GetMotionMaster()->MovePoint(POINT_ID, go->GetPositionX(), go->GetPositionY(), go->GetPositionZ()); - } - } - break; - case 2: - Talk(EMOTE_EAT_LUNCH); - me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_USE_STANDING); - break; - case 3: - if (Player* unit = ObjectAccessor::GetPlayer(*me, PlayerGUID)) - unit->TalkedToCreature(me->GetEntry(), me->GetGUID()); - - me->UpdateEntry(NPC_KYLE_FRIENDLY); - break; - case 4: - EventTimer = 30000; - Talk(EMOTE_DANCE); - me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_DANCESPECIAL); - break; - case 5: - me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_NONE); - Reset(); - me->GetMotionMaster()->Clear(); - break; - } - } - else - EventTimer -= diff; - } - } - }; - -}; - -void AddSC_mulgore() -{ - new npc_kyle_frenzied(); -} diff --git a/src/server/scripts/Kalimdor/zone_the_barrens.cpp b/src/server/scripts/Kalimdor/zone_the_barrens.cpp index 232261df951..1c9d5cf2c62 100644 --- a/src/server/scripts/Kalimdor/zone_the_barrens.cpp +++ b/src/server/scripts/Kalimdor/zone_the_barrens.cpp @@ -654,6 +654,7 @@ public: if (quest->GetQuestId() == QUEST_ESCAPE) { creature->setFaction(FACTION_RATCHET); + creature->AI()->Talk(SAY_START); if (npc_escortAI* pEscortAI = CAST_AI(npc_wizzlecrank_shredder::npc_wizzlecrank_shredderAI, creature->AI())) pEscortAI->Start(true, false, player->GetGUID()); } diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp index 7148d0149af..b751c1db10d 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp @@ -255,12 +255,6 @@ class instance_trial_of_the_crusader : public InstanceMapScript if (GetBossState(BOSS_VALKIRIES) == SPECIAL) state = DONE; break; - case DONE: - if (instance->GetPlayers().getFirst()->GetSource()->GetTeam() == ALLIANCE) - EventStage = 4020; - else - EventStage = 4030; - break; default: break; } @@ -336,7 +330,7 @@ class instance_trial_of_the_crusader : public InstanceMapScript if (type < MAX_ENCOUNTERS) { - TC_LOG_INFO("scripts", "[ToCr] BossState(type %u) %u = state %u;", type, GetBossState(type), state); + TC_LOG_DEBUG("scripts", "[ToCr] BossState(type %u) %u = state %u;", type, GetBossState(type), state); if (state == FAIL) { if (instance->IsHeroic()) diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp index 16526b694e9..974bd4672f1 100644 --- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp +++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp @@ -133,7 +133,7 @@ class npc_announcer_toc10 : public CreatureScript char const* _message = "We are ready!"; - if (player->IsInCombat() || instance->IsEncounterInProgress() || instance->GetData(TYPE_EVENT)) + if (player->IsInCombat() || instance->IsEncounterInProgress()) return true; uint8 i = 0; @@ -199,17 +199,11 @@ class npc_announcer_toc10 : public CreatureScript } else if (instance->GetBossState(BOSS_LICH_KING) != DONE) { - if (GameObject* floor = ObjectAccessor::GetGameObject(*player, instance->GetGuidData(GO_ARGENT_COLISEUM_FLOOR))) - floor->SetDestructibleState(GO_DESTRUCTIBLE_DAMAGED); - - creature->CastSpell(creature, SPELL_CORPSE_TELEPORT, false); - creature->CastSpell(creature, SPELL_DESTROY_FLOOR_KNOCKUP, false); - - if (!ObjectAccessor::GetCreature(*creature, instance->GetGuidData(NPC_ANUBARAK))) - creature->SummonCreature(NPC_ANUBARAK, AnubarakLoc[0], TEMPSUMMON_CORPSE_TIMED_DESPAWN, DESPAWN_TIME); - - if (creature->IsVisible()) - creature->SetVisible(false); + if (creature->GetMap()->GetPlayers().getFirst()->GetSource()->GetTeam() == ALLIANCE) + instance->SetData(TYPE_EVENT, 4020); + else + instance->SetData(TYPE_EVENT, 4030); + instance->SetBossState(BOSS_LICH_KING, NOT_STARTED); } creature->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP); return true; diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp index 5b3be128b32..20add695394 100644 --- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp +++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp @@ -2640,13 +2640,7 @@ class npc_quel_delar_sword : public CreatureScript break; case EVENT_QUEL_DELAR_FLIGHT: { - Movement::MoveSplineInit init(me); - FillCirclePath(QuelDelarCenterPos, 18.0f, 718.046f, init.Path(), true); - init.SetFly(); - init.SetCyclic(); - init.SetAnimation(Movement::ToFly); - init.Launch(); - + me->GetMotionMaster()->MoveCirclePath(QuelDelarCenterPos.GetPositionX(), QuelDelarCenterPos.GetPositionY(), 718.046f, 18.0f, true, 16); _events.ScheduleEvent(EVENT_QUEL_DELAR_LAND, 15000); break; } @@ -2694,21 +2688,6 @@ class npc_quel_delar_sword : public CreatureScript } private: - void FillCirclePath(Position const& centerPos, float radius, float z, Movement::PointsArray& path, bool clockwise) - { - float step = clockwise ? -M_PI / 8.0f : M_PI / 8.0f; - float angle = centerPos.GetAngle(me->GetPositionX(), me->GetPositionY()); - - for (uint8 i = 0; i < 16; angle += step, ++i) - { - G3D::Vector3 point; - point.x = centerPos.GetPositionX() + radius * cosf(angle); - point.y = centerPos.GetPositionY() + radius * sinf(angle); - point.z = z; - path.push_back(point); - } - } - EventMap _events; InstanceScript* _instance; bool _intro; diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp index abbc7acb004..0c79b42f20c 100644 --- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp +++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp @@ -520,11 +520,7 @@ public: _despawned = false; break; case ACTION_CYCLIC_MOVEMENT: - Movement::MoveSplineInit init(me); - FillCirclePath(MalygosPositions[3], 120.0f, 283.2763f, init.Path(), true); - init.SetFly(); - init.SetCyclic(); - init.Launch(); + me->GetMotionMaster()->MoveCirclePath(MalygosPositions[3].GetPositionX(), MalygosPositions[3].GetPositionY(), 283.2763f, 120.0f, true, 16); break; } } @@ -1020,22 +1016,6 @@ public: } private: - // Used to generate perfect cyclic movements (Enter Circle). - void FillCirclePath(Position const& centerPos, float radius, float z, Movement::PointsArray& path, bool clockwise) - { - float step = clockwise ? float(-M_PI) / 8.0f : float(M_PI) / 8.0f; - float angle = centerPos.GetAngle(me->GetPositionX(), me->GetPositionY()); - - for (uint8 i = 0; i < 16; angle += step, ++i) - { - G3D::Vector3 point; - point.x = centerPos.GetPositionX() + radius * cosf(angle); - point.y = centerPos.GetPositionY() + radius * sinf(angle); - point.z = z; // Don't use any height getters unless all bugs are fixed. - path.push_back(point); - } - } - uint8 _phase; // Counter for phases used with a getter. uint8 _summonDeaths; // Keeps count of arcane trash. uint8 _preparingPulsesChecker; // In retail they use 2 preparing pulses with 7 sec CD, after they pass 2 seconds. @@ -1326,11 +1306,7 @@ public: { if (action < ACTION_DELAYED_DESPAWN) { - Movement::MoveSplineInit init(me); - FillCirclePath(MalygosPositions[3], 35.0f, 282.3402f, init.Path(), true); - init.SetFly(); - init.SetCyclic(); - init.Launch(); + me->GetMotionMaster()->MoveCirclePath(MalygosPositions[3].GetPositionX(), MalygosPositions[3].GetPositionY(), 282.3402f, 35.0f, true, 16); } else { @@ -1339,21 +1315,6 @@ public: } private: - void FillCirclePath(Position const& centerPos, float radius, float z, Movement::PointsArray& path, bool clockwise) - { - float step = clockwise ? float(-M_PI) / 9.0f : float(M_PI) / 9.0f; - float angle = centerPos.GetAngle(me->GetPositionX(), me->GetPositionY()); - - for (uint8 i = 0; i < 18; angle += step, ++i) - { - G3D::Vector3 point; - point.x = centerPos.GetPositionX() + radius * cosf(angle); - point.y = centerPos.GetPositionY() + radius * sinf(angle); - point.z = z; // Don't use any height getters unless all bugs are fixed. - path.push_back(point); - } - } - InstanceScript* _instance; }; diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp index c37cf28ab78..134783ccf07 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_yogg_saron.cpp @@ -1126,30 +1126,11 @@ class npc_ominous_cloud : public CreatureScript DoCast(me, SPELL_OMINOUS_CLOUD_VISUAL); } - void FillCirclePath(Position const& centerPos, float radius, float z, Movement::PointsArray& path, bool clockwise) - { - float step = clockwise ? float(-M_PI) / 8.0f : float(M_PI) / 8.0f; - float angle = centerPos.GetAngle(me->GetPositionX(), me->GetPositionY()); - - for (uint8 i = 0; i < 16; angle += step, ++i) - { - G3D::Vector3 point; - point.x = centerPos.GetPositionX() + radius * cosf(angle); - point.y = centerPos.GetPositionY() + radius * sinf(angle); - point.z = me->GetMap()->GetHeight(me->GetPhaseMask(), point.x, point.y, z + 5.0f); - path.push_back(point); - } - } - void UpdateAI(uint32 /*diff*/) override { } - void DoAction(int32 action) override + void DoAction(int32 /*action*/) override { - Movement::MoveSplineInit init(me); - FillCirclePath(YoggSaronSpawnPos, me->GetDistance2d(YoggSaronSpawnPos.GetPositionX(), YoggSaronSpawnPos.GetPositionY()), me->GetPositionZ(), init.Path(), action != 0); - init.SetWalk(true); - init.SetCyclic(); - init.Launch(); + me->GetMotionMaster()->MoveCirclePath(YoggSaronSpawnPos.GetPositionX(), YoggSaronSpawnPos.GetPositionY(), me->GetPositionZ() + 5.0f, me->GetDistance2d(YoggSaronSpawnPos.GetPositionX(), YoggSaronSpawnPos.GetPositionY()), true, 16); } }; diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp index 56148480e11..32d3b35f35c 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/instance_ulduar.cpp @@ -16,6 +16,7 @@ */ #include "InstanceScript.h" +#include "Vehicle.h" #include "Player.h" #include "ScriptedCreature.h" #include "ScriptMgr.h" @@ -91,6 +92,7 @@ class instance_ulduar : public InstanceMapScript // Creatures ObjectGuid LeviathanGUID; + GuidVector LeviathanVehicleGUIDs; ObjectGuid IgnisGUID; ObjectGuid RazorscaleGUID; ObjectGuid RazorscaleController; @@ -217,6 +219,11 @@ class instance_ulduar : public InstanceMapScript case NPC_LEVIATHAN: LeviathanGUID = creature->GetGUID(); break; + case NPC_SALVAGED_DEMOLISHER: + case NPC_SALVAGED_SIEGE_ENGINE: + case NPC_SALVAGED_CHOPPER: + LeviathanVehicleGUIDs.push_back(creature->GetGUID()); + break; case NPC_IGNIS: IgnisGUID = creature->GetGUID(); break; @@ -682,6 +689,24 @@ class instance_ulduar : public InstanceMapScript switch (type) { case BOSS_LEVIATHAN: + if (state == DONE) + { + // Eject all players from vehicles and make them untargetable. + // They will be despawned after a while + for (auto const& vehicleGuid : LeviathanVehicleGUIDs) + { + if (Creature* vehicleCreature = instance->GetCreature(vehicleGuid)) + { + if (Vehicle* vehicle = vehicleCreature->GetVehicleKit()) + { + vehicle->RemoveAllPassengers(); + vehicleCreature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); + vehicleCreature->DespawnOrUnsummon(5 * MINUTE * IN_MILLISECONDS); + } + } + } + } + break; case BOSS_IGNIS: case BOSS_RAZORSCALE: case BOSS_XT002: @@ -1143,6 +1168,34 @@ class instance_ulduar : public InstanceMapScript } } + void UpdateDoorState(GameObject* door) override + { + // Leviathan doors are set to DOOR_TYPE_ROOM except the one it uses to enter the room + // which has to be set to DOOR_TYPE_PASSAGE + if (door->GetEntry() == GO_LEVIATHAN_DOOR && door->GetPositionX() > 400.f) + door->SetGoState(GetBossState(BOSS_LEVIATHAN) == DONE ? GO_STATE_ACTIVE : GO_STATE_READY); + else + InstanceScript::UpdateDoorState(door); + } + + void AddDoor(GameObject* door, bool add) override + { + // Leviathan doors are South except the one it uses to enter the room + // which is North and should not be used for boundary checks in BossAI::CheckBoundary() + if (door->GetEntry() == GO_LEVIATHAN_DOOR && door->GetPositionX() > 400.f) + { + if (add) + GetBossInfo(BOSS_LEVIATHAN)->door[DOOR_TYPE_PASSAGE].insert(door->GetGUID()); + else + GetBossInfo(BOSS_LEVIATHAN)->door[DOOR_TYPE_PASSAGE].erase(door->GetGUID()); + + if (add) + UpdateDoorState(door); + } + else + InstanceScript::AddDoor(door, add); + } + private: EventMap _events; uint32 _algalonTimer; diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/ulduar.h b/src/server/scripts/Northrend/Ulduar/Ulduar/ulduar.h index ddf293dd8b8..d40fb698658 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/ulduar.h +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/ulduar.h @@ -54,6 +54,7 @@ enum UlduarNPCs NPC_LEVIATHAN = 33113, NPC_SALVAGED_DEMOLISHER = 33109, NPC_SALVAGED_SIEGE_ENGINE = 33060, + NPC_SALVAGED_CHOPPER = 33062, NPC_IGNIS = 33118, NPC_RAZORSCALE = 33186, NPC_RAZORSCALE_CONTROLLER = 33233, diff --git a/src/server/scripts/Northrend/VioletHold/instance_violet_hold.cpp b/src/server/scripts/Northrend/VioletHold/instance_violet_hold.cpp index 3e3ce5cde75..a462c68e084 100644 --- a/src/server/scripts/Northrend/VioletHold/instance_violet_hold.cpp +++ b/src/server/scripts/Northrend/VioletHold/instance_violet_hold.cpp @@ -133,6 +133,7 @@ public: uiCyanigosaEventTimer = 3 * IN_MILLISECONDS; bActive = false; + bWiped = false; bIsDoorSpellCast = false; bCrystalActivated = false; defenseless = true; diff --git a/src/server/scripts/Northrend/zone_borean_tundra.cpp b/src/server/scripts/Northrend/zone_borean_tundra.cpp index f6b9f9fb6be..b58d9419e95 100644 --- a/src/server/scripts/Northrend/zone_borean_tundra.cpp +++ b/src/server/scripts/Northrend/zone_borean_tundra.cpp @@ -29,7 +29,6 @@ npc_corastrasza npc_sinkhole_kill_credit npc_khunok_the_behemoth npc_nerubar_victim -npc_keristrasza npc_nesingwary_trapper npc_lurgglbr npc_nexus_drake_hatchling @@ -223,48 +222,6 @@ public: }; /*###### -## npc_keristrasza -######*/ - -enum Keristrasza -{ - SPELL_TELEPORT_TO_SARAGOSA = 46772 -}; - -#define GOSSIP_HELLO_KERI "I am prepared to face Saragosa!" - -class npc_keristrasza : public CreatureScript -{ -public: - npc_keristrasza() : CreatureScript("npc_keristrasza") { } - - bool OnGossipHello(Player* player, Creature* creature) override - { - if (creature->IsQuestGiver()) - player->PrepareQuestMenu(creature->GetGUID()); - - if (player->GetQuestStatus(11957) == QUEST_STATUS_INCOMPLETE) - player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_HELLO_KERI, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1); - - player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID()); - - return true; - } - - bool OnGossipSelect(Player* player, Creature* /*creature*/, uint32 /*sender*/, uint32 action) override - { - player->PlayerTalkClass->ClearMenus(); - if (action == GOSSIP_ACTION_INFO_DEF + 1) - { - player->CLOSE_GOSSIP_MENU(); - player->CastSpell(player, SPELL_TELEPORT_TO_SARAGOSA, true); - } - - return true; - } -}; - -/*###### ## npc_corastrasza ######*/ @@ -2488,7 +2445,6 @@ void AddSC_borean_tundra() { new npc_sinkhole_kill_credit(); new npc_khunok_the_behemoth(); - new npc_keristrasza(); new npc_corastrasza(); new npc_iruk(); new npc_nerubar_victim(); diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp index 8105f7de5ff..91ef240a1a3 100644 --- a/src/server/scripts/Spells/spell_mage.cpp +++ b/src/server/scripts/Spells/spell_mage.cpp @@ -548,7 +548,7 @@ class spell_mage_fire_frost_ward : public SpellScriptLoader } } - void Absorb(AuraEffect* aurEff, DamageInfo& dmgInfo, uint32& absorbAmount) + void Absorb(AuraEffect* /*aurEff*/, DamageInfo& /*dmgInfo*/, uint32& /*absorbAmount*/) { /*Unit* target = GetTarget(); if (AuraEffect* talentAurEff = target->GetAuraEffectOfRankedSpell(SPELL_MAGE_FROST_WARDING_R1, EFFECT_0)) diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index 287e3591f5d..f3c8396832c 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -2495,6 +2495,36 @@ public: } }; +class spell_q12414_hand_over_reins : public SpellScriptLoader +{ + public: + spell_q12414_hand_over_reins() : SpellScriptLoader("spell_q12414_hand_over_reins") { } + + class spell_q12414_hand_over_reins_SpellScript : public SpellScript + { + PrepareSpellScript(spell_q12414_hand_over_reins_SpellScript); + + void HandleScript(SpellEffIndex /*effIndex*/) + { + Creature* caster = GetCaster()->ToCreature(); + GetHitUnit()->ExitVehicle(); + + if (caster) + caster->DespawnOrUnsummon(); + } + + void Register() override + { + OnEffectHitTarget += SpellEffectFn(spell_q12414_hand_over_reins_SpellScript::HandleScript, EFFECT_1, SPELL_EFFECT_SCRIPT_EFFECT); + } + }; + + SpellScript* GetSpellScript() const override + { + return new spell_q12414_hand_over_reins_SpellScript(); + } +}; + void AddSC_quest_spell_scripts() { new spell_q55_sacred_cleansing(); @@ -2555,4 +2585,5 @@ void AddSC_quest_spell_scripts() new spell_q10929_fumping(); new spell_q28813_get_our_boys_back_dummy(); new spell_q28813_set_health_random(); + new spell_q12414_hand_over_reins(); } diff --git a/src/server/shared/CMakeLists.txt b/src/server/shared/CMakeLists.txt index 24902a7d91e..657b3fde349 100644 --- a/src/server/shared/CMakeLists.txt +++ b/src/server/shared/CMakeLists.txt @@ -22,6 +22,7 @@ file(GLOB_RECURSE sources_Networking Networking/*.cpp Networking/*.h) file(GLOB_RECURSE sources_Packets Packets/*.cpp Packets/*.h) file(GLOB_RECURSE sources_Realm Realm/*.cpp Realm/*.h) file(GLOB_RECURSE sources_Threading Threading/*.cpp Threading/*.h) +file(GLOB_RECURSE sources_Updater Updater/*.cpp Updater/*.h) file(GLOB_RECURSE sources_Utilities Utilities/*.cpp Utilities/*.h) file(GLOB sources_localdir *.cpp *.h) @@ -53,6 +54,7 @@ set(shared_STAT_SRCS ${sources_Packets} ${sources_Realm} ${sources_Threading} + ${sources_Updater} ${sources_Utilities} ${sources_localdir} ) @@ -61,7 +63,9 @@ include_directories( ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/dep/recastnavigation/Detour ${CMAKE_SOURCE_DIR}/dep/SFMT + ${CMAKE_SOURCE_DIR}/dep/cppformat ${CMAKE_SOURCE_DIR}/dep/utf8cpp + ${CMAKE_SOURCE_DIR}/dep/process ${CMAKE_SOURCE_DIR}/src/server ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/Configuration @@ -76,6 +80,7 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/Realm ${CMAKE_CURRENT_SOURCE_DIR}/Threading ${CMAKE_CURRENT_SOURCE_DIR}/Utilities + ${CMAKE_CURRENT_SOURCE_DIR}/Updater ${CMAKE_SOURCE_DIR}/src/server/game/Entities/Object ${MYSQL_INCLUDE_DIR} ${OPENSSL_INCLUDE_DIR} diff --git a/src/server/shared/Database/DatabaseLoader.cpp b/src/server/shared/Database/DatabaseLoader.cpp new file mode 100644 index 00000000000..25c400fdfa8 --- /dev/null +++ b/src/server/shared/Database/DatabaseLoader.cpp @@ -0,0 +1,193 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "DatabaseLoader.h" +#include "DBUpdater.h" +#include "Config.h" + +#include <mysqld_error.h> + +DatabaseLoader::DatabaseLoader(std::string const& logger, uint32 const defaultUpdateMask) + : _logger(logger), _autoSetup(sConfigMgr->GetBoolDefault("Updates.AutoSetup", true)), + _updateFlags(sConfigMgr->GetIntDefault("Updates.EnableDatabases", defaultUpdateMask)) +{ +} + +template <class T> +DatabaseLoader& DatabaseLoader::AddDatabase(DatabaseWorkerPool<T>& pool, std::string const& name) +{ + bool const updatesEnabledForThis = DBUpdater<T>::IsEnabled(_updateFlags); + + _open.push(std::make_pair([this, name, updatesEnabledForThis, &pool]() -> bool + { + std::string const dbString = sConfigMgr->GetStringDefault(name + "DatabaseInfo", ""); + if (dbString.empty()) + { + TC_LOG_ERROR(_logger.c_str(), "Database %s not specified in configuration file!", name.c_str()); + return false; + } + + uint8 const asyncThreads = uint8(sConfigMgr->GetIntDefault(name + "Database.WorkerThreads", 1)); + if (asyncThreads < 1 || asyncThreads > 32) + { + TC_LOG_ERROR(_logger.c_str(), "%s database: invalid number of worker threads specified. " + "Please pick a value between 1 and 32.", name.c_str()); + return false; + } + + uint8 const synchThreads = uint8(sConfigMgr->GetIntDefault(name + "Database.SynchThreads", 1)); + + pool.SetConnectionInfo(dbString, asyncThreads, synchThreads); + if (uint32 error = pool.Open()) + { + // Database does not exist + if ((error == ER_BAD_DB_ERROR) && updatesEnabledForThis && _autoSetup) + { + // Try to create the database and connect again if auto setup is enabled + if (DBUpdater<T>::Create(pool) && (!pool.Open())) + error = 0; + } + + // If the error wasn't handled quit + if (error) + { + TC_LOG_ERROR("sql.driver", "\nDatabasePool %s NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile " + "for specific errors. Read wiki at http://collab.kpsn.org/display/tc/TrinityCore+Home", name.c_str()); + + return false; + } + } + return true; + }, + [&pool]() + { + pool.Close(); + })); + + // Populate and update only if updates are enabled for this pool + if (updatesEnabledForThis) + { + _populate.push([this, name, &pool]() -> bool + { + if (!DBUpdater<T>::Populate(pool)) + { + TC_LOG_ERROR(_logger.c_str(), "Could not populate the %s database, see log for details.", name.c_str()); + return false; + } + return true; + }); + + _update.push([this, name, &pool]() -> bool + { + if (!DBUpdater<T>::Update(pool)) + { + TC_LOG_ERROR(_logger.c_str(), "Could not update the %s database, see log for details.", name.c_str()); + return false; + } + return true; + }); + } + + _prepare.push([this, name, &pool]() -> bool + { + if (!pool.PrepareStatements()) + { + TC_LOG_ERROR(_logger.c_str(), "Could not prepare statements of the %s database, see log for details.", name.c_str()); + return false; + } + return true; + }); + + return *this; +} + +bool DatabaseLoader::Load() +{ + if (!OpenDatabases()) + return false; + + if (!PopulateDatabases()) + return false; + + if (!UpdateDatabases()) + return false; + + if (!PrepareStatements()) + return false; + + return true; +} + +bool DatabaseLoader::OpenDatabases() +{ + while (!_open.empty()) + { + std::pair<Predicate, std::function<void()>> const load = _open.top(); + if (load.first()) + _close.push(load.second); + else + { + // Close all loaded databases + while (!_close.empty()) + { + _close.top()(); + _close.pop(); + } + return false; + } + + _open.pop(); + } + return true; +} + +// Processes the elements of the given stack until a predicate returned false. +bool DatabaseLoader::Process(std::stack<Predicate>& stack) +{ + while (!stack.empty()) + { + if (!stack.top()()) + return false; + + stack.pop(); + } + return true; +} + +bool DatabaseLoader::PopulateDatabases() +{ + return Process(_populate); +} + +bool DatabaseLoader::UpdateDatabases() +{ + return Process(_update); +} + +bool DatabaseLoader::PrepareStatements() +{ + return Process(_prepare); +} + +template +DatabaseLoader& DatabaseLoader::AddDatabase<LoginDatabaseConnection>(DatabaseWorkerPool<LoginDatabaseConnection>& pool, std::string const& name); +template +DatabaseLoader& DatabaseLoader::AddDatabase<WorldDatabaseConnection>(DatabaseWorkerPool<WorldDatabaseConnection>& pool, std::string const& name); +template +DatabaseLoader& DatabaseLoader::AddDatabase<CharacterDatabaseConnection>(DatabaseWorkerPool<CharacterDatabaseConnection>& pool, std::string const& name); +template +DatabaseLoader& DatabaseLoader::AddDatabase<HotfixDatabaseConnection>(DatabaseWorkerPool<HotfixDatabaseConnection>& pool, std::string const& name); diff --git a/src/server/shared/Database/DatabaseLoader.h b/src/server/shared/Database/DatabaseLoader.h new file mode 100644 index 00000000000..3bbf7e75771 --- /dev/null +++ b/src/server/shared/Database/DatabaseLoader.h @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef DatabaseLoader_h__ +#define DatabaseLoader_h__ + +#include "DatabaseWorkerPool.h" +#include "DatabaseEnv.h" + +#include <stack> +#include <functional> + +// A helper class to initiate all database worker pools, +// handles updating, delays preparing of statements and cleans up on failure. +class DatabaseLoader +{ +public: + DatabaseLoader(std::string const& logger, uint32 const defaultUpdateMask); + + // Register a database to the loader (lazy implemented) + template <class T> + DatabaseLoader& AddDatabase(DatabaseWorkerPool<T>& pool, std::string const& name); + + // Load all databases + bool Load(); + + enum DatabaseTypeFlags + { + DATABASE_NONE = 0, + + DATABASE_LOGIN = 1, + DATABASE_CHARACTER = 2, + DATABASE_WORLD = 4, + DATABASE_HOTFIX = 8, + + DATABASE_MASK_ALL = DATABASE_LOGIN | DATABASE_CHARACTER | DATABASE_WORLD | DATABASE_HOTFIX + }; + +private: + bool OpenDatabases(); + bool PopulateDatabases(); + bool UpdateDatabases(); + bool PrepareStatements(); + + using Predicate = std::function<bool()>; + + static bool Process(std::stack<Predicate>& stack); + + std::string const _logger; + bool const _autoSetup; + uint32 const _updateFlags; + + std::stack<std::pair<Predicate, std::function<void()>>> _open; + std::stack<std::function<void()>> _close; + std::stack<Predicate> _populate, _update, _prepare; +}; + +#endif // DatabaseLoader_h__ diff --git a/src/server/shared/Database/DatabaseWorkerPool.h b/src/server/shared/Database/DatabaseWorkerPool.h index f1c6a7acbf5..6210986ff8b 100644 --- a/src/server/shared/Database/DatabaseWorkerPool.h +++ b/src/server/shared/Database/DatabaseWorkerPool.h @@ -30,6 +30,7 @@ #include "AdhocStatement.h" #include <mysqld_error.h> +#include <memory> #define MIN_MYSQL_SERVER_VERSION 50100u #define MIN_MYSQL_CLIENT_VERSION 50100u @@ -57,9 +58,9 @@ class DatabaseWorkerPool public: /* Activity state */ - DatabaseWorkerPool() : _connectionInfo(NULL) + DatabaseWorkerPool() : _queue(new ProducerConsumerQueue<SQLOperation*>()), + _async_threads(0), _synch_threads(0) { - _queue = new ProducerConsumerQueue<SQLOperation*>(); memset(_connectionCount, 0, sizeof(_connectionCount)); _connections.resize(IDX_SIZE); @@ -70,31 +71,37 @@ class DatabaseWorkerPool ~DatabaseWorkerPool() { _queue->Cancel(); + } - delete _queue; + void SetConnectionInfo(std::string const& infoString, uint8 const asyncThreads, uint8 const synchThreads) + { + _connectionInfo.reset(new MySQLConnectionInfo(infoString)); - delete _connectionInfo; + _async_threads = asyncThreads; + _synch_threads = synchThreads; } - bool Open(const std::string& infoString, uint8 async_threads, uint8 synch_threads) + uint32 Open() { - _connectionInfo = new MySQLConnectionInfo(infoString); + WPFatal(_connectionInfo.get(), "Connection info was not set!"); TC_LOG_INFO("sql.driver", "Opening DatabasePool '%s'. Asynchronous connections: %u, synchronous connections: %u.", - GetDatabaseName(), async_threads, synch_threads); + GetDatabaseName(), _async_threads, _synch_threads); - bool res = OpenConnections(IDX_ASYNC, async_threads); + uint32 error = OpenConnections(IDX_ASYNC, _async_threads); - if (!res) - return res; + if (error) + return error; - res = OpenConnections(IDX_SYNCH, synch_threads); + error = OpenConnections(IDX_SYNCH, _synch_threads); - if (res) + if (!error) + { TC_LOG_INFO("sql.driver", "DatabasePool '%s' opened successfully. %u total connections running.", GetDatabaseName(), (_connectionCount[IDX_SYNCH] + _connectionCount[IDX_ASYNC])); + } - return res; + return error; } void Close() @@ -120,6 +127,32 @@ class DatabaseWorkerPool TC_LOG_INFO("sql.driver", "All connections on DatabasePool '%s' closed.", GetDatabaseName()); } + //! Prepares all prepared statements + bool PrepareStatements() + { + for (uint8 i = 0; i < IDX_SIZE; ++i) + for (uint32 c = 0; c < _connectionCount[i]; ++c) + { + T* t = _connections[i][c]; + t->LockIfReady(); + if (!t->PrepareStatements()) + { + t->Unlock(); + Close(); + return false; + } + else + t->Unlock(); + } + + return true; + } + + inline MySQLConnectionInfo const* GetConnectionInfo() const + { + return _connectionInfo.get(); + } + /** Delayed one-way statement methods. */ @@ -461,7 +494,7 @@ class DatabaseWorkerPool } private: - bool OpenConnections(InternalIndex type, uint8 numConnections) + uint32 OpenConnections(InternalIndex type, uint8 numConnections) { _connections[type].resize(numConnections); for (uint8 i = 0; i < numConnections; ++i) @@ -469,7 +502,7 @@ class DatabaseWorkerPool T* t; if (type == IDX_ASYNC) - t = new T(_queue, *_connectionInfo); + t = new T(_queue.get(), *_connectionInfo); else if (type == IDX_SYNCH) t = new T(*_connectionInfo); else @@ -478,35 +511,32 @@ class DatabaseWorkerPool _connections[type][i] = t; ++_connectionCount[type]; - bool res = t->Open(); + uint32 error = t->Open(); - if (res) + if (!error) { if (mysql_get_server_version(t->GetHandle()) < MIN_MYSQL_SERVER_VERSION) { TC_LOG_ERROR("sql.driver", "TrinityCore does not support MySQL versions below 5.1"); - res = false; + error = 1; } } // Failed to open a connection or invalid version, abort and cleanup - if (!res) + if (error) { - TC_LOG_ERROR("sql.driver", "DatabasePool %s NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile " - "for specific errors. Read wiki at http://collab.kpsn.org/display/tc/TrinityCore+Home", GetDatabaseName()); - while (_connectionCount[type] != 0) { T* t = _connections[type][i--]; delete t; --_connectionCount[type]; } - - return false; + return error; } } - return true; + // Everything is fine + return 0; } unsigned long EscapeString(char *to, const char *from, unsigned long length) @@ -546,10 +576,13 @@ class DatabaseWorkerPool return _connectionInfo->database.c_str(); } - ProducerConsumerQueue<SQLOperation*>* _queue; //! Queue shared by async worker threads. - std::vector< std::vector<T*> > _connections; - uint32 _connectionCount[2]; //! Counter of MySQL connections; - MySQLConnectionInfo* _connectionInfo; + //! Queue shared by async worker threads. + std::unique_ptr<ProducerConsumerQueue<SQLOperation*>> _queue; + std::vector<std::vector<T*>> _connections; + //! Counter of MySQL connections; + uint32 _connectionCount[IDX_SIZE]; + std::unique_ptr<MySQLConnectionInfo> _connectionInfo; + uint8 _async_threads, _synch_threads; }; #endif diff --git a/src/server/shared/Database/MySQLConnection.cpp b/src/server/shared/Database/MySQLConnection.cpp index 1a9f973d47b..1fa3f01a5e1 100644 --- a/src/server/shared/Database/MySQLConnection.cpp +++ b/src/server/shared/Database/MySQLConnection.cpp @@ -72,7 +72,7 @@ void MySQLConnection::Close() delete this; } -bool MySQLConnection::Open() +uint32 MySQLConnection::Open() { MYSQL *mysqlInit; mysqlInit = mysql_init(NULL); @@ -137,13 +137,13 @@ bool MySQLConnection::Open() // set connection properties to UTF8 to properly handle locales for different // server configs - core sends data in UTF8, so MySQL must expect UTF8 too mysql_set_character_set(m_Mysql, "utf8"); - return PrepareStatements(); + return 0; } else { - TC_LOG_ERROR("sql.sql", "Could not connect to MySQL database at %s: %s\n", m_connectionInfo.host.c_str(), mysql_error(mysqlInit)); + TC_LOG_ERROR("sql.sql", "Could not connect to MySQL database at %s: %s", m_connectionInfo.host.c_str(), mysql_error(mysqlInit)); mysql_close(mysqlInit); - return false; + return mysql_errno(mysqlInit); } } diff --git a/src/server/shared/Database/MySQLConnection.h b/src/server/shared/Database/MySQLConnection.h index d486f5b4679..78d8d2fb5dd 100644 --- a/src/server/shared/Database/MySQLConnection.h +++ b/src/server/shared/Database/MySQLConnection.h @@ -72,9 +72,11 @@ class MySQLConnection MySQLConnection(ProducerConsumerQueue<SQLOperation*>* queue, MySQLConnectionInfo& connInfo); //! Constructor for asynchronous connections. virtual ~MySQLConnection(); - virtual bool Open(); + virtual uint32 Open(); void Close(); + bool PrepareStatements(); + public: bool Execute(const char* sql); bool Execute(PreparedStatement* stmt); @@ -111,7 +113,6 @@ class MySQLConnection MySQLPreparedStatement* GetPreparedStatement(uint32 index); void PrepareStatement(uint32 index, const char* sql, ConnectionFlags flags); - bool PrepareStatements(); virtual void DoPrepareStatements() = 0; protected: diff --git a/src/server/shared/Debugging/WheatyExceptionReport.cpp b/src/server/shared/Debugging/WheatyExceptionReport.cpp index e9f4f9ca9ac..f8f641a9ea7 100644 --- a/src/server/shared/Debugging/WheatyExceptionReport.cpp +++ b/src/server/shared/Debugging/WheatyExceptionReport.cpp @@ -1068,7 +1068,7 @@ bool logChildren) { case btChar: case btStdString: - FormatOutputValue(buffer, basicType, length, (PVOID)offset, sizeof(buffer)); + FormatOutputValue(buffer, basicType, length, (PVOID)offset, sizeof(buffer), elementsCount); symbolDetails.top().Value = buffer; break; default: @@ -1196,7 +1196,8 @@ void WheatyExceptionReport::FormatOutputValue(char * pszCurrBuffer, BasicType basicType, DWORD64 length, PVOID pAddress, -size_t bufferSize) +size_t bufferSize, +size_t countOverride) { __try { @@ -1204,10 +1205,15 @@ size_t bufferSize) { case btChar: { - if (strlen((char*)pAddress) > bufferSize - 6) + // Special case handling for char[] type + if (countOverride != 0) + length = countOverride; + else + length = strlen((char*)pAddress); + if (length > bufferSize - 6) pszCurrBuffer += sprintf(pszCurrBuffer, "\"%.*s...\"", bufferSize - 6, (char*)pAddress); else - pszCurrBuffer += sprintf(pszCurrBuffer, "\"%s\"", (char*)pAddress); + pszCurrBuffer += sprintf(pszCurrBuffer, "\"%.*s\"", length, (char*)pAddress); break; } case btStdString: diff --git a/src/server/shared/Debugging/WheatyExceptionReport.h b/src/server/shared/Debugging/WheatyExceptionReport.h index 9137b91aac9..b7731daaa2b 100644 --- a/src/server/shared/Debugging/WheatyExceptionReport.h +++ b/src/server/shared/Debugging/WheatyExceptionReport.h @@ -172,7 +172,7 @@ class WheatyExceptionReport static char * DumpTypeIndex(char *, DWORD64, DWORD, unsigned, DWORD_PTR, bool &, const char*, char*, bool, bool); - static void FormatOutputValue(char * pszCurrBuffer, BasicType basicType, DWORD64 length, PVOID pAddress, size_t bufferSize); + static void FormatOutputValue(char * pszCurrBuffer, BasicType basicType, DWORD64 length, PVOID pAddress, size_t bufferSize, size_t countOverride = 0); static BasicType GetBasicType(DWORD typeIndex, DWORD64 modBase); static DWORD_PTR DereferenceUnsafePointer(DWORD_PTR address); diff --git a/src/server/shared/Logging/Appender.cpp b/src/server/shared/Logging/Appender.cpp index dff931e3da8..ca40a857419 100644 --- a/src/server/shared/Logging/Appender.cpp +++ b/src/server/shared/Logging/Appender.cpp @@ -18,6 +18,10 @@ #include "Appender.h" #include "Common.h" #include "Util.h" +#include "StringFormat.h" + +#include <utility> +#include <sstream> std::string LogMessage::getTimeStr(time_t time) { @@ -68,38 +72,36 @@ void Appender::setLogLevel(LogLevel _level) level = _level; } -void Appender::write(LogMessage& message) +void Appender::write(LogMessage* message) { - if (!level || level > message.level) + if (!level || level > message->level) return; - message.prefix.clear(); + std::ostringstream ss; + if (flags & APPENDER_FLAGS_PREFIX_TIMESTAMP) - message.prefix.append(message.getTimeStr()); + ss << message->getTimeStr(); if (flags & APPENDER_FLAGS_PREFIX_LOGLEVEL) { - if (!message.prefix.empty()) - message.prefix.push_back(' '); + if (ss.rdbuf()->in_avail() == 0) + ss << ' '; - char text[MAX_QUERY_LEN]; - snprintf(text, MAX_QUERY_LEN, "%-5s", Appender::getLogLevelString(message.level)); - message.prefix.append(text); + ss << Trinity::StringFormat("%-5s", Appender::getLogLevelString(message->level)); } if (flags & APPENDER_FLAGS_PREFIX_LOGFILTERTYPE) { - if (!message.prefix.empty()) - message.prefix.push_back(' '); + if (ss.rdbuf()->in_avail() == 0) + ss << ' '; - message.prefix.push_back('['); - message.prefix.append(message.type); - message.prefix.push_back(']'); + ss << '[' << message->type << ']'; } - if (!message.prefix.empty()) - message.prefix.push_back(' '); + if (ss.rdbuf()->in_avail() == 0) + ss << ' '; + message->prefix = std::move(ss.str()); _write(message); } diff --git a/src/server/shared/Logging/Appender.h b/src/server/shared/Logging/Appender.h index 6f38eb6aaf7..38c45b3bcf1 100644 --- a/src/server/shared/Logging/Appender.h +++ b/src/server/shared/Logging/Appender.h @@ -21,6 +21,7 @@ #include <unordered_map> #include <string> #include <time.h> +#include <type_traits> #include "Define.h" // Values assigned have their equivalent in enum ACE_Log_Priority @@ -57,16 +58,16 @@ enum AppenderFlags struct LogMessage { - LogMessage(LogLevel _level, std::string const& _type, std::string const& _text) - : level(_level), type(_type), text(_text), mtime(time(NULL)) + LogMessage(LogLevel _level, std::string const& _type, std::string&& _text) + : level(_level), type(_type), text(std::forward<std::string>(_text)), mtime(time(NULL)) { } static std::string getTimeStr(time_t time); std::string getTimeStr(); - LogLevel level; - std::string type; - std::string text; + LogLevel const level; + std::string const type; + std::string const text; std::string prefix; std::string param1; time_t mtime; @@ -91,11 +92,11 @@ class Appender AppenderFlags getFlags() const; void setLogLevel(LogLevel); - void write(LogMessage& message); + void write(LogMessage* message); static const char* getLogLevelString(LogLevel level); private: - virtual void _write(LogMessage const& /*message*/) = 0; + virtual void _write(LogMessage const* /*message*/) = 0; uint8 id; std::string name; diff --git a/src/server/shared/Logging/AppenderConsole.cpp b/src/server/shared/Logging/AppenderConsole.cpp index ae27337fb9a..2efa4db4d2e 100644 --- a/src/server/shared/Logging/AppenderConsole.cpp +++ b/src/server/shared/Logging/AppenderConsole.cpp @@ -158,14 +158,14 @@ void AppenderConsole::ResetColor(bool stdout_stream) #endif } -void AppenderConsole::_write(LogMessage const& message) +void AppenderConsole::_write(LogMessage const* message) { - bool stdout_stream = !(message.level == LOG_LEVEL_ERROR || message.level == LOG_LEVEL_FATAL); + bool stdout_stream = !(message->level == LOG_LEVEL_ERROR || message->level == LOG_LEVEL_FATAL); if (_colored) { uint8 index; - switch (message.level) + switch (message->level) { case LOG_LEVEL_TRACE: index = 5; @@ -189,9 +189,9 @@ void AppenderConsole::_write(LogMessage const& message) } SetColor(stdout_stream, _colors[index]); - utf8printf(stdout_stream ? stdout : stderr, "%s%s", message.prefix.c_str(), message.text.c_str()); + utf8printf(stdout_stream ? stdout : stderr, "%s%s\n", message->prefix.c_str(), message->text.c_str()); ResetColor(stdout_stream); } else - utf8printf(stdout_stream ? stdout : stderr, "%s%s", message.prefix.c_str(), message.text.c_str()); + utf8printf(stdout_stream ? stdout : stderr, "%s%s\n", message->prefix.c_str(), message->text.c_str()); } diff --git a/src/server/shared/Logging/AppenderConsole.h b/src/server/shared/Logging/AppenderConsole.h index 0f9536b3111..0acf7636e35 100644 --- a/src/server/shared/Logging/AppenderConsole.h +++ b/src/server/shared/Logging/AppenderConsole.h @@ -51,7 +51,7 @@ class AppenderConsole: public Appender private: void SetColor(bool stdout_stream, ColorTypes color); void ResetColor(bool stdout_stream); - void _write(LogMessage const& message) override; + void _write(LogMessage const* message) override; bool _colored; ColorTypes _colors[MaxLogLevels]; }; diff --git a/src/server/shared/Logging/AppenderDB.cpp b/src/server/shared/Logging/AppenderDB.cpp index 99ae822af34..8a329ea3a0f 100644 --- a/src/server/shared/Logging/AppenderDB.cpp +++ b/src/server/shared/Logging/AppenderDB.cpp @@ -23,18 +23,18 @@ AppenderDB::AppenderDB(uint8 id, std::string const& name, LogLevel level) AppenderDB::~AppenderDB() { } -void AppenderDB::_write(LogMessage const& message) +void AppenderDB::_write(LogMessage const* message) { // Avoid infinite loop, PExecute triggers Logging with "sql.sql" type - if (!enabled || (message.type.find("sql") != std::string::npos)) + if (!enabled || (message->type.find("sql") != std::string::npos)) return; PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_INS_LOG); - stmt->setUInt64(0, message.mtime); + stmt->setUInt64(0, message->mtime); stmt->setUInt32(1, realmId); - stmt->setString(2, message.type); - stmt->setUInt8(3, uint8(message.level)); - stmt->setString(4, message.text); + stmt->setString(2, message->type); + stmt->setUInt8(3, uint8(message->level)); + stmt->setString(4, message->text); LoginDatabase.Execute(stmt); } diff --git a/src/server/shared/Logging/AppenderDB.h b/src/server/shared/Logging/AppenderDB.h index e20ceaf77b4..09affdb46f1 100644 --- a/src/server/shared/Logging/AppenderDB.h +++ b/src/server/shared/Logging/AppenderDB.h @@ -31,7 +31,7 @@ class AppenderDB: public Appender private: uint32 realmId; bool enabled; - void _write(LogMessage const& message) override; + void _write(LogMessage const* message) override; }; #endif diff --git a/src/server/shared/Logging/AppenderFile.cpp b/src/server/shared/Logging/AppenderFile.cpp index 07a88a367ae..3892adbe3be 100644 --- a/src/server/shared/Logging/AppenderFile.cpp +++ b/src/server/shared/Logging/AppenderFile.cpp @@ -43,21 +43,21 @@ AppenderFile::~AppenderFile() CloseFile(); } -void AppenderFile::_write(LogMessage const& message) +void AppenderFile::_write(LogMessage const* message) { - bool exceedMaxSize = maxFileSize > 0 && (fileSize.load() + message.Size()) > maxFileSize; + bool exceedMaxSize = maxFileSize > 0 && (fileSize.load() + message->Size()) > maxFileSize; if (dynamicName) { char namebuf[TRINITY_PATH_MAX]; - snprintf(namebuf, TRINITY_PATH_MAX, filename.c_str(), message.param1.c_str()); + snprintf(namebuf, TRINITY_PATH_MAX, filename.c_str(), message->param1.c_str()); // always use "a" with dynamic name otherwise it could delete the log we wrote in last _write() call FILE* file = OpenFile(namebuf, "a", backup || exceedMaxSize); if (!file) return; - fprintf(file, "%s%s", message.prefix.c_str(), message.text.c_str()); + fprintf(file, "%s%s", message->prefix.c_str(), message->text.c_str()); fflush(file); - fileSize += uint64(message.Size()); + fileSize += uint64(message->Size()); fclose(file); return; } @@ -67,9 +67,9 @@ void AppenderFile::_write(LogMessage const& message) if (!logfile) return; - fprintf(logfile, "%s%s", message.prefix.c_str(), message.text.c_str()); + fprintf(logfile, "%s%s\n", message->prefix.c_str(), message->text.c_str()); fflush(logfile); - fileSize += uint64(message.Size()); + fileSize += uint64(message->Size()); } FILE* AppenderFile::OpenFile(std::string const &filename, std::string const &mode, bool backup) diff --git a/src/server/shared/Logging/AppenderFile.h b/src/server/shared/Logging/AppenderFile.h index 23651fc1129..36afdd23ad1 100644 --- a/src/server/shared/Logging/AppenderFile.h +++ b/src/server/shared/Logging/AppenderFile.h @@ -30,7 +30,7 @@ class AppenderFile: public Appender private: void CloseFile(); - void _write(LogMessage const& message) override; + void _write(LogMessage const* message) override; FILE* logfile; std::string filename; std::string logDir; diff --git a/src/server/shared/Logging/Log.cpp b/src/server/shared/Logging/Log.cpp index aa432128171..c9a4432039f 100644 --- a/src/server/shared/Logging/Log.cpp +++ b/src/server/shared/Logging/Log.cpp @@ -199,6 +199,9 @@ void Log::CreateLoggerFromConfig(std::string const& appenderName) return; } + if (level < lowestLogLevel) + lowestLogLevel = level; + logger.Create(name, level); //fprintf(stdout, "Log::CreateLoggerFromConfig: Created Logger %s, Level %u\n", name.c_str(), level); @@ -261,30 +264,18 @@ void Log::ReadLoggersFromConfig() } } -void Log::vlog(std::string const& filter, LogLevel level, char const* str, va_list argptr) -{ - char text[MAX_QUERY_LEN]; - vsnprintf(text, MAX_QUERY_LEN, str, argptr); - write(new LogMessage(level, filter, text)); -} - -void Log::write(LogMessage* msg) const +void Log::write(std::unique_ptr<LogMessage>&& msg) const { Logger const* logger = GetLoggerByType(msg->type); - msg->text.append("\n"); if (_ioService) { - auto logOperation = std::shared_ptr<LogOperation>(new LogOperation(logger, msg)); + auto logOperation = std::shared_ptr<LogOperation>(new LogOperation(logger, std::forward<std::unique_ptr<LogMessage>>(msg))); _ioService->post(_strand->wrap([logOperation](){ logOperation->call(); })); - } else - { - logger->write(*msg); - delete msg; - } + logger->write(msg.get()); } std::string Log::GetTimestampStr() @@ -321,6 +312,9 @@ bool Log::SetLogLevel(std::string const& name, const char* newLevelc, bool isLog return false; it->second.setLogLevel(newLevel); + + if (newLevel != LOG_LEVEL_DISABLED && newLevel < lowestLogLevel) + lowestLogLevel = newLevel; } else { @@ -343,33 +337,13 @@ void Log::outCharDump(char const* str, uint32 accountId, uint64 guid, char const ss << "== START DUMP == (account: " << accountId << " guid: " << guid << " name: " << name << ")\n" << str << "\n== END DUMP ==\n"; - LogMessage* msg = new LogMessage(LOG_LEVEL_INFO, "entities.player.dump", ss.str()); + std::unique_ptr<LogMessage> msg(new LogMessage(LOG_LEVEL_INFO, "entities.player.dump", ss.str())); std::ostringstream param; param << guid << '_' << name; msg->param1 = param.str(); - write(msg); -} - -void Log::outCommand(uint32 account, const char * str, ...) -{ - if (!str || !ShouldLog("commands.gm", LOG_LEVEL_INFO)) - return; - - va_list ap; - va_start(ap, str); - char text[MAX_QUERY_LEN]; - vsnprintf(text, MAX_QUERY_LEN, str, ap); - va_end(ap); - - LogMessage* msg = new LogMessage(LOG_LEVEL_INFO, "commands.gm", text); - - std::ostringstream ss; - ss << account; - msg->param1 = ss.str(); - - write(msg); + write(std::move(msg)); } void Log::SetRealmId(uint32 id) @@ -394,6 +368,7 @@ void Log::LoadFromConfig() { Close(); + lowestLogLevel = LOG_LEVEL_FATAL; AppenderId = 0; m_logsDir = sConfigMgr->GetStringDefault("LogsDir", ""); if (!m_logsDir.empty()) diff --git a/src/server/shared/Logging/Log.h b/src/server/shared/Logging/Log.h index 1d67ff87f76..20d83d2dcf0 100644 --- a/src/server/shared/Logging/Log.h +++ b/src/server/shared/Logging/Log.h @@ -22,12 +22,14 @@ #include "Define.h" #include "Appender.h" #include "Logger.h" -#include <stdarg.h> +#include "StringFormat.h" #include <boost/asio/io_service.hpp> #include <boost/asio/strand.hpp> +#include <stdarg.h> #include <unordered_map> #include <string> +#include <memory> #define LOGGER_ROOT "root" @@ -59,17 +61,34 @@ class Log bool ShouldLog(std::string const& type, LogLevel level) const; bool SetLogLevel(std::string const& name, char const* level, bool isLogger = true); - void outMessage(std::string const& f, LogLevel level, char const* str, ...) ATTR_PRINTF(4, 5); + template<typename... Args> + inline void outMessage(std::string const& filter, LogLevel const level, const char* fmt, Args const&... args) + { + write(std::move(std::unique_ptr<LogMessage>(new LogMessage(level, filter, std::move(Trinity::StringFormat(fmt, args...)))))); + } + + template<typename... Args> + void outCommand(uint32 account, const char* fmt, Args const&... args) + { + if (!ShouldLog("commands.gm", LOG_LEVEL_INFO)) + return; + + std::unique_ptr<LogMessage> msg(new LogMessage(LOG_LEVEL_INFO, "commands.gm", std::move(Trinity::StringFormat(fmt, args...)))); + + std::ostringstream ss; + ss << account; + msg->param1 = ss.str(); + + write(std::move(msg)); + } - void outCommand(uint32 account, const char * str, ...) ATTR_PRINTF(3, 4); void outCharDump(char const* str, uint32 account_id, uint64 guid, char const* name); void SetRealmId(uint32 id); private: static std::string GetTimestampStr(); - void vlog(std::string const& f, LogLevel level, char const* str, va_list argptr); - void write(LogMessage* msg) const; + void write(std::unique_ptr<LogMessage>&& msg) const; Logger const* GetLoggerByType(std::string const& type) const; Appender* GetAppenderByName(std::string const& name); @@ -82,6 +101,7 @@ class Log AppenderMap appenders; LoggerMap loggers; uint8 AppenderId; + LogLevel lowestLogLevel; std::string m_logsDir; std::string m_logsTimestamp; @@ -113,6 +133,10 @@ inline bool Log::ShouldLog(std::string const& type, LogLevel level) const // Speed up in cases where requesting "Type.sub1.sub2" but only configured // Logger "Type" + // Don't even look for a logger if the LogLevel is lower than lowest log levels across all loggers + if (level < lowestLogLevel) + return false; + Logger const* logger = GetLoggerByType(type); if (!logger) return false; @@ -121,23 +145,34 @@ inline bool Log::ShouldLog(std::string const& type, LogLevel level) const return logLevel != LOG_LEVEL_DISABLED && logLevel <= level; } -inline void Log::outMessage(std::string const& filter, LogLevel level, const char * str, ...) -{ - va_list ap; - va_start(ap, str); - - vlog(filter, level, str, ap); - - va_end(ap); -} - #define sLog Log::instance() +#define LOG_EXCEPTION_FREE(filterType__, level__, ...) \ + { \ + try \ + { \ + sLog->outMessage(filterType__, level__, __VA_ARGS__); \ + } \ + catch (std::exception& e) \ + { \ + sLog->outMessage("server", LOG_LEVEL_ERROR, "Wrong format occurred (%s) at %s:%u.", \ + e.what(), __FILE__, __LINE__); \ + } \ + } + #if PLATFORM != PLATFORM_WINDOWS +void check_args(const char* format, ...) ATTR_PRINTF(1, 2); + +// This will catch format errors on build time #define TC_LOG_MESSAGE_BODY(filterType__, level__, ...) \ do { \ if (sLog->ShouldLog(filterType__, level__)) \ - sLog->outMessage(filterType__, level__, __VA_ARGS__); \ + { \ + if (false) \ + check_args(__VA_ARGS__); \ + \ + LOG_EXCEPTION_FREE(filterType__, level__, __VA_ARGS__); \ + } \ } while (0) #else #define TC_LOG_MESSAGE_BODY(filterType__, level__, ...) \ @@ -145,7 +180,7 @@ inline void Log::outMessage(std::string const& filter, LogLevel level, const cha __pragma(warning(disable:4127)) \ do { \ if (sLog->ShouldLog(filterType__, level__)) \ - sLog->outMessage(filterType__, level__, __VA_ARGS__); \ + LOG_EXCEPTION_FREE(filterType__, level__, __VA_ARGS__); \ } while (0) \ __pragma(warning(pop)) #endif diff --git a/src/server/shared/Logging/LogOperation.cpp b/src/server/shared/Logging/LogOperation.cpp index 9afb28a49c2..bcd923c705e 100644 --- a/src/server/shared/Logging/LogOperation.cpp +++ b/src/server/shared/Logging/LogOperation.cpp @@ -18,14 +18,8 @@ #include "LogOperation.h" #include "Logger.h" -LogOperation::~LogOperation() -{ - delete msg; -} - int LogOperation::call() { - if (logger && msg) - logger->write(*msg); + logger->write(msg.get()); return 0; } diff --git a/src/server/shared/Logging/LogOperation.h b/src/server/shared/Logging/LogOperation.h index b8655413273..ffdd35c3c09 100644 --- a/src/server/shared/Logging/LogOperation.h +++ b/src/server/shared/Logging/LogOperation.h @@ -18,23 +18,25 @@ #ifndef LOGOPERATION_H #define LOGOPERATION_H +#include <memory> + class Logger; struct LogMessage; class LogOperation { public: - LogOperation(Logger const* _logger, LogMessage* _msg) - : logger(_logger), msg(_msg) + LogOperation(Logger const* _logger, std::unique_ptr<LogMessage>&& _msg) + : logger(_logger), msg(std::forward<std::unique_ptr<LogMessage>>(_msg)) { } - ~LogOperation(); + ~LogOperation() { } int call(); protected: Logger const* logger; - LogMessage* msg; + std::unique_ptr<LogMessage> msg; }; #endif diff --git a/src/server/shared/Logging/Logger.cpp b/src/server/shared/Logging/Logger.cpp index 615732deb30..3b02eb47575 100644 --- a/src/server/shared/Logging/Logger.cpp +++ b/src/server/shared/Logging/Logger.cpp @@ -50,9 +50,9 @@ void Logger::setLogLevel(LogLevel _level) level = _level; } -void Logger::write(LogMessage& message) const +void Logger::write(LogMessage* message) const { - if (!level || level > message.level || message.text.empty()) + if (!level || level > message->level || message->text.empty()) { //fprintf(stderr, "Logger::write: Logger %s, Level %u. Msg %s Level %u WRONG LEVEL MASK OR EMPTY MSG\n", getName().c_str(), getLogLevel(), message.text.c_str(), message.level); return; diff --git a/src/server/shared/Logging/Logger.h b/src/server/shared/Logging/Logger.h index a81ee8d7bd2..1aee75c5d72 100644 --- a/src/server/shared/Logging/Logger.h +++ b/src/server/shared/Logging/Logger.h @@ -32,7 +32,7 @@ class Logger std::string const& getName() const; LogLevel getLogLevel() const; void setLogLevel(LogLevel level); - void write(LogMessage& message) const; + void write(LogMessage* message) const; private: std::string name; diff --git a/src/server/shared/Networking/SocketMgr.h b/src/server/shared/Networking/SocketMgr.h index 0c1940b0e33..e18a2077288 100644 --- a/src/server/shared/Networking/SocketMgr.h +++ b/src/server/shared/Networking/SocketMgr.h @@ -100,7 +100,7 @@ public: } catch (boost::system::system_error const& err) { - TC_LOG_INFO("network", "Failed to retrieve client's remote address %s", err.what()); + TC_LOG_WARN("network", "Failed to retrieve client's remote address %s", err.what()); } } diff --git a/src/server/shared/Updater/DBUpdater.cpp b/src/server/shared/Updater/DBUpdater.cpp new file mode 100644 index 00000000000..10119e08deb --- /dev/null +++ b/src/server/shared/Updater/DBUpdater.cpp @@ -0,0 +1,414 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "DBUpdater.h" +#include "Log.h" +#include "revision.h" +#include "UpdateFetcher.h" +#include "DatabaseLoader.h" +#include "Config.h" + +#include <fstream> +#include <iostream> +#include <unordered_map> +#include <boost/process.hpp> +#include <boost/process/mitigate.hpp> +#include <boost/iostreams/device/file_descriptor.hpp> +#include <boost/system/system_error.hpp> + +using namespace boost::process; +using namespace boost::process::initializers; +using namespace boost::iostreams; + +template<class T> +std::string DBUpdater<T>::GetSourceDirectory() +{ + std::string const entry = sConfigMgr->GetStringDefault("Updates.SourcePath", ""); + if (!entry.empty()) + return entry; + else + return _SOURCE_DIRECTORY; +} + +template<class T> +std::string DBUpdater<T>::GetMySqlCli() +{ + std::string const entry = sConfigMgr->GetStringDefault("Updates.MySqlCLIPath", ""); + if (!entry.empty()) + return entry; + else + return _MYSQL_EXECUTABLE; +} + +// Auth Database +template<> +std::string DBUpdater<LoginDatabaseConnection>::GetConfigEntry() +{ + return "Updates.Auth"; +} + +template<> +std::string DBUpdater<LoginDatabaseConnection>::GetTableName() +{ + return "Auth"; +} + +template<> +std::string DBUpdater<LoginDatabaseConnection>::GetBaseFile() +{ + return DBUpdater<LoginDatabaseConnection>::GetSourceDirectory() + "/sql/base/auth_database.sql"; +} + +template<> +bool DBUpdater<LoginDatabaseConnection>::IsEnabled(uint32 const updateMask) +{ + // This way silences warnings under msvc + return (updateMask & DatabaseLoader::DATABASE_LOGIN) ? true : false; +} + +// World Database +template<> +std::string DBUpdater<WorldDatabaseConnection>::GetConfigEntry() +{ + return "Updates.World"; +} + +template<> +std::string DBUpdater<WorldDatabaseConnection>::GetTableName() +{ + return "World"; +} + +template<> +std::string DBUpdater<WorldDatabaseConnection>::GetBaseFile() +{ + return _FULL_DATABASE; +} + +template<> +bool DBUpdater<WorldDatabaseConnection>::IsEnabled(uint32 const updateMask) +{ + // This way silences warnings under msvc + return (updateMask & DatabaseLoader::DATABASE_WORLD) ? true : false; +} + +template<> +BaseLocation DBUpdater<WorldDatabaseConnection>::GetBaseLocationType() +{ + return LOCATION_DOWNLOAD; +} + +// Character Database +template<> +std::string DBUpdater<CharacterDatabaseConnection>::GetConfigEntry() +{ + return "Updates.Character"; +} + +template<> +std::string DBUpdater<CharacterDatabaseConnection>::GetTableName() +{ + return "Character"; +} + +template<> +std::string DBUpdater<CharacterDatabaseConnection>::GetBaseFile() +{ + return DBUpdater<CharacterDatabaseConnection>::GetSourceDirectory() + "/sql/base/characters_database.sql"; +} + +template<> +bool DBUpdater<CharacterDatabaseConnection>::IsEnabled(uint32 const updateMask) +{ + // This way silences warnings under msvc + return (updateMask & DatabaseLoader::DATABASE_CHARACTER) ? true : false; +} + +// Hotfix Database +template<> +std::string DBUpdater<HotfixDatabaseConnection>::GetConfigEntry() +{ + return "Updates.Hotfix"; +} + +template<> +std::string DBUpdater<HotfixDatabaseConnection>::GetTableName() +{ + return "Hotfixes"; +} + +template<> +std::string DBUpdater<HotfixDatabaseConnection>::GetBaseFile() +{ + return _HOTFIXES_DATABASE; +} + +template<> +bool DBUpdater<HotfixDatabaseConnection>::IsEnabled(uint32 const updateMask) +{ + // This way silences warnings under msvc + return (updateMask & DatabaseLoader::DATABASE_HOTFIX) ? true : false; +} + +template<> +BaseLocation DBUpdater<HotfixDatabaseConnection>::GetBaseLocationType() +{ + return LOCATION_DOWNLOAD; +} + +// All +template<class T> +BaseLocation DBUpdater<T>::GetBaseLocationType() +{ + return LOCATION_REPOSITORY; +} + +template<class T> +bool DBUpdater<T>::CheckExecutable() +{ + DBUpdater<T>::Path const exe(DBUpdater<T>::GetMySqlCli()); + if (!exists(exe)) + { + // Check for mysql in path + std::vector<std::string> args = {"--version"}; + uint32 ret; + try + { + child c = execute(run_exe("mysql"), set_args(args), throw_on_error(), close_stdout()); + ret = wait_for_exit(c); + } + catch (boost::system::system_error&) + { + ret = EXIT_FAILURE; + } + + if (ret == EXIT_FAILURE) + { + TC_LOG_FATAL("sql.updates", "Didn't find executeable mysql binary at \'%s\', correct the path in the *.conf (\"Updates.MySqlCLIPath\").", + absolute(exe).generic_string().c_str()); + + return false; + } + } + return true; +} + +template<class T> +bool DBUpdater<T>::Create(DatabaseWorkerPool<T>& pool) +{ + TC_LOG_INFO("sql.updates", "Database \"%s\" does not exist, do you want to create it? [yes (default) / no]: ", + pool.GetConnectionInfo()->database.c_str()); + + std::string answer; + std::getline(std::cin, answer); + if (!answer.empty() && !(answer.substr(0, 1) == "y")) + return false; + + TC_LOG_INFO("sql.updates", "Creating database \"%s\"...", pool.GetConnectionInfo()->database.c_str()); + + // Path of temp file + static Path const temp("create_table.sql"); + + // Create temporary query to use external mysql cli + std::ofstream file(temp.generic_string()); + if (!file.is_open()) + { + TC_LOG_FATAL("sql.updates", "Failed to create temporary query file \"%s\"!", temp.generic_string().c_str()); + return false; + } + + file << "CREATE DATABASE `" << pool.GetConnectionInfo()->database << "` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci\n\n"; + + file.close(); + + try + { + DBUpdater<T>::ApplyFile(pool, pool.GetConnectionInfo()->host, pool.GetConnectionInfo()->user, pool.GetConnectionInfo()->password, + pool.GetConnectionInfo()->port_or_socket, "", temp); + } + catch (UpdateException&) + { + TC_LOG_FATAL("sql.updates", "Failed to create database %s! Has the user `CREATE` priviliges?", pool.GetConnectionInfo()->database.c_str()); + boost::filesystem::remove(temp); + return false; + } + + TC_LOG_INFO("sql.updates", "Done."); + boost::filesystem::remove(temp); + return true; +} + +template<class T> +bool DBUpdater<T>::Update(DatabaseWorkerPool<T>& pool) +{ + if (!DBUpdater<T>::CheckExecutable()) + return false; + + TC_LOG_INFO("sql.updates", "Updating %s database...", DBUpdater<T>::GetTableName().c_str()); + + Path const sourceDirectory(GetSourceDirectory()); + + if (!is_directory(sourceDirectory)) + { + TC_LOG_ERROR("sql.updates", "DBUpdater: Given source directory %s does not exist, skipped!", sourceDirectory.generic_string().c_str()); + return false; + } + + UpdateFetcher updateFetcher(sourceDirectory, [&](std::string const& query) { DBUpdater<T>::Apply(pool, query); }, + [&](Path const& file) { DBUpdater<T>::ApplyFile(pool, file); }, + [&](std::string const& query) -> QueryResult { return DBUpdater<T>::Retrieve(pool, query); }); + + uint32 const count = updateFetcher.Update( + sConfigMgr->GetBoolDefault("Updates.Redundancy", true), + sConfigMgr->GetBoolDefault("Updates.AllowRehash", true), + sConfigMgr->GetBoolDefault("Updates.ArchivedRedundancy", false), + sConfigMgr->GetIntDefault("Updates.CleanDeadRefMaxCount", 3)); + + if (!count) + TC_LOG_INFO("sql.updates", ">> %s database is up-to-date!", DBUpdater<T>::GetTableName().c_str()); + else + TC_LOG_INFO("sql.updates", ">> Applied %d %s.", count, count == 1 ? "query" : "queries"); + + return true; +} + +template<class T> +bool DBUpdater<T>::Populate(DatabaseWorkerPool<T>& pool) +{ + { + QueryResult const result = Retrieve(pool, "SHOW TABLES"); + if (result && (result->GetRowCount() > 0)) + return true; + } + + if (!DBUpdater<T>::CheckExecutable()) + return false; + + TC_LOG_INFO("sql.updates", "Database %s is empty, auto populating it...", DBUpdater<T>::GetTableName().c_str()); + + std::string const p = DBUpdater<T>::GetBaseFile(); + if (p.empty()) + { + TC_LOG_INFO("sql.updates", ">> No base file provided, skipped!"); + return true; + } + + Path const base(p); + if (!exists(base)) + { + switch (DBUpdater<T>::GetBaseLocationType()) + { + case LOCATION_REPOSITORY: + { + TC_LOG_ERROR("sql.updates", ">> Base file \"%s\" is missing, try to clone the source again.", + base.generic_string().c_str()); + + break; + } + case LOCATION_DOWNLOAD: + { + TC_LOG_ERROR("sql.updates", ">> File \"%s\" is missing, download it from \"http://www.trinitycore.org/f/files/category/1-database/\"" \ + " and place it in your server directory.", base.filename().generic_string().c_str()); + break; + } + } + return false; + } + + // Update database + TC_LOG_INFO("sql.updates", ">> Applying \'%s\'...", base.generic_string().c_str()); + ApplyFile(pool, base); + + TC_LOG_INFO("sql.updates", ">> Done!"); + return true; +} + +template<class T> +QueryResult DBUpdater<T>::Retrieve(DatabaseWorkerPool<T>& pool, std::string const& query) +{ + return pool.PQuery(query.c_str()); +} + +template<class T> +void DBUpdater<T>::Apply(DatabaseWorkerPool<T>& pool, std::string const& query) +{ + pool.DirectExecute(query.c_str()); +} + +template<class T> +void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, Path const& path) +{ + DBUpdater<T>::ApplyFile(pool, pool.GetConnectionInfo()->host, pool.GetConnectionInfo()->user, pool.GetConnectionInfo()->password, + pool.GetConnectionInfo()->port_or_socket, pool.GetConnectionInfo()->database, path); +} + +template<class T> +void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& host, std::string const& user, + std::string const& password, std::string const& port_or_socket, std::string const& database, Path const& path) +{ + std::vector<std::string> args; + args.reserve(7); + + // CLI Client connection info + args.push_back("-h" + host); + args.push_back("-u" + user); + args.push_back("-p" + password); + args.push_back("-P" + port_or_socket); + + // Set the default charset to utf8 + args.push_back("--default-character-set=utf8"); + + // Set max allowed packet to 1 GB + args.push_back("--max-allowed-packet=1GB"); + + // Database + if (!database.empty()) + args.push_back(database); + + // ToDo: use the existing query in memory as virtual file if possible + file_descriptor_source source(path); + + uint32 ret; + try + { + child c = execute(run_exe(DBUpdater<T>::GetMySqlCli().empty() ? "mysql" : + boost::filesystem::absolute(DBUpdater<T>::GetMySqlCli()).generic_string()), + set_args(args), bind_stdin(source), throw_on_error()); + + ret = wait_for_exit(c); + } + catch (boost::system::system_error&) + { + ret = EXIT_FAILURE; + } + + source.close(); + + if (ret != EXIT_SUCCESS) + { + TC_LOG_FATAL("sql.updates", "Applying of file \'%s\' to database \'%s\' failed!" \ + " If you are an user pull the latest revision from the repository. If you are a developer fix your sql query.", + path.generic_string().c_str(), pool.GetConnectionInfo()->database.c_str()); + + throw UpdateException("update failed"); + } +} + +template class DBUpdater<LoginDatabaseConnection>; +template class DBUpdater<WorldDatabaseConnection>; +template class DBUpdater<CharacterDatabaseConnection>; +template class DBUpdater<HotfixDatabaseConnection>; diff --git a/src/server/shared/Updater/DBUpdater.h b/src/server/shared/Updater/DBUpdater.h new file mode 100644 index 00000000000..0caf8a438fb --- /dev/null +++ b/src/server/shared/Updater/DBUpdater.h @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef DBUpdater_h__ +#define DBUpdater_h__ + +#include "DatabaseEnv.h" + +#include <string> +#include <boost/filesystem.hpp> + +class UpdateException : public std::exception +{ +public: + UpdateException(std::string const& msg) : _msg(msg) { } + ~UpdateException() throw() { } + + char const* what() const throw() override { return _msg.c_str(); } + +private: + std::string const _msg; +}; + +enum BaseLocation +{ + LOCATION_REPOSITORY, + LOCATION_DOWNLOAD +}; + +template <class T> +class DBUpdater +{ +public: + using Path = boost::filesystem::path; + + static std::string GetSourceDirectory(); + + static inline std::string GetConfigEntry(); + + static inline std::string GetTableName(); + + static std::string GetBaseFile(); + + static bool IsEnabled(uint32 const updateMask); + + static BaseLocation GetBaseLocationType(); + + static bool Create(DatabaseWorkerPool<T>& pool); + + static bool Update(DatabaseWorkerPool<T>& pool); + + static bool Populate(DatabaseWorkerPool<T>& pool); + +private: + static std::string GetMySqlCli(); + static bool CheckExecutable(); + + static QueryResult Retrieve(DatabaseWorkerPool<T>& pool, std::string const& query); + static void Apply(DatabaseWorkerPool<T>& pool, std::string const& query); + static void ApplyFile(DatabaseWorkerPool<T>& pool, Path const& path); + static void ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& host, std::string const& user, + std::string const& password, std::string const& port_or_socket, std::string const& database, Path const& path); +}; + +#endif // DBUpdater_h__ diff --git a/src/server/shared/Updater/UpdateFetcher.cpp b/src/server/shared/Updater/UpdateFetcher.cpp new file mode 100644 index 00000000000..b93ca614729 --- /dev/null +++ b/src/server/shared/Updater/UpdateFetcher.cpp @@ -0,0 +1,401 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "UpdateFetcher.h" +#include "Log.h" +#include "Util.h" + +#include <fstream> +#include <chrono> +#include <vector> +#include <sstream> +#include <exception> +#include <unordered_map> +#include <openssl/sha.h> + +using namespace boost::filesystem; + +UpdateFetcher::UpdateFetcher(Path const& sourceDirectory, + std::function<void(std::string const&)> const& apply, + std::function<void(Path const& path)> const& applyFile, + std::function<QueryResult(std::string const&)> const& retrieve) : + _sourceDirectory(sourceDirectory), _apply(apply), _applyFile(applyFile), + _retrieve(retrieve) +{ +} + +UpdateFetcher::LocaleFileStorage UpdateFetcher::GetFileList() const +{ + LocaleFileStorage files; + DirectoryStorage directories = ReceiveIncludedDirectories(); + for (auto const& entry : directories) + FillFileListRecursively(entry.path, files, entry.state, 1); + + return files; +} + +void UpdateFetcher::FillFileListRecursively(Path const& path, LocaleFileStorage& storage, State const state, uint32 const depth) const +{ + static uint32 const MAX_DEPTH = 10; + static directory_iterator const end; + + for (directory_iterator itr(path); itr != end; ++itr) + { + if (is_directory(itr->path())) + { + if (depth < MAX_DEPTH) + FillFileListRecursively(itr->path(), storage, state, depth + 1); + } + else if (itr->path().extension() == ".sql") + { + TC_LOG_TRACE("sql.updates", "Added locale file \"%s\".", itr->path().filename().generic_string().c_str()); + + LocaleFileEntry const entry = { itr->path(), state }; + + // Check for doubled filenames + // Since elements are only compared through their filenames this is ok + if (storage.find(entry) != storage.end()) + { + TC_LOG_FATAL("sql.updates", "Duplicated filename occurred \"%s\", since updates are ordered " \ + "through its filename every name needs to be unique!", itr->path().generic_string().c_str()); + + throw UpdateException("Updating failed, see the log for details."); + } + + storage.insert(entry); + } + } +} + +UpdateFetcher::DirectoryStorage UpdateFetcher::ReceiveIncludedDirectories() const +{ + DirectoryStorage directories; + + QueryResult const result = _retrieve("SELECT `path`, `state` FROM `updates_include`"); + if (!result) + return directories; + + do + { + Field* fields = result->Fetch(); + + std::string path = fields[0].GetString(); + if (path.substr(0, 1) == "$") + path = _sourceDirectory.generic_string() + path.substr(1); + + Path const p(path); + + if (!is_directory(p)) + { + TC_LOG_WARN("sql.updates", "DBUpdater: Given update include directory \"%s\" isn't existing, skipped!", p.generic_string().c_str()); + continue; + } + + DirectoryEntry const entry = { p, AppliedFileEntry::StateConvert(fields[1].GetString()) }; + directories.push_back(entry); + + TC_LOG_TRACE("sql.updates", "Added applied file \"%s\" from remote.", p.filename().generic_string().c_str()); + + } while (result->NextRow()); + + return directories; +} + +UpdateFetcher::AppliedFileStorage UpdateFetcher::ReceiveAppliedFiles() const +{ + AppliedFileStorage map; + + QueryResult result = _retrieve("SELECT `name`, `hash`, `state`, UNIX_TIMESTAMP(`timestamp`) FROM `updates` ORDER BY `name` ASC"); + if (!result) + return map; + + do + { + Field* fields = result->Fetch(); + + AppliedFileEntry const entry = { fields[0].GetString(), fields[1].GetString(), + AppliedFileEntry::StateConvert(fields[2].GetString()), fields[3].GetUInt64() }; + + map.insert(std::make_pair(entry.name, entry)); + } + while (result->NextRow()); + + return map; +} + +UpdateFetcher::SQLUpdate UpdateFetcher::ReadSQLUpdate(boost::filesystem::path const& file) const +{ + std::ifstream in(file.c_str()); + WPFatal(in.is_open(), "Could not read an update file."); + + auto const start_pos = in.tellg(); + in.ignore(std::numeric_limits<std::streamsize>::max()); + auto const char_count = in.gcount(); + in.seekg(start_pos); + + SQLUpdate const update(new std::string(char_count, char{})); + + in.read(&(*update)[0], update->size()); + in.close(); + return update; +} + +uint32 UpdateFetcher::Update(bool const redundancyChecks, bool const allowRehash, bool const archivedRedundancy, int32 const cleanDeadReferencesMaxCount) const +{ + LocaleFileStorage const available = GetFileList(); + AppliedFileStorage applied = ReceiveAppliedFiles(); + + // Fill hash to name cache + HashToFileNameStorage hashToName; + for (auto entry : applied) + hashToName.insert(std::make_pair(entry.second.hash, entry.first)); + + uint32 importedUpdates = 0; + + for (auto const& availableQuery : available) + { + TC_LOG_DEBUG("sql.updates", "Checking update \"%s\"...", availableQuery.first.filename().generic_string().c_str()); + + AppliedFileStorage::const_iterator iter = applied.find(availableQuery.first.filename().string()); + if (iter != applied.end()) + { + // If redundancy is disabled skip it since the update is already applied. + if (!redundancyChecks) + { + TC_LOG_DEBUG("sql.updates", ">> Update is already applied, skipping redundancy checks."); + applied.erase(iter); + continue; + } + + // If the update is in an archived directory and is marked as archived in our database skip redundancy checks (archived updates never change). + if (!archivedRedundancy && (iter->second.state == ARCHIVED) && (availableQuery.second == ARCHIVED)) + { + TC_LOG_DEBUG("sql.updates", ">> Update is archived and marked as archived in database, skipping redundancy checks."); + applied.erase(iter); + continue; + } + } + + // Read update from file + SQLUpdate const update = ReadSQLUpdate(availableQuery.first); + + // Calculate hash + std::string const hash = CalculateHash(update); + + UpdateMode mode = MODE_APPLY; + + // Update is not in our applied list + if (iter == applied.end()) + { + // Catch renames (different filename but same hash) + HashToFileNameStorage::const_iterator const hashIter = hashToName.find(hash); + if (hashIter != hashToName.end()) + { + // Check if the original file was removed if not we've got a problem. + LocaleFileStorage::const_iterator localeIter; + // Push localeIter forward + for (localeIter = available.begin(); (localeIter != available.end()) && + (localeIter->first.filename().string() != hashIter->second); ++localeIter); + + // Conflict! + if (localeIter != available.end()) + { + TC_LOG_WARN("sql.updates", ">> Seems like update \"%s\" \'%s\' was renamed, but the old file is still there! " \ + "Trade it as a new file! (Probably its an unmodified copy of file \"%s\")", + availableQuery.first.filename().string().c_str(), hash.substr(0, 7).c_str(), + localeIter->first.filename().string().c_str()); + } + // Its save to trade the file as renamed here + else + { + TC_LOG_INFO("sql.updates", ">> Renaming update \"%s\" to \"%s\" \'%s\'.", + hashIter->second.c_str(), availableQuery.first.filename().string().c_str(), hash.substr(0, 7).c_str()); + + RenameEntry(hashIter->second, availableQuery.first.filename().string()); + applied.erase(hashIter->second); + continue; + } + } + // Apply the update if it was never seen before. + else + { + TC_LOG_INFO("sql.updates", ">> Applying update \"%s\" \'%s\'...", + availableQuery.first.filename().string().c_str(), hash.substr(0, 7).c_str()); + } + } + // Rehash the update entry if it is contained in our database but with an empty hash. + else if (allowRehash && iter->second.hash.empty()) + { + mode = MODE_REHASH; + + TC_LOG_INFO("sql.updates", ">> Re-hashing update \"%s\" \'%s\'...", availableQuery.first.filename().string().c_str(), + hash.substr(0, 7).c_str()); + } + else + { + // If the hash of the files differs from the one stored in our database reapply the update (because it was changed). + if (iter->second.hash != hash) + { + TC_LOG_INFO("sql.updates", ">> Reapplying update \"%s\" \'%s\' -> \'%s\' (it changed)...", availableQuery.first.filename().string().c_str(), + iter->second.hash.substr(0, 7).c_str(), hash.substr(0, 7).c_str()); + } + else + { + // If the file wasn't changed and just moved update its state if necessary. + if (iter->second.state != availableQuery.second) + { + TC_LOG_DEBUG("sql.updates", ">> Updating state of \"%s\" to \'%s\'...", + availableQuery.first.filename().string().c_str(), AppliedFileEntry::StateConvert(availableQuery.second).c_str()); + + UpdateState(availableQuery.first.filename().string(), availableQuery.second); + } + + TC_LOG_DEBUG("sql.updates", ">> Update is already applied and is matching hash \'%s\'.", hash.substr(0, 7).c_str()); + + applied.erase(iter); + continue; + } + } + + uint32 speed = 0; + AppliedFileEntry const file = { availableQuery.first.filename().string(), hash, availableQuery.second, 0 }; + + switch (mode) + { + case MODE_APPLY: + speed = Apply(availableQuery.first); + /*no break*/ + case MODE_REHASH: + UpdateEntry(file, speed); + break; + } + + if (iter != applied.end()) + applied.erase(iter); + + if (mode == MODE_APPLY) + ++importedUpdates; + } + + // Cleanup up orphaned entries if enabled + if (!applied.empty()) + { + bool const doCleanup = (cleanDeadReferencesMaxCount < 0) || (applied.size() <= static_cast<size_t>(cleanDeadReferencesMaxCount)); + + for (auto const& entry : applied) + { + TC_LOG_WARN("sql.updates", ">> File \'%s\' was applied to the database but is missing in" \ + " your update directory now!", entry.first.c_str()); + + if (doCleanup) + TC_LOG_INFO("sql.updates", "Deleting orphaned entry \'%s\'...", entry.first.c_str()); + } + + if (doCleanup) + CleanUp(applied); + else + { + TC_LOG_ERROR("sql.updates", "Cleanup is disabled! There are %zu dirty files that were applied to your database " \ + "but are now missing in your source directory!", applied.size()); + } + } + + return importedUpdates; +} + +std::string UpdateFetcher::CalculateHash(SQLUpdate const& query) const +{ + // Calculate a Sha1 hash based on query content. + unsigned char digest[SHA_DIGEST_LENGTH]; + SHA1((unsigned char*)query->c_str(), query->length(), (unsigned char*)&digest); + + return ByteArrayToHexStr(digest, SHA_DIGEST_LENGTH); +} + +uint32 UpdateFetcher::Apply(Path const& path) const +{ + using Time = std::chrono::high_resolution_clock; + using ms = std::chrono::milliseconds; + + // Benchmark query speed + auto const begin = Time::now(); + + // Update database + _applyFile(path); + + // Return time the query took to apply + return std::chrono::duration_cast<ms>(Time::now() - begin).count(); +} + +void UpdateFetcher::UpdateEntry(AppliedFileEntry const& entry, uint32 const speed) const +{ + std::string const update = "REPLACE INTO `updates` (`name`, `hash`, `state`, `speed`) VALUES (\"" + + entry.name + "\", \"" + entry.hash + "\", \'" + entry.GetStateAsString() + "\', " + std::to_string(speed) + ")"; + + // Update database + _apply(update); +} + +void UpdateFetcher::RenameEntry(std::string const& from, std::string const& to) const +{ + // Delete target if it exists + { + std::string const update = "DELETE FROM `updates` WHERE `name`=\"" + to + "\""; + + // Update database + _apply(update); + } + + // Rename + { + std::string const update = "UPDATE `updates` SET `name`=\"" + to + "\" WHERE `name`=\"" + from + "\""; + + // Update database + _apply(update); + } +} + +void UpdateFetcher::CleanUp(AppliedFileStorage const& storage) const +{ + if (storage.empty()) + return; + + std::stringstream update; + size_t remaining = storage.size(); + + update << "DELETE FROM `updates` WHERE `name` IN("; + + for (auto const& entry : storage) + { + update << "\"" << entry.first << "\""; + if ((--remaining) > 0) + update << ", "; + } + + update << ")"; + + // Update database + _apply(update.str()); +} + +void UpdateFetcher::UpdateState(std::string const& name, State const state) const +{ + std::string const update = "UPDATE `updates` SET `state`=\'" + AppliedFileEntry::StateConvert(state) + "\' WHERE `name`=\"" + name + "\""; + + // Update database + _apply(update); +} diff --git a/src/server/shared/Updater/UpdateFetcher.h b/src/server/shared/Updater/UpdateFetcher.h new file mode 100644 index 00000000000..fa142547873 --- /dev/null +++ b/src/server/shared/Updater/UpdateFetcher.h @@ -0,0 +1,132 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef UpdateFetcher_h__ +#define UpdateFetcher_h__ + +#include <DBUpdater.h> + +#include <functional> +#include <string> +#include <memory> +#include <vector> + +class UpdateFetcher +{ + typedef boost::filesystem::path Path; + +public: + UpdateFetcher(Path const& updateDirectory, + std::function<void(std::string const&)> const& apply, + std::function<void(Path const& path)> const& applyFile, + std::function<QueryResult(std::string const&)> const& retrieve); + + uint32 Update(bool const redundancyChecks, bool const allowRehash, + bool const archivedRedundancy, int32 const cleanDeadReferencesMaxCount) const; + +private: + enum UpdateMode + { + MODE_APPLY, + MODE_REHASH + }; + + enum State + { + RELEASED, + ARCHIVED + }; + + struct AppliedFileEntry + { + AppliedFileEntry(std::string const& name_, std::string const& hash_, State state_, uint64 timestamp_) + : name(name_), hash(hash_), state(state_), timestamp(timestamp_) { } + + std::string const name; + + std::string const hash; + + State const state; + + uint64 const timestamp; + + static inline State StateConvert(std::string const& state) + { + return (state == "RELEASED") ? RELEASED : ARCHIVED; + } + + static inline std::string StateConvert(State const state) + { + return (state == RELEASED) ? "RELEASED" : "ARCHIVED"; + } + + std::string GetStateAsString() const + { + return StateConvert(state); + } + }; + + struct DirectoryEntry + { + DirectoryEntry(Path const& path_, State state_) : path(path_), state(state_) { } + + Path const path; + + State const state; + }; + + typedef std::pair<Path, State> LocaleFileEntry; + + struct PathCompare + { + inline bool operator() (LocaleFileEntry const& left, LocaleFileEntry const& right) const + { + return left.first.filename().string() < right.first.filename().string(); + } + }; + + typedef std::set<LocaleFileEntry, PathCompare> LocaleFileStorage; + typedef std::unordered_map<std::string, std::string> HashToFileNameStorage; + typedef std::unordered_map<std::string, AppliedFileEntry> AppliedFileStorage; + typedef std::vector<UpdateFetcher::DirectoryEntry> DirectoryStorage; + typedef std::shared_ptr<std::string> SQLUpdate; + + LocaleFileStorage GetFileList() const; + void FillFileListRecursively(Path const& path, LocaleFileStorage& storage, State const state, uint32 const depth) const; + + DirectoryStorage ReceiveIncludedDirectories() const; + AppliedFileStorage ReceiveAppliedFiles() const; + + SQLUpdate ReadSQLUpdate(Path const& file) const; + std::string CalculateHash(SQLUpdate const& query) const; + + uint32 Apply(Path const& path) const; + + void UpdateEntry(AppliedFileEntry const& entry, uint32 const speed = 0) const; + void RenameEntry(std::string const& from, std::string const& to) const; + void CleanUp(AppliedFileStorage const& storage) const; + + void UpdateState(std::string const& name, State const state) const; + + Path const _sourceDirectory; + + std::function<void(std::string const&)> const _apply; + std::function<void(Path const& path)> const _applyFile; + std::function<QueryResult(std::string const&)> const _retrieve; +}; + +#endif // UpdateFetcher_h__ diff --git a/src/server/shared/Utilities/ServiceWin32.cpp b/src/server/shared/Utilities/ServiceWin32.cpp index c73949fc6a3..3e5e416b1a3 100644 --- a/src/server/shared/Utilities/ServiceWin32.cpp +++ b/src/server/shared/Utilities/ServiceWin32.cpp @@ -255,7 +255,7 @@ bool WinServiceRun() if (!StartServiceCtrlDispatcher(serviceTable)) { - TC_LOG_ERROR("server.worldserver", "StartService Failed. Error [%u]", ::GetLastError()); + TC_LOG_ERROR("server.worldserver", "StartService Failed. Error [%u]", uint32(::GetLastError())); return false; } return true; diff --git a/src/server/shared/Utilities/StringFormat.h b/src/server/shared/Utilities/StringFormat.h new file mode 100644 index 00000000000..70d9aefb14d --- /dev/null +++ b/src/server/shared/Utilities/StringFormat.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef TRINITYCORE_STRING_FORMAT_H +#define TRINITYCORE_STRING_FORMAT_H + +#include <format.h> + +namespace Trinity +{ + //! Default TC string format function + template<typename... Args> + inline std::string StringFormat(const char* fmt, Args const&... args) + { + return fmt::sprintf(fmt, args...); + } +} + +#endif diff --git a/src/server/worldserver/CMakeLists.txt b/src/server/worldserver/CMakeLists.txt index d94b5f250aa..63da20df2c7 100644 --- a/src/server/worldserver/CMakeLists.txt +++ b/src/server/worldserver/CMakeLists.txt @@ -47,7 +47,9 @@ include_directories( ${CMAKE_SOURCE_DIR}/dep/gsoap ${CMAKE_SOURCE_DIR}/dep/sockets/include ${CMAKE_SOURCE_DIR}/dep/SFMT + ${CMAKE_SOURCE_DIR}/dep/cppformat ${CMAKE_SOURCE_DIR}/dep/zmqpp + ${CMAKE_SOURCE_DIR}/dep/process ${CMAKE_SOURCE_DIR}/src/server/collision ${CMAKE_SOURCE_DIR}/src/server/collision/Management ${CMAKE_SOURCE_DIR}/src/server/collision/Models @@ -64,6 +66,7 @@ include_directories( ${CMAKE_SOURCE_DIR}/src/server/shared/Networking ${CMAKE_SOURCE_DIR}/src/server/shared/Packets ${CMAKE_SOURCE_DIR}/src/server/shared/Threading + ${CMAKE_SOURCE_DIR}/src/server/shared/Updater ${CMAKE_SOURCE_DIR}/src/server/shared/Utilities ${CMAKE_SOURCE_DIR}/src/server/ipc ${CMAKE_SOURCE_DIR}/src/server/game @@ -175,6 +178,7 @@ target_link_libraries(worldserver gsoap Detour zmqpp + format ${JEMALLOC_LIBRARY} ${READLINE_LIBRARY} ${TERMCAP_LIBRARY} diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index 15d08a903b9..a1e8ba74514 100644 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -44,6 +44,7 @@ #include "WorldSocketMgr.h" #include "BattlenetServerManager.h" #include "Realm/Realm.h" +#include "DatabaseLoader.h" #include <openssl/opensslv.h> #include <openssl/crypto.h> #include <boost/asio/io_service.hpp> @@ -324,7 +325,7 @@ void ShutdownCLIThread(std::thread* cliThread) errorBuffer = "Unknown error"; TC_LOG_DEBUG("server.worldserver", "Error cancelling I/O of CliThread, error code %u, detail: %s", - errorCode, errorBuffer); + uint32(errorCode), errorBuffer); LocalFree(errorBuffer); // send keyboard input to safely unblock the CLI thread @@ -520,105 +521,16 @@ bool StartDB() { MySQL::Library_Init(); - std::string dbString; - uint8 asyncThreads, synchThreads; + // Load databases + DatabaseLoader loader("server.worldserver", DatabaseLoader::DATABASE_NONE); + loader + .AddDatabase(HotfixDatabase, "Hotfix") + .AddDatabase(WorldDatabase, "World") + .AddDatabase(CharacterDatabase, "Character") + .AddDatabase(LoginDatabase, "Login"); - dbString = sConfigMgr->GetStringDefault("WorldDatabaseInfo", ""); - if (dbString.empty()) - { - TC_LOG_ERROR("server.worldserver", "World database not specified in configuration file"); - return false; - } - - asyncThreads = uint8(sConfigMgr->GetIntDefault("WorldDatabase.WorkerThreads", 1)); - if (asyncThreads < 1 || asyncThreads > 32) - { - TC_LOG_ERROR("server.worldserver", "World database: invalid number of worker threads specified. " - "Please pick a value between 1 and 32."); - return false; - } - - synchThreads = uint8(sConfigMgr->GetIntDefault("WorldDatabase.SynchThreads", 1)); - ///- Initialize the world database - if (!WorldDatabase.Open(dbString, asyncThreads, synchThreads)) - { - TC_LOG_ERROR("server.worldserver", "Cannot connect to world database %s", dbString.c_str()); - return false; - } - - ///- Get character database info from configuration file - dbString = sConfigMgr->GetStringDefault("CharacterDatabaseInfo", ""); - if (dbString.empty()) - { - TC_LOG_ERROR("server.worldserver", "Character database not specified in configuration file"); - return false; - } - - asyncThreads = uint8(sConfigMgr->GetIntDefault("CharacterDatabase.WorkerThreads", 1)); - if (asyncThreads < 1 || asyncThreads > 32) - { - TC_LOG_ERROR("server.worldserver", "Character database: invalid number of worker threads specified. " - "Please pick a value between 1 and 32."); - return false; - } - - synchThreads = uint8(sConfigMgr->GetIntDefault("CharacterDatabase.SynchThreads", 2)); - - ///- Initialize the Character database - if (!CharacterDatabase.Open(dbString, asyncThreads, synchThreads)) - { - TC_LOG_ERROR("server.worldserver", "Cannot connect to Character database %s", dbString.c_str()); - return false; - } - - ///- Get hotfixes database info from configuration file - dbString = sConfigMgr->GetStringDefault("HotfixDatabaseInfo", ""); - if (dbString.empty()) - { - TC_LOG_ERROR("server.worldserver", "Hotfixes database not specified in configuration file"); - return false; - } - - asyncThreads = uint8(sConfigMgr->GetIntDefault("HotfixDatabase.WorkerThreads", 1)); - if (asyncThreads < 1 || asyncThreads > 32) - { - TC_LOG_ERROR("server.worldserver", "Hotfixes database: invalid number of worker threads specified. " - "Please pick a value between 1 and 32."); - return false; - } - - synchThreads = uint8(sConfigMgr->GetIntDefault("HotfixDatabase.SynchThreads", 2)); - - ///- Initialize the hotfixes database - if (!HotfixDatabase.Open(dbString, asyncThreads, synchThreads)) - { - TC_LOG_ERROR("server.worldserver", "Cannot connect to the hotfix database %s", dbString.c_str()); - return false; - } - - ///- Get login database info from configuration file - dbString = sConfigMgr->GetStringDefault("LoginDatabaseInfo", ""); - if (dbString.empty()) - { - TC_LOG_ERROR("server.worldserver", "Login database not specified in configuration file"); - return false; - } - - asyncThreads = uint8(sConfigMgr->GetIntDefault("LoginDatabase.WorkerThreads", 1)); - if (asyncThreads < 1 || asyncThreads > 32) - { - TC_LOG_ERROR("server.worldserver", "Login database: invalid number of worker threads specified. " - "Please pick a value between 1 and 32."); - return false; - } - - synchThreads = uint8(sConfigMgr->GetIntDefault("LoginDatabase.SynchThreads", 1)); - ///- Initialise the login database - if (!LoginDatabase.Open(dbString, asyncThreads, synchThreads)) - { - TC_LOG_ERROR("server.worldserver", "Cannot connect to login database %s", dbString.c_str()); + if (!loader.Load()) return false; - } ///- Get the realm Id from the configuration file realmHandle.Index = sConfigMgr->GetIntDefault("RealmID", 0); @@ -628,6 +540,7 @@ bool StartDB() return false; } + // Realm Handles QueryResult realmIdQuery = LoginDatabase.PQuery("SELECT `Region`,`Battlegroup` FROM `realmlist` WHERE `id`=%u", realmHandle.Index); if (!realmIdQuery) { diff --git a/src/server/worldserver/RemoteAccess/RASession.h b/src/server/worldserver/RemoteAccess/RASession.h index d272f323c6a..efd2106fdd1 100644 --- a/src/server/worldserver/RemoteAccess/RASession.h +++ b/src/server/worldserver/RemoteAccess/RASession.h @@ -30,8 +30,6 @@ using boost::asio::ip::tcp; const size_t bufferSize = 4096; -#define BUFFER_SIZE 4096 - class RASession : public std::enable_shared_from_this <RASession> { public: diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist index f0f9adc32ed..ba4bcd765e7 100644 --- a/src/server/worldserver/worldserver.conf.dist +++ b/src/server/worldserver/worldserver.conf.dist @@ -11,6 +11,7 @@ # PERFORMANCE SETTINGS # SERVER LOGGING # SERVER SETTINGS +# UPDATE SETTINGS # WARDEN SETTINGS # PLAYER INTERACTION # CREATURE SETTINGS @@ -1130,6 +1131,93 @@ FeatureSystem.CharacterUndelete.Cooldown = 2592000 ################################################################################################### ################################################################################################### +# UPDATE SETTINGS +# +# Updates.EnableDatabases +# Description: A mask that describes which databases shall be updated. +# +# Following flags are available +# DATABASE_LOGIN = 1, // Auth database +# DATABASE_CHARACTER = 2, // Character database +# DATABASE_WORLD = 4, // World database +# DATABASE_HOTFIX = 8, // Hotfixes database +# +# Default: 0 - (All Disabled) +# 4 - (Enable world only) +# 15 - (All enabled) + +Updates.EnableDatabases = 0 + +# +# Updates.SourcePath +# Description: The path to your TrinityCore source directory. +# If the path is left empty, built-in CMAKE_SOURCE_DIR is used. +# Example: "../TrinityCore" +# Default: "" + +Updates.SourcePath = "" + +# +# Updates.SourcePath +# Description: The path to your mysql cli binary. +# If the path is left empty, built-in path from cmake is used. +# Example: "C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe" +# "mysql.exe" +# "/usr/bin/mysql" +# Default: "" + +Updates.MySqlCLIPath = "" + +# +# Updates.AutoSetup +# Description: Auto populate empty databases. +# Default: 1 - (Enabled) +# 0 - (Disabled) + +Updates.AutoSetup = 1 + +# +# Updates.Redundancy +# Description: Perform data redundancy checks through hashing +# to detect changes on sql updates and reapply it. +# Default: 1 - (Enabled) +# 0 - (Disabled) + +Updates.Redundancy = 1 + +# +# Updates.ArchivedRedundancy +# Description: Check hashes of archived updates (slows down startup). +# Default: 0 - (Disabled) +# 1 - (Enabled) + +Updates.ArchivedRedundancy = 0 + +# +# Updates.AllowRehash +# Description: Inserts the current file hash in the database if it is left empty. +# Useful if you want to mark a file as applied but you don't know its hash. +# Default: 1 - (Enabled) +# 0 - (Disabled) + +Updates.AllowRehash = 1 + +# +# Updates.CleanDeadRefMaxCount +# Description: Cleans dead/ orphaned references that occur if an update was removed or renamed and edited in one step. +# It only starts the clean up if the count of the missing updates is below or equal the Updates.CleanDeadRefMaxCount value. +# This way prevents erasing of the update history due to wrong source directory state (maybe wrong branch or bad revision). +# Disable this if you want to know if the database is in a possible "dirty state". +# Default: 3 - (Enabled) +# 0 - (Disabled) +# -1 - (Enabled - unlimited) + +Updates.CleanDeadRefMaxCount = 3 + +# +################################################################################################### + +################################################################################################### # WARDEN SETTINGS # # Warden.Enabled @@ -3224,6 +3312,7 @@ Logger.root=5,Console Server Logger.server=3,Console Server Logger.commands.gm=3,Console GM Logger.sql.sql=5,Console DBErrors +Logger.sql.updates=3,Console Server #Logger.achievement=3,Console Server #Logger.ahbot=3,Console Server |